diff --git a/provider/cmd/pulumi-resource-oci/bridge-metadata.json b/provider/cmd/pulumi-resource-oci/bridge-metadata.json index 6f0eb0836e..3bf2986b86 100644 --- a/provider/cmd/pulumi-resource-oci/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-oci/bridge-metadata.json @@ -4757,6 +4757,14 @@ } } }, + "oci_data_safe_masking_policy_health_report_management": { + "current": "oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement", + "majorVersion": 2 + }, + "oci_data_safe_masking_report_management": { + "current": "oci:DataSafe/maskingReportManagement:MaskingReportManagement", + "majorVersion": 2 + }, "oci_data_safe_on_prem_connector": { "current": "oci:DataSafe/onPremConnector:OnPremConnector", "majorVersion": 2 @@ -4916,6 +4924,15 @@ } } }, + "oci_data_safe_set_security_assessment_baseline_management": { + "current": "oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement", + "majorVersion": 2, + "fields": { + "assessment_ids": { + "maxItemsOne": false + } + } + }, "oci_data_safe_set_user_assessment_baseline": { "current": "oci:DataSafe/setUserAssessmentBaseline:SetUserAssessmentBaseline", "majorVersion": 2, @@ -4925,6 +4942,15 @@ } } }, + "oci_data_safe_set_user_assessment_baseline_management": { + "current": "oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement", + "majorVersion": 2, + "fields": { + "assessment_ids": { + "maxItemsOne": false + } + } + }, "oci_data_safe_sql_collection": { "current": "oci:DataSafe/sqlCollection:SqlCollection", "majorVersion": 2 @@ -5059,6 +5085,10 @@ } } }, + "oci_data_safe_unset_security_assessment_baseline_management": { + "current": "oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement", + "majorVersion": 2 + }, "oci_data_safe_unset_user_assessment_baseline": { "current": "oci:DataSafe/unsetUserAssessmentBaseline:UnsetUserAssessmentBaseline", "majorVersion": 2, @@ -5068,6 +5098,10 @@ } } }, + "oci_data_safe_unset_user_assessment_baseline_management": { + "current": "oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement", + "majorVersion": 2 + }, "oci_data_safe_user_assessment": { "current": "oci:DataSafe/userAssessment:UserAssessment", "majorVersion": 2, @@ -6196,6 +6230,35 @@ } } }, + "oci_database_management_autonomous_database_autonomous_database_dbm_features_management": { + "current": "oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", + "majorVersion": 2, + "fields": { + "feature_details": { + "maxItemsOne": true, + "elem": { + "fields": { + "connector_details": { + "maxItemsOne": true + }, + "database_connection_details": { + "maxItemsOne": true, + "elem": { + "fields": { + "connection_credentials": { + "maxItemsOne": true + }, + "connection_string": { + "maxItemsOne": true + } + } + } + } + } + } + } + } + }, "oci_database_management_database_dbm_features_management": { "current": "oci:DatabaseManagement/databaseDbmFeaturesManagement:DatabaseDbmFeaturesManagement", "majorVersion": 2, @@ -6639,6 +6702,29 @@ "current": "oci:DatabaseManagement/managedDatabase:ManagedDatabase", "majorVersion": 2, "fields": { + "dbmgmt_feature_configs": { + "maxItemsOne": false, + "elem": { + "fields": { + "connector_details": { + "maxItemsOne": false + }, + "database_connection_details": { + "maxItemsOne": false, + "elem": { + "fields": { + "connection_credentials": { + "maxItemsOne": false + }, + "connection_string": { + "maxItemsOne": false + } + } + } + } + } + } + }, "managed_database_groups": { "maxItemsOne": false } @@ -8450,6 +8536,25 @@ "current": "oci:DataScience/project:Project", "majorVersion": 2 }, + "oci_delegate_access_control_delegation_control": { + "current": "oci:DelegateAccessControl/delegationControl:DelegationControl", + "majorVersion": 2, + "fields": { + "delegation_subscription_ids": { + "maxItemsOne": false + }, + "pre_approved_service_provider_action_names": { + "maxItemsOne": false + }, + "resource_ids": { + "maxItemsOne": false + } + } + }, + "oci_delegate_access_control_delegation_subscription": { + "current": "oci:DelegateAccessControl/delegationSubscription:DelegationSubscription", + "majorVersion": 2 + }, "oci_demand_signal_occ_demand_signal": { "current": "oci:DemandSignal/occDemandSignal:OccDemandSignal", "majorVersion": 2, @@ -8469,6 +8574,37 @@ } } }, + "oci_desktops_desktop_pool": { + "current": "oci:Desktops/desktopPool:DesktopPool", + "majorVersion": 2, + "fields": { + "availability_policy": { + "maxItemsOne": true, + "elem": { + "fields": { + "start_schedule": { + "maxItemsOne": true + }, + "stop_schedule": { + "maxItemsOne": true + } + } + } + }, + "device_policy": { + "maxItemsOne": true + }, + "image": { + "maxItemsOne": true + }, + "network_configuration": { + "maxItemsOne": true + }, + "nsg_ids": { + "maxItemsOne": false + } + } + }, "oci_devops_build_pipeline": { "current": "oci:DevOps/buildPipeline:BuildPipeline", "majorVersion": 2, @@ -9543,71 +9679,6 @@ "current": "oci:FileStorage/snapshot:Snapshot", "majorVersion": 2 }, - "oci_fleet_software_update_fsu_collection": { - "current": "oci:FleetSoftwareUpdate/fsuCollection:FsuCollection", - "majorVersion": 2, - "fields": { - "active_fsu_cycle": { - "maxItemsOne": false - }, - "fleet_discovery": { - "maxItemsOne": true, - "elem": { - "fields": { - "filters": { - "maxItemsOne": false, - "elem": { - "fields": { - "identifiers": { - "maxItemsOne": false - }, - "names": { - "maxItemsOne": false - }, - "tags": { - "maxItemsOne": false - }, - "versions": { - "maxItemsOne": false - } - } - } - }, - "targets": { - "maxItemsOne": false - } - } - } - } - } - }, - "oci_fleet_software_update_fsu_cycle": { - "current": "oci:FleetSoftwareUpdate/fsuCycle:FsuCycle", - "majorVersion": 2, - "fields": { - "apply_action_schedule": { - "maxItemsOne": true - }, - "batching_strategy": { - "maxItemsOne": true - }, - "diagnostics_collection": { - "maxItemsOne": true - }, - "goal_version_details": { - "maxItemsOne": true - }, - "is_ignore_missing_patches": { - "maxItemsOne": false - }, - "next_action_to_execute": { - "maxItemsOne": false - }, - "stage_action_schedule": { - "maxItemsOne": true - } - } - }, "oci_functions_application": { "current": "oci:Functions/application:Application", "majorVersion": 2, @@ -9781,53 +9852,6 @@ "current": "oci:GenericArtifactsContent/artifactByPath:ArtifactByPath", "majorVersion": 2 }, - "oci_globally_distributed_database_private_endpoint": { - "current": "oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint", - "majorVersion": 2, - "fields": { - "nsg_ids": { - "maxItemsOne": false - }, - "sharded_databases": { - "maxItemsOne": false - } - } - }, - "oci_globally_distributed_database_sharded_database": { - "current": "oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase", - "majorVersion": 2, - "fields": { - "catalog_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "encryption_key_details": { - "maxItemsOne": true - } - } - } - }, - "connection_strings": { - "maxItemsOne": false - }, - "gsms": { - "maxItemsOne": false - }, - "patch_operations": { - "maxItemsOne": false - }, - "shard_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "encryption_key_details": { - "maxItemsOne": true - } - } - } - } - } - }, "oci_golden_gate_connection": { "current": "oci:GoldenGate/connection:Connection", "majorVersion": 2, @@ -13691,6 +13715,9 @@ "current_placement": { "maxItemsOne": false }, + "customer_contacts": { + "maxItemsOne": false + }, "data_storage": { "maxItemsOne": true }, @@ -17920,6 +17947,42 @@ } } }, + "oci_announcements_service_services": { + "current": "oci:AnnouncementsService/getServices:getServices", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "services_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "excluded_realms": { + "maxItemsOne": false + }, + "previous_service_names": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, "oci_apigateway_api": { "current": "oci:ApiGateway/getApi:getApi", "majorVersion": 2, @@ -37473,6 +37536,29 @@ } } }, + "dbmgmt_feature_configs": { + "maxItemsOne": false, + "elem": { + "fields": { + "connector_details": { + "maxItemsOne": false + }, + "database_connection_details": { + "maxItemsOne": false, + "elem": { + "fields": { + "connection_credentials": { + "maxItemsOne": false + }, + "connection_string": { + "maxItemsOne": false + } + } + } + } + } + } + }, "instance_details": { "maxItemsOne": false } @@ -38393,6 +38479,29 @@ "current": "oci:DatabaseManagement/getManagedDatabase:getManagedDatabase", "majorVersion": 2, "fields": { + "dbmgmt_feature_configs": { + "maxItemsOne": false, + "elem": { + "fields": { + "connector_details": { + "maxItemsOne": false + }, + "database_connection_details": { + "maxItemsOne": false, + "elem": { + "fields": { + "connection_credentials": { + "maxItemsOne": false + }, + "connection_string": { + "maxItemsOne": false + } + } + } + } + } + } + }, "managed_database_groups": { "maxItemsOne": false } @@ -39383,6 +39492,29 @@ "maxItemsOne": false, "elem": { "fields": { + "dbmgmt_feature_configs": { + "maxItemsOne": false, + "elem": { + "fields": { + "connector_details": { + "maxItemsOne": false + }, + "database_connection_details": { + "maxItemsOne": false, + "elem": { + "fields": { + "connection_credentials": { + "maxItemsOne": false + }, + "connection_string": { + "maxItemsOne": false + } + } + } + } + } + } + }, "managed_database_groups": { "maxItemsOne": false } @@ -44141,6 +44273,323 @@ } } }, + "oci_delegate_access_control_delegated_resource_access_request": { + "current": "oci:DelegateAccessControl/getDelegatedResourceAccessRequest:getDelegatedResourceAccessRequest", + "majorVersion": 2, + "fields": { + "approval_info": { + "maxItemsOne": false + }, + "audit_types": { + "maxItemsOne": false + }, + "database_name_list": { + "maxItemsOne": false + }, + "delegation_subscription_ids": { + "maxItemsOne": false + }, + "provided_service_types": { + "maxItemsOne": false + }, + "requested_action_names": { + "maxItemsOne": false + }, + "ticket_numbers": { + "maxItemsOne": false + } + } + }, + "oci_delegate_access_control_delegated_resource_access_request_audit_log_report": { + "current": "oci:DelegateAccessControl/getDelegatedResourceAccessRequestAuditLogReport:getDelegatedResourceAccessRequestAuditLogReport", + "majorVersion": 2 + }, + "oci_delegate_access_control_delegated_resource_access_request_histories": { + "current": "oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistories:getDelegatedResourceAccessRequestHistories", + "majorVersion": 2, + "fields": { + "delegated_resource_access_request_history_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_delegate_access_control_delegated_resource_access_requests": { + "current": "oci:DelegateAccessControl/getDelegatedResourceAccessRequests:getDelegatedResourceAccessRequests", + "majorVersion": 2, + "fields": { + "delegated_resource_access_request_summary_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "approval_info": { + "maxItemsOne": false + }, + "audit_types": { + "maxItemsOne": false + }, + "database_name_list": { + "maxItemsOne": false + }, + "delegation_subscription_ids": { + "maxItemsOne": false + }, + "provided_service_types": { + "maxItemsOne": false + }, + "requested_action_names": { + "maxItemsOne": false + }, + "ticket_numbers": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_delegate_access_control_delegation_control": { + "current": "oci:DelegateAccessControl/getDelegationControl:getDelegationControl", + "majorVersion": 2, + "fields": { + "delegation_subscription_ids": { + "maxItemsOne": false + }, + "pre_approved_service_provider_action_names": { + "maxItemsOne": false + }, + "resource_ids": { + "maxItemsOne": false + } + } + }, + "oci_delegate_access_control_delegation_control_resources": { + "current": "oci:DelegateAccessControl/getDelegationControlResources:getDelegationControlResources", + "majorVersion": 2, + "fields": { + "delegation_control_resource_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_delegate_access_control_delegation_controls": { + "current": "oci:DelegateAccessControl/getDelegationControls:getDelegationControls", + "majorVersion": 2, + "fields": { + "delegation_control_summary_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "delegation_subscription_ids": { + "maxItemsOne": false + }, + "pre_approved_service_provider_action_names": { + "maxItemsOne": false + }, + "resource_ids": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_delegate_access_control_delegation_subscription": { + "current": "oci:DelegateAccessControl/getDelegationSubscription:getDelegationSubscription", + "majorVersion": 2 + }, + "oci_delegate_access_control_delegation_subscriptions": { + "current": "oci:DelegateAccessControl/getDelegationSubscriptions:getDelegationSubscriptions", + "majorVersion": 2, + "fields": { + "delegation_subscription_summary_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_delegate_access_control_service_provider": { + "current": "oci:DelegateAccessControl/getServiceProvider:getServiceProvider", + "majorVersion": 2, + "fields": { + "service_types": { + "maxItemsOne": false + }, + "supported_resource_types": { + "maxItemsOne": false + } + } + }, + "oci_delegate_access_control_service_provider_action": { + "current": "oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction", + "majorVersion": 2, + "fields": { + "properties": { + "maxItemsOne": false + }, + "service_provider_service_types": { + "maxItemsOne": false + } + } + }, + "oci_delegate_access_control_service_provider_actions": { + "current": "oci:DelegateAccessControl/getServiceProviderActions:getServiceProviderActions", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "service_provider_action_summary_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "properties": { + "maxItemsOne": false + }, + "service_provider_service_types": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "service_provider_service_type": { + "maxItemsOne": false + } + } + }, + "oci_delegate_access_control_service_providers": { + "current": "oci:DelegateAccessControl/getServiceProviders:getServiceProviders", + "majorVersion": 2, + "fields": { + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + }, + "service_provider_summary_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "service_types": { + "maxItemsOne": false + }, + "supported_resource_types": { + "maxItemsOne": false + } + } + } + } + } + } + } + } + }, "oci_demand_signal_occ_demand_signal": { "current": "oci:DemandSignal/getOccDemandSignal:getOccDemandSignal", "majorVersion": 2, @@ -44203,6 +44652,189 @@ } } }, + "oci_desktops_desktop": { + "current": "oci:Desktops/getDesktop:getDesktop", + "majorVersion": 2, + "fields": { + "device_policy": { + "maxItemsOne": false + }, + "hosting_options": { + "maxItemsOne": false, + "elem": { + "fields": { + "image": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_desktops_desktop_pool": { + "current": "oci:Desktops/getDesktopPool:getDesktopPool", + "majorVersion": 2, + "fields": { + "availability_policy": { + "maxItemsOne": false, + "elem": { + "fields": { + "start_schedule": { + "maxItemsOne": false + }, + "stop_schedule": { + "maxItemsOne": false + } + } + } + }, + "device_policy": { + "maxItemsOne": false + }, + "image": { + "maxItemsOne": false + }, + "network_configuration": { + "maxItemsOne": false + }, + "nsg_ids": { + "maxItemsOne": false + } + } + }, + "oci_desktops_desktop_pool_desktops": { + "current": "oci:Desktops/getDesktopPoolDesktops:getDesktopPoolDesktops", + "majorVersion": 2, + "fields": { + "desktop_pool_desktop_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_desktops_desktop_pool_volumes": { + "current": "oci:Desktops/getDesktopPoolVolumes:getDesktopPoolVolumes", + "majorVersion": 2, + "fields": { + "desktop_pool_volume_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_desktops_desktop_pools": { + "current": "oci:Desktops/getDesktopPools:getDesktopPools", + "majorVersion": 2, + "fields": { + "desktop_pool_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "availability_policy": { + "maxItemsOne": false, + "elem": { + "fields": { + "start_schedule": { + "maxItemsOne": false + }, + "stop_schedule": { + "maxItemsOne": false + } + } + } + }, + "device_policy": { + "maxItemsOne": false + }, + "image": { + "maxItemsOne": false + }, + "network_configuration": { + "maxItemsOne": false + }, + "nsg_ids": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_desktops_desktops": { + "current": "oci:Desktops/getDesktops:getDesktops", + "majorVersion": 2, + "fields": { + "desktop_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, "oci_devops_build_pipeline": { "current": "oci:DevOps/getBuildPipeline:getBuildPipeline", "majorVersion": 2, @@ -47173,184 +47805,6 @@ } } }, - "oci_fleet_software_update_fsu_collection": { - "current": "oci:FleetSoftwareUpdate/getFsuCollection:getFsuCollection", - "majorVersion": 2, - "fields": { - "active_fsu_cycle": { - "maxItemsOne": false - }, - "fleet_discovery": { - "maxItemsOne": false, - "elem": { - "fields": { - "filters": { - "maxItemsOne": false, - "elem": { - "fields": { - "identifiers": { - "maxItemsOne": false - }, - "names": { - "maxItemsOne": false - }, - "tags": { - "maxItemsOne": false - }, - "versions": { - "maxItemsOne": false - } - } - } - }, - "targets": { - "maxItemsOne": false - } - } - } - } - } - }, - "oci_fleet_software_update_fsu_collections": { - "current": "oci:FleetSoftwareUpdate/getFsuCollections:getFsuCollections", - "majorVersion": 2, - "fields": { - "filter": { - "maxItemsOne": false, - "elem": { - "fields": { - "values": { - "maxItemsOne": false - } - } - } - }, - "fsu_collection_summary_collection": { - "maxItemsOne": false, - "elem": { - "fields": { - "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "active_fsu_cycle": { - "maxItemsOne": false - }, - "fleet_discovery": { - "maxItemsOne": false, - "elem": { - "fields": { - "filters": { - "maxItemsOne": false, - "elem": { - "fields": { - "identifiers": { - "maxItemsOne": false - }, - "names": { - "maxItemsOne": false - }, - "tags": { - "maxItemsOne": false - }, - "versions": { - "maxItemsOne": false - } - } - } - }, - "targets": { - "maxItemsOne": false - } - } - } - } - } - } - } - } - } - } - } - }, - "oci_fleet_software_update_fsu_cycle": { - "current": "oci:FleetSoftwareUpdate/getFsuCycle:getFsuCycle", - "majorVersion": 2, - "fields": { - "apply_action_schedule": { - "maxItemsOne": false - }, - "batching_strategy": { - "maxItemsOne": false - }, - "diagnostics_collection": { - "maxItemsOne": false - }, - "goal_version_details": { - "maxItemsOne": false - }, - "is_ignore_missing_patches": { - "maxItemsOne": false - }, - "next_action_to_execute": { - "maxItemsOne": false - }, - "stage_action_schedule": { - "maxItemsOne": false - } - } - }, - "oci_fleet_software_update_fsu_cycles": { - "current": "oci:FleetSoftwareUpdate/getFsuCycles:getFsuCycles", - "majorVersion": 2, - "fields": { - "filter": { - "maxItemsOne": false, - "elem": { - "fields": { - "values": { - "maxItemsOne": false - } - } - } - }, - "fsu_cycle_summary_collection": { - "maxItemsOne": false, - "elem": { - "fields": { - "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "apply_action_schedule": { - "maxItemsOne": false - }, - "batching_strategy": { - "maxItemsOne": false - }, - "diagnostics_collection": { - "maxItemsOne": false - }, - "goal_version_details": { - "maxItemsOne": false - }, - "is_ignore_missing_patches": { - "maxItemsOne": false - }, - "next_action_to_execute": { - "maxItemsOne": false - }, - "stage_action_schedule": { - "maxItemsOne": false - } - } - } - } - } - } - } - } - }, "oci_functions_application": { "current": "oci:Functions/getApplication:getApplication", "majorVersion": 2, @@ -48195,115 +48649,6 @@ "current": "oci:GenericArtifactsContent/getGenericArtifactsContent:getGenericArtifactsContent", "majorVersion": 2 }, - "oci_globally_distributed_database_private_endpoint": { - "current": "oci:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint", - "majorVersion": 2, - "fields": { - "nsg_ids": { - "maxItemsOne": false - }, - "sharded_databases": { - "maxItemsOne": false - } - } - }, - "oci_globally_distributed_database_private_endpoints": { - "current": "oci:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints", - "majorVersion": 2, - "fields": { - "filter": { - "maxItemsOne": false, - "elem": { - "fields": { - "values": { - "maxItemsOne": false - } - } - } - }, - "private_endpoint_collection": { - "maxItemsOne": false, - "elem": { - "fields": { - "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "nsg_ids": { - "maxItemsOne": false - }, - "sharded_databases": { - "maxItemsOne": false - } - } - } - } - } - } - } - } - }, - "oci_globally_distributed_database_sharded_database": { - "current": "oci:GloballyDistributedDatabase/getShardedDatabase:getShardedDatabase", - "majorVersion": 2, - "fields": { - "catalog_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "encryption_key_details": { - "maxItemsOne": false - } - } - } - }, - "connection_strings": { - "maxItemsOne": false - }, - "gsms": { - "maxItemsOne": false - }, - "patch_operations": { - "maxItemsOne": false - }, - "shard_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "encryption_key_details": { - "maxItemsOne": false - } - } - } - } - } - }, - "oci_globally_distributed_database_sharded_databases": { - "current": "oci:GloballyDistributedDatabase/getShardedDatabases:getShardedDatabases", - "majorVersion": 2, - "fields": { - "filter": { - "maxItemsOne": false, - "elem": { - "fields": { - "values": { - "maxItemsOne": false - } - } - } - }, - "sharded_database_collection": { - "maxItemsOne": false, - "elem": { - "fields": { - "items": { - "maxItemsOne": false - } - } - } - } - } - }, "oci_golden_gate_connection": { "current": "oci:GoldenGate/getConnection:getConnection", "majorVersion": 2, @@ -60277,6 +60622,9 @@ "current_placement": { "maxItemsOne": false }, + "customer_contacts": { + "maxItemsOne": false + }, "data_storage": { "maxItemsOne": false }, @@ -60364,6 +60712,9 @@ "current_placement": { "maxItemsOne": false }, + "customer_contacts": { + "maxItemsOne": false + }, "data_storage": { "maxItemsOne": false }, diff --git a/provider/cmd/pulumi-resource-oci/schema.json b/provider/cmd/pulumi-resource-oci/schema.json index 4893aae72e..ee5e539869 100644 --- a/provider/cmd/pulumi-resource-oci/schema.json +++ b/provider/cmd/pulumi-resource-oci/schema.json @@ -9526,7 +9526,7 @@ "items": { "$ref": "#/types/oci:AnnouncementsService/AnnouncementSubscriptionFilterGroupsFilter:AnnouncementSubscriptionFilterGroupsFilter" }, - "description": "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.\n", + "description": "A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.\n", "willReplaceOnChanges": true }, "name": { @@ -9551,7 +9551,7 @@ "properties": { "type": { "type": "string", - "description": "The type of filter.\n", + "description": "The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.\n", "willReplaceOnChanges": true }, "value": { @@ -9570,7 +9570,7 @@ "properties": { "type": { "type": "string", - "description": "(Updatable) The type of filter.\n" + "description": "(Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.\n" }, "value": { "type": "string", @@ -9590,7 +9590,7 @@ "items": { "$ref": "#/types/oci:AnnouncementsService/getAnnouncementSubscriptionFilterGroupFilter:getAnnouncementSubscriptionFilterGroupFilter" }, - "description": "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.\n" + "description": "A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.\n" }, "name": { "type": "string", @@ -9612,7 +9612,7 @@ "properties": { "type": { "type": "string", - "description": "The type of filter.\n" + "description": "The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.\n" }, "value": { "type": "string", @@ -9698,11 +9698,11 @@ }, "preferredLanguage": { "type": "string", - "description": "(For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.\n" + "description": "(For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.\n" }, "preferredTimeZone": { "type": "string", - "description": "The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.\n" + "description": "The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles\n" }, "state": { "type": "string", @@ -9755,7 +9755,7 @@ "items": { "$ref": "#/types/oci:AnnouncementsService/getAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter:getAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter" }, - "description": "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.\n" + "description": "A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.\n" }, "name": { "type": "string", @@ -9777,7 +9777,7 @@ "properties": { "type": { "type": "string", - "description": "The type of filter.\n" + "description": "The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.\n" }, "value": { "type": "string", @@ -9817,6 +9817,123 @@ "values" ] }, + "oci:AnnouncementsService/getServicesFilter:getServicesFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:AnnouncementsService/getServicesServicesCollection:getServicesServicesCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:AnnouncementsService/getServicesServicesCollectionItem:getServicesServicesCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:AnnouncementsService/getServicesServicesCollectionItem:getServicesServicesCollectionItem": { + "properties": { + "commsManagerName": { + "type": "string", + "description": "Filter by comms manager name\n" + }, + "excludedRealms": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of realms where this service is not available to be used.\n" + }, + "id": { + "type": "string", + "description": "ID of the service object.\n" + }, + "platformType": { + "type": "string", + "description": "A filter to return only services underlying a specific platform.\n" + }, + "previousServiceNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of previously used names for this service object.\n" + }, + "serviceName": { + "type": "string", + "description": "Name of the service represented by this object.\n" + }, + "shortName": { + "type": "string", + "description": "Short name of the team to whom this service object is related.\n" + }, + "state": { + "type": "string", + "description": "Current state of the service object.\n" + }, + "teamName": { + "type": "string", + "description": "Team name to which this service object is related.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time when the service object was created.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time when the service object was updated.\n" + }, + "type": { + "type": "string" + } + }, + "type": "object", + "required": [ + "commsManagerName", + "excludedRealms", + "id", + "platformType", + "previousServiceNames", + "serviceName", + "shortName", + "state", + "teamName", + "timeCreated", + "timeUpdated", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:ApiGateway/ApiValidationResult:ApiValidationResult": { "properties": { "name": { @@ -32927,21 +33044,9 @@ "type": "integer", "description": "The total number of OCPUs available to the node.\n" }, - "odhVersion": { - "type": "string", - "description": "Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.\n" - }, - "osVersion": { - "type": "string", - "description": "BDS-assigned Operating System version for the node.\n" - }, "shape": { "type": "string", "description": "Shape of the node\n" - }, - "sshFingerprint": { - "type": "string", - "description": "The fingerprint of the SSH key used for node access\n" } }, "type": "object", @@ -32958,10 +33063,7 @@ "memoryInGbs", "nvmes", "ocpus", - "odhVersion", - "osVersion", - "shape", - "sshFingerprint" + "shape" ] } } @@ -35041,21 +35143,9 @@ "type": "integer", "description": "The total number of OCPUs available to the node.\n" }, - "odhVersion": { - "type": "string", - "description": "Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.\n" - }, - "osVersion": { - "type": "string", - "description": "BDS-assigned Operating System version for the node.\n" - }, "shape": { "type": "string", "description": "Shape of the node.\n" - }, - "sshFingerprint": { - "type": "string", - "description": "The fingerprint of the SSH key used for node access.\n" } }, "type": "object", @@ -35067,10 +35157,7 @@ "memoryInGbs", "nvmes", "ocpus", - "odhVersion", - "osVersion", - "shape", - "sshFingerprint" + "shape" ], "language": { "nodejs": { @@ -36040,9 +36127,6 @@ }, "oci:BigDataService/getBdsInstancesBdsInstance:getBdsInstancesBdsInstance": { "properties": { - "addKafkaTrigger": { - "type": "integer" - }, "bootstrapScriptUrl": { "type": "string", "description": "pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed.\n" @@ -36107,9 +36191,6 @@ "$ref": "#/types/oci:BigDataService/getBdsInstancesBdsInstanceEdgeNode:getBdsInstancesBdsInstanceEdgeNode" } }, - "executeBootstrapScriptTrigger": { - "type": "integer" - }, "freeformTags": { "type": "object", "additionalProperties": { @@ -36190,9 +36271,6 @@ "osPatchVersion": { "type": "string" }, - "removeKafkaTrigger": { - "type": "integer" - }, "state": { "type": "string", "description": "The state of the cluster.\n" @@ -36220,7 +36298,6 @@ }, "type": "object", "required": [ - "addKafkaTrigger", "bootstrapScriptUrl", "cloudSqlDetails", "clusterAdminPassword", @@ -36234,7 +36311,6 @@ "definedTags", "displayName", "edgeNodes", - "executeBootstrapScriptTrigger", "freeformTags", "id", "ignoreExistingNodesShapes", @@ -36252,7 +36328,6 @@ "numberOfNodes", "numberOfNodesRequiringMaintenanceReboot", "osPatchVersion", - "removeKafkaTrigger", "state", "timeCreated", "timeUpdated", @@ -36298,21 +36373,9 @@ "type": "integer", "description": "The total number of OCPUs available to the node.\n" }, - "odhVersion": { - "type": "string", - "description": "Version of the ODH (Oracle Distribution including Apache Hadoop) for the node.\n" - }, - "osVersion": { - "type": "string", - "description": "BDS-assigned Operating System version for the node.\n" - }, "shape": { "type": "string", "description": "Shape of the node.\n" - }, - "sshFingerprint": { - "type": "string", - "description": "The fingerprint of the SSH key used for node access.\n" } }, "type": "object", @@ -36324,10 +36387,7 @@ "memoryInGbs", "nvmes", "ocpus", - "odhVersion", - "osVersion", - "shape", - "sshFingerprint" + "shape" ], "language": { "nodejs": { @@ -118519,16 +118579,20 @@ "oci:DataSafe/DatabaseSecurityConfigManagementSqlFirewallConfig:DatabaseSecurityConfigManagementSqlFirewallConfig": { "properties": { "excludeJob": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies whether the firewall should include or exclude the database internal job activities.\n" }, "status": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies whether the firewall is enabled or disabled on the target database.\n" }, "timeStatusUpdated": { - "type": "string" + "type": "string", + "description": "The most recent time when the firewall status is updated, in the format defined by RFC3339.\n" }, "violationLogAutoPurge": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe.\n" } }, "type": "object", @@ -142824,6 +142888,10 @@ }, "oci:Database/AutonomousDatabaseLocalStandbyDb:AutonomousDatabaseLocalStandbyDb": { "properties": { + "availabilityDomain": { + "type": "string", + "description": "The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" + }, "lagTimeInSeconds": { "type": "integer", "description": "The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.\n" @@ -142849,6 +142917,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", "state", @@ -143035,6 +143104,10 @@ }, "oci:Database/AutonomousDatabaseStandbyDb:AutonomousDatabaseStandbyDb": { "properties": { + "availabilityDomain": { + "type": "string", + "description": "The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" + }, "lagTimeInSeconds": { "type": "integer", "description": "The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.\n" @@ -143060,6 +143133,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", "state", @@ -149893,6 +149967,10 @@ }, "oci:Database/getAutonomousDatabaseLocalStandbyDb:getAutonomousDatabaseLocalStandbyDb": { "properties": { + "availabilityDomain": { + "type": "string", + "description": "The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" + }, "lagTimeInSeconds": { "type": "integer", "description": "The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.\n" @@ -149916,6 +149994,7 @@ }, "type": "object", "required": [ + "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", "state", @@ -150363,6 +150442,10 @@ }, "oci:Database/getAutonomousDatabaseStandbyDb:getAutonomousDatabaseStandbyDb": { "properties": { + "availabilityDomain": { + "type": "string", + "description": "The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" + }, "lagTimeInSeconds": { "type": "integer", "description": "The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.\n" @@ -150386,6 +150469,7 @@ }, "type": "object", "required": [ + "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", "state", @@ -150439,12 +150523,17 @@ "type": "string" }, "autonomousDatabaseId": { - "type": "string" + "type": "string", + "description": "The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" }, "autonomousMaintenanceScheduleType": { "type": "string", "description": "The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle\n" }, + "availabilityDomain": { + "type": "string", + "description": "The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" + }, "availableUpgradeVersions": { "type": "array", "items": { @@ -150479,7 +150568,7 @@ }, "compartmentId": { "type": "string", - "description": "The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" }, "computeCount": { "type": "number", @@ -150551,11 +150640,11 @@ }, "dbVersion": { "type": "string", - "description": "A filter to return only autonomous database resources that match the specified dbVersion.\n" + "description": "A valid Oracle Database version for Autonomous Database.\n" }, "dbWorkload": { "type": "string", - "description": "A filter to return only autonomous database resources that match the specified workload type.\n" + "description": "The Autonomous Database workload type. The following values are valid:\n* OLTP - indicates an Autonomous Transaction Processing database\n* DW - indicates an Autonomous Data Warehouse database\n* AJD - indicates an Autonomous JSON Database\n* APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.\n" }, "definedTags": { "type": "object", @@ -150574,7 +150663,7 @@ }, "displayName": { "type": "string", - "description": "A filter to return only resources that match the entire display name given. The match is not case sensitive.\n" + "description": "The user-friendly name for the Autonomous Database. The name does not have to be unique.\n" }, "failedDataRecoveryInSeconds": { "type": "integer", @@ -150601,7 +150690,7 @@ }, "infrastructureType": { "type": "string", - "description": "A filter to return only resources that match the given Infrastructure Type.\n" + "description": "The infrastructure type this resource belongs to.\n" }, "isAccessControlEnabled": { "type": "boolean", @@ -150617,7 +150706,7 @@ }, "isDataGuardEnabled": { "type": "boolean", - "description": "A filter to return only resources that have Data Guard enabled.\n" + "description": "**Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.\n" }, "isDedicated": { "type": "boolean", @@ -150629,7 +150718,7 @@ }, "isFreeTier": { "type": "boolean", - "description": "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.\n" + "description": "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.\n" }, "isLocalDataGuardEnabled": { "type": "boolean", @@ -150652,7 +150741,7 @@ }, "isRefreshableClone": { "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" + "description": "Indicates if the Autonomous Database is a refreshable clone.\n" }, "isRemoteDataGuardEnabled": { "type": "boolean", @@ -150729,7 +150818,7 @@ }, "memoryPerOracleComputeUnitInGbs": { "type": "integer", - "description": "The amount of memory (in GBs) enabled per OCPU or ECPU.\n" + "description": "The amount of memory (in GBs) enabled per ECPU or OCPU.\n" }, "ncharacterSet": { "type": "string", @@ -150823,7 +150912,7 @@ }, "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" + "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", @@ -150882,7 +150971,7 @@ }, "state": { "type": "string", - "description": "A filter to return only resources that match the given lifecycle state exactly.\n" + "description": "The current state of the Autonomous Database.\n" }, "subnetId": { "type": "string", @@ -150890,7 +150979,7 @@ }, "subscriptionId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with.\nThese 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 the backup subnet.\n" }, "supportedRegionsToCloneTos": { "type": "array", @@ -151019,6 +151108,7 @@ "autonomousDatabaseBackupId", "autonomousDatabaseId", "autonomousMaintenanceScheduleType", + "availabilityDomain", "availableUpgradeVersions", "backupConfigs", "backupRetentionPeriodInDays", @@ -151252,15 +151342,14 @@ }, "displayName": { "type": "string", - "description": "A filter to return only resources that match the entire display name given. The match is not case sensitive.\n" + "description": "The user-friendly name for the Autonomous Database. The name does not have to be unique.\n" }, "hostFormat": { "type": "string", "description": "Host format used in connection string.\n" }, "isRegional": { - "type": "boolean", - "description": "True for a regional connection string, applicable to cross-region DG only.\n" + "type": "boolean" }, "protocol": { "type": "string", @@ -151272,7 +151361,7 @@ }, "syntaxFormat": { "type": "string", - "description": "Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Database Serverless instances always use the long format.\n" + "description": "Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format.\n" }, "tlsAuthentication": { "type": "string", @@ -151436,6 +151525,10 @@ }, "oci:Database/getAutonomousDatabasesAutonomousDatabaseLocalStandbyDb:getAutonomousDatabasesAutonomousDatabaseLocalStandbyDb": { "properties": { + "availabilityDomain": { + "type": "string", + "description": "The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" + }, "lagTimeInSeconds": { "type": "integer", "description": "The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.\n" @@ -151446,7 +151539,7 @@ }, "state": { "type": "string", - "description": "A filter to return only resources that match the given lifecycle state exactly.\n" + "description": "The current state of the Autonomous Database.\n" }, "timeDataGuardRoleChanged": { "type": "string", @@ -151459,6 +151552,7 @@ }, "type": "object", "required": [ + "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", "state", @@ -151656,6 +151750,10 @@ }, "oci:Database/getAutonomousDatabasesAutonomousDatabaseStandbyDb:getAutonomousDatabasesAutonomousDatabaseStandbyDb": { "properties": { + "availabilityDomain": { + "type": "string", + "description": "The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" + }, "lagTimeInSeconds": { "type": "integer", "description": "The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.\n" @@ -151666,7 +151764,7 @@ }, "state": { "type": "string", - "description": "A filter to return only resources that match the given lifecycle state exactly.\n" + "description": "The current state of the Autonomous Database.\n" }, "timeDataGuardRoleChanged": { "type": "string", @@ -151679,6 +151777,7 @@ }, "type": "object", "required": [ + "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", "state", @@ -151726,7 +151825,10 @@ }, "autonomousMaintenanceScheduleType": { "type": "string", - "description": "The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle\n" + "description": "The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle* `availability_domain` - The availability domain where the Autonomous Database Serverless instance is located.\n" + }, + "availabilityDomain": { + "type": "string" }, "availableUpgradeVersions": { "type": "array", @@ -151979,7 +152081,7 @@ "items": { "$ref": "#/types/oci:Database/getAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb:getAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb" }, - "description": "Autonomous Data Guard standby database details.\n" + "description": "Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" }, "longTermBackupSchedules": { "type": "array", @@ -152110,7 +152212,7 @@ "items": { "$ref": "#/types/oci:Database/getAutonomousDatabasesClonesAutonomousDatabaseStandbyDb:getAutonomousDatabasesClonesAutonomousDatabaseStandbyDb" }, - "description": "**Deprecated** Autonomous Data Guard standby database details.\n" + "description": "**Deprecated** Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" }, "standbyWhitelistedIps": { "type": "array", @@ -152242,6 +152344,7 @@ "autoRefreshPointLagInSeconds", "autonomousContainerDatabaseId", "autonomousMaintenanceScheduleType", + "availabilityDomain", "availableUpgradeVersions", "backupConfigs", "backupRetentionPeriodInDays", @@ -152642,6 +152745,9 @@ }, "oci:Database/getAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb:getAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb": { "properties": { + "availabilityDomain": { + "type": "string" + }, "lagTimeInSeconds": { "type": "integer", "description": "The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.\n" @@ -152665,6 +152771,7 @@ }, "type": "object", "required": [ + "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", "state", @@ -152863,6 +152970,9 @@ }, "oci:Database/getAutonomousDatabasesClonesAutonomousDatabaseStandbyDb:getAutonomousDatabasesClonesAutonomousDatabaseStandbyDb": { "properties": { + "availabilityDomain": { + "type": "string" + }, "lagTimeInSeconds": { "type": "integer", "description": "The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover.\n" @@ -152886,6 +152996,7 @@ }, "type": "object", "required": [ + "availabilityDomain", "lagTimeInSeconds", "lifecycleDetails", "state", @@ -157535,6 +157646,9 @@ "displayName": { "type": "string" }, + "domain": { + "type": "string" + }, "faultDomains": { "type": "array", "items": { @@ -157652,6 +157766,7 @@ "dbSystemFreeformTags", "deleteStandbyDbHomeOnDelete", "displayName", + "domain", "faultDomains", "hostname", "id", @@ -168062,6 +168177,111 @@ } } }, + "oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails": { + "properties": { + "connectorDetails": { + "$ref": "#/types/oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails", + "description": "The connector details required to connect to an Oracle cloud database.\n" + }, + "databaseConnectionDetails": { + "$ref": "#/types/oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails", + "description": "The connection details required to connect to the database.\n" + }, + "feature": { + "type": "string", + "description": "The name of the Database Management feature.\n" + } + }, + "type": "object", + "required": [ + "feature" + ] + }, + "oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails": { + "properties": { + "connectorType": { + "type": "string", + "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n* DIRECT: Direct connection\n" + }, + "databaseConnectorId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector.\n" + }, + "managementAgentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent.\n" + }, + "privateEndPointId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint.\n" + } + }, + "type": "object" + }, + "oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails": { + "properties": { + "connectionCredentials": { + "$ref": "#/types/oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials", + "description": "The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials.\n" + }, + "connectionString": { + "$ref": "#/types/oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString", + "description": "The details of the Oracle Database connection string.\n" + } + }, + "type": "object" + }, + "oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials": { + "properties": { + "credentialName": { + "type": "string", + "description": "The name of the credential information that used to connect to the DB system resource. The name should be in \"x.y\" format, where the length of \"x\" has a maximum of 64 characters, and length of \"y\" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the \".\" character that separates the \"x\" and \"y\" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.\n\nFor example: inventorydb.abc112233445566778899\n" + }, + "credentialType": { + "type": "string", + "description": "The type of credential used to connect to the database.\n" + }, + "passwordSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password.\n", + "secret": true + }, + "role": { + "type": "string", + "description": "The role of the user connecting to the database.\n" + }, + "sslSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details.\n" + }, + "userName": { + "type": "string", + "description": "The user name used to connect to the database.\n" + } + }, + "type": "object" + }, + "oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString": { + "properties": { + "connectionType": { + "type": "string", + "description": "The list of supported connection types:\n* BASIC: Basic connection details\n" + }, + "port": { + "type": "integer", + "description": "The port number used to connect to the database.\n" + }, + "protocol": { + "type": "string", + "description": "The protocol used to connect to the database.\n" + }, + "service": { + "type": "string", + "description": "The service name of the database.\n" + } + }, + "type": "object" + }, "oci:DatabaseManagement/DatabaseDbmFeaturesManagementFeatureDetails:DatabaseDbmFeaturesManagementFeatureDetails": { "properties": { "connectorDetails": { @@ -168094,7 +168314,7 @@ "properties": { "connectorType": { "type": "string", - "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n" + "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n* DIRECT: Direct connection\n" }, "databaseConnectorId": { "type": "string", @@ -168134,6 +168354,11 @@ "type": "string", "description": "The type of credential used to connect to the database.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored.\n", + "willReplaceOnChanges": true + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password.\n", @@ -168152,7 +168377,14 @@ "description": "The user name used to connect to the database.\n" } }, - "type": "object" + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "namedCredentialId" + ] + } + } }, "oci:DatabaseManagement/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString:DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString": { "properties": { @@ -168365,6 +168597,10 @@ "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -168388,6 +168624,7 @@ "requiredOutputs": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -168955,6 +169192,10 @@ "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -168978,6 +169219,7 @@ "requiredOutputs": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -169161,82 +169403,6 @@ "type": "string", "description": "The name of the credential information that used to connect to the DB system resource. The name should be in \"x.y\" format, where the length of \"x\" has a maximum of 64 characters, and length of \"y\" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the \".\" character that separates the \"x\" and \"y\" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.\n" }, - "credentialType": { - "type": "string", - "description": "The type of the credential for tablespace administration tasks.\n" - }, - "passwordSecretId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" - }, - "role": { - "type": "string", - "description": "The role of the database user.\n" - }, - "sslSecretId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details.\n" - }, - "userName": { - "type": "string", - "description": "The user name used to connect to the ASM instance.\n" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "credentialName", - "credentialType", - "passwordSecretId", - "role", - "sslSecretId", - "userName" - ] - } - } - }, - "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionString:ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionString": { - "properties": { - "hostName": { - "type": "string", - "description": "The host name of the database or the SCAN name in case of a RAC database.\n" - }, - "hosts": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of host names of the ASM instances.\n" - }, - "port": { - "type": "integer", - "description": "The port used to connect to the ASM instance.\n" - }, - "protocol": { - "type": "string", - "description": "The protocol used to connect to the ASM instance.\n" - }, - "service": { - "type": "string", - "description": "The service name of the ASM instance.\n" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "hostName", - "hosts", - "port", - "protocol", - "service" - ] - } - } - }, - "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoDatabaseCredential:ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoDatabaseCredential": { - "properties": { "credentialType": { "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" @@ -169245,235 +169411,6 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" }, - "password": { - "type": "string", - "description": "The database user's password encoded using BASE64 scheme.\n" - }, - "passwordSecretId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" - }, - "role": { - "type": "string", - "description": "The role of the database user.\n" - }, - "username": { - "type": "string", - "description": "The user to connect to the database.\n" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "credentialType", - "namedCredentialId", - "password", - "passwordSecretId", - "role", - "username" - ] - } - } - }, - "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentEndpoint:ExternalDbSystemDiscoveryDiscoveredComponentEndpoint": { - "properties": { - "host": { - "type": "string", - "description": "The host name or IP address.\n" - }, - "key": { - "type": "string", - "description": "The unique name of the service.\n" - }, - "port": { - "type": "integer", - "description": "The port used to connect to the ASM instance.\n" - }, - "protocol": { - "type": "string", - "description": "The protocol used to connect to the ASM instance.\n" - }, - "services": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The list of services registered with the listener.\n" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "host", - "key", - "port", - "protocol", - "services" - ] - } - } - }, - "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentNetworkConfiguration:ExternalDbSystemDiscoveryDiscoveredComponentNetworkConfiguration": { - "properties": { - "networkNumber": { - "type": "integer", - "description": "The network number from which VIPs are obtained.\n" - }, - "networkType": { - "type": "string", - "description": "The network type.\n" - }, - "subnet": { - "type": "string", - "description": "The subnet for the network.\n" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "networkNumber", - "networkType", - "subnet" - ] - } - } - }, - "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabase:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabase": { - "properties": { - "compartmentId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external DB system resides.\n" - }, - "connectors": { - "type": "array", - "items": { - "$ref": "#/types/oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector" - }, - "description": "The connector details used to connect to the external DB system component.\n" - }, - "containerDatabaseId": { - "type": "string", - "description": "The unique identifier of the parent Container Database (CDB).\n" - }, - "guid": { - "type": "string", - "description": "The unique identifier of the PDB.\n" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "compartmentId", - "connectors", - "containerDatabaseId", - "guid" - ] - } - } - }, - "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector": { - "properties": { - "agentId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used for the external DB system discovery.\n" - }, - "connectionFailureMessage": { - "type": "string", - "description": "The error message indicating the reason for connection failure or `null` if the connection was successful.\n" - }, - "connectionInfos": { - "type": "array", - "items": { - "$ref": "#/types/oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfo:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfo" - }, - "description": "The connection details required to connect to an external DB system component.\n" - }, - "connectionStatus": { - "type": "string", - "description": "The status of connectivity to the external DB system component.\n" - }, - "connectorType": { - "type": "string", - "description": "The type of connector.\n" - }, - "displayName": { - "type": "string", - "description": "(Updatable) The user-friendly name for the DB system. The name does not have to be unique.\n" - }, - "timeConnectionStatusLastUpdated": { - "type": "string", - "description": "The date and time the connectionStatus of the external DB system connector was last updated.\n" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "agentId", - "connectionFailureMessage", - "connectionInfos", - "connectionStatus", - "connectorType", - "displayName", - "timeConnectionStatusLastUpdated" - ] - } - } - }, - "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfo:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfo": { - "properties": { - "componentType": { - "type": "string", - "description": "The component type.\n" - }, - "connectionCredentials": { - "type": "array", - "items": { - "$ref": "#/types/oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential" - }, - "description": "The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials.\n" - }, - "connectionStrings": { - "type": "array", - "items": { - "$ref": "#/types/oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionString:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionString" - }, - "description": "The Oracle Database connection string.\n" - }, - "databaseCredentials": { - "type": "array", - "items": { - "$ref": "#/types/oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoDatabaseCredential:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoDatabaseCredential" - }, - "description": "The credential to connect to the database to perform tablespace administration tasks.\n" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "componentType", - "connectionCredentials", - "connectionStrings", - "databaseCredentials" - ] - } - } - }, - "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential": { - "properties": { - "credentialName": { - "type": "string", - "description": "The name of the credential information that used to connect to the DB system resource. The name should be in \"x.y\" format, where the length of \"x\" has a maximum of 64 characters, and length of \"y\" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the \".\" character that separates the \"x\" and \"y\" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.\n" - }, - "credentialType": { - "type": "string", - "description": "The type of the credential for tablespace administration tasks.\n" - }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -169497,6 +169434,7 @@ "requiredOutputs": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -169505,7 +169443,321 @@ } } }, - "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionString:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionString": { + "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionString:ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionString": { + "properties": { + "hostName": { + "type": "string", + "description": "The host name of the database or the SCAN name in case of a RAC database.\n" + }, + "hosts": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of host names of the ASM instances.\n" + }, + "port": { + "type": "integer", + "description": "The port used to connect to the ASM instance.\n" + }, + "protocol": { + "type": "string", + "description": "The protocol used to connect to the ASM instance.\n" + }, + "service": { + "type": "string", + "description": "The service name of the ASM instance.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "hostName", + "hosts", + "port", + "protocol", + "service" + ] + } + } + }, + "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoDatabaseCredential:ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoDatabaseCredential": { + "properties": { + "credentialType": { + "type": "string", + "description": "The type of the credential for tablespace administration tasks.\n" + }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, + "password": { + "type": "string", + "description": "The database user's password encoded using BASE64 scheme.\n" + }, + "passwordSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" + }, + "role": { + "type": "string", + "description": "The role of the database user.\n" + }, + "username": { + "type": "string", + "description": "The user to connect to the database.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "credentialType", + "namedCredentialId", + "password", + "passwordSecretId", + "role", + "username" + ] + } + } + }, + "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentEndpoint:ExternalDbSystemDiscoveryDiscoveredComponentEndpoint": { + "properties": { + "host": { + "type": "string", + "description": "The host name or IP address.\n" + }, + "key": { + "type": "string", + "description": "The unique name of the service.\n" + }, + "port": { + "type": "integer", + "description": "The port used to connect to the ASM instance.\n" + }, + "protocol": { + "type": "string", + "description": "The protocol used to connect to the ASM instance.\n" + }, + "services": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of services registered with the listener.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "host", + "key", + "port", + "protocol", + "services" + ] + } + } + }, + "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentNetworkConfiguration:ExternalDbSystemDiscoveryDiscoveredComponentNetworkConfiguration": { + "properties": { + "networkNumber": { + "type": "integer", + "description": "The network number from which VIPs are obtained.\n" + }, + "networkType": { + "type": "string", + "description": "The network type.\n" + }, + "subnet": { + "type": "string", + "description": "The subnet for the network.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "networkNumber", + "networkType", + "subnet" + ] + } + } + }, + "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabase:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabase": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external DB system resides.\n" + }, + "connectors": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector" + }, + "description": "The connector details used to connect to the external DB system component.\n" + }, + "containerDatabaseId": { + "type": "string", + "description": "The unique identifier of the parent Container Database (CDB).\n" + }, + "guid": { + "type": "string", + "description": "The unique identifier of the PDB.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "compartmentId", + "connectors", + "containerDatabaseId", + "guid" + ] + } + } + }, + "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector": { + "properties": { + "agentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used for the external DB system discovery.\n" + }, + "connectionFailureMessage": { + "type": "string", + "description": "The error message indicating the reason for connection failure or `null` if the connection was successful.\n" + }, + "connectionInfos": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfo:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfo" + }, + "description": "The connection details required to connect to an external DB system component.\n" + }, + "connectionStatus": { + "type": "string", + "description": "The status of connectivity to the external DB system component.\n" + }, + "connectorType": { + "type": "string", + "description": "The type of connector.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) The user-friendly name for the DB system. The name does not have to be unique.\n" + }, + "timeConnectionStatusLastUpdated": { + "type": "string", + "description": "The date and time the connectionStatus of the external DB system connector was last updated.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "agentId", + "connectionFailureMessage", + "connectionInfos", + "connectionStatus", + "connectorType", + "displayName", + "timeConnectionStatusLastUpdated" + ] + } + } + }, + "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfo:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfo": { + "properties": { + "componentType": { + "type": "string", + "description": "The component type.\n" + }, + "connectionCredentials": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential" + }, + "description": "The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials.\n" + }, + "connectionStrings": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionString:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionString" + }, + "description": "The Oracle Database connection string.\n" + }, + "databaseCredentials": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoDatabaseCredential:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoDatabaseCredential" + }, + "description": "The credential to connect to the database to perform tablespace administration tasks.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "componentType", + "connectionCredentials", + "connectionStrings", + "databaseCredentials" + ] + } + } + }, + "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential": { + "properties": { + "credentialName": { + "type": "string", + "description": "The name of the credential information that used to connect to the DB system resource. The name should be in \"x.y\" format, where the length of \"x\" has a maximum of 64 characters, and length of \"y\" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the \".\" character that separates the \"x\" and \"y\" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.\n" + }, + "credentialType": { + "type": "string", + "description": "The type of the credential for tablespace administration tasks.\n" + }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, + "passwordSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" + }, + "role": { + "type": "string", + "description": "The role of the database user.\n" + }, + "sslSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details.\n" + }, + "userName": { + "type": "string", + "description": "The user name used to connect to the ASM instance.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "credentialName", + "credentialType", + "namedCredentialId", + "passwordSecretId", + "role", + "sslSecretId", + "userName" + ] + } + } + }, + "oci:DatabaseManagement/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionString:ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionString": { "properties": { "hostName": { "type": "string", @@ -170393,7 +170645,7 @@ "properties": { "connectorType": { "type": "string", - "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n", + "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n* DIRECT: Direct connection\n", "willReplaceOnChanges": true }, "databaseConnectorId": { @@ -170460,7 +170712,7 @@ "properties": { "connectorType": { "type": "string", - "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n", + "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n* DIRECT: Direct connection\n", "willReplaceOnChanges": true }, "databaseConnectorId": { @@ -170521,7 +170773,7 @@ "properties": { "connectorType": { "type": "string", - "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n", + "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n* DIRECT: Direct connection\n", "willReplaceOnChanges": true }, "databaseConnectorId": { @@ -170552,6 +170804,183 @@ } } }, + "oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfig:ManagedDatabaseDbmgmtFeatureConfig": { + "properties": { + "connectorDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfigConnectorDetail:ManagedDatabaseDbmgmtFeatureConfigConnectorDetail" + }, + "description": "The connector details required to connect to an Oracle cloud database.\n" + }, + "databaseConnectionDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail:ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail" + }, + "description": "The connection details required to connect to the database.\n" + }, + "feature": { + "type": "string", + "description": "The name of the Database Management feature.\n" + }, + "featureStatus": { + "type": "string", + "description": "The list of statuses for Database Management features.\n" + }, + "licenseModel": { + "type": "string", + "description": "The Oracle license model that applies to the external database.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "connectorDetails", + "databaseConnectionDetails", + "feature", + "featureStatus", + "licenseModel" + ] + } + } + }, + "oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfigConnectorDetail:ManagedDatabaseDbmgmtFeatureConfigConnectorDetail": { + "properties": { + "connectorType": { + "type": "string", + "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n" + }, + "databaseConnectorId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector.\n" + }, + "managementAgentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent.\n" + }, + "privateEndPointId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "connectorType", + "databaseConnectorId", + "managementAgentId", + "privateEndPointId" + ] + } + } + }, + "oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail:ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail": { + "properties": { + "connectionCredentials": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential:ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential" + }, + "description": "The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials.\n" + }, + "connectionStrings": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString:ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString" + }, + "description": "The details of the Oracle Database connection string.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "connectionCredentials", + "connectionStrings" + ] + } + } + }, + "oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential:ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential": { + "properties": { + "credentialName": { + "type": "string", + "description": "The name of the credential information that used to connect to the DB system resource. The name should be in \"x.y\" format, where the length of \"x\" has a maximum of 64 characters, and length of \"y\" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the \".\" character that separates the \"x\" and \"y\" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.\n" + }, + "credentialType": { + "type": "string", + "description": "The type of credential used to connect to the database.\n" + }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored.\n" + }, + "passwordSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password.\n" + }, + "role": { + "type": "string", + "description": "The role of the user connecting to the database.\n" + }, + "sslSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details.\n" + }, + "userName": { + "type": "string", + "description": "The user name used to connect to the database.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "credentialName", + "credentialType", + "namedCredentialId", + "passwordSecretId", + "role", + "sslSecretId", + "userName" + ] + } + } + }, + "oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString:ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString": { + "properties": { + "connectionType": { + "type": "string", + "description": "The list of supported connection types:\n* BASIC: Basic connection details\n" + }, + "port": { + "type": "integer", + "description": "The port number used to connect to the database.\n" + }, + "protocol": { + "type": "string", + "description": "The protocol used to connect to the database.\n" + }, + "service": { + "type": "string", + "description": "The service name of the database.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "connectionType", + "port", + "protocol", + "service" + ] + } + } + }, "oci:DatabaseManagement/ManagedDatabaseGroupManagedDatabase:ManagedDatabaseGroupManagedDatabase": { "properties": { "compartmentId": { @@ -170928,7 +171357,7 @@ "properties": { "connectorType": { "type": "string", - "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n" + "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n* DIRECT: Direct connection\n" }, "databaseConnectorId": { "type": "string", @@ -170968,6 +171397,11 @@ "type": "string", "description": "The type of credential used to connect to the database.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored.\n", + "willReplaceOnChanges": true + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password.\n", @@ -170986,7 +171420,14 @@ "description": "The user name used to connect to the database.\n" } }, - "type": "object" + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "namedCredentialId" + ] + } + } }, "oci:DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString:PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString": { "properties": { @@ -171166,6 +171607,10 @@ "type": "boolean", "description": "The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter.\n" }, + "isDnsResolutionEnabled": { + "type": "boolean", + "description": "The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time.\n" + }, "name": { "type": "string", "description": "A filter to return only resources that match the entire name.\n" @@ -171213,6 +171658,7 @@ "freeformTags", "id", "isCluster", + "isDnsResolutionEnabled", "name", "nsgIds", "privateIp", @@ -172433,6 +172879,10 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" }, + "databasePlatformName": { + "type": "string", + "description": "The operating system of database.\n" + }, "databaseSubType": { "type": "string", "description": "The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database.\n" @@ -172441,6 +172891,10 @@ "type": "string", "description": "The type of Oracle Database installation.\n" }, + "databaseVersion": { + "type": "string", + "description": "The Oracle database version.\n" + }, "dbManagementConfigs": { "type": "array", "items": { @@ -172459,6 +172913,13 @@ "type": "string", "description": "The `DB_UNIQUE_NAME` of the external database.\n" }, + "dbmgmtFeatureConfigs": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig:getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig" + }, + "description": "The list of feature configurations\n" + }, "definedTags": { "type": "object", "additionalProperties": { @@ -172515,11 +172976,14 @@ "type": "object", "required": [ "compartmentId", + "databasePlatformName", "databaseSubType", "databaseType", + "databaseVersion", "dbManagementConfigs", "dbSystemInfos", "dbUniqueName", + "dbmgmtFeatureConfigs", "definedTags", "displayName", "externalContainerDatabaseId", @@ -172626,6 +173090,188 @@ } } }, + "oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig:getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig": { + "properties": { + "connectorDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail:getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail" + }, + "description": "The connector details required to connect to an Oracle cloud database.\n" + }, + "databaseConnectionDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail:getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail" + }, + "description": "The connection details required to connect to the database.\n" + }, + "feature": { + "type": "string", + "description": "The name of the Database Management feature.\n" + }, + "featureStatus": { + "type": "string", + "description": "The list of statuses for Database Management features.\n" + }, + "licenseModel": { + "type": "string", + "description": "The Oracle license model that applies to the external database.\n" + } + }, + "type": "object", + "required": [ + "connectorDetails", + "databaseConnectionDetails", + "feature", + "featureStatus", + "licenseModel" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail:getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail": { + "properties": { + "connectorType": { + "type": "string", + "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n" + }, + "databaseConnectorId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector.\n" + }, + "managementAgentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent.\n" + }, + "privateEndPointId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint.\n" + } + }, + "type": "object", + "required": [ + "connectorType", + "databaseConnectorId", + "managementAgentId", + "privateEndPointId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail:getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail": { + "properties": { + "connectionCredentials": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential:getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential" + }, + "description": "The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials.\n" + }, + "connectionStrings": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString:getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString" + }, + "description": "The details of the Oracle Database connection string.\n" + } + }, + "type": "object", + "required": [ + "connectionCredentials", + "connectionStrings" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential:getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential": { + "properties": { + "credentialName": { + "type": "string", + "description": "The name of the credential information that used to connect to the DB system resource. The name should be in \"x.y\" format, where the length of \"x\" has a maximum of 64 characters, and length of \"y\" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the \".\" character that separates the \"x\" and \"y\" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.\n" + }, + "credentialType": { + "type": "string", + "description": "The type of credential used to connect to the database.\n" + }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored.\n" + }, + "passwordSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password.\n" + }, + "role": { + "type": "string", + "description": "The role of the user connecting to the database.\n" + }, + "sslSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details.\n" + }, + "userName": { + "type": "string", + "description": "The user name used to connect to the database.\n" + } + }, + "type": "object", + "required": [ + "credentialName", + "credentialType", + "namedCredentialId", + "passwordSecretId", + "role", + "sslSecretId", + "userName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString:getExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString": { + "properties": { + "connectionType": { + "type": "string", + "description": "The list of supported connection types:\n* BASIC: Basic connection details\n" + }, + "port": { + "type": "integer", + "description": "The port number used to connect to the database.\n" + }, + "protocol": { + "type": "string", + "description": "The protocol used to connect to the database.\n" + }, + "service": { + "type": "string", + "description": "The service name of the database.\n" + } + }, + "type": "object", + "required": [ + "connectionType", + "port", + "protocol", + "service" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:DatabaseManagement/getExternalDatabasesExternalDatabaseCollectionItemInstanceDetail:getExternalDatabasesExternalDatabaseCollectionItemInstanceDetail": { "properties": { "hostName": { @@ -173021,6 +173667,10 @@ "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -173042,6 +173692,7 @@ "required": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -173314,6 +173965,10 @@ "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -173335,6 +173990,7 @@ "required": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -174062,6 +174718,10 @@ "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -174083,6 +174743,7 @@ "required": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -174277,6 +174938,10 @@ "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -174298,6 +174963,7 @@ "required": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -174594,6 +175260,10 @@ "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -174615,6 +175285,7 @@ "required": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -175472,6 +176143,10 @@ "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -175493,6 +176168,7 @@ "required": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -175687,6 +176363,10 @@ "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -175708,6 +176388,7 @@ "required": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -176004,6 +176685,10 @@ "type": "string", "description": "The type of the credential for tablespace administration tasks.\n" }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored.\n" + }, "passwordSecretId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored.\n" @@ -176025,6 +176710,7 @@ "required": [ "credentialName", "credentialType", + "namedCredentialId", "passwordSecretId", "role", "sslSecretId", @@ -178932,75 +179618,42 @@ "values" ] }, - "oci:DatabaseManagement/getManagedDatabaseGroupManagedDatabase:getManagedDatabaseGroupManagedDatabase": { + "oci:DatabaseManagement/getManagedDatabaseDbmgmtFeatureConfig:getManagedDatabaseDbmgmtFeatureConfig": { "properties": { - "compartmentId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database resides.\n" - }, - "databaseSubType": { - "type": "string", - "description": "The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.\n" - }, - "databaseType": { - "type": "string", - "description": "The type of Oracle Database installation.\n" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" + "connectorDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabaseDbmgmtFeatureConfigConnectorDetail:getManagedDatabaseDbmgmtFeatureConfigConnectorDetail" }, - "description": "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" - }, - "deploymentType": { - "type": "string", - "description": "The infrastructure used to deploy the Oracle Database.\n" + "description": "The connector details required to connect to an Oracle cloud database.\n" }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" + "databaseConnectionDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail:getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail" }, - "description": "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\"}`\n" - }, - "id": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.\n" + "description": "The connection details required to connect to the database.\n" }, - "name": { + "feature": { "type": "string", - "description": "The name of the Managed Database Group.\n" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "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\"}`\n" + "description": "The name of the Database Management feature.\n" }, - "timeAdded": { + "featureStatus": { "type": "string", - "description": "The date and time the Managed Database was added to the group.\n" + "description": "The list of statuses for Database Management features.\n" }, - "workloadType": { + "licenseModel": { "type": "string", - "description": "The workload type of the Autonomous Database.\n" + "description": "The Oracle license model that applies to the external database.\n" } }, "type": "object", "required": [ - "compartmentId", - "databaseSubType", - "databaseType", - "definedTags", - "deploymentType", - "freeformTags", - "id", - "name", - "systemTags", - "timeAdded", - "workloadType" + "connectorDetails", + "databaseConnectionDetails", + "feature", + "featureStatus", + "licenseModel" ], "language": { "nodejs": { @@ -179008,40 +179661,59 @@ } } }, - "oci:DatabaseManagement/getManagedDatabaseGroupsFilter:getManagedDatabaseGroupsFilter": { + "oci:DatabaseManagement/getManagedDatabaseDbmgmtFeatureConfigConnectorDetail:getManagedDatabaseDbmgmtFeatureConfigConnectorDetail": { "properties": { - "name": { + "connectorType": { "type": "string", - "description": "A filter to return only resources that match the entire name. Only one of the parameters, id or name should be provided\n" + "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n" }, - "regex": { - "type": "boolean" + "databaseConnectorId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector.\n" }, - "values": { - "type": "array", - "items": { - "type": "string" - } + "managementAgentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent.\n" + }, + "privateEndPointId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint.\n" } }, "type": "object", "required": [ - "name", - "values" - ] + "connectorType", + "databaseConnectorId", + "managementAgentId", + "privateEndPointId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "oci:DatabaseManagement/getManagedDatabaseGroupsManagedDatabaseGroupCollection:getManagedDatabaseGroupsManagedDatabaseGroupCollection": { + "oci:DatabaseManagement/getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail:getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail": { "properties": { - "items": { + "connectionCredentials": { "type": "array", "items": { - "$ref": "#/types/oci:DatabaseManagement/getManagedDatabaseGroupsManagedDatabaseGroupCollectionItem:getManagedDatabaseGroupsManagedDatabaseGroupCollectionItem" - } + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential:getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential" + }, + "description": "The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials.\n" + }, + "connectionStrings": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString:getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString" + }, + "description": "The details of the Oracle Database connection string.\n" } }, "type": "object", "required": [ - "items" + "connectionCredentials", + "connectionStrings" ], "language": { "nodejs": { @@ -179049,78 +179721,78 @@ } } }, - "oci:DatabaseManagement/getManagedDatabaseGroupsManagedDatabaseGroupCollectionItem:getManagedDatabaseGroupsManagedDatabaseGroupCollectionItem": { + "oci:DatabaseManagement/getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential:getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential": { "properties": { - "compartmentId": { + "credentialName": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "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" + "description": "The name of the credential information that used to connect to the DB system resource. The name should be in \"x.y\" format, where the length of \"x\" has a maximum of 64 characters, and length of \"y\" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the \".\" character that separates the \"x\" and \"y\" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.\n" }, - "description": { + "credentialType": { "type": "string", - "description": "The information specified by the user about the Managed Database Group.\n" + "description": "The type of credential used to connect to the database.\n" }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "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\"}`\n" + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored.\n" }, - "id": { + "passwordSecretId": { "type": "string", - "description": "The identifier of the resource. Only one of the parameters, id or name should be provided.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password.\n" }, - "managedDatabases": { - "type": "array", - "items": { - "$ref": "#/types/oci:DatabaseManagement/getManagedDatabaseGroupsManagedDatabaseGroupCollectionItemManagedDatabase:getManagedDatabaseGroupsManagedDatabaseGroupCollectionItemManagedDatabase" - }, - "description": "A list of Managed Databases in the Managed Database Group.\n" + "role": { + "type": "string", + "description": "The role of the user connecting to the database.\n" }, - "name": { + "sslSecretId": { "type": "string", - "description": "A filter to return only resources that match the entire name. Only one of the parameters, id or name should be provided\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details.\n" }, - "state": { + "userName": { "type": "string", - "description": "The lifecycle state of a resource.\n" + "description": "The user name used to connect to the database.\n" + } + }, + "type": "object", + "required": [ + "credentialName", + "credentialType", + "namedCredentialId", + "passwordSecretId", + "role", + "sslSecretId", + "userName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString:getManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString": { + "properties": { + "connectionType": { + "type": "string", + "description": "The list of supported connection types:\n* BASIC: Basic connection details\n" }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "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\"}`\n" + "port": { + "type": "integer", + "description": "The port number used to connect to the database.\n" }, - "timeCreated": { + "protocol": { "type": "string", - "description": "The date and time the Managed Database Group was created.\n" + "description": "The protocol used to connect to the database.\n" }, - "timeUpdated": { + "service": { "type": "string", - "description": "The date and time the Managed Database Group was last updated.\n" + "description": "The service name of the database.\n" } }, "type": "object", "required": [ - "compartmentId", - "definedTags", - "description", - "freeformTags", - "id", - "managedDatabases", - "name", - "state", - "systemTags", - "timeCreated", - "timeUpdated" + "connectionType", + "port", + "protocol", + "service" ], "language": { "nodejs": { @@ -179128,11 +179800,207 @@ } } }, - "oci:DatabaseManagement/getManagedDatabaseGroupsManagedDatabaseGroupCollectionItemManagedDatabase:getManagedDatabaseGroupsManagedDatabaseGroupCollectionItemManagedDatabase": { + "oci:DatabaseManagement/getManagedDatabaseGroupManagedDatabase:getManagedDatabaseGroupManagedDatabase": { "properties": { "compartmentId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database resides.\n" + }, + "databaseSubType": { + "type": "string", + "description": "The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.\n" + }, + "databaseType": { + "type": "string", + "description": "The type of Oracle Database installation.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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" + }, + "deploymentType": { + "type": "string", + "description": "The infrastructure used to deploy the Oracle Database.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "id": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.\n" + }, + "name": { + "type": "string", + "description": "The name of the Managed Database Group.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "timeAdded": { + "type": "string", + "description": "The date and time the Managed Database was added to the group.\n" + }, + "workloadType": { + "type": "string", + "description": "The workload type of the Autonomous Database.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "databaseSubType", + "databaseType", + "definedTags", + "deploymentType", + "freeformTags", + "id", + "name", + "systemTags", + "timeAdded", + "workloadType" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getManagedDatabaseGroupsFilter:getManagedDatabaseGroupsFilter": { + "properties": { + "name": { + "type": "string", + "description": "A filter to return only resources that match the entire name. Only one of the parameters, id or name should be provided\n" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:DatabaseManagement/getManagedDatabaseGroupsManagedDatabaseGroupCollection:getManagedDatabaseGroupsManagedDatabaseGroupCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabaseGroupsManagedDatabaseGroupCollectionItem:getManagedDatabaseGroupsManagedDatabaseGroupCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getManagedDatabaseGroupsManagedDatabaseGroupCollectionItem:getManagedDatabaseGroupsManagedDatabaseGroupCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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" + }, + "description": { + "type": "string", + "description": "The information specified by the user about the Managed Database Group.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "id": { + "type": "string", + "description": "The identifier of the resource. Only one of the parameters, id or name should be provided.\n" + }, + "managedDatabases": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabaseGroupsManagedDatabaseGroupCollectionItemManagedDatabase:getManagedDatabaseGroupsManagedDatabaseGroupCollectionItemManagedDatabase" + }, + "description": "A list of Managed Databases in the Managed Database Group.\n" + }, + "name": { + "type": "string", + "description": "A filter to return only resources that match the entire name. Only one of the parameters, id or name should be provided\n" + }, + "state": { + "type": "string", + "description": "The lifecycle state of a resource.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the Managed Database Group was created.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the Managed Database Group was last updated.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "description", + "freeformTags", + "id", + "managedDatabases", + "name", + "state", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getManagedDatabaseGroupsManagedDatabaseGroupCollectionItemManagedDatabase:getManagedDatabaseGroupsManagedDatabaseGroupCollectionItemManagedDatabase": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" }, "databaseSubType": { "type": "string", @@ -183119,6 +183987,10 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" }, + "databasePlatformName": { + "type": "string", + "description": "The operating system of database.\n" + }, "databaseStatus": { "type": "string", "description": "The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.\n" @@ -183139,6 +184011,13 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of.\n" }, + "dbmgmtFeatureConfigs": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig:getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig" + }, + "description": "The list of feature configurations\n" + }, "definedTags": { "type": "object", "additionalProperties": { @@ -183188,6 +184067,13 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system.\n" }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, "timeCreated": { "type": "string", "description": "The date and time the Managed Database was created.\n" @@ -183201,11 +184087,13 @@ "required": [ "additionalDetails", "compartmentId", + "databasePlatformName", "databaseStatus", "databaseSubType", "databaseType", "databaseVersion", "dbSystemId", + "dbmgmtFeatureConfigs", "definedTags", "deploymentType", "freeformTags", @@ -183216,6 +184104,7 @@ "name", "parentContainerId", "storageSystemId", + "systemTags", "timeCreated", "workloadType" ], @@ -183225,6 +184114,188 @@ } } }, + "oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig:getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig": { + "properties": { + "connectorDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail:getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail" + }, + "description": "The connector details required to connect to an Oracle cloud database.\n" + }, + "databaseConnectionDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail:getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail" + }, + "description": "The connection details required to connect to the database.\n" + }, + "feature": { + "type": "string", + "description": "The name of the Database Management feature.\n" + }, + "featureStatus": { + "type": "string", + "description": "The list of statuses for Database Management features.\n" + }, + "licenseModel": { + "type": "string", + "description": "The Oracle license model that applies to the external database.\n" + } + }, + "type": "object", + "required": [ + "connectorDetails", + "databaseConnectionDetails", + "feature", + "featureStatus", + "licenseModel" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail:getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail": { + "properties": { + "connectorType": { + "type": "string", + "description": "The list of supported connection types:\n* PE: Private endpoint\n* MACS: Management agent\n* EXTERNAL: External database connector\n" + }, + "databaseConnectorId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector.\n" + }, + "managementAgentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent.\n" + }, + "privateEndPointId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint.\n" + } + }, + "type": "object", + "required": [ + "connectorType", + "databaseConnectorId", + "managementAgentId", + "privateEndPointId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail:getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail": { + "properties": { + "connectionCredentials": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential:getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential" + }, + "description": "The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials.\n" + }, + "connectionStrings": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString:getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString" + }, + "description": "The details of the Oracle Database connection string.\n" + } + }, + "type": "object", + "required": [ + "connectionCredentials", + "connectionStrings" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential:getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential": { + "properties": { + "credentialName": { + "type": "string", + "description": "The name of the credential information that used to connect to the DB system resource. The name should be in \"x.y\" format, where the length of \"x\" has a maximum of 64 characters, and length of \"y\" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the \".\" character that separates the \"x\" and \"y\" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name.\n" + }, + "credentialType": { + "type": "string", + "description": "The type of credential used to connect to the database.\n" + }, + "namedCredentialId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored.\n" + }, + "passwordSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password.\n" + }, + "role": { + "type": "string", + "description": "The role of the user connecting to the database.\n" + }, + "sslSecretId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details.\n" + }, + "userName": { + "type": "string", + "description": "The user name used to connect to the database.\n" + } + }, + "type": "object", + "required": [ + "credentialName", + "credentialType", + "namedCredentialId", + "passwordSecretId", + "role", + "sslSecretId", + "userName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString:getManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString": { + "properties": { + "connectionType": { + "type": "string", + "description": "The list of supported connection types:\n* BASIC: Basic connection details\n" + }, + "port": { + "type": "integer", + "description": "The port number used to connect to the database.\n" + }, + "protocol": { + "type": "string", + "description": "The protocol used to connect to the database.\n" + }, + "service": { + "type": "string", + "description": "The service name of the database.\n" + } + }, + "type": "object", + "required": [ + "connectionType", + "port", + "protocol", + "service" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:DatabaseManagement/getManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroup:getManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroup": { "properties": { "compartmentId": { @@ -188478,6 +189549,1075 @@ "values" ] }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequestApprovalInfo:getDelegatedResourceAccessRequestApprovalInfo": { + "properties": { + "approvalAction": { + "type": "string", + "description": "Indicated whether the request is approved or rejected.\n" + }, + "approvalType": { + "type": "string", + "description": "approval type, initial or extension\n" + }, + "approverAdditionalMessage": { + "type": "string", + "description": "Additional message specified by the approver of the request.\n" + }, + "approverComment": { + "type": "string", + "description": "Comment specified by the approver of the request.\n" + }, + "approverId": { + "type": "string", + "description": "User ID of the approver.\n" + }, + "timeApprovedForAccess": { + "type": "string", + "description": "Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'.\n" + } + }, + "type": "object", + "required": [ + "approvalAction", + "approvalType", + "approverAdditionalMessage", + "approverComment", + "approverId", + "timeApprovedForAccess" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection:getDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem:getDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem" + }, + "description": "List of DelegatedResourceAccessRequestHistorySummary objects.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem:getDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem": { + "properties": { + "comment": { + "type": "string", + "description": "Comment about the status change.\n" + }, + "requestStatus": { + "type": "string", + "description": "The current status of the Delegated Resource Access Request.\n" + }, + "state": { + "type": "string", + "description": "The current lifecycle state of the Delegated Resource Access Request.\n" + }, + "timestamp": { + "type": "string", + "description": "Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'.\n" + }, + "userId": { + "type": "string", + "description": "ID of user who modified the Delegated Resource Access Request. For operator, this field is \"Operator\".\n" + } + }, + "type": "object", + "required": [ + "comment", + "requestStatus", + "state", + "timestamp", + "userId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistoriesFilter:getDelegatedResourceAccessRequestHistoriesFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection:getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem:getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem:getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem": { + "properties": { + "approvalInfos": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo:getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo" + }, + "description": "In case of single approval, this will have only one item. Else, a list of approvals.\n" + }, + "auditTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged.\n" + }, + "closureComment": { + "type": "string", + "description": "The comment entered by the support operator while closing the request.\n" + }, + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "databaseNameLists": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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" + }, + "delegationControlId": { + "type": "string", + "description": "unique Delegation Control identifier\n" + }, + "delegationSubscriptionIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested.\n" + }, + "description": { + "type": "string", + "description": "Detailed description of this Delegated Resource Access Request.\n" + }, + "displayName": { + "type": "string", + "description": "Display name. This is generated by the system automatically.\n" + }, + "durationInHours": { + "type": "integer", + "description": "Duration in hours for which access is sought on the target resource.\n" + }, + "extendDurationInHours": { + "type": "integer", + "description": "Duration in hours for which extension access is sought on the target resource.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "id": { + "type": "string", + "description": "The OCID of the Delegated Resource Access Request.\n" + }, + "isAutoApproved": { + "type": "boolean", + "description": "Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.\n" + }, + "isPendingMoreInfo": { + "type": "boolean", + "description": "Indicates if the delegated resource access request is waiting on more information from the operator\n" + }, + "lifecycleStateDetails": { + "type": "string", + "description": "Description of the current lifecycle state in more detail.\n" + }, + "numExtensionApprovals": { + "type": "integer", + "description": "Number of extension approvals that have been obtained so far.\n" + }, + "numInitialApprovals": { + "type": "integer", + "description": "Number of initial approvals that have been obtained so far.\n" + }, + "providedServiceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Service Provider Service Types being provided by the support operator user.\n" + }, + "reasonForRequest": { + "type": "string", + "description": "A short description explaining why this Delegated Resource Access Request is needed by the support operator.\n" + }, + "requestStatus": { + "type": "string", + "description": "A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.\n" + }, + "requestedActionNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API.\n" + }, + "requesterType": { + "type": "string", + "description": "Requester type\n" + }, + "resourceId": { + "type": "string", + "description": "A filter to return only Delegated Resource Access Requests for the given resource identifier.\n" + }, + "resourceName": { + "type": "string", + "description": "The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource.\n" + }, + "resourceType": { + "type": "string", + "description": "Resource type for which the associated Delegation Control is applicable to.\n" + }, + "severity": { + "type": "string", + "description": "Priority assigned to the Delegated Resource Access Request by the support operator\n" + }, + "state": { + "type": "string", + "description": "A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + }, + "ticketNumbers": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number.\n" + }, + "timeAccessRequested": { + "type": "string", + "description": "Requested access start time in UTC.\n" + }, + "timeCreated": { + "type": "string", + "description": "Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'.\n" + } + }, + "type": "object", + "required": [ + "approvalInfos", + "auditTypes", + "closureComment", + "compartmentId", + "databaseNameLists", + "definedTags", + "delegationControlId", + "delegationSubscriptionIds", + "description", + "displayName", + "durationInHours", + "extendDurationInHours", + "freeformTags", + "id", + "isAutoApproved", + "isPendingMoreInfo", + "lifecycleStateDetails", + "numExtensionApprovals", + "numInitialApprovals", + "providedServiceTypes", + "reasonForRequest", + "requestStatus", + "requestedActionNames", + "requesterType", + "resourceId", + "resourceName", + "resourceType", + "severity", + "state", + "systemTags", + "ticketNumbers", + "timeAccessRequested", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo:getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo": { + "properties": { + "approvalAction": { + "type": "string", + "description": "Indicated whether the request is approved or rejected.\n" + }, + "approvalType": { + "type": "string", + "description": "approval type, initial or extension\n" + }, + "approverAdditionalMessage": { + "type": "string", + "description": "Additional message specified by the approver of the request.\n" + }, + "approverComment": { + "type": "string", + "description": "Comment specified by the approver of the request.\n" + }, + "approverId": { + "type": "string", + "description": "User ID of the approver.\n" + }, + "timeApprovedForAccess": { + "type": "string", + "description": "Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'.\n" + } + }, + "type": "object", + "required": [ + "approvalAction", + "approvalType", + "approverAdditionalMessage", + "approverComment", + "approverId", + "timeApprovedForAccess" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequestsFilter:getDelegatedResourceAccessRequestsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:DelegateAccessControl/getDelegationControlResourcesDelegationControlResourceCollection:getDelegationControlResourcesDelegationControlResourceCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationControlResourcesDelegationControlResourceCollectionItem:getDelegationControlResourcesDelegationControlResourceCollectionItem" + }, + "description": "List of DelegationControlResourceSummary objects.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegationControlResourcesDelegationControlResourceCollectionItem:getDelegationControlResourcesDelegationControlResourceCollectionItem": { + "properties": { + "id": { + "type": "string", + "description": "OCID of the resource.\n" + }, + "resourceStatus": { + "type": "string", + "description": "The current status of the resource in Delegation Control.\n" + } + }, + "type": "object", + "required": [ + "id", + "resourceStatus" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegationControlResourcesFilter:getDelegationControlResourcesFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:DelegateAccessControl/getDelegationControlsDelegationControlSummaryCollection:getDelegationControlsDelegationControlSummaryCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationControlsDelegationControlSummaryCollectionItem:getDelegationControlsDelegationControlSummaryCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegationControlsDelegationControlSummaryCollectionItem:getDelegationControlsDelegationControlSummaryCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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" + }, + "delegationSubscriptionIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.\n" + }, + "description": { + "type": "string", + "description": "Description of the Delegation Control.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return Delegation Control resources that match the given display name.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "id": { + "type": "string", + "description": "The OCID of the Delegation Control.\n" + }, + "isAutoApproveDuringMaintenance": { + "type": "boolean", + "description": "Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.\n" + }, + "lifecycleStateDetails": { + "type": "string", + "description": "Description of the current lifecycle state in more detail.\n" + }, + "notificationMessageFormat": { + "type": "string", + "description": "The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.\n" + }, + "notificationTopicId": { + "type": "string", + "description": "The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.\n" + }, + "numApprovalsRequired": { + "type": "integer", + "description": "number of approvals required.\n" + }, + "preApprovedServiceProviderActionNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.\n" + }, + "resourceIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The OCID of the selected resources that this Delegation Control is applicable to.\n" + }, + "resourceType": { + "type": "string", + "description": "A filter to return only resources that match the given resource type.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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": "Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + }, + "timeDeleted": { + "type": "string", + "description": "Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + }, + "vaultId": { + "type": "string", + "description": "The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.\n" + }, + "vaultKeyId": { + "type": "string", + "description": "The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "delegationSubscriptionIds", + "description", + "displayName", + "freeformTags", + "id", + "isAutoApproveDuringMaintenance", + "lifecycleStateDetails", + "notificationMessageFormat", + "notificationTopicId", + "numApprovalsRequired", + "preApprovedServiceProviderActionNames", + "resourceIds", + "resourceType", + "state", + "systemTags", + "timeCreated", + "timeDeleted", + "timeUpdated", + "vaultId", + "vaultKeyId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegationControlsFilter:getDelegationControlsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:DelegateAccessControl/getDelegationSubscriptionsDelegationSubscriptionSummaryCollection:getDelegationSubscriptionsDelegationSubscriptionSummaryCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem:getDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem:getDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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" + }, + "description": { + "type": "string", + "description": "Description of the Delegation Subscription.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return Delegation Subscription resources that match the given display name.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "id": { + "type": "string", + "description": "Unique identifier for the Delegation Subscription.\n" + }, + "lifecycleStateDetails": { + "type": "string", + "description": "Description of the current lifecycle state in more detail.\n" + }, + "serviceProviderId": { + "type": "string", + "description": "Unique identifier of the Service Provider.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state.\n" + }, + "subscribedServiceType": { + "type": "string", + "description": "Subscribed Service Provider Service Type.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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": "Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + }, + "timeUpdated": { + "type": "string", + "description": "Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "description", + "displayName", + "freeformTags", + "id", + "lifecycleStateDetails", + "serviceProviderId", + "state", + "subscribedServiceType", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getDelegationSubscriptionsFilter:getDelegationSubscriptionsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:DelegateAccessControl/getServiceProviderActionProperty:getServiceProviderActionProperty": { + "properties": { + "name": { + "type": "string", + "description": "Name of the property\n" + }, + "value": { + "type": "string", + "description": "value of the property\n" + } + }, + "type": "object", + "required": [ + "name", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getServiceProviderActionsFilter:getServiceProviderActionsFilter": { + "properties": { + "name": { + "type": "string", + "description": "A filter to return only resources that match the entire name given.\n" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:DelegateAccessControl/getServiceProviderActionsServiceProviderActionSummaryCollection:getServiceProviderActionsServiceProviderActionSummaryCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getServiceProviderActionsServiceProviderActionSummaryCollectionItem:getServiceProviderActionsServiceProviderActionSummaryCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getServiceProviderActionsServiceProviderActionSummaryCollectionItem:getServiceProviderActionsServiceProviderActionSummaryCollectionItem": { + "properties": { + "component": { + "type": "string", + "description": "Name of the infrastructure layer associated with the Service Provider Action.\n" + }, + "customerDisplayName": { + "type": "string", + "description": "Display Name of the Service Provider Action.\n" + }, + "description": { + "type": "string", + "description": "Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action.\n" + }, + "id": { + "type": "string", + "description": "Unique Oracle assigned identifier for the Service Provider Action.\n" + }, + "name": { + "type": "string", + "description": "A filter to return only resources that match the entire name given.\n" + }, + "properties": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty:getServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty" + }, + "description": "Fine grained properties associated with the Delegation Control.\n" + }, + "resourceType": { + "type": "string", + "description": "A filter to return only resources that match the given resource type.\n" + }, + "serviceProviderServiceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Service Provider Service Types that this Service Provider Action is applicable to.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.\n" + } + }, + "type": "object", + "required": [ + "component", + "customerDisplayName", + "description", + "id", + "name", + "properties", + "resourceType", + "serviceProviderServiceTypes", + "state" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty:getServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty": { + "properties": { + "name": { + "type": "string", + "description": "A filter to return only resources that match the entire name given.\n" + }, + "value": { + "type": "string", + "description": "value of the property\n" + } + }, + "type": "object", + "required": [ + "name", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getServiceProvidersFilter:getServiceProvidersFilter": { + "properties": { + "name": { + "type": "string", + "description": "A filter to return Service Provider resources that match the given name.\n" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:DelegateAccessControl/getServiceProvidersServiceProviderSummaryCollection:getServiceProvidersServiceProviderSummaryCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getServiceProvidersServiceProviderSummaryCollectionItem:getServiceProvidersServiceProviderSummaryCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DelegateAccessControl/getServiceProvidersServiceProviderSummaryCollectionItem:getServiceProvidersServiceProviderSummaryCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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" + }, + "description": { + "type": "string", + "description": "Description of the Service Provider.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "id": { + "type": "string", + "description": "Unique identifier for the Service Provider.\n" + }, + "lifecycleStateDetails": { + "type": "string", + "description": "Description of the current lifecycle state in more detail.\n" + }, + "name": { + "type": "string", + "description": "A filter to return Service Provider resources that match the given name.\n" + }, + "serviceProviderType": { + "type": "string", + "description": "A filter to return only Service Provider resources whose provider type matches the given provider type.\n" + }, + "serviceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Types of services offered by this provider.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state.\n" + }, + "supportedResourceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Resource types for which this provider will provide service. Default to all if not specified.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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": "Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + }, + "timeUpdated": { + "type": "string", + "description": "Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "description", + "freeformTags", + "id", + "lifecycleStateDetails", + "name", + "serviceProviderType", + "serviceTypes", + "state", + "supportedResourceTypes", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:DemandSignal/OccDemandSignalOccDemandSignal:OccDemandSignalOccDemandSignal": { "properties": { "resourceType": { @@ -188907,6 +191047,1052 @@ } } }, + "oci:Desktops/DesktopPoolAvailabilityPolicy:DesktopPoolAvailabilityPolicy": { + "properties": { + "startSchedule": { + "$ref": "#/types/oci:Desktops/DesktopPoolAvailabilityPolicyStartSchedule:DesktopPoolAvailabilityPolicyStartSchedule", + "description": "(Updatable) Provides the schedule information for a desktop.\n" + }, + "stopSchedule": { + "$ref": "#/types/oci:Desktops/DesktopPoolAvailabilityPolicyStopSchedule:DesktopPoolAvailabilityPolicyStopSchedule", + "description": "(Updatable) Provides the schedule information for a desktop.\n" + } + }, + "type": "object", + "required": [ + "startSchedule", + "stopSchedule" + ] + }, + "oci:Desktops/DesktopPoolAvailabilityPolicyStartSchedule:DesktopPoolAvailabilityPolicyStartSchedule": { + "properties": { + "cronExpression": { + "type": "string", + "description": "(Updatable) A cron expression describing the desktop's schedule.\n" + }, + "timezone": { + "type": "string", + "description": "(Updatable) The timezone of the desktop's schedule.\n" + } + }, + "type": "object", + "required": [ + "cronExpression", + "timezone" + ] + }, + "oci:Desktops/DesktopPoolAvailabilityPolicyStopSchedule:DesktopPoolAvailabilityPolicyStopSchedule": { + "properties": { + "cronExpression": { + "type": "string", + "description": "(Updatable) A cron expression describing the desktop's schedule.\n" + }, + "timezone": { + "type": "string", + "description": "(Updatable) The timezone of the desktop's schedule.\n" + } + }, + "type": "object", + "required": [ + "cronExpression", + "timezone" + ] + }, + "oci:Desktops/DesktopPoolDevicePolicy:DesktopPoolDevicePolicy": { + "properties": { + "audioMode": { + "type": "string", + "description": "(Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop.\n" + }, + "cdmMode": { + "type": "string", + "description": "(Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop.\n" + }, + "clipboardMode": { + "type": "string", + "description": "(Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop.\n" + }, + "isDisplayEnabled": { + "type": "boolean", + "description": "(Updatable) Indicates whether the display is enabled.\n" + }, + "isKeyboardEnabled": { + "type": "boolean", + "description": "(Updatable) Indicates whether the keyboard is enabled.\n" + }, + "isPointerEnabled": { + "type": "boolean", + "description": "(Updatable) Indicates whether the pointer is enabled.\n" + }, + "isPrintingEnabled": { + "type": "boolean", + "description": "(Updatable) Indicates whether printing is enabled.\n" + } + }, + "type": "object", + "required": [ + "audioMode", + "cdmMode", + "clipboardMode", + "isDisplayEnabled", + "isKeyboardEnabled", + "isPointerEnabled", + "isPrintingEnabled" + ] + }, + "oci:Desktops/DesktopPoolImage:DesktopPoolImage": { + "properties": { + "imageId": { + "type": "string", + "description": "The OCID of the desktop image.\n", + "willReplaceOnChanges": true + }, + "imageName": { + "type": "string", + "description": "The name of the desktop image.\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "imageId", + "imageName" + ] + }, + "oci:Desktops/DesktopPoolNetworkConfiguration:DesktopPoolNetworkConfiguration": { + "properties": { + "subnetId": { + "type": "string", + "description": "The OCID of the subnet to use for the desktop pool.\n", + "willReplaceOnChanges": true + }, + "vcnId": { + "type": "string", + "description": "The OCID of the VCN used by the desktop pool.\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "subnetId", + "vcnId" + ] + }, + "oci:Desktops/getDesktopDevicePolicy:getDesktopDevicePolicy": { + "properties": { + "audioMode": { + "type": "string", + "description": "The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop.\n" + }, + "cdmMode": { + "type": "string", + "description": "The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop.\n" + }, + "clipboardMode": { + "type": "string", + "description": "The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop.\n" + }, + "isDisplayEnabled": { + "type": "boolean", + "description": "Indicates whether the display is enabled.\n" + }, + "isKeyboardEnabled": { + "type": "boolean", + "description": "Indicates whether the keyboard is enabled.\n" + }, + "isPointerEnabled": { + "type": "boolean", + "description": "Indicates whether the pointer is enabled.\n" + }, + "isPrintingEnabled": { + "type": "boolean", + "description": "Indicates whether printing is enabled.\n" + } + }, + "type": "object", + "required": [ + "audioMode", + "cdmMode", + "clipboardMode", + "isDisplayEnabled", + "isKeyboardEnabled", + "isPointerEnabled", + "isPrintingEnabled" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopHostingOption:getDesktopHostingOption": { + "properties": { + "connectAddress": { + "type": "string", + "description": "The connection address of the desktop.\n" + }, + "images": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopHostingOptionImage:getDesktopHostingOptionImage" + }, + "description": "Provides information about the desktop image.\n" + } + }, + "type": "object", + "required": [ + "connectAddress", + "images" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopHostingOptionImage:getDesktopHostingOptionImage": { + "properties": { + "imageId": { + "type": "string", + "description": "The OCID of the desktop image.\n" + }, + "imageName": { + "type": "string", + "description": "The name of the desktop image.\n" + } + }, + "type": "object", + "required": [ + "imageId", + "imageName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolAvailabilityPolicy:getDesktopPoolAvailabilityPolicy": { + "properties": { + "startSchedules": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolAvailabilityPolicyStartSchedule:getDesktopPoolAvailabilityPolicyStartSchedule" + }, + "description": "Provides the schedule information for a desktop.\n" + }, + "stopSchedules": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolAvailabilityPolicyStopSchedule:getDesktopPoolAvailabilityPolicyStopSchedule" + }, + "description": "Provides the schedule information for a desktop.\n" + } + }, + "type": "object", + "required": [ + "startSchedules", + "stopSchedules" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolAvailabilityPolicyStartSchedule:getDesktopPoolAvailabilityPolicyStartSchedule": { + "properties": { + "cronExpression": { + "type": "string", + "description": "A cron expression describing the desktop's schedule.\n" + }, + "timezone": { + "type": "string", + "description": "The timezone of the desktop's schedule.\n" + } + }, + "type": "object", + "required": [ + "cronExpression", + "timezone" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolAvailabilityPolicyStopSchedule:getDesktopPoolAvailabilityPolicyStopSchedule": { + "properties": { + "cronExpression": { + "type": "string", + "description": "A cron expression describing the desktop's schedule.\n" + }, + "timezone": { + "type": "string", + "description": "The timezone of the desktop's schedule.\n" + } + }, + "type": "object", + "required": [ + "cronExpression", + "timezone" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolDesktopsDesktopPoolDesktopCollection:getDesktopPoolDesktopsDesktopPoolDesktopCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolDesktopsDesktopPoolDesktopCollectionItem:getDesktopPoolDesktopsDesktopPoolDesktopCollectionItem" + }, + "description": "A list of desktops.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolDesktopsDesktopPoolDesktopCollectionItem:getDesktopPoolDesktopsDesktopPoolDesktopCollectionItem": { + "properties": { + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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" + }, + "desktopId": { + "type": "string", + "description": "The OCID of the desktop.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "instanceId": { + "type": "string", + "description": "The OCID of the compute resource used by this desktop.\n" + }, + "isAssigned": { + "type": "boolean", + "description": "Indicates whether the desktop is assigned to a user.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only results with the given lifecycleState.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the resource was created.\n" + }, + "userName": { + "type": "string", + "description": "The owner of the desktop.\n" + } + }, + "type": "object", + "required": [ + "definedTags", + "desktopId", + "freeformTags", + "instanceId", + "isAssigned", + "state", + "timeCreated", + "userName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolDesktopsFilter:getDesktopPoolDesktopsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Desktops/getDesktopPoolDevicePolicy:getDesktopPoolDevicePolicy": { + "properties": { + "audioMode": { + "type": "string", + "description": "The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop.\n" + }, + "cdmMode": { + "type": "string", + "description": "The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop.\n" + }, + "clipboardMode": { + "type": "string", + "description": "The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop.\n" + }, + "isDisplayEnabled": { + "type": "boolean", + "description": "Indicates whether the display is enabled.\n" + }, + "isKeyboardEnabled": { + "type": "boolean", + "description": "Indicates whether the keyboard is enabled.\n" + }, + "isPointerEnabled": { + "type": "boolean", + "description": "Indicates whether the pointer is enabled.\n" + }, + "isPrintingEnabled": { + "type": "boolean", + "description": "Indicates whether printing is enabled.\n" + } + }, + "type": "object", + "required": [ + "audioMode", + "cdmMode", + "clipboardMode", + "isDisplayEnabled", + "isKeyboardEnabled", + "isPointerEnabled", + "isPrintingEnabled" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolImage:getDesktopPoolImage": { + "properties": { + "imageId": { + "type": "string", + "description": "The OCID of the desktop image.\n" + }, + "imageName": { + "type": "string", + "description": "The name of the desktop image.\n" + } + }, + "type": "object", + "required": [ + "imageId", + "imageName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolNetworkConfiguration:getDesktopPoolNetworkConfiguration": { + "properties": { + "subnetId": { + "type": "string", + "description": "The OCID of the subnet to use for the desktop pool.\n" + }, + "vcnId": { + "type": "string", + "description": "The OCID of the VCN used by the desktop pool.\n" + } + }, + "type": "object", + "required": [ + "subnetId", + "vcnId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolVolumesDesktopPoolVolumeCollection:getDesktopPoolVolumesDesktopPoolVolumeCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolVolumesDesktopPoolVolumeCollectionItem:getDesktopPoolVolumesDesktopPoolVolumeCollectionItem" + }, + "description": "A list of desktop pool volumes.\n" + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolVolumesDesktopPoolVolumeCollectionItem:getDesktopPoolVolumesDesktopPoolVolumeCollectionItem": { + "properties": { + "availabilityDomain": { + "type": "string", + "description": "The name of the availability domain.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "id": { + "type": "string", + "description": "A filter to return only results with the given OCID.\n" + }, + "name": { + "type": "string", + "description": "The name of the desktop pool volume.\n" + }, + "poolId": { + "type": "string", + "description": "The OCID of the desktop pool to which this volume belongs.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only results with the given lifecycleState.\n" + }, + "userName": { + "type": "string", + "description": "The owner of the desktop pool volume.\n" + } + }, + "type": "object", + "required": [ + "availabilityDomain", + "definedTags", + "freeformTags", + "id", + "name", + "poolId", + "state", + "userName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolVolumesFilter:getDesktopPoolVolumesFilter": { + "properties": { + "name": { + "type": "string", + "description": "The name of the desktop pool volume.\n" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Desktops/getDesktopPoolsDesktopPoolCollection:getDesktopPoolsDesktopPoolCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolsDesktopPoolCollectionItem:getDesktopPoolsDesktopPoolCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolsDesktopPoolCollectionItem:getDesktopPoolsDesktopPoolCollectionItem": { + "properties": { + "activeDesktops": { + "type": "integer", + "description": "The number of active desktops in the desktop pool.\n" + }, + "arePrivilegedUsers": { + "type": "boolean", + "description": "Indicates whether desktop pool users have administrative privileges on their desktop.\n" + }, + "availabilityDomain": { + "type": "string", + "description": "The name of the availability domain.\n" + }, + "availabilityPolicies": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy:getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy" + }, + "description": "Provides the start and stop schedule information for desktop availability of the desktop pool.\n" + }, + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment of the desktop pool.\n" + }, + "contactDetails": { + "type": "string", + "description": "Contact information of the desktop pool administrator. Avoid entering confidential information.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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" + }, + "description": { + "type": "string", + "description": "A user friendly description providing additional information about the resource. Avoid entering confidential information.\n" + }, + "devicePolicies": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemDevicePolicy:getDesktopPoolsDesktopPoolCollectionItemDevicePolicy" + }, + "description": "Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only results with the given displayName.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "id": { + "type": "string", + "description": "A filter to return only results with the given OCID.\n" + }, + "images": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemImage:getDesktopPoolsDesktopPoolCollectionItemImage" + }, + "description": "Provides information about the desktop image.\n" + }, + "isStorageEnabled": { + "type": "boolean", + "description": "Indicates whether storage is enabled for the desktop pool.\n" + }, + "maximumSize": { + "type": "integer", + "description": "The maximum number of desktops permitted in the desktop pool.\n" + }, + "networkConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration:getDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration" + }, + "description": "Provides information about the network configuration of the desktop pool.\n" + }, + "nsgIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of network security groups for the desktop pool.\n" + }, + "shapeName": { + "type": "string", + "description": "The shape of the desktop pool.\n" + }, + "standbySize": { + "type": "integer", + "description": "The maximum number of standby desktops available in the desktop pool.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only results with the given lifecycleState.\n" + }, + "storageBackupPolicyId": { + "type": "string", + "description": "The backup policy OCID of the storage.\n" + }, + "storageSizeInGbs": { + "type": "integer", + "description": "The size in GBs of the storage for the desktop pool.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the resource was created.\n" + }, + "timeStartScheduled": { + "type": "string", + "description": "The start time of the desktop pool.\n" + }, + "timeStopScheduled": { + "type": "string", + "description": "The stop time of the desktop pool.\n" + } + }, + "type": "object", + "required": [ + "activeDesktops", + "arePrivilegedUsers", + "availabilityDomain", + "availabilityPolicies", + "compartmentId", + "contactDetails", + "definedTags", + "description", + "devicePolicies", + "displayName", + "freeformTags", + "id", + "images", + "isStorageEnabled", + "maximumSize", + "networkConfigurations", + "nsgIds", + "shapeName", + "standbySize", + "state", + "storageBackupPolicyId", + "storageSizeInGbs", + "timeCreated", + "timeStartScheduled", + "timeStopScheduled" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy:getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy": { + "properties": { + "startSchedules": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule:getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule" + }, + "description": "Provides the schedule information for a desktop.\n" + }, + "stopSchedules": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule:getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule" + }, + "description": "Provides the schedule information for a desktop.\n" + } + }, + "type": "object", + "required": [ + "startSchedules", + "stopSchedules" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule:getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule": { + "properties": { + "cronExpression": { + "type": "string", + "description": "A cron expression describing the desktop's schedule.\n" + }, + "timezone": { + "type": "string", + "description": "The timezone of the desktop's schedule.\n" + } + }, + "type": "object", + "required": [ + "cronExpression", + "timezone" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule:getDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule": { + "properties": { + "cronExpression": { + "type": "string", + "description": "A cron expression describing the desktop's schedule.\n" + }, + "timezone": { + "type": "string", + "description": "The timezone of the desktop's schedule.\n" + } + }, + "type": "object", + "required": [ + "cronExpression", + "timezone" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemDevicePolicy:getDesktopPoolsDesktopPoolCollectionItemDevicePolicy": { + "properties": { + "audioMode": { + "type": "string", + "description": "The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop.\n" + }, + "cdmMode": { + "type": "string", + "description": "The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop.\n" + }, + "clipboardMode": { + "type": "string", + "description": "The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop.\n" + }, + "isDisplayEnabled": { + "type": "boolean", + "description": "Indicates whether the display is enabled.\n" + }, + "isKeyboardEnabled": { + "type": "boolean", + "description": "Indicates whether the keyboard is enabled.\n" + }, + "isPointerEnabled": { + "type": "boolean", + "description": "Indicates whether the pointer is enabled.\n" + }, + "isPrintingEnabled": { + "type": "boolean", + "description": "Indicates whether printing is enabled.\n" + } + }, + "type": "object", + "required": [ + "audioMode", + "cdmMode", + "clipboardMode", + "isDisplayEnabled", + "isKeyboardEnabled", + "isPointerEnabled", + "isPrintingEnabled" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemImage:getDesktopPoolsDesktopPoolCollectionItemImage": { + "properties": { + "imageId": { + "type": "string", + "description": "The OCID of the desktop image.\n" + }, + "imageName": { + "type": "string", + "description": "The name of the desktop image.\n" + } + }, + "type": "object", + "required": [ + "imageId", + "imageName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration:getDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration": { + "properties": { + "subnetId": { + "type": "string", + "description": "The OCID of the subnet to use for the desktop pool.\n" + }, + "vcnId": { + "type": "string", + "description": "The OCID of the VCN used by the desktop pool.\n" + } + }, + "type": "object", + "required": [ + "subnetId", + "vcnId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopPoolsFilter:getDesktopPoolsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Desktops/getDesktopsDesktopCollection:getDesktopsDesktopCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopsDesktopCollectionItem:getDesktopsDesktopCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopsDesktopCollectionItem:getDesktopsDesktopCollectionItem": { + "properties": { + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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 filter to return only results with the given displayName.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n" + }, + "id": { + "type": "string", + "description": "A filter to return only results with the given OCID.\n" + }, + "poolId": { + "type": "string", + "description": "The OCID of the desktop pool the desktop is a member of.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only results with the given lifecycleState.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the resource was created.\n" + }, + "userName": { + "type": "string", + "description": "The owner of the desktop.\n" + } + }, + "type": "object", + "required": [ + "definedTags", + "displayName", + "freeformTags", + "id", + "poolId", + "state", + "timeCreated", + "userName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Desktops/getDesktopsFilter:getDesktopsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, "oci:DevOps/BuildPipelineBuildPipelineParameters:BuildPipelineBuildPipelineParameters": { "properties": { "items": { @@ -206527,6 +209713,10 @@ }, "description": "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).\n" }, + "observedThroughput": { + "type": "string", + "description": "Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance).\n" + }, "privateIpIds": { "type": "array", "items": { @@ -206534,6 +209724,14 @@ }, "description": "The OCIDs of the private IP addresses associated with this mount target.\n" }, + "requestedThroughput": { + "type": "string", + "description": "* New throughput for mount target at the end of billing cycle in Gbps.\n" + }, + "reservedStorageCapacity": { + "type": "string", + "description": "* Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance).\n" + }, "state": { "type": "string", "description": "Filter results by the specified lifecycle state. Must be a valid state for the resource type.\n" @@ -206542,6 +209740,10 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in.\n" }, + "timeBillingCycleEnd": { + "type": "string", + "description": "The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z`\n" + }, "timeCreated": { "type": "string", "description": "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`\n" @@ -206563,9 +209765,13 @@ "ldapIdmaps", "lifecycleDetails", "nsgIds", + "observedThroughput", "privateIpIds", + "requestedThroughput", + "reservedStorageCapacity", "state", "subnetId", + "timeBillingCycleEnd", "timeCreated" ], "language": { @@ -207167,1160 +210373,6 @@ } } }, - "oci:FleetSoftwareUpdate/FsuCollectionActiveFsuCycle:FsuCollectionActiveFsuCycle": { - "properties": { - "displayName": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "displayName", - "id" - ] - } - } - }, - "oci:FleetSoftwareUpdate/FsuCollectionFleetDiscovery:FsuCollectionFleetDiscovery": { - "properties": { - "filters": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCollectionFleetDiscoveryFilter:FsuCollectionFleetDiscoveryFilter" - }, - "willReplaceOnChanges": true - }, - "fsuDiscoveryId": { - "type": "string", - "willReplaceOnChanges": true - }, - "query": { - "type": "string", - "willReplaceOnChanges": true - }, - "strategy": { - "type": "string", - "willReplaceOnChanges": true - }, - "targets": { - "type": "array", - "items": { - "type": "string" - }, - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "strategy" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "filters", - "fsuDiscoveryId", - "query", - "strategy", - "targets" - ] - } - } - }, - "oci:FleetSoftwareUpdate/FsuCollectionFleetDiscoveryFilter:FsuCollectionFleetDiscoveryFilter": { - "properties": { - "entityType": { - "type": "string", - "willReplaceOnChanges": true - }, - "identifiers": { - "type": "array", - "items": { - "type": "string" - }, - "willReplaceOnChanges": true - }, - "mode": { - "type": "string", - "willReplaceOnChanges": true - }, - "names": { - "type": "array", - "items": { - "type": "string" - }, - "willReplaceOnChanges": true - }, - "operator": { - "type": "string", - "willReplaceOnChanges": true - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCollectionFleetDiscoveryFilterTag:FsuCollectionFleetDiscoveryFilterTag" - }, - "willReplaceOnChanges": true - }, - "type": { - "type": "string", - "willReplaceOnChanges": true - }, - "versions": { - "type": "array", - "items": { - "type": "string" - }, - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "type" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "entityType", - "identifiers", - "mode", - "names", - "operator", - "tags", - "type", - "versions" - ] - } - } - }, - "oci:FleetSoftwareUpdate/FsuCollectionFleetDiscoveryFilterTag:FsuCollectionFleetDiscoveryFilterTag": { - "properties": { - "key": { - "type": "string", - "willReplaceOnChanges": true - }, - "namespace": { - "type": "string", - "willReplaceOnChanges": true - }, - "value": { - "type": "string", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "key", - "value" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "key", - "namespace", - "value" - ] - } - } - }, - "oci:FleetSoftwareUpdate/FsuCycleApplyActionSchedule:FsuCycleApplyActionSchedule": { - "properties": { - "timeToStart": { - "type": "string", - "willReplaceOnChanges": true - }, - "type": { - "type": "string", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "timeToStart", - "type" - ] - }, - "oci:FleetSoftwareUpdate/FsuCycleBatchingStrategy:FsuCycleBatchingStrategy": { - "properties": { - "isForceRolling": { - "type": "boolean" - }, - "isWaitForBatchResume": { - "type": "boolean" - }, - "percentage": { - "type": "integer" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "isForceRolling", - "isWaitForBatchResume", - "percentage", - "type" - ] - } - } - }, - "oci:FleetSoftwareUpdate/FsuCycleDiagnosticsCollection:FsuCycleDiagnosticsCollection": { - "properties": { - "logCollectionMode": { - "type": "string" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "logCollectionMode" - ] - } - } - }, - "oci:FleetSoftwareUpdate/FsuCycleGoalVersionDetails:FsuCycleGoalVersionDetails": { - "properties": { - "homePolicy": { - "type": "string" - }, - "newHomePrefix": { - "type": "string" - }, - "softwareImageId": { - "type": "string" - }, - "type": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "type": "object", - "required": [ - "type" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "homePolicy", - "newHomePrefix", - "softwareImageId", - "type", - "version" - ] - } - } - }, - "oci:FleetSoftwareUpdate/FsuCycleNextActionToExecute:FsuCycleNextActionToExecute": { - "properties": { - "timeToStart": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "timeToStart", - "type" - ] - } - } - }, - "oci:FleetSoftwareUpdate/FsuCycleStageActionSchedule:FsuCycleStageActionSchedule": { - "properties": { - "timeToStart": { - "type": "string", - "willReplaceOnChanges": true - }, - "type": { - "type": "string", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "timeToStart", - "type" - ] - }, - "oci:FleetSoftwareUpdate/getFsuCollectionActiveFsuCycle:getFsuCollectionActiveFsuCycle": { - "properties": { - "displayName": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "type": "object", - "required": [ - "displayName", - "id" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCollectionFleetDiscovery:getFsuCollectionFleetDiscovery": { - "properties": { - "filters": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionFleetDiscoveryFilter:getFsuCollectionFleetDiscoveryFilter" - } - }, - "fsuDiscoveryId": { - "type": "string" - }, - "query": { - "type": "string" - }, - "strategy": { - "type": "string" - }, - "targets": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "filters", - "fsuDiscoveryId", - "query", - "strategy", - "targets" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCollectionFleetDiscoveryFilter:getFsuCollectionFleetDiscoveryFilter": { - "properties": { - "entityType": { - "type": "string" - }, - "identifiers": { - "type": "array", - "items": { - "type": "string" - } - }, - "mode": { - "type": "string" - }, - "names": { - "type": "array", - "items": { - "type": "string" - } - }, - "operator": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionFleetDiscoveryFilterTag:getFsuCollectionFleetDiscoveryFilterTag" - } - }, - "type": { - "type": "string" - }, - "versions": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "entityType", - "identifiers", - "mode", - "names", - "operator", - "tags", - "type", - "versions" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCollectionFleetDiscoveryFilterTag:getFsuCollectionFleetDiscoveryFilterTag": { - "properties": { - "key": { - "type": "string" - }, - "namespace": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object", - "required": [ - "key", - "namespace", - "value" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCollectionsFilter:getFsuCollectionsFilter": { - "properties": { - "name": { - "type": "string" - }, - "regex": { - "type": "boolean" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "name", - "values" - ] - }, - "oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollection:getFsuCollectionsFsuCollectionSummaryCollection": { - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollectionItem:getFsuCollectionsFsuCollectionSummaryCollectionItem" - } - } - }, - "type": "object", - "required": [ - "items" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollectionItem:getFsuCollectionsFsuCollectionSummaryCollectionItem": { - "properties": { - "activeFsuCycles": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle:getFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle" - } - }, - "compartmentId": { - "type": "string" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "displayName": { - "type": "string" - }, - "fleetDiscoveries": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery:getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery" - } - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "id": { - "type": "string" - }, - "lifecycleDetails": { - "type": "string" - }, - "serviceType": { - "type": "string" - }, - "sourceMajorVersion": { - "type": "string" - }, - "state": { - "type": "string" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "targetCount": { - "type": "integer" - }, - "timeCreated": { - "type": "string" - }, - "timeUpdated": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "activeFsuCycles", - "compartmentId", - "definedTags", - "displayName", - "fleetDiscoveries", - "freeformTags", - "id", - "lifecycleDetails", - "serviceType", - "sourceMajorVersion", - "state", - "systemTags", - "targetCount", - "timeCreated", - "timeUpdated", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle:getFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle": { - "properties": { - "displayName": { - "type": "string" - }, - "id": { - "type": "string" - } - }, - "type": "object", - "required": [ - "displayName", - "id" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery:getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery": { - "properties": { - "filters": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter:getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter" - } - }, - "fsuDiscoveryId": { - "type": "string" - }, - "query": { - "type": "string" - }, - "strategy": { - "type": "string" - }, - "targets": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "filters", - "fsuDiscoveryId", - "query", - "strategy", - "targets" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter:getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter": { - "properties": { - "entityType": { - "type": "string" - }, - "identifiers": { - "type": "array", - "items": { - "type": "string" - } - }, - "mode": { - "type": "string" - }, - "names": { - "type": "array", - "items": { - "type": "string" - } - }, - "operator": { - "type": "string" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag:getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag" - } - }, - "type": { - "type": "string" - }, - "versions": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "entityType", - "identifiers", - "mode", - "names", - "operator", - "tags", - "type", - "versions" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag:getFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag": { - "properties": { - "key": { - "type": "string" - }, - "namespace": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object", - "required": [ - "key", - "namespace", - "value" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCycleApplyActionSchedule:getFsuCycleApplyActionSchedule": { - "properties": { - "timeToStart": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "timeToStart", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCycleBatchingStrategy:getFsuCycleBatchingStrategy": { - "properties": { - "isForceRolling": { - "type": "boolean" - }, - "isWaitForBatchResume": { - "type": "boolean" - }, - "percentage": { - "type": "integer" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "isForceRolling", - "isWaitForBatchResume", - "percentage", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCycleDiagnosticsCollection:getFsuCycleDiagnosticsCollection": { - "properties": { - "logCollectionMode": { - "type": "string" - } - }, - "type": "object", - "required": [ - "logCollectionMode" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCycleGoalVersionDetail:getFsuCycleGoalVersionDetail": { - "properties": { - "homePolicy": { - "type": "string" - }, - "newHomePrefix": { - "type": "string" - }, - "softwareImageId": { - "type": "string" - }, - "type": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "type": "object", - "required": [ - "homePolicy", - "newHomePrefix", - "softwareImageId", - "type", - "version" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCycleNextActionToExecute:getFsuCycleNextActionToExecute": { - "properties": { - "timeToStart": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "timeToStart", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCycleStageActionSchedule:getFsuCycleStageActionSchedule": { - "properties": { - "timeToStart": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "timeToStart", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCyclesFilter:getFsuCyclesFilter": { - "properties": { - "name": { - "type": "string" - }, - "regex": { - "type": "boolean" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "name", - "values" - ] - }, - "oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollection:getFsuCyclesFsuCycleSummaryCollection": { - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItem:getFsuCyclesFsuCycleSummaryCollectionItem" - } - } - }, - "type": "object", - "required": [ - "items" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItem:getFsuCyclesFsuCycleSummaryCollectionItem": { - "properties": { - "applyActionSchedules": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule:getFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule" - } - }, - "batchingStrategies": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy:getFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy" - } - }, - "collectionType": { - "type": "string" - }, - "compartmentId": { - "type": "string" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "diagnosticsCollections": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection:getFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection" - } - }, - "displayName": { - "type": "string" - }, - "executingFsuActionId": { - "type": "string" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "fsuCollectionId": { - "type": "string" - }, - "goalVersionDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail:getFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail" - } - }, - "id": { - "type": "string" - }, - "isIgnoreMissingPatches": { - "type": "array", - "items": { - "type": "string" - } - }, - "isIgnorePatches": { - "type": "boolean" - }, - "isKeepPlacement": { - "type": "boolean" - }, - "lastCompletedAction": { - "type": "string" - }, - "lifecycleDetails": { - "type": "string" - }, - "maxDrainTimeoutInSeconds": { - "type": "integer" - }, - "nextActionToExecutes": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute:getFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute" - } - }, - "stageActionSchedules": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule:getFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule" - } - }, - "state": { - "type": "string" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "timeCreated": { - "type": "string" - }, - "timeFinished": { - "type": "string" - }, - "timeUpdated": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "applyActionSchedules", - "batchingStrategies", - "collectionType", - "compartmentId", - "definedTags", - "diagnosticsCollections", - "displayName", - "executingFsuActionId", - "freeformTags", - "fsuCollectionId", - "goalVersionDetails", - "id", - "isIgnoreMissingPatches", - "isIgnorePatches", - "isKeepPlacement", - "lastCompletedAction", - "lifecycleDetails", - "maxDrainTimeoutInSeconds", - "nextActionToExecutes", - "stageActionSchedules", - "state", - "systemTags", - "timeCreated", - "timeFinished", - "timeUpdated", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule:getFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule": { - "properties": { - "timeToStart": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "timeToStart", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy:getFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy": { - "properties": { - "isForceRolling": { - "type": "boolean" - }, - "isWaitForBatchResume": { - "type": "boolean" - }, - "percentage": { - "type": "integer" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "isForceRolling", - "isWaitForBatchResume", - "percentage", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection:getFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection": { - "properties": { - "logCollectionMode": { - "type": "string" - } - }, - "type": "object", - "required": [ - "logCollectionMode" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail:getFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail": { - "properties": { - "homePolicy": { - "type": "string" - }, - "newHomePrefix": { - "type": "string" - }, - "softwareImageId": { - "type": "string" - }, - "type": { - "type": "string" - }, - "version": { - "type": "string" - } - }, - "type": "object", - "required": [ - "homePolicy", - "newHomePrefix", - "softwareImageId", - "type", - "version" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute:getFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute": { - "properties": { - "timeToStart": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "timeToStart", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule:getFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule": { - "properties": { - "timeToStart": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "timeToStart", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, "oci:Functions/ApplicationImagePolicyConfig:ApplicationImagePolicyConfig": { "properties": { "isPolicyEnabled": { @@ -212304,732 +214356,7 @@ } } }, - "oci:GenerativeAi/getModelsFilter:getModelsFilter": { - "properties": { - "name": { - "type": "string" - }, - "regex": { - "type": "boolean" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "name", - "values" - ] - }, - "oci:GenerativeAi/getModelsModelCollection:getModelsModelCollection": { - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/types/oci:GenerativeAi/getModelsModelCollectionItem:getModelsModelCollectionItem" - } - } - }, - "type": "object", - "required": [ - "items" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GenerativeAi/getModelsModelCollectionItem:getModelsModelCollectionItem": { - "properties": { - "baseModelId": { - "type": "string", - "description": "The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null.\n" - }, - "capabilities": { - "type": "array", - "items": { - "type": "string" - }, - "description": "Describes what this model can be used for.\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" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "description": { - "type": "string", - "description": "An optional description of the model.\n" - }, - "displayName": { - "type": "string", - "description": "A filter to return only resources that match the given display name exactly.\n" - }, - "fineTuneDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetail:getModelsModelCollectionItemFineTuneDetail" - }, - "description": "Details about fine-tuning a custom model.\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "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\"}`\n" - }, - "id": { - "type": "string", - "description": "The ID of the model.\n" - }, - "isLongTermSupported": { - "type": "boolean", - "description": "Whether a model is supported long-term. Only applicable to base models.\n" - }, - "lifecycleDetails": { - "type": "string", - "description": "A message describing the current state of the model in more detail that can provide actionable information.\n" - }, - "modelMetrics": { - "type": "array", - "items": { - "$ref": "#/types/oci:GenerativeAi/getModelsModelCollectionItemModelMetric:getModelsModelCollectionItemModelMetric" - }, - "description": "Model metrics during the creation of a new model.\n" - }, - "state": { - "type": "string", - "description": "A filter to return only resources their lifecycleState matches the given lifecycleState.\n" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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 date and time that the model was created in the format of an RFC3339 datetime string.\n" - }, - "timeDeprecated": { - "type": "string", - "description": "Corresponds to the time when the custom model and its associated foundation model will be deprecated.\n" - }, - "timeUpdated": { - "type": "string", - "description": "The date and time that the model was updated in the format of an RFC3339 datetime string.\n" - }, - "type": { - "type": "string" - }, - "vendor": { - "type": "string", - "description": "A filter to return only resources that match the entire vendor given.\n" - }, - "version": { - "type": "string", - "description": "The version of the model.\n" - } - }, - "type": "object", - "required": [ - "baseModelId", - "capabilities", - "compartmentId", - "definedTags", - "description", - "displayName", - "fineTuneDetails", - "freeformTags", - "id", - "isLongTermSupported", - "lifecycleDetails", - "modelMetrics", - "state", - "systemTags", - "timeCreated", - "timeDeprecated", - "timeUpdated", - "type", - "vendor", - "version" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetail:getModelsModelCollectionItemFineTuneDetail": { - "properties": { - "dedicatedAiClusterId": { - "type": "string", - "description": "The OCID of the dedicated AI cluster this fine-tuning runs on.\n" - }, - "trainingConfigs": { - "type": "array", - "items": { - "$ref": "#/types/oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetailTrainingConfig:getModelsModelCollectionItemFineTuneDetailTrainingConfig" - }, - "description": "The fine-tuning method and hyperparameters used for fine-tuning a custom model.\n" - }, - "trainingDatasets": { - "type": "array", - "items": { - "$ref": "#/types/oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetailTrainingDataset:getModelsModelCollectionItemFineTuneDetailTrainingDataset" - }, - "description": "The dataset used to fine-tune the model.\n" - } - }, - "type": "object", - "required": [ - "dedicatedAiClusterId", - "trainingConfigs", - "trainingDatasets" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetailTrainingConfig:getModelsModelCollectionItemFineTuneDetailTrainingConfig": { - "properties": { - "earlyStoppingPatience": { - "type": "integer", - "description": "Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.\n" - }, - "earlyStoppingThreshold": { - "type": "number", - "description": "How much the loss must improve to prevent early stopping.\n" - }, - "learningRate": { - "type": "number", - "description": "The initial learning rate to be used during training\n" - }, - "logModelMetricsIntervalInSteps": { - "type": "integer", - "description": "Determines how frequently to log model metrics.\n" - }, - "loraAlpha": { - "type": "integer", - "description": "This parameter represents the scaling factor for the weight matrices in LoRA.\n" - }, - "loraDropout": { - "type": "number", - "description": "This parameter indicates the dropout probability for LoRA layers.\n" - }, - "loraR": { - "type": "integer", - "description": "This parameter represents the LoRA rank of the update matrices.\n" - }, - "numOfLastLayers": { - "type": "integer", - "description": "The number of last layers to be fine-tuned.\n" - }, - "totalTrainingEpochs": { - "type": "integer", - "description": "The maximum number of training epochs to run for.\n" - }, - "trainingBatchSize": { - "type": "integer", - "description": "The batch size used during training.\n" - }, - "trainingConfigType": { - "type": "string", - "description": "The fine-tuning method for training a custom model.\n" - } - }, - "type": "object", - "required": [ - "earlyStoppingPatience", - "earlyStoppingThreshold", - "learningRate", - "logModelMetricsIntervalInSteps", - "loraAlpha", - "loraDropout", - "loraR", - "numOfLastLayers", - "totalTrainingEpochs", - "trainingBatchSize", - "trainingConfigType" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetailTrainingDataset:getModelsModelCollectionItemFineTuneDetailTrainingDataset": { - "properties": { - "bucket": { - "type": "string", - "description": "The Object Storage bucket name.\n" - }, - "datasetType": { - "type": "string", - "description": "The type of the data asset.\n" - }, - "namespace": { - "type": "string", - "description": "The Object Storage namespace.\n" - }, - "object": { - "type": "string", - "description": "The Object Storage object name.\n" - } - }, - "type": "object", - "required": [ - "bucket", - "datasetType", - "namespace", - "object" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GenerativeAi/getModelsModelCollectionItemModelMetric:getModelsModelCollectionItemModelMetric": { - "properties": { - "finalAccuracy": { - "type": "number", - "description": "Fine-tuned model accuracy.\n" - }, - "finalLoss": { - "type": "number", - "description": "Fine-tuned model loss.\n" - }, - "modelMetricsType": { - "type": "string", - "description": "The type of the model metrics. Each type of model can expect a different set of model metrics.\n" - } - }, - "type": "object", - "required": [ - "finalAccuracy", - "finalLoss", - "modelMetricsType" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GloballyDistributedDatabase/ShardedDatabaseCatalogDetail:ShardedDatabaseCatalogDetail": { - "properties": { - "adminPassword": { - "type": "string", - "description": "Admin password for the catalog database.\n", - "secret": true - }, - "cloudAutonomousVmClusterId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster.\n", - "willReplaceOnChanges": true - }, - "computeCount": { - "type": "number", - "description": "The compute count for the catalog database. It has to be in multiple of 2.\n", - "willReplaceOnChanges": true - }, - "containerDatabaseId": { - "type": "string", - "description": "Identifier of the underlying container database.\n" - }, - "containerDatabaseParentId": { - "type": "string", - "description": "Identifier of the underlying container database parent.\n" - }, - "dataStorageSizeInGbs": { - "type": "number", - "description": "The data disk group size to be allocated in GBs for the catalog database.\n", - "willReplaceOnChanges": true - }, - "encryptionKeyDetails": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseCatalogDetailEncryptionKeyDetails:ShardedDatabaseCatalogDetailEncryptionKeyDetails", - "description": "Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists).\n", - "willReplaceOnChanges": true - }, - "isAutoScalingEnabled": { - "type": "boolean", - "description": "Determines the auto-scaling mode for the catalog database.\n", - "willReplaceOnChanges": true - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Additional metadata related to shard's underlying supporting resource.\n" - }, - "name": { - "type": "string", - "description": "Name of the shard.\n" - }, - "peerCloudAutonomousVmClusterId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster.\n", - "willReplaceOnChanges": true - }, - "shardGroup": { - "type": "string", - "description": "Name of the shard-group to which the shard belongs.\n" - }, - "status": { - "type": "string", - "description": "Status of shard or catalog or gsm for the sharded database.\n" - }, - "supportingResourceId": { - "type": "string", - "description": "Identifier of the underlying supporting resource.\n" - }, - "timeCreated": { - "type": "string", - "description": "The time the the Sharded Database was created. An RFC3339 formatted datetime string\n" - }, - "timeSslCertificateExpires": { - "type": "string", - "description": "The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the Sharded Database was last updated. An RFC3339 formatted datetime string\n" - } - }, - "type": "object", - "required": [ - "adminPassword", - "cloudAutonomousVmClusterId", - "computeCount", - "dataStorageSizeInGbs", - "isAutoScalingEnabled" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "adminPassword", - "cloudAutonomousVmClusterId", - "computeCount", - "containerDatabaseId", - "containerDatabaseParentId", - "dataStorageSizeInGbs", - "encryptionKeyDetails", - "isAutoScalingEnabled", - "metadata", - "name", - "peerCloudAutonomousVmClusterId", - "shardGroup", - "status", - "supportingResourceId", - "timeCreated", - "timeSslCertificateExpires", - "timeUpdated" - ] - } - } - }, - "oci:GloballyDistributedDatabase/ShardedDatabaseCatalogDetailEncryptionKeyDetails:ShardedDatabaseCatalogDetailEncryptionKeyDetails": { - "properties": { - "kmsKeyId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key.\n", - "willReplaceOnChanges": true - }, - "kmsKeyVersionId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations.\n", - "willReplaceOnChanges": true - }, - "vaultId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard.\n", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "kmsKeyId", - "vaultId" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "kmsKeyId", - "kmsKeyVersionId", - "vaultId" - ] - } - } - }, - "oci:GloballyDistributedDatabase/ShardedDatabaseConnectionString:ShardedDatabaseConnectionString": { - "properties": { - "allConnectionStrings": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Collection of connection strings.\n" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "allConnectionStrings" - ] - } - } - }, - "oci:GloballyDistributedDatabase/ShardedDatabaseGsm:ShardedDatabaseGsm": { - "properties": { - "computeCount": { - "type": "number", - "description": "The compute amount available to the underlying autonomous database associated with shard.\n" - }, - "dataStorageSizeInGbs": { - "type": "number", - "description": "The data disk group size to be allocated in GBs.\n" - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Additional metadata related to shard's underlying supporting resource.\n" - }, - "name": { - "type": "string", - "description": "Name of the shard.\n" - }, - "status": { - "type": "string", - "description": "Status of shard or catalog or gsm for the sharded database.\n" - }, - "supportingResourceId": { - "type": "string", - "description": "Identifier of the underlying supporting resource.\n" - }, - "timeCreated": { - "type": "string", - "description": "The time the the Sharded Database was created. An RFC3339 formatted datetime string\n" - }, - "timeSslCertificateExpires": { - "type": "string", - "description": "The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the Sharded Database was last updated. An RFC3339 formatted datetime string\n" - } - }, - "type": "object", - "language": { - "nodejs": { - "requiredOutputs": [ - "computeCount", - "dataStorageSizeInGbs", - "metadata", - "name", - "status", - "supportingResourceId", - "timeCreated", - "timeSslCertificateExpires", - "timeUpdated" - ] - } - } - }, - "oci:GloballyDistributedDatabase/ShardedDatabasePatchOperation:ShardedDatabasePatchOperation": { - "properties": { - "operation": { - "type": "string", - "description": "(Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE`\n" - }, - "selection": { - "type": "string", - "description": "(Updatable)\n" - }, - "value": { - "type": "string", - "description": "(Updatable)\n" - } - }, - "type": "object", - "required": [ - "operation", - "selection", - "value" - ] - }, - "oci:GloballyDistributedDatabase/ShardedDatabaseShardDetail:ShardedDatabaseShardDetail": { - "properties": { - "adminPassword": { - "type": "string", - "description": "Admin password for shard database.\n", - "secret": true - }, - "cloudAutonomousVmClusterId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster.\n", - "willReplaceOnChanges": true - }, - "computeCount": { - "type": "number", - "description": "The compute count for the shard database. It has to be in multiples of 2.\n", - "willReplaceOnChanges": true - }, - "containerDatabaseId": { - "type": "string", - "description": "Identifier of the underlying container database.\n" - }, - "containerDatabaseParentId": { - "type": "string", - "description": "Identifier of the underlying container database parent.\n" - }, - "dataStorageSizeInGbs": { - "type": "number", - "description": "The data disk group size to be allocated in GBs for the shard database.\n", - "willReplaceOnChanges": true - }, - "encryptionKeyDetails": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseShardDetailEncryptionKeyDetails:ShardedDatabaseShardDetailEncryptionKeyDetails", - "description": "Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists).\n", - "willReplaceOnChanges": true - }, - "isAutoScalingEnabled": { - "type": "boolean", - "description": "Determines the auto-scaling mode for the shard database.\n", - "willReplaceOnChanges": true - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Additional metadata related to shard's underlying supporting resource.\n" - }, - "name": { - "type": "string", - "description": "Name of the shard.\n" - }, - "peerCloudAutonomousVmClusterId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster.\n", - "willReplaceOnChanges": true - }, - "shardGroup": { - "type": "string", - "description": "Name of the shard-group to which the shard belongs.\n" - }, - "shardSpace": { - "type": "string", - "description": "The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required.\n", - "willReplaceOnChanges": true - }, - "status": { - "type": "string", - "description": "Status of shard or catalog or gsm for the sharded database.\n" - }, - "supportingResourceId": { - "type": "string", - "description": "Identifier of the underlying supporting resource.\n" - }, - "timeCreated": { - "type": "string", - "description": "The time the the Sharded Database was created. An RFC3339 formatted datetime string\n" - }, - "timeSslCertificateExpires": { - "type": "string", - "description": "The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the Sharded Database was last updated. An RFC3339 formatted datetime string\n" - } - }, - "type": "object", - "required": [ - "adminPassword", - "cloudAutonomousVmClusterId", - "computeCount", - "dataStorageSizeInGbs", - "isAutoScalingEnabled" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "adminPassword", - "cloudAutonomousVmClusterId", - "computeCount", - "containerDatabaseId", - "containerDatabaseParentId", - "dataStorageSizeInGbs", - "encryptionKeyDetails", - "isAutoScalingEnabled", - "metadata", - "name", - "peerCloudAutonomousVmClusterId", - "shardGroup", - "shardSpace", - "status", - "supportingResourceId", - "timeCreated", - "timeSslCertificateExpires", - "timeUpdated" - ] - } - } - }, - "oci:GloballyDistributedDatabase/ShardedDatabaseShardDetailEncryptionKeyDetails:ShardedDatabaseShardDetailEncryptionKeyDetails": { - "properties": { - "kmsKeyId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key.\n", - "willReplaceOnChanges": true - }, - "kmsKeyVersionId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations.\n", - "willReplaceOnChanges": true - }, - "vaultId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard.\n", - "willReplaceOnChanges": true - } - }, - "type": "object", - "required": [ - "kmsKeyId", - "vaultId" - ], - "language": { - "nodejs": { - "requiredOutputs": [ - "kmsKeyId", - "kmsKeyVersionId", - "vaultId" - ] - } - } - }, - "oci:GloballyDistributedDatabase/getPrivateEndpointsFilter:getPrivateEndpointsFilter": { + "oci:GenerativeAi/getModelsFilter:getModelsFilter": { "properties": { "name": { "type": "string" @@ -213050,12 +214377,12 @@ "values" ] }, - "oci:GloballyDistributedDatabase/getPrivateEndpointsPrivateEndpointCollection:getPrivateEndpointsPrivateEndpointCollection": { + "oci:GenerativeAi/getModelsModelCollection:getModelsModelCollection": { "properties": { "items": { "type": "array", "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getPrivateEndpointsPrivateEndpointCollectionItem:getPrivateEndpointsPrivateEndpointCollectionItem" + "$ref": "#/types/oci:GenerativeAi/getModelsModelCollectionItem:getModelsModelCollectionItem" } } }, @@ -213069,106 +214396,127 @@ } } }, - "oci:GloballyDistributedDatabase/getPrivateEndpointsPrivateEndpointCollectionItem:getPrivateEndpointsPrivateEndpointCollectionItem": { + "oci:GenerativeAi/getModelsModelCollectionItem:getModelsModelCollectionItem": { "properties": { + "baseModelId": { + "type": "string", + "description": "The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null.\n" + }, + "capabilities": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Describes what this model can be used for.\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" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - }, - "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": "PrivateEndpoint description.\n" + "description": "An optional description of the model.\n" }, "displayName": { "type": "string", - "description": "A filter to return only private endpoint that match the entire name given. The match is not case sensitive.\n" + "description": "A filter to return only resources that match the given display name exactly.\n" + }, + "fineTuneDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetail:getModelsModelCollectionItemFineTuneDetail" + }, + "description": "Details about fine-tuning a custom model.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" }, - "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" + "description": "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\"}`\n" }, "id": { "type": "string", - "description": "The identifier of the Private Endpoint.\n" - }, - "lifecycleStateDetails": { - "type": "string", - "description": "Detailed message for the lifecycle state.\n" + "description": "The ID of the model.\n" }, - "nsgIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The OCIDs of the network security groups that the private endpoint belongs to.\n" + "isLongTermSupported": { + "type": "boolean", + "description": "Whether a model is supported long-term. Only applicable to base models.\n" }, - "privateIp": { + "lifecycleDetails": { "type": "string", - "description": "IP address of the Private Endpoint.\n" + "description": "A message describing the current state of the model in more detail that can provide actionable information.\n" }, - "shardedDatabases": { + "modelMetrics": { "type": "array", "items": { - "type": "string" + "$ref": "#/types/oci:GenerativeAi/getModelsModelCollectionItemModelMetric:getModelsModelCollectionItemModelMetric" }, - "description": "The OCIDs of sharded databases that consumes the given private endpoint.\n" + "description": "Model metrics during the creation of a new model.\n" }, "state": { "type": "string", "description": "A filter to return only resources their lifecycleState matches the given lifecycleState.\n" }, - "subnetId": { - "type": "string", - "description": "Identifier of the subnet in which private endpoint exists.\n" - }, "systemTags": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + "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 PrivateEndpoint was first created. An RFC3339 formatted datetime string\n" + "description": "The date and time that the model was created in the format of an RFC3339 datetime string.\n" + }, + "timeDeprecated": { + "type": "string", + "description": "Corresponds to the time when the custom model and its associated foundation model will be deprecated.\n" }, "timeUpdated": { "type": "string", - "description": "The time the Private Endpoint was last updated. An RFC3339 formatted datetime string\n" + "description": "The date and time that the model was updated in the format of an RFC3339 datetime string.\n" }, - "vcnId": { + "type": { + "type": "string" + }, + "vendor": { "type": "string", - "description": "Identifier of the VCN in which subnet exists.\n" + "description": "A filter to return only resources that match the entire vendor given.\n" + }, + "version": { + "type": "string", + "description": "The version of the model.\n" } }, "type": "object", "required": [ + "baseModelId", + "capabilities", "compartmentId", "definedTags", "description", "displayName", + "fineTuneDetails", "freeformTags", "id", - "lifecycleStateDetails", - "nsgIds", - "privateIp", - "shardedDatabases", + "isLongTermSupported", + "lifecycleDetails", + "modelMetrics", "state", - "subnetId", "systemTags", "timeCreated", + "timeDeprecated", "timeUpdated", - "vcnId" + "type", + "vendor", + "version" ], "language": { "nodejs": { @@ -213176,149 +214524,32 @@ } } }, - "oci:GloballyDistributedDatabase/getShardedDatabaseCatalogDetail:getShardedDatabaseCatalogDetail": { + "oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetail:getModelsModelCollectionItemFineTuneDetail": { "properties": { - "adminPassword": { - "type": "string", - "secret": true - }, - "cloudAutonomousVmClusterId": { - "type": "string", - "description": "Identifier of the primary cloudAutonomousVmCluster for the shard.\n" - }, - "computeCount": { - "type": "number", - "description": "The compute amount available to the underlying autonomous database associated with shard.\n" - }, - "containerDatabaseId": { - "type": "string", - "description": "Identifier of the underlying container database.\n" - }, - "containerDatabaseParentId": { + "dedicatedAiClusterId": { "type": "string", - "description": "Identifier of the underlying container database parent.\n" - }, - "dataStorageSizeInGbs": { - "type": "number", - "description": "The data disk group size to be allocated in GBs.\n" + "description": "The OCID of the dedicated AI cluster this fine-tuning runs on.\n" }, - "encryptionKeyDetails": { + "trainingConfigs": { "type": "array", "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabaseCatalogDetailEncryptionKeyDetail:getShardedDatabaseCatalogDetailEncryptionKeyDetail" - }, - "description": "Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists).\n" - }, - "isAutoScalingEnabled": { - "type": "boolean", - "description": "Determines the auto-scaling mode.\n" - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" + "$ref": "#/types/oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetailTrainingConfig:getModelsModelCollectionItemFineTuneDetailTrainingConfig" }, - "description": "Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO.\n" - }, - "name": { - "type": "string", - "description": "Name of the shard.\n" - }, - "peerCloudAutonomousVmClusterId": { - "type": "string", - "description": "Identifier of the peer cloudAutonomousVmCluster for the shard.\n" - }, - "shardGroup": { - "type": "string", - "description": "Name of the shard-group to which the shard belongs.\n" - }, - "status": { - "type": "string", - "description": "Status of shard or catalog or gsm for the sharded database.\n" - }, - "supportingResourceId": { - "type": "string", - "description": "Identifier of the underlying supporting resource.\n" - }, - "timeCreated": { - "type": "string", - "description": "The time the the Sharded Database was created. An RFC3339 formatted datetime string\n" - }, - "timeSslCertificateExpires": { - "type": "string", - "description": "The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the Sharded Database was last updated. An RFC3339 formatted datetime string\n" - } - }, - "type": "object", - "required": [ - "adminPassword", - "cloudAutonomousVmClusterId", - "computeCount", - "containerDatabaseId", - "containerDatabaseParentId", - "dataStorageSizeInGbs", - "encryptionKeyDetails", - "isAutoScalingEnabled", - "metadata", - "name", - "peerCloudAutonomousVmClusterId", - "shardGroup", - "status", - "supportingResourceId", - "timeCreated", - "timeSslCertificateExpires", - "timeUpdated" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GloballyDistributedDatabase/getShardedDatabaseCatalogDetailEncryptionKeyDetail:getShardedDatabaseCatalogDetailEncryptionKeyDetail": { - "properties": { - "kmsKeyId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key.\n" - }, - "kmsKeyVersionId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations.\n" + "description": "The fine-tuning method and hyperparameters used for fine-tuning a custom model.\n" }, - "vaultId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard.\n" - } - }, - "type": "object", - "required": [ - "kmsKeyId", - "kmsKeyVersionId", - "vaultId" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GloballyDistributedDatabase/getShardedDatabaseConnectionString:getShardedDatabaseConnectionString": { - "properties": { - "allConnectionStrings": { - "type": "object", - "additionalProperties": { - "type": "string" + "trainingDatasets": { + "type": "array", + "items": { + "$ref": "#/types/oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetailTrainingDataset:getModelsModelCollectionItemFineTuneDetailTrainingDataset" }, - "description": "Collection of connection strings.\n" + "description": "The dataset used to fine-tune the model.\n" } }, "type": "object", "required": [ - "allConnectionStrings" + "dedicatedAiClusterId", + "trainingConfigs", + "trainingDatasets" ], "language": { "nodejs": { @@ -213326,191 +214557,66 @@ } } }, - "oci:GloballyDistributedDatabase/getShardedDatabaseGsm:getShardedDatabaseGsm": { + "oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetailTrainingConfig:getModelsModelCollectionItemFineTuneDetailTrainingConfig": { "properties": { - "computeCount": { - "type": "number", - "description": "The compute amount available to the underlying autonomous database associated with shard.\n" + "earlyStoppingPatience": { + "type": "integer", + "description": "Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation.\n" }, - "dataStorageSizeInGbs": { + "earlyStoppingThreshold": { "type": "number", - "description": "The data disk group size to be allocated in GBs.\n" - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO.\n" - }, - "name": { - "type": "string", - "description": "Name of the shard.\n" - }, - "status": { - "type": "string", - "description": "Status of shard or catalog or gsm for the sharded database.\n" - }, - "supportingResourceId": { - "type": "string", - "description": "Identifier of the underlying supporting resource.\n" - }, - "timeCreated": { - "type": "string", - "description": "The time the the Sharded Database was created. An RFC3339 formatted datetime string\n" - }, - "timeSslCertificateExpires": { - "type": "string", - "description": "The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the Sharded Database was last updated. An RFC3339 formatted datetime string\n" - } - }, - "type": "object", - "required": [ - "computeCount", - "dataStorageSizeInGbs", - "metadata", - "name", - "status", - "supportingResourceId", - "timeCreated", - "timeSslCertificateExpires", - "timeUpdated" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GloballyDistributedDatabase/getShardedDatabasePatchOperation:getShardedDatabasePatchOperation": { - "properties": { - "operation": { - "type": "string" - }, - "selection": { - "type": "string" - }, - "value": { - "type": "string" - } - }, - "type": "object", - "required": [ - "operation", - "selection", - "value" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GloballyDistributedDatabase/getShardedDatabaseShardDetail:getShardedDatabaseShardDetail": { - "properties": { - "adminPassword": { - "type": "string", - "secret": true - }, - "cloudAutonomousVmClusterId": { - "type": "string", - "description": "Identifier of the primary cloudAutonomousVmCluster for the shard.\n" + "description": "How much the loss must improve to prevent early stopping.\n" }, - "computeCount": { + "learningRate": { "type": "number", - "description": "The compute amount available to the underlying autonomous database associated with shard.\n" + "description": "The initial learning rate to be used during training\n" }, - "containerDatabaseId": { - "type": "string", - "description": "Identifier of the underlying container database.\n" + "logModelMetricsIntervalInSteps": { + "type": "integer", + "description": "Determines how frequently to log model metrics.\n" }, - "containerDatabaseParentId": { - "type": "string", - "description": "Identifier of the underlying container database parent.\n" + "loraAlpha": { + "type": "integer", + "description": "This parameter represents the scaling factor for the weight matrices in LoRA.\n" }, - "dataStorageSizeInGbs": { + "loraDropout": { "type": "number", - "description": "The data disk group size to be allocated in GBs.\n" - }, - "encryptionKeyDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabaseShardDetailEncryptionKeyDetail:getShardedDatabaseShardDetailEncryptionKeyDetail" - }, - "description": "Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists).\n" - }, - "isAutoScalingEnabled": { - "type": "boolean", - "description": "Determines the auto-scaling mode.\n" - }, - "metadata": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO.\n" - }, - "name": { - "type": "string", - "description": "Name of the shard.\n" - }, - "peerCloudAutonomousVmClusterId": { - "type": "string", - "description": "Identifier of the peer cloudAutonomousVmCluster for the shard.\n" - }, - "shardGroup": { - "type": "string", - "description": "Name of the shard-group to which the shard belongs.\n" - }, - "shardSpace": { - "type": "string", - "description": "Shard space name.\n" + "description": "This parameter indicates the dropout probability for LoRA layers.\n" }, - "status": { - "type": "string", - "description": "Status of shard or catalog or gsm for the sharded database.\n" + "loraR": { + "type": "integer", + "description": "This parameter represents the LoRA rank of the update matrices.\n" }, - "supportingResourceId": { - "type": "string", - "description": "Identifier of the underlying supporting resource.\n" + "numOfLastLayers": { + "type": "integer", + "description": "The number of last layers to be fine-tuned.\n" }, - "timeCreated": { - "type": "string", - "description": "The time the the Sharded Database was created. An RFC3339 formatted datetime string\n" + "totalTrainingEpochs": { + "type": "integer", + "description": "The maximum number of training epochs to run for.\n" }, - "timeSslCertificateExpires": { - "type": "string", - "description": "The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string\n" + "trainingBatchSize": { + "type": "integer", + "description": "The batch size used during training.\n" }, - "timeUpdated": { + "trainingConfigType": { "type": "string", - "description": "The time the Sharded Database was last updated. An RFC3339 formatted datetime string\n" + "description": "The fine-tuning method for training a custom model.\n" } }, "type": "object", "required": [ - "adminPassword", - "cloudAutonomousVmClusterId", - "computeCount", - "containerDatabaseId", - "containerDatabaseParentId", - "dataStorageSizeInGbs", - "encryptionKeyDetails", - "isAutoScalingEnabled", - "metadata", - "name", - "peerCloudAutonomousVmClusterId", - "shardGroup", - "shardSpace", - "status", - "supportingResourceId", - "timeCreated", - "timeSslCertificateExpires", - "timeUpdated" + "earlyStoppingPatience", + "earlyStoppingThreshold", + "learningRate", + "logModelMetricsIntervalInSteps", + "loraAlpha", + "loraDropout", + "loraR", + "numOfLastLayers", + "totalTrainingEpochs", + "trainingBatchSize", + "trainingConfigType" ], "language": { "nodejs": { @@ -213518,67 +214624,31 @@ } } }, - "oci:GloballyDistributedDatabase/getShardedDatabaseShardDetailEncryptionKeyDetail:getShardedDatabaseShardDetailEncryptionKeyDetail": { + "oci:GenerativeAi/getModelsModelCollectionItemFineTuneDetailTrainingDataset:getModelsModelCollectionItemFineTuneDetailTrainingDataset": { "properties": { - "kmsKeyId": { + "bucket": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key.\n" + "description": "The Object Storage bucket name.\n" }, - "kmsKeyVersionId": { + "datasetType": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations.\n" + "description": "The type of the data asset.\n" }, - "vaultId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard.\n" - } - }, - "type": "object", - "required": [ - "kmsKeyId", - "kmsKeyVersionId", - "vaultId" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:GloballyDistributedDatabase/getShardedDatabasesFilter:getShardedDatabasesFilter": { - "properties": { - "name": { + "namespace": { "type": "string", - "description": "Name of the shard.\n" - }, - "regex": { - "type": "boolean" + "description": "The Object Storage namespace.\n" }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "name", - "values" - ] - }, - "oci:GloballyDistributedDatabase/getShardedDatabasesShardedDatabaseCollection:getShardedDatabasesShardedDatabaseCollection": { - "properties": { - "items": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabasesShardedDatabaseCollectionItem:getShardedDatabasesShardedDatabaseCollectionItem" - } + "object": { + "type": "string", + "description": "The Object Storage object name.\n" } }, "type": "object", "required": [ - "items" + "bucket", + "datasetType", + "namespace", + "object" ], "language": { "nodejs": { @@ -213586,147 +214656,26 @@ } } }, - "oci:GloballyDistributedDatabase/getShardedDatabasesShardedDatabaseCollectionItem:getShardedDatabasesShardedDatabaseCollectionItem": { + "oci:GenerativeAi/getModelsModelCollectionItemModelMetric:getModelsModelCollectionItemModelMetric": { "properties": { - "characterSet": { - "type": "string", - "description": "The character set for the database.\n" - }, - "chunks": { - "type": "integer", - "description": "The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.\n" - }, - "clusterCertificateCommonName": { - "type": "string", - "description": "The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.\n" - }, - "compartmentId": { - "type": "string", - "description": "The ID of the compartment in which to list resources.\n" - }, - "dbDeploymentType": { - "type": "string", - "description": "The database deployment type.\n" - }, - "dbVersion": { - "type": "string", - "description": "Oracle Database version number.\n" - }, - "dbWorkload": { - "type": "string", - "description": "Possible workload types.\n" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" - }, - "displayName": { - "type": "string", - "description": "A filter to return only sharded databases that match the entire name given. The match is not case sensitive.\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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": "Sharded Database identifier\n" - }, - "lifecycleState": { - "type": "string" - }, - "lifecycleStateDetails": { - "type": "string", - "description": "Detailed message for the lifecycle state.\n" - }, - "listenerPort": { - "type": "integer", - "description": "The GSM listener port number.\n" - }, - "listenerPortTls": { - "type": "integer", - "description": "The TLS listener port number for sharded database.\n" - }, - "ncharacterSet": { - "type": "string", - "description": "The national character set for the database.\n" - }, - "onsPortLocal": { - "type": "integer", - "description": "Ons local port number.\n" - }, - "onsPortRemote": { - "type": "integer", - "description": "Ons remote port number.\n" - }, - "prefix": { - "type": "string", - "description": "Unique prefix for the sharded database.\n" - }, - "shardingMethod": { - "type": "string", - "description": "Sharding Method.\n" - }, - "state": { - "type": "string", - "description": "A filter to return only resources their lifecycleState matches the given lifecycleState.\n" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + "finalAccuracy": { + "type": "number", + "description": "Fine-tuned model accuracy.\n" }, - "timeCreated": { - "type": "string", - "description": "The time the the Sharded Database was created. An RFC3339 formatted datetime string\n" + "finalLoss": { + "type": "number", + "description": "Fine-tuned model loss.\n" }, - "timeUpdated": { + "modelMetricsType": { "type": "string", - "description": "The time the Sharded Database was last updated. An RFC3339 formatted datetime string\n" - }, - "totalCpuCount": { - "type": "number" - }, - "totalDataStorageSizeInGbs": { - "type": "number" + "description": "The type of the model metrics. Each type of model can expect a different set of model metrics.\n" } }, "type": "object", "required": [ - "characterSet", - "chunks", - "clusterCertificateCommonName", - "compartmentId", - "dbDeploymentType", - "dbVersion", - "dbWorkload", - "definedTags", - "displayName", - "freeformTags", - "id", - "lifecycleState", - "lifecycleStateDetails", - "listenerPort", - "listenerPortTls", - "ncharacterSet", - "onsPortLocal", - "onsPortRemote", - "prefix", - "shardingMethod", - "state", - "systemTags", - "timeCreated", - "timeUpdated", - "totalCpuCount", - "totalDataStorageSizeInGbs" + "finalAccuracy", + "finalLoss", + "modelMetricsType" ], "language": { "nodejs": { @@ -251016,6 +251965,9 @@ "type": "string", "description": "An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant.\n" }, + "forceDelete": { + "type": "boolean" + }, "id": { "type": "string", "description": "Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier.\n" @@ -251146,6 +252098,7 @@ "displayName", "domainOcid", "externalId", + "forceDelete", "id", "idcsCreatedBies", "idcsEndpoint", @@ -275178,6 +276131,9 @@ "type": "string", "description": "An identifier for the Resource as defined by the Service Consumer. READ-ONLY.\n" }, + "forceDelete": { + "type": "boolean" + }, "groups": { "type": "array", "items": { @@ -275486,6 +276442,7 @@ "emails", "entitlements", "externalId", + "forceDelete", "groups", "id", "idcsCreatedBies", @@ -285157,7 +286114,7 @@ "properties": { "lastRotationMessage": { "type": "string", - "description": "(Updatable) The last execution status message.\n" + "description": "(Updatable) The last execution status message of auto key rotation.\n" }, "lastRotationStatus": { "type": "string", @@ -285165,19 +286122,19 @@ }, "rotationIntervalInDays": { "type": "integer", - "description": "(Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year)\n" + "description": "(Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule.\n" }, "timeOfLastRotation": { "type": "string", - "description": "(Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`.\n" + "description": "(Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`.\n" }, "timeOfNextRotation": { "type": "string", - "description": "(Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` .\n" + "description": "(Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z.\n" }, "timeOfScheduleStart": { "type": "string", - "description": "(Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` .\n" + "description": "(Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer.\n" } }, "type": "object", @@ -285646,7 +286603,7 @@ "properties": { "lastRotationMessage": { "type": "string", - "description": "The last execution status message.\n" + "description": "The last execution status message of auto key rotation.\n" }, "lastRotationStatus": { "type": "string", @@ -285654,19 +286611,19 @@ }, "rotationIntervalInDays": { "type": "integer", - "description": "The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year)\n" + "description": "The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule.\n" }, "timeOfLastRotation": { "type": "string", - "description": "A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`.\n" + "description": "A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`.\n" }, "timeOfNextRotation": { "type": "string", - "description": "A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` .\n" + "description": "A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z.\n" }, "timeOfScheduleStart": { "type": "string", - "description": "A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` .\n" + "description": "A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer.\n" } }, "type": "object", @@ -286210,7 +287167,7 @@ "properties": { "lastRotationMessage": { "type": "string", - "description": "The last execution status message.\n" + "description": "The last execution status message of auto key rotation.\n" }, "lastRotationStatus": { "type": "string", @@ -286218,19 +287175,19 @@ }, "rotationIntervalInDays": { "type": "integer", - "description": "The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year)\n" + "description": "The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule.\n" }, "timeOfLastRotation": { "type": "string", - "description": "A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`.\n" + "description": "A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`.\n" }, "timeOfNextRotation": { "type": "string", - "description": "A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` .\n" + "description": "A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z.\n" }, "timeOfScheduleStart": { "type": "string", - "description": "A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` .\n" + "description": "A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer.\n" } }, "type": "object", @@ -286725,6 +287682,10 @@ "type": "boolean", "description": "A Boolean value that indicates whether the Vault is primary Vault or replica Vault.\n" }, + "isVaultReplicable": { + "type": "boolean", + "description": "A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults.\n" + }, "managementEndpoint": { "type": "string", "description": "The service endpoint to perform management operations against. Management operations include \"Create,\" \"Update,\" \"List,\" \"Get,\" and \"Delete\" operations.\n" @@ -286783,6 +287744,7 @@ "freeformTags", "id", "isPrimary", + "isVaultReplicable", "managementEndpoint", "replicaDetails", "restoreFromFiles", @@ -289711,6 +290673,10 @@ "type": "boolean", "description": "Whether the load balancer has a VCN-local (private) IP address.\n" }, + "isRequestIdEnabled": { + "type": "boolean", + "description": "Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.\n" + }, "networkSecurityGroupIds": { "type": "array", "items": { @@ -289718,6 +290684,10 @@ }, "description": "An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load balancer.\n" }, + "requestIdHeader": { + "type": "string", + "description": "If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer.\n" + }, "reservedIps": { "type": "array", "items": { @@ -289770,7 +290740,9 @@ "ipMode", "isDeleteProtectionEnabled", "isPrivate", + "isRequestIdEnabled", "networkSecurityGroupIds", + "requestIdHeader", "reservedIps", "shape", "shapeDetails", @@ -308677,6 +309649,18 @@ } } }, + "oci:Mysql/MysqlDbSystemCustomerContact:MysqlDbSystemCustomerContact": { + "properties": { + "email": { + "type": "string", + "description": "(Updatable) The email address used by Oracle to send notifications regarding the DB System.\n" + } + }, + "type": "object", + "required": [ + "email" + ] + }, "oci:Mysql/MysqlDbSystemDataStorage:MysqlDbSystemDataStorage": { "properties": { "allocatedStorageSizeInGbs": { @@ -311893,7 +312877,893 @@ } } }, - "oci:Mysql/getMysqlDbSystemCurrentPlacement:getMysqlDbSystemCurrentPlacement": { + "oci:Mysql/getMysqlDbSystemCurrentPlacement:getMysqlDbSystemCurrentPlacement": { + "properties": { + "availabilityDomain": { + "type": "string", + "description": "The availability domain in which the DB System is placed.\n" + }, + "faultDomain": { + "type": "string", + "description": "The fault domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance.\n" + } + }, + "type": "object", + "required": [ + "availabilityDomain", + "faultDomain" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemCustomerContact:getMysqlDbSystemCustomerContact": { + "properties": { + "email": { + "type": "string", + "description": "The email address used by Oracle to send notifications regarding the DB System.\n" + } + }, + "type": "object", + "required": [ + "email" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemDataStorage:getMysqlDbSystemDataStorage": { + "properties": { + "allocatedStorageSizeInGbs": { + "type": "integer", + "description": "The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred.\n" + }, + "dataStorageSizeInGb": { + "type": "integer", + "description": "Initial size of the data volume in GiBs that will be created and attached.\n" + }, + "dataStorageSizeLimitInGbs": { + "type": "integer", + "description": "The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value.\n" + }, + "isAutoExpandStorageEnabled": { + "type": "boolean", + "description": "Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs.\n" + }, + "maxStorageSizeInGbs": { + "type": "integer", + "description": "Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value.\n" + } + }, + "type": "object", + "required": [ + "allocatedStorageSizeInGbs", + "dataStorageSizeInGb", + "dataStorageSizeLimitInGbs", + "isAutoExpandStorageEnabled", + "maxStorageSizeInGbs" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemDeletionPolicy:getMysqlDbSystemDeletionPolicy": { + "properties": { + "automaticBackupRetention": { + "type": "string", + "description": "Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.\n" + }, + "finalBackup": { + "type": "string", + "description": "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.\n" + }, + "isDeleteProtected": { + "type": "boolean", + "description": "Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.\n" + } + }, + "type": "object", + "required": [ + "automaticBackupRetention", + "finalBackup", + "isDeleteProtected" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemEndpoint:getMysqlDbSystemEndpoint": { + "properties": { + "hostname": { + "type": "string", + "description": "The network address of the DB System.\n" + }, + "ipAddress": { + "type": "string", + "description": "The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a \"dotted-quad\" style IPv4 address.\n" + }, + "modes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The access modes from the client that this endpoint supports.\n" + }, + "port": { + "type": "integer", + "description": "The port for primary endpoint of the DB System to listen on.\n" + }, + "portX": { + "type": "integer", + "description": "The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.\n" + }, + "resourceId": { + "type": "string", + "description": "The OCID of the resource that this endpoint is attached to.\n" + }, + "resourceType": { + "type": "string", + "description": "The type of endpoint that clients and connectors can connect to.\n" + }, + "status": { + "type": "string", + "description": "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.\n" + }, + "statusDetails": { + "type": "string", + "description": "Additional information about the current endpoint status.\n" + } + }, + "type": "object", + "required": [ + "hostname", + "ipAddress", + "modes", + "port", + "portX", + "resourceId", + "resourceType", + "status", + "statusDetails" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemHeatWaveCluster:getMysqlDbSystemHeatWaveCluster": { + "properties": { + "clusterSize": { + "type": "integer", + "description": "The number of analytics-processing compute instances, of the specified shape, in the HeatWave cluster.\n" + }, + "isLakehouseEnabled": { + "type": "boolean", + "description": "Lakehouse enabled status for the HeatWave cluster.\n" + }, + "shapeName": { + "type": "string", + "description": "The shape of the primary instances of the DB System. The shape determines resources allocated to a DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use (the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20181021/ShapeSummary/ListShapes) operation.\n" + }, + "state": { + "type": "string", + "description": "The current state of the DB System.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the DB System was created.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the DB System was last updated.\n" + } + }, + "type": "object", + "required": [ + "clusterSize", + "isLakehouseEnabled", + "shapeName", + "state", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemMaintenance:getMysqlDbSystemMaintenance": { + "properties": { + "windowStartTime": { + "type": "string", + "description": "The start time of the maintenance window.\n" + } + }, + "type": "object", + "required": [ + "windowStartTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemPointInTimeRecoveryDetail:getMysqlDbSystemPointInTimeRecoveryDetail": { + "properties": { + "timeEarliestRecoveryPoint": { + "type": "string", + "description": "Earliest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).\n" + }, + "timeLatestRecoveryPoint": { + "type": "string", + "description": "Latest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).\n" + } + }, + "type": "object", + "required": [ + "timeEarliestRecoveryPoint", + "timeLatestRecoveryPoint" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemSecureConnection:getMysqlDbSystemSecureConnection": { + "properties": { + "certificateGenerationType": { + "type": "string", + "description": "Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).\n" + }, + "certificateId": { + "type": "string", + "description": "The OCID of the certificate to use.\n" + } + }, + "type": "object", + "required": [ + "certificateGenerationType", + "certificateId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemSource:getMysqlDbSystemSource": { + "properties": { + "backupId": { + "type": "string", + "description": "The OCID of the backup to be used as the source for the new DB System.\n" + }, + "dbSystemId": { + "type": "string", + "description": "The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + }, + "recoveryPoint": { + "type": "string", + "description": "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.\n" + }, + "sourceType": { + "type": "string", + "description": "The specific source identifier.\n" + }, + "sourceUrl": { + "type": "string", + "secret": true + } + }, + "type": "object", + "required": [ + "backupId", + "dbSystemId", + "recoveryPoint", + "sourceType", + "sourceUrl" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemsDbSystem:getMysqlDbSystemsDbSystem": { + "properties": { + "adminPassword": { + "type": "string", + "secret": true + }, + "adminUsername": { + "type": "string" + }, + "availabilityDomain": { + "type": "string", + "description": "The availability domain in which the DB System is placed.\n" + }, + "backupPolicies": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemBackupPolicy:getMysqlDbSystemsDbSystemBackupPolicy" + }, + "description": "The Backup policy for the DB System.\n" + }, + "channels": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannel:getMysqlDbSystemsDbSystemChannel" + }, + "description": "A list with a summary of all the Channels attached to the DB System.\n" + }, + "compartmentId": { + "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" + }, + "crashRecovery": { + "type": "string", + "description": "Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs.\n" + }, + "currentPlacements": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemCurrentPlacement:getMysqlDbSystemsDbSystemCurrentPlacement" + }, + "description": "The availability domain and fault domain a DB System is placed in.\n" + }, + "customerContacts": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemCustomerContact:getMysqlDbSystemsDbSystemCustomerContact" + }, + "description": "The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System.\n" + }, + "dataStorageSizeInGb": { + "type": "integer", + "description": "Initial size of the data volume in GiBs that will be created and attached.\n" + }, + "dataStorages": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemDataStorage:getMysqlDbSystemsDbSystemDataStorage" + }, + "description": "Data Storage information.\n" + }, + "databaseManagement": { + "type": "string", + "description": "Filter DB Systems by their Database Management configuration.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "deletionPolicies": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemDeletionPolicy:getMysqlDbSystemsDbSystemDeletionPolicy" + }, + "description": "The Deletion policy for the DB System.\n" + }, + "description": { + "type": "string", + "description": "User-provided data about the DB System.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only the resource matching the given display name exactly.\n" + }, + "endpoints": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemEndpoint:getMysqlDbSystemsDbSystemEndpoint" + }, + "description": "The network endpoints available for this DB System.\n" + }, + "faultDomain": { + "type": "string", + "description": "The fault domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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" + }, + "heatWaveClusters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemHeatWaveCluster:getMysqlDbSystemsDbSystemHeatWaveCluster" + }, + "description": "A summary of a HeatWave cluster.\n" + }, + "hostnameLabel": { + "type": "string", + "description": "The hostname for the primary endpoint of the DB System. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, \"dbsystem-1\" in FQDN \"dbsystem-1.subnet123.vcn1.oraclevcn.com\"). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.\n" + }, + "id": { + "type": "string", + "description": "The OCID of the DB System.\n" + }, + "ipAddress": { + "type": "string", + "description": "The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a \"dotted-quad\" style IPv4 address.\n" + }, + "isHeatWaveClusterAttached": { + "type": "boolean", + "description": "If true, return only DB Systems with a HeatWave cluster attached, if false return only DB Systems with no HeatWave cluster attached. If not present, return all DB Systems.\n" + }, + "isHighlyAvailable": { + "type": "boolean", + "description": "Specifies if the DB System is highly available.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "Additional information about the current lifecycleState.\n" + }, + "maintenances": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemMaintenance:getMysqlDbSystemsDbSystemMaintenance" + }, + "description": "The Maintenance Policy for the DB System or Read Replica that this model is included in.\n" + }, + "mysqlVersion": { + "type": "string", + "description": "Name of the MySQL Version in use for the DB System.\n" + }, + "pointInTimeRecoveryDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemPointInTimeRecoveryDetail:getMysqlDbSystemsDbSystemPointInTimeRecoveryDetail" + }, + "description": "Point-in-time Recovery details like earliest and latest recovery time point for the DB System.\n" + }, + "port": { + "type": "integer", + "description": "The port for primary endpoint of the DB System to listen on.\n" + }, + "portX": { + "type": "integer", + "description": "The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.\n" + }, + "secureConnections": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemSecureConnection:getMysqlDbSystemsDbSystemSecureConnection" + }, + "description": "Secure connection configuration details.\n" + }, + "shapeName": { + "type": "string", + "description": "The shape of the primary instances of the DB System. The shape determines resources allocated to a DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use (the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20181021/ShapeSummary/ListShapes) operation.\n" + }, + "shutdownType": { + "type": "string" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemSource:getMysqlDbSystemsDbSystemSource" + }, + "description": "Parameters detailing how to provision the initial data of the DB System.\n" + }, + "state": { + "type": "string", + "description": "DbSystem Lifecycle State\n" + }, + "subnetId": { + "type": "string", + "description": "The OCID of the subnet the DB System is associated with.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the DB System was created.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the DB System was last updated.\n" + } + }, + "type": "object", + "required": [ + "adminPassword", + "adminUsername", + "availabilityDomain", + "backupPolicies", + "channels", + "compartmentId", + "configurationId", + "crashRecovery", + "currentPlacements", + "customerContacts", + "dataStorages", + "dataStorageSizeInGb", + "databaseManagement", + "definedTags", + "deletionPolicies", + "description", + "displayName", + "endpoints", + "faultDomain", + "freeformTags", + "heatWaveClusters", + "hostnameLabel", + "id", + "ipAddress", + "isHeatWaveClusterAttached", + "isHighlyAvailable", + "lifecycleDetails", + "maintenances", + "mysqlVersion", + "pointInTimeRecoveryDetails", + "port", + "portX", + "secureConnections", + "shapeName", + "shutdownType", + "sources", + "state", + "subnetId", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemsDbSystemBackupPolicy:getMysqlDbSystemsDbSystemBackupPolicy": { + "properties": { + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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" + }, + "isEnabled": { + "type": "boolean", + "description": "Whether the Channel has been enabled by the user.\n" + }, + "pitrPolicies": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemBackupPolicyPitrPolicy:getMysqlDbSystemsDbSystemBackupPolicyPitrPolicy" + }, + "description": "The PITR policy for the DB System.\n" + }, + "retentionInDays": { + "type": "integer", + "description": "The number of days automated backups are retained.\n" + }, + "windowStartTime": { + "type": "string", + "description": "The start time of the maintenance window.\n" + } + }, + "type": "object", + "required": [ + "definedTags", + "freeformTags", + "isEnabled", + "pitrPolicies", + "retentionInDays", + "windowStartTime" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemsDbSystemBackupPolicyPitrPolicy:getMysqlDbSystemsDbSystemBackupPolicyPitrPolicy": { + "properties": { + "isEnabled": { + "type": "boolean", + "description": "Whether the Channel has been enabled by the user.\n" + } + }, + "type": "object", + "required": [ + "isEnabled" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemsDbSystemChannel:getMysqlDbSystemsDbSystemChannel": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only the resource matching the given display name exactly.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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 OCID of the DB System.\n" + }, + "isEnabled": { + "type": "boolean", + "description": "Whether the Channel has been enabled by the user.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "Additional information about the current lifecycleState.\n" + }, + "sources": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannelSource:getMysqlDbSystemsDbSystemChannelSource" + }, + "description": "Parameters detailing how to provision the initial data of the DB System.\n" + }, + "state": { + "type": "string", + "description": "DbSystem Lifecycle State\n" + }, + "targets": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannelTarget:getMysqlDbSystemsDbSystemChannelTarget" + }, + "description": "Details about the Channel target.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the DB System was created.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the DB System was last updated.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "id", + "isEnabled", + "lifecycleDetails", + "sources", + "state", + "targets", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemsDbSystemChannelSource:getMysqlDbSystemsDbSystemChannelSource": { + "properties": { + "anonymousTransactionsHandlings": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannelSourceAnonymousTransactionsHandling:getMysqlDbSystemsDbSystemChannelSourceAnonymousTransactionsHandling" + }, + "description": "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.\n" + }, + "hostname": { + "type": "string", + "description": "The network address of the DB System.\n" + }, + "port": { + "type": "integer", + "description": "The port for primary endpoint of the DB System to listen on.\n" + }, + "sourceType": { + "type": "string", + "description": "The specific source identifier.\n" + }, + "sslCaCertificates": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannelSourceSslCaCertificate:getMysqlDbSystemsDbSystemChannelSourceSslCaCertificate" + }, + "description": "The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.\n" + }, + "sslMode": { + "type": "string", + "description": "The SSL mode of the Channel.\n" + }, + "username": { + "type": "string", + "description": "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)\n" + } + }, + "type": "object", + "required": [ + "anonymousTransactionsHandlings", + "hostname", + "port", + "sourceType", + "sslCaCertificates", + "sslMode", + "username" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemsDbSystemChannelSourceAnonymousTransactionsHandling:getMysqlDbSystemsDbSystemChannelSourceAnonymousTransactionsHandling": { + "properties": { + "lastConfiguredLogFilename": { + "type": "string", + "description": "Specifies one of the coordinates (file) 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.\n" + }, + "lastConfiguredLogOffset": { + "type": "string", + "description": "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.\n" + }, + "policy": { + "type": "string", + "description": "Specifies how the replication channel handles anonymous transactions.\n" + }, + "uuid": { + "type": "string", + "description": "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.\n" + } + }, + "type": "object", + "required": [ + "lastConfiguredLogFilename", + "lastConfiguredLogOffset", + "policy", + "uuid" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemsDbSystemChannelSourceSslCaCertificate:getMysqlDbSystemsDbSystemChannelSourceSslCaCertificate": { + "properties": { + "certificateType": { + "type": "string", + "description": "The type of CA certificate.\n" + }, + "contents": { + "type": "string", + "description": "The string containing the CA certificate in PEM format.\n" + } + }, + "type": "object", + "required": [ + "certificateType", + "contents" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemsDbSystemChannelTarget:getMysqlDbSystemsDbSystemChannelTarget": { + "properties": { + "applierUsername": { + "type": "string", + "description": "The username for the replication applier of the target MySQL DB System.\n" + }, + "channelName": { + "type": "string", + "description": "The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for [MySQL identifiers](https://dev.mysql.com/doc/refman/8.0/en/identifiers.html). The names of non-Deleted Channels must be unique for each DB System.\n" + }, + "dbSystemId": { + "type": "string", + "description": "The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + }, + "delayInSeconds": { + "type": "integer", + "description": "Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannelTargetFilter:getMysqlDbSystemsDbSystemChannelTargetFilter" + }, + "description": "Replication filter rules to be applied at the DB System Channel target.\n" + }, + "tablesWithoutPrimaryKeyHandling": { + "type": "string", + "description": "Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.\n" + }, + "targetType": { + "type": "string", + "description": "The specific target identifier.\n" + } + }, + "type": "object", + "required": [ + "applierUsername", + "channelName", + "dbSystemId", + "delayInSeconds", + "filters", + "tablesWithoutPrimaryKeyHandling", + "targetType" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemsDbSystemChannelTargetFilter:getMysqlDbSystemsDbSystemChannelTargetFilter": { + "properties": { + "type": { + "type": "string", + "description": "The type of the filter rule.\n" + }, + "value": { + "type": "string", + "description": "The body of the filter rule. This can represent a database, a table, or a database pair (represented as \"db1-\u003edb2\"). For more information, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html).\n" + } + }, + "type": "object", + "required": [ + "type", + "value" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Mysql/getMysqlDbSystemsDbSystemCurrentPlacement:getMysqlDbSystemsDbSystemCurrentPlacement": { "properties": { "availabilityDomain": { "type": "string", @@ -311915,860 +313785,16 @@ } } }, - "oci:Mysql/getMysqlDbSystemDataStorage:getMysqlDbSystemDataStorage": { - "properties": { - "allocatedStorageSizeInGbs": { - "type": "integer", - "description": "The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred.\n" - }, - "dataStorageSizeInGb": { - "type": "integer", - "description": "DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.\n" - }, - "dataStorageSizeLimitInGbs": { - "type": "integer", - "description": "The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value.\n" - }, - "isAutoExpandStorageEnabled": { - "type": "boolean", - "description": "Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs.\n" - }, - "maxStorageSizeInGbs": { - "type": "integer", - "description": "Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value.\n" - } - }, - "type": "object", - "required": [ - "allocatedStorageSizeInGbs", - "dataStorageSizeInGb", - "dataStorageSizeLimitInGbs", - "isAutoExpandStorageEnabled", - "maxStorageSizeInGbs" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemDeletionPolicy:getMysqlDbSystemDeletionPolicy": { - "properties": { - "automaticBackupRetention": { - "type": "string", - "description": "Specifies if any automatic backups created for a DB System should be retained or deleted when the DB System is deleted.\n" - }, - "finalBackup": { - "type": "string", - "description": "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.\n" - }, - "isDeleteProtected": { - "type": "boolean", - "description": "Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow.\n" - } - }, - "type": "object", - "required": [ - "automaticBackupRetention", - "finalBackup", - "isDeleteProtected" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemEndpoint:getMysqlDbSystemEndpoint": { - "properties": { - "hostname": { - "type": "string", - "description": "The network address of the DB System.\n" - }, - "ipAddress": { - "type": "string", - "description": "The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a \"dotted-quad\" style IPv4 address.\n" - }, - "modes": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The access modes from the client that this endpoint supports.\n" - }, - "port": { - "type": "integer", - "description": "The port for primary endpoint of the DB System to listen on.\n" - }, - "portX": { - "type": "integer", - "description": "The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.\n" - }, - "resourceId": { - "type": "string", - "description": "The OCID of the resource that this endpoint is attached to.\n" - }, - "resourceType": { - "type": "string", - "description": "The type of endpoint that clients and connectors can connect to.\n" - }, - "status": { - "type": "string", - "description": "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.\n" - }, - "statusDetails": { - "type": "string", - "description": "Additional information about the current endpoint status.\n" - } - }, - "type": "object", - "required": [ - "hostname", - "ipAddress", - "modes", - "port", - "portX", - "resourceId", - "resourceType", - "status", - "statusDetails" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemHeatWaveCluster:getMysqlDbSystemHeatWaveCluster": { - "properties": { - "clusterSize": { - "type": "integer", - "description": "The number of analytics-processing compute instances, of the specified shape, in the HeatWave cluster.\n" - }, - "isLakehouseEnabled": { - "type": "boolean", - "description": "Lakehouse enabled status for the HeatWave cluster.\n" - }, - "shapeName": { - "type": "string", - "description": "The shape of the primary instances of the DB System. The shape determines resources allocated to a DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use (the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20181021/ShapeSummary/ListShapes) operation.\n" - }, - "state": { - "type": "string", - "description": "The current state of the DB System.\n" - }, - "timeCreated": { - "type": "string", - "description": "The date and time the DB System was created.\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the DB System was last updated.\n" - } - }, - "type": "object", - "required": [ - "clusterSize", - "isLakehouseEnabled", - "shapeName", - "state", - "timeCreated", - "timeUpdated" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemMaintenance:getMysqlDbSystemMaintenance": { - "properties": { - "windowStartTime": { - "type": "string", - "description": "The start time of the maintenance window.\n" - } - }, - "type": "object", - "required": [ - "windowStartTime" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemPointInTimeRecoveryDetail:getMysqlDbSystemPointInTimeRecoveryDetail": { - "properties": { - "timeEarliestRecoveryPoint": { - "type": "string", - "description": "Earliest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).\n" - }, - "timeLatestRecoveryPoint": { - "type": "string", - "description": "Latest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339).\n" - } - }, - "type": "object", - "required": [ - "timeEarliestRecoveryPoint", - "timeLatestRecoveryPoint" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemSecureConnection:getMysqlDbSystemSecureConnection": { - "properties": { - "certificateGenerationType": { - "type": "string", - "description": "Select whether to use MySQL Database Service-managed certificate (SYSTEM) or your own certificate (BYOC).\n" - }, - "certificateId": { - "type": "string", - "description": "The OCID of the certificate to use.\n" - } - }, - "type": "object", - "required": [ - "certificateGenerationType", - "certificateId" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemSource:getMysqlDbSystemSource": { + "oci:Mysql/getMysqlDbSystemsDbSystemCustomerContact:getMysqlDbSystemsDbSystemCustomerContact": { "properties": { - "backupId": { - "type": "string", - "description": "The OCID of the backup to be used as the source for the new DB System.\n" - }, - "dbSystemId": { - "type": "string", - "description": "The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" - }, - "recoveryPoint": { - "type": "string", - "description": "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.\n" - }, - "sourceType": { - "type": "string", - "description": "The specific source identifier.\n" - }, - "sourceUrl": { - "type": "string", - "secret": true - } - }, - "type": "object", - "required": [ - "backupId", - "dbSystemId", - "recoveryPoint", - "sourceType", - "sourceUrl" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemsDbSystem:getMysqlDbSystemsDbSystem": { - "properties": { - "adminPassword": { - "type": "string", - "secret": true - }, - "adminUsername": { - "type": "string" - }, - "availabilityDomain": { - "type": "string", - "description": "The availability domain in which the DB System is placed.\n" - }, - "backupPolicies": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemBackupPolicy:getMysqlDbSystemsDbSystemBackupPolicy" - }, - "description": "The Backup policy for the DB System.\n" - }, - "channels": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannel:getMysqlDbSystemsDbSystemChannel" - }, - "description": "A list with a summary of all the Channels attached to the DB System.\n" - }, - "compartmentId": { - "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" - }, - "crashRecovery": { - "type": "string", - "description": "Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs.\n" - }, - "currentPlacements": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemCurrentPlacement:getMysqlDbSystemsDbSystemCurrentPlacement" - }, - "description": "The availability domain and fault domain a DB System is placed in.\n" - }, - "dataStorageSizeInGb": { - "type": "integer", - "description": "DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.\n" - }, - "dataStorages": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemDataStorage:getMysqlDbSystemsDbSystemDataStorage" - }, - "description": "Data Storage information.\n" - }, - "databaseManagement": { - "type": "string", - "description": "Filter DB Systems by their Database Management configuration.\n" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" - }, - "deletionPolicies": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemDeletionPolicy:getMysqlDbSystemsDbSystemDeletionPolicy" - }, - "description": "The Deletion policy for the DB System.\n" - }, - "description": { - "type": "string", - "description": "User-provided data about the DB System.\n" - }, - "displayName": { - "type": "string", - "description": "A filter to return only the resource matching the given display name exactly.\n" - }, - "endpoints": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemEndpoint:getMysqlDbSystemsDbSystemEndpoint" - }, - "description": "The network endpoints available for this DB System.\n" - }, - "faultDomain": { - "type": "string", - "description": "The fault domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance.\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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" - }, - "heatWaveClusters": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemHeatWaveCluster:getMysqlDbSystemsDbSystemHeatWaveCluster" - }, - "description": "A summary of a HeatWave cluster.\n" - }, - "hostnameLabel": { - "type": "string", - "description": "The hostname for the primary endpoint of the DB System. Used for DNS. The value is the hostname portion of the primary private IP's fully qualified domain name (FQDN) (for example, \"dbsystem-1\" in FQDN \"dbsystem-1.subnet123.vcn1.oraclevcn.com\"). Must be unique across all VNICs in the subnet and comply with RFC 952 and RFC 1123.\n" - }, - "id": { - "type": "string", - "description": "The OCID of the DB System.\n" - }, - "ipAddress": { - "type": "string", - "description": "The IP address the DB System is configured to listen on. A private IP address of the primary endpoint of the DB System. Must be an available IP address within the subnet's CIDR. This will be a \"dotted-quad\" style IPv4 address.\n" - }, - "isHeatWaveClusterAttached": { - "type": "boolean", - "description": "If true, return only DB Systems with a HeatWave cluster attached, if false return only DB Systems with no HeatWave cluster attached. If not present, return all DB Systems.\n" - }, - "isHighlyAvailable": { - "type": "boolean", - "description": "Specifies if the DB System is highly available.\n" - }, - "lifecycleDetails": { - "type": "string", - "description": "Additional information about the current lifecycleState.\n" - }, - "maintenances": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemMaintenance:getMysqlDbSystemsDbSystemMaintenance" - }, - "description": "The Maintenance Policy for the DB System or Read Replica that this model is included in.\n" - }, - "mysqlVersion": { - "type": "string", - "description": "Name of the MySQL Version in use for the DB System.\n" - }, - "pointInTimeRecoveryDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemPointInTimeRecoveryDetail:getMysqlDbSystemsDbSystemPointInTimeRecoveryDetail" - }, - "description": "Point-in-time Recovery details like earliest and latest recovery time point for the DB System.\n" - }, - "port": { - "type": "integer", - "description": "The port for primary endpoint of the DB System to listen on.\n" - }, - "portX": { - "type": "integer", - "description": "The network port on which X Plugin listens for TCP/IP connections. This is the X Plugin equivalent of port.\n" - }, - "secureConnections": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemSecureConnection:getMysqlDbSystemsDbSystemSecureConnection" - }, - "description": "Secure connection configuration details.\n" - }, - "shapeName": { - "type": "string", - "description": "The shape of the primary instances of the DB System. The shape determines resources allocated to a DB System - CPU cores and memory for VM shapes; CPU cores, memory and storage for non-VM (or bare metal) shapes. To get a list of shapes, use (the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20181021/ShapeSummary/ListShapes) operation.\n" - }, - "shutdownType": { - "type": "string" - }, - "sources": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemSource:getMysqlDbSystemsDbSystemSource" - }, - "description": "Parameters detailing how to provision the initial data of the DB System.\n" - }, - "state": { - "type": "string", - "description": "DbSystem Lifecycle State\n" - }, - "subnetId": { - "type": "string", - "description": "The OCID of the subnet the DB System is associated with.\n" - }, - "timeCreated": { - "type": "string", - "description": "The date and time the DB System was created.\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the DB System was last updated.\n" - } - }, - "type": "object", - "required": [ - "adminPassword", - "adminUsername", - "availabilityDomain", - "backupPolicies", - "channels", - "compartmentId", - "configurationId", - "crashRecovery", - "currentPlacements", - "dataStorages", - "dataStorageSizeInGb", - "databaseManagement", - "definedTags", - "deletionPolicies", - "description", - "displayName", - "endpoints", - "faultDomain", - "freeformTags", - "heatWaveClusters", - "hostnameLabel", - "id", - "ipAddress", - "isHeatWaveClusterAttached", - "isHighlyAvailable", - "lifecycleDetails", - "maintenances", - "mysqlVersion", - "pointInTimeRecoveryDetails", - "port", - "portX", - "secureConnections", - "shapeName", - "shutdownType", - "sources", - "state", - "subnetId", - "timeCreated", - "timeUpdated" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemsDbSystemBackupPolicy:getMysqlDbSystemsDbSystemBackupPolicy": { - "properties": { - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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" - }, - "isEnabled": { - "type": "boolean", - "description": "Whether the Channel has been enabled by the user.\n" - }, - "pitrPolicies": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemBackupPolicyPitrPolicy:getMysqlDbSystemsDbSystemBackupPolicyPitrPolicy" - }, - "description": "The PITR policy for the DB System.\n" - }, - "retentionInDays": { - "type": "integer", - "description": "The number of days automated backups are retained.\n" - }, - "windowStartTime": { - "type": "string", - "description": "The start time of the maintenance window.\n" - } - }, - "type": "object", - "required": [ - "definedTags", - "freeformTags", - "isEnabled", - "pitrPolicies", - "retentionInDays", - "windowStartTime" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemsDbSystemBackupPolicyPitrPolicy:getMysqlDbSystemsDbSystemBackupPolicyPitrPolicy": { - "properties": { - "isEnabled": { - "type": "boolean", - "description": "Whether the Channel has been enabled by the user.\n" - } - }, - "type": "object", - "required": [ - "isEnabled" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemsDbSystemChannel:getMysqlDbSystemsDbSystemChannel": { - "properties": { - "compartmentId": { - "type": "string", - "description": "The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" - }, - "displayName": { - "type": "string", - "description": "A filter to return only the resource matching the given display name exactly.\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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 OCID of the DB System.\n" - }, - "isEnabled": { - "type": "boolean", - "description": "Whether the Channel has been enabled by the user.\n" - }, - "lifecycleDetails": { - "type": "string", - "description": "Additional information about the current lifecycleState.\n" - }, - "sources": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannelSource:getMysqlDbSystemsDbSystemChannelSource" - }, - "description": "Parameters detailing how to provision the initial data of the DB System.\n" - }, - "state": { - "type": "string", - "description": "DbSystem Lifecycle State\n" - }, - "targets": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannelTarget:getMysqlDbSystemsDbSystemChannelTarget" - }, - "description": "Details about the Channel target.\n" - }, - "timeCreated": { - "type": "string", - "description": "The date and time the DB System was created.\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the DB System was last updated.\n" - } - }, - "type": "object", - "required": [ - "compartmentId", - "definedTags", - "displayName", - "freeformTags", - "id", - "isEnabled", - "lifecycleDetails", - "sources", - "state", - "targets", - "timeCreated", - "timeUpdated" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemsDbSystemChannelSource:getMysqlDbSystemsDbSystemChannelSource": { - "properties": { - "anonymousTransactionsHandlings": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannelSourceAnonymousTransactionsHandling:getMysqlDbSystemsDbSystemChannelSourceAnonymousTransactionsHandling" - }, - "description": "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.\n" - }, - "hostname": { - "type": "string", - "description": "The network address of the DB System.\n" - }, - "port": { - "type": "integer", - "description": "The port for primary endpoint of the DB System to listen on.\n" - }, - "sourceType": { - "type": "string", - "description": "The specific source identifier.\n" - }, - "sslCaCertificates": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannelSourceSslCaCertificate:getMysqlDbSystemsDbSystemChannelSourceSslCaCertificate" - }, - "description": "The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes.\n" - }, - "sslMode": { - "type": "string", - "description": "The SSL mode of the Channel.\n" - }, - "username": { - "type": "string", - "description": "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)\n" - } - }, - "type": "object", - "required": [ - "anonymousTransactionsHandlings", - "hostname", - "port", - "sourceType", - "sslCaCertificates", - "sslMode", - "username" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemsDbSystemChannelSourceAnonymousTransactionsHandling:getMysqlDbSystemsDbSystemChannelSourceAnonymousTransactionsHandling": { - "properties": { - "lastConfiguredLogFilename": { - "type": "string", - "description": "Specifies one of the coordinates (file) 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.\n" - }, - "lastConfiguredLogOffset": { - "type": "string", - "description": "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.\n" - }, - "policy": { - "type": "string", - "description": "Specifies how the replication channel handles anonymous transactions.\n" - }, - "uuid": { - "type": "string", - "description": "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.\n" - } - }, - "type": "object", - "required": [ - "lastConfiguredLogFilename", - "lastConfiguredLogOffset", - "policy", - "uuid" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemsDbSystemChannelSourceSslCaCertificate:getMysqlDbSystemsDbSystemChannelSourceSslCaCertificate": { - "properties": { - "certificateType": { - "type": "string", - "description": "The type of CA certificate.\n" - }, - "contents": { - "type": "string", - "description": "The string containing the CA certificate in PEM format.\n" - } - }, - "type": "object", - "required": [ - "certificateType", - "contents" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemsDbSystemChannelTarget:getMysqlDbSystemsDbSystemChannelTarget": { - "properties": { - "applierUsername": { - "type": "string", - "description": "The username for the replication applier of the target MySQL DB System.\n" - }, - "channelName": { - "type": "string", - "description": "The case-insensitive name that identifies the replication channel. Channel names must follow the rules defined for [MySQL identifiers](https://dev.mysql.com/doc/refman/8.0/en/identifiers.html). The names of non-Deleted Channels must be unique for each DB System.\n" - }, - "dbSystemId": { - "type": "string", - "description": "The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" - }, - "delayInSeconds": { - "type": "integer", - "description": "Specifies the amount of time, in seconds, that the channel waits before applying a transaction received from the source.\n" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/types/oci:Mysql/getMysqlDbSystemsDbSystemChannelTargetFilter:getMysqlDbSystemsDbSystemChannelTargetFilter" - }, - "description": "Replication filter rules to be applied at the DB System Channel target.\n" - }, - "tablesWithoutPrimaryKeyHandling": { - "type": "string", - "description": "Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key.\n" - }, - "targetType": { - "type": "string", - "description": "The specific target identifier.\n" - } - }, - "type": "object", - "required": [ - "applierUsername", - "channelName", - "dbSystemId", - "delayInSeconds", - "filters", - "tablesWithoutPrimaryKeyHandling", - "targetType" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemsDbSystemChannelTargetFilter:getMysqlDbSystemsDbSystemChannelTargetFilter": { - "properties": { - "type": { - "type": "string", - "description": "The type of the filter rule.\n" - }, - "value": { - "type": "string", - "description": "The body of the filter rule. This can represent a database, a table, or a database pair (represented as \"db1-\u003edb2\"). For more information, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html).\n" - } - }, - "type": "object", - "required": [ - "type", - "value" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:Mysql/getMysqlDbSystemsDbSystemCurrentPlacement:getMysqlDbSystemsDbSystemCurrentPlacement": { - "properties": { - "availabilityDomain": { - "type": "string", - "description": "The availability domain in which the DB System is placed.\n" - }, - "faultDomain": { + "email": { "type": "string", - "description": "The fault domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance.\n" + "description": "The email address used by Oracle to send notifications regarding the DB System.\n" } }, "type": "object", "required": [ - "availabilityDomain", - "faultDomain" + "email" ], "language": { "nodejs": { @@ -312784,7 +313810,7 @@ }, "dataStorageSizeInGb": { "type": "integer", - "description": "DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.\n" + "description": "Initial size of the data volume in GiBs that will be created and attached.\n" }, "dataStorageSizeLimitInGbs": { "type": "integer", @@ -319759,7 +320785,7 @@ }, "clusterId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster.\n" }, "compartmentId": { "type": "string", @@ -352568,7 +353594,7 @@ "properties": { "recoveryServiceSubnetId": { "type": "string", - "description": "(Updatable) The recovery service subnet OCID.\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) The recovery service subnet OCID.\n" }, "state": { "type": "string", @@ -352795,6 +353821,10 @@ "type": "string", "description": "A filter to return only the resources that match the specified lifecycle state.\n" }, + "subscriptionId": { + "type": "string", + "description": "The OCID of the cloud service subscription to which the protected database is linked.\n" + }, "systemTags": { "type": "object", "additionalProperties": { @@ -352837,6 +353867,7 @@ "protectionPolicyId", "recoveryServiceSubnets", "state", + "subscriptionId", "systemTags", "timeCreated", "timeUpdated", @@ -353002,6 +354033,10 @@ "type": "string", "description": "Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.\n" }, + "mustEnforceCloudLocality": { + "type": "boolean", + "description": "Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.\n" + }, "policyLockedDateTime": { "type": "string", "description": "An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.\n" @@ -353036,6 +354071,7 @@ "id", "isPredefinedPolicy", "lifecycleDetails", + "mustEnforceCloudLocality", "policyLockedDateTime", "state", "systemTags", @@ -374866,6 +375902,9 @@ }, "oci:Waf/AppFirewallPolicyActionBody:AppFirewallPolicyActionBody": { "properties": { + "template": { + "type": "string" + }, "text": { "type": "string", "description": "(Updatable) Static response body text.\n" @@ -374877,7 +375916,6 @@ }, "type": "object", "required": [ - "text", "type" ] }, @@ -376276,6 +377314,9 @@ }, "oci:Waf/getWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody:getWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody": { "properties": { + "template": { + "type": "string" + }, "text": { "type": "string", "description": "Static response body text.\n" @@ -376287,6 +377328,7 @@ }, "type": "object", "required": [ + "template", "text", "type" ], @@ -377026,6 +378068,9 @@ }, "oci:Waf/getWebAppFirewallPolicyActionBody:getWebAppFirewallPolicyActionBody": { "properties": { + "template": { + "type": "string" + }, "text": { "type": "string", "description": "Static response body text.\n" @@ -377037,6 +378082,7 @@ }, "type": "object", "required": [ + "template", "text", "type" ], @@ -382071,11 +383117,11 @@ }, "preferredLanguage": { "type": "string", - "description": "(Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.\n" + "description": "(Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.\n" }, "preferredTimeZone": { "type": "string", - "description": "(Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.\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) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles\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", @@ -382151,11 +383197,11 @@ }, "preferredLanguage": { "type": "string", - "description": "(Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.\n" + "description": "(Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.\n" }, "preferredTimeZone": { "type": "string", - "description": "(Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.\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) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles\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": [ @@ -382207,11 +383253,11 @@ }, "preferredLanguage": { "type": "string", - "description": "(Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.\n" + "description": "(Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.\n" }, "preferredTimeZone": { "type": "string", - "description": "(Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.\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) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles\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", @@ -386907,9 +387953,6 @@ "oci:BigDataService/bdsInstance:BdsInstance": { "description": "This resource provides the Bds Instance resource in Oracle Cloud Infrastructure Big Data Service service.\n\nCreates a new BDS instance.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.BigDataService.BdsInstance;\nimport com.pulumi.oci.BigDataService.BdsInstanceArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceMasterNodeArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceMasterNodeShapeConfigArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceUtilNodeArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceUtilNodeShapeConfigArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceWorkerNodeArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceWorkerNodeShapeConfigArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceComputeOnlyWorkerNodeArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceComputeOnlyWorkerNodeShapeConfigArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceEdgeNodeArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceEdgeNodeShapeConfigArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceKafkaBrokerNodeArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceKafkaBrokerNodeShapeConfigArgs;\nimport com.pulumi.oci.BigDataService.inputs.BdsInstanceNetworkConfigArgs;\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 testBdsInstance = new BdsInstance(\"testBdsInstance\", BdsInstanceArgs.builder()\n .clusterAdminPassword(bdsInstanceClusterAdminPassword)\n .clusterPublicKey(bdsInstanceClusterPublicKey)\n .clusterVersion(bdsInstanceClusterVersion)\n .compartmentId(compartmentId)\n .displayName(bdsInstanceDisplayName)\n .isHighAvailability(bdsInstanceIsHighAvailability)\n .isSecure(bdsInstanceIsSecure)\n .masterNode(BdsInstanceMasterNodeArgs.builder()\n .shape(bdsInstanceNodesShape)\n .subnetId(testSubnet.id())\n .numberOfNodes(bdsInstanceNumberOfNodes)\n .blockVolumeSizeInGbs(bdsInstanceNodesBlockVolumeSizeInGbs)\n .shapeConfig(BdsInstanceMasterNodeShapeConfigArgs.builder()\n .memoryInGbs(bdsInstanceNodesShapeConfigMemoryInGbs)\n .nvmes(bdsInstanceNodesShapeConfigNvmes)\n .ocpus(bdsInstanceNodesShapeConfigOcpus)\n .build())\n .build())\n .utilNode(BdsInstanceUtilNodeArgs.builder()\n .shape(bdsInstanceNodesShape)\n .subnetId(testSubnet.id())\n .numberOfNodes(bdsInstanceNumberOfNodes)\n .blockVolumeSizeInGbs(bdsInstanceNodesBlockVolumeSizeInGbs)\n .shapeConfig(BdsInstanceUtilNodeShapeConfigArgs.builder()\n .memoryInGbs(bdsInstanceNodesShapeConfigMemoryInGbs)\n .nvmes(bdsInstanceNodesShapeConfigNvmes)\n .ocpus(bdsInstanceNodesShapeConfigOcpus)\n .build())\n .build())\n .workerNode(BdsInstanceWorkerNodeArgs.builder()\n .shape(bdsInstanceNodesShape)\n .subnetId(testSubnet.id())\n .numberOfNodes(bdsInstanceNumberOfNodes)\n .blockVolumeSizeInGbs(bdsInstanceNodesBlockVolumeSizeInGbs)\n .shapeConfig(BdsInstanceWorkerNodeShapeConfigArgs.builder()\n .memoryInGbs(bdsInstanceNodesShapeConfigMemoryInGbs)\n .nvmes(bdsInstanceNodesShapeConfigNvmes)\n .ocpus(bdsInstanceNodesShapeConfigOcpus)\n .build())\n .build())\n .computeOnlyWorkerNode(BdsInstanceComputeOnlyWorkerNodeArgs.builder()\n .shape(bdsInstanceNodesShape)\n .subnetId(testSubnet.id())\n .numberOfNodes(bdsInstanceNumberOfNodes)\n .blockVolumeSizeInGbs(bdsInstanceNodesBlockVolumeSizeInGbs)\n .shapeConfig(BdsInstanceComputeOnlyWorkerNodeShapeConfigArgs.builder()\n .memoryInGbs(bdsInstanceNodesShapeConfigMemoryInGbs)\n .nvmes(bdsInstanceNodesShapeConfigNvmes)\n .ocpus(bdsInstanceNodesShapeConfigOcpus)\n .build())\n .build())\n .edgeNode(BdsInstanceEdgeNodeArgs.builder()\n .shape(bdsInstanceNodesShape)\n .subnetId(testSubnet.id())\n .numberOfNodes(bdsInstanceNumberOfNodes)\n .blockVolumeSizeInGbs(bdsInstanceNodesBlockVolumeSizeInGbs)\n .shapeConfig(BdsInstanceEdgeNodeShapeConfigArgs.builder()\n .memoryInGbs(bdsInstanceNodesShapeConfigMemoryInGbs)\n .nvmes(bdsInstanceNodesShapeConfigNvmes)\n .ocpus(bdsInstanceNodesShapeConfigOcpus)\n .build())\n .build())\n .kafkaBrokerNode(BdsInstanceKafkaBrokerNodeArgs.builder()\n .shape(bdsInstanceNodesShape)\n .subnetId(testSubnet.id())\n .numberOfNodes(bdsInstanceNumberOfNodes)\n .blockVolumeSizeInGbs(bdsInstanceNodesBlockVolumeSizeInGbs)\n .shapeConfig(BdsInstanceKafkaBrokerNodeShapeConfigArgs.builder()\n .memoryInGbs(bdsInstanceNodesShapeConfigMemoryInGbs)\n .nvmes(bdsInstanceNodesShapeConfigNvmes)\n .ocpus(bdsInstanceNodesShapeConfigOcpus)\n .build())\n .build())\n .bootstrapScriptUrl(bdsInstanceBootstrapScriptUrl)\n .clusterProfile(bdsInstanceClusterProfile)\n .definedTags(bdsInstanceDefinedTags)\n .freeformTags(bdsInstanceFreeformTags)\n .kerberosRealmName(bdsInstanceKerberosRealmName)\n .kmsKeyId(bdsInstanceKmsKeyId)\n .ignoreExistingNodesShapes(ignoreExistingNodesShape)\n .networkConfig(BdsInstanceNetworkConfigArgs.builder()\n .cidrBlock(bdsInstanceNetworkConfigCidrBlock)\n .isNatGatewayRequired(bdsInstanceNetworkConfigIsNatGatewayRequired)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testBdsInstance:\n type: oci:BigDataService:BdsInstance\n name: test_bds_instance\n properties:\n clusterAdminPassword: ${bdsInstanceClusterAdminPassword}\n clusterPublicKey: ${bdsInstanceClusterPublicKey}\n clusterVersion: ${bdsInstanceClusterVersion}\n compartmentId: ${compartmentId}\n displayName: ${bdsInstanceDisplayName}\n isHighAvailability: ${bdsInstanceIsHighAvailability}\n isSecure: ${bdsInstanceIsSecure}\n masterNode:\n shape: ${bdsInstanceNodesShape}\n subnetId: ${testSubnet.id}\n numberOfNodes: ${bdsInstanceNumberOfNodes}\n blockVolumeSizeInGbs: ${bdsInstanceNodesBlockVolumeSizeInGbs}\n shapeConfig:\n memoryInGbs: ${bdsInstanceNodesShapeConfigMemoryInGbs}\n nvmes: ${bdsInstanceNodesShapeConfigNvmes}\n ocpus: ${bdsInstanceNodesShapeConfigOcpus}\n utilNode:\n shape: ${bdsInstanceNodesShape}\n subnetId: ${testSubnet.id}\n numberOfNodes: ${bdsInstanceNumberOfNodes}\n blockVolumeSizeInGbs: ${bdsInstanceNodesBlockVolumeSizeInGbs}\n shapeConfig:\n memoryInGbs: ${bdsInstanceNodesShapeConfigMemoryInGbs}\n nvmes: ${bdsInstanceNodesShapeConfigNvmes}\n ocpus: ${bdsInstanceNodesShapeConfigOcpus}\n workerNode:\n shape: ${bdsInstanceNodesShape}\n subnetId: ${testSubnet.id}\n numberOfNodes: ${bdsInstanceNumberOfNodes}\n blockVolumeSizeInGbs: ${bdsInstanceNodesBlockVolumeSizeInGbs}\n shapeConfig:\n memoryInGbs: ${bdsInstanceNodesShapeConfigMemoryInGbs}\n nvmes: ${bdsInstanceNodesShapeConfigNvmes}\n ocpus: ${bdsInstanceNodesShapeConfigOcpus}\n computeOnlyWorkerNode:\n shape: ${bdsInstanceNodesShape}\n subnetId: ${testSubnet.id}\n numberOfNodes: ${bdsInstanceNumberOfNodes}\n blockVolumeSizeInGbs: ${bdsInstanceNodesBlockVolumeSizeInGbs}\n shapeConfig:\n memoryInGbs: ${bdsInstanceNodesShapeConfigMemoryInGbs}\n nvmes: ${bdsInstanceNodesShapeConfigNvmes}\n ocpus: ${bdsInstanceNodesShapeConfigOcpus}\n edgeNode:\n shape: ${bdsInstanceNodesShape}\n subnetId: ${testSubnet.id}\n numberOfNodes: ${bdsInstanceNumberOfNodes}\n blockVolumeSizeInGbs: ${bdsInstanceNodesBlockVolumeSizeInGbs}\n shapeConfig:\n memoryInGbs: ${bdsInstanceNodesShapeConfigMemoryInGbs}\n nvmes: ${bdsInstanceNodesShapeConfigNvmes}\n ocpus: ${bdsInstanceNodesShapeConfigOcpus}\n kafkaBrokerNode:\n shape: ${bdsInstanceNodesShape}\n subnetId: ${testSubnet.id}\n numberOfNodes: ${bdsInstanceNumberOfNodes}\n blockVolumeSizeInGbs: ${bdsInstanceNodesBlockVolumeSizeInGbs}\n shapeConfig:\n memoryInGbs: ${bdsInstanceNodesShapeConfigMemoryInGbs}\n nvmes: ${bdsInstanceNodesShapeConfigNvmes}\n ocpus: ${bdsInstanceNodesShapeConfigOcpus}\n bootstrapScriptUrl: ${bdsInstanceBootstrapScriptUrl}\n clusterProfile: ${bdsInstanceClusterProfile}\n definedTags: ${bdsInstanceDefinedTags}\n freeformTags: ${bdsInstanceFreeformTags}\n kerberosRealmName: ${bdsInstanceKerberosRealmName}\n kmsKeyId: ${bdsInstanceKmsKeyId}\n ignoreExistingNodesShapes: ${ignoreExistingNodesShape}\n networkConfig:\n cidrBlock: ${bdsInstanceNetworkConfigCidrBlock}\n isNatGatewayRequired: ${bdsInstanceNetworkConfigIsNatGatewayRequired}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nBdsInstances can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:BigDataService/bdsInstance:BdsInstance test_bds_instance \"id\"\n```\n", "properties": { - "addKafkaTrigger": { - "type": "integer" - }, "bootstrapScriptUrl": { "type": "string", "description": "(Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed.\n" @@ -386970,10 +388013,6 @@ "edgeNode": { "$ref": "#/types/oci:BigDataService/BdsInstanceEdgeNode:BdsInstanceEdgeNode" }, - "executeBootstrapScriptTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value.\n" - }, "freeformTags": { "type": "object", "additionalProperties": { @@ -387047,10 +388086,6 @@ "type": "string", "description": "(Updatable) The version of the patch to be upated.\n" }, - "removeKafkaTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value.\n" - }, "state": { "type": "string", "description": "(Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance.\n" @@ -387101,9 +388136,6 @@ "workerNode" ], "inputProperties": { - "addKafkaTrigger": { - "type": "integer" - }, "bootstrapScriptUrl": { "type": "string", "description": "(Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed.\n" @@ -387157,10 +388189,6 @@ "edgeNode": { "$ref": "#/types/oci:BigDataService/BdsInstanceEdgeNode:BdsInstanceEdgeNode" }, - "executeBootstrapScriptTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value.\n" - }, "freeformTags": { "type": "object", "additionalProperties": { @@ -387224,10 +388252,6 @@ "type": "string", "description": "(Updatable) The version of the patch to be upated.\n" }, - "removeKafkaTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value.\n" - }, "state": { "type": "string", "description": "(Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance.\n" @@ -387256,9 +388280,6 @@ "stateInputs": { "description": "Input properties used for looking up and filtering BdsInstance resources.\n", "properties": { - "addKafkaTrigger": { - "type": "integer" - }, "bootstrapScriptUrl": { "type": "string", "description": "(Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed.\n" @@ -387323,10 +388344,6 @@ "edgeNode": { "$ref": "#/types/oci:BigDataService/BdsInstanceEdgeNode:BdsInstanceEdgeNode" }, - "executeBootstrapScriptTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value.\n" - }, "freeformTags": { "type": "object", "additionalProperties": { @@ -387405,10 +388422,6 @@ "type": "string", "description": "(Updatable) The version of the patch to be upated.\n" }, - "removeKafkaTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value.\n" - }, "state": { "type": "string", "description": "(Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance.\n" @@ -419991,57 +421004,72 @@ } }, "oci:DataSafe/databaseSecurityConfigManagement:DatabaseSecurityConfigManagement": { + "description": "This resource provides the Database Security Config Management resource in Oracle Cloud Infrastructure Data Safe service.\n\nUpdates the database security configuration.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDatabaseSecurityConfigManagement = new oci.datasafe.DatabaseSecurityConfigManagement(\"test_database_security_config_management\", {\n compartmentId: compartmentId,\n targetId: testTargetDatabase.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: databaseSecurityConfigManagementDescription,\n displayName: databaseSecurityConfigManagementDisplayName,\n freeformTags: {\n Department: \"Finance\",\n },\n sqlFirewallConfig: {\n excludeJob: databaseSecurityConfigManagementSqlFirewallConfigExcludeJob,\n status: databaseSecurityConfigManagementSqlFirewallConfigStatus,\n violationLogAutoPurge: databaseSecurityConfigManagementSqlFirewallConfigViolationLogAutoPurge,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_database_security_config_management = oci.data_safe.DatabaseSecurityConfigManagement(\"test_database_security_config_management\",\n compartment_id=compartment_id,\n target_id=test_target_database[\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=database_security_config_management_description,\n display_name=database_security_config_management_display_name,\n freeform_tags={\n \"Department\": \"Finance\",\n },\n sql_firewall_config={\n \"exclude_job\": database_security_config_management_sql_firewall_config_exclude_job,\n \"status\": database_security_config_management_sql_firewall_config_status,\n \"violation_log_auto_purge\": database_security_config_management_sql_firewall_config_violation_log_auto_purge,\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 testDatabaseSecurityConfigManagement = new Oci.DataSafe.DatabaseSecurityConfigManagement(\"test_database_security_config_management\", new()\n {\n CompartmentId = compartmentId,\n TargetId = testTargetDatabase.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = databaseSecurityConfigManagementDescription,\n DisplayName = databaseSecurityConfigManagementDisplayName,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n SqlFirewallConfig = new Oci.DataSafe.Inputs.DatabaseSecurityConfigManagementSqlFirewallConfigArgs\n {\n ExcludeJob = databaseSecurityConfigManagementSqlFirewallConfigExcludeJob,\n Status = databaseSecurityConfigManagementSqlFirewallConfigStatus,\n ViolationLogAutoPurge = databaseSecurityConfigManagementSqlFirewallConfigViolationLogAutoPurge,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewDatabaseSecurityConfigManagement(ctx, \"test_database_security_config_management\", \u0026DataSafe.DatabaseSecurityConfigManagementArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tTargetId: pulumi.Any(testTargetDatabase.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(databaseSecurityConfigManagementDescription),\n\t\t\tDisplayName: pulumi.Any(databaseSecurityConfigManagementDisplayName),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tSqlFirewallConfig: \u0026datasafe.DatabaseSecurityConfigManagementSqlFirewallConfigArgs{\n\t\t\t\tExcludeJob: pulumi.Any(databaseSecurityConfigManagementSqlFirewallConfigExcludeJob),\n\t\t\t\tStatus: pulumi.Any(databaseSecurityConfigManagementSqlFirewallConfigStatus),\n\t\t\t\tViolationLogAutoPurge: pulumi.Any(databaseSecurityConfigManagementSqlFirewallConfigViolationLogAutoPurge),\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.DataSafe.DatabaseSecurityConfigManagement;\nimport com.pulumi.oci.DataSafe.DatabaseSecurityConfigManagementArgs;\nimport com.pulumi.oci.DataSafe.inputs.DatabaseSecurityConfigManagementSqlFirewallConfigArgs;\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 testDatabaseSecurityConfigManagement = new DatabaseSecurityConfigManagement(\"testDatabaseSecurityConfigManagement\", DatabaseSecurityConfigManagementArgs.builder()\n .compartmentId(compartmentId)\n .targetId(testTargetDatabase.id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(databaseSecurityConfigManagementDescription)\n .displayName(databaseSecurityConfigManagementDisplayName)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .sqlFirewallConfig(DatabaseSecurityConfigManagementSqlFirewallConfigArgs.builder()\n .excludeJob(databaseSecurityConfigManagementSqlFirewallConfigExcludeJob)\n .status(databaseSecurityConfigManagementSqlFirewallConfigStatus)\n .violationLogAutoPurge(databaseSecurityConfigManagementSqlFirewallConfigViolationLogAutoPurge)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDatabaseSecurityConfigManagement:\n type: oci:DataSafe:DatabaseSecurityConfigManagement\n name: test_database_security_config_management\n properties:\n compartmentId: ${compartmentId}\n targetId: ${testTargetDatabase.id}\n definedTags:\n Operations.CostCenter: '42'\n description: ${databaseSecurityConfigManagementDescription}\n displayName: ${databaseSecurityConfigManagementDisplayName}\n freeformTags:\n Department: Finance\n sqlFirewallConfig:\n excludeJob: ${databaseSecurityConfigManagementSqlFirewallConfigExcludeJob}\n status: ${databaseSecurityConfigManagementSqlFirewallConfigStatus}\n violationLogAutoPurge: ${databaseSecurityConfigManagementSqlFirewallConfigViolationLogAutoPurge}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport is not supported for this resource.\n\n", "properties": { "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the database security config.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the security policy.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "lifecycleDetails": { - "type": "string" + "type": "string", + "description": "Details about the current state of the database security config in Data Safe.\n" }, "refreshTrigger": { - "type": "boolean" + "type": "boolean", + "description": "(Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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" }, "sqlFirewallConfig": { - "$ref": "#/types/oci:DataSafe/DatabaseSecurityConfigManagementSqlFirewallConfig:DatabaseSecurityConfigManagementSqlFirewallConfig" + "$ref": "#/types/oci:DataSafe/DatabaseSecurityConfigManagementSqlFirewallConfig:DatabaseSecurityConfigManagementSqlFirewallConfig", + "description": "(Updatable) Details to update the SQL firewall config.\n" }, "state": { - "type": "string" + "type": "string", + "description": "The current state of the database security config.\n" }, "systemTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "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\"}`\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" }, "timeCreated": { - "type": "string" + "type": "string", + "description": "The time that the database security config was created, in the format defined by RFC3339.\n" }, "timeLastRefreshed": { - "type": "string" + "type": "string", + "description": "The last date and time the database security config was refreshed, in the format defined by RFC3339.\n" }, "timeUpdated": { - "type": "string" + "type": "string", + "description": "The date and time the database security configuration was last updated, in the format defined by RFC3339.\n" } }, "required": [ @@ -420060,89 +421088,111 @@ ], "inputProperties": { "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the database security config.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the security policy.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "refreshTrigger": { - "type": "boolean" + "type": "boolean", + "description": "(Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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" }, "sqlFirewallConfig": { - "$ref": "#/types/oci:DataSafe/DatabaseSecurityConfigManagementSqlFirewallConfig:DatabaseSecurityConfigManagementSqlFirewallConfig" + "$ref": "#/types/oci:DataSafe/DatabaseSecurityConfigManagementSqlFirewallConfig:DatabaseSecurityConfigManagementSqlFirewallConfig", + "description": "(Updatable) Details to update the SQL firewall config.\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" } }, "stateInputs": { "description": "Input properties used for looking up and filtering DatabaseSecurityConfigManagement resources.\n", "properties": { "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the database security config.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the security policy.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "lifecycleDetails": { - "type": "string" + "type": "string", + "description": "Details about the current state of the database security config in Data Safe.\n" }, "refreshTrigger": { - "type": "boolean" + "type": "boolean", + "description": "(Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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" }, "sqlFirewallConfig": { - "$ref": "#/types/oci:DataSafe/DatabaseSecurityConfigManagementSqlFirewallConfig:DatabaseSecurityConfigManagementSqlFirewallConfig" + "$ref": "#/types/oci:DataSafe/DatabaseSecurityConfigManagementSqlFirewallConfig:DatabaseSecurityConfigManagementSqlFirewallConfig", + "description": "(Updatable) Details to update the SQL firewall config.\n" }, "state": { - "type": "string" + "type": "string", + "description": "The current state of the database security config.\n" }, "systemTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "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\"}`\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" }, "timeCreated": { - "type": "string" + "type": "string", + "description": "The time that the database security config was created, in the format defined by RFC3339.\n" }, "timeLastRefreshed": { - "type": "string" + "type": "string", + "description": "The last date and time the database security config was refreshed, in the format defined by RFC3339.\n" }, "timeUpdated": { - "type": "string" + "type": "string", + "description": "The date and time the database security configuration was last updated, in the format defined by RFC3339.\n" } }, "type": "object" @@ -421507,6 +422557,320 @@ "type": "object" } }, + "oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement": { + "description": "This resource provides Pre-masking Report Management resource in Oracle Cloud Infrastructure Data Safe service.\n\nGets the details of the specified pre-masking health report.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testPreMaskingReportManagement = new oci.datasafe.MaskingPolicyHealthReportManagement(\"test_pre_masking_report_management\", {\n targetId: testTargetDatabase.id,\n maskingPolicyId: testMaskingPolicy.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_pre_masking_report_management = oci.data_safe.MaskingPolicyHealthReportManagement(\"test_pre_masking_report_management\",\n target_id=test_target_database[\"id\"],\n masking_policy_id=test_masking_policy[\"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 testPreMaskingReportManagement = new Oci.DataSafe.MaskingPolicyHealthReportManagement(\"test_pre_masking_report_management\", new()\n {\n TargetId = testTargetDatabase.Id,\n MaskingPolicyId = testMaskingPolicy.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewMaskingPolicyHealthReportManagement(ctx, \"test_pre_masking_report_management\", \u0026DataSafe.MaskingPolicyHealthReportManagementArgs{\n\t\t\tTargetId: pulumi.Any(testTargetDatabase.Id),\n\t\t\tMaskingPolicyId: pulumi.Any(testMaskingPolicy.Id),\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.DataSafe.MaskingPolicyHealthReportManagement;\nimport com.pulumi.oci.DataSafe.MaskingPolicyHealthReportManagementArgs;\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 testPreMaskingReportManagement = new MaskingPolicyHealthReportManagement(\"testPreMaskingReportManagement\", MaskingPolicyHealthReportManagementArgs.builder()\n .targetId(testTargetDatabase.id())\n .maskingPolicyId(testMaskingPolicy.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testPreMaskingReportManagement:\n type: oci:DataSafe:MaskingPolicyHealthReportManagement\n name: test_pre_masking_report_management\n properties:\n targetId: ${testTargetDatabase.id}\n maskingPolicyId: ${testMaskingPolicy.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport is not supported for this resource.\n\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment that contains the masking report.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "description": { + "type": "string", + "description": "Description for the pre-masking report,\n" + }, + "displayName": { + "type": "string", + "description": "The display name of the pre-masking report,\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "maskingPolicyId": { + "type": "string", + "description": "The OCID of the masking policy.\n" + }, + "state": { + "type": "string", + "description": "The current state of the pre-masking report.\n" + }, + "targetId": { + "type": "string", + "description": "The OCID of the target database masked.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),\n" + } + }, + "required": [ + "compartmentId", + "definedTags", + "description", + "displayName", + "freeformTags", + "maskingPolicyId", + "state", + "targetId", + "timeCreated", + "timeUpdated" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment that contains the masking report.\n" + }, + "maskingPolicyId": { + "type": "string", + "description": "The OCID of the masking policy.\n" + }, + "targetId": { + "type": "string", + "description": "The OCID of the target database masked.\n" + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering MaskingPolicyHealthReportManagement resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment that contains the masking report.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "description": { + "type": "string", + "description": "Description for the pre-masking report,\n" + }, + "displayName": { + "type": "string", + "description": "The display name of the pre-masking report,\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "maskingPolicyId": { + "type": "string", + "description": "The OCID of the masking policy.\n" + }, + "state": { + "type": "string", + "description": "The current state of the pre-masking report.\n" + }, + "targetId": { + "type": "string", + "description": "The OCID of the target database masked.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339),\n" + } + }, + "type": "object" + } + }, + "oci:DataSafe/maskingReportManagement:MaskingReportManagement": { + "description": "This resource provides Masking Report Management resource in Oracle Cloud Infrastructure Data Safe service.\n\nGets the details of the specified masking report.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testMaskingReportManagement = new oci.datasafe.MaskingReportManagement(\"test_masking_report_management\", {\n targetId: testTargetDatabase.id,\n maskingPolicyId: testMaskingPolicy.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_masking_report_management = oci.data_safe.MaskingReportManagement(\"test_masking_report_management\",\n target_id=test_target_database[\"id\"],\n masking_policy_id=test_masking_policy[\"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 testMaskingReportManagement = new Oci.DataSafe.MaskingReportManagement(\"test_masking_report_management\", new()\n {\n TargetId = testTargetDatabase.Id,\n MaskingPolicyId = testMaskingPolicy.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewMaskingReportManagement(ctx, \"test_masking_report_management\", \u0026DataSafe.MaskingReportManagementArgs{\n\t\t\tTargetId: pulumi.Any(testTargetDatabase.Id),\n\t\t\tMaskingPolicyId: pulumi.Any(testMaskingPolicy.Id),\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.DataSafe.MaskingReportManagement;\nimport com.pulumi.oci.DataSafe.MaskingReportManagementArgs;\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 testMaskingReportManagement = new MaskingReportManagement(\"testMaskingReportManagement\", MaskingReportManagementArgs.builder()\n .targetId(testTargetDatabase.id())\n .maskingPolicyId(testMaskingPolicy.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMaskingReportManagement:\n type: oci:DataSafe:MaskingReportManagement\n name: test_masking_report_management\n properties:\n targetId: ${testTargetDatabase.id}\n maskingPolicyId: ${testMaskingPolicy.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport is not supported for this resource.\n\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment that contains the masking report.\n" + }, + "isDropTempTablesEnabled": { + "type": "boolean", + "description": "Indicates if the temporary tables created during the masking operation were dropped after masking.\n" + }, + "isRedoLoggingEnabled": { + "type": "boolean", + "description": "Indicates if redo logging was enabled during the masking operation.\n" + }, + "isRefreshStatsEnabled": { + "type": "boolean", + "description": "Indicates if statistics gathering was enabled during the masking operation.\n" + }, + "maskingPolicyId": { + "type": "string", + "description": "The OCID of the masking policy.\n" + }, + "maskingWorkRequestId": { + "type": "string", + "description": "The OCID of the masking work request that resulted in this masking report.\n" + }, + "parallelDegree": { + "type": "string", + "description": "Indicates if parallel execution was enabled during the masking operation.\n" + }, + "recompile": { + "type": "string", + "description": "Indicates how invalid objects were recompiled post the masking operation.\n" + }, + "state": { + "type": "string", + "description": "The current state of the masking report.\n" + }, + "targetId": { + "type": "string", + "description": "The OCID of the target database masked.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).\n" + }, + "timeMaskingFinished": { + "type": "string", + "description": "The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339)\n" + }, + "timeMaskingStarted": { + "type": "string", + "description": "The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339)\n" + }, + "totalMaskedColumns": { + "type": "string", + "description": "The total number of masked columns.\n" + }, + "totalMaskedObjects": { + "type": "string", + "description": "The total number of unique objects (tables and editioning views) that contain the masked columns.\n" + }, + "totalMaskedSchemas": { + "type": "string", + "description": "The total number of unique schemas that contain the masked columns.\n" + }, + "totalMaskedSensitiveTypes": { + "type": "string", + "description": "The total number of unique sensitive types associated with the masked columns.\n" + }, + "totalMaskedValues": { + "type": "string", + "description": "The total number of masked values.\n" + } + }, + "required": [ + "compartmentId", + "isDropTempTablesEnabled", + "isRedoLoggingEnabled", + "isRefreshStatsEnabled", + "maskingPolicyId", + "maskingWorkRequestId", + "parallelDegree", + "recompile", + "state", + "targetId", + "timeCreated", + "timeMaskingFinished", + "timeMaskingStarted", + "totalMaskedColumns", + "totalMaskedObjects", + "totalMaskedSchemas", + "totalMaskedSensitiveTypes", + "totalMaskedValues" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment that contains the masking report.\n" + }, + "maskingPolicyId": { + "type": "string", + "description": "The OCID of the masking policy.\n" + }, + "targetId": { + "type": "string", + "description": "The OCID of the target database masked.\n" + } + }, + "stateInputs": { + "description": "Input properties used for looking up and filtering MaskingReportManagement resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment that contains the masking report.\n" + }, + "isDropTempTablesEnabled": { + "type": "boolean", + "description": "Indicates if the temporary tables created during the masking operation were dropped after masking.\n" + }, + "isRedoLoggingEnabled": { + "type": "boolean", + "description": "Indicates if redo logging was enabled during the masking operation.\n" + }, + "isRefreshStatsEnabled": { + "type": "boolean", + "description": "Indicates if statistics gathering was enabled during the masking operation.\n" + }, + "maskingPolicyId": { + "type": "string", + "description": "The OCID of the masking policy.\n" + }, + "maskingWorkRequestId": { + "type": "string", + "description": "The OCID of the masking work request that resulted in this masking report.\n" + }, + "parallelDegree": { + "type": "string", + "description": "Indicates if parallel execution was enabled during the masking operation.\n" + }, + "recompile": { + "type": "string", + "description": "Indicates how invalid objects were recompiled post the masking operation.\n" + }, + "state": { + "type": "string", + "description": "The current state of the masking report.\n" + }, + "targetId": { + "type": "string", + "description": "The OCID of the target database masked.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).\n" + }, + "timeMaskingFinished": { + "type": "string", + "description": "The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339)\n" + }, + "timeMaskingStarted": { + "type": "string", + "description": "The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339)\n" + }, + "totalMaskedColumns": { + "type": "string", + "description": "The total number of masked columns.\n" + }, + "totalMaskedObjects": { + "type": "string", + "description": "The total number of unique objects (tables and editioning views) that contain the masked columns.\n" + }, + "totalMaskedSchemas": { + "type": "string", + "description": "The total number of unique schemas that contain the masked columns.\n" + }, + "totalMaskedSensitiveTypes": { + "type": "string", + "description": "The total number of unique sensitive types associated with the masked columns.\n" + }, + "totalMaskedValues": { + "type": "string", + "description": "The total number of masked values.\n" + } + }, + "type": "object" + } + }, "oci:DataSafe/onPremConnector:OnPremConnector": { "description": "This resource provides the On Prem Connector resource in Oracle Cloud Infrastructure Data Safe service.\n\nCreates a new on-premises connector.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testOnPremConnector = new oci.datasafe.OnPremConnector(\"test_on_prem_connector\", {\n compartmentId: compartmentId,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: onPremConnectorDescription,\n displayName: onPremConnectorDisplayName,\n freeformTags: {\n Department: \"Finance\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_on_prem_connector = oci.data_safe.OnPremConnector(\"test_on_prem_connector\",\n compartment_id=compartment_id,\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=on_prem_connector_description,\n display_name=on_prem_connector_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 testOnPremConnector = new Oci.DataSafe.OnPremConnector(\"test_on_prem_connector\", new()\n {\n CompartmentId = compartmentId,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = onPremConnectorDescription,\n DisplayName = onPremConnectorDisplayName,\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/v2/go/oci/DataSafe\"\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 := DataSafe.NewOnPremConnector(ctx, \"test_on_prem_connector\", \u0026DataSafe.OnPremConnectorArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(onPremConnectorDescription),\n\t\t\tDisplayName: pulumi.Any(onPremConnectorDisplayName),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"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.DataSafe.OnPremConnector;\nimport com.pulumi.oci.DataSafe.OnPremConnectorArgs;\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 testOnPremConnector = new OnPremConnector(\"testOnPremConnector\", OnPremConnectorArgs.builder()\n .compartmentId(compartmentId)\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(onPremConnectorDescription)\n .displayName(onPremConnectorDisplayName)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testOnPremConnector:\n type: oci:DataSafe:OnPremConnector\n name: test_on_prem_connector\n properties:\n compartmentId: ${compartmentId}\n definedTags:\n Operations.CostCenter: '42'\n description: ${onPremConnectorDescription}\n displayName: ${onPremConnectorDisplayName}\n freeformTags:\n Department: Finance\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nOnPremConnectors can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DataSafe/onPremConnector:OnPremConnector test_on_prem_connector \"id\"\n```\n", "properties": { @@ -423078,51 +424442,64 @@ } }, "oci:DataSafe/securityPolicyDeploymentManagement:SecurityPolicyDeploymentManagement": { + "description": "This resource provides the Security Policy Deployment Management resource in Oracle Cloud Infrastructure Data Safe service.\n\nUpdates the security policy deployment.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSecurityPolicyDeploymentManagement = new oci.datasafe.SecurityPolicyDeploymentManagement(\"test_security_policy_deployment_management\", {\n compartmentId: compartmentId,\n targetId: testTargetDatabase.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: securityPolicyDeploymentManagementDescription,\n displayName: securityPolicyDeploymentManagementDisplayName,\n freeformTags: {\n Department: \"Finance\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_security_policy_deployment_management = oci.data_safe.SecurityPolicyDeploymentManagement(\"test_security_policy_deployment_management\",\n compartment_id=compartment_id,\n target_id=test_target_database[\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=security_policy_deployment_management_description,\n display_name=security_policy_deployment_management_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 testSecurityPolicyDeploymentManagement = new Oci.DataSafe.SecurityPolicyDeploymentManagement(\"test_security_policy_deployment_management\", new()\n {\n CompartmentId = compartmentId,\n TargetId = testTargetDatabase.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = securityPolicyDeploymentManagementDescription,\n DisplayName = securityPolicyDeploymentManagementDisplayName,\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/v2/go/oci/DataSafe\"\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 := DataSafe.NewSecurityPolicyDeploymentManagement(ctx, \"test_security_policy_deployment_management\", \u0026DataSafe.SecurityPolicyDeploymentManagementArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tTargetId: pulumi.Any(testTargetDatabase.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(securityPolicyDeploymentManagementDescription),\n\t\t\tDisplayName: pulumi.Any(securityPolicyDeploymentManagementDisplayName),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"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.DataSafe.SecurityPolicyDeploymentManagement;\nimport com.pulumi.oci.DataSafe.SecurityPolicyDeploymentManagementArgs;\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 testSecurityPolicyDeploymentManagement = new SecurityPolicyDeploymentManagement(\"testSecurityPolicyDeploymentManagement\", SecurityPolicyDeploymentManagementArgs.builder()\n .compartmentId(compartmentId)\n .targetId(testTargetDatabase.id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(securityPolicyDeploymentManagementDescription)\n .displayName(securityPolicyDeploymentManagementDisplayName)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSecurityPolicyDeploymentManagement:\n type: oci:DataSafe:SecurityPolicyDeploymentManagement\n name: test_security_policy_deployment_management\n properties:\n compartmentId: ${compartmentId}\n targetId: ${testTargetDatabase.id}\n definedTags:\n Operations.CostCenter: '42'\n description: ${securityPolicyDeploymentManagementDescription}\n displayName: ${securityPolicyDeploymentManagementDisplayName}\n freeformTags:\n Department: Finance\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport is not supported for this resource.\n\n", "properties": { "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the security policy deployment.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the security policy deployment.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "lifecycleDetails": { - "type": "string" + "type": "string", + "description": "Details about the current state of the security policy deployment in Data Safe.\n" }, "securityPolicyId": { - "type": "string" + "type": "string", + "description": "The OCID of the security policy corresponding to the security policy deployment.\n" }, "state": { - "type": "string" + "type": "string", + "description": "The current state of the security policy deployment.\n" }, "systemTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "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\"}`\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" }, "timeCreated": { - "type": "string" + "type": "string", + "description": "The time that the security policy deployment was created, in the format defined by RFC3339.\n" }, "timeUpdated": { - "type": "string" + "type": "string", + "description": "The last date and time the security policy deployment was updated, in the format defined by RFC3339.\n" } }, "required": [ @@ -423141,125 +424518,155 @@ ], "inputProperties": { "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the security policy deployment.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the security policy deployment.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" } }, "stateInputs": { "description": "Input properties used for looking up and filtering SecurityPolicyDeploymentManagement resources.\n", "properties": { "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the security policy deployment.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the security policy deployment.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "lifecycleDetails": { - "type": "string" + "type": "string", + "description": "Details about the current state of the security policy deployment in Data Safe.\n" }, "securityPolicyId": { - "type": "string" + "type": "string", + "description": "The OCID of the security policy corresponding to the security policy deployment.\n" }, "state": { - "type": "string" + "type": "string", + "description": "The current state of the security policy deployment.\n" }, "systemTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "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\"}`\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" }, "timeCreated": { - "type": "string" + "type": "string", + "description": "The time that the security policy deployment was created, in the format defined by RFC3339.\n" }, "timeUpdated": { - "type": "string" + "type": "string", + "description": "The last date and time the security policy deployment was updated, in the format defined by RFC3339.\n" } }, "type": "object" } }, "oci:DataSafe/securityPolicyManagement:SecurityPolicyManagement": { + "description": "This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service.\n\nUpdates the security policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSecurityPolicyManagement = new oci.datasafe.SecurityPolicyManagement(\"test_security_policy_management\", {\n compartmentId: compartmentId,\n targetId: testTargetDatabase.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: securityPolicyManagementDescription,\n displayName: securityPolicyManagementDisplayName,\n freeformTags: {\n Department: \"Finance\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_security_policy_management = oci.data_safe.SecurityPolicyManagement(\"test_security_policy_management\",\n compartment_id=compartment_id,\n target_id=test_target_database[\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=security_policy_management_description,\n display_name=security_policy_management_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 testSecurityPolicyManagement = new Oci.DataSafe.SecurityPolicyManagement(\"test_security_policy_management\", new()\n {\n CompartmentId = compartmentId,\n TargetId = testTargetDatabase.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = securityPolicyManagementDescription,\n DisplayName = securityPolicyManagementDisplayName,\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/v2/go/oci/DataSafe\"\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 := DataSafe.NewSecurityPolicyManagement(ctx, \"test_security_policy_management\", \u0026DataSafe.SecurityPolicyManagementArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tTargetId: pulumi.Any(testTargetDatabase.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(securityPolicyManagementDescription),\n\t\t\tDisplayName: pulumi.Any(securityPolicyManagementDisplayName),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"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.DataSafe.SecurityPolicyManagement;\nimport com.pulumi.oci.DataSafe.SecurityPolicyManagementArgs;\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 testSecurityPolicyManagement = new SecurityPolicyManagement(\"testSecurityPolicyManagement\", SecurityPolicyManagementArgs.builder()\n .compartmentId(compartmentId)\n .targetId(testTargetDatabase.id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(securityPolicyManagementDescription)\n .displayName(securityPolicyManagementDisplayName)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSecurityPolicyManagement:\n type: oci:DataSafe:SecurityPolicyManagement\n name: test_security_policy_management\n properties:\n compartmentId: ${compartmentId}\n targetId: ${testTargetDatabase.id}\n definedTags:\n Operations.CostCenter: '42'\n description: ${securityPolicyManagementDescription}\n displayName: ${securityPolicyManagementDisplayName}\n freeformTags:\n Department: Finance\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport is not supported for this resource.\n\n", "properties": { "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the security policy.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the security policy.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "lifecycleDetails": { - "type": "string" + "type": "string", + "description": "Details about the current state of the security policy in Data Safe.\n" }, "state": { - "type": "string" + "type": "string", + "description": "The current state of the security policy.\n" }, "systemTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "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\"}`\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" }, "timeCreated": { - "type": "string" + "type": "string", + "description": "The time that the security policy was created, in the format defined by RFC3339.\n" }, "timeUpdated": { - "type": "string" + "type": "string", + "description": "The last date and time the security policy was updated, in the format defined by RFC3339.\n" } }, "required": [ @@ -423277,74 +424684,91 @@ ], "inputProperties": { "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the security policy.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the security policy.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" } }, "stateInputs": { "description": "Input properties used for looking up and filtering SecurityPolicyManagement resources.\n", "properties": { "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the security policy.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the security policy.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "lifecycleDetails": { - "type": "string" + "type": "string", + "description": "Details about the current state of the security policy in Data Safe.\n" }, "state": { - "type": "string" + "type": "string", + "description": "The current state of the security policy.\n" }, "systemTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "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\"}`\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" }, "timeCreated": { - "type": "string" + "type": "string", + "description": "The time that the security policy was created, in the format defined by RFC3339.\n" }, "timeUpdated": { - "type": "string" + "type": "string", + "description": "The last date and time the security policy was updated, in the format defined by RFC3339.\n" } }, "type": "object" @@ -424329,6 +425753,76 @@ "type": "object" } }, + "oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement": { + "description": "This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service.\n\nSets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSetSecurityAssessmentBaselineManagement = new oci.datasafe.SetSecurityAssessmentBaselineManagement(\"test_set_security_assessment_baseline_management\", {\n targetId: testTargetDatabase.id,\n compartmentId: comaprtmentId,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_set_security_assessment_baseline_management = oci.data_safe.SetSecurityAssessmentBaselineManagement(\"test_set_security_assessment_baseline_management\",\n target_id=test_target_database[\"id\"],\n compartment_id=comaprtment_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 testSetSecurityAssessmentBaselineManagement = new Oci.DataSafe.SetSecurityAssessmentBaselineManagement(\"test_set_security_assessment_baseline_management\", new()\n {\n TargetId = testTargetDatabase.Id,\n CompartmentId = comaprtmentId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewSetSecurityAssessmentBaselineManagement(ctx, \"test_set_security_assessment_baseline_management\", \u0026DataSafe.SetSecurityAssessmentBaselineManagementArgs{\n\t\t\tTargetId: pulumi.Any(testTargetDatabase.Id),\n\t\t\tCompartmentId: pulumi.Any(comaprtmentId),\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.DataSafe.SetSecurityAssessmentBaselineManagement;\nimport com.pulumi.oci.DataSafe.SetSecurityAssessmentBaselineManagementArgs;\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 testSetSecurityAssessmentBaselineManagement = new SetSecurityAssessmentBaselineManagement(\"testSetSecurityAssessmentBaselineManagement\", SetSecurityAssessmentBaselineManagementArgs.builder()\n .targetId(testTargetDatabase.id())\n .compartmentId(comaprtmentId)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSetSecurityAssessmentBaselineManagement:\n type: oci:DataSafe:SetSecurityAssessmentBaselineManagement\n name: test_set_security_assessment_baseline_management\n properties:\n targetId: ${testTargetDatabase.id}\n compartmentId: ${comaprtmentId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management \"id\"\n```\n", + "properties": { + "assessmentIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "compartmentId": { + "type": "string", + "description": "The compartment OCID of the target.\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" + }, + "securityAssessmentId": { + "type": "string" + }, + "targetId": { + "type": "string", + "description": "The target OCID for which SA needs to be set as baseline.\n" + } + }, + "required": [ + "assessmentIds", + "compartmentId", + "securityAssessmentId", + "targetId" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "The compartment OCID of the target.\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 + }, + "targetId": { + "type": "string", + "description": "The target OCID for which SA needs to be set as baseline.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "compartmentId", + "targetId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering SetSecurityAssessmentBaselineManagement resources.\n", + "properties": { + "assessmentIds": { + "type": "array", + "items": { + "type": "string" + }, + "willReplaceOnChanges": true + }, + "compartmentId": { + "type": "string", + "description": "The compartment OCID of the target.\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 + }, + "securityAssessmentId": { + "type": "string" + }, + "targetId": { + "type": "string", + "description": "The target OCID for which SA needs to be set as baseline.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, "oci:DataSafe/setUserAssessmentBaseline:SetUserAssessmentBaseline": { "description": "This resource provides the Set User Assessment Baseline resource in Oracle Cloud Infrastructure Data Safe service.\n\nSets the saved user assessment as the baseline in the compartment where the specified assessment resides. The user assessment needs to be of type 'SAVED'.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSetUserAssessmentBaseline = new oci.datasafe.SetUserAssessmentBaseline(\"test_set_user_assessment_baseline\", {\n userAssessmentId: testUserAssessment.id,\n assessmentIds: setUserAssessmentBaselineAssessmentIds,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_set_user_assessment_baseline = oci.data_safe.SetUserAssessmentBaseline(\"test_set_user_assessment_baseline\",\n user_assessment_id=test_user_assessment[\"id\"],\n assessment_ids=set_user_assessment_baseline_assessment_ids)\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 testSetUserAssessmentBaseline = new Oci.DataSafe.SetUserAssessmentBaseline(\"test_set_user_assessment_baseline\", new()\n {\n UserAssessmentId = testUserAssessment.Id,\n AssessmentIds = setUserAssessmentBaselineAssessmentIds,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewSetUserAssessmentBaseline(ctx, \"test_set_user_assessment_baseline\", \u0026DataSafe.SetUserAssessmentBaselineArgs{\n\t\t\tUserAssessmentId: pulumi.Any(testUserAssessment.Id),\n\t\t\tAssessmentIds: pulumi.Any(setUserAssessmentBaselineAssessmentIds),\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.DataSafe.SetUserAssessmentBaseline;\nimport com.pulumi.oci.DataSafe.SetUserAssessmentBaselineArgs;\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 testSetUserAssessmentBaseline = new SetUserAssessmentBaseline(\"testSetUserAssessmentBaseline\", SetUserAssessmentBaselineArgs.builder()\n .userAssessmentId(testUserAssessment.id())\n .assessmentIds(setUserAssessmentBaselineAssessmentIds)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSetUserAssessmentBaseline:\n type: oci:DataSafe:SetUserAssessmentBaseline\n name: test_set_user_assessment_baseline\n properties:\n userAssessmentId: ${testUserAssessment.id}\n assessmentIds: ${setUserAssessmentBaselineAssessmentIds}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSetUserAssessmentBaseline can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DataSafe/setUserAssessmentBaseline:SetUserAssessmentBaseline test_set_user_assessment_baseline \"id\"\n```\n", "properties": { @@ -424386,6 +425880,76 @@ "type": "object" } }, + "oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement": { + "description": "This resource provides the Set User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service.\n\nSets the saved user assessment as the baseline in the compartment where the the specified assessment resides. The user assessment needs to be of type 'SAVED'.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSetUserAssessmentBaselineManagement = new oci.datasafe.SetUserAssessmentBaselineManagement(\"test_set_user_assessment_baseline_management\", {\n targetId: testTargetDatabase.id,\n compartmentId: comaprtmentId,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_set_user_assessment_baseline_management = oci.data_safe.SetUserAssessmentBaselineManagement(\"test_set_user_assessment_baseline_management\",\n target_id=test_target_database[\"id\"],\n compartment_id=comaprtment_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 testSetUserAssessmentBaselineManagement = new Oci.DataSafe.SetUserAssessmentBaselineManagement(\"test_set_user_assessment_baseline_management\", new()\n {\n TargetId = testTargetDatabase.Id,\n CompartmentId = comaprtmentId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewSetUserAssessmentBaselineManagement(ctx, \"test_set_user_assessment_baseline_management\", \u0026DataSafe.SetUserAssessmentBaselineManagementArgs{\n\t\t\tTargetId: pulumi.Any(testTargetDatabase.Id),\n\t\t\tCompartmentId: pulumi.Any(comaprtmentId),\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.DataSafe.SetUserAssessmentBaselineManagement;\nimport com.pulumi.oci.DataSafe.SetUserAssessmentBaselineManagementArgs;\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 testSetUserAssessmentBaselineManagement = new SetUserAssessmentBaselineManagement(\"testSetUserAssessmentBaselineManagement\", SetUserAssessmentBaselineManagementArgs.builder()\n .targetId(testTargetDatabase.id())\n .compartmentId(comaprtmentId)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSetUserAssessmentBaselineManagement:\n type: oci:DataSafe:SetUserAssessmentBaselineManagement\n name: test_set_user_assessment_baseline_management\n properties:\n targetId: ${testTargetDatabase.id}\n compartmentId: ${comaprtmentId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSetUserAssessmentBaselineManagement can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement test_set_user_assessment_baseline_management \"id\"\n```\n", + "properties": { + "assessmentIds": { + "type": "array", + "items": { + "type": "string" + } + }, + "compartmentId": { + "type": "string", + "description": "The compartment OCID of the target.\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" + }, + "targetId": { + "type": "string", + "description": "The target OCID for which UA needs to be set as baseline.\n" + }, + "userAssessmentId": { + "type": "string" + } + }, + "required": [ + "assessmentIds", + "compartmentId", + "targetId", + "userAssessmentId" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "The compartment OCID of the target.\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 + }, + "targetId": { + "type": "string", + "description": "The target OCID for which UA needs to be set as baseline.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "compartmentId", + "targetId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering SetUserAssessmentBaselineManagement resources.\n", + "properties": { + "assessmentIds": { + "type": "array", + "items": { + "type": "string" + }, + "willReplaceOnChanges": true + }, + "compartmentId": { + "type": "string", + "description": "The compartment OCID of the target.\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 + }, + "targetId": { + "type": "string", + "description": "The target OCID for which UA needs to be set as baseline.\n", + "willReplaceOnChanges": true + }, + "userAssessmentId": { + "type": "string" + } + }, + "type": "object" + } + }, "oci:DataSafe/sqlCollection:SqlCollection": { "description": "This resource provides the Sql Collection resource in Oracle Cloud Infrastructure Data Safe service.\n\nCreates a new SQL collection resource.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSqlCollection = new oci.datasafe.SqlCollection(\"test_sql_collection\", {\n compartmentId: compartmentId,\n dbUserName: testUser.name,\n targetId: testTarget.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: sqlCollectionDescription,\n displayName: sqlCollectionDisplayName,\n freeformTags: {\n Department: \"Finance\",\n },\n sqlLevel: sqlCollectionSqlLevel,\n status: sqlCollectionStatus,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_sql_collection = oci.data_safe.SqlCollection(\"test_sql_collection\",\n compartment_id=compartment_id,\n db_user_name=test_user[\"name\"],\n target_id=test_target[\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=sql_collection_description,\n display_name=sql_collection_display_name,\n freeform_tags={\n \"Department\": \"Finance\",\n },\n sql_level=sql_collection_sql_level,\n status=sql_collection_status)\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 testSqlCollection = new Oci.DataSafe.SqlCollection(\"test_sql_collection\", new()\n {\n CompartmentId = compartmentId,\n DbUserName = testUser.Name,\n TargetId = testTarget.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = sqlCollectionDescription,\n DisplayName = sqlCollectionDisplayName,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n SqlLevel = sqlCollectionSqlLevel,\n Status = sqlCollectionStatus,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewSqlCollection(ctx, \"test_sql_collection\", \u0026DataSafe.SqlCollectionArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDbUserName: pulumi.Any(testUser.Name),\n\t\t\tTargetId: pulumi.Any(testTarget.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(sqlCollectionDescription),\n\t\t\tDisplayName: pulumi.Any(sqlCollectionDisplayName),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tSqlLevel: pulumi.Any(sqlCollectionSqlLevel),\n\t\t\tStatus: pulumi.Any(sqlCollectionStatus),\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.DataSafe.SqlCollection;\nimport com.pulumi.oci.DataSafe.SqlCollectionArgs;\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 testSqlCollection = new SqlCollection(\"testSqlCollection\", SqlCollectionArgs.builder()\n .compartmentId(compartmentId)\n .dbUserName(testUser.name())\n .targetId(testTarget.id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(sqlCollectionDescription)\n .displayName(sqlCollectionDisplayName)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .sqlLevel(sqlCollectionSqlLevel)\n .status(sqlCollectionStatus)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSqlCollection:\n type: oci:DataSafe:SqlCollection\n name: test_sql_collection\n properties:\n compartmentId: ${compartmentId}\n dbUserName: ${testUser.name}\n targetId: ${testTarget.id}\n definedTags:\n Operations.CostCenter: '42'\n description: ${sqlCollectionDescription}\n displayName: ${sqlCollectionDisplayName}\n freeformTags:\n Department: Finance\n sqlLevel: ${sqlCollectionSqlLevel}\n status: ${sqlCollectionStatus}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nSqlCollections can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DataSafe/sqlCollection:SqlCollection test_sql_collection \"id\"\n```\n", "properties": { @@ -424991,90 +426555,113 @@ } }, "oci:DataSafe/sqlFirewallPolicyManagement:SqlFirewallPolicyManagement": { + "description": "This resource provides the Sql Firewall Policy Management resource in Oracle Cloud Infrastructure Data Safe service.\n\nUpdates the SQL firewall policy.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSqlFirewallPolicyManagement = new oci.datasafe.SqlFirewallPolicyManagement(\"test_sql_firewall_policy_management\", {\n compartmentId: compartmentId,\n targetId: testTargetDatabase.id,\n dbUserName: testUser.name,\n allowedClientIps: sqlFirewallPolicyManagementAllowedClientIps,\n allowedClientOsUsernames: sqlFirewallPolicyManagementAllowedClientOsUsernames,\n allowedClientPrograms: sqlFirewallPolicyManagementAllowedClientPrograms,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: sqlFirewallPolicyManagementDescription,\n displayName: sqlFirewallPolicyManagementDisplayName,\n enforcementScope: sqlFirewallPolicyManagementEnforcementScope,\n freeformTags: {\n Department: \"Finance\",\n },\n status: sqlFirewallPolicyManagementStatus,\n violationAction: sqlFirewallPolicyManagementViolationAction,\n violationAudit: sqlFirewallPolicyManagementViolationAudit,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_sql_firewall_policy_management = oci.data_safe.SqlFirewallPolicyManagement(\"test_sql_firewall_policy_management\",\n compartment_id=compartment_id,\n target_id=test_target_database[\"id\"],\n db_user_name=test_user[\"name\"],\n allowed_client_ips=sql_firewall_policy_management_allowed_client_ips,\n allowed_client_os_usernames=sql_firewall_policy_management_allowed_client_os_usernames,\n allowed_client_programs=sql_firewall_policy_management_allowed_client_programs,\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=sql_firewall_policy_management_description,\n display_name=sql_firewall_policy_management_display_name,\n enforcement_scope=sql_firewall_policy_management_enforcement_scope,\n freeform_tags={\n \"Department\": \"Finance\",\n },\n status=sql_firewall_policy_management_status,\n violation_action=sql_firewall_policy_management_violation_action,\n violation_audit=sql_firewall_policy_management_violation_audit)\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 testSqlFirewallPolicyManagement = new Oci.DataSafe.SqlFirewallPolicyManagement(\"test_sql_firewall_policy_management\", new()\n {\n CompartmentId = compartmentId,\n TargetId = testTargetDatabase.Id,\n DbUserName = testUser.Name,\n AllowedClientIps = sqlFirewallPolicyManagementAllowedClientIps,\n AllowedClientOsUsernames = sqlFirewallPolicyManagementAllowedClientOsUsernames,\n AllowedClientPrograms = sqlFirewallPolicyManagementAllowedClientPrograms,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = sqlFirewallPolicyManagementDescription,\n DisplayName = sqlFirewallPolicyManagementDisplayName,\n EnforcementScope = sqlFirewallPolicyManagementEnforcementScope,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n Status = sqlFirewallPolicyManagementStatus,\n ViolationAction = sqlFirewallPolicyManagementViolationAction,\n ViolationAudit = sqlFirewallPolicyManagementViolationAudit,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewSqlFirewallPolicyManagement(ctx, \"test_sql_firewall_policy_management\", \u0026DataSafe.SqlFirewallPolicyManagementArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tTargetId: pulumi.Any(testTargetDatabase.Id),\n\t\t\tDbUserName: pulumi.Any(testUser.Name),\n\t\t\tAllowedClientIps: pulumi.Any(sqlFirewallPolicyManagementAllowedClientIps),\n\t\t\tAllowedClientOsUsernames: pulumi.Any(sqlFirewallPolicyManagementAllowedClientOsUsernames),\n\t\t\tAllowedClientPrograms: pulumi.Any(sqlFirewallPolicyManagementAllowedClientPrograms),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(sqlFirewallPolicyManagementDescription),\n\t\t\tDisplayName: pulumi.Any(sqlFirewallPolicyManagementDisplayName),\n\t\t\tEnforcementScope: pulumi.Any(sqlFirewallPolicyManagementEnforcementScope),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tStatus: pulumi.Any(sqlFirewallPolicyManagementStatus),\n\t\t\tViolationAction: pulumi.Any(sqlFirewallPolicyManagementViolationAction),\n\t\t\tViolationAudit: pulumi.Any(sqlFirewallPolicyManagementViolationAudit),\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.DataSafe.SqlFirewallPolicyManagement;\nimport com.pulumi.oci.DataSafe.SqlFirewallPolicyManagementArgs;\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 testSqlFirewallPolicyManagement = new SqlFirewallPolicyManagement(\"testSqlFirewallPolicyManagement\", SqlFirewallPolicyManagementArgs.builder()\n .compartmentId(compartmentId)\n .targetId(testTargetDatabase.id())\n .dbUserName(testUser.name())\n .allowedClientIps(sqlFirewallPolicyManagementAllowedClientIps)\n .allowedClientOsUsernames(sqlFirewallPolicyManagementAllowedClientOsUsernames)\n .allowedClientPrograms(sqlFirewallPolicyManagementAllowedClientPrograms)\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(sqlFirewallPolicyManagementDescription)\n .displayName(sqlFirewallPolicyManagementDisplayName)\n .enforcementScope(sqlFirewallPolicyManagementEnforcementScope)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .status(sqlFirewallPolicyManagementStatus)\n .violationAction(sqlFirewallPolicyManagementViolationAction)\n .violationAudit(sqlFirewallPolicyManagementViolationAudit)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSqlFirewallPolicyManagement:\n type: oci:DataSafe:SqlFirewallPolicyManagement\n name: test_sql_firewall_policy_management\n properties:\n compartmentId: ${compartmentId}\n targetId: ${testTargetDatabase.id}\n dbUserName: ${testUser.name}\n allowedClientIps: ${sqlFirewallPolicyManagementAllowedClientIps}\n allowedClientOsUsernames: ${sqlFirewallPolicyManagementAllowedClientOsUsernames}\n allowedClientPrograms: ${sqlFirewallPolicyManagementAllowedClientPrograms}\n definedTags:\n Operations.CostCenter: '42'\n description: ${sqlFirewallPolicyManagementDescription}\n displayName: ${sqlFirewallPolicyManagementDisplayName}\n enforcementScope: ${sqlFirewallPolicyManagementEnforcementScope}\n freeformTags:\n Department: Finance\n status: ${sqlFirewallPolicyManagementStatus}\n violationAction: ${sqlFirewallPolicyManagementViolationAction}\n violationAudit: ${sqlFirewallPolicyManagementViolationAudit}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport is not supported for this resource.\n\n", "properties": { "allowedClientIps": { "type": "array", "items": { "type": "string" - } + }, + "description": "(Updatable) List of allowed ip addresses for the SQL firewall policy.\n" }, "allowedClientOsUsernames": { "type": "array", "items": { "type": "string" - } + }, + "description": "(Updatable) List of allowed operating system user names for the SQL firewall policy.\n" }, "allowedClientPrograms": { "type": "array", "items": { "type": "string" - } + }, + "description": "(Updatable) List of allowed client programs for the SQL firewall policy.\n" }, "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the SQL firewall policy.\n" }, "dbUserName": { - "type": "string" + "type": "string", + "description": "The database user name.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the SQL firewall policy.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable.\n" }, "enforcementScope": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies the SQL firewall policy enforcement option.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "lifecycleDetails": { - "type": "string" + "type": "string", + "description": "Details about the current state of the SQL firewall policy in Data Safe.\n" }, "securityPolicyId": { - "type": "string" + "type": "string", + "description": "The OCID of the security policy corresponding to the SQL firewall policy.\n" }, "sqlFirewallPolicyId": { - "type": "string" + "type": "string", + "description": "The OCID of the SQL firewall policy resource.\n" }, "sqlLevel": { - "type": "string" + "type": "string", + "description": "Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.\n" }, "state": { - "type": "string" + "type": "string", + "description": "The current state of the SQL firewall policy.\n" }, "status": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies whether the SQL firewall policy is enabled or disabled.\n" }, "systemTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "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\"}`\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" }, "timeCreated": { - "type": "string" + "type": "string", + "description": "The time that the SQL firewall policy was created, in the format defined by RFC3339.\n" }, "timeUpdated": { - "type": "string" + "type": "string", + "description": "The date and time the SQL firewall policy was last updated, in the format defined by RFC3339.\n" }, "violationAction": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations.\n" }, "violationAudit": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations.\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": [ @@ -425106,64 +426693,80 @@ "type": "array", "items": { "type": "string" - } + }, + "description": "(Updatable) List of allowed ip addresses for the SQL firewall policy.\n" }, "allowedClientOsUsernames": { "type": "array", "items": { "type": "string" - } + }, + "description": "(Updatable) List of allowed operating system user names for the SQL firewall policy.\n" }, "allowedClientPrograms": { "type": "array", "items": { "type": "string" - } + }, + "description": "(Updatable) List of allowed client programs for the SQL firewall policy.\n" }, "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the SQL firewall policy.\n" }, "dbUserName": { - "type": "string" + "type": "string", + "description": "The database user name.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the SQL firewall policy.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable.\n" }, "enforcementScope": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies the SQL firewall policy enforcement option.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "sqlFirewallPolicyId": { - "type": "string" + "type": "string", + "description": "The OCID of the SQL firewall policy resource.\n" }, "state": { - "type": "string" + "type": "string", + "description": "The current state of the SQL firewall policy.\n" }, "status": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies whether the SQL firewall policy is enabled or disabled.\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" }, "violationAction": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations.\n" }, "violationAudit": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations.\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" } }, "stateInputs": { @@ -425173,85 +426776,107 @@ "type": "array", "items": { "type": "string" - } + }, + "description": "(Updatable) List of allowed ip addresses for the SQL firewall policy.\n" }, "allowedClientOsUsernames": { "type": "array", "items": { "type": "string" - } + }, + "description": "(Updatable) List of allowed operating system user names for the SQL firewall policy.\n" }, "allowedClientPrograms": { "type": "array", "items": { "type": "string" - } + }, + "description": "(Updatable) List of allowed client programs for the SQL firewall policy.\n" }, "compartmentId": { - "type": "string" + "type": "string", + "description": "(Updatable) The OCID of the compartment containing the SQL firewall policy.\n" }, "dbUserName": { - "type": "string" + "type": "string", + "description": "The database user name.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "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" }, "description": { - "type": "string" + "type": "string", + "description": "(Updatable) The description of the SQL firewall policy.\n" }, "displayName": { - "type": "string" + "type": "string", + "description": "(Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable.\n" }, "enforcementScope": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies the SQL firewall policy enforcement option.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "(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\"}`\n" }, "lifecycleDetails": { - "type": "string" + "type": "string", + "description": "Details about the current state of the SQL firewall policy in Data Safe.\n" }, "securityPolicyId": { - "type": "string" + "type": "string", + "description": "The OCID of the security policy corresponding to the SQL firewall policy.\n" }, "sqlFirewallPolicyId": { - "type": "string" + "type": "string", + "description": "The OCID of the SQL firewall policy resource.\n" }, "sqlLevel": { - "type": "string" + "type": "string", + "description": "Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units.\n" }, "state": { - "type": "string" + "type": "string", + "description": "The current state of the SQL firewall policy.\n" }, "status": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies whether the SQL firewall policy is enabled or disabled.\n" }, "systemTags": { "type": "object", "additionalProperties": { "type": "string" - } + }, + "description": "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\"}`\n" }, "targetId": { - "type": "string" + "type": "string", + "description": "Unique target identifier.\n" }, "timeCreated": { - "type": "string" + "type": "string", + "description": "The time that the SQL firewall policy was created, in the format defined by RFC3339.\n" }, "timeUpdated": { - "type": "string" + "type": "string", + "description": "The date and time the SQL firewall policy was last updated, in the format defined by RFC3339.\n" }, "violationAction": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations.\n" }, "violationAudit": { - "type": "string" + "type": "string", + "description": "(Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations.\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" @@ -425926,6 +427551,55 @@ "type": "object" } }, + "oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement": { + "description": "This resource provides the Unset Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service.\n\nRemoves the baseline setting for the saved security assessment as the baseline in the compartment where the the specified assessment resides.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testUnsetSecurityAssessmentBaselineManagement = new oci.datasafe.UnsetSecurityAssessmentBaselineManagement(\"test_unset_security_assessment_baseline_management\", {\n securityAssessmentId: testSetSecurityAssessmentBaselineManagement.securityAssessmentId,\n compartmentId: comaprtmentId,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_unset_security_assessment_baseline_management = oci.data_safe.UnsetSecurityAssessmentBaselineManagement(\"test_unset_security_assessment_baseline_management\",\n security_assessment_id=test_set_security_assessment_baseline_management[\"securityAssessmentId\"],\n compartment_id=comaprtment_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 testUnsetSecurityAssessmentBaselineManagement = new Oci.DataSafe.UnsetSecurityAssessmentBaselineManagement(\"test_unset_security_assessment_baseline_management\", new()\n {\n SecurityAssessmentId = testSetSecurityAssessmentBaselineManagement.SecurityAssessmentId,\n CompartmentId = comaprtmentId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewUnsetSecurityAssessmentBaselineManagement(ctx, \"test_unset_security_assessment_baseline_management\", \u0026DataSafe.UnsetSecurityAssessmentBaselineManagementArgs{\n\t\t\tSecurityAssessmentId: pulumi.Any(testSetSecurityAssessmentBaselineManagement.SecurityAssessmentId),\n\t\t\tCompartmentId: pulumi.Any(comaprtmentId),\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.DataSafe.UnsetSecurityAssessmentBaselineManagement;\nimport com.pulumi.oci.DataSafe.UnsetSecurityAssessmentBaselineManagementArgs;\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 testUnsetSecurityAssessmentBaselineManagement = new UnsetSecurityAssessmentBaselineManagement(\"testUnsetSecurityAssessmentBaselineManagement\", UnsetSecurityAssessmentBaselineManagementArgs.builder()\n .securityAssessmentId(testSetSecurityAssessmentBaselineManagement.securityAssessmentId())\n .compartmentId(comaprtmentId)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testUnsetSecurityAssessmentBaselineManagement:\n type: oci:DataSafe:UnsetSecurityAssessmentBaselineManagement\n name: test_unset_security_assessment_baseline_management\n properties:\n securityAssessmentId: ${testSetSecurityAssessmentBaselineManagement.securityAssessmentId}\n compartmentId: ${comaprtmentId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUnsetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement test_unset_security_assessment_baseline_management \"id\"\n```\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The compartment OCID where the assessment resides.\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" + }, + "securityAssessmentId": { + "type": "string", + "description": "The OCID of the security assessment.\n" + } + }, + "required": [ + "compartmentId", + "securityAssessmentId" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "The compartment OCID where the assessment resides.\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 + }, + "securityAssessmentId": { + "type": "string", + "description": "The OCID of the security assessment.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "compartmentId", + "securityAssessmentId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering UnsetSecurityAssessmentBaselineManagement resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The compartment OCID where the assessment resides.\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 + }, + "securityAssessmentId": { + "type": "string", + "description": "The OCID of the security assessment.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, "oci:DataSafe/unsetUserAssessmentBaseline:UnsetUserAssessmentBaseline": { "description": "This resource provides the Unset User Assessment Baseline resource in Oracle Cloud Infrastructure Data Safe service.\n\nRemoves the baseline setting for the saved user assessment associated with the targetId passed via body.\nIf no body or empty body is passed then the baseline settings of all the saved user assessments pertaining to the baseline assessment OCID provided in the path will be removed.\nSets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testUnsetUserAssessmentBaseline = new oci.datasafe.UnsetUserAssessmentBaseline(\"test_unset_user_assessment_baseline\", {\n userAssessmentId: testUserAssessment.id,\n targetIds: unsetUserAssessmentBaselineTargetIds,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_unset_user_assessment_baseline = oci.data_safe.UnsetUserAssessmentBaseline(\"test_unset_user_assessment_baseline\",\n user_assessment_id=test_user_assessment[\"id\"],\n target_ids=unset_user_assessment_baseline_target_ids)\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 testUnsetUserAssessmentBaseline = new Oci.DataSafe.UnsetUserAssessmentBaseline(\"test_unset_user_assessment_baseline\", new()\n {\n UserAssessmentId = testUserAssessment.Id,\n TargetIds = unsetUserAssessmentBaselineTargetIds,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewUnsetUserAssessmentBaseline(ctx, \"test_unset_user_assessment_baseline\", \u0026DataSafe.UnsetUserAssessmentBaselineArgs{\n\t\t\tUserAssessmentId: pulumi.Any(testUserAssessment.Id),\n\t\t\tTargetIds: pulumi.Any(unsetUserAssessmentBaselineTargetIds),\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.DataSafe.UnsetUserAssessmentBaseline;\nimport com.pulumi.oci.DataSafe.UnsetUserAssessmentBaselineArgs;\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 testUnsetUserAssessmentBaseline = new UnsetUserAssessmentBaseline(\"testUnsetUserAssessmentBaseline\", UnsetUserAssessmentBaselineArgs.builder()\n .userAssessmentId(testUserAssessment.id())\n .targetIds(unsetUserAssessmentBaselineTargetIds)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testUnsetUserAssessmentBaseline:\n type: oci:DataSafe:UnsetUserAssessmentBaseline\n name: test_unset_user_assessment_baseline\n properties:\n userAssessmentId: ${testUserAssessment.id}\n targetIds: ${unsetUserAssessmentBaselineTargetIds}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUnsetUserAssessmentBaseline can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DataSafe/unsetUserAssessmentBaseline:UnsetUserAssessmentBaseline test_unset_user_assessment_baseline \"id\"\n```\n", "properties": { @@ -425983,6 +427657,55 @@ "type": "object" } }, + "oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement": { + "description": "This resource provides the Unset User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service.\n\nRemoves the baseline setting for the saved user assessment as the baseline in the compartment where the the specified assessment resides.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testUnsetUserAssessmentBaselineManagement = new oci.datasafe.UnsetUserAssessmentBaselineManagement(\"test_unset_user_assessment_baseline_management\", {\n userAssessmentId: testSetUserAssessmentBaselineManagement.userAssessmentId,\n compartmentId: comaprtmentId,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_unset_user_assessment_baseline_management = oci.data_safe.UnsetUserAssessmentBaselineManagement(\"test_unset_user_assessment_baseline_management\",\n user_assessment_id=test_set_user_assessment_baseline_management[\"userAssessmentId\"],\n compartment_id=comaprtment_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 testUnsetUserAssessmentBaselineManagement = new Oci.DataSafe.UnsetUserAssessmentBaselineManagement(\"test_unset_user_assessment_baseline_management\", new()\n {\n UserAssessmentId = testSetUserAssessmentBaselineManagement.UserAssessmentId,\n CompartmentId = comaprtmentId,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewUnsetUserAssessmentBaselineManagement(ctx, \"test_unset_user_assessment_baseline_management\", \u0026DataSafe.UnsetUserAssessmentBaselineManagementArgs{\n\t\t\tUserAssessmentId: pulumi.Any(testSetUserAssessmentBaselineManagement.UserAssessmentId),\n\t\t\tCompartmentId: pulumi.Any(comaprtmentId),\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.DataSafe.UnsetUserAssessmentBaselineManagement;\nimport com.pulumi.oci.DataSafe.UnsetUserAssessmentBaselineManagementArgs;\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 testUnsetUserAssessmentBaselineManagement = new UnsetUserAssessmentBaselineManagement(\"testUnsetUserAssessmentBaselineManagement\", UnsetUserAssessmentBaselineManagementArgs.builder()\n .userAssessmentId(testSetUserAssessmentBaselineManagement.userAssessmentId())\n .compartmentId(comaprtmentId)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testUnsetUserAssessmentBaselineManagement:\n type: oci:DataSafe:UnsetUserAssessmentBaselineManagement\n name: test_unset_user_assessment_baseline_management\n properties:\n userAssessmentId: ${testSetUserAssessmentBaselineManagement.userAssessmentId}\n compartmentId: ${comaprtmentId}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUnsetUserAssessmentBaselineManagement can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement test_unset_user_assessment_baseline_management \"id\"\n```\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The compartment OCID where the assessment resides.\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" + }, + "userAssessmentId": { + "type": "string", + "description": "The OCID of the user assessment.\n" + } + }, + "required": [ + "compartmentId", + "userAssessmentId" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "The compartment OCID where the assessment resides.\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 + }, + "userAssessmentId": { + "type": "string", + "description": "The OCID of the user assessment.\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "compartmentId", + "userAssessmentId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering UnsetUserAssessmentBaselineManagement resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The compartment OCID where the assessment resides.\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 + }, + "userAssessmentId": { + "type": "string", + "description": "The OCID of the user assessment.\n", + "willReplaceOnChanges": true + } + }, + "type": "object" + } + }, "oci:DataSafe/userAssessment:UserAssessment": { "description": "This resource provides the User Assessment resource in Oracle Cloud Infrastructure Data Safe service.\n\nCreates a new saved user assessment for one or multiple targets in a compartment. It saves the latest assessments in the\nspecified compartment. If a scheduled is passed in, this operation persists the latest assessments that exist at the defined\ndate and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339).\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testUserAssessment = new oci.datasafe.UserAssessment(\"test_user_assessment\", {\n compartmentId: compartmentId,\n targetId: testTarget.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: userAssessmentDescription,\n displayName: userAssessmentDisplayName,\n freeformTags: {\n Department: \"Finance\",\n },\n isAssessmentScheduled: userAssessmentIsAssessmentScheduled,\n schedule: userAssessmentSchedule,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_user_assessment = oci.data_safe.UserAssessment(\"test_user_assessment\",\n compartment_id=compartment_id,\n target_id=test_target[\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=user_assessment_description,\n display_name=user_assessment_display_name,\n freeform_tags={\n \"Department\": \"Finance\",\n },\n is_assessment_scheduled=user_assessment_is_assessment_scheduled,\n schedule=user_assessment_schedule)\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 testUserAssessment = new Oci.DataSafe.UserAssessment(\"test_user_assessment\", new()\n {\n CompartmentId = compartmentId,\n TargetId = testTarget.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = userAssessmentDescription,\n DisplayName = userAssessmentDisplayName,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n IsAssessmentScheduled = userAssessmentIsAssessmentScheduled,\n Schedule = userAssessmentSchedule,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe\"\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 := DataSafe.NewUserAssessment(ctx, \"test_user_assessment\", \u0026DataSafe.UserAssessmentArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tTargetId: pulumi.Any(testTarget.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(userAssessmentDescription),\n\t\t\tDisplayName: pulumi.Any(userAssessmentDisplayName),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tIsAssessmentScheduled: pulumi.Any(userAssessmentIsAssessmentScheduled),\n\t\t\tSchedule: pulumi.Any(userAssessmentSchedule),\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.DataSafe.UserAssessment;\nimport com.pulumi.oci.DataSafe.UserAssessmentArgs;\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 testUserAssessment = new UserAssessment(\"testUserAssessment\", UserAssessmentArgs.builder()\n .compartmentId(compartmentId)\n .targetId(testTarget.id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(userAssessmentDescription)\n .displayName(userAssessmentDisplayName)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .isAssessmentScheduled(userAssessmentIsAssessmentScheduled)\n .schedule(userAssessmentSchedule)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testUserAssessment:\n type: oci:DataSafe:UserAssessment\n name: test_user_assessment\n properties:\n compartmentId: ${compartmentId}\n targetId: ${testTarget.id}\n definedTags:\n Operations.CostCenter: '42'\n description: ${userAssessmentDescription}\n displayName: ${userAssessmentDisplayName}\n freeformTags:\n Department: Finance\n isAssessmentScheduled: ${userAssessmentIsAssessmentScheduled}\n schedule: ${userAssessmentSchedule}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nUserAssessments can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DataSafe/userAssessment:UserAssessment test_user_assessment \"id\"\n```\n", "properties": { @@ -430509,6 +432232,10 @@ "type": "string", "description": "The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.\n" }, + "availabilityDomain": { + "type": "string", + "description": "The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" + }, "availableUpgradeVersions": { "type": "array", "items": { @@ -431086,6 +432813,7 @@ "autonomousDatabaseBackupId", "autonomousDatabaseId", "autonomousMaintenanceScheduleType", + "availabilityDomain", "availableUpgradeVersions", "backupConfigs", "backupRetentionPeriodInDays", @@ -431627,6 +433355,10 @@ "description": "The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle.\n", "willReplaceOnChanges": true }, + "availabilityDomain": { + "type": "string", + "description": "The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n" + }, "availableUpgradeVersions": { "type": "array", "items": { @@ -436601,7 +438333,7 @@ } }, "oci:Database/dataGuardAssociation:DataGuardAssociation": { - "description": "This resource provides the Data Guard Association resource in Oracle Cloud Infrastructure Database service.\n\nCreates a new Data Guard association. A Data Guard association represents the replication relationship between the\nspecified database and a peer database. For more information, see [Using Oracle Data Guard](https://docs.cloud.oracle.com/iaas/Content/Database/Tasks/usingdataguard.htm).\n\nAll Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID\ncalled an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response.\nYou can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the\nresource in the Console. For more information, see\n[Resource Identifiers](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDataGuardAssociation = new oci.database.DataGuardAssociation(\"test_data_guard_association\", {\n creationType: dataGuardAssociationCreationType,\n databaseAdminPassword: dataGuardAssociationDatabaseAdminPassword,\n databaseId: testDatabase.id,\n deleteStandbyDbHomeOnDelete: dataGuardAssociationDeleteStandbyDbHomeOnDelete,\n protectionMode: dataGuardAssociationProtectionMode,\n transportType: dataGuardAssociationTransportType,\n availabilityDomain: dataGuardAssociationAvailabilityDomain,\n backupNetworkNsgIds: dataGuardAssociationBackupNetworkNsgIds,\n cpuCoreCount: dataGuardAssociationCpuCoreCount,\n databaseDefinedTags: dataGuardAssociationDatabaseDefinedTags,\n databaseFreeformTags: dataGuardAssociationDatabaseFreeformTags,\n dataCollectionOptions: {\n isDiagnosticsEventsEnabled: dataGuardAssociationDataCollectionOptionsIsDiagnosticsEventsEnabled,\n isHealthMonitoringEnabled: dataGuardAssociationDataCollectionOptionsIsHealthMonitoringEnabled,\n isIncidentLogsEnabled: dataGuardAssociationDataCollectionOptionsIsIncidentLogsEnabled,\n },\n databaseSoftwareImageId: testDatabaseSoftwareImage.id,\n dbSystemDefinedTags: dataGuardAssociationDbSystemDefinedTags,\n dbSystemFreeformTags: dataGuardAssociationDbSystemFreeformTags,\n displayName: dataGuardAssociationDisplayName,\n faultDomains: dataGuardAssociationFaultDomains,\n hostname: dataGuardAssociationHostname,\n isActiveDataGuardEnabled: dataGuardAssociationIsActiveDataGuardEnabled,\n licenseModel: dataGuardAssociationLicenseModel,\n nodeCount: dataGuardAssociationNodeCount,\n nsgIds: dataGuardAssociationNsgIds,\n peerDbHomeId: testDbHome.id,\n peerDbSystemId: testDbSystem.id,\n peerDbUniqueName: dataGuardAssociationPeerDbUniqueName,\n peerSidPrefix: dataGuardAssociationPeerSidPrefix,\n peerVmClusterId: testVmCluster.id,\n privateIp: dataGuardAssociationPrivateIp,\n shape: dataGuardAssociationShape,\n storageVolumePerformanceMode: dataGuardAssociationStorageVolumePerformanceMode,\n subnetId: testSubnet.id,\n timeZone: dataGuardAssociationTimeZone,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_data_guard_association = oci.database.DataGuardAssociation(\"test_data_guard_association\",\n creation_type=data_guard_association_creation_type,\n database_admin_password=data_guard_association_database_admin_password,\n database_id=test_database[\"id\"],\n delete_standby_db_home_on_delete=data_guard_association_delete_standby_db_home_on_delete,\n protection_mode=data_guard_association_protection_mode,\n transport_type=data_guard_association_transport_type,\n availability_domain=data_guard_association_availability_domain,\n backup_network_nsg_ids=data_guard_association_backup_network_nsg_ids,\n cpu_core_count=data_guard_association_cpu_core_count,\n database_defined_tags=data_guard_association_database_defined_tags,\n database_freeform_tags=data_guard_association_database_freeform_tags,\n data_collection_options={\n \"is_diagnostics_events_enabled\": data_guard_association_data_collection_options_is_diagnostics_events_enabled,\n \"is_health_monitoring_enabled\": data_guard_association_data_collection_options_is_health_monitoring_enabled,\n \"is_incident_logs_enabled\": data_guard_association_data_collection_options_is_incident_logs_enabled,\n },\n database_software_image_id=test_database_software_image[\"id\"],\n db_system_defined_tags=data_guard_association_db_system_defined_tags,\n db_system_freeform_tags=data_guard_association_db_system_freeform_tags,\n display_name=data_guard_association_display_name,\n fault_domains=data_guard_association_fault_domains,\n hostname=data_guard_association_hostname,\n is_active_data_guard_enabled=data_guard_association_is_active_data_guard_enabled,\n license_model=data_guard_association_license_model,\n node_count=data_guard_association_node_count,\n nsg_ids=data_guard_association_nsg_ids,\n peer_db_home_id=test_db_home[\"id\"],\n peer_db_system_id=test_db_system[\"id\"],\n peer_db_unique_name=data_guard_association_peer_db_unique_name,\n peer_sid_prefix=data_guard_association_peer_sid_prefix,\n peer_vm_cluster_id=test_vm_cluster[\"id\"],\n private_ip=data_guard_association_private_ip,\n shape=data_guard_association_shape,\n storage_volume_performance_mode=data_guard_association_storage_volume_performance_mode,\n subnet_id=test_subnet[\"id\"],\n time_zone=data_guard_association_time_zone)\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 testDataGuardAssociation = new Oci.Database.DataGuardAssociation(\"test_data_guard_association\", new()\n {\n CreationType = dataGuardAssociationCreationType,\n DatabaseAdminPassword = dataGuardAssociationDatabaseAdminPassword,\n DatabaseId = testDatabase.Id,\n DeleteStandbyDbHomeOnDelete = dataGuardAssociationDeleteStandbyDbHomeOnDelete,\n ProtectionMode = dataGuardAssociationProtectionMode,\n TransportType = dataGuardAssociationTransportType,\n AvailabilityDomain = dataGuardAssociationAvailabilityDomain,\n BackupNetworkNsgIds = dataGuardAssociationBackupNetworkNsgIds,\n CpuCoreCount = dataGuardAssociationCpuCoreCount,\n DatabaseDefinedTags = dataGuardAssociationDatabaseDefinedTags,\n DatabaseFreeformTags = dataGuardAssociationDatabaseFreeformTags,\n DataCollectionOptions = new Oci.Database.Inputs.DataGuardAssociationDataCollectionOptionsArgs\n {\n IsDiagnosticsEventsEnabled = dataGuardAssociationDataCollectionOptionsIsDiagnosticsEventsEnabled,\n IsHealthMonitoringEnabled = dataGuardAssociationDataCollectionOptionsIsHealthMonitoringEnabled,\n IsIncidentLogsEnabled = dataGuardAssociationDataCollectionOptionsIsIncidentLogsEnabled,\n },\n DatabaseSoftwareImageId = testDatabaseSoftwareImage.Id,\n DbSystemDefinedTags = dataGuardAssociationDbSystemDefinedTags,\n DbSystemFreeformTags = dataGuardAssociationDbSystemFreeformTags,\n DisplayName = dataGuardAssociationDisplayName,\n FaultDomains = dataGuardAssociationFaultDomains,\n Hostname = dataGuardAssociationHostname,\n IsActiveDataGuardEnabled = dataGuardAssociationIsActiveDataGuardEnabled,\n LicenseModel = dataGuardAssociationLicenseModel,\n NodeCount = dataGuardAssociationNodeCount,\n NsgIds = dataGuardAssociationNsgIds,\n PeerDbHomeId = testDbHome.Id,\n PeerDbSystemId = testDbSystem.Id,\n PeerDbUniqueName = dataGuardAssociationPeerDbUniqueName,\n PeerSidPrefix = dataGuardAssociationPeerSidPrefix,\n PeerVmClusterId = testVmCluster.Id,\n PrivateIp = dataGuardAssociationPrivateIp,\n Shape = dataGuardAssociationShape,\n StorageVolumePerformanceMode = dataGuardAssociationStorageVolumePerformanceMode,\n SubnetId = testSubnet.Id,\n TimeZone = dataGuardAssociationTimeZone,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/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.NewDataGuardAssociation(ctx, \"test_data_guard_association\", \u0026Database.DataGuardAssociationArgs{\n\t\t\tCreationType: pulumi.Any(dataGuardAssociationCreationType),\n\t\t\tDatabaseAdminPassword: pulumi.Any(dataGuardAssociationDatabaseAdminPassword),\n\t\t\tDatabaseId: pulumi.Any(testDatabase.Id),\n\t\t\tDeleteStandbyDbHomeOnDelete: pulumi.Any(dataGuardAssociationDeleteStandbyDbHomeOnDelete),\n\t\t\tProtectionMode: pulumi.Any(dataGuardAssociationProtectionMode),\n\t\t\tTransportType: pulumi.Any(dataGuardAssociationTransportType),\n\t\t\tAvailabilityDomain: pulumi.Any(dataGuardAssociationAvailabilityDomain),\n\t\t\tBackupNetworkNsgIds: pulumi.Any(dataGuardAssociationBackupNetworkNsgIds),\n\t\t\tCpuCoreCount: pulumi.Any(dataGuardAssociationCpuCoreCount),\n\t\t\tDatabaseDefinedTags: pulumi.Any(dataGuardAssociationDatabaseDefinedTags),\n\t\t\tDatabaseFreeformTags: pulumi.Any(dataGuardAssociationDatabaseFreeformTags),\n\t\t\tDataCollectionOptions: \u0026database.DataGuardAssociationDataCollectionOptionsArgs{\n\t\t\t\tIsDiagnosticsEventsEnabled: pulumi.Any(dataGuardAssociationDataCollectionOptionsIsDiagnosticsEventsEnabled),\n\t\t\t\tIsHealthMonitoringEnabled: pulumi.Any(dataGuardAssociationDataCollectionOptionsIsHealthMonitoringEnabled),\n\t\t\t\tIsIncidentLogsEnabled: pulumi.Any(dataGuardAssociationDataCollectionOptionsIsIncidentLogsEnabled),\n\t\t\t},\n\t\t\tDatabaseSoftwareImageId: pulumi.Any(testDatabaseSoftwareImage.Id),\n\t\t\tDbSystemDefinedTags: pulumi.Any(dataGuardAssociationDbSystemDefinedTags),\n\t\t\tDbSystemFreeformTags: pulumi.Any(dataGuardAssociationDbSystemFreeformTags),\n\t\t\tDisplayName: pulumi.Any(dataGuardAssociationDisplayName),\n\t\t\tFaultDomains: pulumi.Any(dataGuardAssociationFaultDomains),\n\t\t\tHostname: pulumi.Any(dataGuardAssociationHostname),\n\t\t\tIsActiveDataGuardEnabled: pulumi.Any(dataGuardAssociationIsActiveDataGuardEnabled),\n\t\t\tLicenseModel: pulumi.Any(dataGuardAssociationLicenseModel),\n\t\t\tNodeCount: pulumi.Any(dataGuardAssociationNodeCount),\n\t\t\tNsgIds: pulumi.Any(dataGuardAssociationNsgIds),\n\t\t\tPeerDbHomeId: pulumi.Any(testDbHome.Id),\n\t\t\tPeerDbSystemId: pulumi.Any(testDbSystem.Id),\n\t\t\tPeerDbUniqueName: pulumi.Any(dataGuardAssociationPeerDbUniqueName),\n\t\t\tPeerSidPrefix: pulumi.Any(dataGuardAssociationPeerSidPrefix),\n\t\t\tPeerVmClusterId: pulumi.Any(testVmCluster.Id),\n\t\t\tPrivateIp: pulumi.Any(dataGuardAssociationPrivateIp),\n\t\t\tShape: pulumi.Any(dataGuardAssociationShape),\n\t\t\tStorageVolumePerformanceMode: pulumi.Any(dataGuardAssociationStorageVolumePerformanceMode),\n\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\tTimeZone: pulumi.Any(dataGuardAssociationTimeZone),\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.Database.DataGuardAssociation;\nimport com.pulumi.oci.Database.DataGuardAssociationArgs;\nimport com.pulumi.oci.Database.inputs.DataGuardAssociationDataCollectionOptionsArgs;\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 testDataGuardAssociation = new DataGuardAssociation(\"testDataGuardAssociation\", DataGuardAssociationArgs.builder()\n .creationType(dataGuardAssociationCreationType)\n .databaseAdminPassword(dataGuardAssociationDatabaseAdminPassword)\n .databaseId(testDatabase.id())\n .deleteStandbyDbHomeOnDelete(dataGuardAssociationDeleteStandbyDbHomeOnDelete)\n .protectionMode(dataGuardAssociationProtectionMode)\n .transportType(dataGuardAssociationTransportType)\n .availabilityDomain(dataGuardAssociationAvailabilityDomain)\n .backupNetworkNsgIds(dataGuardAssociationBackupNetworkNsgIds)\n .cpuCoreCount(dataGuardAssociationCpuCoreCount)\n .databaseDefinedTags(dataGuardAssociationDatabaseDefinedTags)\n .databaseFreeformTags(dataGuardAssociationDatabaseFreeformTags)\n .dataCollectionOptions(DataGuardAssociationDataCollectionOptionsArgs.builder()\n .isDiagnosticsEventsEnabled(dataGuardAssociationDataCollectionOptionsIsDiagnosticsEventsEnabled)\n .isHealthMonitoringEnabled(dataGuardAssociationDataCollectionOptionsIsHealthMonitoringEnabled)\n .isIncidentLogsEnabled(dataGuardAssociationDataCollectionOptionsIsIncidentLogsEnabled)\n .build())\n .databaseSoftwareImageId(testDatabaseSoftwareImage.id())\n .dbSystemDefinedTags(dataGuardAssociationDbSystemDefinedTags)\n .dbSystemFreeformTags(dataGuardAssociationDbSystemFreeformTags)\n .displayName(dataGuardAssociationDisplayName)\n .faultDomains(dataGuardAssociationFaultDomains)\n .hostname(dataGuardAssociationHostname)\n .isActiveDataGuardEnabled(dataGuardAssociationIsActiveDataGuardEnabled)\n .licenseModel(dataGuardAssociationLicenseModel)\n .nodeCount(dataGuardAssociationNodeCount)\n .nsgIds(dataGuardAssociationNsgIds)\n .peerDbHomeId(testDbHome.id())\n .peerDbSystemId(testDbSystem.id())\n .peerDbUniqueName(dataGuardAssociationPeerDbUniqueName)\n .peerSidPrefix(dataGuardAssociationPeerSidPrefix)\n .peerVmClusterId(testVmCluster.id())\n .privateIp(dataGuardAssociationPrivateIp)\n .shape(dataGuardAssociationShape)\n .storageVolumePerformanceMode(dataGuardAssociationStorageVolumePerformanceMode)\n .subnetId(testSubnet.id())\n .timeZone(dataGuardAssociationTimeZone)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDataGuardAssociation:\n type: oci:Database:DataGuardAssociation\n name: test_data_guard_association\n properties:\n creationType: ${dataGuardAssociationCreationType}\n databaseAdminPassword: ${dataGuardAssociationDatabaseAdminPassword}\n databaseId: ${testDatabase.id}\n deleteStandbyDbHomeOnDelete: ${dataGuardAssociationDeleteStandbyDbHomeOnDelete}\n protectionMode: ${dataGuardAssociationProtectionMode}\n transportType: ${dataGuardAssociationTransportType}\n availabilityDomain: ${dataGuardAssociationAvailabilityDomain}\n backupNetworkNsgIds: ${dataGuardAssociationBackupNetworkNsgIds}\n cpuCoreCount: ${dataGuardAssociationCpuCoreCount}\n databaseDefinedTags: ${dataGuardAssociationDatabaseDefinedTags}\n databaseFreeformTags: ${dataGuardAssociationDatabaseFreeformTags}\n dataCollectionOptions:\n isDiagnosticsEventsEnabled: ${dataGuardAssociationDataCollectionOptionsIsDiagnosticsEventsEnabled}\n isHealthMonitoringEnabled: ${dataGuardAssociationDataCollectionOptionsIsHealthMonitoringEnabled}\n isIncidentLogsEnabled: ${dataGuardAssociationDataCollectionOptionsIsIncidentLogsEnabled}\n databaseSoftwareImageId: ${testDatabaseSoftwareImage.id}\n dbSystemDefinedTags: ${dataGuardAssociationDbSystemDefinedTags}\n dbSystemFreeformTags: ${dataGuardAssociationDbSystemFreeformTags}\n displayName: ${dataGuardAssociationDisplayName}\n faultDomains: ${dataGuardAssociationFaultDomains}\n hostname: ${dataGuardAssociationHostname}\n isActiveDataGuardEnabled: ${dataGuardAssociationIsActiveDataGuardEnabled}\n licenseModel: ${dataGuardAssociationLicenseModel}\n nodeCount: ${dataGuardAssociationNodeCount}\n nsgIds: ${dataGuardAssociationNsgIds}\n peerDbHomeId: ${testDbHome.id}\n peerDbSystemId: ${testDbSystem.id}\n peerDbUniqueName: ${dataGuardAssociationPeerDbUniqueName}\n peerSidPrefix: ${dataGuardAssociationPeerSidPrefix}\n peerVmClusterId: ${testVmCluster.id}\n privateIp: ${dataGuardAssociationPrivateIp}\n shape: ${dataGuardAssociationShape}\n storageVolumePerformanceMode: ${dataGuardAssociationStorageVolumePerformanceMode}\n subnetId: ${testSubnet.id}\n timeZone: ${dataGuardAssociationTimeZone}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport is not supported for this resource.\n\n", + "description": "This resource provides the Data Guard Association resource in Oracle Cloud Infrastructure Database service.\n\nCreates a new Data Guard association. A Data Guard association represents the replication relationship between the\nspecified database and a peer database. For more information, see [Using Oracle Data Guard](https://docs.cloud.oracle.com/iaas/Content/Database/Tasks/usingdataguard.htm).\n\nAll Oracle Cloud Infrastructure resources, including Data Guard associations, get an Oracle-assigned, unique ID\ncalled an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID in the response.\nYou can also retrieve a resource's OCID by using a List API operation on that resource type, or by viewing the\nresource in the Console. For more information, see\n[Resource Identifiers](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDataGuardAssociation = new oci.database.DataGuardAssociation(\"test_data_guard_association\", {\n creationType: dataGuardAssociationCreationType,\n databaseAdminPassword: dataGuardAssociationDatabaseAdminPassword,\n databaseId: testDatabase.id,\n deleteStandbyDbHomeOnDelete: dataGuardAssociationDeleteStandbyDbHomeOnDelete,\n protectionMode: dataGuardAssociationProtectionMode,\n transportType: dataGuardAssociationTransportType,\n availabilityDomain: dataGuardAssociationAvailabilityDomain,\n backupNetworkNsgIds: dataGuardAssociationBackupNetworkNsgIds,\n cpuCoreCount: dataGuardAssociationCpuCoreCount,\n databaseDefinedTags: dataGuardAssociationDatabaseDefinedTags,\n databaseFreeformTags: dataGuardAssociationDatabaseFreeformTags,\n dataCollectionOptions: {\n isDiagnosticsEventsEnabled: dataGuardAssociationDataCollectionOptionsIsDiagnosticsEventsEnabled,\n isHealthMonitoringEnabled: dataGuardAssociationDataCollectionOptionsIsHealthMonitoringEnabled,\n isIncidentLogsEnabled: dataGuardAssociationDataCollectionOptionsIsIncidentLogsEnabled,\n },\n databaseSoftwareImageId: testDatabaseSoftwareImage.id,\n dbSystemDefinedTags: dataGuardAssociationDbSystemDefinedTags,\n dbSystemFreeformTags: dataGuardAssociationDbSystemFreeformTags,\n displayName: dataGuardAssociationDisplayName,\n domain: dataGuardAssociationDomain,\n faultDomains: dataGuardAssociationFaultDomains,\n hostname: dataGuardAssociationHostname,\n isActiveDataGuardEnabled: dataGuardAssociationIsActiveDataGuardEnabled,\n licenseModel: dataGuardAssociationLicenseModel,\n nodeCount: dataGuardAssociationNodeCount,\n nsgIds: dataGuardAssociationNsgIds,\n peerDbHomeId: testDbHome.id,\n peerDbSystemId: testDbSystem.id,\n peerDbUniqueName: dataGuardAssociationPeerDbUniqueName,\n peerSidPrefix: dataGuardAssociationPeerSidPrefix,\n peerVmClusterId: testVmCluster.id,\n privateIp: dataGuardAssociationPrivateIp,\n shape: dataGuardAssociationShape,\n storageVolumePerformanceMode: dataGuardAssociationStorageVolumePerformanceMode,\n subnetId: testSubnet.id,\n timeZone: dataGuardAssociationTimeZone,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_data_guard_association = oci.database.DataGuardAssociation(\"test_data_guard_association\",\n creation_type=data_guard_association_creation_type,\n database_admin_password=data_guard_association_database_admin_password,\n database_id=test_database[\"id\"],\n delete_standby_db_home_on_delete=data_guard_association_delete_standby_db_home_on_delete,\n protection_mode=data_guard_association_protection_mode,\n transport_type=data_guard_association_transport_type,\n availability_domain=data_guard_association_availability_domain,\n backup_network_nsg_ids=data_guard_association_backup_network_nsg_ids,\n cpu_core_count=data_guard_association_cpu_core_count,\n database_defined_tags=data_guard_association_database_defined_tags,\n database_freeform_tags=data_guard_association_database_freeform_tags,\n data_collection_options={\n \"is_diagnostics_events_enabled\": data_guard_association_data_collection_options_is_diagnostics_events_enabled,\n \"is_health_monitoring_enabled\": data_guard_association_data_collection_options_is_health_monitoring_enabled,\n \"is_incident_logs_enabled\": data_guard_association_data_collection_options_is_incident_logs_enabled,\n },\n database_software_image_id=test_database_software_image[\"id\"],\n db_system_defined_tags=data_guard_association_db_system_defined_tags,\n db_system_freeform_tags=data_guard_association_db_system_freeform_tags,\n display_name=data_guard_association_display_name,\n domain=data_guard_association_domain,\n fault_domains=data_guard_association_fault_domains,\n hostname=data_guard_association_hostname,\n is_active_data_guard_enabled=data_guard_association_is_active_data_guard_enabled,\n license_model=data_guard_association_license_model,\n node_count=data_guard_association_node_count,\n nsg_ids=data_guard_association_nsg_ids,\n peer_db_home_id=test_db_home[\"id\"],\n peer_db_system_id=test_db_system[\"id\"],\n peer_db_unique_name=data_guard_association_peer_db_unique_name,\n peer_sid_prefix=data_guard_association_peer_sid_prefix,\n peer_vm_cluster_id=test_vm_cluster[\"id\"],\n private_ip=data_guard_association_private_ip,\n shape=data_guard_association_shape,\n storage_volume_performance_mode=data_guard_association_storage_volume_performance_mode,\n subnet_id=test_subnet[\"id\"],\n time_zone=data_guard_association_time_zone)\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 testDataGuardAssociation = new Oci.Database.DataGuardAssociation(\"test_data_guard_association\", new()\n {\n CreationType = dataGuardAssociationCreationType,\n DatabaseAdminPassword = dataGuardAssociationDatabaseAdminPassword,\n DatabaseId = testDatabase.Id,\n DeleteStandbyDbHomeOnDelete = dataGuardAssociationDeleteStandbyDbHomeOnDelete,\n ProtectionMode = dataGuardAssociationProtectionMode,\n TransportType = dataGuardAssociationTransportType,\n AvailabilityDomain = dataGuardAssociationAvailabilityDomain,\n BackupNetworkNsgIds = dataGuardAssociationBackupNetworkNsgIds,\n CpuCoreCount = dataGuardAssociationCpuCoreCount,\n DatabaseDefinedTags = dataGuardAssociationDatabaseDefinedTags,\n DatabaseFreeformTags = dataGuardAssociationDatabaseFreeformTags,\n DataCollectionOptions = new Oci.Database.Inputs.DataGuardAssociationDataCollectionOptionsArgs\n {\n IsDiagnosticsEventsEnabled = dataGuardAssociationDataCollectionOptionsIsDiagnosticsEventsEnabled,\n IsHealthMonitoringEnabled = dataGuardAssociationDataCollectionOptionsIsHealthMonitoringEnabled,\n IsIncidentLogsEnabled = dataGuardAssociationDataCollectionOptionsIsIncidentLogsEnabled,\n },\n DatabaseSoftwareImageId = testDatabaseSoftwareImage.Id,\n DbSystemDefinedTags = dataGuardAssociationDbSystemDefinedTags,\n DbSystemFreeformTags = dataGuardAssociationDbSystemFreeformTags,\n DisplayName = dataGuardAssociationDisplayName,\n Domain = dataGuardAssociationDomain,\n FaultDomains = dataGuardAssociationFaultDomains,\n Hostname = dataGuardAssociationHostname,\n IsActiveDataGuardEnabled = dataGuardAssociationIsActiveDataGuardEnabled,\n LicenseModel = dataGuardAssociationLicenseModel,\n NodeCount = dataGuardAssociationNodeCount,\n NsgIds = dataGuardAssociationNsgIds,\n PeerDbHomeId = testDbHome.Id,\n PeerDbSystemId = testDbSystem.Id,\n PeerDbUniqueName = dataGuardAssociationPeerDbUniqueName,\n PeerSidPrefix = dataGuardAssociationPeerSidPrefix,\n PeerVmClusterId = testVmCluster.Id,\n PrivateIp = dataGuardAssociationPrivateIp,\n Shape = dataGuardAssociationShape,\n StorageVolumePerformanceMode = dataGuardAssociationStorageVolumePerformanceMode,\n SubnetId = testSubnet.Id,\n TimeZone = dataGuardAssociationTimeZone,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/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.NewDataGuardAssociation(ctx, \"test_data_guard_association\", \u0026Database.DataGuardAssociationArgs{\n\t\t\tCreationType: pulumi.Any(dataGuardAssociationCreationType),\n\t\t\tDatabaseAdminPassword: pulumi.Any(dataGuardAssociationDatabaseAdminPassword),\n\t\t\tDatabaseId: pulumi.Any(testDatabase.Id),\n\t\t\tDeleteStandbyDbHomeOnDelete: pulumi.Any(dataGuardAssociationDeleteStandbyDbHomeOnDelete),\n\t\t\tProtectionMode: pulumi.Any(dataGuardAssociationProtectionMode),\n\t\t\tTransportType: pulumi.Any(dataGuardAssociationTransportType),\n\t\t\tAvailabilityDomain: pulumi.Any(dataGuardAssociationAvailabilityDomain),\n\t\t\tBackupNetworkNsgIds: pulumi.Any(dataGuardAssociationBackupNetworkNsgIds),\n\t\t\tCpuCoreCount: pulumi.Any(dataGuardAssociationCpuCoreCount),\n\t\t\tDatabaseDefinedTags: pulumi.Any(dataGuardAssociationDatabaseDefinedTags),\n\t\t\tDatabaseFreeformTags: pulumi.Any(dataGuardAssociationDatabaseFreeformTags),\n\t\t\tDataCollectionOptions: \u0026database.DataGuardAssociationDataCollectionOptionsArgs{\n\t\t\t\tIsDiagnosticsEventsEnabled: pulumi.Any(dataGuardAssociationDataCollectionOptionsIsDiagnosticsEventsEnabled),\n\t\t\t\tIsHealthMonitoringEnabled: pulumi.Any(dataGuardAssociationDataCollectionOptionsIsHealthMonitoringEnabled),\n\t\t\t\tIsIncidentLogsEnabled: pulumi.Any(dataGuardAssociationDataCollectionOptionsIsIncidentLogsEnabled),\n\t\t\t},\n\t\t\tDatabaseSoftwareImageId: pulumi.Any(testDatabaseSoftwareImage.Id),\n\t\t\tDbSystemDefinedTags: pulumi.Any(dataGuardAssociationDbSystemDefinedTags),\n\t\t\tDbSystemFreeformTags: pulumi.Any(dataGuardAssociationDbSystemFreeformTags),\n\t\t\tDisplayName: pulumi.Any(dataGuardAssociationDisplayName),\n\t\t\tDomain: pulumi.Any(dataGuardAssociationDomain),\n\t\t\tFaultDomains: pulumi.Any(dataGuardAssociationFaultDomains),\n\t\t\tHostname: pulumi.Any(dataGuardAssociationHostname),\n\t\t\tIsActiveDataGuardEnabled: pulumi.Any(dataGuardAssociationIsActiveDataGuardEnabled),\n\t\t\tLicenseModel: pulumi.Any(dataGuardAssociationLicenseModel),\n\t\t\tNodeCount: pulumi.Any(dataGuardAssociationNodeCount),\n\t\t\tNsgIds: pulumi.Any(dataGuardAssociationNsgIds),\n\t\t\tPeerDbHomeId: pulumi.Any(testDbHome.Id),\n\t\t\tPeerDbSystemId: pulumi.Any(testDbSystem.Id),\n\t\t\tPeerDbUniqueName: pulumi.Any(dataGuardAssociationPeerDbUniqueName),\n\t\t\tPeerSidPrefix: pulumi.Any(dataGuardAssociationPeerSidPrefix),\n\t\t\tPeerVmClusterId: pulumi.Any(testVmCluster.Id),\n\t\t\tPrivateIp: pulumi.Any(dataGuardAssociationPrivateIp),\n\t\t\tShape: pulumi.Any(dataGuardAssociationShape),\n\t\t\tStorageVolumePerformanceMode: pulumi.Any(dataGuardAssociationStorageVolumePerformanceMode),\n\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\tTimeZone: pulumi.Any(dataGuardAssociationTimeZone),\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.Database.DataGuardAssociation;\nimport com.pulumi.oci.Database.DataGuardAssociationArgs;\nimport com.pulumi.oci.Database.inputs.DataGuardAssociationDataCollectionOptionsArgs;\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 testDataGuardAssociation = new DataGuardAssociation(\"testDataGuardAssociation\", DataGuardAssociationArgs.builder()\n .creationType(dataGuardAssociationCreationType)\n .databaseAdminPassword(dataGuardAssociationDatabaseAdminPassword)\n .databaseId(testDatabase.id())\n .deleteStandbyDbHomeOnDelete(dataGuardAssociationDeleteStandbyDbHomeOnDelete)\n .protectionMode(dataGuardAssociationProtectionMode)\n .transportType(dataGuardAssociationTransportType)\n .availabilityDomain(dataGuardAssociationAvailabilityDomain)\n .backupNetworkNsgIds(dataGuardAssociationBackupNetworkNsgIds)\n .cpuCoreCount(dataGuardAssociationCpuCoreCount)\n .databaseDefinedTags(dataGuardAssociationDatabaseDefinedTags)\n .databaseFreeformTags(dataGuardAssociationDatabaseFreeformTags)\n .dataCollectionOptions(DataGuardAssociationDataCollectionOptionsArgs.builder()\n .isDiagnosticsEventsEnabled(dataGuardAssociationDataCollectionOptionsIsDiagnosticsEventsEnabled)\n .isHealthMonitoringEnabled(dataGuardAssociationDataCollectionOptionsIsHealthMonitoringEnabled)\n .isIncidentLogsEnabled(dataGuardAssociationDataCollectionOptionsIsIncidentLogsEnabled)\n .build())\n .databaseSoftwareImageId(testDatabaseSoftwareImage.id())\n .dbSystemDefinedTags(dataGuardAssociationDbSystemDefinedTags)\n .dbSystemFreeformTags(dataGuardAssociationDbSystemFreeformTags)\n .displayName(dataGuardAssociationDisplayName)\n .domain(dataGuardAssociationDomain)\n .faultDomains(dataGuardAssociationFaultDomains)\n .hostname(dataGuardAssociationHostname)\n .isActiveDataGuardEnabled(dataGuardAssociationIsActiveDataGuardEnabled)\n .licenseModel(dataGuardAssociationLicenseModel)\n .nodeCount(dataGuardAssociationNodeCount)\n .nsgIds(dataGuardAssociationNsgIds)\n .peerDbHomeId(testDbHome.id())\n .peerDbSystemId(testDbSystem.id())\n .peerDbUniqueName(dataGuardAssociationPeerDbUniqueName)\n .peerSidPrefix(dataGuardAssociationPeerSidPrefix)\n .peerVmClusterId(testVmCluster.id())\n .privateIp(dataGuardAssociationPrivateIp)\n .shape(dataGuardAssociationShape)\n .storageVolumePerformanceMode(dataGuardAssociationStorageVolumePerformanceMode)\n .subnetId(testSubnet.id())\n .timeZone(dataGuardAssociationTimeZone)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDataGuardAssociation:\n type: oci:Database:DataGuardAssociation\n name: test_data_guard_association\n properties:\n creationType: ${dataGuardAssociationCreationType}\n databaseAdminPassword: ${dataGuardAssociationDatabaseAdminPassword}\n databaseId: ${testDatabase.id}\n deleteStandbyDbHomeOnDelete: ${dataGuardAssociationDeleteStandbyDbHomeOnDelete}\n protectionMode: ${dataGuardAssociationProtectionMode}\n transportType: ${dataGuardAssociationTransportType}\n availabilityDomain: ${dataGuardAssociationAvailabilityDomain}\n backupNetworkNsgIds: ${dataGuardAssociationBackupNetworkNsgIds}\n cpuCoreCount: ${dataGuardAssociationCpuCoreCount}\n databaseDefinedTags: ${dataGuardAssociationDatabaseDefinedTags}\n databaseFreeformTags: ${dataGuardAssociationDatabaseFreeformTags}\n dataCollectionOptions:\n isDiagnosticsEventsEnabled: ${dataGuardAssociationDataCollectionOptionsIsDiagnosticsEventsEnabled}\n isHealthMonitoringEnabled: ${dataGuardAssociationDataCollectionOptionsIsHealthMonitoringEnabled}\n isIncidentLogsEnabled: ${dataGuardAssociationDataCollectionOptionsIsIncidentLogsEnabled}\n databaseSoftwareImageId: ${testDatabaseSoftwareImage.id}\n dbSystemDefinedTags: ${dataGuardAssociationDbSystemDefinedTags}\n dbSystemFreeformTags: ${dataGuardAssociationDbSystemFreeformTags}\n displayName: ${dataGuardAssociationDisplayName}\n domain: ${dataGuardAssociationDomain}\n faultDomains: ${dataGuardAssociationFaultDomains}\n hostname: ${dataGuardAssociationHostname}\n isActiveDataGuardEnabled: ${dataGuardAssociationIsActiveDataGuardEnabled}\n licenseModel: ${dataGuardAssociationLicenseModel}\n nodeCount: ${dataGuardAssociationNodeCount}\n nsgIds: ${dataGuardAssociationNsgIds}\n peerDbHomeId: ${testDbHome.id}\n peerDbSystemId: ${testDbSystem.id}\n peerDbUniqueName: ${dataGuardAssociationPeerDbUniqueName}\n peerSidPrefix: ${dataGuardAssociationPeerSidPrefix}\n peerVmClusterId: ${testVmCluster.id}\n privateIp: ${dataGuardAssociationPrivateIp}\n shape: ${dataGuardAssociationShape}\n storageVolumePerformanceMode: ${dataGuardAssociationStorageVolumePerformanceMode}\n subnetId: ${testSubnet.id}\n timeZone: ${dataGuardAssociationTimeZone}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nImport is not supported for this resource.\n\n", "properties": { "applyLag": { "type": "string", @@ -436685,6 +438417,10 @@ "type": "string", "description": "The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique.\n" }, + "domain": { + "type": "string", + "description": "A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.\n" + }, "faultDomains": { "type": "array", "items": { @@ -436803,6 +438539,7 @@ "databaseId", "deleteStandbyDbHomeOnDelete", "displayName", + "domain", "hostname", "lifecycleDetails", "peerDataGuardAssociationId", @@ -436907,6 +438644,11 @@ "description": "The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique.\n", "willReplaceOnChanges": true }, + "domain": { + "type": "string", + "description": "A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.\n", + "willReplaceOnChanges": true + }, "faultDomains": { "type": "array", "items": { @@ -437106,6 +438848,11 @@ "description": "The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique.\n", "willReplaceOnChanges": true }, + "domain": { + "type": "string", + "description": "A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted.\n", + "willReplaceOnChanges": true + }, "faultDomains": { "type": "array", "items": { @@ -447504,8 +449251,67 @@ "type": "object" } }, + "oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement": { + "description": "This resource provides the Autonomous Database Autonomous Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service.\n\nEnables a Database Management feature for the specified Autonomous Database.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DatabaseManagement.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement;\nimport com.pulumi.oci.DatabaseManagement.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs;\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 testAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(\"testAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement\", AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs.builder()\n .autonomousDatabaseId(testAutonomousDatabase.id())\n .enableAutonomousDatabaseDbmFeature(enableAutonomousDatabaseDbmFeature)\n .featureDetails(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs.builder()\n .feature(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsFeature)\n .enableAutonomousDatabaseDbmFeature(enableAutonomousDatabaseDbmFeature)\n .databaseConnectionDetails(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.builder()\n .connectionCredentials(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.builder()\n .credentialName(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName)\n .credentialType(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType)\n .passwordSecretId(testSecret.id())\n .role(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole)\n .sslSecretId(testSecret.id())\n .userName(testUser.name())\n .build())\n .connectionString(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.builder()\n .connectionType(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType)\n .port(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort)\n .protocol(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol)\n .service(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService)\n .build())\n .build())\n .connectorDetails(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.builder()\n .connectorType(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType)\n .databaseConnectorId(testDatabaseConnector.id())\n .managementAgentId(testManagementAgent.id())\n .privateEndPointId(testPrivateEndPoint.id())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:\n type: oci:DatabaseManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement\n name: test_autonomous_database_autonomous_database_dbm_features_management\n properties:\n autonomousDatabaseId: ${testAutonomousDatabase.id}\n enableAutonomousDatabaseDbmFeature: ${enableAutonomousDatabaseDbmFeature}\n featureDetails:\n feature: ${autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsFeature}\n enableAutonomousDatabaseDbmFeature: ${enableAutonomousDatabaseDbmFeature}\n databaseConnectionDetails:\n connectionCredentials:\n credentialName: ${autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName}\n credentialType: ${autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType}\n passwordSecretId: ${testSecret.id}\n role: ${autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole}\n sslSecretId: ${testSecret.id}\n userName: ${testUser.name}\n connectionString:\n connectionType: ${autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType}\n port: ${autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort}\n protocol: ${autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol}\n service: ${autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService}\n connectorDetails:\n connectorType: ${autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType}\n databaseConnectorId: ${testDatabaseConnector.id}\n managementAgentId: ${testManagementAgent.id}\n privateEndPointId: ${testPrivateEndPoint.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "properties": { + "autonomousDatabaseId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database.\n" + }, + "enableAutonomousDatabaseDbmFeature": { + "type": "boolean", + "description": "(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.\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" + }, + "featureDetails": { + "$ref": "#/types/oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails", + "description": "The details required to enable the specified Database Management feature for an Autonomous Database.\n" + } + }, + "required": [ + "autonomousDatabaseId", + "enableAutonomousDatabaseDbmFeature" + ], + "inputProperties": { + "autonomousDatabaseId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database.\n", + "willReplaceOnChanges": true + }, + "enableAutonomousDatabaseDbmFeature": { + "type": "boolean", + "description": "(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.\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" + }, + "featureDetails": { + "$ref": "#/types/oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails", + "description": "The details required to enable the specified Database Management feature for an Autonomous Database.\n" + } + }, + "requiredInputs": [ + "autonomousDatabaseId", + "enableAutonomousDatabaseDbmFeature" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement resources.\n", + "properties": { + "autonomousDatabaseId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database.\n", + "willReplaceOnChanges": true + }, + "enableAutonomousDatabaseDbmFeature": { + "type": "boolean", + "description": "(Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action.\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" + }, + "featureDetails": { + "$ref": "#/types/oci:DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails", + "description": "The details required to enable the specified Database Management feature for an Autonomous Database.\n" + } + }, + "type": "object" + } + }, "oci:DatabaseManagement/databaseDbmFeaturesManagement:DatabaseDbmFeaturesManagement": { - "description": "This resource provides the Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service.\n\nEnables a Database Management feature for the specified cloud database.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DatabaseManagement.DatabaseDbmFeaturesManagement;\nimport com.pulumi.oci.DatabaseManagement.DatabaseDbmFeaturesManagementArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.DatabaseDbmFeaturesManagementFeatureDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs;\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 testDatabaseDbmFeaturesManagement = new DatabaseDbmFeaturesManagement(\"testDatabaseDbmFeaturesManagement\", DatabaseDbmFeaturesManagementArgs.builder()\n .databaseId(testDatabase.id())\n .enableDatabaseDbmFeature(enableDatabaseDbmFeature)\n .featureDetails(DatabaseDbmFeaturesManagementFeatureDetailsArgs.builder()\n .feature(databaseDbmFeaturesManagementFeatureDetailsFeature)\n .enableDatabaseDbmFeature(enableDatabaseDbmFeature)\n .connectorDetails(DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.builder()\n .connectorType(databaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType)\n .databaseConnectorId(testDatabaseConnector.id())\n .managementAgentId(testManagementAgent.id())\n .privateEndPointId(testPrivateEndPoint.id())\n .build())\n .databaseConnectionDetails(DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.builder()\n .connectionCredentials(DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.builder()\n .credentialName(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName)\n .credentialType(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType)\n .passwordSecretId(testSecret.id())\n .role(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole)\n .sslSecretId(testSecret.id())\n .userName(testUser.name())\n .build())\n .connectionString(DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.builder()\n .connectionType(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType)\n .port(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort)\n .protocol(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol)\n .service(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService)\n .build())\n .build())\n .managementType(databaseDbmFeaturesManagementFeatureDetailsManagementType)\n .isAutoEnablePluggableDatabase(databaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDatabaseDbmFeaturesManagement:\n type: oci:DatabaseManagement:DatabaseDbmFeaturesManagement\n name: test_database_dbm_features_management\n properties:\n databaseId: ${testDatabase.id}\n enableDatabaseDbmFeature: ${enableDatabaseDbmFeature}\n featureDetails:\n feature: ${databaseDbmFeaturesManagementFeatureDetailsFeature}\n enableDatabaseDbmFeature: ${enableDatabaseDbmFeature}\n connectorDetails:\n connectorType: ${databaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType}\n databaseConnectorId: ${testDatabaseConnector.id}\n managementAgentId: ${testManagementAgent.id}\n privateEndPointId: ${testPrivateEndPoint.id}\n databaseConnectionDetails:\n connectionCredentials:\n credentialName: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName}\n credentialType: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType}\n passwordSecretId: ${testSecret.id}\n role: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole}\n sslSecretId: ${testSecret.id}\n userName: ${testUser.name}\n connectionString:\n connectionType: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType}\n port: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort}\n protocol: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol}\n service: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService}\n managementType: ${databaseDbmFeaturesManagementFeatureDetailsManagementType}\n isAutoEnablePluggableDatabase: ${databaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "This resource provides the Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service.\n\nEnables a Database Management feature for the specified cloud database.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DatabaseManagement.DatabaseDbmFeaturesManagement;\nimport com.pulumi.oci.DatabaseManagement.DatabaseDbmFeaturesManagementArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.DatabaseDbmFeaturesManagementFeatureDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs;\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 testDatabaseDbmFeaturesManagement = new DatabaseDbmFeaturesManagement(\"testDatabaseDbmFeaturesManagement\", DatabaseDbmFeaturesManagementArgs.builder()\n .databaseId(testDatabase.id())\n .enableDatabaseDbmFeature(enableDatabaseDbmFeature)\n .featureDetails(DatabaseDbmFeaturesManagementFeatureDetailsArgs.builder()\n .feature(databaseDbmFeaturesManagementFeatureDetailsFeature)\n .enableDatabaseDbmFeature(enableDatabaseDbmFeature)\n .connectorDetails(DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.builder()\n .connectorType(databaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType)\n .databaseConnectorId(testDatabaseConnector.id())\n .managementAgentId(testManagementAgent.id())\n .privateEndPointId(testPrivateEndPoint.id())\n .build())\n .databaseConnectionDetails(DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.builder()\n .connectionCredentials(DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.builder()\n .credentialName(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName)\n .credentialType(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType)\n .namedCredentialId(testNamedCredential.id())\n .passwordSecretId(testSecret.id())\n .role(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole)\n .sslSecretId(testSecret.id())\n .userName(testUser.name())\n .build())\n .connectionString(DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.builder()\n .connectionType(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType)\n .port(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort)\n .protocol(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol)\n .service(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService)\n .build())\n .build())\n .isAutoEnablePluggableDatabase(databaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase)\n .managementType(databaseDbmFeaturesManagementFeatureDetailsManagementType)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDatabaseDbmFeaturesManagement:\n type: oci:DatabaseManagement:DatabaseDbmFeaturesManagement\n name: test_database_dbm_features_management\n properties:\n databaseId: ${testDatabase.id}\n enableDatabaseDbmFeature: ${enableDatabaseDbmFeature}\n featureDetails:\n feature: ${databaseDbmFeaturesManagementFeatureDetailsFeature}\n enableDatabaseDbmFeature: ${enableDatabaseDbmFeature}\n connectorDetails:\n connectorType: ${databaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType}\n databaseConnectorId: ${testDatabaseConnector.id}\n managementAgentId: ${testManagementAgent.id}\n privateEndPointId: ${testPrivateEndPoint.id}\n databaseConnectionDetails:\n connectionCredentials:\n credentialName: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName}\n credentialType: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType}\n namedCredentialId: ${testNamedCredential.id}\n passwordSecretId: ${testSecret.id}\n role: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole}\n sslSecretId: ${testSecret.id}\n userName: ${testUser.name}\n connectionString:\n connectionType: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType}\n port: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort}\n protocol: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol}\n service: ${databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService}\n isAutoEnablePluggableDatabase: ${databaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase}\n managementType: ${databaseDbmFeaturesManagementFeatureDetailsManagementType}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "databaseId": { "type": "string", @@ -447518,6 +449324,9 @@ "featureDetails": { "$ref": "#/types/oci:DatabaseManagement/DatabaseDbmFeaturesManagementFeatureDetails:DatabaseDbmFeaturesManagementFeatureDetails", "description": "The details required to enable the specified Database Management feature.\n" + }, + "modifyDatabaseDbmFeature": { + "type": "boolean" } }, "required": [ @@ -447537,6 +449346,9 @@ "featureDetails": { "$ref": "#/types/oci:DatabaseManagement/DatabaseDbmFeaturesManagementFeatureDetails:DatabaseDbmFeaturesManagementFeatureDetails", "description": "The details required to enable the specified Database Management feature.\n" + }, + "modifyDatabaseDbmFeature": { + "type": "boolean" } }, "requiredInputs": [ @@ -447558,13 +449370,16 @@ "featureDetails": { "$ref": "#/types/oci:DatabaseManagement/DatabaseDbmFeaturesManagementFeatureDetails:DatabaseDbmFeaturesManagementFeatureDetails", "description": "The details required to enable the specified Database Management feature.\n" + }, + "modifyDatabaseDbmFeature": { + "type": "boolean" } }, "type": "object" } }, "oci:DatabaseManagement/dbManagementPrivateEndpoint:DbManagementPrivateEndpoint": { - "description": "This resource provides the Db Management Private Endpoint resource in Oracle Cloud Infrastructure Database Management service.\n\nCreates a new Database Management private endpoint.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDbManagementPrivateEndpoint = new oci.databasemanagement.DbManagementPrivateEndpoint(\"test_db_management_private_endpoint\", {\n compartmentId: compartmentId,\n name: dbManagementPrivateEndpointName,\n subnetId: testSubnet.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: dbManagementPrivateEndpointDescription,\n freeformTags: {\n Department: \"Finance\",\n },\n isCluster: dbManagementPrivateEndpointIsCluster,\n nsgIds: dbManagementPrivateEndpointNsgIds,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_db_management_private_endpoint = oci.database_management.DbManagementPrivateEndpoint(\"test_db_management_private_endpoint\",\n compartment_id=compartment_id,\n name=db_management_private_endpoint_name,\n subnet_id=test_subnet[\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=db_management_private_endpoint_description,\n freeform_tags={\n \"Department\": \"Finance\",\n },\n is_cluster=db_management_private_endpoint_is_cluster,\n nsg_ids=db_management_private_endpoint_nsg_ids)\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 testDbManagementPrivateEndpoint = new Oci.DatabaseManagement.DbManagementPrivateEndpoint(\"test_db_management_private_endpoint\", new()\n {\n CompartmentId = compartmentId,\n Name = dbManagementPrivateEndpointName,\n SubnetId = testSubnet.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = dbManagementPrivateEndpointDescription,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n IsCluster = dbManagementPrivateEndpointIsCluster,\n NsgIds = dbManagementPrivateEndpointNsgIds,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseManagement\"\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 := DatabaseManagement.NewDbManagementPrivateEndpoint(ctx, \"test_db_management_private_endpoint\", \u0026DatabaseManagement.DbManagementPrivateEndpointArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tName: pulumi.Any(dbManagementPrivateEndpointName),\n\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(dbManagementPrivateEndpointDescription),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tIsCluster: pulumi.Any(dbManagementPrivateEndpointIsCluster),\n\t\t\tNsgIds: pulumi.Any(dbManagementPrivateEndpointNsgIds),\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.DatabaseManagement.DbManagementPrivateEndpoint;\nimport com.pulumi.oci.DatabaseManagement.DbManagementPrivateEndpointArgs;\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 testDbManagementPrivateEndpoint = new DbManagementPrivateEndpoint(\"testDbManagementPrivateEndpoint\", DbManagementPrivateEndpointArgs.builder()\n .compartmentId(compartmentId)\n .name(dbManagementPrivateEndpointName)\n .subnetId(testSubnet.id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(dbManagementPrivateEndpointDescription)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .isCluster(dbManagementPrivateEndpointIsCluster)\n .nsgIds(dbManagementPrivateEndpointNsgIds)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDbManagementPrivateEndpoint:\n type: oci:DatabaseManagement:DbManagementPrivateEndpoint\n name: test_db_management_private_endpoint\n properties:\n compartmentId: ${compartmentId}\n name: ${dbManagementPrivateEndpointName}\n subnetId: ${testSubnet.id}\n definedTags:\n Operations.CostCenter: '42'\n description: ${dbManagementPrivateEndpointDescription}\n freeformTags:\n Department: Finance\n isCluster: ${dbManagementPrivateEndpointIsCluster}\n nsgIds: ${dbManagementPrivateEndpointNsgIds}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDbManagementPrivateEndpoints can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DatabaseManagement/dbManagementPrivateEndpoint:DbManagementPrivateEndpoint test_db_management_private_endpoint \"id\"\n```\n", + "description": "This resource provides the Db Management Private Endpoint resource in Oracle Cloud Infrastructure Database Management service.\n\nCreates a new Database Management private endpoint.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDbManagementPrivateEndpoint = new oci.databasemanagement.DbManagementPrivateEndpoint(\"test_db_management_private_endpoint\", {\n compartmentId: compartmentId,\n name: dbManagementPrivateEndpointName,\n subnetId: testSubnet.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: dbManagementPrivateEndpointDescription,\n freeformTags: {\n Department: \"Finance\",\n },\n isCluster: dbManagementPrivateEndpointIsCluster,\n isDnsResolutionEnabled: dbManagementPrivateEndpointIsDnsResolutionEnabled,\n nsgIds: dbManagementPrivateEndpointNsgIds,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_db_management_private_endpoint = oci.database_management.DbManagementPrivateEndpoint(\"test_db_management_private_endpoint\",\n compartment_id=compartment_id,\n name=db_management_private_endpoint_name,\n subnet_id=test_subnet[\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=db_management_private_endpoint_description,\n freeform_tags={\n \"Department\": \"Finance\",\n },\n is_cluster=db_management_private_endpoint_is_cluster,\n is_dns_resolution_enabled=db_management_private_endpoint_is_dns_resolution_enabled,\n nsg_ids=db_management_private_endpoint_nsg_ids)\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 testDbManagementPrivateEndpoint = new Oci.DatabaseManagement.DbManagementPrivateEndpoint(\"test_db_management_private_endpoint\", new()\n {\n CompartmentId = compartmentId,\n Name = dbManagementPrivateEndpointName,\n SubnetId = testSubnet.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = dbManagementPrivateEndpointDescription,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n IsCluster = dbManagementPrivateEndpointIsCluster,\n IsDnsResolutionEnabled = dbManagementPrivateEndpointIsDnsResolutionEnabled,\n NsgIds = dbManagementPrivateEndpointNsgIds,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseManagement\"\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 := DatabaseManagement.NewDbManagementPrivateEndpoint(ctx, \"test_db_management_private_endpoint\", \u0026DatabaseManagement.DbManagementPrivateEndpointArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tName: pulumi.Any(dbManagementPrivateEndpointName),\n\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(dbManagementPrivateEndpointDescription),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tIsCluster: pulumi.Any(dbManagementPrivateEndpointIsCluster),\n\t\t\tIsDnsResolutionEnabled: pulumi.Any(dbManagementPrivateEndpointIsDnsResolutionEnabled),\n\t\t\tNsgIds: pulumi.Any(dbManagementPrivateEndpointNsgIds),\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.DatabaseManagement.DbManagementPrivateEndpoint;\nimport com.pulumi.oci.DatabaseManagement.DbManagementPrivateEndpointArgs;\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 testDbManagementPrivateEndpoint = new DbManagementPrivateEndpoint(\"testDbManagementPrivateEndpoint\", DbManagementPrivateEndpointArgs.builder()\n .compartmentId(compartmentId)\n .name(dbManagementPrivateEndpointName)\n .subnetId(testSubnet.id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(dbManagementPrivateEndpointDescription)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .isCluster(dbManagementPrivateEndpointIsCluster)\n .isDnsResolutionEnabled(dbManagementPrivateEndpointIsDnsResolutionEnabled)\n .nsgIds(dbManagementPrivateEndpointNsgIds)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDbManagementPrivateEndpoint:\n type: oci:DatabaseManagement:DbManagementPrivateEndpoint\n name: test_db_management_private_endpoint\n properties:\n compartmentId: ${compartmentId}\n name: ${dbManagementPrivateEndpointName}\n subnetId: ${testSubnet.id}\n definedTags:\n Operations.CostCenter: '42'\n description: ${dbManagementPrivateEndpointDescription}\n freeformTags:\n Department: Finance\n isCluster: ${dbManagementPrivateEndpointIsCluster}\n isDnsResolutionEnabled: ${dbManagementPrivateEndpointIsDnsResolutionEnabled}\n nsgIds: ${dbManagementPrivateEndpointNsgIds}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDbManagementPrivateEndpoints can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DatabaseManagement/dbManagementPrivateEndpoint:DbManagementPrivateEndpoint test_db_management_private_endpoint \"id\"\n```\n", "properties": { "compartmentId": { "type": "string", @@ -447592,6 +449407,10 @@ "type": "boolean", "description": "Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster.\n" }, + "isDnsResolutionEnabled": { + "type": "boolean", + "description": "Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.\n" + }, "name": { "type": "string", "description": "(Updatable) The display name of the Database Management private endpoint.\n" @@ -447637,6 +449456,7 @@ "description", "freeformTags", "isCluster", + "isDnsResolutionEnabled", "name", "nsgIds", "privateIp", @@ -447674,6 +449494,11 @@ "description": "Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster.\n", "willReplaceOnChanges": true }, + "isDnsResolutionEnabled": { + "type": "boolean", + "description": "Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.\n", + "willReplaceOnChanges": true + }, "name": { "type": "string", "description": "(Updatable) The display name of the Database Management private endpoint.\n" @@ -447725,6 +449550,11 @@ "description": "Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster.\n", "willReplaceOnChanges": true }, + "isDnsResolutionEnabled": { + "type": "boolean", + "description": "Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.\n", + "willReplaceOnChanges": true + }, "name": { "type": "string", "description": "(Updatable) The display name of the Database Management private endpoint.\n" @@ -451420,8 +453250,7 @@ }, "externalContainerDatabaseId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external container database.\n", - "willReplaceOnChanges": true + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external container database.\n" }, "featureDetails": { "$ref": "#/types/oci:DatabaseManagement/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails:ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails", @@ -451442,8 +453271,7 @@ }, "externalContainerDatabaseId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external container database.\n", - "willReplaceOnChanges": true + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external container database.\n" }, "featureDetails": { "$ref": "#/types/oci:DatabaseManagement/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails:ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails", @@ -451592,6 +453420,10 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides.\n" }, + "databasePlatformName": { + "type": "string", + "description": "The operating system of database.\n" + }, "databaseStatus": { "type": "string", "description": "The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.\n" @@ -451612,6 +453444,13 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of.\n" }, + "dbmgmtFeatureConfigs": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfig:ManagedDatabaseDbmgmtFeatureConfig" + }, + "description": "The list of feature configurations\n" + }, "definedTags": { "type": "object", "additionalProperties": { @@ -451680,11 +453519,13 @@ "required": [ "additionalDetails", "compartmentId", + "databasePlatformName", "databaseStatus", "databaseSubType", "databaseType", "databaseVersion", "dbSystemId", + "dbmgmtFeatureConfigs", "definedTags", "deploymentType", "freeformTags", @@ -451737,6 +453578,10 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides.\n" }, + "databasePlatformName": { + "type": "string", + "description": "The operating system of database.\n" + }, "databaseStatus": { "type": "string", "description": "The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.\n" @@ -451757,6 +453602,13 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of.\n" }, + "dbmgmtFeatureConfigs": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseManagement/ManagedDatabaseDbmgmtFeatureConfig:ManagedDatabaseDbmgmtFeatureConfig" + }, + "description": "The list of feature configurations\n" + }, "definedTags": { "type": "object", "additionalProperties": { @@ -452412,7 +454264,7 @@ } }, "oci:DatabaseManagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement:PluggabledatabasePluggableDatabaseDbmFeaturesManagement": { - "description": "This resource provides the Pluggabledatabase Pluggable Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service.\n\nEnables a Database Management feature for the specified Oracle cloud pluggable database.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DatabaseManagement.PluggabledatabasePluggableDatabaseDbmFeaturesManagement;\nimport com.pulumi.oci.DatabaseManagement.PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs;\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 testPluggabledatabasePluggableDatabaseDbmFeaturesManagement = new PluggabledatabasePluggableDatabaseDbmFeaturesManagement(\"testPluggabledatabasePluggableDatabaseDbmFeaturesManagement\", PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs.builder()\n .pluggableDatabaseId(testPluggableDatabase.id())\n .enablePluggableDatabaseDbmFeature(enablePluggableDatabaseDbmFeature)\n .featureDetails(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs.builder()\n .feature(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsFeature)\n .enablePluggableDatabaseDbmFeature(enablePluggableDatabaseDbmFeature)\n .connectorDetails(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.builder()\n .connectorType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType)\n .databaseConnectorId(testDatabaseConnector.id())\n .managementAgentId(testManagementAgent.id())\n .privateEndPointId(testPrivateEndPoint.id())\n .build())\n .databaseConnectionDetails(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.builder()\n .connectionCredentials(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.builder()\n .credentialName(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName)\n .credentialType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType)\n .passwordSecretId(testSecret.id())\n .role(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole)\n .sslSecretId(testSecret.id())\n .userName(testUser.name())\n .build())\n .connectionString(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.builder()\n .connectionType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType)\n .port(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort)\n .protocol(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol)\n .service(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService)\n .build())\n .build())\n .managementType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsManagementType)\n .isAutoEnablePluggableDatabase(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testPluggabledatabasePluggableDatabaseDbmFeaturesManagement:\n type: oci:DatabaseManagement:PluggabledatabasePluggableDatabaseDbmFeaturesManagement\n name: test_pluggabledatabase_pluggable_database_dbm_features_management\n properties:\n pluggableDatabaseId: ${testPluggableDatabase.id}\n enablePluggableDatabaseDbmFeature: ${enablePluggableDatabaseDbmFeature}\n featureDetails:\n feature: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsFeature}\n enablePluggableDatabaseDbmFeature: ${enablePluggableDatabaseDbmFeature}\n connectorDetails:\n connectorType: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType}\n databaseConnectorId: ${testDatabaseConnector.id}\n managementAgentId: ${testManagementAgent.id}\n privateEndPointId: ${testPrivateEndPoint.id}\n databaseConnectionDetails:\n connectionCredentials:\n credentialName: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName}\n credentialType: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType}\n passwordSecretId: ${testSecret.id}\n role: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole}\n sslSecretId: ${testSecret.id}\n userName: ${testUser.name}\n connectionString:\n connectionType: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType}\n port: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort}\n protocol: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol}\n service: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService}\n managementType: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsManagementType}\n isAutoEnablePluggableDatabase: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "This resource provides the Pluggabledatabase Pluggable Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service.\n\nEnables a Database Management feature for the specified Oracle cloud pluggable database.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DatabaseManagement.PluggabledatabasePluggableDatabaseDbmFeaturesManagement;\nimport com.pulumi.oci.DatabaseManagement.PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs;\nimport com.pulumi.oci.DatabaseManagement.inputs.PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs;\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 testPluggabledatabasePluggableDatabaseDbmFeaturesManagement = new PluggabledatabasePluggableDatabaseDbmFeaturesManagement(\"testPluggabledatabasePluggableDatabaseDbmFeaturesManagement\", PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs.builder()\n .pluggableDatabaseId(testPluggableDatabase.id())\n .enablePluggableDatabaseDbmFeature(enablePluggableDatabaseDbmFeature)\n .featureDetails(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs.builder()\n .feature(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsFeature)\n .enablePluggableDatabaseDbmFeature(enablePluggableDatabaseDbmFeature)\n .connectorDetails(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.builder()\n .connectorType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType)\n .databaseConnectorId(testDatabaseConnector.id())\n .managementAgentId(testManagementAgent.id())\n .privateEndPointId(testPrivateEndPoint.id())\n .build())\n .databaseConnectionDetails(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.builder()\n .connectionCredentials(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.builder()\n .credentialName(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName)\n .credentialType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType)\n .namedCredentialId(testNamedCredential.id())\n .passwordSecretId(testSecret.id())\n .role(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole)\n .sslSecretId(testSecret.id())\n .userName(testUser.name())\n .build())\n .connectionString(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.builder()\n .connectionType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType)\n .port(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort)\n .protocol(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol)\n .service(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService)\n .build())\n .build())\n .isAutoEnablePluggableDatabase(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase)\n .managementType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsManagementType)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testPluggabledatabasePluggableDatabaseDbmFeaturesManagement:\n type: oci:DatabaseManagement:PluggabledatabasePluggableDatabaseDbmFeaturesManagement\n name: test_pluggabledatabase_pluggable_database_dbm_features_management\n properties:\n pluggableDatabaseId: ${testPluggableDatabase.id}\n enablePluggableDatabaseDbmFeature: ${enablePluggableDatabaseDbmFeature}\n featureDetails:\n feature: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsFeature}\n enablePluggableDatabaseDbmFeature: ${enablePluggableDatabaseDbmFeature}\n connectorDetails:\n connectorType: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType}\n databaseConnectorId: ${testDatabaseConnector.id}\n managementAgentId: ${testManagementAgent.id}\n privateEndPointId: ${testPrivateEndPoint.id}\n databaseConnectionDetails:\n connectionCredentials:\n credentialName: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName}\n credentialType: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType}\n namedCredentialId: ${testNamedCredential.id}\n passwordSecretId: ${testSecret.id}\n role: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole}\n sslSecretId: ${testSecret.id}\n userName: ${testUser.name}\n connectionString:\n connectionType: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType}\n port: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort}\n protocol: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol}\n service: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService}\n isAutoEnablePluggableDatabase: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase}\n managementType: ${pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsManagementType}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "properties": { "enablePluggableDatabaseDbmFeature": { "type": "boolean", @@ -452422,6 +454274,9 @@ "$ref": "#/types/oci:DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails:PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails", "description": "The details required to enable the specified Database Management feature.\n" }, + "modifyPluggableDatabaseDbmFeature": { + "type": "boolean" + }, "pluggableDatabaseId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database.\n" @@ -452440,6 +454295,9 @@ "$ref": "#/types/oci:DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails:PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails", "description": "The details required to enable the specified Database Management feature.\n" }, + "modifyPluggableDatabaseDbmFeature": { + "type": "boolean" + }, "pluggableDatabaseId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database.\n", @@ -452461,6 +454319,9 @@ "$ref": "#/types/oci:DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails:PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails", "description": "The details required to enable the specified Database Management feature.\n" }, + "modifyPluggableDatabaseDbmFeature": { + "type": "boolean" + }, "pluggableDatabaseId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database.\n", @@ -454301,6 +456162,516 @@ "type": "object" } }, + "oci:DelegateAccessControl/delegationControl:DelegationControl": { + "description": "This resource provides the Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service.\n\nCreates a Delegation Control.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegationControl = new oci.delegateaccesscontrol.DelegationControl(\"test_delegation_control\", {\n compartmentId: compartmentId,\n delegationSubscriptionIds: delegationControlDelegationSubscriptionIds,\n displayName: delegationControlDisplayName,\n notificationMessageFormat: delegationControlNotificationMessageFormat,\n notificationTopicId: testNotificationTopic.id,\n resourceIds: delegationControlResourceIds,\n resourceType: delegationControlResourceType,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: delegationControlDescription,\n freeformTags: {\n Department: \"Finance\",\n },\n isAutoApproveDuringMaintenance: delegationControlIsAutoApproveDuringMaintenance,\n numApprovalsRequired: delegationControlNumApprovalsRequired,\n preApprovedServiceProviderActionNames: delegationControlPreApprovedServiceProviderActionNames,\n vaultId: testVault.id,\n vaultKeyId: testKey.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegation_control = oci.delegate_access_control.DelegationControl(\"test_delegation_control\",\n compartment_id=compartment_id,\n delegation_subscription_ids=delegation_control_delegation_subscription_ids,\n display_name=delegation_control_display_name,\n notification_message_format=delegation_control_notification_message_format,\n notification_topic_id=test_notification_topic[\"id\"],\n resource_ids=delegation_control_resource_ids,\n resource_type=delegation_control_resource_type,\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=delegation_control_description,\n freeform_tags={\n \"Department\": \"Finance\",\n },\n is_auto_approve_during_maintenance=delegation_control_is_auto_approve_during_maintenance,\n num_approvals_required=delegation_control_num_approvals_required,\n pre_approved_service_provider_action_names=delegation_control_pre_approved_service_provider_action_names,\n vault_id=test_vault[\"id\"],\n vault_key_id=test_key[\"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 testDelegationControl = new Oci.DelegateAccessControl.DelegationControl(\"test_delegation_control\", new()\n {\n CompartmentId = compartmentId,\n DelegationSubscriptionIds = delegationControlDelegationSubscriptionIds,\n DisplayName = delegationControlDisplayName,\n NotificationMessageFormat = delegationControlNotificationMessageFormat,\n NotificationTopicId = testNotificationTopic.Id,\n ResourceIds = delegationControlResourceIds,\n ResourceType = delegationControlResourceType,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = delegationControlDescription,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n IsAutoApproveDuringMaintenance = delegationControlIsAutoApproveDuringMaintenance,\n NumApprovalsRequired = delegationControlNumApprovalsRequired,\n PreApprovedServiceProviderActionNames = delegationControlPreApprovedServiceProviderActionNames,\n VaultId = testVault.Id,\n VaultKeyId = testKey.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.NewDelegationControl(ctx, \"test_delegation_control\", \u0026DelegateAccessControl.DelegationControlArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDelegationSubscriptionIds: pulumi.Any(delegationControlDelegationSubscriptionIds),\n\t\t\tDisplayName: pulumi.Any(delegationControlDisplayName),\n\t\t\tNotificationMessageFormat: pulumi.Any(delegationControlNotificationMessageFormat),\n\t\t\tNotificationTopicId: pulumi.Any(testNotificationTopic.Id),\n\t\t\tResourceIds: pulumi.Any(delegationControlResourceIds),\n\t\t\tResourceType: pulumi.Any(delegationControlResourceType),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(delegationControlDescription),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tIsAutoApproveDuringMaintenance: pulumi.Any(delegationControlIsAutoApproveDuringMaintenance),\n\t\t\tNumApprovalsRequired: pulumi.Any(delegationControlNumApprovalsRequired),\n\t\t\tPreApprovedServiceProviderActionNames: pulumi.Any(delegationControlPreApprovedServiceProviderActionNames),\n\t\t\tVaultId: pulumi.Any(testVault.Id),\n\t\t\tVaultKeyId: pulumi.Any(testKey.Id),\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.DelegateAccessControl.DelegationControl;\nimport com.pulumi.oci.DelegateAccessControl.DelegationControlArgs;\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 testDelegationControl = new DelegationControl(\"testDelegationControl\", DelegationControlArgs.builder()\n .compartmentId(compartmentId)\n .delegationSubscriptionIds(delegationControlDelegationSubscriptionIds)\n .displayName(delegationControlDisplayName)\n .notificationMessageFormat(delegationControlNotificationMessageFormat)\n .notificationTopicId(testNotificationTopic.id())\n .resourceIds(delegationControlResourceIds)\n .resourceType(delegationControlResourceType)\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(delegationControlDescription)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .isAutoApproveDuringMaintenance(delegationControlIsAutoApproveDuringMaintenance)\n .numApprovalsRequired(delegationControlNumApprovalsRequired)\n .preApprovedServiceProviderActionNames(delegationControlPreApprovedServiceProviderActionNames)\n .vaultId(testVault.id())\n .vaultKeyId(testKey.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDelegationControl:\n type: oci:DelegateAccessControl:DelegationControl\n name: test_delegation_control\n properties:\n compartmentId: ${compartmentId}\n delegationSubscriptionIds: ${delegationControlDelegationSubscriptionIds}\n displayName: ${delegationControlDisplayName}\n notificationMessageFormat: ${delegationControlNotificationMessageFormat}\n notificationTopicId: ${testNotificationTopic.id}\n resourceIds: ${delegationControlResourceIds}\n resourceType: ${delegationControlResourceType}\n definedTags:\n Operations.CostCenter: '42'\n description: ${delegationControlDescription}\n freeformTags:\n Department: Finance\n isAutoApproveDuringMaintenance: ${delegationControlIsAutoApproveDuringMaintenance}\n numApprovalsRequired: ${delegationControlNumApprovalsRequired}\n preApprovedServiceProviderActionNames: ${delegationControlPreApprovedServiceProviderActionNames}\n vaultId: ${testVault.id}\n vaultKeyId: ${testKey.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDelegationControls can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DelegateAccessControl/delegationControl:DelegationControl test_delegation_control \"id\"\n```\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The OCID of the compartment that contains this Delegation Control.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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" + }, + "delegationSubscriptionIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.\n" + }, + "description": { + "type": "string", + "description": "(Updatable) Description of the Delegation Control.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Name of the Delegation Control. The name does not need to be unique.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(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\"}`\n" + }, + "isAutoApproveDuringMaintenance": { + "type": "boolean", + "description": "(Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.\n" + }, + "lifecycleStateDetails": { + "type": "string", + "description": "Description of the current lifecycle state in more detail.\n" + }, + "notificationMessageFormat": { + "type": "string", + "description": "(Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.\n" + }, + "notificationTopicId": { + "type": "string", + "description": "(Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.\n" + }, + "numApprovalsRequired": { + "type": "integer", + "description": "(Updatable) number of approvals required.\n" + }, + "preApprovedServiceProviderActionNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.\n" + }, + "resourceIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) The OCID of the selected resources that this Delegation Control is applicable to.\n" + }, + "resourceType": { + "type": "string", + "description": "Resource type for which the Delegation Control is applicable to.\n" + }, + "state": { + "type": "string", + "description": "The current lifecycle state of the Delegation Control.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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": "Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + }, + "timeDeleted": { + "type": "string", + "description": "Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + }, + "vaultId": { + "type": "string", + "description": "The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.\n" + }, + "vaultKeyId": { + "type": "string", + "description": "The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.\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": [ + "compartmentId", + "definedTags", + "delegationSubscriptionIds", + "description", + "displayName", + "freeformTags", + "isAutoApproveDuringMaintenance", + "lifecycleStateDetails", + "notificationMessageFormat", + "notificationTopicId", + "numApprovalsRequired", + "preApprovedServiceProviderActionNames", + "resourceIds", + "resourceType", + "state", + "systemTags", + "timeCreated", + "timeDeleted", + "timeUpdated", + "vaultId", + "vaultKeyId" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The OCID of the compartment that contains this Delegation Control.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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" + }, + "delegationSubscriptionIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.\n" + }, + "description": { + "type": "string", + "description": "(Updatable) Description of the Delegation Control.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Name of the Delegation Control. The name does not need to be unique.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(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\"}`\n" + }, + "isAutoApproveDuringMaintenance": { + "type": "boolean", + "description": "(Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.\n" + }, + "notificationMessageFormat": { + "type": "string", + "description": "(Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.\n" + }, + "notificationTopicId": { + "type": "string", + "description": "(Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.\n" + }, + "numApprovalsRequired": { + "type": "integer", + "description": "(Updatable) number of approvals required.\n" + }, + "preApprovedServiceProviderActionNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.\n" + }, + "resourceIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) The OCID of the selected resources that this Delegation Control is applicable to.\n" + }, + "resourceType": { + "type": "string", + "description": "Resource type for which the Delegation Control is applicable to.\n", + "willReplaceOnChanges": true + }, + "vaultId": { + "type": "string", + "description": "The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.\n", + "willReplaceOnChanges": true + }, + "vaultKeyId": { + "type": "string", + "description": "The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.\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", + "delegationSubscriptionIds", + "displayName", + "notificationMessageFormat", + "notificationTopicId", + "resourceIds", + "resourceType" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering DelegationControl resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The OCID of the compartment that contains this Delegation Control.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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" + }, + "delegationSubscriptionIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.\n" + }, + "description": { + "type": "string", + "description": "(Updatable) Description of the Delegation Control.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Name of the Delegation Control. The name does not need to be unique.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(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\"}`\n" + }, + "isAutoApproveDuringMaintenance": { + "type": "boolean", + "description": "(Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.\n" + }, + "lifecycleStateDetails": { + "type": "string", + "description": "Description of the current lifecycle state in more detail.\n" + }, + "notificationMessageFormat": { + "type": "string", + "description": "(Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.\n" + }, + "notificationTopicId": { + "type": "string", + "description": "(Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.\n" + }, + "numApprovalsRequired": { + "type": "integer", + "description": "(Updatable) number of approvals required.\n" + }, + "preApprovedServiceProviderActionNames": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.\n" + }, + "resourceIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) The OCID of the selected resources that this Delegation Control is applicable to.\n" + }, + "resourceType": { + "type": "string", + "description": "Resource type for which the Delegation Control is applicable to.\n", + "willReplaceOnChanges": true + }, + "state": { + "type": "string", + "description": "The current lifecycle state of the Delegation Control.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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": "Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + }, + "timeDeleted": { + "type": "string", + "description": "Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + }, + "vaultId": { + "type": "string", + "description": "The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.\n", + "willReplaceOnChanges": true + }, + "vaultKeyId": { + "type": "string", + "description": "The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.\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 + } + }, + "type": "object" + } + }, + "oci:DelegateAccessControl/delegationSubscription:DelegationSubscription": { + "description": "This resource provides the Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service.\n\nCreates Delegation Subscription in Delegation Control.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegationSubscription = new oci.delegateaccesscontrol.DelegationSubscription(\"test_delegation_subscription\", {\n compartmentId: compartmentId,\n serviceProviderId: testServiceProvider.id,\n subscribedServiceType: delegationSubscriptionSubscribedServiceType,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: delegationSubscriptionDescription,\n freeformTags: {\n Department: \"Finance\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegation_subscription = oci.delegate_access_control.DelegationSubscription(\"test_delegation_subscription\",\n compartment_id=compartment_id,\n service_provider_id=test_service_provider[\"id\"],\n subscribed_service_type=delegation_subscription_subscribed_service_type,\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=delegation_subscription_description,\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 testDelegationSubscription = new Oci.DelegateAccessControl.DelegationSubscription(\"test_delegation_subscription\", new()\n {\n CompartmentId = compartmentId,\n ServiceProviderId = testServiceProvider.Id,\n SubscribedServiceType = delegationSubscriptionSubscribedServiceType,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = delegationSubscriptionDescription,\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/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.NewDelegationSubscription(ctx, \"test_delegation_subscription\", \u0026DelegateAccessControl.DelegationSubscriptionArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tServiceProviderId: pulumi.Any(testServiceProvider.Id),\n\t\t\tSubscribedServiceType: pulumi.Any(delegationSubscriptionSubscribedServiceType),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(delegationSubscriptionDescription),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"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.DelegateAccessControl.DelegationSubscription;\nimport com.pulumi.oci.DelegateAccessControl.DelegationSubscriptionArgs;\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 testDelegationSubscription = new DelegationSubscription(\"testDelegationSubscription\", DelegationSubscriptionArgs.builder()\n .compartmentId(compartmentId)\n .serviceProviderId(testServiceProvider.id())\n .subscribedServiceType(delegationSubscriptionSubscribedServiceType)\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(delegationSubscriptionDescription)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDelegationSubscription:\n type: oci:DelegateAccessControl:DelegationSubscription\n name: test_delegation_subscription\n properties:\n compartmentId: ${compartmentId}\n serviceProviderId: ${testServiceProvider.id}\n subscribedServiceType: ${delegationSubscriptionSubscribedServiceType}\n definedTags:\n Operations.CostCenter: '42'\n description: ${delegationSubscriptionDescription}\n freeformTags:\n Department: Finance\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDelegationSubscriptions can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DelegateAccessControl/delegationSubscription:DelegationSubscription test_delegation_subscription \"id\"\n```\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The OCID of the compartment that contains the Delegation Control.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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" + }, + "description": { + "type": "string", + "description": "(Updatable) Description of the Delegation Subscription.\n" + }, + "displayName": { + "type": "string", + "description": "Display name\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(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\"}`\n" + }, + "lifecycleStateDetails": { + "type": "string", + "description": "Description of the current lifecycle state in more detail.\n" + }, + "serviceProviderId": { + "type": "string", + "description": "Unique identifier of the Service Provider.\n" + }, + "state": { + "type": "string", + "description": "The current lifecycle state of the Service Provider.\n" + }, + "subscribedServiceType": { + "type": "string", + "description": "Subscribed Service Provider Service Type.\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": { + "type": "string" + }, + "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": "Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + }, + "timeUpdated": { + "type": "string", + "description": "Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + } + }, + "required": [ + "compartmentId", + "definedTags", + "description", + "displayName", + "freeformTags", + "lifecycleStateDetails", + "serviceProviderId", + "state", + "subscribedServiceType", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The OCID of the compartment that contains the Delegation Control.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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" + }, + "description": { + "type": "string", + "description": "(Updatable) Description of the Delegation Subscription.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(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\"}`\n" + }, + "serviceProviderId": { + "type": "string", + "description": "Unique identifier of the Service Provider.\n", + "willReplaceOnChanges": true + }, + "subscribedServiceType": { + "type": "string", + "description": "Subscribed Service Provider Service Type.\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", + "serviceProviderId", + "subscribedServiceType" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering DelegationSubscription resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The OCID of the compartment that contains the Delegation Control.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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" + }, + "description": { + "type": "string", + "description": "(Updatable) Description of the Delegation Subscription.\n" + }, + "displayName": { + "type": "string", + "description": "Display name\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(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\"}`\n" + }, + "lifecycleStateDetails": { + "type": "string", + "description": "Description of the current lifecycle state in more detail.\n" + }, + "serviceProviderId": { + "type": "string", + "description": "Unique identifier of the Service Provider.\n", + "willReplaceOnChanges": true + }, + "state": { + "type": "string", + "description": "The current lifecycle state of the Service Provider.\n" + }, + "subscribedServiceType": { + "type": "string", + "description": "Subscribed Service Provider Service Type.\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 + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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": "Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + }, + "timeUpdated": { + "type": "string", + "description": "Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n" + } + }, + "type": "object" + } + }, "oci:DemandSignal/occDemandSignal:OccDemandSignal": { "description": "This resource provides the Occ Demand Signal resource in Oracle Cloud Infrastructure Demand Signal service.\n\nCreates a OccDemandSignal.\n\n Updates the data of an OccDemandSignal.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DemandSignal.OccDemandSignal;\nimport com.pulumi.oci.DemandSignal.OccDemandSignalArgs;\nimport com.pulumi.oci.DemandSignal.inputs.OccDemandSignalOccDemandSignalArgs;\nimport com.pulumi.oci.DemandSignal.inputs.OccDemandSignalPatchOperationArgs;\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 testOccDemandSignal = new OccDemandSignal(\"testOccDemandSignal\", OccDemandSignalArgs.builder()\n .compartmentId(compartmentId)\n .isActive(occDemandSignalIsActive)\n .occDemandSignalId(occDemandSignalOccDemandSignalId)\n .occDemandSignals(OccDemandSignalOccDemandSignalArgs.builder()\n .resourceType(occDemandSignalOccDemandSignalsResourceType)\n .units(occDemandSignalOccDemandSignalsUnits)\n .values(OccDemandSignalOccDemandSignalValueArgs.builder()\n .timeExpected(occDemandSignalOccDemandSignalsValuesTimeExpected)\n .value(occDemandSignalOccDemandSignalsValuesValue)\n .comments(occDemandSignalOccDemandSignalsValuesComments)\n .build())\n .build())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .displayName(occDemandSignalDisplayName)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .patchOperations(OccDemandSignalPatchOperationArgs.builder()\n .operation(occDemandSignalPatchOperationsOperation)\n .selection(occDemandSignalPatchOperationsSelection)\n .from(occDemandSignalPatchOperationsFrom)\n .position(occDemandSignalPatchOperationsPosition)\n .selectedItem(occDemandSignalPatchOperationsSelectedItem)\n .value(occDemandSignalPatchOperationsValue)\n .values(occDemandSignalPatchOperationsValues)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testOccDemandSignal:\n type: oci:DemandSignal:OccDemandSignal\n name: test_occ_demand_signal\n properties:\n compartmentId: ${compartmentId}\n isActive: ${occDemandSignalIsActive}\n occDemandSignalId: ${occDemandSignalOccDemandSignalId}\n occDemandSignals:\n - resourceType: ${occDemandSignalOccDemandSignalsResourceType}\n units: ${occDemandSignalOccDemandSignalsUnits}\n values:\n - timeExpected: ${occDemandSignalOccDemandSignalsValuesTimeExpected}\n value: ${occDemandSignalOccDemandSignalsValuesValue}\n comments: ${occDemandSignalOccDemandSignalsValuesComments}\n definedTags:\n Operations.CostCenter: '42'\n displayName: ${occDemandSignalDisplayName}\n freeformTags:\n Department: Finance\n patchOperations:\n - operation: ${occDemandSignalPatchOperationsOperation}\n selection: ${occDemandSignalPatchOperationsSelection}\n from: ${occDemandSignalPatchOperationsFrom}\n position: ${occDemandSignalPatchOperationsPosition}\n selectedItem: ${occDemandSignalPatchOperationsSelectedItem}\n value: ${occDemandSignalPatchOperationsValue}\n values: ${occDemandSignalPatchOperationsValues}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nOccDemandSignals can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:DemandSignal/occDemandSignal:OccDemandSignal test_occ_demand_signal \"id\"\n```\n", "properties": { @@ -454330,19 +456701,98 @@ "type": "boolean", "description": "(Updatable) Indicator of whether to share the data with Oracle.\n" }, - "lifecycleDetails": { - "type": "string", - "description": "A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.\n" - }, + "lifecycleDetails": { + "type": "string", + "description": "A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.\n" + }, + "occDemandSignalId": { + "type": "string" + }, + "occDemandSignals": { + "type": "array", + "items": { + "$ref": "#/types/oci:DemandSignal/OccDemandSignalOccDemandSignal:OccDemandSignalOccDemandSignal" + }, + "description": "The OccDemandSignal data.\n" + }, + "patchOperations": { + "type": "array", + "items": { + "$ref": "#/types/oci:DemandSignal/OccDemandSignalPatchOperation:OccDemandSignalPatchOperation" + }, + "description": "(Updatable)\n" + }, + "state": { + "type": "string", + "description": "The current state of the OccDemandSignal.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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 date and time the OccDemandSignal was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the OccDemandSignal was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`\n" + } + }, + "required": [ + "compartmentId", + "definedTags", + "displayName", + "freeformTags", + "isActive", + "lifecycleDetails", + "occDemandSignals", + "state", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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": "(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(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\"}`\n" + }, + "isActive": { + "type": "boolean", + "description": "(Updatable) Indicator of whether to share the data with Oracle.\n" + }, "occDemandSignalId": { - "type": "string" + "type": "string", + "willReplaceOnChanges": true }, "occDemandSignals": { "type": "array", "items": { "$ref": "#/types/oci:DemandSignal/OccDemandSignalOccDemandSignal:OccDemandSignalOccDemandSignal" }, - "description": "The OccDemandSignal data.\n" + "description": "The OccDemandSignal data.\n", + "willReplaceOnChanges": true }, "patchOperations": { "type": "array", @@ -454350,162 +456800,457 @@ "$ref": "#/types/oci:DemandSignal/OccDemandSignalPatchOperation:OccDemandSignalPatchOperation" }, "description": "(Updatable)\n" + } + }, + "requiredInputs": [ + "compartmentId", + "isActive", + "occDemandSignals" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering OccDemandSignal resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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": "(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(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\"}`\n" + }, + "isActive": { + "type": "boolean", + "description": "(Updatable) Indicator of whether to share the data with Oracle.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.\n" + }, + "occDemandSignalId": { + "type": "string", + "willReplaceOnChanges": true + }, + "occDemandSignals": { + "type": "array", + "items": { + "$ref": "#/types/oci:DemandSignal/OccDemandSignalOccDemandSignal:OccDemandSignalOccDemandSignal" + }, + "description": "The OccDemandSignal data.\n", + "willReplaceOnChanges": true + }, + "patchOperations": { + "type": "array", + "items": { + "$ref": "#/types/oci:DemandSignal/OccDemandSignalPatchOperation:OccDemandSignalPatchOperation" + }, + "description": "(Updatable)\n" + }, + "state": { + "type": "string", + "description": "The current state of the OccDemandSignal.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "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 date and time the OccDemandSignal was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the OccDemandSignal was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`\n" + } }, - "state": { + "type": "object" + } + }, + "oci:Desktops/desktopPool:DesktopPool": { + "description": "This resource provides the Desktop Pool resource in Oracle Cloud Infrastructure Desktops service.\n\nCreates a desktop pool with the given configuration parameters.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDesktopPool = new oci.desktops.DesktopPool(\"test_desktop_pool\", {\n arePrivilegedUsers: desktopPoolArePrivilegedUsers,\n availabilityDomain: desktopPoolAvailabilityDomain,\n availabilityPolicy: {\n startSchedule: {\n cronExpression: \"0 10 8 ? * 2\",\n timezone: \"America/Denver\",\n },\n stopSchedule: {\n cronExpression: \"0 20 18 ? * 6\",\n timezone: \"America/Denver\",\n },\n },\n compartmentId: compartmentId,\n contactDetails: desktopPoolContactDetails,\n devicePolicy: {\n audioMode: desktopPoolDevicePolicyAudioMode,\n cdmMode: desktopPoolDevicePolicyCdmMode,\n clipboardMode: desktopPoolDevicePolicyClipboardMode,\n isDisplayEnabled: desktopPoolDevicePolicyIsDisplayEnabled,\n isKeyboardEnabled: desktopPoolDevicePolicyIsKeyboardEnabled,\n isPointerEnabled: desktopPoolDevicePolicyIsPointerEnabled,\n isPrintingEnabled: desktopPoolDevicePolicyIsPrintingEnabled,\n },\n displayName: desktopPoolDisplayName,\n image: {\n imageId: testImage.id,\n imageName: desktopPoolImageImageName,\n },\n isStorageEnabled: desktopPoolIsStorageEnabled,\n maximumSize: desktopPoolMaximumSize,\n networkConfiguration: {\n subnetId: testSubnet.id,\n vcnId: testVcn.id,\n },\n shapeName: \"VM.Standard.E4.Flex\",\n standbySize: desktopPoolStandbySize,\n storageBackupPolicyId: \"ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz\",\n storageSizeInGbs: desktopPoolStorageSizeInGbs,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: desktopPoolDescription,\n freeformTags: {\n Department: \"Finance\",\n },\n nsgIds: desktopPoolNsgIds,\n timeStartScheduled: desktopPoolTimeStartScheduled,\n timeStopScheduled: desktopPoolTimeStopScheduled,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_desktop_pool = oci.desktops.DesktopPool(\"test_desktop_pool\",\n are_privileged_users=desktop_pool_are_privileged_users,\n availability_domain=desktop_pool_availability_domain,\n availability_policy={\n \"start_schedule\": {\n \"cron_expression\": \"0 10 8 ? * 2\",\n \"timezone\": \"America/Denver\",\n },\n \"stop_schedule\": {\n \"cron_expression\": \"0 20 18 ? * 6\",\n \"timezone\": \"America/Denver\",\n },\n },\n compartment_id=compartment_id,\n contact_details=desktop_pool_contact_details,\n device_policy={\n \"audio_mode\": desktop_pool_device_policy_audio_mode,\n \"cdm_mode\": desktop_pool_device_policy_cdm_mode,\n \"clipboard_mode\": desktop_pool_device_policy_clipboard_mode,\n \"is_display_enabled\": desktop_pool_device_policy_is_display_enabled,\n \"is_keyboard_enabled\": desktop_pool_device_policy_is_keyboard_enabled,\n \"is_pointer_enabled\": desktop_pool_device_policy_is_pointer_enabled,\n \"is_printing_enabled\": desktop_pool_device_policy_is_printing_enabled,\n },\n display_name=desktop_pool_display_name,\n image={\n \"image_id\": test_image[\"id\"],\n \"image_name\": desktop_pool_image_image_name,\n },\n is_storage_enabled=desktop_pool_is_storage_enabled,\n maximum_size=desktop_pool_maximum_size,\n network_configuration={\n \"subnet_id\": test_subnet[\"id\"],\n \"vcn_id\": test_vcn[\"id\"],\n },\n shape_name=\"VM.Standard.E4.Flex\",\n standby_size=desktop_pool_standby_size,\n storage_backup_policy_id=\"ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz\",\n storage_size_in_gbs=desktop_pool_storage_size_in_gbs,\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=desktop_pool_description,\n freeform_tags={\n \"Department\": \"Finance\",\n },\n nsg_ids=desktop_pool_nsg_ids,\n time_start_scheduled=desktop_pool_time_start_scheduled,\n time_stop_scheduled=desktop_pool_time_stop_scheduled)\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 testDesktopPool = new Oci.Desktops.DesktopPool(\"test_desktop_pool\", new()\n {\n ArePrivilegedUsers = desktopPoolArePrivilegedUsers,\n AvailabilityDomain = desktopPoolAvailabilityDomain,\n AvailabilityPolicy = new Oci.Desktops.Inputs.DesktopPoolAvailabilityPolicyArgs\n {\n StartSchedule = new Oci.Desktops.Inputs.DesktopPoolAvailabilityPolicyStartScheduleArgs\n {\n CronExpression = \"0 10 8 ? * 2\",\n Timezone = \"America/Denver\",\n },\n StopSchedule = new Oci.Desktops.Inputs.DesktopPoolAvailabilityPolicyStopScheduleArgs\n {\n CronExpression = \"0 20 18 ? * 6\",\n Timezone = \"America/Denver\",\n },\n },\n CompartmentId = compartmentId,\n ContactDetails = desktopPoolContactDetails,\n DevicePolicy = new Oci.Desktops.Inputs.DesktopPoolDevicePolicyArgs\n {\n AudioMode = desktopPoolDevicePolicyAudioMode,\n CdmMode = desktopPoolDevicePolicyCdmMode,\n ClipboardMode = desktopPoolDevicePolicyClipboardMode,\n IsDisplayEnabled = desktopPoolDevicePolicyIsDisplayEnabled,\n IsKeyboardEnabled = desktopPoolDevicePolicyIsKeyboardEnabled,\n IsPointerEnabled = desktopPoolDevicePolicyIsPointerEnabled,\n IsPrintingEnabled = desktopPoolDevicePolicyIsPrintingEnabled,\n },\n DisplayName = desktopPoolDisplayName,\n Image = new Oci.Desktops.Inputs.DesktopPoolImageArgs\n {\n ImageId = testImage.Id,\n ImageName = desktopPoolImageImageName,\n },\n IsStorageEnabled = desktopPoolIsStorageEnabled,\n MaximumSize = desktopPoolMaximumSize,\n NetworkConfiguration = new Oci.Desktops.Inputs.DesktopPoolNetworkConfigurationArgs\n {\n SubnetId = testSubnet.Id,\n VcnId = testVcn.Id,\n },\n ShapeName = \"VM.Standard.E4.Flex\",\n StandbySize = desktopPoolStandbySize,\n StorageBackupPolicyId = \"ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz\",\n StorageSizeInGbs = desktopPoolStorageSizeInGbs,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = desktopPoolDescription,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n NsgIds = desktopPoolNsgIds,\n TimeStartScheduled = desktopPoolTimeStartScheduled,\n TimeStopScheduled = desktopPoolTimeStopScheduled,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops\"\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 := Desktops.NewDesktopPool(ctx, \"test_desktop_pool\", \u0026Desktops.DesktopPoolArgs{\n\t\t\tArePrivilegedUsers: pulumi.Any(desktopPoolArePrivilegedUsers),\n\t\t\tAvailabilityDomain: pulumi.Any(desktopPoolAvailabilityDomain),\n\t\t\tAvailabilityPolicy: \u0026desktops.DesktopPoolAvailabilityPolicyArgs{\n\t\t\t\tStartSchedule: \u0026desktops.DesktopPoolAvailabilityPolicyStartScheduleArgs{\n\t\t\t\t\tCronExpression: pulumi.String(\"0 10 8 ? * 2\"),\n\t\t\t\t\tTimezone: pulumi.String(\"America/Denver\"),\n\t\t\t\t},\n\t\t\t\tStopSchedule: \u0026desktops.DesktopPoolAvailabilityPolicyStopScheduleArgs{\n\t\t\t\t\tCronExpression: pulumi.String(\"0 20 18 ? * 6\"),\n\t\t\t\t\tTimezone: pulumi.String(\"America/Denver\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tContactDetails: pulumi.Any(desktopPoolContactDetails),\n\t\t\tDevicePolicy: \u0026desktops.DesktopPoolDevicePolicyArgs{\n\t\t\t\tAudioMode: pulumi.Any(desktopPoolDevicePolicyAudioMode),\n\t\t\t\tCdmMode: pulumi.Any(desktopPoolDevicePolicyCdmMode),\n\t\t\t\tClipboardMode: pulumi.Any(desktopPoolDevicePolicyClipboardMode),\n\t\t\t\tIsDisplayEnabled: pulumi.Any(desktopPoolDevicePolicyIsDisplayEnabled),\n\t\t\t\tIsKeyboardEnabled: pulumi.Any(desktopPoolDevicePolicyIsKeyboardEnabled),\n\t\t\t\tIsPointerEnabled: pulumi.Any(desktopPoolDevicePolicyIsPointerEnabled),\n\t\t\t\tIsPrintingEnabled: pulumi.Any(desktopPoolDevicePolicyIsPrintingEnabled),\n\t\t\t},\n\t\t\tDisplayName: pulumi.Any(desktopPoolDisplayName),\n\t\t\tImage: \u0026desktops.DesktopPoolImageArgs{\n\t\t\t\tImageId: pulumi.Any(testImage.Id),\n\t\t\t\tImageName: pulumi.Any(desktopPoolImageImageName),\n\t\t\t},\n\t\t\tIsStorageEnabled: pulumi.Any(desktopPoolIsStorageEnabled),\n\t\t\tMaximumSize: pulumi.Any(desktopPoolMaximumSize),\n\t\t\tNetworkConfiguration: \u0026desktops.DesktopPoolNetworkConfigurationArgs{\n\t\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\t\tVcnId: pulumi.Any(testVcn.Id),\n\t\t\t},\n\t\t\tShapeName: pulumi.String(\"VM.Standard.E4.Flex\"),\n\t\t\tStandbySize: pulumi.Any(desktopPoolStandbySize),\n\t\t\tStorageBackupPolicyId: pulumi.String(\"ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz\"),\n\t\t\tStorageSizeInGbs: pulumi.Any(desktopPoolStorageSizeInGbs),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(desktopPoolDescription),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tNsgIds: pulumi.Any(desktopPoolNsgIds),\n\t\t\tTimeStartScheduled: pulumi.Any(desktopPoolTimeStartScheduled),\n\t\t\tTimeStopScheduled: pulumi.Any(desktopPoolTimeStopScheduled),\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.Desktops.DesktopPool;\nimport com.pulumi.oci.Desktops.DesktopPoolArgs;\nimport com.pulumi.oci.Desktops.inputs.DesktopPoolAvailabilityPolicyArgs;\nimport com.pulumi.oci.Desktops.inputs.DesktopPoolAvailabilityPolicyStartScheduleArgs;\nimport com.pulumi.oci.Desktops.inputs.DesktopPoolAvailabilityPolicyStopScheduleArgs;\nimport com.pulumi.oci.Desktops.inputs.DesktopPoolDevicePolicyArgs;\nimport com.pulumi.oci.Desktops.inputs.DesktopPoolImageArgs;\nimport com.pulumi.oci.Desktops.inputs.DesktopPoolNetworkConfigurationArgs;\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 testDesktopPool = new DesktopPool(\"testDesktopPool\", DesktopPoolArgs.builder()\n .arePrivilegedUsers(desktopPoolArePrivilegedUsers)\n .availabilityDomain(desktopPoolAvailabilityDomain)\n .availabilityPolicy(DesktopPoolAvailabilityPolicyArgs.builder()\n .startSchedule(DesktopPoolAvailabilityPolicyStartScheduleArgs.builder()\n .cronExpression(\"0 10 8 ? * 2\")\n .timezone(\"America/Denver\")\n .build())\n .stopSchedule(DesktopPoolAvailabilityPolicyStopScheduleArgs.builder()\n .cronExpression(\"0 20 18 ? * 6\")\n .timezone(\"America/Denver\")\n .build())\n .build())\n .compartmentId(compartmentId)\n .contactDetails(desktopPoolContactDetails)\n .devicePolicy(DesktopPoolDevicePolicyArgs.builder()\n .audioMode(desktopPoolDevicePolicyAudioMode)\n .cdmMode(desktopPoolDevicePolicyCdmMode)\n .clipboardMode(desktopPoolDevicePolicyClipboardMode)\n .isDisplayEnabled(desktopPoolDevicePolicyIsDisplayEnabled)\n .isKeyboardEnabled(desktopPoolDevicePolicyIsKeyboardEnabled)\n .isPointerEnabled(desktopPoolDevicePolicyIsPointerEnabled)\n .isPrintingEnabled(desktopPoolDevicePolicyIsPrintingEnabled)\n .build())\n .displayName(desktopPoolDisplayName)\n .image(DesktopPoolImageArgs.builder()\n .imageId(testImage.id())\n .imageName(desktopPoolImageImageName)\n .build())\n .isStorageEnabled(desktopPoolIsStorageEnabled)\n .maximumSize(desktopPoolMaximumSize)\n .networkConfiguration(DesktopPoolNetworkConfigurationArgs.builder()\n .subnetId(testSubnet.id())\n .vcnId(testVcn.id())\n .build())\n .shapeName(\"VM.Standard.E4.Flex\")\n .standbySize(desktopPoolStandbySize)\n .storageBackupPolicyId(\"ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz\")\n .storageSizeInGbs(desktopPoolStorageSizeInGbs)\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(desktopPoolDescription)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .nsgIds(desktopPoolNsgIds)\n .timeStartScheduled(desktopPoolTimeStartScheduled)\n .timeStopScheduled(desktopPoolTimeStopScheduled)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDesktopPool:\n type: oci:Desktops:DesktopPool\n name: test_desktop_pool\n properties:\n arePrivilegedUsers: ${desktopPoolArePrivilegedUsers}\n availabilityDomain: ${desktopPoolAvailabilityDomain}\n availabilityPolicy:\n startSchedule:\n cronExpression: 0 10 8 ? * 2\n timezone: America/Denver\n stopSchedule:\n cronExpression: 0 20 18 ? * 6\n timezone: America/Denver\n compartmentId: ${compartmentId}\n contactDetails: ${desktopPoolContactDetails}\n devicePolicy:\n audioMode: ${desktopPoolDevicePolicyAudioMode}\n cdmMode: ${desktopPoolDevicePolicyCdmMode}\n clipboardMode: ${desktopPoolDevicePolicyClipboardMode}\n isDisplayEnabled: ${desktopPoolDevicePolicyIsDisplayEnabled}\n isKeyboardEnabled: ${desktopPoolDevicePolicyIsKeyboardEnabled}\n isPointerEnabled: ${desktopPoolDevicePolicyIsPointerEnabled}\n isPrintingEnabled: ${desktopPoolDevicePolicyIsPrintingEnabled}\n displayName: ${desktopPoolDisplayName}\n image:\n imageId: ${testImage.id}\n imageName: ${desktopPoolImageImageName}\n isStorageEnabled: ${desktopPoolIsStorageEnabled}\n maximumSize: ${desktopPoolMaximumSize}\n networkConfiguration:\n subnetId: ${testSubnet.id}\n vcnId: ${testVcn.id}\n shapeName: VM.Standard.E4.Flex\n standbySize: ${desktopPoolStandbySize}\n storageBackupPolicyId: ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz\n storageSizeInGbs: ${desktopPoolStorageSizeInGbs}\n definedTags:\n Operations.CostCenter: '42'\n description: ${desktopPoolDescription}\n freeformTags:\n Department: Finance\n nsgIds: ${desktopPoolNsgIds}\n timeStartScheduled: ${desktopPoolTimeStartScheduled}\n timeStopScheduled: ${desktopPoolTimeStopScheduled}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nDesktopPools can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:Desktops/desktopPool:DesktopPool test_desktop_pool \"id\"\n```\n", + "properties": { + "activeDesktops": { + "type": "integer", + "description": "The number of active desktops in the desktop pool.\n" + }, + "arePrivilegedUsers": { + "type": "boolean", + "description": "Indicates whether desktop pool users have administrative privileges on their desktop.\n" + }, + "availabilityDomain": { "type": "string", - "description": "The current state of the OccDemandSignal.\n" + "description": "The availability domain of the desktop pool.\n" }, - "systemTags": { + "availabilityPolicy": { + "$ref": "#/types/oci:Desktops/DesktopPoolAvailabilityPolicy:DesktopPoolAvailabilityPolicy", + "description": "(Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool.\n" + }, + "compartmentId": { + "type": "string", + "description": "(Updatable) The OCID of the compartment which will contain the desktop pool.\n" + }, + "contactDetails": { + "type": "string", + "description": "(Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information.\n" + }, + "definedTags": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + "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" + }, + "description": { + "type": "string", + "description": "(Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information.\n" + }, + "devicePolicy": { + "$ref": "#/types/oci:Desktops/DesktopPoolDevicePolicy:DesktopPoolDevicePolicy", + "description": "(Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) A user friendly display name. Avoid entering confidential information.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "description": "(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\"}`\n" + }, + "image": { + "$ref": "#/types/oci:Desktops/DesktopPoolImage:DesktopPoolImage", + "description": "Provides information about the desktop image.\n" + }, + "isStorageEnabled": { + "type": "boolean", + "description": "Indicates whether storage is enabled for the desktop pool.\n" + }, + "maximumSize": { + "type": "integer", + "description": "(Updatable) The maximum number of desktops permitted in the desktop pool.\n" + }, + "networkConfiguration": { + "$ref": "#/types/oci:Desktops/DesktopPoolNetworkConfiguration:DesktopPoolNetworkConfiguration", + "description": "Provides information about the network configuration of the desktop pool.\n" + }, + "nsgIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A list of network security groups for the desktop pool.\n" + }, + "shapeName": { + "type": "string", + "description": "The shape of the desktop pool.\n" + }, + "standbySize": { + "type": "integer", + "description": "(Updatable) The maximum number of standby desktops available in the desktop pool.\n" + }, + "state": { + "type": "string", + "description": "The current state of the desktop pool.\n" + }, + "storageBackupPolicyId": { + "type": "string", + "description": "The backup policy OCID of the storage.\n" + }, + "storageSizeInGbs": { + "type": "integer", + "description": "The size in GBs of the storage for the desktop pool.\n" }, "timeCreated": { "type": "string", - "description": "The date and time the OccDemandSignal was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`\n" + "description": "The date and time the resource was created.\n" }, - "timeUpdated": { + "timeStartScheduled": { "type": "string", - "description": "The date and time the OccDemandSignal was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`\n" + "description": "(Updatable) The start time of the desktop pool.\n" + }, + "timeStopScheduled": { + "type": "string", + "description": "(Updatable) The stop time of the desktop pool.\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": [ + "activeDesktops", + "arePrivilegedUsers", + "availabilityDomain", + "availabilityPolicy", "compartmentId", + "contactDetails", "definedTags", + "description", + "devicePolicy", "displayName", "freeformTags", - "isActive", - "lifecycleDetails", - "occDemandSignals", + "image", + "isStorageEnabled", + "maximumSize", + "networkConfiguration", + "shapeName", + "standbySize", "state", - "systemTags", - "timeCreated", - "timeUpdated" + "storageBackupPolicyId", + "storageSizeInGbs", + "timeCreated" ], "inputProperties": { + "arePrivilegedUsers": { + "type": "boolean", + "description": "Indicates whether desktop pool users have administrative privileges on their desktop.\n", + "willReplaceOnChanges": true + }, + "availabilityDomain": { + "type": "string", + "description": "The availability domain of the desktop pool.\n", + "willReplaceOnChanges": true + }, + "availabilityPolicy": { + "$ref": "#/types/oci:Desktops/DesktopPoolAvailabilityPolicy:DesktopPoolAvailabilityPolicy", + "description": "(Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool.\n" + }, "compartmentId": { "type": "string", - "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.\n" + "description": "(Updatable) The OCID of the compartment which will contain the desktop pool.\n" + }, + "contactDetails": { + "type": "string", + "description": "(Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" }, - "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" + "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" + }, + "description": { + "type": "string", + "description": "(Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information.\n" + }, + "devicePolicy": { + "$ref": "#/types/oci:Desktops/DesktopPoolDevicePolicy:DesktopPoolDevicePolicy", + "description": "(Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.\n" }, "displayName": { "type": "string", - "description": "(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + "description": "(Updatable) A user friendly display name. Avoid entering confidential information.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "(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\"}`\n" + "description": "(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\"}`\n" }, - "isActive": { + "image": { + "$ref": "#/types/oci:Desktops/DesktopPoolImage:DesktopPoolImage", + "description": "Provides information about the desktop image.\n", + "willReplaceOnChanges": true + }, + "isStorageEnabled": { "type": "boolean", - "description": "(Updatable) Indicator of whether to share the data with Oracle.\n" + "description": "Indicates whether storage is enabled for the desktop pool.\n", + "willReplaceOnChanges": true }, - "occDemandSignalId": { - "type": "string", + "maximumSize": { + "type": "integer", + "description": "(Updatable) The maximum number of desktops permitted in the desktop pool.\n" + }, + "networkConfiguration": { + "$ref": "#/types/oci:Desktops/DesktopPoolNetworkConfiguration:DesktopPoolNetworkConfiguration", + "description": "Provides information about the network configuration of the desktop pool.\n", "willReplaceOnChanges": true }, - "occDemandSignals": { + "nsgIds": { "type": "array", "items": { - "$ref": "#/types/oci:DemandSignal/OccDemandSignalOccDemandSignal:OccDemandSignalOccDemandSignal" + "type": "string" }, - "description": "The OccDemandSignal data.\n", + "description": "A list of network security groups for the desktop pool.\n", "willReplaceOnChanges": true }, - "patchOperations": { - "type": "array", - "items": { - "$ref": "#/types/oci:DemandSignal/OccDemandSignalPatchOperation:OccDemandSignalPatchOperation" - }, - "description": "(Updatable)\n" + "shapeName": { + "type": "string", + "description": "The shape of the desktop pool.\n", + "willReplaceOnChanges": true + }, + "standbySize": { + "type": "integer", + "description": "(Updatable) The maximum number of standby desktops available in the desktop pool.\n" + }, + "storageBackupPolicyId": { + "type": "string", + "description": "The backup policy OCID of the storage.\n", + "willReplaceOnChanges": true + }, + "storageSizeInGbs": { + "type": "integer", + "description": "The size in GBs of the storage for the desktop pool.\n", + "willReplaceOnChanges": true + }, + "timeStartScheduled": { + "type": "string", + "description": "(Updatable) The start time of the desktop pool.\n" + }, + "timeStopScheduled": { + "type": "string", + "description": "(Updatable) The stop time of the desktop pool.\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": [ + "arePrivilegedUsers", + "availabilityDomain", + "availabilityPolicy", "compartmentId", - "isActive", - "occDemandSignals" + "contactDetails", + "devicePolicy", + "displayName", + "image", + "isStorageEnabled", + "maximumSize", + "networkConfiguration", + "shapeName", + "standbySize", + "storageBackupPolicyId", + "storageSizeInGbs" ], "stateInputs": { - "description": "Input properties used for looking up and filtering OccDemandSignal resources.\n", + "description": "Input properties used for looking up and filtering DesktopPool resources.\n", "properties": { + "activeDesktops": { + "type": "integer", + "description": "The number of active desktops in the desktop pool.\n" + }, + "arePrivilegedUsers": { + "type": "boolean", + "description": "Indicates whether desktop pool users have administrative privileges on their desktop.\n", + "willReplaceOnChanges": true + }, + "availabilityDomain": { + "type": "string", + "description": "The availability domain of the desktop pool.\n", + "willReplaceOnChanges": true + }, + "availabilityPolicy": { + "$ref": "#/types/oci:Desktops/DesktopPoolAvailabilityPolicy:DesktopPoolAvailabilityPolicy", + "description": "(Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool.\n" + }, "compartmentId": { "type": "string", - "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment to create the OccDemandSignal in.\n" + "description": "(Updatable) The OCID of the compartment which will contain the desktop pool.\n" + }, + "contactDetails": { + "type": "string", + "description": "(Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information.\n" }, "definedTags": { "type": "object", "additionalProperties": { "type": "string" }, - "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" + "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" + }, + "description": { + "type": "string", + "description": "(Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information.\n" + }, + "devicePolicy": { + "$ref": "#/types/oci:Desktops/DesktopPoolDevicePolicy:DesktopPoolDevicePolicy", + "description": "(Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.\n" }, "displayName": { "type": "string", - "description": "(Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + "description": "(Updatable) A user friendly display name. Avoid entering confidential information.\n" }, "freeformTags": { "type": "object", "additionalProperties": { "type": "string" }, - "description": "(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\"}`\n" + "description": "(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\"}`\n" }, - "isActive": { + "image": { + "$ref": "#/types/oci:Desktops/DesktopPoolImage:DesktopPoolImage", + "description": "Provides information about the desktop image.\n", + "willReplaceOnChanges": true + }, + "isStorageEnabled": { "type": "boolean", - "description": "(Updatable) Indicator of whether to share the data with Oracle.\n" + "description": "Indicates whether storage is enabled for the desktop pool.\n", + "willReplaceOnChanges": true }, - "lifecycleDetails": { - "type": "string", - "description": "A message that describes the current state of the OccDemandSignal in more detail. For example, can be used to provide actionable information for a resource in the Failed state.\n" + "maximumSize": { + "type": "integer", + "description": "(Updatable) The maximum number of desktops permitted in the desktop pool.\n" }, - "occDemandSignalId": { - "type": "string", + "networkConfiguration": { + "$ref": "#/types/oci:Desktops/DesktopPoolNetworkConfiguration:DesktopPoolNetworkConfiguration", + "description": "Provides information about the network configuration of the desktop pool.\n", "willReplaceOnChanges": true }, - "occDemandSignals": { + "nsgIds": { "type": "array", "items": { - "$ref": "#/types/oci:DemandSignal/OccDemandSignalOccDemandSignal:OccDemandSignalOccDemandSignal" + "type": "string" }, - "description": "The OccDemandSignal data.\n", + "description": "A list of network security groups for the desktop pool.\n", "willReplaceOnChanges": true }, - "patchOperations": { - "type": "array", - "items": { - "$ref": "#/types/oci:DemandSignal/OccDemandSignalPatchOperation:OccDemandSignalPatchOperation" - }, - "description": "(Updatable)\n" + "shapeName": { + "type": "string", + "description": "The shape of the desktop pool.\n", + "willReplaceOnChanges": true + }, + "standbySize": { + "type": "integer", + "description": "(Updatable) The maximum number of standby desktops available in the desktop pool.\n" }, "state": { "type": "string", - "description": "The current state of the OccDemandSignal.\n" + "description": "The current state of the desktop pool.\n" }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + "storageBackupPolicyId": { + "type": "string", + "description": "The backup policy OCID of the storage.\n", + "willReplaceOnChanges": true + }, + "storageSizeInGbs": { + "type": "integer", + "description": "The size in GBs of the storage for the desktop pool.\n", + "willReplaceOnChanges": true }, "timeCreated": { "type": "string", - "description": "The date and time the OccDemandSignal was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`\n" + "description": "The date and time the resource was created.\n" }, - "timeUpdated": { + "timeStartScheduled": { "type": "string", - "description": "The date and time the OccDemandSignal was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z`\n" + "description": "(Updatable) The start time of the desktop pool.\n" + }, + "timeStopScheduled": { + "type": "string", + "description": "(Updatable) The stop time of the desktop pool.\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" @@ -462732,7 +465477,7 @@ } }, "oci:FileStorage/mountTarget:MountTarget": { - "description": "This resource provides the Mount Target resource in Oracle Cloud Infrastructure File Storage service.\n\nCreates a new mount target in the specified compartment and\nsubnet. You can associate a file system with a mount\ntarget only when they exist in the same availability domain. Instances\ncan connect to mount targets in another availablity domain, but\nyou might see higher latency than with instances in the same\navailability domain as the mount target.\n\nMount targets have one or more private IP addresses that you can\nprovide as the host portion of remote target parameters in\nclient mount commands. These private IP addresses are listed\nin the privateIpIds property of the mount target and are highly available. Mount\ntargets also consume additional IP addresses in their subnet.\nDo not use /30 or smaller subnets for mount target creation because they\ndo not have sufficient available IP addresses.\nAllow at least three IP addresses for each mount target.\n\nFor information about access control and compartments, see\n[Overview of the IAM\nService](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).\n\nFor information about availability domains, see [Regions and\nAvailability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm).\nTo get a list of availability domains, use the\n`ListAvailabilityDomains` operation in the Identity and Access\nManagement Service API.\n\nAll Oracle Cloud Infrastructure Services resources, including\nmount targets, get an Oracle-assigned, unique ID called an\nOracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).\nWhen you create a resource, you can find its OCID in the response.\nYou can also retrieve a resource's OCID by using a List API operation on that resource\ntype, or by viewing the resource in the Console.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testMountTarget = new oci.filestorage.MountTarget(\"test_mount_target\", {\n availabilityDomain: mountTargetAvailabilityDomain,\n compartmentId: compartmentId,\n subnetId: testSubnet.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n displayName: mountTargetDisplayName,\n freeformTags: {\n Department: \"Finance\",\n },\n hostnameLabel: mountTargetHostnameLabel,\n idmapType: mountTargetIdmapType,\n ipAddress: mountTargetIpAddress,\n kerberos: {\n kerberosRealm: mountTargetKerberosKerberosRealm,\n backupKeyTabSecretVersion: mountTargetKerberosBackupKeyTabSecretVersion,\n currentKeyTabSecretVersion: mountTargetKerberosCurrentKeyTabSecretVersion,\n isKerberosEnabled: mountTargetKerberosIsKerberosEnabled,\n keyTabSecretId: testSecret.id,\n },\n ldapIdmap: {\n cacheLifetimeSeconds: mountTargetLdapIdmapCacheLifetimeSeconds,\n cacheRefreshIntervalSeconds: mountTargetLdapIdmapCacheRefreshIntervalSeconds,\n groupSearchBase: mountTargetLdapIdmapGroupSearchBase,\n negativeCacheLifetimeSeconds: mountTargetLdapIdmapNegativeCacheLifetimeSeconds,\n outboundConnector1id: testOutboundConnector1.id,\n outboundConnector2id: testOutboundConnector2.id,\n schemaType: mountTargetLdapIdmapSchemaType,\n userSearchBase: mountTargetLdapIdmapUserSearchBase,\n },\n nsgIds: mountTargetNsgIds,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_mount_target = oci.file_storage.MountTarget(\"test_mount_target\",\n availability_domain=mount_target_availability_domain,\n compartment_id=compartment_id,\n subnet_id=test_subnet[\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n display_name=mount_target_display_name,\n freeform_tags={\n \"Department\": \"Finance\",\n },\n hostname_label=mount_target_hostname_label,\n idmap_type=mount_target_idmap_type,\n ip_address=mount_target_ip_address,\n kerberos={\n \"kerberos_realm\": mount_target_kerberos_kerberos_realm,\n \"backup_key_tab_secret_version\": mount_target_kerberos_backup_key_tab_secret_version,\n \"current_key_tab_secret_version\": mount_target_kerberos_current_key_tab_secret_version,\n \"is_kerberos_enabled\": mount_target_kerberos_is_kerberos_enabled,\n \"key_tab_secret_id\": test_secret[\"id\"],\n },\n ldap_idmap={\n \"cache_lifetime_seconds\": mount_target_ldap_idmap_cache_lifetime_seconds,\n \"cache_refresh_interval_seconds\": mount_target_ldap_idmap_cache_refresh_interval_seconds,\n \"group_search_base\": mount_target_ldap_idmap_group_search_base,\n \"negative_cache_lifetime_seconds\": mount_target_ldap_idmap_negative_cache_lifetime_seconds,\n \"outbound_connector1id\": test_outbound_connector1[\"id\"],\n \"outbound_connector2id\": test_outbound_connector2[\"id\"],\n \"schema_type\": mount_target_ldap_idmap_schema_type,\n \"user_search_base\": mount_target_ldap_idmap_user_search_base,\n },\n nsg_ids=mount_target_nsg_ids)\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 testMountTarget = new Oci.FileStorage.MountTarget(\"test_mount_target\", new()\n {\n AvailabilityDomain = mountTargetAvailabilityDomain,\n CompartmentId = compartmentId,\n SubnetId = testSubnet.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n DisplayName = mountTargetDisplayName,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n HostnameLabel = mountTargetHostnameLabel,\n IdmapType = mountTargetIdmapType,\n IpAddress = mountTargetIpAddress,\n Kerberos = new Oci.FileStorage.Inputs.MountTargetKerberosArgs\n {\n KerberosRealm = mountTargetKerberosKerberosRealm,\n BackupKeyTabSecretVersion = mountTargetKerberosBackupKeyTabSecretVersion,\n CurrentKeyTabSecretVersion = mountTargetKerberosCurrentKeyTabSecretVersion,\n IsKerberosEnabled = mountTargetKerberosIsKerberosEnabled,\n KeyTabSecretId = testSecret.Id,\n },\n LdapIdmap = new Oci.FileStorage.Inputs.MountTargetLdapIdmapArgs\n {\n CacheLifetimeSeconds = mountTargetLdapIdmapCacheLifetimeSeconds,\n CacheRefreshIntervalSeconds = mountTargetLdapIdmapCacheRefreshIntervalSeconds,\n GroupSearchBase = mountTargetLdapIdmapGroupSearchBase,\n NegativeCacheLifetimeSeconds = mountTargetLdapIdmapNegativeCacheLifetimeSeconds,\n OutboundConnector1id = testOutboundConnector1.Id,\n OutboundConnector2id = testOutboundConnector2.Id,\n SchemaType = mountTargetLdapIdmapSchemaType,\n UserSearchBase = mountTargetLdapIdmapUserSearchBase,\n },\n NsgIds = mountTargetNsgIds,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FileStorage\"\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 := FileStorage.NewMountTarget(ctx, \"test_mount_target\", \u0026FileStorage.MountTargetArgs{\n\t\t\tAvailabilityDomain: pulumi.Any(mountTargetAvailabilityDomain),\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDisplayName: pulumi.Any(mountTargetDisplayName),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tHostnameLabel: pulumi.Any(mountTargetHostnameLabel),\n\t\t\tIdmapType: pulumi.Any(mountTargetIdmapType),\n\t\t\tIpAddress: pulumi.Any(mountTargetIpAddress),\n\t\t\tKerberos: \u0026filestorage.MountTargetKerberosArgs{\n\t\t\t\tKerberosRealm: pulumi.Any(mountTargetKerberosKerberosRealm),\n\t\t\t\tBackupKeyTabSecretVersion: pulumi.Any(mountTargetKerberosBackupKeyTabSecretVersion),\n\t\t\t\tCurrentKeyTabSecretVersion: pulumi.Any(mountTargetKerberosCurrentKeyTabSecretVersion),\n\t\t\t\tIsKerberosEnabled: pulumi.Any(mountTargetKerberosIsKerberosEnabled),\n\t\t\t\tKeyTabSecretId: pulumi.Any(testSecret.Id),\n\t\t\t},\n\t\t\tLdapIdmap: \u0026filestorage.MountTargetLdapIdmapArgs{\n\t\t\t\tCacheLifetimeSeconds: pulumi.Any(mountTargetLdapIdmapCacheLifetimeSeconds),\n\t\t\t\tCacheRefreshIntervalSeconds: pulumi.Any(mountTargetLdapIdmapCacheRefreshIntervalSeconds),\n\t\t\t\tGroupSearchBase: pulumi.Any(mountTargetLdapIdmapGroupSearchBase),\n\t\t\t\tNegativeCacheLifetimeSeconds: pulumi.Any(mountTargetLdapIdmapNegativeCacheLifetimeSeconds),\n\t\t\t\tOutboundConnector1id: pulumi.Any(testOutboundConnector1.Id),\n\t\t\t\tOutboundConnector2id: pulumi.Any(testOutboundConnector2.Id),\n\t\t\t\tSchemaType: pulumi.Any(mountTargetLdapIdmapSchemaType),\n\t\t\t\tUserSearchBase: pulumi.Any(mountTargetLdapIdmapUserSearchBase),\n\t\t\t},\n\t\t\tNsgIds: pulumi.Any(mountTargetNsgIds),\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.FileStorage.MountTarget;\nimport com.pulumi.oci.FileStorage.MountTargetArgs;\nimport com.pulumi.oci.FileStorage.inputs.MountTargetKerberosArgs;\nimport com.pulumi.oci.FileStorage.inputs.MountTargetLdapIdmapArgs;\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 testMountTarget = new MountTarget(\"testMountTarget\", MountTargetArgs.builder()\n .availabilityDomain(mountTargetAvailabilityDomain)\n .compartmentId(compartmentId)\n .subnetId(testSubnet.id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .displayName(mountTargetDisplayName)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .hostnameLabel(mountTargetHostnameLabel)\n .idmapType(mountTargetIdmapType)\n .ipAddress(mountTargetIpAddress)\n .kerberos(MountTargetKerberosArgs.builder()\n .kerberosRealm(mountTargetKerberosKerberosRealm)\n .backupKeyTabSecretVersion(mountTargetKerberosBackupKeyTabSecretVersion)\n .currentKeyTabSecretVersion(mountTargetKerberosCurrentKeyTabSecretVersion)\n .isKerberosEnabled(mountTargetKerberosIsKerberosEnabled)\n .keyTabSecretId(testSecret.id())\n .build())\n .ldapIdmap(MountTargetLdapIdmapArgs.builder()\n .cacheLifetimeSeconds(mountTargetLdapIdmapCacheLifetimeSeconds)\n .cacheRefreshIntervalSeconds(mountTargetLdapIdmapCacheRefreshIntervalSeconds)\n .groupSearchBase(mountTargetLdapIdmapGroupSearchBase)\n .negativeCacheLifetimeSeconds(mountTargetLdapIdmapNegativeCacheLifetimeSeconds)\n .outboundConnector1id(testOutboundConnector1.id())\n .outboundConnector2id(testOutboundConnector2.id())\n .schemaType(mountTargetLdapIdmapSchemaType)\n .userSearchBase(mountTargetLdapIdmapUserSearchBase)\n .build())\n .nsgIds(mountTargetNsgIds)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMountTarget:\n type: oci:FileStorage:MountTarget\n name: test_mount_target\n properties:\n availabilityDomain: ${mountTargetAvailabilityDomain}\n compartmentId: ${compartmentId}\n subnetId: ${testSubnet.id}\n definedTags:\n Operations.CostCenter: '42'\n displayName: ${mountTargetDisplayName}\n freeformTags:\n Department: Finance\n hostnameLabel: ${mountTargetHostnameLabel}\n idmapType: ${mountTargetIdmapType}\n ipAddress: ${mountTargetIpAddress}\n kerberos:\n kerberosRealm: ${mountTargetKerberosKerberosRealm}\n backupKeyTabSecretVersion: ${mountTargetKerberosBackupKeyTabSecretVersion}\n currentKeyTabSecretVersion: ${mountTargetKerberosCurrentKeyTabSecretVersion}\n isKerberosEnabled: ${mountTargetKerberosIsKerberosEnabled}\n keyTabSecretId: ${testSecret.id}\n ldapIdmap:\n cacheLifetimeSeconds: ${mountTargetLdapIdmapCacheLifetimeSeconds}\n cacheRefreshIntervalSeconds: ${mountTargetLdapIdmapCacheRefreshIntervalSeconds}\n groupSearchBase: ${mountTargetLdapIdmapGroupSearchBase}\n negativeCacheLifetimeSeconds: ${mountTargetLdapIdmapNegativeCacheLifetimeSeconds}\n outboundConnector1id: ${testOutboundConnector1.id}\n outboundConnector2id: ${testOutboundConnector2.id}\n schemaType: ${mountTargetLdapIdmapSchemaType}\n userSearchBase: ${mountTargetLdapIdmapUserSearchBase}\n nsgIds: ${mountTargetNsgIds}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nMountTargets can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:FileStorage/mountTarget:MountTarget test_mount_target \"id\"\n```\n", + "description": "This resource provides the Mount Target resource in Oracle Cloud Infrastructure File Storage service.\n\nCreates a new mount target in the specified compartment and\nsubnet. You can associate a file system with a mount\ntarget only when they exist in the same availability domain. Instances\ncan connect to mount targets in another availablity domain, but\nyou might see higher latency than with instances in the same\navailability domain as the mount target.\n\nMount targets have one or more private IP addresses that you can\nprovide as the host portion of remote target parameters in\nclient mount commands. These private IP addresses are listed\nin the privateIpIds property of the mount target and are highly available. Mount\ntargets also consume additional IP addresses in their subnet.\nDo not use /30 or smaller subnets for mount target creation because they\ndo not have sufficient available IP addresses.\nAllow at least three IP addresses for each mount target.\n\nFor information about access control and compartments, see\n[Overview of the IAM\nService](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).\n\nFor information about availability domains, see [Regions and\nAvailability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm).\nTo get a list of availability domains, use the\n`ListAvailabilityDomains` operation in the Identity and Access\nManagement Service API.\n\nAll Oracle Cloud Infrastructure Services resources, including\nmount targets, get an Oracle-assigned, unique ID called an\nOracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)).\nWhen you create a resource, you can find its OCID in the response.\nYou can also retrieve a resource's OCID by using a List API operation on that resource\ntype, or by viewing the resource in the Console.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testMountTarget = new oci.filestorage.MountTarget(\"test_mount_target\", {\n availabilityDomain: mountTargetAvailabilityDomain,\n compartmentId: compartmentId,\n subnetId: testSubnet.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n displayName: mountTargetDisplayName,\n freeformTags: {\n Department: \"Finance\",\n },\n hostnameLabel: mountTargetHostnameLabel,\n idmapType: mountTargetIdmapType,\n ipAddress: mountTargetIpAddress,\n kerberos: {\n kerberosRealm: mountTargetKerberosKerberosRealm,\n backupKeyTabSecretVersion: mountTargetKerberosBackupKeyTabSecretVersion,\n currentKeyTabSecretVersion: mountTargetKerberosCurrentKeyTabSecretVersion,\n isKerberosEnabled: mountTargetKerberosIsKerberosEnabled,\n keyTabSecretId: testSecret.id,\n },\n ldapIdmap: {\n cacheLifetimeSeconds: mountTargetLdapIdmapCacheLifetimeSeconds,\n cacheRefreshIntervalSeconds: mountTargetLdapIdmapCacheRefreshIntervalSeconds,\n groupSearchBase: mountTargetLdapIdmapGroupSearchBase,\n negativeCacheLifetimeSeconds: mountTargetLdapIdmapNegativeCacheLifetimeSeconds,\n outboundConnector1id: testOutboundConnector1.id,\n outboundConnector2id: testOutboundConnector2.id,\n schemaType: mountTargetLdapIdmapSchemaType,\n userSearchBase: mountTargetLdapIdmapUserSearchBase,\n },\n nsgIds: mountTargetNsgIds,\n requestedThroughput: mountTargetRequestedThroughput,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_mount_target = oci.file_storage.MountTarget(\"test_mount_target\",\n availability_domain=mount_target_availability_domain,\n compartment_id=compartment_id,\n subnet_id=test_subnet[\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n display_name=mount_target_display_name,\n freeform_tags={\n \"Department\": \"Finance\",\n },\n hostname_label=mount_target_hostname_label,\n idmap_type=mount_target_idmap_type,\n ip_address=mount_target_ip_address,\n kerberos={\n \"kerberos_realm\": mount_target_kerberos_kerberos_realm,\n \"backup_key_tab_secret_version\": mount_target_kerberos_backup_key_tab_secret_version,\n \"current_key_tab_secret_version\": mount_target_kerberos_current_key_tab_secret_version,\n \"is_kerberos_enabled\": mount_target_kerberos_is_kerberos_enabled,\n \"key_tab_secret_id\": test_secret[\"id\"],\n },\n ldap_idmap={\n \"cache_lifetime_seconds\": mount_target_ldap_idmap_cache_lifetime_seconds,\n \"cache_refresh_interval_seconds\": mount_target_ldap_idmap_cache_refresh_interval_seconds,\n \"group_search_base\": mount_target_ldap_idmap_group_search_base,\n \"negative_cache_lifetime_seconds\": mount_target_ldap_idmap_negative_cache_lifetime_seconds,\n \"outbound_connector1id\": test_outbound_connector1[\"id\"],\n \"outbound_connector2id\": test_outbound_connector2[\"id\"],\n \"schema_type\": mount_target_ldap_idmap_schema_type,\n \"user_search_base\": mount_target_ldap_idmap_user_search_base,\n },\n nsg_ids=mount_target_nsg_ids,\n requested_throughput=mount_target_requested_throughput)\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 testMountTarget = new Oci.FileStorage.MountTarget(\"test_mount_target\", new()\n {\n AvailabilityDomain = mountTargetAvailabilityDomain,\n CompartmentId = compartmentId,\n SubnetId = testSubnet.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n DisplayName = mountTargetDisplayName,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n HostnameLabel = mountTargetHostnameLabel,\n IdmapType = mountTargetIdmapType,\n IpAddress = mountTargetIpAddress,\n Kerberos = new Oci.FileStorage.Inputs.MountTargetKerberosArgs\n {\n KerberosRealm = mountTargetKerberosKerberosRealm,\n BackupKeyTabSecretVersion = mountTargetKerberosBackupKeyTabSecretVersion,\n CurrentKeyTabSecretVersion = mountTargetKerberosCurrentKeyTabSecretVersion,\n IsKerberosEnabled = mountTargetKerberosIsKerberosEnabled,\n KeyTabSecretId = testSecret.Id,\n },\n LdapIdmap = new Oci.FileStorage.Inputs.MountTargetLdapIdmapArgs\n {\n CacheLifetimeSeconds = mountTargetLdapIdmapCacheLifetimeSeconds,\n CacheRefreshIntervalSeconds = mountTargetLdapIdmapCacheRefreshIntervalSeconds,\n GroupSearchBase = mountTargetLdapIdmapGroupSearchBase,\n NegativeCacheLifetimeSeconds = mountTargetLdapIdmapNegativeCacheLifetimeSeconds,\n OutboundConnector1id = testOutboundConnector1.Id,\n OutboundConnector2id = testOutboundConnector2.Id,\n SchemaType = mountTargetLdapIdmapSchemaType,\n UserSearchBase = mountTargetLdapIdmapUserSearchBase,\n },\n NsgIds = mountTargetNsgIds,\n RequestedThroughput = mountTargetRequestedThroughput,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/FileStorage\"\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 := FileStorage.NewMountTarget(ctx, \"test_mount_target\", \u0026FileStorage.MountTargetArgs{\n\t\t\tAvailabilityDomain: pulumi.Any(mountTargetAvailabilityDomain),\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tDisplayName: pulumi.Any(mountTargetDisplayName),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tHostnameLabel: pulumi.Any(mountTargetHostnameLabel),\n\t\t\tIdmapType: pulumi.Any(mountTargetIdmapType),\n\t\t\tIpAddress: pulumi.Any(mountTargetIpAddress),\n\t\t\tKerberos: \u0026filestorage.MountTargetKerberosArgs{\n\t\t\t\tKerberosRealm: pulumi.Any(mountTargetKerberosKerberosRealm),\n\t\t\t\tBackupKeyTabSecretVersion: pulumi.Any(mountTargetKerberosBackupKeyTabSecretVersion),\n\t\t\t\tCurrentKeyTabSecretVersion: pulumi.Any(mountTargetKerberosCurrentKeyTabSecretVersion),\n\t\t\t\tIsKerberosEnabled: pulumi.Any(mountTargetKerberosIsKerberosEnabled),\n\t\t\t\tKeyTabSecretId: pulumi.Any(testSecret.Id),\n\t\t\t},\n\t\t\tLdapIdmap: \u0026filestorage.MountTargetLdapIdmapArgs{\n\t\t\t\tCacheLifetimeSeconds: pulumi.Any(mountTargetLdapIdmapCacheLifetimeSeconds),\n\t\t\t\tCacheRefreshIntervalSeconds: pulumi.Any(mountTargetLdapIdmapCacheRefreshIntervalSeconds),\n\t\t\t\tGroupSearchBase: pulumi.Any(mountTargetLdapIdmapGroupSearchBase),\n\t\t\t\tNegativeCacheLifetimeSeconds: pulumi.Any(mountTargetLdapIdmapNegativeCacheLifetimeSeconds),\n\t\t\t\tOutboundConnector1id: pulumi.Any(testOutboundConnector1.Id),\n\t\t\t\tOutboundConnector2id: pulumi.Any(testOutboundConnector2.Id),\n\t\t\t\tSchemaType: pulumi.Any(mountTargetLdapIdmapSchemaType),\n\t\t\t\tUserSearchBase: pulumi.Any(mountTargetLdapIdmapUserSearchBase),\n\t\t\t},\n\t\t\tNsgIds: pulumi.Any(mountTargetNsgIds),\n\t\t\tRequestedThroughput: pulumi.Any(mountTargetRequestedThroughput),\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.FileStorage.MountTarget;\nimport com.pulumi.oci.FileStorage.MountTargetArgs;\nimport com.pulumi.oci.FileStorage.inputs.MountTargetKerberosArgs;\nimport com.pulumi.oci.FileStorage.inputs.MountTargetLdapIdmapArgs;\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 testMountTarget = new MountTarget(\"testMountTarget\", MountTargetArgs.builder()\n .availabilityDomain(mountTargetAvailabilityDomain)\n .compartmentId(compartmentId)\n .subnetId(testSubnet.id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .displayName(mountTargetDisplayName)\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .hostnameLabel(mountTargetHostnameLabel)\n .idmapType(mountTargetIdmapType)\n .ipAddress(mountTargetIpAddress)\n .kerberos(MountTargetKerberosArgs.builder()\n .kerberosRealm(mountTargetKerberosKerberosRealm)\n .backupKeyTabSecretVersion(mountTargetKerberosBackupKeyTabSecretVersion)\n .currentKeyTabSecretVersion(mountTargetKerberosCurrentKeyTabSecretVersion)\n .isKerberosEnabled(mountTargetKerberosIsKerberosEnabled)\n .keyTabSecretId(testSecret.id())\n .build())\n .ldapIdmap(MountTargetLdapIdmapArgs.builder()\n .cacheLifetimeSeconds(mountTargetLdapIdmapCacheLifetimeSeconds)\n .cacheRefreshIntervalSeconds(mountTargetLdapIdmapCacheRefreshIntervalSeconds)\n .groupSearchBase(mountTargetLdapIdmapGroupSearchBase)\n .negativeCacheLifetimeSeconds(mountTargetLdapIdmapNegativeCacheLifetimeSeconds)\n .outboundConnector1id(testOutboundConnector1.id())\n .outboundConnector2id(testOutboundConnector2.id())\n .schemaType(mountTargetLdapIdmapSchemaType)\n .userSearchBase(mountTargetLdapIdmapUserSearchBase)\n .build())\n .nsgIds(mountTargetNsgIds)\n .requestedThroughput(mountTargetRequestedThroughput)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMountTarget:\n type: oci:FileStorage:MountTarget\n name: test_mount_target\n properties:\n availabilityDomain: ${mountTargetAvailabilityDomain}\n compartmentId: ${compartmentId}\n subnetId: ${testSubnet.id}\n definedTags:\n Operations.CostCenter: '42'\n displayName: ${mountTargetDisplayName}\n freeformTags:\n Department: Finance\n hostnameLabel: ${mountTargetHostnameLabel}\n idmapType: ${mountTargetIdmapType}\n ipAddress: ${mountTargetIpAddress}\n kerberos:\n kerberosRealm: ${mountTargetKerberosKerberosRealm}\n backupKeyTabSecretVersion: ${mountTargetKerberosBackupKeyTabSecretVersion}\n currentKeyTabSecretVersion: ${mountTargetKerberosCurrentKeyTabSecretVersion}\n isKerberosEnabled: ${mountTargetKerberosIsKerberosEnabled}\n keyTabSecretId: ${testSecret.id}\n ldapIdmap:\n cacheLifetimeSeconds: ${mountTargetLdapIdmapCacheLifetimeSeconds}\n cacheRefreshIntervalSeconds: ${mountTargetLdapIdmapCacheRefreshIntervalSeconds}\n groupSearchBase: ${mountTargetLdapIdmapGroupSearchBase}\n negativeCacheLifetimeSeconds: ${mountTargetLdapIdmapNegativeCacheLifetimeSeconds}\n outboundConnector1id: ${testOutboundConnector1.id}\n outboundConnector2id: ${testOutboundConnector2.id}\n schemaType: ${mountTargetLdapIdmapSchemaType}\n userSearchBase: ${mountTargetLdapIdmapUserSearchBase}\n nsgIds: ${mountTargetNsgIds}\n requestedThroughput: ${mountTargetRequestedThroughput}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nMountTargets can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:FileStorage/mountTarget:MountTarget test_mount_target \"id\"\n```\n", "properties": { "availabilityDomain": { "type": "string", @@ -462774,7 +465519,7 @@ }, "ipAddress": { "type": "string", - "description": "A private IP 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 a private IP address from the subnet.\n\nNote: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value.\n\nExample: `10.0.3.3`\n" + "description": "A private IP 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 a private IP address from the subnet. Example: `10.0.3.3`\n" }, "kerberos": { "$ref": "#/types/oci:FileStorage/MountTargetKerberos:MountTargetKerberos", @@ -462795,6 +465540,10 @@ }, "description": "(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).\n" }, + "observedThroughput": { + "type": "string", + "description": "Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance).\n" + }, "privateIpIds": { "type": "array", "items": { @@ -462802,6 +465551,14 @@ }, "description": "The OCIDs of the private IP addresses associated with this mount target.\n" }, + "requestedThroughput": { + "type": "string", + "description": "(Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance).\n" + }, + "reservedStorageCapacity": { + "type": "string", + "description": "* Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance).\n" + }, "state": { "type": "string", "description": "The current state of the mount target.\n" @@ -462810,6 +465567,10 @@ "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. \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" }, + "timeBillingCycleEnd": { + "type": "string", + "description": "The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z`\n" + }, "timeCreated": { "type": "string", "description": "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`\n" @@ -462827,9 +465588,13 @@ "ipAddress", "lifecycleDetails", "nsgIds", + "observedThroughput", "privateIpIds", + "requestedThroughput", + "reservedStorageCapacity", "state", "subnetId", + "timeBillingCycleEnd", "timeCreated" ], "inputProperties": { @@ -462871,7 +465636,7 @@ }, "ipAddress": { "type": "string", - "description": "A private IP 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 a private IP address from the subnet.\n\nNote: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value.\n\nExample: `10.0.3.3`\n", + "description": "A private IP 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 a private IP address from the subnet. Example: `10.0.3.3`\n", "willReplaceOnChanges": true }, "kerberos": { @@ -462889,6 +465654,10 @@ }, "description": "(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).\n" }, + "requestedThroughput": { + "type": "string", + "description": "(Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance).\n" + }, "subnetId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. \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", @@ -462945,7 +465714,7 @@ }, "ipAddress": { "type": "string", - "description": "A private IP 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 a private IP address from the subnet.\n\nNote: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value.\n\nExample: `10.0.3.3`\n", + "description": "A private IP 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 a private IP address from the subnet. Example: `10.0.3.3`\n", "willReplaceOnChanges": true }, "kerberos": { @@ -462967,6 +465736,10 @@ }, "description": "(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).\n" }, + "observedThroughput": { + "type": "string", + "description": "Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance).\n" + }, "privateIpIds": { "type": "array", "items": { @@ -462974,6 +465747,14 @@ }, "description": "The OCIDs of the private IP addresses associated with this mount target.\n" }, + "requestedThroughput": { + "type": "string", + "description": "(Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance).\n" + }, + "reservedStorageCapacity": { + "type": "string", + "description": "* Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance).\n" + }, "state": { "type": "string", "description": "The current state of the mount target.\n" @@ -462983,6 +465764,10 @@ "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. \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 }, + "timeBillingCycleEnd": { + "type": "string", + "description": "The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z`\n" + }, "timeCreated": { "type": "string", "description": "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`\n" @@ -463591,478 +466376,6 @@ "type": "object" } }, - "oci:FleetSoftwareUpdate/fsuCollection:FsuCollection": { - "properties": { - "activeFsuCycles": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCollectionActiveFsuCycle:FsuCollectionActiveFsuCycle" - } - }, - "compartmentId": { - "type": "string" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "displayName": { - "type": "string" - }, - "fleetDiscovery": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCollectionFleetDiscovery:FsuCollectionFleetDiscovery" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "lifecycleDetails": { - "type": "string" - }, - "serviceType": { - "type": "string" - }, - "sourceMajorVersion": { - "type": "string" - }, - "state": { - "type": "string" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "targetCount": { - "type": "integer" - }, - "timeCreated": { - "type": "string" - }, - "timeUpdated": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "activeFsuCycles", - "compartmentId", - "definedTags", - "displayName", - "fleetDiscovery", - "freeformTags", - "lifecycleDetails", - "serviceType", - "sourceMajorVersion", - "state", - "systemTags", - "targetCount", - "timeCreated", - "timeUpdated", - "type" - ], - "inputProperties": { - "compartmentId": { - "type": "string" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "displayName": { - "type": "string" - }, - "fleetDiscovery": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCollectionFleetDiscovery:FsuCollectionFleetDiscovery", - "willReplaceOnChanges": true - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "serviceType": { - "type": "string", - "willReplaceOnChanges": true - }, - "sourceMajorVersion": { - "type": "string", - "willReplaceOnChanges": true - }, - "type": { - "type": "string", - "willReplaceOnChanges": true - } - }, - "requiredInputs": [ - "compartmentId", - "serviceType", - "sourceMajorVersion", - "type" - ], - "stateInputs": { - "description": "Input properties used for looking up and filtering FsuCollection resources.\n", - "properties": { - "activeFsuCycles": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCollectionActiveFsuCycle:FsuCollectionActiveFsuCycle" - } - }, - "compartmentId": { - "type": "string" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "displayName": { - "type": "string" - }, - "fleetDiscovery": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCollectionFleetDiscovery:FsuCollectionFleetDiscovery", - "willReplaceOnChanges": true - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "lifecycleDetails": { - "type": "string" - }, - "serviceType": { - "type": "string", - "willReplaceOnChanges": true - }, - "sourceMajorVersion": { - "type": "string", - "willReplaceOnChanges": true - }, - "state": { - "type": "string" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "targetCount": { - "type": "integer" - }, - "timeCreated": { - "type": "string" - }, - "timeUpdated": { - "type": "string" - }, - "type": { - "type": "string", - "willReplaceOnChanges": true - } - }, - "type": "object" - } - }, - "oci:FleetSoftwareUpdate/fsuCycle:FsuCycle": { - "properties": { - "applyActionSchedule": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleApplyActionSchedule:FsuCycleApplyActionSchedule" - }, - "batchingStrategy": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleBatchingStrategy:FsuCycleBatchingStrategy" - }, - "collectionType": { - "type": "string" - }, - "compartmentId": { - "type": "string" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "diagnosticsCollection": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleDiagnosticsCollection:FsuCycleDiagnosticsCollection" - }, - "displayName": { - "type": "string" - }, - "executingFsuActionId": { - "type": "string" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "fsuCollectionId": { - "type": "string" - }, - "goalVersionDetails": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleGoalVersionDetails:FsuCycleGoalVersionDetails" - }, - "isIgnoreMissingPatches": { - "type": "array", - "items": { - "type": "string" - } - }, - "isIgnorePatches": { - "type": "boolean" - }, - "isKeepPlacement": { - "type": "boolean" - }, - "lastCompletedAction": { - "type": "string" - }, - "lifecycleDetails": { - "type": "string" - }, - "maxDrainTimeoutInSeconds": { - "type": "integer" - }, - "nextActionToExecutes": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleNextActionToExecute:FsuCycleNextActionToExecute" - } - }, - "stageActionSchedule": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleStageActionSchedule:FsuCycleStageActionSchedule" - }, - "state": { - "type": "string" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "timeCreated": { - "type": "string" - }, - "timeFinished": { - "type": "string" - }, - "timeUpdated": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "applyActionSchedule", - "batchingStrategy", - "collectionType", - "compartmentId", - "definedTags", - "diagnosticsCollection", - "displayName", - "executingFsuActionId", - "freeformTags", - "fsuCollectionId", - "goalVersionDetails", - "isIgnoreMissingPatches", - "isIgnorePatches", - "isKeepPlacement", - "lastCompletedAction", - "lifecycleDetails", - "maxDrainTimeoutInSeconds", - "nextActionToExecutes", - "stageActionSchedule", - "state", - "systemTags", - "timeCreated", - "timeFinished", - "timeUpdated", - "type" - ], - "inputProperties": { - "applyActionSchedule": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleApplyActionSchedule:FsuCycleApplyActionSchedule", - "willReplaceOnChanges": true - }, - "batchingStrategy": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleBatchingStrategy:FsuCycleBatchingStrategy" - }, - "compartmentId": { - "type": "string" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "diagnosticsCollection": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleDiagnosticsCollection:FsuCycleDiagnosticsCollection" - }, - "displayName": { - "type": "string" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "fsuCollectionId": { - "type": "string", - "willReplaceOnChanges": true - }, - "goalVersionDetails": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleGoalVersionDetails:FsuCycleGoalVersionDetails" - }, - "isIgnoreMissingPatches": { - "type": "array", - "items": { - "type": "string" - } - }, - "isIgnorePatches": { - "type": "boolean" - }, - "isKeepPlacement": { - "type": "boolean" - }, - "maxDrainTimeoutInSeconds": { - "type": "integer" - }, - "stageActionSchedule": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleStageActionSchedule:FsuCycleStageActionSchedule", - "willReplaceOnChanges": true - }, - "type": { - "type": "string" - } - }, - "requiredInputs": [ - "compartmentId", - "fsuCollectionId", - "goalVersionDetails", - "type" - ], - "stateInputs": { - "description": "Input properties used for looking up and filtering FsuCycle resources.\n", - "properties": { - "applyActionSchedule": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleApplyActionSchedule:FsuCycleApplyActionSchedule", - "willReplaceOnChanges": true - }, - "batchingStrategy": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleBatchingStrategy:FsuCycleBatchingStrategy" - }, - "collectionType": { - "type": "string" - }, - "compartmentId": { - "type": "string" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "diagnosticsCollection": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleDiagnosticsCollection:FsuCycleDiagnosticsCollection" - }, - "displayName": { - "type": "string" - }, - "executingFsuActionId": { - "type": "string" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "fsuCollectionId": { - "type": "string", - "willReplaceOnChanges": true - }, - "goalVersionDetails": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleGoalVersionDetails:FsuCycleGoalVersionDetails" - }, - "isIgnoreMissingPatches": { - "type": "array", - "items": { - "type": "string" - } - }, - "isIgnorePatches": { - "type": "boolean" - }, - "isKeepPlacement": { - "type": "boolean" - }, - "lastCompletedAction": { - "type": "string" - }, - "lifecycleDetails": { - "type": "string" - }, - "maxDrainTimeoutInSeconds": { - "type": "integer" - }, - "nextActionToExecutes": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleNextActionToExecute:FsuCycleNextActionToExecute" - } - }, - "stageActionSchedule": { - "$ref": "#/types/oci:FleetSoftwareUpdate/FsuCycleStageActionSchedule:FsuCycleStageActionSchedule", - "willReplaceOnChanges": true - }, - "state": { - "type": "string" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - } - }, - "timeCreated": { - "type": "string" - }, - "timeFinished": { - "type": "string" - }, - "timeUpdated": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object" - } - }, "oci:Functions/application:Application": { "description": "## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testApplication = new oci.functions.Application(\"test_application\", {\n compartmentId: compartmentId,\n displayName: applicationDisplayName,\n subnetIds: applicationSubnetIds,\n config: applicationConfig,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n freeformTags: {\n Department: \"Finance\",\n },\n networkSecurityGroupIds: applicationNetworkSecurityGroupIds,\n imagePolicyConfig: {\n isPolicyEnabled: applicationImagePolicyConfigIsPolicyEnabled,\n keyDetails: [{\n kmsKeyId: testKey.id,\n }],\n },\n shape: applicationShape,\n syslogUrl: applicationSyslogUrl,\n traceConfig: {\n domainId: testDomain.id,\n isEnabled: applicationTraceConfigIsEnabled,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_application = oci.functions.Application(\"test_application\",\n compartment_id=compartment_id,\n display_name=application_display_name,\n subnet_ids=application_subnet_ids,\n config=application_config,\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n freeform_tags={\n \"Department\": \"Finance\",\n },\n network_security_group_ids=application_network_security_group_ids,\n image_policy_config={\n \"is_policy_enabled\": application_image_policy_config_is_policy_enabled,\n \"key_details\": [{\n \"kms_key_id\": test_key[\"id\"],\n }],\n },\n shape=application_shape,\n syslog_url=application_syslog_url,\n trace_config={\n \"domain_id\": test_domain[\"id\"],\n \"is_enabled\": application_trace_config_is_enabled,\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 testApplication = new Oci.Functions.Application(\"test_application\", new()\n {\n CompartmentId = compartmentId,\n DisplayName = applicationDisplayName,\n SubnetIds = applicationSubnetIds,\n Config = applicationConfig,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n NetworkSecurityGroupIds = applicationNetworkSecurityGroupIds,\n ImagePolicyConfig = new Oci.Functions.Inputs.ApplicationImagePolicyConfigArgs\n {\n IsPolicyEnabled = applicationImagePolicyConfigIsPolicyEnabled,\n KeyDetails = new[]\n {\n new Oci.Functions.Inputs.ApplicationImagePolicyConfigKeyDetailArgs\n {\n KmsKeyId = testKey.Id,\n },\n },\n },\n Shape = applicationShape,\n SyslogUrl = applicationSyslogUrl,\n TraceConfig = new Oci.Functions.Inputs.ApplicationTraceConfigArgs\n {\n DomainId = testDomain.Id,\n IsEnabled = applicationTraceConfigIsEnabled,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Functions\"\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 := Functions.NewApplication(ctx, \"test_application\", \u0026Functions.ApplicationArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDisplayName: pulumi.Any(applicationDisplayName),\n\t\t\tSubnetIds: pulumi.Any(applicationSubnetIds),\n\t\t\tConfig: pulumi.Any(applicationConfig),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tNetworkSecurityGroupIds: pulumi.Any(applicationNetworkSecurityGroupIds),\n\t\t\tImagePolicyConfig: \u0026functions.ApplicationImagePolicyConfigArgs{\n\t\t\t\tIsPolicyEnabled: pulumi.Any(applicationImagePolicyConfigIsPolicyEnabled),\n\t\t\t\tKeyDetails: functions.ApplicationImagePolicyConfigKeyDetailArray{\n\t\t\t\t\t\u0026functions.ApplicationImagePolicyConfigKeyDetailArgs{\n\t\t\t\t\t\tKmsKeyId: pulumi.Any(testKey.Id),\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t\tShape: pulumi.Any(applicationShape),\n\t\t\tSyslogUrl: pulumi.Any(applicationSyslogUrl),\n\t\t\tTraceConfig: \u0026functions.ApplicationTraceConfigArgs{\n\t\t\t\tDomainId: pulumi.Any(testDomain.Id),\n\t\t\t\tIsEnabled: pulumi.Any(applicationTraceConfigIsEnabled),\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.Functions.Application;\nimport com.pulumi.oci.Functions.ApplicationArgs;\nimport com.pulumi.oci.Functions.inputs.ApplicationImagePolicyConfigArgs;\nimport com.pulumi.oci.Functions.inputs.ApplicationTraceConfigArgs;\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 testApplication = new Application(\"testApplication\", ApplicationArgs.builder()\n .compartmentId(compartmentId)\n .displayName(applicationDisplayName)\n .subnetIds(applicationSubnetIds)\n .config(applicationConfig)\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .networkSecurityGroupIds(applicationNetworkSecurityGroupIds)\n .imagePolicyConfig(ApplicationImagePolicyConfigArgs.builder()\n .isPolicyEnabled(applicationImagePolicyConfigIsPolicyEnabled)\n .keyDetails(ApplicationImagePolicyConfigKeyDetailArgs.builder()\n .kmsKeyId(testKey.id())\n .build())\n .build())\n .shape(applicationShape)\n .syslogUrl(applicationSyslogUrl)\n .traceConfig(ApplicationTraceConfigArgs.builder()\n .domainId(testDomain.id())\n .isEnabled(applicationTraceConfigIsEnabled)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testApplication:\n type: oci:Functions:Application\n name: test_application\n properties:\n compartmentId: ${compartmentId}\n displayName: ${applicationDisplayName}\n subnetIds: ${applicationSubnetIds}\n config: ${applicationConfig}\n definedTags:\n Operations.CostCenter: '42'\n freeformTags:\n Department: Finance\n networkSecurityGroupIds: ${applicationNetworkSecurityGroupIds}\n imagePolicyConfig:\n isPolicyEnabled: ${applicationImagePolicyConfigIsPolicyEnabled}\n keyDetails:\n - kmsKeyId: ${testKey.id}\n shape: ${applicationShape}\n syslogUrl: ${applicationSyslogUrl}\n traceConfig:\n domainId: ${testDomain.id}\n isEnabled: ${applicationTraceConfigIsEnabled}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nApplications can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:Functions/application:Application test_application \"id\"\n```\n", "properties": { @@ -466651,820 +468964,6 @@ "type": "object" } }, - "oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint": { - "description": "This resource provides the Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service.\n\nCreates a PrivateEndpoint.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testPrivateEndpoint = new oci.globallydistributeddatabase.PrivateEndpoint(\"test_private_endpoint\", {\n compartmentId: compartmentId,\n displayName: privateEndpointDisplayName,\n subnetId: testSubnet.id,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n description: privateEndpointDescription,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n nsgIds: privateEndpointNsgIds,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_private_endpoint = oci.globally_distributed_database.PrivateEndpoint(\"test_private_endpoint\",\n compartment_id=compartment_id,\n display_name=private_endpoint_display_name,\n subnet_id=test_subnet[\"id\"],\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n description=private_endpoint_description,\n freeform_tags={\n \"bar-key\": \"value\",\n },\n nsg_ids=private_endpoint_nsg_ids)\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 testPrivateEndpoint = new Oci.GloballyDistributedDatabase.PrivateEndpoint(\"test_private_endpoint\", new()\n {\n CompartmentId = compartmentId,\n DisplayName = privateEndpointDisplayName,\n SubnetId = testSubnet.Id,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n Description = privateEndpointDescription,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n NsgIds = privateEndpointNsgIds,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GloballyDistributedDatabase\"\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 := GloballyDistributedDatabase.NewPrivateEndpoint(ctx, \"test_private_endpoint\", \u0026GloballyDistributedDatabase.PrivateEndpointArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDisplayName: pulumi.Any(privateEndpointDisplayName),\n\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(privateEndpointDescription),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tNsgIds: pulumi.Any(privateEndpointNsgIds),\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.GloballyDistributedDatabase.PrivateEndpoint;\nimport com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoint = new PrivateEndpoint(\"testPrivateEndpoint\", PrivateEndpointArgs.builder()\n .compartmentId(compartmentId)\n .displayName(privateEndpointDisplayName)\n .subnetId(testSubnet.id())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .description(privateEndpointDescription)\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .nsgIds(privateEndpointNsgIds)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testPrivateEndpoint:\n type: oci:GloballyDistributedDatabase:PrivateEndpoint\n name: test_private_endpoint\n properties:\n compartmentId: ${compartmentId}\n displayName: ${privateEndpointDisplayName}\n subnetId: ${testSubnet.id}\n definedTags:\n foo-namespace.bar-key: value\n description: ${privateEndpointDescription}\n freeformTags:\n bar-key: value\n nsgIds: ${privateEndpointNsgIds}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nPrivateEndpoints can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint test_private_endpoint \"id\"\n```\n", - "properties": { - "compartmentId": { - "type": "string", - "description": "(Updatable) Identifier of the compartment where private endpoint is to be created.\n" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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) PrivateEndpoint description.\n" - }, - "displayName": { - "type": "string", - "description": "(Updatable) Private endpoint display name.\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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" - }, - "lifecycleStateDetails": { - "type": "string", - "description": "Detailed message for the lifecycle state.\n" - }, - "nsgIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(Updatable) The OCIDs of the network security groups that the private endpoint belongs to.\n" - }, - "privateIp": { - "type": "string", - "description": "IP address of the Private Endpoint.\n" - }, - "shardedDatabases": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The OCIDs of sharded databases that consumes the given private endpoint.\n" - }, - "state": { - "type": "string", - "description": "Lifecycle states for private endpoint.\n" - }, - "subnetId": { - "type": "string", - "description": "Identifier of the customer subnet against which 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" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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 time the PrivateEndpoint was first created. An RFC3339 formatted datetime string\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the Private Endpoint was last updated. An RFC3339 formatted datetime string\n" - }, - "vcnId": { - "type": "string", - "description": "Identifier of the VCN in which subnet exists.\n" - } - }, - "required": [ - "compartmentId", - "definedTags", - "description", - "displayName", - "freeformTags", - "lifecycleStateDetails", - "nsgIds", - "privateIp", - "shardedDatabases", - "state", - "subnetId", - "systemTags", - "timeCreated", - "timeUpdated", - "vcnId" - ], - "inputProperties": { - "compartmentId": { - "type": "string", - "description": "(Updatable) Identifier of the compartment where private endpoint is to be created.\n" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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) PrivateEndpoint description.\n" - }, - "displayName": { - "type": "string", - "description": "(Updatable) Private endpoint display name.\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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" - }, - "nsgIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(Updatable) The OCIDs of the network security groups that the private endpoint belongs to.\n" - }, - "subnetId": { - "type": "string", - "description": "Identifier of the customer subnet against which 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": [ - "compartmentId", - "displayName", - "subnetId" - ], - "stateInputs": { - "description": "Input properties used for looking up and filtering PrivateEndpoint resources.\n", - "properties": { - "compartmentId": { - "type": "string", - "description": "(Updatable) Identifier of the compartment where private endpoint is to be created.\n" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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) PrivateEndpoint description.\n" - }, - "displayName": { - "type": "string", - "description": "(Updatable) Private endpoint display name.\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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" - }, - "lifecycleStateDetails": { - "type": "string", - "description": "Detailed message for the lifecycle state.\n" - }, - "nsgIds": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(Updatable) The OCIDs of the network security groups that the private endpoint belongs to.\n" - }, - "privateIp": { - "type": "string", - "description": "IP address of the Private Endpoint.\n" - }, - "shardedDatabases": { - "type": "array", - "items": { - "type": "string" - }, - "description": "The OCIDs of sharded databases that consumes the given private endpoint.\n" - }, - "state": { - "type": "string", - "description": "Lifecycle states for private endpoint.\n" - }, - "subnetId": { - "type": "string", - "description": "Identifier of the customer subnet against which 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 - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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 time the PrivateEndpoint was first created. An RFC3339 formatted datetime string\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the Private Endpoint was last updated. An RFC3339 formatted datetime string\n" - }, - "vcnId": { - "type": "string", - "description": "Identifier of the VCN in which subnet exists.\n" - } - }, - "type": "object" - } - }, - "oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase": { - "description": "This resource provides the Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service.\n\nCreates a Sharded Database.\n\n Patch operation to add, remove or update shards to the sharded database topology. In single patch\noperation, multiple shards can be either added, or removed or updated. Combination of inserts, update\nand remove in single operation is not allowed.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```yaml\nresources:\n testShardedDatabase:\n type: oci:GloballyDistributedDatabase:ShardedDatabase\n name: test_sharded_database\n properties:\n catalogDetails:\n - adminPassword: ${shardedDatabaseCatalogDetailsAdminPassword}\n cloudAutonomousVmClusterId: ${testCloudAutonomousVmCluster.id}\n computeCount: ${shardedDatabaseCatalogDetailsComputeCount}\n dataStorageSizeInGbs: ${shardedDatabaseCatalogDetailsDataStorageSizeInGbs}\n isAutoScalingEnabled: ${shardedDatabaseCatalogDetailsIsAutoScalingEnabled}\n encryptionKeyDetails:\n kmsKeyId: ${testKey.id}\n vaultId: ${testVault.id}\n kmsKeyVersionId: ${testKeyVersion.id}\n peerCloudAutonomousVmClusterId: ${testCloudAutonomousVmCluster.id}\n characterSet: ${shardedDatabaseCharacterSet}\n compartmentId: ${compartmentId}\n dbDeploymentType: ${shardedDatabaseDbDeploymentType}\n dbVersion: ${shardedDatabaseDbVersion}\n dbWorkload: ${shardedDatabaseDbWorkload}\n displayName: ${shardedDatabaseDisplayName}\n listenerPort: ${shardedDatabaseListenerPort}\n listenerPortTls: ${shardedDatabaseListenerPortTls}\n ncharacterSet: ${shardedDatabaseNcharacterSet}\n onsPortLocal: ${shardedDatabaseOnsPortLocal}\n onsPortRemote: ${shardedDatabaseOnsPortRemote}\n prefix: ${shardedDatabasePrefix}\n shardDetails:\n - adminPassword: ${shardedDatabaseShardDetailsAdminPassword}\n cloudAutonomousVmClusterId: ${testCloudAutonomousVmCluster.id}\n computeCount: ${shardedDatabaseShardDetailsComputeCount}\n dataStorageSizeInGbs: ${shardedDatabaseShardDetailsDataStorageSizeInGbs}\n isAutoScalingEnabled: ${shardedDatabaseShardDetailsIsAutoScalingEnabled}\n encryptionKeyDetails:\n kmsKeyId: ${testKey.id}\n vaultId: ${testVault.id}\n kmsKeyVersionId: ${testKeyVersion.id}\n peerCloudAutonomousVmClusterId: ${testCloudAutonomousVmCluster.id}\n shardSpace: ${shardedDatabaseShardDetailsShardSpace}\n shardedDatabaseId: ${shardedDatabaseShardedDatabaseId}\n shardingMethod: ${shardedDatabaseShardingMethod}\n chunks: ${shardedDatabaseChunks}\n clusterCertificateCommonName: ${shardedDatabaseClusterCertificateCommonName}\n definedTags:\n foo-namespace.bar-key: value\n freeformTags:\n bar-key: value\n patchOperations:\n - operation: ${shardedDatabasePatchOperationsOperation}\n selection: ${shardedDatabasePatchOperationsSelection}\n value: ${shardedDatabasePatchOperationsValue}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nShardedDatabases can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase test_sharded_database \"id\"\n```\n", - "properties": { - "catalogDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseCatalogDetail:ShardedDatabaseCatalogDetail" - }, - "description": "Collection of ATP-Dedicated catalogs that needs to be created.\n" - }, - "characterSet": { - "type": "string", - "description": "The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets\n" - }, - "chunks": { - "type": "integer", - "description": "The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.\n" - }, - "clusterCertificateCommonName": { - "type": "string", - "description": "The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.\n" - }, - "compartmentId": { - "type": "string", - "description": "(Updatable) Identifier of the compartment where sharded database is to be created.\n" - }, - "configureGsmsTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value.\n" - }, - "configureShardingTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value.\n" - }, - "connectionStrings": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseConnectionString:ShardedDatabaseConnectionString" - }, - "description": "Details of sharded database connection String.\n" - }, - "dbDeploymentType": { - "type": "string", - "description": "The database deployment type.\n" - }, - "dbVersion": { - "type": "string", - "description": "Oracle Database version of the Autonomous Container Database.\n" - }, - "dbWorkload": { - "type": "string", - "description": "Possible workload types.\n" - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" - }, - "displayName": { - "type": "string", - "description": "(Updatable) Oracle sharded database display name.\n" - }, - "downloadGsmCertificateSigningRequestTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value.\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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" - }, - "generateGsmCertificateSigningRequestTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value.\n" - }, - "generateWalletTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value.\n" - }, - "getConnectionStringTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value.\n" - }, - "gsms": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseGsm:ShardedDatabaseGsm" - }, - "description": "Details of GSM instances for the sharded database.\n" - }, - "lifecycleState": { - "type": "string" - }, - "lifecycleStateDetails": { - "type": "string", - "description": "Detailed message for the lifecycle state.\n" - }, - "listenerPort": { - "type": "integer", - "description": "The listener port number for sharded database.\n" - }, - "listenerPortTls": { - "type": "integer", - "description": "The TLS listener port number for sharded database.\n" - }, - "ncharacterSet": { - "type": "string", - "description": "The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets\n" - }, - "onsPortLocal": { - "type": "integer", - "description": "Ons port local for sharded database.\n" - }, - "onsPortRemote": { - "type": "integer", - "description": "Ons remote port for sharded database.\n" - }, - "patchOperations": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabasePatchOperation:ShardedDatabasePatchOperation" - }, - "description": "(Updatable)\n" - }, - "prefix": { - "type": "string", - "description": "Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.\n" - }, - "privateEndpoint": { - "type": "string", - "description": "The OCID of private endpoint being used by the sharded database.\n" - }, - "shardDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseShardDetail:ShardedDatabaseShardDetail" - }, - "description": "Collection of ATP-Dedicated shards that needs to be created.\n" - }, - "shardedDatabaseId": { - "type": "string" - }, - "shardingMethod": { - "type": "string", - "description": "Sharding Method.\n" - }, - "startDatabaseTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value.\n" - }, - "state": { - "type": "string", - "description": "Lifecycle states for sharded databases.\n" - }, - "stopDatabaseTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value.\n" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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 time the the Sharded Database was created. An RFC3339 formatted datetime string\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the Sharded Database was last updated. An RFC3339 formatted datetime string\n" - }, - "timeZone": { - "type": "string", - "description": "Timezone associated with the sharded database.\n" - }, - "uploadSignedCertificateAndGenerateWalletTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value.\n" - }, - "validateNetworkTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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" - } - }, - "required": [ - "catalogDetails", - "characterSet", - "chunks", - "clusterCertificateCommonName", - "compartmentId", - "configureGsmsTrigger", - "connectionStrings", - "dbDeploymentType", - "dbVersion", - "dbWorkload", - "definedTags", - "displayName", - "freeformTags", - "generateWalletTrigger", - "gsms", - "lifecycleState", - "lifecycleStateDetails", - "listenerPort", - "listenerPortTls", - "ncharacterSet", - "onsPortLocal", - "onsPortRemote", - "prefix", - "privateEndpoint", - "shardDetails", - "shardedDatabaseId", - "shardingMethod", - "state", - "systemTags", - "timeCreated", - "timeUpdated", - "timeZone", - "uploadSignedCertificateAndGenerateWalletTrigger" - ], - "inputProperties": { - "catalogDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseCatalogDetail:ShardedDatabaseCatalogDetail" - }, - "description": "Collection of ATP-Dedicated catalogs that needs to be created.\n", - "willReplaceOnChanges": true - }, - "characterSet": { - "type": "string", - "description": "The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets\n", - "willReplaceOnChanges": true - }, - "chunks": { - "type": "integer", - "description": "The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.\n", - "willReplaceOnChanges": true - }, - "clusterCertificateCommonName": { - "type": "string", - "description": "The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.\n", - "willReplaceOnChanges": true - }, - "compartmentId": { - "type": "string", - "description": "(Updatable) Identifier of the compartment where sharded database is to be created.\n" - }, - "configureShardingTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value.\n" - }, - "dbDeploymentType": { - "type": "string", - "description": "The database deployment type.\n", - "willReplaceOnChanges": true - }, - "dbVersion": { - "type": "string", - "description": "Oracle Database version of the Autonomous Container Database.\n", - "willReplaceOnChanges": true - }, - "dbWorkload": { - "type": "string", - "description": "Possible workload types.\n", - "willReplaceOnChanges": true - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" - }, - "displayName": { - "type": "string", - "description": "(Updatable) Oracle sharded database display name.\n" - }, - "downloadGsmCertificateSigningRequestTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value.\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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" - }, - "generateGsmCertificateSigningRequestTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value.\n" - }, - "getConnectionStringTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value.\n" - }, - "listenerPort": { - "type": "integer", - "description": "The listener port number for sharded database.\n", - "willReplaceOnChanges": true - }, - "listenerPortTls": { - "type": "integer", - "description": "The TLS listener port number for sharded database.\n", - "willReplaceOnChanges": true - }, - "ncharacterSet": { - "type": "string", - "description": "The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets\n", - "willReplaceOnChanges": true - }, - "onsPortLocal": { - "type": "integer", - "description": "Ons port local for sharded database.\n", - "willReplaceOnChanges": true - }, - "onsPortRemote": { - "type": "integer", - "description": "Ons remote port for sharded database.\n", - "willReplaceOnChanges": true - }, - "patchOperations": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabasePatchOperation:ShardedDatabasePatchOperation" - }, - "description": "(Updatable)\n" - }, - "prefix": { - "type": "string", - "description": "Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.\n", - "willReplaceOnChanges": true - }, - "shardDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseShardDetail:ShardedDatabaseShardDetail" - }, - "description": "Collection of ATP-Dedicated shards that needs to be created.\n", - "willReplaceOnChanges": true - }, - "shardingMethod": { - "type": "string", - "description": "Sharding Method.\n", - "willReplaceOnChanges": true - }, - "startDatabaseTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value.\n" - }, - "stopDatabaseTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value.\n" - }, - "validateNetworkTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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": [ - "catalogDetails", - "characterSet", - "compartmentId", - "dbDeploymentType", - "dbVersion", - "dbWorkload", - "displayName", - "listenerPort", - "listenerPortTls", - "ncharacterSet", - "onsPortLocal", - "onsPortRemote", - "prefix", - "shardDetails", - "shardingMethod" - ], - "stateInputs": { - "description": "Input properties used for looking up and filtering ShardedDatabase resources.\n", - "properties": { - "catalogDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseCatalogDetail:ShardedDatabaseCatalogDetail" - }, - "description": "Collection of ATP-Dedicated catalogs that needs to be created.\n", - "willReplaceOnChanges": true - }, - "characterSet": { - "type": "string", - "description": "The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets\n", - "willReplaceOnChanges": true - }, - "chunks": { - "type": "integer", - "description": "The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.\n", - "willReplaceOnChanges": true - }, - "clusterCertificateCommonName": { - "type": "string", - "description": "The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.\n", - "willReplaceOnChanges": true - }, - "compartmentId": { - "type": "string", - "description": "(Updatable) Identifier of the compartment where sharded database is to be created.\n" - }, - "configureGsmsTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value.\n" - }, - "configureShardingTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value.\n" - }, - "connectionStrings": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseConnectionString:ShardedDatabaseConnectionString" - }, - "description": "Details of sharded database connection String.\n" - }, - "dbDeploymentType": { - "type": "string", - "description": "The database deployment type.\n", - "willReplaceOnChanges": true - }, - "dbVersion": { - "type": "string", - "description": "Oracle Database version of the Autonomous Container Database.\n", - "willReplaceOnChanges": true - }, - "dbWorkload": { - "type": "string", - "description": "Possible workload types.\n", - "willReplaceOnChanges": true - }, - "definedTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" - }, - "displayName": { - "type": "string", - "description": "(Updatable) Oracle sharded database display name.\n" - }, - "downloadGsmCertificateSigningRequestTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value.\n" - }, - "freeformTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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" - }, - "generateGsmCertificateSigningRequestTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value.\n" - }, - "generateWalletTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value.\n" - }, - "getConnectionStringTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value.\n" - }, - "gsms": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseGsm:ShardedDatabaseGsm" - }, - "description": "Details of GSM instances for the sharded database.\n" - }, - "lifecycleState": { - "type": "string" - }, - "lifecycleStateDetails": { - "type": "string", - "description": "Detailed message for the lifecycle state.\n" - }, - "listenerPort": { - "type": "integer", - "description": "The listener port number for sharded database.\n", - "willReplaceOnChanges": true - }, - "listenerPortTls": { - "type": "integer", - "description": "The TLS listener port number for sharded database.\n", - "willReplaceOnChanges": true - }, - "ncharacterSet": { - "type": "string", - "description": "The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets\n", - "willReplaceOnChanges": true - }, - "onsPortLocal": { - "type": "integer", - "description": "Ons port local for sharded database.\n", - "willReplaceOnChanges": true - }, - "onsPortRemote": { - "type": "integer", - "description": "Ons remote port for sharded database.\n", - "willReplaceOnChanges": true - }, - "patchOperations": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabasePatchOperation:ShardedDatabasePatchOperation" - }, - "description": "(Updatable)\n" - }, - "prefix": { - "type": "string", - "description": "Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number.\n", - "willReplaceOnChanges": true - }, - "privateEndpoint": { - "type": "string", - "description": "The OCID of private endpoint being used by the sharded database.\n" - }, - "shardDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/ShardedDatabaseShardDetail:ShardedDatabaseShardDetail" - }, - "description": "Collection of ATP-Dedicated shards that needs to be created.\n", - "willReplaceOnChanges": true - }, - "shardedDatabaseId": { - "type": "string" - }, - "shardingMethod": { - "type": "string", - "description": "Sharding Method.\n", - "willReplaceOnChanges": true - }, - "startDatabaseTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value.\n" - }, - "state": { - "type": "string", - "description": "Lifecycle states for sharded databases.\n" - }, - "stopDatabaseTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value.\n" - }, - "systemTags": { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "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 time the the Sharded Database was created. An RFC3339 formatted datetime string\n" - }, - "timeUpdated": { - "type": "string", - "description": "The time the Sharded Database was last updated. An RFC3339 formatted datetime string\n" - }, - "timeZone": { - "type": "string", - "description": "Timezone associated with the sharded database.\n" - }, - "uploadSignedCertificateAndGenerateWalletTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value.\n" - }, - "validateNetworkTrigger": { - "type": "integer", - "description": "(Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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" - } - }, - "type": "object" - } - }, "oci:GoldenGate/connection:Connection": { "description": "This resource provides the Connection resource in Oracle Cloud Infrastructure Golden Gate service.\n\nCreates a new Connection.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testConnection = new oci.goldengate.Connection(\"test_connection\", {\n compartmentId: compartmentId,\n connectionType: connectionConnectionType,\n displayName: connectionDisplayName,\n technologyType: connectionTechnologyType,\n accessKeyId: testKey.id,\n accountKey: connectionAccountKey,\n accountName: connectionAccountName,\n additionalAttributes: [{\n name: connectionAdditionalAttributesName,\n value: connectionAdditionalAttributesValue,\n }],\n authenticationMode: connectionAuthenticationMode,\n authenticationType: connectionAuthenticationType,\n azureTenantId: testAzureTenant.id,\n bootstrapServers: [{\n host: connectionBootstrapServersHost,\n port: connectionBootstrapServersPort,\n privateIp: connectionBootstrapServersPrivateIp,\n }],\n clientId: testClient.id,\n clientSecret: connectionClientSecret,\n connectionFactory: connectionConnectionFactory,\n connectionString: connectionConnectionString,\n connectionUrl: connectionConnectionUrl,\n consumerProperties: connectionConsumerProperties,\n coreSiteXml: connectionCoreSiteXml,\n databaseId: testDatabase.id,\n databaseName: testDatabase.name,\n dbSystemId: testDbSystem.id,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n deploymentId: testDeployment.id,\n description: connectionDescription,\n endpoint: connectionEndpoint,\n fingerprint: connectionFingerprint,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n host: connectionHost,\n jndiConnectionFactory: connectionJndiConnectionFactory,\n jndiInitialContextFactory: connectionJndiInitialContextFactory,\n jndiProviderUrl: connectionJndiProviderUrl,\n jndiSecurityCredentials: connectionJndiSecurityCredentials,\n jndiSecurityPrincipal: connectionJndiSecurityPrincipal,\n keyId: testKey.id,\n keyStore: connectionKeyStore,\n keyStorePassword: connectionKeyStorePassword,\n locks: [{\n type: connectionLocksType,\n message: connectionLocksMessage,\n }],\n nsgIds: connectionNsgIds,\n password: connectionPassword,\n port: connectionPort,\n privateIp: connectionPrivateIp,\n privateKeyFile: connectionPrivateKeyFile,\n privateKeyPassphrase: connectionPrivateKeyPassphrase,\n producerProperties: connectionProducerProperties,\n publicKeyFingerprint: connectionPublicKeyFingerprint,\n redisClusterId: testRedisCluster.id,\n region: connectionRegion,\n routingMethod: connectionRoutingMethod,\n sasToken: connectionSasToken,\n secretAccessKey: connectionSecretAccessKey,\n securityProtocol: connectionSecurityProtocol,\n servers: connectionServers,\n serviceAccountKeyFile: connectionServiceAccountKeyFile,\n sessionMode: connectionSessionMode,\n shouldUseJndi: connectionShouldUseJndi,\n shouldValidateServerCertificate: connectionShouldValidateServerCertificate,\n sslCa: connectionSslCa,\n sslCert: connectionSslCert,\n sslClientKeystash: connectionSslClientKeystash,\n sslClientKeystoredb: connectionSslClientKeystoredb,\n sslCrl: connectionSslCrl,\n sslKey: connectionSslKey,\n sslKeyPassword: connectionSslKeyPassword,\n sslMode: connectionSslMode,\n sslServerCertificate: connectionSslServerCertificate,\n streamPoolId: testStreamPool.id,\n subnetId: testSubnet.id,\n tenancyId: testTenancy.id,\n trustStore: connectionTrustStore,\n trustStorePassword: connectionTrustStorePassword,\n url: connectionUrl,\n userId: testUser.id,\n username: connectionUsername,\n vaultId: testVault.id,\n wallet: connectionWallet,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_connection = oci.golden_gate.Connection(\"test_connection\",\n compartment_id=compartment_id,\n connection_type=connection_connection_type,\n display_name=connection_display_name,\n technology_type=connection_technology_type,\n access_key_id=test_key[\"id\"],\n account_key=connection_account_key,\n account_name=connection_account_name,\n additional_attributes=[{\n \"name\": connection_additional_attributes_name,\n \"value\": connection_additional_attributes_value,\n }],\n authentication_mode=connection_authentication_mode,\n authentication_type=connection_authentication_type,\n azure_tenant_id=test_azure_tenant[\"id\"],\n bootstrap_servers=[{\n \"host\": connection_bootstrap_servers_host,\n \"port\": connection_bootstrap_servers_port,\n \"private_ip\": connection_bootstrap_servers_private_ip,\n }],\n client_id=test_client[\"id\"],\n client_secret=connection_client_secret,\n connection_factory=connection_connection_factory,\n connection_string=connection_connection_string,\n connection_url=connection_connection_url,\n consumer_properties=connection_consumer_properties,\n core_site_xml=connection_core_site_xml,\n database_id=test_database[\"id\"],\n database_name=test_database[\"name\"],\n db_system_id=test_db_system[\"id\"],\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n deployment_id=test_deployment[\"id\"],\n description=connection_description,\n endpoint=connection_endpoint,\n fingerprint=connection_fingerprint,\n freeform_tags={\n \"bar-key\": \"value\",\n },\n host=connection_host,\n jndi_connection_factory=connection_jndi_connection_factory,\n jndi_initial_context_factory=connection_jndi_initial_context_factory,\n jndi_provider_url=connection_jndi_provider_url,\n jndi_security_credentials=connection_jndi_security_credentials,\n jndi_security_principal=connection_jndi_security_principal,\n key_id=test_key[\"id\"],\n key_store=connection_key_store,\n key_store_password=connection_key_store_password,\n locks=[{\n \"type\": connection_locks_type,\n \"message\": connection_locks_message,\n }],\n nsg_ids=connection_nsg_ids,\n password=connection_password,\n port=connection_port,\n private_ip=connection_private_ip,\n private_key_file=connection_private_key_file,\n private_key_passphrase=connection_private_key_passphrase,\n producer_properties=connection_producer_properties,\n public_key_fingerprint=connection_public_key_fingerprint,\n redis_cluster_id=test_redis_cluster[\"id\"],\n region=connection_region,\n routing_method=connection_routing_method,\n sas_token=connection_sas_token,\n secret_access_key=connection_secret_access_key,\n security_protocol=connection_security_protocol,\n servers=connection_servers,\n service_account_key_file=connection_service_account_key_file,\n session_mode=connection_session_mode,\n should_use_jndi=connection_should_use_jndi,\n should_validate_server_certificate=connection_should_validate_server_certificate,\n ssl_ca=connection_ssl_ca,\n ssl_cert=connection_ssl_cert,\n ssl_client_keystash=connection_ssl_client_keystash,\n ssl_client_keystoredb=connection_ssl_client_keystoredb,\n ssl_crl=connection_ssl_crl,\n ssl_key=connection_ssl_key,\n ssl_key_password=connection_ssl_key_password,\n ssl_mode=connection_ssl_mode,\n ssl_server_certificate=connection_ssl_server_certificate,\n stream_pool_id=test_stream_pool[\"id\"],\n subnet_id=test_subnet[\"id\"],\n tenancy_id=test_tenancy[\"id\"],\n trust_store=connection_trust_store,\n trust_store_password=connection_trust_store_password,\n url=connection_url,\n user_id=test_user[\"id\"],\n username=connection_username,\n vault_id=test_vault[\"id\"],\n wallet=connection_wallet)\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 testConnection = new Oci.GoldenGate.Connection(\"test_connection\", new()\n {\n CompartmentId = compartmentId,\n ConnectionType = connectionConnectionType,\n DisplayName = connectionDisplayName,\n TechnologyType = connectionTechnologyType,\n AccessKeyId = testKey.Id,\n AccountKey = connectionAccountKey,\n AccountName = connectionAccountName,\n AdditionalAttributes = new[]\n {\n new Oci.GoldenGate.Inputs.ConnectionAdditionalAttributeArgs\n {\n Name = connectionAdditionalAttributesName,\n Value = connectionAdditionalAttributesValue,\n },\n },\n AuthenticationMode = connectionAuthenticationMode,\n AuthenticationType = connectionAuthenticationType,\n AzureTenantId = testAzureTenant.Id,\n BootstrapServers = new[]\n {\n new Oci.GoldenGate.Inputs.ConnectionBootstrapServerArgs\n {\n Host = connectionBootstrapServersHost,\n Port = connectionBootstrapServersPort,\n PrivateIp = connectionBootstrapServersPrivateIp,\n },\n },\n ClientId = testClient.Id,\n ClientSecret = connectionClientSecret,\n ConnectionFactory = connectionConnectionFactory,\n ConnectionString = connectionConnectionString,\n ConnectionUrl = connectionConnectionUrl,\n ConsumerProperties = connectionConsumerProperties,\n CoreSiteXml = connectionCoreSiteXml,\n DatabaseId = testDatabase.Id,\n DatabaseName = testDatabase.Name,\n DbSystemId = testDbSystem.Id,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n DeploymentId = testDeployment.Id,\n Description = connectionDescription,\n Endpoint = connectionEndpoint,\n Fingerprint = connectionFingerprint,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n Host = connectionHost,\n JndiConnectionFactory = connectionJndiConnectionFactory,\n JndiInitialContextFactory = connectionJndiInitialContextFactory,\n JndiProviderUrl = connectionJndiProviderUrl,\n JndiSecurityCredentials = connectionJndiSecurityCredentials,\n JndiSecurityPrincipal = connectionJndiSecurityPrincipal,\n KeyId = testKey.Id,\n KeyStore = connectionKeyStore,\n KeyStorePassword = connectionKeyStorePassword,\n Locks = new[]\n {\n new Oci.GoldenGate.Inputs.ConnectionLockArgs\n {\n Type = connectionLocksType,\n Message = connectionLocksMessage,\n },\n },\n NsgIds = connectionNsgIds,\n Password = connectionPassword,\n Port = connectionPort,\n PrivateIp = connectionPrivateIp,\n PrivateKeyFile = connectionPrivateKeyFile,\n PrivateKeyPassphrase = connectionPrivateKeyPassphrase,\n ProducerProperties = connectionProducerProperties,\n PublicKeyFingerprint = connectionPublicKeyFingerprint,\n RedisClusterId = testRedisCluster.Id,\n Region = connectionRegion,\n RoutingMethod = connectionRoutingMethod,\n SasToken = connectionSasToken,\n SecretAccessKey = connectionSecretAccessKey,\n SecurityProtocol = connectionSecurityProtocol,\n Servers = connectionServers,\n ServiceAccountKeyFile = connectionServiceAccountKeyFile,\n SessionMode = connectionSessionMode,\n ShouldUseJndi = connectionShouldUseJndi,\n ShouldValidateServerCertificate = connectionShouldValidateServerCertificate,\n SslCa = connectionSslCa,\n SslCert = connectionSslCert,\n SslClientKeystash = connectionSslClientKeystash,\n SslClientKeystoredb = connectionSslClientKeystoredb,\n SslCrl = connectionSslCrl,\n SslKey = connectionSslKey,\n SslKeyPassword = connectionSslKeyPassword,\n SslMode = connectionSslMode,\n SslServerCertificate = connectionSslServerCertificate,\n StreamPoolId = testStreamPool.Id,\n SubnetId = testSubnet.Id,\n TenancyId = testTenancy.Id,\n TrustStore = connectionTrustStore,\n TrustStorePassword = connectionTrustStorePassword,\n Url = connectionUrl,\n UserId = testUser.Id,\n Username = connectionUsername,\n VaultId = testVault.Id,\n Wallet = connectionWallet,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GoldenGate\"\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 := GoldenGate.NewConnection(ctx, \"test_connection\", \u0026GoldenGate.ConnectionArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tConnectionType: pulumi.Any(connectionConnectionType),\n\t\t\tDisplayName: pulumi.Any(connectionDisplayName),\n\t\t\tTechnologyType: pulumi.Any(connectionTechnologyType),\n\t\t\tAccessKeyId: pulumi.Any(testKey.Id),\n\t\t\tAccountKey: pulumi.Any(connectionAccountKey),\n\t\t\tAccountName: pulumi.Any(connectionAccountName),\n\t\t\tAdditionalAttributes: goldengate.ConnectionAdditionalAttributeArray{\n\t\t\t\t\u0026goldengate.ConnectionAdditionalAttributeArgs{\n\t\t\t\t\tName: pulumi.Any(connectionAdditionalAttributesName),\n\t\t\t\t\tValue: pulumi.Any(connectionAdditionalAttributesValue),\n\t\t\t\t},\n\t\t\t},\n\t\t\tAuthenticationMode: pulumi.Any(connectionAuthenticationMode),\n\t\t\tAuthenticationType: pulumi.Any(connectionAuthenticationType),\n\t\t\tAzureTenantId: pulumi.Any(testAzureTenant.Id),\n\t\t\tBootstrapServers: goldengate.ConnectionBootstrapServerArray{\n\t\t\t\t\u0026goldengate.ConnectionBootstrapServerArgs{\n\t\t\t\t\tHost: pulumi.Any(connectionBootstrapServersHost),\n\t\t\t\t\tPort: pulumi.Any(connectionBootstrapServersPort),\n\t\t\t\t\tPrivateIp: pulumi.Any(connectionBootstrapServersPrivateIp),\n\t\t\t\t},\n\t\t\t},\n\t\t\tClientId: pulumi.Any(testClient.Id),\n\t\t\tClientSecret: pulumi.Any(connectionClientSecret),\n\t\t\tConnectionFactory: pulumi.Any(connectionConnectionFactory),\n\t\t\tConnectionString: pulumi.Any(connectionConnectionString),\n\t\t\tConnectionUrl: pulumi.Any(connectionConnectionUrl),\n\t\t\tConsumerProperties: pulumi.Any(connectionConsumerProperties),\n\t\t\tCoreSiteXml: pulumi.Any(connectionCoreSiteXml),\n\t\t\tDatabaseId: pulumi.Any(testDatabase.Id),\n\t\t\tDatabaseName: pulumi.Any(testDatabase.Name),\n\t\t\tDbSystemId: pulumi.Any(testDbSystem.Id),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tDeploymentId: pulumi.Any(testDeployment.Id),\n\t\t\tDescription: pulumi.Any(connectionDescription),\n\t\t\tEndpoint: pulumi.Any(connectionEndpoint),\n\t\t\tFingerprint: pulumi.Any(connectionFingerprint),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tHost: pulumi.Any(connectionHost),\n\t\t\tJndiConnectionFactory: pulumi.Any(connectionJndiConnectionFactory),\n\t\t\tJndiInitialContextFactory: pulumi.Any(connectionJndiInitialContextFactory),\n\t\t\tJndiProviderUrl: pulumi.Any(connectionJndiProviderUrl),\n\t\t\tJndiSecurityCredentials: pulumi.Any(connectionJndiSecurityCredentials),\n\t\t\tJndiSecurityPrincipal: pulumi.Any(connectionJndiSecurityPrincipal),\n\t\t\tKeyId: pulumi.Any(testKey.Id),\n\t\t\tKeyStore: pulumi.Any(connectionKeyStore),\n\t\t\tKeyStorePassword: pulumi.Any(connectionKeyStorePassword),\n\t\t\tLocks: goldengate.ConnectionLockArray{\n\t\t\t\t\u0026goldengate.ConnectionLockArgs{\n\t\t\t\t\tType: pulumi.Any(connectionLocksType),\n\t\t\t\t\tMessage: pulumi.Any(connectionLocksMessage),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNsgIds: pulumi.Any(connectionNsgIds),\n\t\t\tPassword: pulumi.Any(connectionPassword),\n\t\t\tPort: pulumi.Any(connectionPort),\n\t\t\tPrivateIp: pulumi.Any(connectionPrivateIp),\n\t\t\tPrivateKeyFile: pulumi.Any(connectionPrivateKeyFile),\n\t\t\tPrivateKeyPassphrase: pulumi.Any(connectionPrivateKeyPassphrase),\n\t\t\tProducerProperties: pulumi.Any(connectionProducerProperties),\n\t\t\tPublicKeyFingerprint: pulumi.Any(connectionPublicKeyFingerprint),\n\t\t\tRedisClusterId: pulumi.Any(testRedisCluster.Id),\n\t\t\tRegion: pulumi.Any(connectionRegion),\n\t\t\tRoutingMethod: pulumi.Any(connectionRoutingMethod),\n\t\t\tSasToken: pulumi.Any(connectionSasToken),\n\t\t\tSecretAccessKey: pulumi.Any(connectionSecretAccessKey),\n\t\t\tSecurityProtocol: pulumi.Any(connectionSecurityProtocol),\n\t\t\tServers: pulumi.Any(connectionServers),\n\t\t\tServiceAccountKeyFile: pulumi.Any(connectionServiceAccountKeyFile),\n\t\t\tSessionMode: pulumi.Any(connectionSessionMode),\n\t\t\tShouldUseJndi: pulumi.Any(connectionShouldUseJndi),\n\t\t\tShouldValidateServerCertificate: pulumi.Any(connectionShouldValidateServerCertificate),\n\t\t\tSslCa: pulumi.Any(connectionSslCa),\n\t\t\tSslCert: pulumi.Any(connectionSslCert),\n\t\t\tSslClientKeystash: pulumi.Any(connectionSslClientKeystash),\n\t\t\tSslClientKeystoredb: pulumi.Any(connectionSslClientKeystoredb),\n\t\t\tSslCrl: pulumi.Any(connectionSslCrl),\n\t\t\tSslKey: pulumi.Any(connectionSslKey),\n\t\t\tSslKeyPassword: pulumi.Any(connectionSslKeyPassword),\n\t\t\tSslMode: pulumi.Any(connectionSslMode),\n\t\t\tSslServerCertificate: pulumi.Any(connectionSslServerCertificate),\n\t\t\tStreamPoolId: pulumi.Any(testStreamPool.Id),\n\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\tTenancyId: pulumi.Any(testTenancy.Id),\n\t\t\tTrustStore: pulumi.Any(connectionTrustStore),\n\t\t\tTrustStorePassword: pulumi.Any(connectionTrustStorePassword),\n\t\t\tUrl: pulumi.Any(connectionUrl),\n\t\t\tUserId: pulumi.Any(testUser.Id),\n\t\t\tUsername: pulumi.Any(connectionUsername),\n\t\t\tVaultId: pulumi.Any(testVault.Id),\n\t\t\tWallet: pulumi.Any(connectionWallet),\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.GoldenGate.Connection;\nimport com.pulumi.oci.GoldenGate.ConnectionArgs;\nimport com.pulumi.oci.GoldenGate.inputs.ConnectionAdditionalAttributeArgs;\nimport com.pulumi.oci.GoldenGate.inputs.ConnectionBootstrapServerArgs;\nimport com.pulumi.oci.GoldenGate.inputs.ConnectionLockArgs;\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 testConnection = new Connection(\"testConnection\", ConnectionArgs.builder()\n .compartmentId(compartmentId)\n .connectionType(connectionConnectionType)\n .displayName(connectionDisplayName)\n .technologyType(connectionTechnologyType)\n .accessKeyId(testKey.id())\n .accountKey(connectionAccountKey)\n .accountName(connectionAccountName)\n .additionalAttributes(ConnectionAdditionalAttributeArgs.builder()\n .name(connectionAdditionalAttributesName)\n .value(connectionAdditionalAttributesValue)\n .build())\n .authenticationMode(connectionAuthenticationMode)\n .authenticationType(connectionAuthenticationType)\n .azureTenantId(testAzureTenant.id())\n .bootstrapServers(ConnectionBootstrapServerArgs.builder()\n .host(connectionBootstrapServersHost)\n .port(connectionBootstrapServersPort)\n .privateIp(connectionBootstrapServersPrivateIp)\n .build())\n .clientId(testClient.id())\n .clientSecret(connectionClientSecret)\n .connectionFactory(connectionConnectionFactory)\n .connectionString(connectionConnectionString)\n .connectionUrl(connectionConnectionUrl)\n .consumerProperties(connectionConsumerProperties)\n .coreSiteXml(connectionCoreSiteXml)\n .databaseId(testDatabase.id())\n .databaseName(testDatabase.name())\n .dbSystemId(testDbSystem.id())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .deploymentId(testDeployment.id())\n .description(connectionDescription)\n .endpoint(connectionEndpoint)\n .fingerprint(connectionFingerprint)\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .host(connectionHost)\n .jndiConnectionFactory(connectionJndiConnectionFactory)\n .jndiInitialContextFactory(connectionJndiInitialContextFactory)\n .jndiProviderUrl(connectionJndiProviderUrl)\n .jndiSecurityCredentials(connectionJndiSecurityCredentials)\n .jndiSecurityPrincipal(connectionJndiSecurityPrincipal)\n .keyId(testKey.id())\n .keyStore(connectionKeyStore)\n .keyStorePassword(connectionKeyStorePassword)\n .locks(ConnectionLockArgs.builder()\n .type(connectionLocksType)\n .message(connectionLocksMessage)\n .build())\n .nsgIds(connectionNsgIds)\n .password(connectionPassword)\n .port(connectionPort)\n .privateIp(connectionPrivateIp)\n .privateKeyFile(connectionPrivateKeyFile)\n .privateKeyPassphrase(connectionPrivateKeyPassphrase)\n .producerProperties(connectionProducerProperties)\n .publicKeyFingerprint(connectionPublicKeyFingerprint)\n .redisClusterId(testRedisCluster.id())\n .region(connectionRegion)\n .routingMethod(connectionRoutingMethod)\n .sasToken(connectionSasToken)\n .secretAccessKey(connectionSecretAccessKey)\n .securityProtocol(connectionSecurityProtocol)\n .servers(connectionServers)\n .serviceAccountKeyFile(connectionServiceAccountKeyFile)\n .sessionMode(connectionSessionMode)\n .shouldUseJndi(connectionShouldUseJndi)\n .shouldValidateServerCertificate(connectionShouldValidateServerCertificate)\n .sslCa(connectionSslCa)\n .sslCert(connectionSslCert)\n .sslClientKeystash(connectionSslClientKeystash)\n .sslClientKeystoredb(connectionSslClientKeystoredb)\n .sslCrl(connectionSslCrl)\n .sslKey(connectionSslKey)\n .sslKeyPassword(connectionSslKeyPassword)\n .sslMode(connectionSslMode)\n .sslServerCertificate(connectionSslServerCertificate)\n .streamPoolId(testStreamPool.id())\n .subnetId(testSubnet.id())\n .tenancyId(testTenancy.id())\n .trustStore(connectionTrustStore)\n .trustStorePassword(connectionTrustStorePassword)\n .url(connectionUrl)\n .userId(testUser.id())\n .username(connectionUsername)\n .vaultId(testVault.id())\n .wallet(connectionWallet)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testConnection:\n type: oci:GoldenGate:Connection\n name: test_connection\n properties:\n compartmentId: ${compartmentId}\n connectionType: ${connectionConnectionType}\n displayName: ${connectionDisplayName}\n technologyType: ${connectionTechnologyType}\n accessKeyId: ${testKey.id}\n accountKey: ${connectionAccountKey}\n accountName: ${connectionAccountName}\n additionalAttributes:\n - name: ${connectionAdditionalAttributesName}\n value: ${connectionAdditionalAttributesValue}\n authenticationMode: ${connectionAuthenticationMode}\n authenticationType: ${connectionAuthenticationType}\n azureTenantId: ${testAzureTenant.id}\n bootstrapServers:\n - host: ${connectionBootstrapServersHost}\n port: ${connectionBootstrapServersPort}\n privateIp: ${connectionBootstrapServersPrivateIp}\n clientId: ${testClient.id}\n clientSecret: ${connectionClientSecret}\n connectionFactory: ${connectionConnectionFactory}\n connectionString: ${connectionConnectionString}\n connectionUrl: ${connectionConnectionUrl}\n consumerProperties: ${connectionConsumerProperties}\n coreSiteXml: ${connectionCoreSiteXml}\n databaseId: ${testDatabase.id}\n databaseName: ${testDatabase.name}\n dbSystemId: ${testDbSystem.id}\n definedTags:\n foo-namespace.bar-key: value\n deploymentId: ${testDeployment.id}\n description: ${connectionDescription}\n endpoint: ${connectionEndpoint}\n fingerprint: ${connectionFingerprint}\n freeformTags:\n bar-key: value\n host: ${connectionHost}\n jndiConnectionFactory: ${connectionJndiConnectionFactory}\n jndiInitialContextFactory: ${connectionJndiInitialContextFactory}\n jndiProviderUrl: ${connectionJndiProviderUrl}\n jndiSecurityCredentials: ${connectionJndiSecurityCredentials}\n jndiSecurityPrincipal: ${connectionJndiSecurityPrincipal}\n keyId: ${testKey.id}\n keyStore: ${connectionKeyStore}\n keyStorePassword: ${connectionKeyStorePassword}\n locks:\n - type: ${connectionLocksType}\n message: ${connectionLocksMessage}\n nsgIds: ${connectionNsgIds}\n password: ${connectionPassword}\n port: ${connectionPort}\n privateIp: ${connectionPrivateIp}\n privateKeyFile: ${connectionPrivateKeyFile}\n privateKeyPassphrase: ${connectionPrivateKeyPassphrase}\n producerProperties: ${connectionProducerProperties}\n publicKeyFingerprint: ${connectionPublicKeyFingerprint}\n redisClusterId: ${testRedisCluster.id}\n region: ${connectionRegion}\n routingMethod: ${connectionRoutingMethod}\n sasToken: ${connectionSasToken}\n secretAccessKey: ${connectionSecretAccessKey}\n securityProtocol: ${connectionSecurityProtocol}\n servers: ${connectionServers}\n serviceAccountKeyFile: ${connectionServiceAccountKeyFile}\n sessionMode: ${connectionSessionMode}\n shouldUseJndi: ${connectionShouldUseJndi}\n shouldValidateServerCertificate: ${connectionShouldValidateServerCertificate}\n sslCa: ${connectionSslCa}\n sslCert: ${connectionSslCert}\n sslClientKeystash: ${connectionSslClientKeystash}\n sslClientKeystoredb: ${connectionSslClientKeystoredb}\n sslCrl: ${connectionSslCrl}\n sslKey: ${connectionSslKey}\n sslKeyPassword: ${connectionSslKeyPassword}\n sslMode: ${connectionSslMode}\n sslServerCertificate: ${connectionSslServerCertificate}\n streamPoolId: ${testStreamPool.id}\n subnetId: ${testSubnet.id}\n tenancyId: ${testTenancy.id}\n trustStore: ${connectionTrustStore}\n trustStorePassword: ${connectionTrustStorePassword}\n url: ${connectionUrl}\n userId: ${testUser.id}\n username: ${connectionUsername}\n vaultId: ${testVault.id}\n wallet: ${connectionWallet}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nConnections can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:GoldenGate/connection:Connection test_connection \"id\"\n```\n", "properties": { @@ -479407,6 +480906,9 @@ "type": "string", "description": "(Updatable) An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" }, + "forceDelete": { + "type": "boolean" + }, "idcsCreatedBies": { "type": "array", "items": { @@ -479557,6 +481059,9 @@ "type": "string", "description": "(Updatable) An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" }, + "forceDelete": { + "type": "boolean" + }, "idcsEndpoint": { "type": "string", "description": "The basic endpoint for the identity domain\n", @@ -479659,6 +481164,9 @@ "type": "string", "description": "(Updatable) An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" }, + "forceDelete": { + "type": "boolean" + }, "idcsCreatedBies": { "type": "array", "items": { @@ -491113,14 +492621,367 @@ "type": "string", "description": "(Updatable) The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.\n" }, - "compartmentOcid": { - "type": "string", - "description": "(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: false\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "deleteInProgress": { - "type": "boolean", - "description": "(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: true\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* type: boolean\n* uniqueness: none\n" - }, + "compartmentOcid": { + "type": "string", + "description": "(Updatable) Oracle Cloud Infrastructure Compartment Id (ocid) in which the resource lives.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: false\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "deleteInProgress": { + "type": "boolean", + "description": "(Updatable) A boolean flag indicating this resource in the process of being deleted. Usually set to true when synchronous deletion of the resource would take too long.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: true\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* type: boolean\n* uniqueness: none\n" + }, + "description": { + "type": "string", + "description": "(Updatable) Description of the user\n\n**Added In:** 2012271618\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsPii: true\n* idcsSearchable: false\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Display name\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Display Name\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Display Name]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "domainOcid": { + "type": "string", + "description": "(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: false\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "emails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserEmail:DomainsUserEmail" + }, + "description": "(Updatable) A complex attribute representing emails\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Work Email, mapsTo:emails[work].value], [columnHeaderName:Home Email, mapsTo:emails[home].value], [columnHeaderName:Primary Email Type, mapsTo:emails[$(type)].primary], [columnHeaderName:Other Email, mapsTo:emails[other].value], [columnHeaderName:Recovery Email, mapsTo:emails[recovery].value], [columnHeaderName:Work Email Verified, mapsTo:emails[work].verified], [columnHeaderName:Home Email Verified, mapsTo:emails[home].verified], [columnHeaderName:Other Email Verified, mapsTo:emails[other].verified], [columnHeaderName:Recovery Email Verified, mapsTo:emails[recovery].verified]]\n* idcsPii: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" + }, + "entitlements": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserEntitlement:DomainsUserEntitlement" + }, + "description": "(Updatable) A list of entitlements for the User that represent a thing the User has.\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" + }, + "externalId": { + "type": "string", + "description": "(Updatable) An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeNameMappings: [[columnHeaderName:External Id]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "forceDelete": { + "type": "boolean" + }, + "groups": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserGroup:DomainsUserGroup" + }, + "description": "(Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value]\n* idcsSearchable: true\n* multiValued: true\n* mutability: readOnly\n* required: false\n* returned: request\n* type: complex\n* uniqueness: none\n" + }, + "idcsCreatedBies": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserIdcsCreatedBy:DomainsUserIdcsCreatedBy" + }, + "description": "(Updatable) The User or App who created the Resource\n\n**SCIM++ Properties:**\n* idcsSearchable: true\n* multiValued: false\n* mutability: readOnly\n* required: true\n* returned: default\n* type: complex\n" + }, + "idcsEndpoint": { + "type": "string", + "description": "The basic endpoint for the identity domain\n" + }, + "idcsLastModifiedBies": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserIdcsLastModifiedBy:DomainsUserIdcsLastModifiedBy" + }, + "description": "(Updatable) The User or App who modified the Resource\n\n**SCIM++ Properties:**\n* idcsSearchable: true\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* type: complex\n" + }, + "idcsLastUpgradedInRelease": { + "type": "string", + "description": "(Updatable) The release number when the resource was upgraded.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: false\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: request\n* type: string\n* uniqueness: none\n" + }, + "idcsPreventedOperations": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.\n\n**SCIM++ Properties:**\n* idcsSearchable: false\n* multiValued: true\n* mutability: readOnly\n* required: false\n* returned: request\n* type: string\n* uniqueness: none\n" + }, + "ims": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserIm:DomainsUserIm" + }, + "description": "(Updatable) User's instant messaging addresses\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* idcsPii: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" + }, + "locale": { + "type": "string", + "description": "(Updatable) Used to indicate the User's default location for purposes of localizing items such as currency, date and time format, numerical representations, and so on.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Locale\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Locale]]\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "metas": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserMeta:DomainsUserMeta" + }, + "description": "(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: true\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Created Date, mapsTo:meta.created]]\n* type: complex\n" + }, + "name": { + "$ref": "#/types/oci:Identity/DomainsUserName:DomainsUserName", + "description": "(Updatable) A complex attribute that contains attributes representing the name\n\n**SCIM++ Properties:**\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Formatted Name, mapsTo:name.formatted], [columnHeaderName:Honorific Prefix, mapsTo:name.honorificPrefix], [columnHeaderName:First Name, mapsTo:name.givenName], [columnHeaderName:Middle Name, mapsTo:name.middleName], [columnHeaderName:Last Name, mapsTo:name.familyName], [columnHeaderName:Honorific Suffix, mapsTo:name.honorificSuffix]]\n* idcsPii: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" + }, + "nickName": { + "type": "string", + "description": "(Updatable) Nick name\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Nick Name\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Nick Name]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "ocid": { + "type": "string", + "description": "(Updatable) Unique Oracle Cloud Infrastructure identifier for the SCIM Resource.\n\n**SCIM++ Properties:**\n* caseExact: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: immutable\n* required: false\n* returned: default\n* type: string\n* uniqueness: global\n" + }, + "password": { + "type": "string", + "description": "(Updatable) Password attribute. Max length for password is controlled via Password Policy.\n\n**SCIM++ Properties:**\n* idcsCsvAttributeName: Password\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Password]]\n* idcsPii: true\n* idcsSearchable: false\n* idcsSensitive: hash\n* multiValued: false\n* mutability: writeOnly\n* required: false\n* returned: never\n* type: string\n* uniqueness: none\n", + "secret": true + }, + "phoneNumbers": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserPhoneNumber:DomainsUserPhoneNumber" + }, + "description": "(Updatable) Phone numbers\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Work Phone, mapsTo:phoneNumbers[work].value], [columnHeaderName:Mobile No, mapsTo:phoneNumbers[mobile].value], [columnHeaderName:Home Phone, mapsTo:phoneNumbers[home].value], [columnHeaderName:Fax, mapsTo:phoneNumbers[fax].value], [columnHeaderName:Pager, mapsTo:phoneNumbers[pager].value], [columnHeaderName:Other Phone, mapsTo:phoneNumbers[other].value], [columnHeaderName:Recovery Phone, mapsTo:phoneNumbers[recovery].value], [columnHeaderName:Primary Phone Type, mapsTo:phoneNumbers[$(type)].primary]]\n* idcsPii: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" + }, + "photos": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserPhoto:DomainsUserPhoto" + }, + "description": "(Updatable) URLs of photos for the User\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* idcsPii: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" + }, + "preferredLanguage": { + "type": "string", + "description": "(Updatable) User's preferred written or spoken language used for localized user interfaces\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Preferred Language\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Preferred Language]]\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "profileUrl": { + "type": "string", + "description": "(Updatable) A fully-qualified URL to a page representing the User's online profile\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Profile URL\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Profile Url]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: reference\n* uniqueness: none\n" + }, + "resourceTypeSchemaVersion": { + "type": "string", + "description": "(Updatable) An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.\n" + }, + "roles": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserRole:DomainsUserRole" + }, + "description": "(Updatable) A list of roles for the User that collectively represent who the User is; e.g., 'Student', 'Faculty'.\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" + }, + "schemas": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \\\"enterprise\\\" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: false\n* multiValued: true\n* mutability: readWrite\n* required: true\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "tags": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserTag:DomainsUserTag" + }, + "description": "(Updatable) A list of tags on this resource.\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [key, value]\n* idcsSearchable: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: request\n* type: complex\n* uniqueness: none\n" + }, + "tenancyOcid": { + "type": "string", + "description": "(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: false\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "timezone": { + "type": "string", + "description": "(Updatable) User's timezone\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCanonicalValueSourceFilter: attrName eq \"timezones\" and attrValues.value eq \"$(timezone)\"\n* idcsCanonicalValueSourceResourceType: AllowedValue\n* idcsCsvAttributeName: TimeZone\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Time Zone, deprecatedColumnHeaderName:TimeZone]]\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "title": { + "type": "string", + "description": "(Updatable) Title\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Title\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Title]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "urnietfparamsscimschemasextensionenterprise20user": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasextensionenterprise20user:DomainsUserUrnietfparamsscimschemasextensionenterprise20user", + "description": "(Updatable) Enterprise User\n" + }, + "urnietfparamsscimschemasoracleidcsextensionOciTags": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTags:DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTags", + "description": "(Updatable) Oracle Cloud Infrastructure Tags.\n" + }, + "urnietfparamsscimschemasoracleidcsextensionadaptiveUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUser", + "description": "(Updatable) This extension defines attributes to manage user's risk score.\n" + }, + "urnietfparamsscimschemasoracleidcsextensioncapabilitiesUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUser", + "description": "(Updatable) User's Capabilities\n" + }, + "urnietfparamsscimschemasoracleidcsextensiondbCredentialsUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUser", + "description": "(Updatable) The database credentials user extension.\n" + }, + "urnietfparamsscimschemasoracleidcsextensiondbUserUsers": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUser" + }, + "description": "(Updatable) DB User extension\n" + }, + "urnietfparamsscimschemasoracleidcsextensionkerberosUserUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUser", + "description": "(Updatable) Kerberos User extension\n" + }, + "urnietfparamsscimschemasoracleidcsextensionmfaUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUser", + "description": "(Updatable) This extension defines attributes used to manage Multi-Factor Authentication within a service provider. The extension is typically applied to a User resource, but MAY be applied to other resources that use MFA.\n" + }, + "urnietfparamsscimschemasoracleidcsextensionpasswordStateUsers": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUser" + }, + "description": "(Updatable) This extension defines attributes used to manage account passwords within a Service Provider. The extension is typically applied to a User resource, but MAY be applied to other resources that use passwords.\n" + }, + "urnietfparamsscimschemasoracleidcsextensionpasswordlessUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUser", + "description": "(Updatable) This extension defines attributes used to manage Passwordless-Factor Authentication within a service provider. The extension is typically applied to a User resource, but MAY be applied to other resources that use MFA.\n" + }, + "urnietfparamsscimschemasoracleidcsextensionposixUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUser", + "description": "(Updatable) POSIX User extension\n" + }, + "urnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser", + "description": "(Updatable) This extension defines the attributes used to store the security questions of a user.\n" + }, + "urnietfparamsscimschemasoracleidcsextensionselfChangeUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUser", + "description": "(Updatable) Controls whether a user can update themselves or not via User related APIs\n" + }, + "urnietfparamsscimschemasoracleidcsextensionselfRegistrationUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUser", + "description": "(Updatable) This extension defines attributes used to manage self registration profile linked to the user.\n" + }, + "urnietfparamsscimschemasoracleidcsextensionsffUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUser", + "description": "(Updatable) SFF Auth Keys User extension\n" + }, + "urnietfparamsscimschemasoracleidcsextensionsocialAccountUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUser", + "description": "(Updatable) Social User extension\n" + }, + "urnietfparamsscimschemasoracleidcsextensiontermsOfUseUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUser", + "description": "(Updatable) Terms Of Use extension\n" + }, + "urnietfparamsscimschemasoracleidcsextensionuserCredentialsUsers": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUser" + }, + "description": "(Updatable) User's credentials\n" + }, + "urnietfparamsscimschemasoracleidcsextensionuserStateUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUser", + "description": "(Updatable) This extension defines the attributes used to manage account passwords within a service provider. The extension is typically applied to a User resource, but MAY be applied to other resources that use passwords.\n" + }, + "urnietfparamsscimschemasoracleidcsextensionuserUser": { + "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUser", + "description": "(Updatable) Oracle Identity Cloud Service User\n" + }, + "userName": { + "type": "string", + "description": "(Updatable) User name\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: User ID\n* idcsCsvAttributeNameMappings: [[columnHeaderName:User Name, deprecatedColumnHeaderName:User ID]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: true\n* returned: always\n* type: string\n* uniqueness: global\n" + }, + "userType": { + "type": "string", + "description": "(Updatable) Used to identify the organization-to-user relationship\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: User Type\n* idcsCsvAttributeNameMappings: [[columnHeaderName:User Type]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + }, + "x509certificates": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserX509certificate:DomainsUserX509certificate" + }, + "description": "(Updatable) A list of certificates issued to the User.\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value]\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" + } + }, + "required": [ + "active", + "addresses", + "compartmentOcid", + "deleteInProgress", + "description", + "displayName", + "domainOcid", + "emails", + "entitlements", + "externalId", + "groups", + "idcsCreatedBies", + "idcsEndpoint", + "idcsLastModifiedBies", + "idcsLastUpgradedInRelease", + "idcsPreventedOperations", + "ims", + "locale", + "metas", + "name", + "nickName", + "ocid", + "password", + "phoneNumbers", + "photos", + "preferredLanguage", + "profileUrl", + "roles", + "schemas", + "tags", + "tenancyOcid", + "timezone", + "title", + "urnietfparamsscimschemasextensionenterprise20user", + "urnietfparamsscimschemasoracleidcsextensionOciTags", + "urnietfparamsscimschemasoracleidcsextensionadaptiveUser", + "urnietfparamsscimschemasoracleidcsextensioncapabilitiesUser", + "urnietfparamsscimschemasoracleidcsextensiondbCredentialsUser", + "urnietfparamsscimschemasoracleidcsextensiondbUserUsers", + "urnietfparamsscimschemasoracleidcsextensionkerberosUserUser", + "urnietfparamsscimschemasoracleidcsextensionmfaUser", + "urnietfparamsscimschemasoracleidcsextensionpasswordStateUsers", + "urnietfparamsscimschemasoracleidcsextensionpasswordlessUser", + "urnietfparamsscimschemasoracleidcsextensionposixUser", + "urnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser", + "urnietfparamsscimschemasoracleidcsextensionselfChangeUser", + "urnietfparamsscimschemasoracleidcsextensionselfRegistrationUser", + "urnietfparamsscimschemasoracleidcsextensionsffUser", + "urnietfparamsscimschemasoracleidcsextensionsocialAccountUser", + "urnietfparamsscimschemasoracleidcsextensiontermsOfUseUser", + "urnietfparamsscimschemasoracleidcsextensionuserCredentialsUsers", + "urnietfparamsscimschemasoracleidcsextensionuserStateUser", + "urnietfparamsscimschemasoracleidcsextensionuserUser", + "userName", + "userType", + "x509certificates" + ], + "inputProperties": { + "active": { + "type": "boolean", + "description": "(Updatable) User status\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Active\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Active]]\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: boolean\n* uniqueness: none\n" + }, + "addresses": { + "type": "array", + "items": { + "$ref": "#/types/oci:Identity/DomainsUserAddress:DomainsUserAddress" + }, + "description": "(Updatable) A physical mailing address for this User, as described in (address Element). Canonical Type Values of work, home, and other. The value attribute is a complex type with the following sub-attributes.\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [type]\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Work Address Street, deprecatedColumnHeaderName:Work Street Address, mapsTo:addresses[work].streetAddress], [columnHeaderName:Work Address Locality, deprecatedColumnHeaderName:Work City, mapsTo:addresses[work].locality], [columnHeaderName:Work Address Region, deprecatedColumnHeaderName:Work State, mapsTo:addresses[work].region], [columnHeaderName:Work Address Postal Code, deprecatedColumnHeaderName:Work Postal Code, mapsTo:addresses[work].postalCode], [columnHeaderName:Work Address Country, deprecatedColumnHeaderName:Work Country, mapsTo:addresses[work].country], [columnHeaderName:Work Address Formatted, mapsTo:addresses[work].formatted], [columnHeaderName:Home Address Formatted, mapsTo:addresses[home].formatted], [columnHeaderName:Other Address Formatted, mapsTo:addresses[other].formatted], [columnHeaderName:Home Address Street, mapsTo:addresses[home].streetAddress], [columnHeaderName:Other Address Street, mapsTo:addresses[other].streetAddress], [columnHeaderName:Home Address Locality, mapsTo:addresses[home].locality], [columnHeaderName:Other Address Locality, mapsTo:addresses[other].locality], [columnHeaderName:Home Address Region, mapsTo:addresses[home].region], [columnHeaderName:Other Address Region, mapsTo:addresses[other].region], [columnHeaderName:Home Address Country, mapsTo:addresses[home].country], [columnHeaderName:Other Address Country, mapsTo:addresses[other].country], [columnHeaderName:Home Address Postal Code, mapsTo:addresses[home].postalCode], [columnHeaderName:Other Address Postal Code, mapsTo:addresses[other].postalCode], [columnHeaderName:Primary Address Type, mapsTo:addresses[$(type)].primary]]\n* idcsPii: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" + }, + "attributeSets": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) A multi-valued list of strings indicating the return type of attribute definition. The specified set of attributes can be fetched by the return type of the attribute. One or more values can be given together to fetch more than one group of attributes. If 'attributes' query parameter is also available, union of the two is fetched. Valid values - all, always, never, request, default. Values are case-insensitive.\n" + }, + "attributes": { + "type": "string", + "description": "(Updatable) A comma-delimited string that specifies the names of resource attributes that should be returned in the response. By default, a response that contains resource attributes contains only attributes that are defined in the schema for that resource type as returned=always or returned=default. An attribute that is defined as returned=request is returned in a response only if the request specifies its name in the value of this query parameter. If a request specifies this query parameter, the response contains the attributes that this query parameter specifies, as well as any attribute that is defined as returned=always.\n" + }, + "authorization": { + "type": "string", + "description": "(Updatable) The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.\n" + }, "description": { "type": "string", "description": "(Updatable) Description of the user\n\n**Added In:** 2012271618\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsPii: true\n* idcsSearchable: false\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" @@ -491129,10 +492990,6 @@ "type": "string", "description": "(Updatable) Display name\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Display Name\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Display Name]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" }, - "domainOcid": { - "type": "string", - "description": "(Updatable) Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: false\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, "emails": { "type": "array", "items": { @@ -491151,351 +493008,8 @@ "type": "string", "description": "(Updatable) An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeNameMappings: [[columnHeaderName:External Id]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" }, - "groups": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserGroup:DomainsUserGroup" - }, - "description": "(Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value]\n* idcsSearchable: true\n* multiValued: true\n* mutability: readOnly\n* required: false\n* returned: request\n* type: complex\n* uniqueness: none\n" - }, - "idcsCreatedBies": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserIdcsCreatedBy:DomainsUserIdcsCreatedBy" - }, - "description": "(Updatable) The User or App who created the Resource\n\n**SCIM++ Properties:**\n* idcsSearchable: true\n* multiValued: false\n* mutability: readOnly\n* required: true\n* returned: default\n* type: complex\n" - }, - "idcsEndpoint": { - "type": "string", - "description": "The basic endpoint for the identity domain\n" - }, - "idcsLastModifiedBies": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserIdcsLastModifiedBy:DomainsUserIdcsLastModifiedBy" - }, - "description": "(Updatable) The User or App who modified the Resource\n\n**SCIM++ Properties:**\n* idcsSearchable: true\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* type: complex\n" - }, - "idcsLastUpgradedInRelease": { - "type": "string", - "description": "(Updatable) The release number when the resource was upgraded.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: false\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: request\n* type: string\n* uniqueness: none\n" - }, - "idcsPreventedOperations": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(Updatable) Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.\n\n**SCIM++ Properties:**\n* idcsSearchable: false\n* multiValued: true\n* mutability: readOnly\n* required: false\n* returned: request\n* type: string\n* uniqueness: none\n" - }, - "ims": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserIm:DomainsUserIm" - }, - "description": "(Updatable) User's instant messaging addresses\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* idcsPii: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" - }, - "locale": { - "type": "string", - "description": "(Updatable) Used to indicate the User's default location for purposes of localizing items such as currency, date and time format, numerical representations, and so on.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Locale\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Locale]]\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "metas": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserMeta:DomainsUserMeta" - }, - "description": "(Updatable) A complex attribute that contains resource metadata. All sub-attributes are OPTIONAL.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: true\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Created Date, mapsTo:meta.created]]\n* type: complex\n" - }, - "name": { - "$ref": "#/types/oci:Identity/DomainsUserName:DomainsUserName", - "description": "(Updatable) A complex attribute that contains attributes representing the name\n\n**SCIM++ Properties:**\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Formatted Name, mapsTo:name.formatted], [columnHeaderName:Honorific Prefix, mapsTo:name.honorificPrefix], [columnHeaderName:First Name, mapsTo:name.givenName], [columnHeaderName:Middle Name, mapsTo:name.middleName], [columnHeaderName:Last Name, mapsTo:name.familyName], [columnHeaderName:Honorific Suffix, mapsTo:name.honorificSuffix]]\n* idcsPii: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" - }, - "nickName": { - "type": "string", - "description": "(Updatable) Nick name\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Nick Name\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Nick Name]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "ocid": { - "type": "string", - "description": "(Updatable) Unique Oracle Cloud Infrastructure identifier for the SCIM Resource.\n\n**SCIM++ Properties:**\n* caseExact: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: immutable\n* required: false\n* returned: default\n* type: string\n* uniqueness: global\n" - }, - "password": { - "type": "string", - "description": "(Updatable) Password attribute. Max length for password is controlled via Password Policy.\n\n**SCIM++ Properties:**\n* idcsCsvAttributeName: Password\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Password]]\n* idcsPii: true\n* idcsSearchable: false\n* idcsSensitive: hash\n* multiValued: false\n* mutability: writeOnly\n* required: false\n* returned: never\n* type: string\n* uniqueness: none\n", - "secret": true - }, - "phoneNumbers": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserPhoneNumber:DomainsUserPhoneNumber" - }, - "description": "(Updatable) Phone numbers\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Work Phone, mapsTo:phoneNumbers[work].value], [columnHeaderName:Mobile No, mapsTo:phoneNumbers[mobile].value], [columnHeaderName:Home Phone, mapsTo:phoneNumbers[home].value], [columnHeaderName:Fax, mapsTo:phoneNumbers[fax].value], [columnHeaderName:Pager, mapsTo:phoneNumbers[pager].value], [columnHeaderName:Other Phone, mapsTo:phoneNumbers[other].value], [columnHeaderName:Recovery Phone, mapsTo:phoneNumbers[recovery].value], [columnHeaderName:Primary Phone Type, mapsTo:phoneNumbers[$(type)].primary]]\n* idcsPii: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" - }, - "photos": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserPhoto:DomainsUserPhoto" - }, - "description": "(Updatable) URLs of photos for the User\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* idcsPii: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" - }, - "preferredLanguage": { - "type": "string", - "description": "(Updatable) User's preferred written or spoken language used for localized user interfaces\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Preferred Language\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Preferred Language]]\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "profileUrl": { - "type": "string", - "description": "(Updatable) A fully-qualified URL to a page representing the User's online profile\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Profile URL\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Profile Url]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: reference\n* uniqueness: none\n" - }, - "resourceTypeSchemaVersion": { - "type": "string", - "description": "(Updatable) An endpoint-specific schema version number to use in the Request. Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned.\n" - }, - "roles": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserRole:DomainsUserRole" - }, - "description": "(Updatable) A list of roles for the User that collectively represent who the User is; e.g., 'Student', 'Faculty'.\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" - }, - "schemas": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(Updatable) REQUIRED. The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \\\"enterprise\\\" extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: false\n* multiValued: true\n* mutability: readWrite\n* required: true\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "tags": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserTag:DomainsUserTag" - }, - "description": "(Updatable) A list of tags on this resource.\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [key, value]\n* idcsSearchable: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: request\n* type: complex\n* uniqueness: none\n" - }, - "tenancyOcid": { - "type": "string", - "description": "(Updatable) Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsSearchable: false\n* multiValued: false\n* mutability: readOnly\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "timezone": { - "type": "string", - "description": "(Updatable) User's timezone\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCanonicalValueSourceFilter: attrName eq \"timezones\" and attrValues.value eq \"$(timezone)\"\n* idcsCanonicalValueSourceResourceType: AllowedValue\n* idcsCsvAttributeName: TimeZone\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Time Zone, deprecatedColumnHeaderName:TimeZone]]\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "title": { - "type": "string", - "description": "(Updatable) Title\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Title\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Title]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "urnietfparamsscimschemasextensionenterprise20user": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasextensionenterprise20user:DomainsUserUrnietfparamsscimschemasextensionenterprise20user", - "description": "(Updatable) Enterprise User\n" - }, - "urnietfparamsscimschemasoracleidcsextensionOciTags": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTags:DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTags", - "description": "(Updatable) Oracle Cloud Infrastructure Tags.\n" - }, - "urnietfparamsscimschemasoracleidcsextensionadaptiveUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUser", - "description": "(Updatable) This extension defines attributes to manage user's risk score.\n" - }, - "urnietfparamsscimschemasoracleidcsextensioncapabilitiesUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUser", - "description": "(Updatable) User's Capabilities\n" - }, - "urnietfparamsscimschemasoracleidcsextensiondbCredentialsUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUser", - "description": "(Updatable) The database credentials user extension.\n" - }, - "urnietfparamsscimschemasoracleidcsextensiondbUserUsers": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUser" - }, - "description": "(Updatable) DB User extension\n" - }, - "urnietfparamsscimschemasoracleidcsextensionkerberosUserUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUser", - "description": "(Updatable) Kerberos User extension\n" - }, - "urnietfparamsscimschemasoracleidcsextensionmfaUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUser", - "description": "(Updatable) This extension defines attributes used to manage Multi-Factor Authentication within a service provider. The extension is typically applied to a User resource, but MAY be applied to other resources that use MFA.\n" - }, - "urnietfparamsscimschemasoracleidcsextensionpasswordStateUsers": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUser" - }, - "description": "(Updatable) This extension defines attributes used to manage account passwords within a Service Provider. The extension is typically applied to a User resource, but MAY be applied to other resources that use passwords.\n" - }, - "urnietfparamsscimschemasoracleidcsextensionpasswordlessUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUser", - "description": "(Updatable) This extension defines attributes used to manage Passwordless-Factor Authentication within a service provider. The extension is typically applied to a User resource, but MAY be applied to other resources that use MFA.\n" - }, - "urnietfparamsscimschemasoracleidcsextensionposixUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUser", - "description": "(Updatable) POSIX User extension\n" - }, - "urnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser", - "description": "(Updatable) This extension defines the attributes used to store the security questions of a user.\n" - }, - "urnietfparamsscimschemasoracleidcsextensionselfChangeUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUser", - "description": "(Updatable) Controls whether a user can update themselves or not via User related APIs\n" - }, - "urnietfparamsscimschemasoracleidcsextensionselfRegistrationUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUser", - "description": "(Updatable) This extension defines attributes used to manage self registration profile linked to the user.\n" - }, - "urnietfparamsscimschemasoracleidcsextensionsffUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUser", - "description": "(Updatable) SFF Auth Keys User extension\n" - }, - "urnietfparamsscimschemasoracleidcsextensionsocialAccountUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUser", - "description": "(Updatable) Social User extension\n" - }, - "urnietfparamsscimschemasoracleidcsextensiontermsOfUseUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUser", - "description": "(Updatable) Terms Of Use extension\n" - }, - "urnietfparamsscimschemasoracleidcsextensionuserCredentialsUsers": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUser" - }, - "description": "(Updatable) User's credentials\n" - }, - "urnietfparamsscimschemasoracleidcsextensionuserStateUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUser", - "description": "(Updatable) This extension defines the attributes used to manage account passwords within a service provider. The extension is typically applied to a User resource, but MAY be applied to other resources that use passwords.\n" - }, - "urnietfparamsscimschemasoracleidcsextensionuserUser": { - "$ref": "#/types/oci:Identity/DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUser:DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUser", - "description": "(Updatable) Oracle Identity Cloud Service User\n" - }, - "userName": { - "type": "string", - "description": "(Updatable) User name\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: User ID\n* idcsCsvAttributeNameMappings: [[columnHeaderName:User Name, deprecatedColumnHeaderName:User ID]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: true\n* returned: always\n* type: string\n* uniqueness: global\n" - }, - "userType": { - "type": "string", - "description": "(Updatable) Used to identify the organization-to-user relationship\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: User Type\n* idcsCsvAttributeNameMappings: [[columnHeaderName:User Type]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "x509certificates": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserX509certificate:DomainsUserX509certificate" - }, - "description": "(Updatable) A list of certificates issued to the User.\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value]\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" - } - }, - "required": [ - "active", - "addresses", - "compartmentOcid", - "deleteInProgress", - "description", - "displayName", - "domainOcid", - "emails", - "entitlements", - "externalId", - "groups", - "idcsCreatedBies", - "idcsEndpoint", - "idcsLastModifiedBies", - "idcsLastUpgradedInRelease", - "idcsPreventedOperations", - "ims", - "locale", - "metas", - "name", - "nickName", - "ocid", - "password", - "phoneNumbers", - "photos", - "preferredLanguage", - "profileUrl", - "roles", - "schemas", - "tags", - "tenancyOcid", - "timezone", - "title", - "urnietfparamsscimschemasextensionenterprise20user", - "urnietfparamsscimschemasoracleidcsextensionOciTags", - "urnietfparamsscimschemasoracleidcsextensionadaptiveUser", - "urnietfparamsscimschemasoracleidcsextensioncapabilitiesUser", - "urnietfparamsscimschemasoracleidcsextensiondbCredentialsUser", - "urnietfparamsscimschemasoracleidcsextensiondbUserUsers", - "urnietfparamsscimschemasoracleidcsextensionkerberosUserUser", - "urnietfparamsscimschemasoracleidcsextensionmfaUser", - "urnietfparamsscimschemasoracleidcsextensionpasswordStateUsers", - "urnietfparamsscimschemasoracleidcsextensionpasswordlessUser", - "urnietfparamsscimschemasoracleidcsextensionposixUser", - "urnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser", - "urnietfparamsscimschemasoracleidcsextensionselfChangeUser", - "urnietfparamsscimschemasoracleidcsextensionselfRegistrationUser", - "urnietfparamsscimschemasoracleidcsextensionsffUser", - "urnietfparamsscimschemasoracleidcsextensionsocialAccountUser", - "urnietfparamsscimschemasoracleidcsextensiontermsOfUseUser", - "urnietfparamsscimschemasoracleidcsextensionuserCredentialsUsers", - "urnietfparamsscimschemasoracleidcsextensionuserStateUser", - "urnietfparamsscimschemasoracleidcsextensionuserUser", - "userName", - "userType", - "x509certificates" - ], - "inputProperties": { - "active": { - "type": "boolean", - "description": "(Updatable) User status\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Active\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Active]]\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: boolean\n* uniqueness: none\n" - }, - "addresses": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserAddress:DomainsUserAddress" - }, - "description": "(Updatable) A physical mailing address for this User, as described in (address Element). Canonical Type Values of work, home, and other. The value attribute is a complex type with the following sub-attributes.\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [type]\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Work Address Street, deprecatedColumnHeaderName:Work Street Address, mapsTo:addresses[work].streetAddress], [columnHeaderName:Work Address Locality, deprecatedColumnHeaderName:Work City, mapsTo:addresses[work].locality], [columnHeaderName:Work Address Region, deprecatedColumnHeaderName:Work State, mapsTo:addresses[work].region], [columnHeaderName:Work Address Postal Code, deprecatedColumnHeaderName:Work Postal Code, mapsTo:addresses[work].postalCode], [columnHeaderName:Work Address Country, deprecatedColumnHeaderName:Work Country, mapsTo:addresses[work].country], [columnHeaderName:Work Address Formatted, mapsTo:addresses[work].formatted], [columnHeaderName:Home Address Formatted, mapsTo:addresses[home].formatted], [columnHeaderName:Other Address Formatted, mapsTo:addresses[other].formatted], [columnHeaderName:Home Address Street, mapsTo:addresses[home].streetAddress], [columnHeaderName:Other Address Street, mapsTo:addresses[other].streetAddress], [columnHeaderName:Home Address Locality, mapsTo:addresses[home].locality], [columnHeaderName:Other Address Locality, mapsTo:addresses[other].locality], [columnHeaderName:Home Address Region, mapsTo:addresses[home].region], [columnHeaderName:Other Address Region, mapsTo:addresses[other].region], [columnHeaderName:Home Address Country, mapsTo:addresses[home].country], [columnHeaderName:Other Address Country, mapsTo:addresses[other].country], [columnHeaderName:Home Address Postal Code, mapsTo:addresses[home].postalCode], [columnHeaderName:Other Address Postal Code, mapsTo:addresses[other].postalCode], [columnHeaderName:Primary Address Type, mapsTo:addresses[$(type)].primary]]\n* idcsPii: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" - }, - "attributeSets": { - "type": "array", - "items": { - "type": "string" - }, - "description": "(Updatable) A multi-valued list of strings indicating the return type of attribute definition. The specified set of attributes can be fetched by the return type of the attribute. One or more values can be given together to fetch more than one group of attributes. If 'attributes' query parameter is also available, union of the two is fetched. Valid values - all, always, never, request, default. Values are case-insensitive.\n" - }, - "attributes": { - "type": "string", - "description": "(Updatable) A comma-delimited string that specifies the names of resource attributes that should be returned in the response. By default, a response that contains resource attributes contains only attributes that are defined in the schema for that resource type as returned=always or returned=default. An attribute that is defined as returned=request is returned in a response only if the request specifies its name in the value of this query parameter. If a request specifies this query parameter, the response contains the attributes that this query parameter specifies, as well as any attribute that is defined as returned=always.\n" - }, - "authorization": { - "type": "string", - "description": "(Updatable) The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.\n" - }, - "description": { - "type": "string", - "description": "(Updatable) Description of the user\n\n**Added In:** 2012271618\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsPii: true\n* idcsSearchable: false\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "displayName": { - "type": "string", - "description": "(Updatable) Display name\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeName: Display Name\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Display Name]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" - }, - "emails": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserEmail:DomainsUserEmail" - }, - "description": "(Updatable) A complex attribute representing emails\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* idcsCsvAttributeNameMappings: [[columnHeaderName:Work Email, mapsTo:emails[work].value], [columnHeaderName:Home Email, mapsTo:emails[home].value], [columnHeaderName:Primary Email Type, mapsTo:emails[$(type)].primary], [columnHeaderName:Other Email, mapsTo:emails[other].value], [columnHeaderName:Recovery Email, mapsTo:emails[recovery].value], [columnHeaderName:Work Email Verified, mapsTo:emails[work].verified], [columnHeaderName:Home Email Verified, mapsTo:emails[home].verified], [columnHeaderName:Other Email Verified, mapsTo:emails[other].verified], [columnHeaderName:Recovery Email Verified, mapsTo:emails[recovery].verified]]\n* idcsPii: true\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" - }, - "entitlements": { - "type": "array", - "items": { - "$ref": "#/types/oci:Identity/DomainsUserEntitlement:DomainsUserEntitlement" - }, - "description": "(Updatable) A list of entitlements for the User that represent a thing the User has.\n\n**SCIM++ Properties:**\n* idcsCompositeKey: [value, type]\n* multiValued: true\n* mutability: readWrite\n* required: false\n* returned: default\n* type: complex\n* uniqueness: none\n" - }, - "externalId": { - "type": "string", - "description": "(Updatable) An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeNameMappings: [[columnHeaderName:External Id]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" + "forceDelete": { + "type": "boolean" }, "idcsEndpoint": { "type": "string", @@ -491741,6 +493255,9 @@ "type": "string", "description": "(Updatable) An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant.\n\n**SCIM++ Properties:**\n* caseExact: false\n* idcsCsvAttributeNameMappings: [[columnHeaderName:External Id]]\n* idcsPii: true\n* idcsSearchable: true\n* multiValued: false\n* mutability: readWrite\n* required: false\n* returned: default\n* type: string\n* uniqueness: none\n" }, + "forceDelete": { + "type": "boolean" + }, "groups": { "type": "array", "items": { @@ -497401,6 +498918,10 @@ "type": "boolean", "description": "A Boolean value that indicates whether the Vault is primary Vault or replica Vault.\n" }, + "isVaultReplicable": { + "type": "boolean", + "description": "A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults.\n" + }, "managementEndpoint": { "type": "string", "description": "The service endpoint to perform management operations against. Management operations include \"Create,\" \"Update,\" \"List,\" \"Get,\" and \"Delete\" operations.\n" @@ -497453,6 +498974,7 @@ "externalKeyManagerMetadataSummaries", "freeformTags", "isPrimary", + "isVaultReplicable", "managementEndpoint", "replicaDetails", "restoredFromVaultId", @@ -497560,6 +499082,10 @@ "type": "boolean", "description": "A Boolean value that indicates whether the Vault is primary Vault or replica Vault.\n" }, + "isVaultReplicable": { + "type": "boolean", + "description": "A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults.\n" + }, "managementEndpoint": { "type": "string", "description": "The service endpoint to perform management operations against. Management operations include \"Create,\" \"Update,\" \"List,\" \"Get,\" and \"Delete\" operations.\n" @@ -499267,7 +500793,7 @@ } }, "oci:LoadBalancer/loadBalancer:LoadBalancer": { - "description": "This resource provides the Load Balancer resource in Oracle Cloud Infrastructure Load Balancer service.\n\nCreates a new load balancer in the specified compartment. For general information about load balancers,\nsee [Overview of the Load Balancing Service](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm).\n\nFor the purposes of access control, you must provide the OCID of the compartment where you want\nthe load balancer to reside. Notice that the load balancer doesn't have to be in the same compartment as the VCN\nor backend set. If you're not sure which compartment to use, put the load balancer in the same compartment as the VCN.\nFor information about access control and compartments, see\n[Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).\n\nYou must specify a display name for the load balancer. It does not have to be unique, and you can change it.\n\nFor information about Availability Domains, see\n[Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm).\nTo get a list of Availability Domains, use the `ListAvailabilityDomains` operation\nin the Identity and Access Management Service API.\n\nAll Oracle Cloud Infrastructure resources, including load balancers, get an Oracle-assigned,\nunique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID\nin the response. You can also retrieve a resource's OCID by using a List API operation on that resource type,\nor by viewing the resource in the Console. Fore more information, see\n[Resource Identifiers](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n\nWhen you create a load balancer, the system assigns an IP address.\nTo get the IP address, use the [GetLoadBalancer](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancer/GetLoadBalancer) operation.\n\n\n## Supported Aliases\n\n* `oci_load_balancer`\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testLoadBalancer = new oci.loadbalancer.LoadBalancer(\"test_load_balancer\", {\n compartmentId: compartmentId,\n displayName: loadBalancerDisplayName,\n shape: loadBalancerShape,\n subnetIds: loadBalancerSubnetIds,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n freeformTags: {\n Department: \"Finance\",\n },\n ipMode: loadBalancerIpMode,\n isDeleteProtectionEnabled: loadBalancerIsDeleteProtectionEnabled,\n isPrivate: loadBalancerIsPrivate,\n networkSecurityGroupIds: loadBalancerNetworkSecurityGroupIds,\n reservedIps: [{\n id: loadBalancerReservedIpsId,\n }],\n shapeDetails: {\n maximumBandwidthInMbps: loadBalancerShapeDetailsMaximumBandwidthInMbps,\n minimumBandwidthInMbps: loadBalancerShapeDetailsMinimumBandwidthInMbps,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_load_balancer = oci.load_balancer.LoadBalancer(\"test_load_balancer\",\n compartment_id=compartment_id,\n display_name=load_balancer_display_name,\n shape=load_balancer_shape,\n subnet_ids=load_balancer_subnet_ids,\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n freeform_tags={\n \"Department\": \"Finance\",\n },\n ip_mode=load_balancer_ip_mode,\n is_delete_protection_enabled=load_balancer_is_delete_protection_enabled,\n is_private=load_balancer_is_private,\n network_security_group_ids=load_balancer_network_security_group_ids,\n reserved_ips=[{\n \"id\": load_balancer_reserved_ips_id,\n }],\n shape_details={\n \"maximum_bandwidth_in_mbps\": load_balancer_shape_details_maximum_bandwidth_in_mbps,\n \"minimum_bandwidth_in_mbps\": load_balancer_shape_details_minimum_bandwidth_in_mbps,\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 testLoadBalancer = new Oci.LoadBalancer.LoadBalancer(\"test_load_balancer\", new()\n {\n CompartmentId = compartmentId,\n DisplayName = loadBalancerDisplayName,\n Shape = loadBalancerShape,\n SubnetIds = loadBalancerSubnetIds,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n IpMode = loadBalancerIpMode,\n IsDeleteProtectionEnabled = loadBalancerIsDeleteProtectionEnabled,\n IsPrivate = loadBalancerIsPrivate,\n NetworkSecurityGroupIds = loadBalancerNetworkSecurityGroupIds,\n ReservedIps = new[]\n {\n new Oci.LoadBalancer.Inputs.LoadBalancerReservedIpArgs\n {\n Id = loadBalancerReservedIpsId,\n },\n },\n ShapeDetails = new Oci.LoadBalancer.Inputs.LoadBalancerShapeDetailsArgs\n {\n MaximumBandwidthInMbps = loadBalancerShapeDetailsMaximumBandwidthInMbps,\n MinimumBandwidthInMbps = loadBalancerShapeDetailsMinimumBandwidthInMbps,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/LoadBalancer\"\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 := LoadBalancer.NewLoadBalancer(ctx, \"test_load_balancer\", \u0026LoadBalancer.LoadBalancerArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDisplayName: pulumi.Any(loadBalancerDisplayName),\n\t\t\tShape: pulumi.Any(loadBalancerShape),\n\t\t\tSubnetIds: pulumi.Any(loadBalancerSubnetIds),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tIpMode: pulumi.Any(loadBalancerIpMode),\n\t\t\tIsDeleteProtectionEnabled: pulumi.Any(loadBalancerIsDeleteProtectionEnabled),\n\t\t\tIsPrivate: pulumi.Any(loadBalancerIsPrivate),\n\t\t\tNetworkSecurityGroupIds: pulumi.Any(loadBalancerNetworkSecurityGroupIds),\n\t\t\tReservedIps: loadbalancer.LoadBalancerReservedIpArray{\n\t\t\t\t\u0026loadbalancer.LoadBalancerReservedIpArgs{\n\t\t\t\t\tId: pulumi.Any(loadBalancerReservedIpsId),\n\t\t\t\t},\n\t\t\t},\n\t\t\tShapeDetails: \u0026loadbalancer.LoadBalancerShapeDetailsArgs{\n\t\t\t\tMaximumBandwidthInMbps: pulumi.Any(loadBalancerShapeDetailsMaximumBandwidthInMbps),\n\t\t\t\tMinimumBandwidthInMbps: pulumi.Any(loadBalancerShapeDetailsMinimumBandwidthInMbps),\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.LoadBalancer.LoadBalancer;\nimport com.pulumi.oci.LoadBalancer.LoadBalancerArgs;\nimport com.pulumi.oci.LoadBalancer.inputs.LoadBalancerReservedIpArgs;\nimport com.pulumi.oci.LoadBalancer.inputs.LoadBalancerShapeDetailsArgs;\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 testLoadBalancer = new LoadBalancer(\"testLoadBalancer\", LoadBalancerArgs.builder()\n .compartmentId(compartmentId)\n .displayName(loadBalancerDisplayName)\n .shape(loadBalancerShape)\n .subnetIds(loadBalancerSubnetIds)\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .ipMode(loadBalancerIpMode)\n .isDeleteProtectionEnabled(loadBalancerIsDeleteProtectionEnabled)\n .isPrivate(loadBalancerIsPrivate)\n .networkSecurityGroupIds(loadBalancerNetworkSecurityGroupIds)\n .reservedIps(LoadBalancerReservedIpArgs.builder()\n .id(loadBalancerReservedIpsId)\n .build())\n .shapeDetails(LoadBalancerShapeDetailsArgs.builder()\n .maximumBandwidthInMbps(loadBalancerShapeDetailsMaximumBandwidthInMbps)\n .minimumBandwidthInMbps(loadBalancerShapeDetailsMinimumBandwidthInMbps)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testLoadBalancer:\n type: oci:LoadBalancer:LoadBalancer\n name: test_load_balancer\n properties:\n compartmentId: ${compartmentId}\n displayName: ${loadBalancerDisplayName}\n shape: ${loadBalancerShape}\n subnetIds: ${loadBalancerSubnetIds}\n definedTags:\n Operations.CostCenter: '42'\n freeformTags:\n Department: Finance\n ipMode: ${loadBalancerIpMode}\n isDeleteProtectionEnabled: ${loadBalancerIsDeleteProtectionEnabled}\n isPrivate: ${loadBalancerIsPrivate}\n networkSecurityGroupIds: ${loadBalancerNetworkSecurityGroupIds}\n reservedIps:\n - id: ${loadBalancerReservedIpsId}\n shapeDetails:\n maximumBandwidthInMbps: ${loadBalancerShapeDetailsMaximumBandwidthInMbps}\n minimumBandwidthInMbps: ${loadBalancerShapeDetailsMinimumBandwidthInMbps}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoadBalancers can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:LoadBalancer/loadBalancer:LoadBalancer test_load_balancer \"id\"\n```\n", + "description": "This resource provides the Load Balancer resource in Oracle Cloud Infrastructure Load Balancer service.\n\nCreates a new load balancer in the specified compartment. For general information about load balancers,\nsee [Overview of the Load Balancing Service](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm).\n\nFor the purposes of access control, you must provide the OCID of the compartment where you want\nthe load balancer to reside. Notice that the load balancer doesn't have to be in the same compartment as the VCN\nor backend set. If you're not sure which compartment to use, put the load balancer in the same compartment as the VCN.\nFor information about access control and compartments, see\n[Overview of the IAM Service](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/overview.htm).\n\nYou must specify a display name for the load balancer. It does not have to be unique, and you can change it.\n\nFor information about Availability Domains, see\n[Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm).\nTo get a list of Availability Domains, use the `ListAvailabilityDomains` operation\nin the Identity and Access Management Service API.\n\nAll Oracle Cloud Infrastructure resources, including load balancers, get an Oracle-assigned,\nunique ID called an Oracle Cloud Identifier (OCID). When you create a resource, you can find its OCID\nin the response. You can also retrieve a resource's OCID by using a List API operation on that resource type,\nor by viewing the resource in the Console. Fore more information, see\n[Resource Identifiers](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n\nWhen you create a load balancer, the system assigns an IP address.\nTo get the IP address, use the [GetLoadBalancer](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancer/GetLoadBalancer) operation.\n\n\n## Supported Aliases\n\n* `oci_load_balancer`\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testLoadBalancer = new oci.loadbalancer.LoadBalancer(\"test_load_balancer\", {\n compartmentId: compartmentId,\n displayName: loadBalancerDisplayName,\n shape: loadBalancerShape,\n subnetIds: loadBalancerSubnetIds,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n freeformTags: {\n Department: \"Finance\",\n },\n ipMode: loadBalancerIpMode,\n isDeleteProtectionEnabled: loadBalancerIsDeleteProtectionEnabled,\n isPrivate: loadBalancerIsPrivate,\n isRequestIdEnabled: loadBalancerIsRequestIdEnabled,\n networkSecurityGroupIds: loadBalancerNetworkSecurityGroupIds,\n requestIdHeader: loadBalancerRequestIdHeader,\n reservedIps: [{\n id: loadBalancerReservedIpsId,\n }],\n shapeDetails: {\n maximumBandwidthInMbps: loadBalancerShapeDetailsMaximumBandwidthInMbps,\n minimumBandwidthInMbps: loadBalancerShapeDetailsMinimumBandwidthInMbps,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_load_balancer = oci.load_balancer.LoadBalancer(\"test_load_balancer\",\n compartment_id=compartment_id,\n display_name=load_balancer_display_name,\n shape=load_balancer_shape,\n subnet_ids=load_balancer_subnet_ids,\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n freeform_tags={\n \"Department\": \"Finance\",\n },\n ip_mode=load_balancer_ip_mode,\n is_delete_protection_enabled=load_balancer_is_delete_protection_enabled,\n is_private=load_balancer_is_private,\n is_request_id_enabled=load_balancer_is_request_id_enabled,\n network_security_group_ids=load_balancer_network_security_group_ids,\n request_id_header=load_balancer_request_id_header,\n reserved_ips=[{\n \"id\": load_balancer_reserved_ips_id,\n }],\n shape_details={\n \"maximum_bandwidth_in_mbps\": load_balancer_shape_details_maximum_bandwidth_in_mbps,\n \"minimum_bandwidth_in_mbps\": load_balancer_shape_details_minimum_bandwidth_in_mbps,\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 testLoadBalancer = new Oci.LoadBalancer.LoadBalancer(\"test_load_balancer\", new()\n {\n CompartmentId = compartmentId,\n DisplayName = loadBalancerDisplayName,\n Shape = loadBalancerShape,\n SubnetIds = loadBalancerSubnetIds,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n IpMode = loadBalancerIpMode,\n IsDeleteProtectionEnabled = loadBalancerIsDeleteProtectionEnabled,\n IsPrivate = loadBalancerIsPrivate,\n IsRequestIdEnabled = loadBalancerIsRequestIdEnabled,\n NetworkSecurityGroupIds = loadBalancerNetworkSecurityGroupIds,\n RequestIdHeader = loadBalancerRequestIdHeader,\n ReservedIps = new[]\n {\n new Oci.LoadBalancer.Inputs.LoadBalancerReservedIpArgs\n {\n Id = loadBalancerReservedIpsId,\n },\n },\n ShapeDetails = new Oci.LoadBalancer.Inputs.LoadBalancerShapeDetailsArgs\n {\n MaximumBandwidthInMbps = loadBalancerShapeDetailsMaximumBandwidthInMbps,\n MinimumBandwidthInMbps = loadBalancerShapeDetailsMinimumBandwidthInMbps,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/LoadBalancer\"\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 := LoadBalancer.NewLoadBalancer(ctx, \"test_load_balancer\", \u0026LoadBalancer.LoadBalancerArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDisplayName: pulumi.Any(loadBalancerDisplayName),\n\t\t\tShape: pulumi.Any(loadBalancerShape),\n\t\t\tSubnetIds: pulumi.Any(loadBalancerSubnetIds),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.String(\"42\"),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"Department\": pulumi.String(\"Finance\"),\n\t\t\t},\n\t\t\tIpMode: pulumi.Any(loadBalancerIpMode),\n\t\t\tIsDeleteProtectionEnabled: pulumi.Any(loadBalancerIsDeleteProtectionEnabled),\n\t\t\tIsPrivate: pulumi.Any(loadBalancerIsPrivate),\n\t\t\tIsRequestIdEnabled: pulumi.Any(loadBalancerIsRequestIdEnabled),\n\t\t\tNetworkSecurityGroupIds: pulumi.Any(loadBalancerNetworkSecurityGroupIds),\n\t\t\tRequestIdHeader: pulumi.Any(loadBalancerRequestIdHeader),\n\t\t\tReservedIps: loadbalancer.LoadBalancerReservedIpArray{\n\t\t\t\t\u0026loadbalancer.LoadBalancerReservedIpArgs{\n\t\t\t\t\tId: pulumi.Any(loadBalancerReservedIpsId),\n\t\t\t\t},\n\t\t\t},\n\t\t\tShapeDetails: \u0026loadbalancer.LoadBalancerShapeDetailsArgs{\n\t\t\t\tMaximumBandwidthInMbps: pulumi.Any(loadBalancerShapeDetailsMaximumBandwidthInMbps),\n\t\t\t\tMinimumBandwidthInMbps: pulumi.Any(loadBalancerShapeDetailsMinimumBandwidthInMbps),\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.LoadBalancer.LoadBalancer;\nimport com.pulumi.oci.LoadBalancer.LoadBalancerArgs;\nimport com.pulumi.oci.LoadBalancer.inputs.LoadBalancerReservedIpArgs;\nimport com.pulumi.oci.LoadBalancer.inputs.LoadBalancerShapeDetailsArgs;\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 testLoadBalancer = new LoadBalancer(\"testLoadBalancer\", LoadBalancerArgs.builder()\n .compartmentId(compartmentId)\n .displayName(loadBalancerDisplayName)\n .shape(loadBalancerShape)\n .subnetIds(loadBalancerSubnetIds)\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .ipMode(loadBalancerIpMode)\n .isDeleteProtectionEnabled(loadBalancerIsDeleteProtectionEnabled)\n .isPrivate(loadBalancerIsPrivate)\n .isRequestIdEnabled(loadBalancerIsRequestIdEnabled)\n .networkSecurityGroupIds(loadBalancerNetworkSecurityGroupIds)\n .requestIdHeader(loadBalancerRequestIdHeader)\n .reservedIps(LoadBalancerReservedIpArgs.builder()\n .id(loadBalancerReservedIpsId)\n .build())\n .shapeDetails(LoadBalancerShapeDetailsArgs.builder()\n .maximumBandwidthInMbps(loadBalancerShapeDetailsMaximumBandwidthInMbps)\n .minimumBandwidthInMbps(loadBalancerShapeDetailsMinimumBandwidthInMbps)\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testLoadBalancer:\n type: oci:LoadBalancer:LoadBalancer\n name: test_load_balancer\n properties:\n compartmentId: ${compartmentId}\n displayName: ${loadBalancerDisplayName}\n shape: ${loadBalancerShape}\n subnetIds: ${loadBalancerSubnetIds}\n definedTags:\n Operations.CostCenter: '42'\n freeformTags:\n Department: Finance\n ipMode: ${loadBalancerIpMode}\n isDeleteProtectionEnabled: ${loadBalancerIsDeleteProtectionEnabled}\n isPrivate: ${loadBalancerIsPrivate}\n isRequestIdEnabled: ${loadBalancerIsRequestIdEnabled}\n networkSecurityGroupIds: ${loadBalancerNetworkSecurityGroupIds}\n requestIdHeader: ${loadBalancerRequestIdHeader}\n reservedIps:\n - id: ${loadBalancerReservedIpsId}\n shapeDetails:\n maximumBandwidthInMbps: ${loadBalancerShapeDetailsMaximumBandwidthInMbps}\n minimumBandwidthInMbps: ${loadBalancerShapeDetailsMinimumBandwidthInMbps}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nLoadBalancers can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:LoadBalancer/loadBalancer:LoadBalancer test_load_balancer \"id\"\n```\n", "properties": { "compartmentId": { "type": "string", @@ -499318,6 +500844,10 @@ "type": "boolean", "description": "Whether the load balancer has a VCN-local (private) IP address.\n\nIf \"true\", the service assigns a private IP address to the load balancer.\n\nIf \"false\", the service assigns a public IP address to the load balancer.\n\nA public load balancer is accessible from the internet, depending on your VCN's [security list rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). For more information about public and private load balancers, see [How Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works).\n\nExample: `true`\n" }, + "isRequestIdEnabled": { + "type": "boolean", + "description": "(Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.\n\nIf \"true\", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader.\n\nIf \"false\", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user.\n\nNew load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true.\n\nExample: `true`\n" + }, "networkSecurityGroupIds": { "type": "array", "items": { @@ -499325,6 +500855,10 @@ }, "description": "(Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer.\n\nDuring the load balancer's creation, the service adds the new load balancer to the specified NSGs.\n\nThe benefits of using NSGs with the load balancer include:\n* NSGs define network security rules to govern ingress and egress traffic for the load balancer.\n* The network security rules of other resources can reference the NSGs associated with the load balancer to ensure access.\n\nExample: `[\"ocid1.nsg.oc1.phx.unique_ID\"]`\n" }, + "requestIdHeader": { + "type": "string", + "description": "(Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer.\n\nIf a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field.\n\nIf isRequestIdEnabled is false then this field is ignored.\n\nIf this field is not set or is set to \"\" then this field defaults to X-Request-Id\n\n**Notes:**\n* Unless the header name is \"\" it must start with \"X-\" prefix.\n* Setting the header name to \"\" will set it to the default: X-Request-Id.\n" + }, "reservedIps": { "type": "array", "items": { @@ -499373,6 +500907,8 @@ "ipMode", "isDeleteProtectionEnabled", "isPrivate", + "isRequestIdEnabled", + "requestIdHeader", "shape", "shapeDetails", "state", @@ -499417,6 +500953,10 @@ "description": "Whether the load balancer has a VCN-local (private) IP address.\n\nIf \"true\", the service assigns a private IP address to the load balancer.\n\nIf \"false\", the service assigns a public IP address to the load balancer.\n\nA public load balancer is accessible from the internet, depending on your VCN's [security list rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). For more information about public and private load balancers, see [How Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works).\n\nExample: `true`\n", "willReplaceOnChanges": true }, + "isRequestIdEnabled": { + "type": "boolean", + "description": "(Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.\n\nIf \"true\", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader.\n\nIf \"false\", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user.\n\nNew load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true.\n\nExample: `true`\n" + }, "networkSecurityGroupIds": { "type": "array", "items": { @@ -499424,6 +500964,10 @@ }, "description": "(Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer.\n\nDuring the load balancer's creation, the service adds the new load balancer to the specified NSGs.\n\nThe benefits of using NSGs with the load balancer include:\n* NSGs define network security rules to govern ingress and egress traffic for the load balancer.\n* The network security rules of other resources can reference the NSGs associated with the load balancer to ensure access.\n\nExample: `[\"ocid1.nsg.oc1.phx.unique_ID\"]`\n" }, + "requestIdHeader": { + "type": "string", + "description": "(Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer.\n\nIf a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field.\n\nIf isRequestIdEnabled is false then this field is ignored.\n\nIf this field is not set or is set to \"\" then this field defaults to X-Request-Id\n\n**Notes:**\n* Unless the header name is \"\" it must start with \"X-\" prefix.\n* Setting the header name to \"\" will set it to the default: X-Request-Id.\n" + }, "reservedIps": { "type": "array", "items": { @@ -499509,6 +501053,10 @@ "description": "Whether the load balancer has a VCN-local (private) IP address.\n\nIf \"true\", the service assigns a private IP address to the load balancer.\n\nIf \"false\", the service assigns a public IP address to the load balancer.\n\nA public load balancer is accessible from the internet, depending on your VCN's [security list rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). For more information about public and private load balancers, see [How Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works).\n\nExample: `true`\n", "willReplaceOnChanges": true }, + "isRequestIdEnabled": { + "type": "boolean", + "description": "(Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners.\n\nIf \"true\", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader.\n\nIf \"false\", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user.\n\nNew load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true.\n\nExample: `true`\n" + }, "networkSecurityGroupIds": { "type": "array", "items": { @@ -499516,6 +501064,10 @@ }, "description": "(Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer.\n\nDuring the load balancer's creation, the service adds the new load balancer to the specified NSGs.\n\nThe benefits of using NSGs with the load balancer include:\n* NSGs define network security rules to govern ingress and egress traffic for the load balancer.\n* The network security rules of other resources can reference the NSGs associated with the load balancer to ensure access.\n\nExample: `[\"ocid1.nsg.oc1.phx.unique_ID\"]`\n" }, + "requestIdHeader": { + "type": "string", + "description": "(Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer.\n\nIf a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field.\n\nIf isRequestIdEnabled is false then this field is ignored.\n\nIf this field is not set or is set to \"\" then this field defaults to X-Request-Id\n\n**Notes:**\n* Unless the header name is \"\" it must start with \"X-\" prefix.\n* Setting the header name to \"\" will set it to the default: X-Request-Id.\n" + }, "reservedIps": { "type": "array", "items": { @@ -507705,7 +509257,7 @@ } }, "oci:Mysql/mysqlDbSystem:MysqlDbSystem": { - "description": "This resource provides the Mysql Db System resource in Oracle Cloud Infrastructure MySQL Database service.\n\nCreates and launches a DB System.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testMysqlDbSystem = new oci.mysql.MysqlDbSystem(\"test_mysql_db_system\", {\n availabilityDomain: mysqlDbSystemAvailabilityDomain,\n compartmentId: compartmentId,\n shapeName: mysqlShapeName,\n subnetId: testSubnet.id,\n adminPassword: mysqlDbSystemAdminPassword,\n adminUsername: mysqlDbSystemAdminUsername,\n backupPolicy: {\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n freeformTags: {\n \"bar-key\": \"value\",\n },\n isEnabled: mysqlDbSystemBackupPolicyIsEnabled,\n pitrPolicy: {\n isEnabled: mysqlDbSystemBackupPolicyPitrPolicyIsEnabled,\n },\n retentionInDays: mysqlDbSystemBackupPolicyRetentionInDays,\n windowStartTime: mysqlDbSystemBackupPolicyWindowStartTime,\n },\n configurationId: testConfiguration.id,\n crashRecovery: mysqlDbSystemCrashRecovery,\n dataStorage: {\n isAutoExpandStorageEnabled: mysqlDbSystemDataStorageIsAutoExpandStorageEnabled,\n maxStorageSizeInGbs: mysqlDbSystemDataStorageMaxStorageSizeInGbs,\n },\n dataStorageSizeInGb: mysqlDbSystemDataStorageSizeInGb,\n databaseManagement: mysqlDbSystemDatabaseManagement,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n deletionPolicies: [{\n automaticBackupRetention: mysqlDbSystemDeletionPolicyAutomaticBackupRetention,\n finalBackup: mysqlDbSystemDeletionPolicyFinalBackup,\n isDeleteProtected: mysqlDbSystemDeletionPolicyIsDeleteProtected,\n }],\n description: mysqlDbSystemDescription,\n displayName: mysqlDbSystemDisplayName,\n faultDomain: mysqlDbSystemFaultDomain,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n hostnameLabel: mysqlDbSystemHostnameLabel,\n ipAddress: mysqlDbSystemIpAddress,\n isHighlyAvailable: mysqlDbSystemIsHighlyAvailable,\n maintenance: {\n windowStartTime: mysqlDbSystemMaintenanceWindowStartTime,\n },\n port: mysqlDbSystemPort,\n portX: mysqlDbSystemPortX,\n secureConnections: {\n certificateGenerationType: mysqlDbSystemSecureConnectionsCertificateGenerationType,\n certificateId: testCertificate.id,\n },\n source: {\n sourceType: mysqlDbSystemSourceSourceType,\n backupId: testBackup.id,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_mysql_db_system = oci.mysql.MysqlDbSystem(\"test_mysql_db_system\",\n availability_domain=mysql_db_system_availability_domain,\n compartment_id=compartment_id,\n shape_name=mysql_shape_name,\n subnet_id=test_subnet[\"id\"],\n admin_password=mysql_db_system_admin_password,\n admin_username=mysql_db_system_admin_username,\n backup_policy={\n \"defined_tags\": {\n \"foo_namespace_bar_key\": \"value\",\n },\n \"freeform_tags\": {\n \"bar_key\": \"value\",\n },\n \"is_enabled\": mysql_db_system_backup_policy_is_enabled,\n \"pitr_policy\": {\n \"is_enabled\": mysql_db_system_backup_policy_pitr_policy_is_enabled,\n },\n \"retention_in_days\": mysql_db_system_backup_policy_retention_in_days,\n \"window_start_time\": mysql_db_system_backup_policy_window_start_time,\n },\n configuration_id=test_configuration[\"id\"],\n crash_recovery=mysql_db_system_crash_recovery,\n data_storage={\n \"is_auto_expand_storage_enabled\": mysql_db_system_data_storage_is_auto_expand_storage_enabled,\n \"max_storage_size_in_gbs\": mysql_db_system_data_storage_max_storage_size_in_gbs,\n },\n data_storage_size_in_gb=mysql_db_system_data_storage_size_in_gb,\n database_management=mysql_db_system_database_management,\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n deletion_policies=[{\n \"automatic_backup_retention\": mysql_db_system_deletion_policy_automatic_backup_retention,\n \"final_backup\": mysql_db_system_deletion_policy_final_backup,\n \"is_delete_protected\": mysql_db_system_deletion_policy_is_delete_protected,\n }],\n description=mysql_db_system_description,\n display_name=mysql_db_system_display_name,\n fault_domain=mysql_db_system_fault_domain,\n freeform_tags={\n \"bar-key\": \"value\",\n },\n hostname_label=mysql_db_system_hostname_label,\n ip_address=mysql_db_system_ip_address,\n is_highly_available=mysql_db_system_is_highly_available,\n maintenance={\n \"window_start_time\": mysql_db_system_maintenance_window_start_time,\n },\n port=mysql_db_system_port,\n port_x=mysql_db_system_port_x,\n secure_connections={\n \"certificate_generation_type\": mysql_db_system_secure_connections_certificate_generation_type,\n \"certificate_id\": test_certificate[\"id\"],\n },\n source={\n \"source_type\": mysql_db_system_source_source_type,\n \"backup_id\": test_backup[\"id\"],\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 testMysqlDbSystem = new Oci.Mysql.MysqlDbSystem(\"test_mysql_db_system\", new()\n {\n AvailabilityDomain = mysqlDbSystemAvailabilityDomain,\n CompartmentId = compartmentId,\n ShapeName = mysqlShapeName,\n SubnetId = testSubnet.Id,\n AdminPassword = mysqlDbSystemAdminPassword,\n AdminUsername = mysqlDbSystemAdminUsername,\n BackupPolicy = new Oci.Mysql.Inputs.MysqlDbSystemBackupPolicyArgs\n {\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n IsEnabled = mysqlDbSystemBackupPolicyIsEnabled,\n PitrPolicy = new Oci.Mysql.Inputs.MysqlDbSystemBackupPolicyPitrPolicyArgs\n {\n IsEnabled = mysqlDbSystemBackupPolicyPitrPolicyIsEnabled,\n },\n RetentionInDays = mysqlDbSystemBackupPolicyRetentionInDays,\n WindowStartTime = mysqlDbSystemBackupPolicyWindowStartTime,\n },\n ConfigurationId = testConfiguration.Id,\n CrashRecovery = mysqlDbSystemCrashRecovery,\n DataStorage = new Oci.Mysql.Inputs.MysqlDbSystemDataStorageArgs\n {\n IsAutoExpandStorageEnabled = mysqlDbSystemDataStorageIsAutoExpandStorageEnabled,\n MaxStorageSizeInGbs = mysqlDbSystemDataStorageMaxStorageSizeInGbs,\n },\n DataStorageSizeInGb = mysqlDbSystemDataStorageSizeInGb,\n DatabaseManagement = mysqlDbSystemDatabaseManagement,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n DeletionPolicies = new[]\n {\n new Oci.Mysql.Inputs.MysqlDbSystemDeletionPolicyArgs\n {\n AutomaticBackupRetention = mysqlDbSystemDeletionPolicyAutomaticBackupRetention,\n FinalBackup = mysqlDbSystemDeletionPolicyFinalBackup,\n IsDeleteProtected = mysqlDbSystemDeletionPolicyIsDeleteProtected,\n },\n },\n Description = mysqlDbSystemDescription,\n DisplayName = mysqlDbSystemDisplayName,\n FaultDomain = mysqlDbSystemFaultDomain,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n HostnameLabel = mysqlDbSystemHostnameLabel,\n IpAddress = mysqlDbSystemIpAddress,\n IsHighlyAvailable = mysqlDbSystemIsHighlyAvailable,\n Maintenance = new Oci.Mysql.Inputs.MysqlDbSystemMaintenanceArgs\n {\n WindowStartTime = mysqlDbSystemMaintenanceWindowStartTime,\n },\n Port = mysqlDbSystemPort,\n PortX = mysqlDbSystemPortX,\n SecureConnections = new Oci.Mysql.Inputs.MysqlDbSystemSecureConnectionsArgs\n {\n CertificateGenerationType = mysqlDbSystemSecureConnectionsCertificateGenerationType,\n CertificateId = testCertificate.Id,\n },\n Source = new Oci.Mysql.Inputs.MysqlDbSystemSourceArgs\n {\n SourceType = mysqlDbSystemSourceSourceType,\n BackupId = testBackup.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/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.NewMysqlDbSystem(ctx, \"test_mysql_db_system\", \u0026Mysql.MysqlDbSystemArgs{\n\t\t\tAvailabilityDomain: pulumi.Any(mysqlDbSystemAvailabilityDomain),\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tShapeName: pulumi.Any(mysqlShapeName),\n\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\tAdminPassword: pulumi.Any(mysqlDbSystemAdminPassword),\n\t\t\tAdminUsername: pulumi.Any(mysqlDbSystemAdminUsername),\n\t\t\tBackupPolicy: \u0026mysql.MysqlDbSystemBackupPolicyArgs{\n\t\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\t\"foo-namespace.bar-key\": pulumi.String(\"value\"),\n\t\t\t\t},\n\t\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t\t},\n\t\t\t\tIsEnabled: pulumi.Any(mysqlDbSystemBackupPolicyIsEnabled),\n\t\t\t\tPitrPolicy: \u0026mysql.MysqlDbSystemBackupPolicyPitrPolicyArgs{\n\t\t\t\t\tIsEnabled: pulumi.Any(mysqlDbSystemBackupPolicyPitrPolicyIsEnabled),\n\t\t\t\t},\n\t\t\t\tRetentionInDays: pulumi.Any(mysqlDbSystemBackupPolicyRetentionInDays),\n\t\t\t\tWindowStartTime: pulumi.Any(mysqlDbSystemBackupPolicyWindowStartTime),\n\t\t\t},\n\t\t\tConfigurationId: pulumi.Any(testConfiguration.Id),\n\t\t\tCrashRecovery: pulumi.Any(mysqlDbSystemCrashRecovery),\n\t\t\tDataStorage: \u0026mysql.MysqlDbSystemDataStorageArgs{\n\t\t\t\tIsAutoExpandStorageEnabled: pulumi.Any(mysqlDbSystemDataStorageIsAutoExpandStorageEnabled),\n\t\t\t\tMaxStorageSizeInGbs: pulumi.Any(mysqlDbSystemDataStorageMaxStorageSizeInGbs),\n\t\t\t},\n\t\t\tDataStorageSizeInGb: pulumi.Any(mysqlDbSystemDataStorageSizeInGb),\n\t\t\tDatabaseManagement: pulumi.Any(mysqlDbSystemDatabaseManagement),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tDeletionPolicies: mysql.MysqlDbSystemDeletionPolicyArray{\n\t\t\t\t\u0026mysql.MysqlDbSystemDeletionPolicyArgs{\n\t\t\t\t\tAutomaticBackupRetention: pulumi.Any(mysqlDbSystemDeletionPolicyAutomaticBackupRetention),\n\t\t\t\t\tFinalBackup: pulumi.Any(mysqlDbSystemDeletionPolicyFinalBackup),\n\t\t\t\t\tIsDeleteProtected: pulumi.Any(mysqlDbSystemDeletionPolicyIsDeleteProtected),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDescription: pulumi.Any(mysqlDbSystemDescription),\n\t\t\tDisplayName: pulumi.Any(mysqlDbSystemDisplayName),\n\t\t\tFaultDomain: pulumi.Any(mysqlDbSystemFaultDomain),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tHostnameLabel: pulumi.Any(mysqlDbSystemHostnameLabel),\n\t\t\tIpAddress: pulumi.Any(mysqlDbSystemIpAddress),\n\t\t\tIsHighlyAvailable: pulumi.Any(mysqlDbSystemIsHighlyAvailable),\n\t\t\tMaintenance: \u0026mysql.MysqlDbSystemMaintenanceArgs{\n\t\t\t\tWindowStartTime: pulumi.Any(mysqlDbSystemMaintenanceWindowStartTime),\n\t\t\t},\n\t\t\tPort: pulumi.Any(mysqlDbSystemPort),\n\t\t\tPortX: pulumi.Any(mysqlDbSystemPortX),\n\t\t\tSecureConnections: \u0026mysql.MysqlDbSystemSecureConnectionsArgs{\n\t\t\t\tCertificateGenerationType: pulumi.Any(mysqlDbSystemSecureConnectionsCertificateGenerationType),\n\t\t\t\tCertificateId: pulumi.Any(testCertificate.Id),\n\t\t\t},\n\t\t\tSource: \u0026mysql.MysqlDbSystemSourceArgs{\n\t\t\t\tSourceType: pulumi.Any(mysqlDbSystemSourceSourceType),\n\t\t\t\tBackupId: pulumi.Any(testBackup.Id),\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.MysqlDbSystem;\nimport com.pulumi.oci.Mysql.MysqlDbSystemArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemBackupPolicyArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemBackupPolicyPitrPolicyArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemDataStorageArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemDeletionPolicyArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemMaintenanceArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemSecureConnectionsArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemSourceArgs;\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 testMysqlDbSystem = new MysqlDbSystem(\"testMysqlDbSystem\", MysqlDbSystemArgs.builder()\n .availabilityDomain(mysqlDbSystemAvailabilityDomain)\n .compartmentId(compartmentId)\n .shapeName(mysqlShapeName)\n .subnetId(testSubnet.id())\n .adminPassword(mysqlDbSystemAdminPassword)\n .adminUsername(mysqlDbSystemAdminUsername)\n .backupPolicy(MysqlDbSystemBackupPolicyArgs.builder()\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .isEnabled(mysqlDbSystemBackupPolicyIsEnabled)\n .pitrPolicy(MysqlDbSystemBackupPolicyPitrPolicyArgs.builder()\n .isEnabled(mysqlDbSystemBackupPolicyPitrPolicyIsEnabled)\n .build())\n .retentionInDays(mysqlDbSystemBackupPolicyRetentionInDays)\n .windowStartTime(mysqlDbSystemBackupPolicyWindowStartTime)\n .build())\n .configurationId(testConfiguration.id())\n .crashRecovery(mysqlDbSystemCrashRecovery)\n .dataStorage(MysqlDbSystemDataStorageArgs.builder()\n .isAutoExpandStorageEnabled(mysqlDbSystemDataStorageIsAutoExpandStorageEnabled)\n .maxStorageSizeInGbs(mysqlDbSystemDataStorageMaxStorageSizeInGbs)\n .build())\n .dataStorageSizeInGb(mysqlDbSystemDataStorageSizeInGb)\n .databaseManagement(mysqlDbSystemDatabaseManagement)\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .deletionPolicies(MysqlDbSystemDeletionPolicyArgs.builder()\n .automaticBackupRetention(mysqlDbSystemDeletionPolicyAutomaticBackupRetention)\n .finalBackup(mysqlDbSystemDeletionPolicyFinalBackup)\n .isDeleteProtected(mysqlDbSystemDeletionPolicyIsDeleteProtected)\n .build())\n .description(mysqlDbSystemDescription)\n .displayName(mysqlDbSystemDisplayName)\n .faultDomain(mysqlDbSystemFaultDomain)\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .hostnameLabel(mysqlDbSystemHostnameLabel)\n .ipAddress(mysqlDbSystemIpAddress)\n .isHighlyAvailable(mysqlDbSystemIsHighlyAvailable)\n .maintenance(MysqlDbSystemMaintenanceArgs.builder()\n .windowStartTime(mysqlDbSystemMaintenanceWindowStartTime)\n .build())\n .port(mysqlDbSystemPort)\n .portX(mysqlDbSystemPortX)\n .secureConnections(MysqlDbSystemSecureConnectionsArgs.builder()\n .certificateGenerationType(mysqlDbSystemSecureConnectionsCertificateGenerationType)\n .certificateId(testCertificate.id())\n .build())\n .source(MysqlDbSystemSourceArgs.builder()\n .sourceType(mysqlDbSystemSourceSourceType)\n .backupId(testBackup.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMysqlDbSystem:\n type: oci:Mysql:MysqlDbSystem\n name: test_mysql_db_system\n properties:\n availabilityDomain: ${mysqlDbSystemAvailabilityDomain}\n compartmentId: ${compartmentId}\n shapeName: ${mysqlShapeName}\n subnetId: ${testSubnet.id}\n adminPassword: ${mysqlDbSystemAdminPassword}\n adminUsername: ${mysqlDbSystemAdminUsername}\n backupPolicy:\n definedTags:\n foo-namespace.bar-key: value\n freeformTags:\n bar-key: value\n isEnabled: ${mysqlDbSystemBackupPolicyIsEnabled}\n pitrPolicy:\n isEnabled: ${mysqlDbSystemBackupPolicyPitrPolicyIsEnabled}\n retentionInDays: ${mysqlDbSystemBackupPolicyRetentionInDays}\n windowStartTime: ${mysqlDbSystemBackupPolicyWindowStartTime}\n configurationId: ${testConfiguration.id}\n crashRecovery: ${mysqlDbSystemCrashRecovery}\n dataStorage:\n isAutoExpandStorageEnabled: ${mysqlDbSystemDataStorageIsAutoExpandStorageEnabled}\n maxStorageSizeInGbs: ${mysqlDbSystemDataStorageMaxStorageSizeInGbs}\n dataStorageSizeInGb: ${mysqlDbSystemDataStorageSizeInGb}\n databaseManagement: ${mysqlDbSystemDatabaseManagement}\n definedTags:\n foo-namespace.bar-key: value\n deletionPolicies:\n - automaticBackupRetention: ${mysqlDbSystemDeletionPolicyAutomaticBackupRetention}\n finalBackup: ${mysqlDbSystemDeletionPolicyFinalBackup}\n isDeleteProtected: ${mysqlDbSystemDeletionPolicyIsDeleteProtected}\n description: ${mysqlDbSystemDescription}\n displayName: ${mysqlDbSystemDisplayName}\n faultDomain: ${mysqlDbSystemFaultDomain}\n freeformTags:\n bar-key: value\n hostnameLabel: ${mysqlDbSystemHostnameLabel}\n ipAddress: ${mysqlDbSystemIpAddress}\n isHighlyAvailable: ${mysqlDbSystemIsHighlyAvailable}\n maintenance:\n windowStartTime: ${mysqlDbSystemMaintenanceWindowStartTime}\n port: ${mysqlDbSystemPort}\n portX: ${mysqlDbSystemPortX}\n secureConnections:\n certificateGenerationType: ${mysqlDbSystemSecureConnectionsCertificateGenerationType}\n certificateId: ${testCertificate.id}\n source:\n sourceType: ${mysqlDbSystemSourceSourceType}\n backupId: ${testBackup.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nMysqlDbSystems can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:Mysql/mysqlDbSystem:MysqlDbSystem test_mysql_db_system \"id\"\n```\n", + "description": "This resource provides the Mysql Db System resource in Oracle Cloud Infrastructure MySQL Database service.\n\nCreates and launches a DB System.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testMysqlDbSystem = new oci.mysql.MysqlDbSystem(\"test_mysql_db_system\", {\n availabilityDomain: mysqlDbSystemAvailabilityDomain,\n compartmentId: compartmentId,\n shapeName: mysqlShapeName,\n subnetId: testSubnet.id,\n adminPassword: mysqlDbSystemAdminPassword,\n adminUsername: mysqlDbSystemAdminUsername,\n backupPolicy: {\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n freeformTags: {\n \"bar-key\": \"value\",\n },\n isEnabled: mysqlDbSystemBackupPolicyIsEnabled,\n pitrPolicy: {\n isEnabled: mysqlDbSystemBackupPolicyPitrPolicyIsEnabled,\n },\n retentionInDays: mysqlDbSystemBackupPolicyRetentionInDays,\n windowStartTime: mysqlDbSystemBackupPolicyWindowStartTime,\n },\n configurationId: testConfiguration.id,\n crashRecovery: mysqlDbSystemCrashRecovery,\n customerContacts: [{\n email: mysqlDbSystemCustomerContactsEmail,\n }],\n dataStorage: {\n isAutoExpandStorageEnabled: mysqlDbSystemDataStorageIsAutoExpandStorageEnabled,\n maxStorageSizeInGbs: mysqlDbSystemDataStorageMaxStorageSizeInGbs,\n },\n dataStorageSizeInGb: mysqlDbSystemDataStorageSizeInGb,\n databaseManagement: mysqlDbSystemDatabaseManagement,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n deletionPolicies: [{\n automaticBackupRetention: mysqlDbSystemDeletionPolicyAutomaticBackupRetention,\n finalBackup: mysqlDbSystemDeletionPolicyFinalBackup,\n isDeleteProtected: mysqlDbSystemDeletionPolicyIsDeleteProtected,\n }],\n description: mysqlDbSystemDescription,\n displayName: mysqlDbSystemDisplayName,\n faultDomain: mysqlDbSystemFaultDomain,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n hostnameLabel: mysqlDbSystemHostnameLabel,\n ipAddress: mysqlDbSystemIpAddress,\n isHighlyAvailable: mysqlDbSystemIsHighlyAvailable,\n maintenance: {\n windowStartTime: mysqlDbSystemMaintenanceWindowStartTime,\n },\n port: mysqlDbSystemPort,\n portX: mysqlDbSystemPortX,\n secureConnections: {\n certificateGenerationType: mysqlDbSystemSecureConnectionsCertificateGenerationType,\n certificateId: testCertificate.id,\n },\n source: {\n sourceType: mysqlDbSystemSourceSourceType,\n backupId: testBackup.id,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_mysql_db_system = oci.mysql.MysqlDbSystem(\"test_mysql_db_system\",\n availability_domain=mysql_db_system_availability_domain,\n compartment_id=compartment_id,\n shape_name=mysql_shape_name,\n subnet_id=test_subnet[\"id\"],\n admin_password=mysql_db_system_admin_password,\n admin_username=mysql_db_system_admin_username,\n backup_policy={\n \"defined_tags\": {\n \"foo_namespace_bar_key\": \"value\",\n },\n \"freeform_tags\": {\n \"bar_key\": \"value\",\n },\n \"is_enabled\": mysql_db_system_backup_policy_is_enabled,\n \"pitr_policy\": {\n \"is_enabled\": mysql_db_system_backup_policy_pitr_policy_is_enabled,\n },\n \"retention_in_days\": mysql_db_system_backup_policy_retention_in_days,\n \"window_start_time\": mysql_db_system_backup_policy_window_start_time,\n },\n configuration_id=test_configuration[\"id\"],\n crash_recovery=mysql_db_system_crash_recovery,\n customer_contacts=[{\n \"email\": mysql_db_system_customer_contacts_email,\n }],\n data_storage={\n \"is_auto_expand_storage_enabled\": mysql_db_system_data_storage_is_auto_expand_storage_enabled,\n \"max_storage_size_in_gbs\": mysql_db_system_data_storage_max_storage_size_in_gbs,\n },\n data_storage_size_in_gb=mysql_db_system_data_storage_size_in_gb,\n database_management=mysql_db_system_database_management,\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n deletion_policies=[{\n \"automatic_backup_retention\": mysql_db_system_deletion_policy_automatic_backup_retention,\n \"final_backup\": mysql_db_system_deletion_policy_final_backup,\n \"is_delete_protected\": mysql_db_system_deletion_policy_is_delete_protected,\n }],\n description=mysql_db_system_description,\n display_name=mysql_db_system_display_name,\n fault_domain=mysql_db_system_fault_domain,\n freeform_tags={\n \"bar-key\": \"value\",\n },\n hostname_label=mysql_db_system_hostname_label,\n ip_address=mysql_db_system_ip_address,\n is_highly_available=mysql_db_system_is_highly_available,\n maintenance={\n \"window_start_time\": mysql_db_system_maintenance_window_start_time,\n },\n port=mysql_db_system_port,\n port_x=mysql_db_system_port_x,\n secure_connections={\n \"certificate_generation_type\": mysql_db_system_secure_connections_certificate_generation_type,\n \"certificate_id\": test_certificate[\"id\"],\n },\n source={\n \"source_type\": mysql_db_system_source_source_type,\n \"backup_id\": test_backup[\"id\"],\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 testMysqlDbSystem = new Oci.Mysql.MysqlDbSystem(\"test_mysql_db_system\", new()\n {\n AvailabilityDomain = mysqlDbSystemAvailabilityDomain,\n CompartmentId = compartmentId,\n ShapeName = mysqlShapeName,\n SubnetId = testSubnet.Id,\n AdminPassword = mysqlDbSystemAdminPassword,\n AdminUsername = mysqlDbSystemAdminUsername,\n BackupPolicy = new Oci.Mysql.Inputs.MysqlDbSystemBackupPolicyArgs\n {\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n IsEnabled = mysqlDbSystemBackupPolicyIsEnabled,\n PitrPolicy = new Oci.Mysql.Inputs.MysqlDbSystemBackupPolicyPitrPolicyArgs\n {\n IsEnabled = mysqlDbSystemBackupPolicyPitrPolicyIsEnabled,\n },\n RetentionInDays = mysqlDbSystemBackupPolicyRetentionInDays,\n WindowStartTime = mysqlDbSystemBackupPolicyWindowStartTime,\n },\n ConfigurationId = testConfiguration.Id,\n CrashRecovery = mysqlDbSystemCrashRecovery,\n CustomerContacts = new[]\n {\n new Oci.Mysql.Inputs.MysqlDbSystemCustomerContactArgs\n {\n Email = mysqlDbSystemCustomerContactsEmail,\n },\n },\n DataStorage = new Oci.Mysql.Inputs.MysqlDbSystemDataStorageArgs\n {\n IsAutoExpandStorageEnabled = mysqlDbSystemDataStorageIsAutoExpandStorageEnabled,\n MaxStorageSizeInGbs = mysqlDbSystemDataStorageMaxStorageSizeInGbs,\n },\n DataStorageSizeInGb = mysqlDbSystemDataStorageSizeInGb,\n DatabaseManagement = mysqlDbSystemDatabaseManagement,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n DeletionPolicies = new[]\n {\n new Oci.Mysql.Inputs.MysqlDbSystemDeletionPolicyArgs\n {\n AutomaticBackupRetention = mysqlDbSystemDeletionPolicyAutomaticBackupRetention,\n FinalBackup = mysqlDbSystemDeletionPolicyFinalBackup,\n IsDeleteProtected = mysqlDbSystemDeletionPolicyIsDeleteProtected,\n },\n },\n Description = mysqlDbSystemDescription,\n DisplayName = mysqlDbSystemDisplayName,\n FaultDomain = mysqlDbSystemFaultDomain,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n HostnameLabel = mysqlDbSystemHostnameLabel,\n IpAddress = mysqlDbSystemIpAddress,\n IsHighlyAvailable = mysqlDbSystemIsHighlyAvailable,\n Maintenance = new Oci.Mysql.Inputs.MysqlDbSystemMaintenanceArgs\n {\n WindowStartTime = mysqlDbSystemMaintenanceWindowStartTime,\n },\n Port = mysqlDbSystemPort,\n PortX = mysqlDbSystemPortX,\n SecureConnections = new Oci.Mysql.Inputs.MysqlDbSystemSecureConnectionsArgs\n {\n CertificateGenerationType = mysqlDbSystemSecureConnectionsCertificateGenerationType,\n CertificateId = testCertificate.Id,\n },\n Source = new Oci.Mysql.Inputs.MysqlDbSystemSourceArgs\n {\n SourceType = mysqlDbSystemSourceSourceType,\n BackupId = testBackup.Id,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/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.NewMysqlDbSystem(ctx, \"test_mysql_db_system\", \u0026Mysql.MysqlDbSystemArgs{\n\t\t\tAvailabilityDomain: pulumi.Any(mysqlDbSystemAvailabilityDomain),\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tShapeName: pulumi.Any(mysqlShapeName),\n\t\t\tSubnetId: pulumi.Any(testSubnet.Id),\n\t\t\tAdminPassword: pulumi.Any(mysqlDbSystemAdminPassword),\n\t\t\tAdminUsername: pulumi.Any(mysqlDbSystemAdminUsername),\n\t\t\tBackupPolicy: \u0026mysql.MysqlDbSystemBackupPolicyArgs{\n\t\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\t\"foo-namespace.bar-key\": pulumi.String(\"value\"),\n\t\t\t\t},\n\t\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t\t},\n\t\t\t\tIsEnabled: pulumi.Any(mysqlDbSystemBackupPolicyIsEnabled),\n\t\t\t\tPitrPolicy: \u0026mysql.MysqlDbSystemBackupPolicyPitrPolicyArgs{\n\t\t\t\t\tIsEnabled: pulumi.Any(mysqlDbSystemBackupPolicyPitrPolicyIsEnabled),\n\t\t\t\t},\n\t\t\t\tRetentionInDays: pulumi.Any(mysqlDbSystemBackupPolicyRetentionInDays),\n\t\t\t\tWindowStartTime: pulumi.Any(mysqlDbSystemBackupPolicyWindowStartTime),\n\t\t\t},\n\t\t\tConfigurationId: pulumi.Any(testConfiguration.Id),\n\t\t\tCrashRecovery: pulumi.Any(mysqlDbSystemCrashRecovery),\n\t\t\tCustomerContacts: mysql.MysqlDbSystemCustomerContactArray{\n\t\t\t\t\u0026mysql.MysqlDbSystemCustomerContactArgs{\n\t\t\t\t\tEmail: pulumi.Any(mysqlDbSystemCustomerContactsEmail),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDataStorage: \u0026mysql.MysqlDbSystemDataStorageArgs{\n\t\t\t\tIsAutoExpandStorageEnabled: pulumi.Any(mysqlDbSystemDataStorageIsAutoExpandStorageEnabled),\n\t\t\t\tMaxStorageSizeInGbs: pulumi.Any(mysqlDbSystemDataStorageMaxStorageSizeInGbs),\n\t\t\t},\n\t\t\tDataStorageSizeInGb: pulumi.Any(mysqlDbSystemDataStorageSizeInGb),\n\t\t\tDatabaseManagement: pulumi.Any(mysqlDbSystemDatabaseManagement),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tDeletionPolicies: mysql.MysqlDbSystemDeletionPolicyArray{\n\t\t\t\t\u0026mysql.MysqlDbSystemDeletionPolicyArgs{\n\t\t\t\t\tAutomaticBackupRetention: pulumi.Any(mysqlDbSystemDeletionPolicyAutomaticBackupRetention),\n\t\t\t\t\tFinalBackup: pulumi.Any(mysqlDbSystemDeletionPolicyFinalBackup),\n\t\t\t\t\tIsDeleteProtected: pulumi.Any(mysqlDbSystemDeletionPolicyIsDeleteProtected),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDescription: pulumi.Any(mysqlDbSystemDescription),\n\t\t\tDisplayName: pulumi.Any(mysqlDbSystemDisplayName),\n\t\t\tFaultDomain: pulumi.Any(mysqlDbSystemFaultDomain),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tHostnameLabel: pulumi.Any(mysqlDbSystemHostnameLabel),\n\t\t\tIpAddress: pulumi.Any(mysqlDbSystemIpAddress),\n\t\t\tIsHighlyAvailable: pulumi.Any(mysqlDbSystemIsHighlyAvailable),\n\t\t\tMaintenance: \u0026mysql.MysqlDbSystemMaintenanceArgs{\n\t\t\t\tWindowStartTime: pulumi.Any(mysqlDbSystemMaintenanceWindowStartTime),\n\t\t\t},\n\t\t\tPort: pulumi.Any(mysqlDbSystemPort),\n\t\t\tPortX: pulumi.Any(mysqlDbSystemPortX),\n\t\t\tSecureConnections: \u0026mysql.MysqlDbSystemSecureConnectionsArgs{\n\t\t\t\tCertificateGenerationType: pulumi.Any(mysqlDbSystemSecureConnectionsCertificateGenerationType),\n\t\t\t\tCertificateId: pulumi.Any(testCertificate.Id),\n\t\t\t},\n\t\t\tSource: \u0026mysql.MysqlDbSystemSourceArgs{\n\t\t\t\tSourceType: pulumi.Any(mysqlDbSystemSourceSourceType),\n\t\t\t\tBackupId: pulumi.Any(testBackup.Id),\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.MysqlDbSystem;\nimport com.pulumi.oci.Mysql.MysqlDbSystemArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemBackupPolicyArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemBackupPolicyPitrPolicyArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemCustomerContactArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemDataStorageArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemDeletionPolicyArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemMaintenanceArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemSecureConnectionsArgs;\nimport com.pulumi.oci.Mysql.inputs.MysqlDbSystemSourceArgs;\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 testMysqlDbSystem = new MysqlDbSystem(\"testMysqlDbSystem\", MysqlDbSystemArgs.builder()\n .availabilityDomain(mysqlDbSystemAvailabilityDomain)\n .compartmentId(compartmentId)\n .shapeName(mysqlShapeName)\n .subnetId(testSubnet.id())\n .adminPassword(mysqlDbSystemAdminPassword)\n .adminUsername(mysqlDbSystemAdminUsername)\n .backupPolicy(MysqlDbSystemBackupPolicyArgs.builder()\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .isEnabled(mysqlDbSystemBackupPolicyIsEnabled)\n .pitrPolicy(MysqlDbSystemBackupPolicyPitrPolicyArgs.builder()\n .isEnabled(mysqlDbSystemBackupPolicyPitrPolicyIsEnabled)\n .build())\n .retentionInDays(mysqlDbSystemBackupPolicyRetentionInDays)\n .windowStartTime(mysqlDbSystemBackupPolicyWindowStartTime)\n .build())\n .configurationId(testConfiguration.id())\n .crashRecovery(mysqlDbSystemCrashRecovery)\n .customerContacts(MysqlDbSystemCustomerContactArgs.builder()\n .email(mysqlDbSystemCustomerContactsEmail)\n .build())\n .dataStorage(MysqlDbSystemDataStorageArgs.builder()\n .isAutoExpandStorageEnabled(mysqlDbSystemDataStorageIsAutoExpandStorageEnabled)\n .maxStorageSizeInGbs(mysqlDbSystemDataStorageMaxStorageSizeInGbs)\n .build())\n .dataStorageSizeInGb(mysqlDbSystemDataStorageSizeInGb)\n .databaseManagement(mysqlDbSystemDatabaseManagement)\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .deletionPolicies(MysqlDbSystemDeletionPolicyArgs.builder()\n .automaticBackupRetention(mysqlDbSystemDeletionPolicyAutomaticBackupRetention)\n .finalBackup(mysqlDbSystemDeletionPolicyFinalBackup)\n .isDeleteProtected(mysqlDbSystemDeletionPolicyIsDeleteProtected)\n .build())\n .description(mysqlDbSystemDescription)\n .displayName(mysqlDbSystemDisplayName)\n .faultDomain(mysqlDbSystemFaultDomain)\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .hostnameLabel(mysqlDbSystemHostnameLabel)\n .ipAddress(mysqlDbSystemIpAddress)\n .isHighlyAvailable(mysqlDbSystemIsHighlyAvailable)\n .maintenance(MysqlDbSystemMaintenanceArgs.builder()\n .windowStartTime(mysqlDbSystemMaintenanceWindowStartTime)\n .build())\n .port(mysqlDbSystemPort)\n .portX(mysqlDbSystemPortX)\n .secureConnections(MysqlDbSystemSecureConnectionsArgs.builder()\n .certificateGenerationType(mysqlDbSystemSecureConnectionsCertificateGenerationType)\n .certificateId(testCertificate.id())\n .build())\n .source(MysqlDbSystemSourceArgs.builder()\n .sourceType(mysqlDbSystemSourceSourceType)\n .backupId(testBackup.id())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testMysqlDbSystem:\n type: oci:Mysql:MysqlDbSystem\n name: test_mysql_db_system\n properties:\n availabilityDomain: ${mysqlDbSystemAvailabilityDomain}\n compartmentId: ${compartmentId}\n shapeName: ${mysqlShapeName}\n subnetId: ${testSubnet.id}\n adminPassword: ${mysqlDbSystemAdminPassword}\n adminUsername: ${mysqlDbSystemAdminUsername}\n backupPolicy:\n definedTags:\n foo-namespace.bar-key: value\n freeformTags:\n bar-key: value\n isEnabled: ${mysqlDbSystemBackupPolicyIsEnabled}\n pitrPolicy:\n isEnabled: ${mysqlDbSystemBackupPolicyPitrPolicyIsEnabled}\n retentionInDays: ${mysqlDbSystemBackupPolicyRetentionInDays}\n windowStartTime: ${mysqlDbSystemBackupPolicyWindowStartTime}\n configurationId: ${testConfiguration.id}\n crashRecovery: ${mysqlDbSystemCrashRecovery}\n customerContacts:\n - email: ${mysqlDbSystemCustomerContactsEmail}\n dataStorage:\n isAutoExpandStorageEnabled: ${mysqlDbSystemDataStorageIsAutoExpandStorageEnabled}\n maxStorageSizeInGbs: ${mysqlDbSystemDataStorageMaxStorageSizeInGbs}\n dataStorageSizeInGb: ${mysqlDbSystemDataStorageSizeInGb}\n databaseManagement: ${mysqlDbSystemDatabaseManagement}\n definedTags:\n foo-namespace.bar-key: value\n deletionPolicies:\n - automaticBackupRetention: ${mysqlDbSystemDeletionPolicyAutomaticBackupRetention}\n finalBackup: ${mysqlDbSystemDeletionPolicyFinalBackup}\n isDeleteProtected: ${mysqlDbSystemDeletionPolicyIsDeleteProtected}\n description: ${mysqlDbSystemDescription}\n displayName: ${mysqlDbSystemDisplayName}\n faultDomain: ${mysqlDbSystemFaultDomain}\n freeformTags:\n bar-key: value\n hostnameLabel: ${mysqlDbSystemHostnameLabel}\n ipAddress: ${mysqlDbSystemIpAddress}\n isHighlyAvailable: ${mysqlDbSystemIsHighlyAvailable}\n maintenance:\n windowStartTime: ${mysqlDbSystemMaintenanceWindowStartTime}\n port: ${mysqlDbSystemPort}\n portX: ${mysqlDbSystemPortX}\n secureConnections:\n certificateGenerationType: ${mysqlDbSystemSecureConnectionsCertificateGenerationType}\n certificateId: ${testCertificate.id}\n source:\n sourceType: ${mysqlDbSystemSourceSourceType}\n backupId: ${testBackup.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nMysqlDbSystems can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:Mysql/mysqlDbSystem:MysqlDbSystem test_mysql_db_system \"id\"\n```\n", "properties": { "adminPassword": { "type": "string", @@ -507750,6 +509302,13 @@ }, "description": "The availability domain and fault domain a DB System is placed in.\n" }, + "customerContacts": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/MysqlDbSystemCustomerContact:MysqlDbSystemCustomerContact" + }, + "description": "(Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System.\n" + }, "dataStorage": { "$ref": "#/types/oci:Mysql/MysqlDbSystemDataStorage:MysqlDbSystemDataStorage", "description": "(Updatable) Data Storage configuration properties.\n" @@ -507895,6 +509454,7 @@ "configurationId", "crashRecovery", "currentPlacements", + "customerContacts", "dataStorage", "dataStorageSizeInGb", "databaseManagement", @@ -507958,6 +509518,13 @@ "type": "string", "description": "(Updatable) Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs.\n" }, + "customerContacts": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/MysqlDbSystemCustomerContact:MysqlDbSystemCustomerContact" + }, + "description": "(Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System.\n" + }, "dataStorage": { "$ref": "#/types/oci:Mysql/MysqlDbSystemDataStorage:MysqlDbSystemDataStorage", "description": "(Updatable) Data Storage configuration properties.\n" @@ -508120,6 +509687,13 @@ }, "description": "The availability domain and fault domain a DB System is placed in.\n" }, + "customerContacts": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/MysqlDbSystemCustomerContact:MysqlDbSystemCustomerContact" + }, + "description": "(Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System.\n" + }, "dataStorage": { "$ref": "#/types/oci:Mysql/MysqlDbSystemDataStorage:MysqlDbSystemDataStorage", "description": "(Updatable) Data Storage configuration properties.\n" @@ -527874,7 +529448,7 @@ } }, "oci:RecoveryMod/protectedDatabase:ProtectedDatabase": { - "description": "This resource provides the Protected Database resource in Oracle Cloud Infrastructure Recovery service.\n\nCreates a new Protected Database.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testProtectedDatabase = new oci.recoverymod.ProtectedDatabase(\"test_protected_database\", {\n compartmentId: compartmentId,\n dbUniqueName: protectedDatabaseDbUniqueName,\n displayName: protectedDatabaseDisplayName,\n password: protectedDatabasePassword,\n protectionPolicyId: testProtectionPolicy.id,\n recoveryServiceSubnets: [{\n recoveryServiceSubnetId: testRecoveryServiceSubnet.id,\n }],\n databaseId: testDatabase.id,\n databaseSize: protectedDatabaseDatabaseSize,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n deletionSchedule: \"DELETE_AFTER_72_HOURS\",\n freeformTags: {\n \"bar-key\": \"value\",\n },\n isRedoLogsShipped: protectedDatabaseIsRedoLogsShipped,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_protected_database = oci.recovery_mod.ProtectedDatabase(\"test_protected_database\",\n compartment_id=compartment_id,\n db_unique_name=protected_database_db_unique_name,\n display_name=protected_database_display_name,\n password=protected_database_password,\n protection_policy_id=test_protection_policy[\"id\"],\n recovery_service_subnets=[{\n \"recovery_service_subnet_id\": test_recovery_service_subnet[\"id\"],\n }],\n database_id=test_database[\"id\"],\n database_size=protected_database_database_size,\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n deletion_schedule=\"DELETE_AFTER_72_HOURS\",\n freeform_tags={\n \"bar-key\": \"value\",\n },\n is_redo_logs_shipped=protected_database_is_redo_logs_shipped)\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 testProtectedDatabase = new Oci.RecoveryMod.ProtectedDatabase(\"test_protected_database\", new()\n {\n CompartmentId = compartmentId,\n DbUniqueName = protectedDatabaseDbUniqueName,\n DisplayName = protectedDatabaseDisplayName,\n Password = protectedDatabasePassword,\n ProtectionPolicyId = testProtectionPolicy.Id,\n RecoveryServiceSubnets = new[]\n {\n new Oci.RecoveryMod.Inputs.ProtectedDatabaseRecoveryServiceSubnetArgs\n {\n RecoveryServiceSubnetId = testRecoveryServiceSubnet.Id,\n },\n },\n DatabaseId = testDatabase.Id,\n DatabaseSize = protectedDatabaseDatabaseSize,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n DeletionSchedule = \"DELETE_AFTER_72_HOURS\",\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n IsRedoLogsShipped = protectedDatabaseIsRedoLogsShipped,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/RecoveryMod\"\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 := RecoveryMod.NewProtectedDatabase(ctx, \"test_protected_database\", \u0026RecoveryMod.ProtectedDatabaseArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDbUniqueName: pulumi.Any(protectedDatabaseDbUniqueName),\n\t\t\tDisplayName: pulumi.Any(protectedDatabaseDisplayName),\n\t\t\tPassword: pulumi.Any(protectedDatabasePassword),\n\t\t\tProtectionPolicyId: pulumi.Any(testProtectionPolicy.Id),\n\t\t\tRecoveryServiceSubnets: recoverymod.ProtectedDatabaseRecoveryServiceSubnetArray{\n\t\t\t\t\u0026recoverymod.ProtectedDatabaseRecoveryServiceSubnetArgs{\n\t\t\t\t\tRecoveryServiceSubnetId: pulumi.Any(testRecoveryServiceSubnet.Id),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDatabaseId: pulumi.Any(testDatabase.Id),\n\t\t\tDatabaseSize: pulumi.Any(protectedDatabaseDatabaseSize),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tDeletionSchedule: pulumi.String(\"DELETE_AFTER_72_HOURS\"),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tIsRedoLogsShipped: pulumi.Any(protectedDatabaseIsRedoLogsShipped),\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.RecoveryMod.ProtectedDatabase;\nimport com.pulumi.oci.RecoveryMod.ProtectedDatabaseArgs;\nimport com.pulumi.oci.RecoveryMod.inputs.ProtectedDatabaseRecoveryServiceSubnetArgs;\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 testProtectedDatabase = new ProtectedDatabase(\"testProtectedDatabase\", ProtectedDatabaseArgs.builder()\n .compartmentId(compartmentId)\n .dbUniqueName(protectedDatabaseDbUniqueName)\n .displayName(protectedDatabaseDisplayName)\n .password(protectedDatabasePassword)\n .protectionPolicyId(testProtectionPolicy.id())\n .recoveryServiceSubnets(ProtectedDatabaseRecoveryServiceSubnetArgs.builder()\n .recoveryServiceSubnetId(testRecoveryServiceSubnet.id())\n .build())\n .databaseId(testDatabase.id())\n .databaseSize(protectedDatabaseDatabaseSize)\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .deletionSchedule(\"DELETE_AFTER_72_HOURS\")\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .isRedoLogsShipped(protectedDatabaseIsRedoLogsShipped)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testProtectedDatabase:\n type: oci:RecoveryMod:ProtectedDatabase\n name: test_protected_database\n properties:\n compartmentId: ${compartmentId}\n dbUniqueName: ${protectedDatabaseDbUniqueName}\n displayName: ${protectedDatabaseDisplayName}\n password: ${protectedDatabasePassword}\n protectionPolicyId: ${testProtectionPolicy.id}\n recoveryServiceSubnets:\n - recoveryServiceSubnetId: ${testRecoveryServiceSubnet.id}\n databaseId: ${testDatabase.id}\n databaseSize: ${protectedDatabaseDatabaseSize}\n definedTags:\n foo-namespace.bar-key: value\n deletionSchedule: DELETE_AFTER_72_HOURS\n freeformTags:\n bar-key: value\n isRedoLogsShipped: ${protectedDatabaseIsRedoLogsShipped}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nProtectedDatabases can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:RecoveryMod/protectedDatabase:ProtectedDatabase test_protected_database \"id\"\n```\n", + "description": "This resource provides the Protected Database resource in Oracle Cloud Infrastructure Recovery service.\n\nCreates a new Protected Database.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testProtectedDatabase = new oci.recoverymod.ProtectedDatabase(\"test_protected_database\", {\n compartmentId: compartmentId,\n dbUniqueName: protectedDatabaseDbUniqueName,\n displayName: protectedDatabaseDisplayName,\n password: protectedDatabasePassword,\n protectionPolicyId: testProtectionPolicy.id,\n recoveryServiceSubnets: [{\n recoveryServiceSubnetId: testRecoveryServiceSubnet.id,\n }],\n databaseId: testDatabase.id,\n databaseSize: protectedDatabaseDatabaseSize,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n deletionSchedule: \"DELETE_AFTER_72_HOURS\",\n freeformTags: {\n \"bar-key\": \"value\",\n },\n isRedoLogsShipped: protectedDatabaseIsRedoLogsShipped,\n subscriptionId: testSubscription.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_protected_database = oci.recovery_mod.ProtectedDatabase(\"test_protected_database\",\n compartment_id=compartment_id,\n db_unique_name=protected_database_db_unique_name,\n display_name=protected_database_display_name,\n password=protected_database_password,\n protection_policy_id=test_protection_policy[\"id\"],\n recovery_service_subnets=[{\n \"recovery_service_subnet_id\": test_recovery_service_subnet[\"id\"],\n }],\n database_id=test_database[\"id\"],\n database_size=protected_database_database_size,\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n deletion_schedule=\"DELETE_AFTER_72_HOURS\",\n freeform_tags={\n \"bar-key\": \"value\",\n },\n is_redo_logs_shipped=protected_database_is_redo_logs_shipped,\n subscription_id=test_subscription[\"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 testProtectedDatabase = new Oci.RecoveryMod.ProtectedDatabase(\"test_protected_database\", new()\n {\n CompartmentId = compartmentId,\n DbUniqueName = protectedDatabaseDbUniqueName,\n DisplayName = protectedDatabaseDisplayName,\n Password = protectedDatabasePassword,\n ProtectionPolicyId = testProtectionPolicy.Id,\n RecoveryServiceSubnets = new[]\n {\n new Oci.RecoveryMod.Inputs.ProtectedDatabaseRecoveryServiceSubnetArgs\n {\n RecoveryServiceSubnetId = testRecoveryServiceSubnet.Id,\n },\n },\n DatabaseId = testDatabase.Id,\n DatabaseSize = protectedDatabaseDatabaseSize,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n DeletionSchedule = \"DELETE_AFTER_72_HOURS\",\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n IsRedoLogsShipped = protectedDatabaseIsRedoLogsShipped,\n SubscriptionId = testSubscription.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/RecoveryMod\"\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 := RecoveryMod.NewProtectedDatabase(ctx, \"test_protected_database\", \u0026RecoveryMod.ProtectedDatabaseArgs{\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDbUniqueName: pulumi.Any(protectedDatabaseDbUniqueName),\n\t\t\tDisplayName: pulumi.Any(protectedDatabaseDisplayName),\n\t\t\tPassword: pulumi.Any(protectedDatabasePassword),\n\t\t\tProtectionPolicyId: pulumi.Any(testProtectionPolicy.Id),\n\t\t\tRecoveryServiceSubnets: recoverymod.ProtectedDatabaseRecoveryServiceSubnetArray{\n\t\t\t\t\u0026recoverymod.ProtectedDatabaseRecoveryServiceSubnetArgs{\n\t\t\t\t\tRecoveryServiceSubnetId: pulumi.Any(testRecoveryServiceSubnet.Id),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDatabaseId: pulumi.Any(testDatabase.Id),\n\t\t\tDatabaseSize: pulumi.Any(protectedDatabaseDatabaseSize),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tDeletionSchedule: pulumi.String(\"DELETE_AFTER_72_HOURS\"),\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tIsRedoLogsShipped: pulumi.Any(protectedDatabaseIsRedoLogsShipped),\n\t\t\tSubscriptionId: pulumi.Any(testSubscription.Id),\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.RecoveryMod.ProtectedDatabase;\nimport com.pulumi.oci.RecoveryMod.ProtectedDatabaseArgs;\nimport com.pulumi.oci.RecoveryMod.inputs.ProtectedDatabaseRecoveryServiceSubnetArgs;\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 testProtectedDatabase = new ProtectedDatabase(\"testProtectedDatabase\", ProtectedDatabaseArgs.builder()\n .compartmentId(compartmentId)\n .dbUniqueName(protectedDatabaseDbUniqueName)\n .displayName(protectedDatabaseDisplayName)\n .password(protectedDatabasePassword)\n .protectionPolicyId(testProtectionPolicy.id())\n .recoveryServiceSubnets(ProtectedDatabaseRecoveryServiceSubnetArgs.builder()\n .recoveryServiceSubnetId(testRecoveryServiceSubnet.id())\n .build())\n .databaseId(testDatabase.id())\n .databaseSize(protectedDatabaseDatabaseSize)\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .deletionSchedule(\"DELETE_AFTER_72_HOURS\")\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .isRedoLogsShipped(protectedDatabaseIsRedoLogsShipped)\n .subscriptionId(testSubscription.id())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testProtectedDatabase:\n type: oci:RecoveryMod:ProtectedDatabase\n name: test_protected_database\n properties:\n compartmentId: ${compartmentId}\n dbUniqueName: ${protectedDatabaseDbUniqueName}\n displayName: ${protectedDatabaseDisplayName}\n password: ${protectedDatabasePassword}\n protectionPolicyId: ${testProtectionPolicy.id}\n recoveryServiceSubnets:\n - recoveryServiceSubnetId: ${testRecoveryServiceSubnet.id}\n databaseId: ${testDatabase.id}\n databaseSize: ${protectedDatabaseDatabaseSize}\n definedTags:\n foo-namespace.bar-key: value\n deletionSchedule: DELETE_AFTER_72_HOURS\n freeformTags:\n bar-key: value\n isRedoLogsShipped: ${protectedDatabaseIsRedoLogsShipped}\n subscriptionId: ${testSubscription.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nProtectedDatabases can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:RecoveryMod/protectedDatabase:ProtectedDatabase test_protected_database \"id\"\n```\n", "properties": { "compartmentId": { "type": "string", @@ -527965,6 +529539,10 @@ "type": "string", "description": "The current state of the Protected Database.\n" }, + "subscriptionId": { + "type": "string", + "description": "(Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. \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": { @@ -528005,6 +529583,7 @@ "protectionPolicyId", "recoveryServiceSubnets", "state", + "subscriptionId", "systemTags", "timeCreated", "timeUpdated", @@ -528070,6 +529649,10 @@ "$ref": "#/types/oci:RecoveryMod/ProtectedDatabaseRecoveryServiceSubnet:ProtectedDatabaseRecoveryServiceSubnet" }, "description": "(Updatable) List of recovery service subnet resources associated with the protected database.\n" + }, + "subscriptionId": { + "type": "string", + "description": "(Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. \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": [ @@ -528174,6 +529757,10 @@ "type": "string", "description": "The current state of the Protected Database.\n" }, + "subscriptionId": { + "type": "string", + "description": "(Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. \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": { @@ -528198,7 +529785,7 @@ } }, "oci:RecoveryMod/protectionPolicy:ProtectionPolicy": { - "description": "This resource provides the Protection Policy resource in Oracle Cloud Infrastructure Recovery service.\n\nCreates a new Protection Policy.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testProtectionPolicy = new oci.recoverymod.ProtectionPolicy(\"test_protection_policy\", {\n backupRetentionPeriodInDays: protectionPolicyBackupRetentionPeriodInDays,\n compartmentId: compartmentId,\n displayName: protectionPolicyDisplayName,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n freeformTags: {\n \"bar-key\": \"value\",\n },\n policyLockedDateTime: protectionPolicyPolicyLockedDateTime,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_protection_policy = oci.recovery_mod.ProtectionPolicy(\"test_protection_policy\",\n backup_retention_period_in_days=protection_policy_backup_retention_period_in_days,\n compartment_id=compartment_id,\n display_name=protection_policy_display_name,\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n freeform_tags={\n \"bar-key\": \"value\",\n },\n policy_locked_date_time=protection_policy_policy_locked_date_time)\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 testProtectionPolicy = new Oci.RecoveryMod.ProtectionPolicy(\"test_protection_policy\", new()\n {\n BackupRetentionPeriodInDays = protectionPolicyBackupRetentionPeriodInDays,\n CompartmentId = compartmentId,\n DisplayName = protectionPolicyDisplayName,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n PolicyLockedDateTime = protectionPolicyPolicyLockedDateTime,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/RecoveryMod\"\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 := RecoveryMod.NewProtectionPolicy(ctx, \"test_protection_policy\", \u0026RecoveryMod.ProtectionPolicyArgs{\n\t\t\tBackupRetentionPeriodInDays: pulumi.Any(protectionPolicyBackupRetentionPeriodInDays),\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDisplayName: pulumi.Any(protectionPolicyDisplayName),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tPolicyLockedDateTime: pulumi.Any(protectionPolicyPolicyLockedDateTime),\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.RecoveryMod.ProtectionPolicy;\nimport com.pulumi.oci.RecoveryMod.ProtectionPolicyArgs;\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 testProtectionPolicy = new ProtectionPolicy(\"testProtectionPolicy\", ProtectionPolicyArgs.builder()\n .backupRetentionPeriodInDays(protectionPolicyBackupRetentionPeriodInDays)\n .compartmentId(compartmentId)\n .displayName(protectionPolicyDisplayName)\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .policyLockedDateTime(protectionPolicyPolicyLockedDateTime)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testProtectionPolicy:\n type: oci:RecoveryMod:ProtectionPolicy\n name: test_protection_policy\n properties:\n backupRetentionPeriodInDays: ${protectionPolicyBackupRetentionPeriodInDays}\n compartmentId: ${compartmentId}\n displayName: ${protectionPolicyDisplayName}\n definedTags:\n foo-namespace.bar-key: value\n freeformTags:\n bar-key: value\n policyLockedDateTime: ${protectionPolicyPolicyLockedDateTime}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nProtectionPolicies can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:RecoveryMod/protectionPolicy:ProtectionPolicy test_protection_policy \"id\"\n```\n", + "description": "This resource provides the Protection Policy resource in Oracle Cloud Infrastructure Recovery service.\n\nCreates a new Protection Policy.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testProtectionPolicy = new oci.recoverymod.ProtectionPolicy(\"test_protection_policy\", {\n backupRetentionPeriodInDays: protectionPolicyBackupRetentionPeriodInDays,\n compartmentId: compartmentId,\n displayName: protectionPolicyDisplayName,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n freeformTags: {\n \"bar-key\": \"value\",\n },\n mustEnforceCloudLocality: protectionPolicyMustEnforceCloudLocality,\n policyLockedDateTime: protectionPolicyPolicyLockedDateTime,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_protection_policy = oci.recovery_mod.ProtectionPolicy(\"test_protection_policy\",\n backup_retention_period_in_days=protection_policy_backup_retention_period_in_days,\n compartment_id=compartment_id,\n display_name=protection_policy_display_name,\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n freeform_tags={\n \"bar-key\": \"value\",\n },\n must_enforce_cloud_locality=protection_policy_must_enforce_cloud_locality,\n policy_locked_date_time=protection_policy_policy_locked_date_time)\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 testProtectionPolicy = new Oci.RecoveryMod.ProtectionPolicy(\"test_protection_policy\", new()\n {\n BackupRetentionPeriodInDays = protectionPolicyBackupRetentionPeriodInDays,\n CompartmentId = compartmentId,\n DisplayName = protectionPolicyDisplayName,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n MustEnforceCloudLocality = protectionPolicyMustEnforceCloudLocality,\n PolicyLockedDateTime = protectionPolicyPolicyLockedDateTime,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/RecoveryMod\"\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 := RecoveryMod.NewProtectionPolicy(ctx, \"test_protection_policy\", \u0026RecoveryMod.ProtectionPolicyArgs{\n\t\t\tBackupRetentionPeriodInDays: pulumi.Any(protectionPolicyBackupRetentionPeriodInDays),\n\t\t\tCompartmentId: pulumi.Any(compartmentId),\n\t\t\tDisplayName: pulumi.Any(protectionPolicyDisplayName),\n\t\t\tDefinedTags: pulumi.StringMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.StringMap{\n\t\t\t\t\"bar-key\": pulumi.String(\"value\"),\n\t\t\t},\n\t\t\tMustEnforceCloudLocality: pulumi.Any(protectionPolicyMustEnforceCloudLocality),\n\t\t\tPolicyLockedDateTime: pulumi.Any(protectionPolicyPolicyLockedDateTime),\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.RecoveryMod.ProtectionPolicy;\nimport com.pulumi.oci.RecoveryMod.ProtectionPolicyArgs;\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 testProtectionPolicy = new ProtectionPolicy(\"testProtectionPolicy\", ProtectionPolicyArgs.builder()\n .backupRetentionPeriodInDays(protectionPolicyBackupRetentionPeriodInDays)\n .compartmentId(compartmentId)\n .displayName(protectionPolicyDisplayName)\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .mustEnforceCloudLocality(protectionPolicyMustEnforceCloudLocality)\n .policyLockedDateTime(protectionPolicyPolicyLockedDateTime)\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testProtectionPolicy:\n type: oci:RecoveryMod:ProtectionPolicy\n name: test_protection_policy\n properties:\n backupRetentionPeriodInDays: ${protectionPolicyBackupRetentionPeriodInDays}\n compartmentId: ${compartmentId}\n displayName: ${protectionPolicyDisplayName}\n definedTags:\n foo-namespace.bar-key: value\n freeformTags:\n bar-key: value\n mustEnforceCloudLocality: ${protectionPolicyMustEnforceCloudLocality}\n policyLockedDateTime: ${protectionPolicyPolicyLockedDateTime}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nProtectionPolicies can be imported using the `id`, e.g.\n\n```sh\n$ pulumi import oci:RecoveryMod/protectionPolicy:ProtectionPolicy test_protection_policy \"id\"\n```\n", "properties": { "backupRetentionPeriodInDays": { "type": "integer", @@ -528234,6 +529821,10 @@ "type": "string", "description": "Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.\n" }, + "mustEnforceCloudLocality": { + "type": "boolean", + "description": "Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.\n" + }, "policyLockedDateTime": { "type": "string", "description": "(Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.\n* The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.\n* Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.\n* For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.\n* During the 14-day delay period, you can either increase or decrease the retention period in the policy.\n* However, you are only allowed to increase the retention period on or after the retention lock date.\n* You cannot change the value of policyLockedDateTime if the retention lock is already in effect.\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" @@ -528266,6 +529857,7 @@ "freeformTags", "isPredefinedPolicy", "lifecycleDetails", + "mustEnforceCloudLocality", "policyLockedDateTime", "state", "systemTags", @@ -528299,6 +529891,11 @@ }, "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" }, + "mustEnforceCloudLocality": { + "type": "boolean", + "description": "Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.\n", + "willReplaceOnChanges": true + }, "policyLockedDateTime": { "type": "string", "description": "(Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.\n* The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.\n* Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.\n* For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.\n* During the 14-day delay period, you can either increase or decrease the retention period in the policy.\n* However, you are only allowed to increase the retention period on or after the retention lock date.\n* You cannot change the value of policyLockedDateTime if the retention lock is already in effect.\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" @@ -528346,6 +529943,11 @@ "type": "string", "description": "Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.\n" }, + "mustEnforceCloudLocality": { + "type": "boolean", + "description": "Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it.\n", + "willReplaceOnChanges": true + }, "policyLockedDateTime": { "type": "string", "description": "(Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.\n* The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups.\n* Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date.\n* For example, assuming that the current date is Aug 1, 2023 9 pm, you can set policyLockedDateTime to '2023-08-15T21:00:00.600Z' (Aug 15, 2023, 9:00 pm), or greater.\n* During the 14-day delay period, you can either increase or decrease the retention period in the policy.\n* However, you are only allowed to increase the retention period on or after the retention lock date.\n* You cannot change the value of policyLockedDateTime if the retention lock is already in effect.\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" @@ -542842,11 +544444,11 @@ "type": "string" }, "preferredLanguage": { - "description": "(For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.\n", + "description": "(For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.\n", "type": "string" }, "preferredTimeZone": { - "description": "The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.\n", + "description": "The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles\n", "type": "string" }, "state": { @@ -542964,6 +544566,76 @@ "type": "object" } }, + "oci:AnnouncementsService/getServices:getServices": { + "description": "This data source provides the list of Services in Oracle Cloud Infrastructure.\n\nList all OCI services\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testServices = oci.AnnouncementsService.getServices({\n compartmentId: compartmentId,\n commsManagerName: serviceCommsManagerName,\n platformType: servicePlatformType,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_services = oci.AnnouncementsService.get_services(compartment_id=compartment_id,\n comms_manager_name=service_comms_manager_name,\n platform_type=service_platform_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 testServices = Oci.AnnouncementsService.GetServices.Invoke(new()\n {\n CompartmentId = compartmentId,\n CommsManagerName = serviceCommsManagerName,\n PlatformType = servicePlatformType,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/AnnouncementsService\"\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 := AnnouncementsService.GetServices(ctx, \u0026announcementsservice.GetServicesArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tCommsManagerName: pulumi.StringRef(serviceCommsManagerName),\n\t\t\tPlatformType: pulumi.StringRef(servicePlatformType),\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.AnnouncementsService.AnnouncementsServiceFunctions;\nimport com.pulumi.oci.AnnouncementsService.inputs.GetServicesArgs;\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 testServices = AnnouncementsServiceFunctions.getServices(GetServicesArgs.builder()\n .compartmentId(compartmentId)\n .commsManagerName(serviceCommsManagerName)\n .platformType(servicePlatformType)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testServices:\n fn::invoke:\n Function: oci:AnnouncementsService:getServices\n Arguments:\n compartmentId: ${compartmentId}\n commsManagerName: ${serviceCommsManagerName}\n platformType: ${servicePlatformType}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getServices.\n", + "properties": { + "commsManagerName": { + "type": "string", + "description": "Filter by comms manager name\n" + }, + "compartmentId": { + "type": "string", + "description": "The OCID of the root compartment/tenancy.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:AnnouncementsService/getServicesFilter:getServicesFilter" + }, + "willReplaceOnChanges": true + }, + "platformType": { + "type": "string", + "description": "A filter to return only services underlying a specific platform.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getServices.\n", + "properties": { + "commsManagerName": { + "description": "Name of the comms manager team that manages Notifications to this service.\n", + "type": "string" + }, + "compartmentId": { + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:AnnouncementsService/getServicesFilter:getServicesFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "platformType": { + "description": "The platform type this service object is related to.\n", + "type": "string" + }, + "servicesCollections": { + "description": "The list of services_collection.\n", + "items": { + "$ref": "#/types/oci:AnnouncementsService/getServicesServicesCollection:getServicesServicesCollection" + }, + "type": "array" + } + }, + "required": [ + "compartmentId", + "servicesCollections", + "id" + ], + "type": "object" + } + }, "oci:ApiGateway/getApi:getApi": { "description": "This data source provides details about a specific Api resource in Oracle Cloud Infrastructure API Gateway service.\n\nGets an API by identifier.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testApi = oci.ApiGateway.getApi({\n apiId: testApiOciApigatewayApi.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_api = oci.ApiGateway.get_api(api_id=test_api_oci_apigateway_api[\"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 testApi = Oci.ApiGateway.GetApi.Invoke(new()\n {\n ApiId = testApiOciApigatewayApi.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/ApiGateway\"\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 := ApiGateway.GetApi(ctx, \u0026apigateway.GetApiArgs{\n\t\t\tApiId: testApiOciApigatewayApi.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.ApiGateway.ApiGatewayFunctions;\nimport com.pulumi.oci.ApiGateway.inputs.GetApiArgs;\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 testApi = ApiGatewayFunctions.getApi(GetApiArgs.builder()\n .apiId(testApiOciApigatewayApi.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testApi:\n fn::invoke:\n Function: oci:ApiGateway:getApi\n Arguments:\n apiId: ${testApiOciApigatewayApi.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -548484,9 +550156,6 @@ "outputs": { "description": "A collection of values returned by getBdsInstance.\n", "properties": { - "addKafkaTrigger": { - "type": "integer" - }, "bdsInstanceId": { "type": "string" }, @@ -548554,9 +550223,6 @@ }, "type": "array" }, - "executeBootstrapScriptTrigger": { - "type": "integer" - }, "freeformTags": { "additionalProperties": { "type": "string" @@ -548637,9 +550303,6 @@ "osPatchVersion": { "type": "string" }, - "removeKafkaTrigger": { - "type": "integer" - }, "state": { "description": "The state of the cluster.\n", "type": "string" @@ -548666,7 +550329,6 @@ } }, "required": [ - "addKafkaTrigger", "bdsInstanceId", "bootstrapScriptUrl", "cloudSqlDetails", @@ -548681,7 +550343,6 @@ "definedTags", "displayName", "edgeNodes", - "executeBootstrapScriptTrigger", "freeformTags", "id", "ignoreExistingNodesShapes", @@ -548699,7 +550360,6 @@ "numberOfNodes", "numberOfNodesRequiringMaintenanceReboot", "osPatchVersion", - "removeKafkaTrigger", "state", "timeCreated", "timeUpdated", @@ -594433,6 +596093,10 @@ "description": "The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle\n", "type": "string" }, + "availabilityDomain": { + "description": "The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance.\n", + "type": "string" + }, "availableUpgradeVersions": { "description": "List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty.\n", "items": { @@ -595006,6 +596670,7 @@ "autonomousDatabaseBackupId", "autonomousDatabaseId", "autonomousMaintenanceScheduleType", + "availabilityDomain", "availableUpgradeVersions", "backupConfigs", "backupRetentionPeriodInDays", @@ -595957,7 +597622,7 @@ } }, "oci:Database/getAutonomousDatabases:getAutonomousDatabases": { - "description": "## \n\n---\n## subcategory: \"Database\"\n\nlayout: \"oci\"\npage_title: \"Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases\"\nsidebar_current: \"docs-oci-datasource-database-autonomous_databases\"\ndescription: |-\n Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service\n---\n\n# Data Source: oci.Database.getAutonomousDatabases\nThis 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## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testAutonomousDatabases = oci.Database.getAutonomousDatabases({\n compartmentId: compartmentId,\n autonomousContainerDatabaseId: testAutonomousContainerDatabase.id,\n dbVersion: autonomousDatabaseDbVersion,\n dbWorkload: autonomousDatabaseDbWorkload,\n displayName: autonomousDatabaseDisplayName,\n infrastructureType: autonomousDatabaseInfrastructureType,\n isDataGuardEnabled: autonomousDatabaseIsDataGuardEnabled,\n isFreeTier: autonomousDatabaseIsFreeTier,\n isRefreshableClone: autonomousDatabaseIsRefreshableClone,\n isResourcePoolLeader: autonomousDatabaseIsResourcePoolLeader,\n resourcePoolLeaderId: testResourcePoolLeader.id,\n state: autonomousDatabaseState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_autonomous_databases = oci.Database.get_autonomous_databases(compartment_id=compartment_id,\n autonomous_container_database_id=test_autonomous_container_database[\"id\"],\n db_version=autonomous_database_db_version,\n db_workload=autonomous_database_db_workload,\n display_name=autonomous_database_display_name,\n infrastructure_type=autonomous_database_infrastructure_type,\n is_data_guard_enabled=autonomous_database_is_data_guard_enabled,\n is_free_tier=autonomous_database_is_free_tier,\n is_refreshable_clone=autonomous_database_is_refreshable_clone,\n is_resource_pool_leader=autonomous_database_is_resource_pool_leader,\n resource_pool_leader_id=test_resource_pool_leader[\"id\"],\n state=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 = compartmentId,\n AutonomousContainerDatabaseId = testAutonomousContainerDatabase.Id,\n DbVersion = autonomousDatabaseDbVersion,\n DbWorkload = autonomousDatabaseDbWorkload,\n DisplayName = autonomousDatabaseDisplayName,\n InfrastructureType = autonomousDatabaseInfrastructureType,\n IsDataGuardEnabled = autonomousDatabaseIsDataGuardEnabled,\n IsFreeTier = autonomousDatabaseIsFreeTier,\n IsRefreshableClone = autonomousDatabaseIsRefreshableClone,\n IsResourcePoolLeader = autonomousDatabaseIsResourcePoolLeader,\n ResourcePoolLeaderId = testResourcePoolLeader.Id,\n State = autonomousDatabaseState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/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: compartmentId,\n\t\t\tAutonomousContainerDatabaseId: pulumi.StringRef(testAutonomousContainerDatabase.Id),\n\t\t\tDbVersion: pulumi.StringRef(autonomousDatabaseDbVersion),\n\t\t\tDbWorkload: pulumi.StringRef(autonomousDatabaseDbWorkload),\n\t\t\tDisplayName: pulumi.StringRef(autonomousDatabaseDisplayName),\n\t\t\tInfrastructureType: pulumi.StringRef(autonomousDatabaseInfrastructureType),\n\t\t\tIsDataGuardEnabled: pulumi.BoolRef(autonomousDatabaseIsDataGuardEnabled),\n\t\t\tIsFreeTier: pulumi.BoolRef(autonomousDatabaseIsFreeTier),\n\t\t\tIsRefreshableClone: pulumi.BoolRef(autonomousDatabaseIsRefreshableClone),\n\t\t\tIsResourcePoolLeader: pulumi.BoolRef(autonomousDatabaseIsResourcePoolLeader),\n\t\t\tResourcePoolLeaderId: pulumi.StringRef(testResourcePoolLeader.Id),\n\t\t\tState: pulumi.StringRef(autonomousDatabaseState),\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(compartmentId)\n .autonomousContainerDatabaseId(testAutonomousContainerDatabase.id())\n .dbVersion(autonomousDatabaseDbVersion)\n .dbWorkload(autonomousDatabaseDbWorkload)\n .displayName(autonomousDatabaseDisplayName)\n .infrastructureType(autonomousDatabaseInfrastructureType)\n .isDataGuardEnabled(autonomousDatabaseIsDataGuardEnabled)\n .isFreeTier(autonomousDatabaseIsFreeTier)\n .isRefreshableClone(autonomousDatabaseIsRefreshableClone)\n .isResourcePoolLeader(autonomousDatabaseIsResourcePoolLeader)\n .resourcePoolLeaderId(testResourcePoolLeader.id())\n .state(autonomousDatabaseState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testAutonomousDatabases:\n fn::invoke:\n Function: oci:Database:getAutonomousDatabases\n Arguments:\n compartmentId: ${compartmentId}\n autonomousContainerDatabaseId: ${testAutonomousContainerDatabase.id}\n dbVersion: ${autonomousDatabaseDbVersion}\n dbWorkload: ${autonomousDatabaseDbWorkload}\n displayName: ${autonomousDatabaseDisplayName}\n infrastructureType: ${autonomousDatabaseInfrastructureType}\n isDataGuardEnabled: ${autonomousDatabaseIsDataGuardEnabled}\n isFreeTier: ${autonomousDatabaseIsFreeTier}\n isRefreshableClone: ${autonomousDatabaseIsRefreshableClone}\n isResourcePoolLeader: ${autonomousDatabaseIsResourcePoolLeader}\n resourcePoolLeaderId: ${testResourcePoolLeader.id}\n state: ${autonomousDatabaseState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service.\n\nGets the details of the specified Autonomous Database.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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.GetAutonomousDatabaseArgs;\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 testAutonomousDatabase = DatabaseFunctions.getAutonomousDatabase(GetAutonomousDatabaseArgs.builder()\n .compartmentId(compartmentId)\n .autonomousContainerDatabaseId(testAutonomousContainerDatabase.id())\n .dbVersion(autonomousDatabaseDbVersion)\n .dbWorkload(autonomousDatabaseDbWorkload)\n .displayName(autonomousDatabaseDisplayName)\n .infrastructureType(autonomousDatabaseInfrastructureType)\n .isDataGuardEnabled(autonomousDatabaseIsDataGuardEnabled)\n .isFreeTier(autonomousDatabaseIsFreeTier)\n .isRefreshableClone(autonomousDatabaseIsRefreshableClone)\n .isResourcePoolLeader(autonomousDatabaseIsResourcePoolLeader)\n .resourcePoolLeaderId(testResourcePoolLeader.id())\n .state(autonomousDatabaseState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testAutonomousDatabase:\n fn::invoke:\n Function: oci:Database:getAutonomousDatabase\n Arguments:\n compartmentId: ${compartmentId}\n autonomousContainerDatabaseId: ${testAutonomousContainerDatabase.id}\n dbVersion: ${autonomousDatabaseDbVersion}\n dbWorkload: ${autonomousDatabaseDbWorkload}\n displayName: ${autonomousDatabaseDisplayName}\n infrastructureType: ${autonomousDatabaseInfrastructureType}\n isDataGuardEnabled: ${autonomousDatabaseIsDataGuardEnabled}\n isFreeTier: ${autonomousDatabaseIsFreeTier}\n isRefreshableClone: ${autonomousDatabaseIsRefreshableClone}\n isResourcePoolLeader: ${autonomousDatabaseIsResourcePoolLeader}\n resourcePoolLeaderId: ${testResourcePoolLeader.id}\n state: ${autonomousDatabaseState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getAutonomousDatabases.\n", "properties": { @@ -595967,19 +597632,19 @@ }, "compartmentId": { "type": "string", - "description": "The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" }, "dbVersion": { "type": "string", - "description": "A filter to return only autonomous database resources that match the specified dbVersion.\n" + "description": "A valid Oracle Database version for Autonomous Database.\n" }, "dbWorkload": { "type": "string", - "description": "A filter to return only autonomous database resources that match the specified workload type.\n" + "description": "The Autonomous Database workload type. The following values are valid:\n* OLTP - indicates an Autonomous Transaction Processing database\n* DW - indicates an Autonomous Data Warehouse database\n* AJD - indicates an Autonomous JSON Database\n* APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type.\n" }, "displayName": { "type": "string", - "description": "A filter to return only resources that match the entire display name given. The match is not case sensitive.\n" + "description": "The user-friendly name for the Autonomous Database. The name does not have to be unique.\n" }, "filters": { "type": "array", @@ -595990,31 +597655,30 @@ }, "infrastructureType": { "type": "string", - "description": "A filter to return only resources that match the given Infrastructure Type.\n" + "description": "The infrastructure type this resource belongs to.\n" }, "isDataGuardEnabled": { "type": "boolean", - "description": "A filter to return only resources that have Data Guard enabled.\n" + "description": "**Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure.\n" }, "isFreeTier": { "type": "boolean", - "description": "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.\n" + "description": "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.\n" }, "isRefreshableClone": { "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" + "description": "Indicates if the Autonomous Database is a refreshable clone.\n" }, "isResourcePoolLeader": { - "type": "boolean", - "description": "Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader.\n" + "type": "boolean" }, "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" + "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": "A filter to return only resources that match the given lifecycle state exactly.\n" + "description": "The current state of the Autonomous Database.\n" } }, "type": "object", @@ -596030,7 +597694,6 @@ "type": "string" }, "autonomousDatabases": { - "description": "The list of autonomous_databases.\n", "items": { "$ref": "#/types/oci:Database/getAutonomousDatabasesAutonomousDatabase:getAutonomousDatabasesAutonomousDatabase" }, @@ -599269,6 +600932,9 @@ "displayName": { "type": "string" }, + "domain": { + "type": "string" + }, "faultDomains": { "items": { "type": "string" @@ -599386,6 +601052,7 @@ "dbSystemFreeformTags", "deleteStandbyDbHomeOnDelete", "displayName", + "domain", "faultDomains", "hostname", "id", @@ -607194,6 +608861,10 @@ "description": "Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.\n", "type": "boolean" }, + "isDnsResolutionEnabled": { + "description": "Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.\n", + "type": "boolean" + }, "name": { "description": "The display name of the Database Management private endpoint.\n", "type": "string" @@ -607241,6 +608912,7 @@ "freeformTags", "id", "isCluster", + "isDnsResolutionEnabled", "name", "nsgIds", "privateIp", @@ -607369,7 +609041,7 @@ } }, "oci:DatabaseManagement/getDbManagementPrivateEndpoints:getDbManagementPrivateEndpoints": { - "description": "This data source provides the list of Db Management Private Endpoints in Oracle Cloud Infrastructure Database Management service.\n\nGets a list of Database Management private endpoints.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDbManagementPrivateEndpoints = oci.DatabaseManagement.getDbManagementPrivateEndpoints({\n compartmentId: compartmentId,\n isCluster: dbManagementPrivateEndpointIsCluster,\n name: dbManagementPrivateEndpointName,\n state: dbManagementPrivateEndpointState,\n vcnId: testVcn.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_db_management_private_endpoints = oci.DatabaseManagement.get_db_management_private_endpoints(compartment_id=compartment_id,\n is_cluster=db_management_private_endpoint_is_cluster,\n name=db_management_private_endpoint_name,\n state=db_management_private_endpoint_state,\n vcn_id=test_vcn[\"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 testDbManagementPrivateEndpoints = Oci.DatabaseManagement.GetDbManagementPrivateEndpoints.Invoke(new()\n {\n CompartmentId = compartmentId,\n IsCluster = dbManagementPrivateEndpointIsCluster,\n Name = dbManagementPrivateEndpointName,\n State = dbManagementPrivateEndpointState,\n VcnId = testVcn.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseManagement\"\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 := DatabaseManagement.GetDbManagementPrivateEndpoints(ctx, \u0026databasemanagement.GetDbManagementPrivateEndpointsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tIsCluster: pulumi.BoolRef(dbManagementPrivateEndpointIsCluster),\n\t\t\tName: pulumi.StringRef(dbManagementPrivateEndpointName),\n\t\t\tState: pulumi.StringRef(dbManagementPrivateEndpointState),\n\t\t\tVcnId: pulumi.StringRef(testVcn.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.DatabaseManagement.DatabaseManagementFunctions;\nimport com.pulumi.oci.DatabaseManagement.inputs.GetDbManagementPrivateEndpointsArgs;\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 testDbManagementPrivateEndpoints = DatabaseManagementFunctions.getDbManagementPrivateEndpoints(GetDbManagementPrivateEndpointsArgs.builder()\n .compartmentId(compartmentId)\n .isCluster(dbManagementPrivateEndpointIsCluster)\n .name(dbManagementPrivateEndpointName)\n .state(dbManagementPrivateEndpointState)\n .vcnId(testVcn.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDbManagementPrivateEndpoints:\n fn::invoke:\n Function: oci:DatabaseManagement:getDbManagementPrivateEndpoints\n Arguments:\n compartmentId: ${compartmentId}\n isCluster: ${dbManagementPrivateEndpointIsCluster}\n name: ${dbManagementPrivateEndpointName}\n state: ${dbManagementPrivateEndpointState}\n vcnId: ${testVcn.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "This data source provides the list of Db Management Private Endpoints in Oracle Cloud Infrastructure Database Management service.\n\nGets a list of Database Management private endpoints.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDbManagementPrivateEndpoints = oci.DatabaseManagement.getDbManagementPrivateEndpoints({\n compartmentId: compartmentId,\n isCluster: dbManagementPrivateEndpointIsCluster,\n isDnsResolutionEnabled: dbManagementPrivateEndpointIsDnsResolutionEnabled,\n name: dbManagementPrivateEndpointName,\n state: dbManagementPrivateEndpointState,\n vcnId: testVcn.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_db_management_private_endpoints = oci.DatabaseManagement.get_db_management_private_endpoints(compartment_id=compartment_id,\n is_cluster=db_management_private_endpoint_is_cluster,\n is_dns_resolution_enabled=db_management_private_endpoint_is_dns_resolution_enabled,\n name=db_management_private_endpoint_name,\n state=db_management_private_endpoint_state,\n vcn_id=test_vcn[\"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 testDbManagementPrivateEndpoints = Oci.DatabaseManagement.GetDbManagementPrivateEndpoints.Invoke(new()\n {\n CompartmentId = compartmentId,\n IsCluster = dbManagementPrivateEndpointIsCluster,\n IsDnsResolutionEnabled = dbManagementPrivateEndpointIsDnsResolutionEnabled,\n Name = dbManagementPrivateEndpointName,\n State = dbManagementPrivateEndpointState,\n VcnId = testVcn.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DatabaseManagement\"\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 := DatabaseManagement.GetDbManagementPrivateEndpoints(ctx, \u0026databasemanagement.GetDbManagementPrivateEndpointsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tIsCluster: pulumi.BoolRef(dbManagementPrivateEndpointIsCluster),\n\t\t\tIsDnsResolutionEnabled: pulumi.BoolRef(dbManagementPrivateEndpointIsDnsResolutionEnabled),\n\t\t\tName: pulumi.StringRef(dbManagementPrivateEndpointName),\n\t\t\tState: pulumi.StringRef(dbManagementPrivateEndpointState),\n\t\t\tVcnId: pulumi.StringRef(testVcn.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.DatabaseManagement.DatabaseManagementFunctions;\nimport com.pulumi.oci.DatabaseManagement.inputs.GetDbManagementPrivateEndpointsArgs;\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 testDbManagementPrivateEndpoints = DatabaseManagementFunctions.getDbManagementPrivateEndpoints(GetDbManagementPrivateEndpointsArgs.builder()\n .compartmentId(compartmentId)\n .isCluster(dbManagementPrivateEndpointIsCluster)\n .isDnsResolutionEnabled(dbManagementPrivateEndpointIsDnsResolutionEnabled)\n .name(dbManagementPrivateEndpointName)\n .state(dbManagementPrivateEndpointState)\n .vcnId(testVcn.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDbManagementPrivateEndpoints:\n fn::invoke:\n Function: oci:DatabaseManagement:getDbManagementPrivateEndpoints\n Arguments:\n compartmentId: ${compartmentId}\n isCluster: ${dbManagementPrivateEndpointIsCluster}\n isDnsResolutionEnabled: ${dbManagementPrivateEndpointIsDnsResolutionEnabled}\n name: ${dbManagementPrivateEndpointName}\n state: ${dbManagementPrivateEndpointState}\n vcnId: ${testVcn.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getDbManagementPrivateEndpoints.\n", "properties": { @@ -607388,6 +609060,10 @@ "type": "boolean", "description": "The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter.\n" }, + "isDnsResolutionEnabled": { + "type": "boolean", + "description": "The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time.\n" + }, "name": { "type": "string", "description": "A filter to return only resources that match the entire name.\n" @@ -607434,6 +609110,10 @@ "description": "Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster.\n", "type": "boolean" }, + "isDnsResolutionEnabled": { + "description": "Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name.\n", + "type": "boolean" + }, "name": { "description": "The display name of the Database Management private endpoint.\n", "type": "string" @@ -610880,6 +612560,10 @@ "inputs": { "description": "A collection of arguments for invoking getManagedDatabase.\n", "properties": { + "databasePlatformName": { + "type": "string", + "description": "The operating system of database.\n" + }, "managedDatabaseId": { "type": "string", "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.\n" @@ -610904,6 +612588,10 @@ "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides.\n", "type": "string" }, + "databasePlatformName": { + "description": "The operating system of database.\n", + "type": "string" + }, "databaseStatus": { "description": "The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.\n", "type": "string" @@ -610924,6 +612612,13 @@ "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of.\n", "type": "string" }, + "dbmgmtFeatureConfigs": { + "description": "The list of feature configurations\n", + "items": { + "$ref": "#/types/oci:DatabaseManagement/getManagedDatabaseDbmgmtFeatureConfig:getManagedDatabaseDbmgmtFeatureConfig" + }, + "type": "array" + }, "definedTags": { "additionalProperties": { "type": "string" @@ -610976,6 +612671,13 @@ "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system.\n", "type": "string" }, + "systemTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n", + "type": "object" + }, "timeCreated": { "description": "The date and time the Managed Database was created.\n", "type": "string" @@ -610993,6 +612695,7 @@ "databaseType", "databaseVersion", "dbSystemId", + "dbmgmtFeatureConfigs", "definedTags", "deploymentType", "freeformTags", @@ -611003,6 +612706,7 @@ "name", "parentContainerId", "storageSystemId", + "systemTags", "timeCreated", "workloadType", "id" @@ -617369,6 +619073,1287 @@ "type": "object" } }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequest:getDelegatedResourceAccessRequest": { + "description": "This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service.\n\nGets details of a Delegated Resource Access Request.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegatedResourceAccessRequest = oci.DelegateAccessControl.getDelegatedResourceAccessRequest({\n delegatedResourceAccessRequestId: testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegated_resource_access_request = oci.DelegateAccessControl.get_delegated_resource_access_request(delegated_resource_access_request_id=test_delegated_resource_access_request_oci_delegate_access_control_delegated_resource_access_request[\"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 testDelegatedResourceAccessRequest = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequest.Invoke(new()\n {\n DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetDelegatedResourceAccessRequest(ctx, \u0026delegateaccesscontrol.GetDelegatedResourceAccessRequestArgs{\n\t\t\tDelegatedResourceAccessRequestId: testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestArgs;\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 testDelegatedResourceAccessRequest = DelegateAccessControlFunctions.getDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestArgs.builder()\n .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDelegatedResourceAccessRequest:\n fn::invoke:\n Function: oci:DelegateAccessControl:getDelegatedResourceAccessRequest\n Arguments:\n delegatedResourceAccessRequestId: ${testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDelegatedResourceAccessRequest.\n", + "properties": { + "delegatedResourceAccessRequestId": { + "type": "string", + "description": "Unique Delegated Resource Access Request identifier\n" + } + }, + "type": "object", + "required": [ + "delegatedResourceAccessRequestId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDelegatedResourceAccessRequest.\n", + "properties": { + "approvalInfos": { + "description": "In case of single approval, this will have only one item. Else, a list of approvals.\n", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegatedResourceAccessRequestApprovalInfo:getDelegatedResourceAccessRequestApprovalInfo" + }, + "type": "array" + }, + "auditTypes": { + "description": "Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "closureComment": { + "description": "The comment entered by the support operator while closing the request.\n", + "type": "string" + }, + "compartmentId": { + "description": "The OCID of the compartment that contains the Delegated Resource Access Request.\n", + "type": "string" + }, + "databaseNameLists": { + "description": "List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "definedTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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", + "type": "object" + }, + "delegatedResourceAccessRequestId": { + "type": "string" + }, + "delegationControlId": { + "description": "The OCID of the Delegation Control governing the target resource.\n", + "type": "string" + }, + "delegationSubscriptionIds": { + "description": "List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "description": "Detailed description of this Delegated Resource Access Request.\n", + "type": "string" + }, + "displayName": { + "description": "Display name. This is generated by the system automatically.\n", + "type": "string" + }, + "durationInHours": { + "description": "Duration in hours for which access is sought on the target resource.\n", + "type": "integer" + }, + "extendDurationInHours": { + "description": "Duration in hours for which extension access is sought on the target resource.\n", + "type": "integer" + }, + "freeformTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n", + "type": "object" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "isAutoApproved": { + "description": "Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control.\n", + "type": "boolean" + }, + "isPendingMoreInfo": { + "description": "Indicates if the delegated resource access request is waiting on more information from the operator\n", + "type": "boolean" + }, + "lifecycleStateDetails": { + "description": "Description of the current lifecycle state in more detail.\n", + "type": "string" + }, + "numExtensionApprovals": { + "description": "Number of extension approvals that have been obtained so far.\n", + "type": "integer" + }, + "numInitialApprovals": { + "description": "Number of initial approvals that have been obtained so far.\n", + "type": "integer" + }, + "providedServiceTypes": { + "description": "List of Service Provider Service Types being provided by the support operator user.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "reasonForRequest": { + "description": "A short description explaining why this Delegated Resource Access Request is needed by the support operator.\n", + "type": "string" + }, + "requestStatus": { + "description": "The current status of the Delegated Resource Access Request.\n", + "type": "string" + }, + "requestedActionNames": { + "description": "List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "requesterType": { + "description": "Requester type\n", + "type": "string" + }, + "resourceId": { + "description": "The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource.\n", + "type": "string" + }, + "resourceName": { + "description": "The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource.\n", + "type": "string" + }, + "resourceType": { + "description": "Resource type for which the associated Delegation Control is applicable to.\n", + "type": "string" + }, + "severity": { + "description": "Priority assigned to the Delegated Resource Access Request by the support operator\n", + "type": "string" + }, + "state": { + "description": "The current lifecycle state of the Delegated Resource Access Request.\n", + "type": "string" + }, + "systemTags": { + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n", + "type": "object" + }, + "ticketNumbers": { + "description": "A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "timeAccessRequested": { + "description": "Requested access start time in UTC.\n", + "type": "string" + }, + "timeCreated": { + "description": "Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'.\n", + "type": "string" + }, + "timeUpdated": { + "description": "Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'.\n", + "type": "string" + } + }, + "required": [ + "approvalInfos", + "auditTypes", + "closureComment", + "compartmentId", + "databaseNameLists", + "definedTags", + "delegatedResourceAccessRequestId", + "delegationControlId", + "delegationSubscriptionIds", + "description", + "displayName", + "durationInHours", + "extendDurationInHours", + "freeformTags", + "isAutoApproved", + "isPendingMoreInfo", + "lifecycleStateDetails", + "numExtensionApprovals", + "numInitialApprovals", + "providedServiceTypes", + "reasonForRequest", + "requestStatus", + "requestedActionNames", + "requesterType", + "resourceId", + "resourceName", + "resourceType", + "severity", + "state", + "systemTags", + "ticketNumbers", + "timeAccessRequested", + "timeCreated", + "timeUpdated", + "id" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequestAuditLogReport:getDelegatedResourceAccessRequestAuditLogReport": { + "description": "This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service.\n\nGets the audit log report for the given Delegated Resource Access Request.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegatedResourceAccessRequestAuditLogReport = oci.DelegateAccessControl.getDelegatedResourceAccessRequestAuditLogReport({\n delegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.id,\n isProcessTreeEnabled: delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegated_resource_access_request_audit_log_report = oci.DelegateAccessControl.get_delegated_resource_access_request_audit_log_report(delegated_resource_access_request_id=test_delegated_resource_access_request[\"id\"],\n is_process_tree_enabled=delegated_resource_access_request_audit_log_report_is_process_tree_enabled)\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 testDelegatedResourceAccessRequestAuditLogReport = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequestAuditLogReport.Invoke(new()\n {\n DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequest.Id,\n IsProcessTreeEnabled = delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetDelegatedResourceAccessRequestAuditLogReport(ctx, \u0026delegateaccesscontrol.GetDelegatedResourceAccessRequestAuditLogReportArgs{\n\t\t\tDelegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.Id,\n\t\t\tIsProcessTreeEnabled: pulumi.BoolRef(delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled),\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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestAuditLogReportArgs;\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 testDelegatedResourceAccessRequestAuditLogReport = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportArgs.builder()\n .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())\n .isProcessTreeEnabled(delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDelegatedResourceAccessRequestAuditLogReport:\n fn::invoke:\n Function: oci:DelegateAccessControl:getDelegatedResourceAccessRequestAuditLogReport\n Arguments:\n delegatedResourceAccessRequestId: ${testDelegatedResourceAccessRequest.id}\n isProcessTreeEnabled: ${delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDelegatedResourceAccessRequestAuditLogReport.\n", + "properties": { + "delegatedResourceAccessRequestId": { + "type": "string", + "description": "Unique Delegated Resource Access Request identifier\n" + }, + "isProcessTreeEnabled": { + "type": "boolean", + "description": "Set to true to enable process tree computation in audit report\n" + } + }, + "type": "object", + "required": [ + "delegatedResourceAccessRequestId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDelegatedResourceAccessRequestAuditLogReport.\n", + "properties": { + "auditReportStatus": { + "description": "Status of the audit report\n", + "type": "string" + }, + "delegatedResourceAccessRequestId": { + "type": "string" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "isProcessTreeEnabled": { + "type": "boolean" + }, + "processTree": { + "description": "The process tree data\n", + "type": "string" + }, + "report": { + "description": "Audit log report.\n", + "type": "string" + }, + "timeReportGenerated": { + "description": "Time when the audit report was generated [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n", + "type": "string" + } + }, + "required": [ + "auditReportStatus", + "delegatedResourceAccessRequestId", + "processTree", + "report", + "timeReportGenerated", + "id" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistories:getDelegatedResourceAccessRequestHistories": { + "description": "This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service.\n\nReturns a history of all status associated with the Delegated Resource Access RequestId.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegatedResourceAccessRequestHistories = oci.DelegateAccessControl.getDelegatedResourceAccessRequestHistories({\n delegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegated_resource_access_request_histories = oci.DelegateAccessControl.get_delegated_resource_access_request_histories(delegated_resource_access_request_id=test_delegated_resource_access_request[\"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 testDelegatedResourceAccessRequestHistories = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequestHistories.Invoke(new()\n {\n DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequest.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetDelegatedResourceAccessRequestHistories(ctx, \u0026delegateaccesscontrol.GetDelegatedResourceAccessRequestHistoriesArgs{\n\t\t\tDelegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestHistoriesArgs;\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 testDelegatedResourceAccessRequestHistories = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestHistories(GetDelegatedResourceAccessRequestHistoriesArgs.builder()\n .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDelegatedResourceAccessRequestHistories:\n fn::invoke:\n Function: oci:DelegateAccessControl:getDelegatedResourceAccessRequestHistories\n Arguments:\n delegatedResourceAccessRequestId: ${testDelegatedResourceAccessRequest.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDelegatedResourceAccessRequestHistories.\n", + "properties": { + "delegatedResourceAccessRequestId": { + "type": "string", + "description": "Unique Delegated Resource Access Request identifier\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistoriesFilter:getDelegatedResourceAccessRequestHistoriesFilter" + }, + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "delegatedResourceAccessRequestId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDelegatedResourceAccessRequestHistories.\n", + "properties": { + "delegatedResourceAccessRequestHistoryCollections": { + "description": "The list of delegated_resource_access_request_history_collection.\n", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection:getDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection" + }, + "type": "array" + }, + "delegatedResourceAccessRequestId": { + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistoriesFilter:getDelegatedResourceAccessRequestHistoriesFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + } + }, + "required": [ + "delegatedResourceAccessRequestHistoryCollections", + "delegatedResourceAccessRequestId", + "id" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getDelegatedResourceAccessRequests:getDelegatedResourceAccessRequests": { + "description": "This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service.\n\nLists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegatedResourceAccessRequests = oci.DelegateAccessControl.getDelegatedResourceAccessRequests({\n compartmentId: compartmentId,\n delegationControlId: testDelegationControl.id,\n requestStatus: delegatedResourceAccessRequestRequestStatus,\n resourceId: testResource.id,\n state: delegatedResourceAccessRequestState,\n timeEnd: delegatedResourceAccessRequestTimeEnd,\n timeStart: delegatedResourceAccessRequestTimeStart,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegated_resource_access_requests = oci.DelegateAccessControl.get_delegated_resource_access_requests(compartment_id=compartment_id,\n delegation_control_id=test_delegation_control[\"id\"],\n request_status=delegated_resource_access_request_request_status,\n resource_id=test_resource[\"id\"],\n state=delegated_resource_access_request_state,\n time_end=delegated_resource_access_request_time_end,\n time_start=delegated_resource_access_request_time_start)\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 testDelegatedResourceAccessRequests = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequests.Invoke(new()\n {\n CompartmentId = compartmentId,\n DelegationControlId = testDelegationControl.Id,\n RequestStatus = delegatedResourceAccessRequestRequestStatus,\n ResourceId = testResource.Id,\n State = delegatedResourceAccessRequestState,\n TimeEnd = delegatedResourceAccessRequestTimeEnd,\n TimeStart = delegatedResourceAccessRequestTimeStart,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetDelegatedResourceAccessRequests(ctx, \u0026delegateaccesscontrol.GetDelegatedResourceAccessRequestsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDelegationControlId: pulumi.StringRef(testDelegationControl.Id),\n\t\t\tRequestStatus: pulumi.StringRef(delegatedResourceAccessRequestRequestStatus),\n\t\t\tResourceId: pulumi.StringRef(testResource.Id),\n\t\t\tState: pulumi.StringRef(delegatedResourceAccessRequestState),\n\t\t\tTimeEnd: pulumi.StringRef(delegatedResourceAccessRequestTimeEnd),\n\t\t\tTimeStart: pulumi.StringRef(delegatedResourceAccessRequestTimeStart),\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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestsArgs;\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 testDelegatedResourceAccessRequests = DelegateAccessControlFunctions.getDelegatedResourceAccessRequests(GetDelegatedResourceAccessRequestsArgs.builder()\n .compartmentId(compartmentId)\n .delegationControlId(testDelegationControl.id())\n .requestStatus(delegatedResourceAccessRequestRequestStatus)\n .resourceId(testResource.id())\n .state(delegatedResourceAccessRequestState)\n .timeEnd(delegatedResourceAccessRequestTimeEnd)\n .timeStart(delegatedResourceAccessRequestTimeStart)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDelegatedResourceAccessRequests:\n fn::invoke:\n Function: oci:DelegateAccessControl:getDelegatedResourceAccessRequests\n Arguments:\n compartmentId: ${compartmentId}\n delegationControlId: ${testDelegationControl.id}\n requestStatus: ${delegatedResourceAccessRequestRequestStatus}\n resourceId: ${testResource.id}\n state: ${delegatedResourceAccessRequestState}\n timeEnd: ${delegatedResourceAccessRequestTimeEnd}\n timeStart: ${delegatedResourceAccessRequestTimeStart}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDelegatedResourceAccessRequests.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "delegationControlId": { + "type": "string", + "description": "unique Delegation Control identifier\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegatedResourceAccessRequestsFilter:getDelegatedResourceAccessRequestsFilter" + }, + "willReplaceOnChanges": true + }, + "requestStatus": { + "type": "string", + "description": "A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status.\n" + }, + "resourceId": { + "type": "string", + "description": "A filter to return only Delegated Resource Access Requests for the given resource identifier.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState.\n" + }, + "timeEnd": { + "type": "string", + "description": "Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together.\n" + }, + "timeStart": { + "type": "string", + "description": "Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDelegatedResourceAccessRequests.\n", + "properties": { + "compartmentId": { + "description": "The OCID of the compartment that contains the Delegated Resource Access Request.\n", + "type": "string" + }, + "delegatedResourceAccessRequestSummaryCollections": { + "description": "The list of delegated_resource_access_request_summary_collection.\n", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection:getDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection" + }, + "type": "array" + }, + "delegationControlId": { + "description": "The OCID of the Delegation Control governing the target resource.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegatedResourceAccessRequestsFilter:getDelegatedResourceAccessRequestsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "requestStatus": { + "description": "The current status of the Delegated Resource Access Request.\n", + "type": "string" + }, + "resourceId": { + "description": "The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource.\n", + "type": "string" + }, + "state": { + "description": "The current lifecycle state of the Delegated Resource Access Request.\n", + "type": "string" + }, + "timeEnd": { + "type": "string" + }, + "timeStart": { + "type": "string" + } + }, + "required": [ + "compartmentId", + "delegatedResourceAccessRequestSummaryCollections", + "id" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getDelegationControl:getDelegationControl": { + "description": "This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service.\n\nGets the Delegation Control associated with the specified Delegation Control ID.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegationControl = oci.DelegateAccessControl.getDelegationControl({\n delegationControlId: testDelegationControlOciDelegateAccessControlDelegationControl.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegation_control = oci.DelegateAccessControl.get_delegation_control(delegation_control_id=test_delegation_control_oci_delegate_access_control_delegation_control[\"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 testDelegationControl = Oci.DelegateAccessControl.GetDelegationControl.Invoke(new()\n {\n DelegationControlId = testDelegationControlOciDelegateAccessControlDelegationControl.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetDelegationControl(ctx, \u0026delegateaccesscontrol.GetDelegationControlArgs{\n\t\t\tDelegationControlId: testDelegationControlOciDelegateAccessControlDelegationControl.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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlArgs;\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 testDelegationControl = DelegateAccessControlFunctions.getDelegationControl(GetDelegationControlArgs.builder()\n .delegationControlId(testDelegationControlOciDelegateAccessControlDelegationControl.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDelegationControl:\n fn::invoke:\n Function: oci:DelegateAccessControl:getDelegationControl\n Arguments:\n delegationControlId: ${testDelegationControlOciDelegateAccessControlDelegationControl.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDelegationControl.\n", + "properties": { + "delegationControlId": { + "type": "string", + "description": "unique Delegation Control identifier\n" + } + }, + "type": "object", + "required": [ + "delegationControlId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDelegationControl.\n", + "properties": { + "compartmentId": { + "description": "The OCID of the compartment that contains the Delegation Control.\n", + "type": "string" + }, + "definedTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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", + "type": "object" + }, + "delegationControlId": { + "type": "string" + }, + "delegationSubscriptionIds": { + "description": "List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "description": { + "description": "Description of the Delegation Control.\n", + "type": "string" + }, + "displayName": { + "description": "Name of the Delegation Control. The name does not need to be unique.\n", + "type": "string" + }, + "freeformTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n", + "type": "object" + }, + "id": { + "description": "The OCID of the Delegation Control.\n", + "type": "string" + }, + "isAutoApproveDuringMaintenance": { + "description": "Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance.\n", + "type": "boolean" + }, + "lifecycleStateDetails": { + "description": "Description of the current lifecycle state in more detail.\n", + "type": "string" + }, + "notificationMessageFormat": { + "description": "The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control.\n", + "type": "string" + }, + "notificationTopicId": { + "description": "The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control.\n", + "type": "string" + }, + "numApprovalsRequired": { + "description": "number of approvals required.\n", + "type": "integer" + }, + "preApprovedServiceProviderActionNames": { + "description": "List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "resourceIds": { + "description": "The OCID of the selected resources that this Delegation Control is applicable to.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "resourceType": { + "description": "Resource type for which the Delegation Control is applicable to.\n", + "type": "string" + }, + "state": { + "description": "The current lifecycle state of the Delegation Control.\n", + "type": "string" + }, + "systemTags": { + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n", + "type": "object" + }, + "timeCreated": { + "description": "Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n", + "type": "string" + }, + "timeDeleted": { + "description": "Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control.\n", + "type": "string" + }, + "timeUpdated": { + "description": "Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n", + "type": "string" + }, + "vaultId": { + "description": "The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault.\n", + "type": "string" + }, + "vaultKeyId": { + "description": "The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "definedTags", + "delegationControlId", + "delegationSubscriptionIds", + "description", + "displayName", + "freeformTags", + "id", + "isAutoApproveDuringMaintenance", + "lifecycleStateDetails", + "notificationMessageFormat", + "notificationTopicId", + "numApprovalsRequired", + "preApprovedServiceProviderActionNames", + "resourceIds", + "resourceType", + "state", + "systemTags", + "timeCreated", + "timeDeleted", + "timeUpdated", + "vaultId", + "vaultKeyId" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getDelegationControlResources:getDelegationControlResources": { + "description": "This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service.\n\nReturns a list of resources associated with the Delegation Control.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegationControlResources = oci.DelegateAccessControl.getDelegationControlResources({\n delegationControlId: testDelegationControl.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegation_control_resources = oci.DelegateAccessControl.get_delegation_control_resources(delegation_control_id=test_delegation_control[\"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 testDelegationControlResources = Oci.DelegateAccessControl.GetDelegationControlResources.Invoke(new()\n {\n DelegationControlId = testDelegationControl.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetDelegationControlResources(ctx, \u0026delegateaccesscontrol.GetDelegationControlResourcesArgs{\n\t\t\tDelegationControlId: testDelegationControl.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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlResourcesArgs;\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 testDelegationControlResources = DelegateAccessControlFunctions.getDelegationControlResources(GetDelegationControlResourcesArgs.builder()\n .delegationControlId(testDelegationControl.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDelegationControlResources:\n fn::invoke:\n Function: oci:DelegateAccessControl:getDelegationControlResources\n Arguments:\n delegationControlId: ${testDelegationControl.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDelegationControlResources.\n", + "properties": { + "delegationControlId": { + "type": "string", + "description": "unique Delegation Control identifier\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationControlResourcesFilter:getDelegationControlResourcesFilter" + }, + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "delegationControlId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDelegationControlResources.\n", + "properties": { + "delegationControlId": { + "type": "string" + }, + "delegationControlResourceCollections": { + "description": "The list of delegation_control_resource_collection.\n", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationControlResourcesDelegationControlResourceCollection:getDelegationControlResourcesDelegationControlResourceCollection" + }, + "type": "array" + }, + "filters": { + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationControlResourcesFilter:getDelegationControlResourcesFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + } + }, + "required": [ + "delegationControlId", + "delegationControlResourceCollections", + "id" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getDelegationControls:getDelegationControls": { + "description": "This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service.\n\nLists the Delegation Controls in the compartment.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegationControls = oci.DelegateAccessControl.getDelegationControls({\n compartmentId: compartmentId,\n displayName: delegationControlDisplayName,\n resourceId: testResource.id,\n resourceType: delegationControlResourceType,\n state: delegationControlState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegation_controls = oci.DelegateAccessControl.get_delegation_controls(compartment_id=compartment_id,\n display_name=delegation_control_display_name,\n resource_id=test_resource[\"id\"],\n resource_type=delegation_control_resource_type,\n state=delegation_control_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 testDelegationControls = Oci.DelegateAccessControl.GetDelegationControls.Invoke(new()\n {\n CompartmentId = compartmentId,\n DisplayName = delegationControlDisplayName,\n ResourceId = testResource.Id,\n ResourceType = delegationControlResourceType,\n State = delegationControlState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetDelegationControls(ctx, \u0026delegateaccesscontrol.GetDelegationControlsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDisplayName: pulumi.StringRef(delegationControlDisplayName),\n\t\t\tResourceId: pulumi.StringRef(testResource.Id),\n\t\t\tResourceType: pulumi.StringRef(delegationControlResourceType),\n\t\t\tState: pulumi.StringRef(delegationControlState),\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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlsArgs;\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 testDelegationControls = DelegateAccessControlFunctions.getDelegationControls(GetDelegationControlsArgs.builder()\n .compartmentId(compartmentId)\n .displayName(delegationControlDisplayName)\n .resourceId(testResource.id())\n .resourceType(delegationControlResourceType)\n .state(delegationControlState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDelegationControls:\n fn::invoke:\n Function: oci:DelegateAccessControl:getDelegationControls\n Arguments:\n compartmentId: ${compartmentId}\n displayName: ${delegationControlDisplayName}\n resourceId: ${testResource.id}\n resourceType: ${delegationControlResourceType}\n state: ${delegationControlState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDelegationControls.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return Delegation Control resources that match the given display name.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationControlsFilter:getDelegationControlsFilter" + }, + "willReplaceOnChanges": true + }, + "resourceId": { + "type": "string", + "description": "A filter to return Delegation Control resources that match the given resource ID.\n" + }, + "resourceType": { + "type": "string", + "description": "A filter to return only resources that match the given resource type.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDelegationControls.\n", + "properties": { + "compartmentId": { + "description": "The OCID of the compartment that contains the Delegation Control.\n", + "type": "string" + }, + "delegationControlSummaryCollections": { + "description": "The list of delegation_control_summary_collection.\n", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationControlsDelegationControlSummaryCollection:getDelegationControlsDelegationControlSummaryCollection" + }, + "type": "array" + }, + "displayName": { + "description": "Name of the Delegation Control. The name does not need to be unique.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationControlsFilter:getDelegationControlsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "resourceId": { + "type": "string" + }, + "resourceType": { + "description": "Resource type for which the Delegation Control is applicable to.\n", + "type": "string" + }, + "state": { + "description": "The current lifecycle state of the Delegation Control.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "delegationControlSummaryCollections", + "id" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getDelegationSubscription:getDelegationSubscription": { + "description": "This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service.\n\nGets a DelegationSubscription by identifier\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegationSubscription = oci.DelegateAccessControl.getDelegationSubscription({\n delegationSubscriptionId: testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegation_subscription = oci.DelegateAccessControl.get_delegation_subscription(delegation_subscription_id=test_delegation_subscription_oci_delegate_access_control_delegation_subscription[\"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 testDelegationSubscription = Oci.DelegateAccessControl.GetDelegationSubscription.Invoke(new()\n {\n DelegationSubscriptionId = testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetDelegationSubscription(ctx, \u0026delegateaccesscontrol.GetDelegationSubscriptionArgs{\n\t\t\tDelegationSubscriptionId: testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionArgs;\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 testDelegationSubscription = DelegateAccessControlFunctions.getDelegationSubscription(GetDelegationSubscriptionArgs.builder()\n .delegationSubscriptionId(testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDelegationSubscription:\n fn::invoke:\n Function: oci:DelegateAccessControl:getDelegationSubscription\n Arguments:\n delegationSubscriptionId: ${testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDelegationSubscription.\n", + "properties": { + "delegationSubscriptionId": { + "type": "string", + "description": "unique Delegation Subscription identifier\n" + } + }, + "type": "object", + "required": [ + "delegationSubscriptionId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDelegationSubscription.\n", + "properties": { + "compartmentId": { + "description": "The OCID of the compartment that contains the Delegation Subscription.\n", + "type": "string" + }, + "definedTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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", + "type": "object" + }, + "delegationSubscriptionId": { + "type": "string" + }, + "description": { + "description": "Description of the Delegation Subscription.\n", + "type": "string" + }, + "displayName": { + "description": "Display name\n", + "type": "string" + }, + "freeformTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n", + "type": "object" + }, + "id": { + "description": "Unique identifier for the Delegation Subscription.\n", + "type": "string" + }, + "lifecycleStateDetails": { + "description": "Description of the current lifecycle state in more detail.\n", + "type": "string" + }, + "serviceProviderId": { + "description": "Unique identifier of the Service Provider.\n", + "type": "string" + }, + "state": { + "description": "The current lifecycle state of the Service Provider.\n", + "type": "string" + }, + "subscribedServiceType": { + "description": "Subscribed Service Provider Service Type.\n", + "type": "string" + }, + "systemTags": { + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n", + "type": "object" + }, + "timeCreated": { + "description": "Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n", + "type": "string" + }, + "timeUpdated": { + "description": "Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "definedTags", + "delegationSubscriptionId", + "description", + "displayName", + "freeformTags", + "id", + "lifecycleStateDetails", + "serviceProviderId", + "state", + "subscribedServiceType", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getDelegationSubscriptions:getDelegationSubscriptions": { + "description": "This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service.\n\nLists the Delegation Subscriptions in Delegation Control.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDelegationSubscriptions = oci.DelegateAccessControl.getDelegationSubscriptions({\n compartmentId: compartmentId,\n displayName: delegationSubscriptionDisplayName,\n state: delegationSubscriptionState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_delegation_subscriptions = oci.DelegateAccessControl.get_delegation_subscriptions(compartment_id=compartment_id,\n display_name=delegation_subscription_display_name,\n state=delegation_subscription_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 testDelegationSubscriptions = Oci.DelegateAccessControl.GetDelegationSubscriptions.Invoke(new()\n {\n CompartmentId = compartmentId,\n DisplayName = delegationSubscriptionDisplayName,\n State = delegationSubscriptionState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetDelegationSubscriptions(ctx, \u0026delegateaccesscontrol.GetDelegationSubscriptionsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDisplayName: pulumi.StringRef(delegationSubscriptionDisplayName),\n\t\t\tState: pulumi.StringRef(delegationSubscriptionState),\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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionsArgs;\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 testDelegationSubscriptions = DelegateAccessControlFunctions.getDelegationSubscriptions(GetDelegationSubscriptionsArgs.builder()\n .compartmentId(compartmentId)\n .displayName(delegationSubscriptionDisplayName)\n .state(delegationSubscriptionState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDelegationSubscriptions:\n fn::invoke:\n Function: oci:DelegateAccessControl:getDelegationSubscriptions\n Arguments:\n compartmentId: ${compartmentId}\n displayName: ${delegationSubscriptionDisplayName}\n state: ${delegationSubscriptionState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDelegationSubscriptions.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return Delegation Subscription resources that match the given display name.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationSubscriptionsFilter:getDelegationSubscriptionsFilter" + }, + "willReplaceOnChanges": true + }, + "state": { + "type": "string", + "description": "A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDelegationSubscriptions.\n", + "properties": { + "compartmentId": { + "description": "The OCID of the compartment that contains the Delegation Subscription.\n", + "type": "string" + }, + "delegationSubscriptionSummaryCollections": { + "description": "The list of delegation_subscription_summary_collection.\n", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationSubscriptionsDelegationSubscriptionSummaryCollection:getDelegationSubscriptionsDelegationSubscriptionSummaryCollection" + }, + "type": "array" + }, + "displayName": { + "description": "Display name\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getDelegationSubscriptionsFilter:getDelegationSubscriptionsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "state": { + "description": "The current lifecycle state of the Service Provider.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "delegationSubscriptionSummaryCollections", + "id" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getServiceProvider:getServiceProvider": { + "description": "This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service.\n\nGets a ServiceProvider by identifier\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testServiceProvider = oci.DelegateAccessControl.getServiceProvider({\n serviceProviderId: testServiceProviderOciDelegateAccessControlServiceProvider.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_service_provider = oci.DelegateAccessControl.get_service_provider(service_provider_id=test_service_provider_oci_delegate_access_control_service_provider[\"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 testServiceProvider = Oci.DelegateAccessControl.GetServiceProvider.Invoke(new()\n {\n ServiceProviderId = testServiceProviderOciDelegateAccessControlServiceProvider.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetServiceProvider(ctx, \u0026delegateaccesscontrol.GetServiceProviderArgs{\n\t\t\tServiceProviderId: testServiceProviderOciDelegateAccessControlServiceProvider.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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderArgs;\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 testServiceProvider = DelegateAccessControlFunctions.getServiceProvider(GetServiceProviderArgs.builder()\n .serviceProviderId(testServiceProviderOciDelegateAccessControlServiceProvider.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testServiceProvider:\n fn::invoke:\n Function: oci:DelegateAccessControl:getServiceProvider\n Arguments:\n serviceProviderId: ${testServiceProviderOciDelegateAccessControlServiceProvider.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getServiceProvider.\n", + "properties": { + "serviceProviderId": { + "type": "string", + "description": "unique Service Provider identifier\n" + } + }, + "type": "object", + "required": [ + "serviceProviderId" + ] + }, + "outputs": { + "description": "A collection of values returned by getServiceProvider.\n", + "properties": { + "compartmentId": { + "description": "The OCID of the compartment that contains the Delegation Control.\n", + "type": "string" + }, + "definedTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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", + "type": "object" + }, + "description": { + "description": "Description of the Service Provider.\n", + "type": "string" + }, + "freeformTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n", + "type": "object" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "lifecycleStateDetails": { + "description": "Description of the current lifecycle state in more detail.\n", + "type": "string" + }, + "name": { + "description": "Unique name of the Service Provider.\n", + "type": "string" + }, + "serviceProviderId": { + "type": "string" + }, + "serviceProviderType": { + "description": "Service Provider type.\n", + "type": "string" + }, + "serviceTypes": { + "description": "Types of services offered by this provider.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "description": "The current lifecycle state of the Service Provider.\n", + "type": "string" + }, + "supportedResourceTypes": { + "description": "Resource types for which this provider will provide service. Default to all if not specified.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "systemTags": { + "additionalProperties": { + "type": "string" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n", + "type": "object" + }, + "timeCreated": { + "description": "Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n", + "type": "string" + }, + "timeUpdated": { + "description": "Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z'\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "definedTags", + "description", + "freeformTags", + "lifecycleStateDetails", + "name", + "serviceProviderId", + "serviceProviderType", + "serviceTypes", + "state", + "supportedResourceTypes", + "systemTags", + "timeCreated", + "timeUpdated", + "id" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction": { + "description": "This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service.\n\nGets the Service Provider Action associated with the specified Service Provider Action ID.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testServiceProviderAction = oci.DelegateAccessControl.getServiceProviderAction({\n serviceProviderActionId: testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_service_provider_action = oci.DelegateAccessControl.get_service_provider_action(service_provider_action_id=test_service_provider_action_oci_delegate_access_control_service_provider_action[\"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 testServiceProviderAction = Oci.DelegateAccessControl.GetServiceProviderAction.Invoke(new()\n {\n ServiceProviderActionId = testServiceProviderActionOciDelegateAccessControlServiceProviderAction.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetServiceProviderAction(ctx, \u0026delegateaccesscontrol.GetServiceProviderActionArgs{\n\t\t\tServiceProviderActionId: testServiceProviderActionOciDelegateAccessControlServiceProviderAction.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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionArgs;\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 testServiceProviderAction = DelegateAccessControlFunctions.getServiceProviderAction(GetServiceProviderActionArgs.builder()\n .serviceProviderActionId(testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testServiceProviderAction:\n fn::invoke:\n Function: oci:DelegateAccessControl:getServiceProviderAction\n Arguments:\n serviceProviderActionId: ${testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getServiceProviderAction.\n", + "properties": { + "serviceProviderActionId": { + "type": "string", + "description": "Unique Oracle supplied identifier associated with the Service Provider Action.\n" + } + }, + "type": "object", + "required": [ + "serviceProviderActionId" + ] + }, + "outputs": { + "description": "A collection of values returned by getServiceProviderAction.\n", + "properties": { + "component": { + "description": "Name of the infrastructure layer associated with the Service Provider Action.\n", + "type": "string" + }, + "customerDisplayName": { + "description": "Display Name of the Service Provider Action.\n", + "type": "string" + }, + "description": { + "description": "Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action.\n", + "type": "string" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "name": { + "description": "Name of the property\n", + "type": "string" + }, + "properties": { + "description": "Fine grained properties associated with the Delegation Control.\n", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getServiceProviderActionProperty:getServiceProviderActionProperty" + }, + "type": "array" + }, + "resourceType": { + "description": "resourceType for which the ServiceProviderAction is applicable\n", + "type": "string" + }, + "serviceProviderActionId": { + "type": "string" + }, + "serviceProviderServiceTypes": { + "description": "List of Service Provider Service Types that this Service Provider Action is applicable to.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "description": "The current lifecycle state of the Service Provider Action.\n", + "type": "string" + } + }, + "required": [ + "component", + "customerDisplayName", + "description", + "name", + "properties", + "resourceType", + "serviceProviderActionId", + "serviceProviderServiceTypes", + "state", + "id" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getServiceProviderActions:getServiceProviderActions": { + "description": "This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service.\n\nLists all the ServiceProviderActions available in the system.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testServiceProviderActions = oci.DelegateAccessControl.getServiceProviderActions({\n compartmentId: compartmentId,\n name: serviceProviderActionName,\n resourceType: serviceProviderActionResourceType,\n serviceProviderServiceTypes: serviceProviderActionServiceProviderServiceType,\n state: serviceProviderActionState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_service_provider_actions = oci.DelegateAccessControl.get_service_provider_actions(compartment_id=compartment_id,\n name=service_provider_action_name,\n resource_type=service_provider_action_resource_type,\n service_provider_service_types=service_provider_action_service_provider_service_type,\n state=service_provider_action_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 testServiceProviderActions = Oci.DelegateAccessControl.GetServiceProviderActions.Invoke(new()\n {\n CompartmentId = compartmentId,\n Name = serviceProviderActionName,\n ResourceType = serviceProviderActionResourceType,\n ServiceProviderServiceTypes = serviceProviderActionServiceProviderServiceType,\n State = serviceProviderActionState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetServiceProviderActions(ctx, \u0026delegateaccesscontrol.GetServiceProviderActionsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tName: pulumi.StringRef(serviceProviderActionName),\n\t\t\tResourceType: pulumi.StringRef(serviceProviderActionResourceType),\n\t\t\tServiceProviderServiceTypes: serviceProviderActionServiceProviderServiceType,\n\t\t\tState: pulumi.StringRef(serviceProviderActionState),\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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionsArgs;\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 testServiceProviderActions = DelegateAccessControlFunctions.getServiceProviderActions(GetServiceProviderActionsArgs.builder()\n .compartmentId(compartmentId)\n .name(serviceProviderActionName)\n .resourceType(serviceProviderActionResourceType)\n .serviceProviderServiceTypes(serviceProviderActionServiceProviderServiceType)\n .state(serviceProviderActionState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testServiceProviderActions:\n fn::invoke:\n Function: oci:DelegateAccessControl:getServiceProviderActions\n Arguments:\n compartmentId: ${compartmentId}\n name: ${serviceProviderActionName}\n resourceType: ${serviceProviderActionResourceType}\n serviceProviderServiceTypes: ${serviceProviderActionServiceProviderServiceType}\n state: ${serviceProviderActionState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getServiceProviderActions.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getServiceProviderActionsFilter:getServiceProviderActionsFilter" + }, + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "A filter to return only resources that match the entire name given.\n" + }, + "resourceType": { + "type": "string", + "description": "A filter to return only resources that match the given resource type.\n" + }, + "serviceProviderServiceTypes": { + "type": "array", + "items": { + "type": "string" + }, + "description": "A filter to return only resources that match the given Service Provider service type.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getServiceProviderActions.\n", + "properties": { + "compartmentId": { + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getServiceProviderActionsFilter:getServiceProviderActionsFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "name": { + "description": "Name of the property\n", + "type": "string" + }, + "resourceType": { + "description": "resourceType for which the ServiceProviderAction is applicable\n", + "type": "string" + }, + "serviceProviderActionSummaryCollections": { + "description": "The list of service_provider_action_summary_collection.\n", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getServiceProviderActionsServiceProviderActionSummaryCollection:getServiceProviderActionsServiceProviderActionSummaryCollection" + }, + "type": "array" + }, + "serviceProviderServiceTypes": { + "items": { + "type": "string" + }, + "type": "array" + }, + "state": { + "description": "The current lifecycle state of the Service Provider Action.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "serviceProviderActionSummaryCollections", + "id" + ], + "type": "object" + } + }, + "oci:DelegateAccessControl/getServiceProviders:getServiceProviders": { + "description": "This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service.\n\nLists the Service Providers.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testServiceProviders = oci.DelegateAccessControl.getServiceProviders({\n compartmentId: compartmentId,\n name: serviceProviderName,\n serviceProviderType: serviceProviderServiceProviderType,\n state: serviceProviderState,\n supportedResourceType: serviceProviderSupportedResourceType,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_service_providers = oci.DelegateAccessControl.get_service_providers(compartment_id=compartment_id,\n name=service_provider_name,\n service_provider_type=service_provider_service_provider_type,\n state=service_provider_state,\n supported_resource_type=service_provider_supported_resource_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 testServiceProviders = Oci.DelegateAccessControl.GetServiceProviders.Invoke(new()\n {\n CompartmentId = compartmentId,\n Name = serviceProviderName,\n ServiceProviderType = serviceProviderServiceProviderType,\n State = serviceProviderState,\n SupportedResourceType = serviceProviderSupportedResourceType,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl\"\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 := DelegateAccessControl.GetServiceProviders(ctx, \u0026delegateaccesscontrol.GetServiceProvidersArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tName: pulumi.StringRef(serviceProviderName),\n\t\t\tServiceProviderType: pulumi.StringRef(serviceProviderServiceProviderType),\n\t\t\tState: pulumi.StringRef(serviceProviderState),\n\t\t\tSupportedResourceType: pulumi.StringRef(serviceProviderSupportedResourceType),\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.DelegateAccessControl.DelegateAccessControlFunctions;\nimport com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProvidersArgs;\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 testServiceProviders = DelegateAccessControlFunctions.getServiceProviders(GetServiceProvidersArgs.builder()\n .compartmentId(compartmentId)\n .name(serviceProviderName)\n .serviceProviderType(serviceProviderServiceProviderType)\n .state(serviceProviderState)\n .supportedResourceType(serviceProviderSupportedResourceType)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testServiceProviders:\n fn::invoke:\n Function: oci:DelegateAccessControl:getServiceProviders\n Arguments:\n compartmentId: ${compartmentId}\n name: ${serviceProviderName}\n serviceProviderType: ${serviceProviderServiceProviderType}\n state: ${serviceProviderState}\n supportedResourceType: ${serviceProviderSupportedResourceType}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getServiceProviders.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getServiceProvidersFilter:getServiceProvidersFilter" + }, + "willReplaceOnChanges": true + }, + "name": { + "type": "string", + "description": "A filter to return Service Provider resources that match the given name.\n" + }, + "serviceProviderType": { + "type": "string", + "description": "A filter to return only Service Provider resources whose provider type matches the given provider type.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state.\n" + }, + "supportedResourceType": { + "type": "string", + "description": "A filter to return only Service Provider resources whose supported resource type matches the given resource type.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getServiceProviders.\n", + "properties": { + "compartmentId": { + "description": "The OCID of the compartment that contains the Delegation Control.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getServiceProvidersFilter:getServiceProvidersFilter" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "name": { + "description": "Unique name of the Service Provider.\n", + "type": "string" + }, + "serviceProviderSummaryCollections": { + "description": "The list of service_provider_summary_collection.\n", + "items": { + "$ref": "#/types/oci:DelegateAccessControl/getServiceProvidersServiceProviderSummaryCollection:getServiceProvidersServiceProviderSummaryCollection" + }, + "type": "array" + }, + "serviceProviderType": { + "description": "Service Provider type.\n", + "type": "string" + }, + "state": { + "description": "The current lifecycle state of the Service Provider.\n", + "type": "string" + }, + "supportedResourceType": { + "type": "string" + } + }, + "required": [ + "compartmentId", + "serviceProviderSummaryCollections", + "id" + ], + "type": "object" + } + }, "oci:DemandSignal/getOccDemandSignal:getOccDemandSignal": { "description": "This data source provides details about a specific Occ Demand Signal resource in Oracle Cloud Infrastructure Demand Signal service.\n\nGets information about a OccDemandSignal.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testOccDemandSignal = oci.DemandSignal.getOccDemandSignal({\n occDemandSignalId: testOccDemandSignalOciDemandSignalOccDemandSignal.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_occ_demand_signal = oci.DemandSignal.get_occ_demand_signal(occ_demand_signal_id=test_occ_demand_signal_oci_demand_signal_occ_demand_signal[\"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 testOccDemandSignal = Oci.DemandSignal.GetOccDemandSignal.Invoke(new()\n {\n OccDemandSignalId = testOccDemandSignalOciDemandSignalOccDemandSignal.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DemandSignal\"\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 := DemandSignal.GetOccDemandSignal(ctx, \u0026demandsignal.GetOccDemandSignalArgs{\n\t\t\tOccDemandSignalId: testOccDemandSignalOciDemandSignalOccDemandSignal.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.DemandSignal.DemandSignalFunctions;\nimport com.pulumi.oci.DemandSignal.inputs.GetOccDemandSignalArgs;\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 testOccDemandSignal = DemandSignalFunctions.getOccDemandSignal(GetOccDemandSignalArgs.builder()\n .occDemandSignalId(testOccDemandSignalOciDemandSignalOccDemandSignal.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testOccDemandSignal:\n fn::invoke:\n Function: oci:DemandSignal:getOccDemandSignal\n Arguments:\n occDemandSignalId: ${testOccDemandSignalOciDemandSignalOccDemandSignal.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -617546,6 +620531,615 @@ "type": "object" } }, + "oci:Desktops/getDesktop:getDesktop": { + "description": "This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service.\n\nProvides information about the desktop with the specified OCID.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDesktop = oci.Desktops.getDesktop({\n desktopId: testDesktopOciDesktopsDesktop.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_desktop = oci.Desktops.get_desktop(desktop_id=test_desktop_oci_desktops_desktop[\"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 testDesktop = Oci.Desktops.GetDesktop.Invoke(new()\n {\n DesktopId = testDesktopOciDesktopsDesktop.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops\"\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 := Desktops.GetDesktop(ctx, \u0026desktops.GetDesktopArgs{\n\t\t\tDesktopId: testDesktopOciDesktopsDesktop.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.Desktops.DesktopsFunctions;\nimport com.pulumi.oci.Desktops.inputs.GetDesktopArgs;\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 testDesktop = DesktopsFunctions.getDesktop(GetDesktopArgs.builder()\n .desktopId(testDesktopOciDesktopsDesktop.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDesktop:\n fn::invoke:\n Function: oci:Desktops:getDesktop\n Arguments:\n desktopId: ${testDesktopOciDesktopsDesktop.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDesktop.\n", + "properties": { + "desktopId": { + "type": "string", + "description": "The OCID of the desktop.\n" + } + }, + "type": "object", + "required": [ + "desktopId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDesktop.\n", + "properties": { + "definedTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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", + "type": "object" + }, + "desktopId": { + "type": "string" + }, + "devicePolicies": { + "description": "Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.\n", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopDevicePolicy:getDesktopDevicePolicy" + }, + "type": "array" + }, + "displayName": { + "description": "A user friendly display name. Avoid entering confidential information.\n", + "type": "string" + }, + "freeformTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n", + "type": "object" + }, + "hostingOptions": { + "description": "Provides information about where a desktop is hosted.\n", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopHostingOption:getDesktopHostingOption" + }, + "type": "array" + }, + "id": { + "description": "The provider-assigned unique ID for this managed resource.\n", + "type": "string" + }, + "poolId": { + "description": "The OCID of the desktop pool the desktop is a member of.\n", + "type": "string" + }, + "state": { + "description": "The state of the desktop.\n", + "type": "string" + }, + "timeCreated": { + "description": "The date and time the resource was created.\n", + "type": "string" + }, + "userName": { + "description": "The owner of the desktop.\n", + "type": "string" + } + }, + "required": [ + "definedTags", + "desktopId", + "devicePolicies", + "displayName", + "freeformTags", + "hostingOptions", + "poolId", + "state", + "timeCreated", + "userName", + "id" + ], + "type": "object" + } + }, + "oci:Desktops/getDesktopPool:getDesktopPool": { + "description": "This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service.\n\nReturns information about the desktop pool including all configuration parameters and the current state.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDesktopPool = oci.Desktops.getDesktopPool({\n desktopPoolId: testDesktopPoolOciDesktopsDesktopPool.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_desktop_pool = oci.Desktops.get_desktop_pool(desktop_pool_id=test_desktop_pool_oci_desktops_desktop_pool[\"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 testDesktopPool = Oci.Desktops.GetDesktopPool.Invoke(new()\n {\n DesktopPoolId = testDesktopPoolOciDesktopsDesktopPool.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops\"\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 := Desktops.GetDesktopPool(ctx, \u0026desktops.GetDesktopPoolArgs{\n\t\t\tDesktopPoolId: testDesktopPoolOciDesktopsDesktopPool.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.Desktops.DesktopsFunctions;\nimport com.pulumi.oci.Desktops.inputs.GetDesktopPoolArgs;\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 testDesktopPool = DesktopsFunctions.getDesktopPool(GetDesktopPoolArgs.builder()\n .desktopPoolId(testDesktopPoolOciDesktopsDesktopPool.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDesktopPool:\n fn::invoke:\n Function: oci:Desktops:getDesktopPool\n Arguments:\n desktopPoolId: ${testDesktopPoolOciDesktopsDesktopPool.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDesktopPool.\n", + "properties": { + "desktopPoolId": { + "type": "string", + "description": "The OCID of the desktop pool.\n" + } + }, + "type": "object", + "required": [ + "desktopPoolId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDesktopPool.\n", + "properties": { + "activeDesktops": { + "description": "The number of active desktops in the desktop pool.\n", + "type": "integer" + }, + "arePrivilegedUsers": { + "description": "Indicates whether desktop pool users have administrative privileges on their desktop.\n", + "type": "boolean" + }, + "availabilityDomain": { + "description": "The availability domain of the desktop pool.\n", + "type": "string" + }, + "availabilityPolicies": { + "description": "Provides the start and stop schedule information for desktop availability of the desktop pool.\n", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolAvailabilityPolicy:getDesktopPoolAvailabilityPolicy" + }, + "type": "array" + }, + "compartmentId": { + "description": "The OCID of the compartment of the desktop pool.\n", + "type": "string" + }, + "contactDetails": { + "description": "Contact information of the desktop pool administrator. Avoid entering confidential information.\n", + "type": "string" + }, + "definedTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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", + "type": "object" + }, + "description": { + "description": "A user friendly description providing additional information about the resource. Avoid entering confidential information.\n", + "type": "string" + }, + "desktopPoolId": { + "type": "string" + }, + "devicePolicies": { + "description": "Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access.\n", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolDevicePolicy:getDesktopPoolDevicePolicy" + }, + "type": "array" + }, + "displayName": { + "description": "A user friendly display name. Avoid entering confidential information.\n", + "type": "string" + }, + "freeformTags": { + "additionalProperties": { + "type": "string" + }, + "description": "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\"}`\n", + "type": "object" + }, + "id": { + "description": "The OCID of the desktop pool.\n", + "type": "string" + }, + "images": { + "description": "Provides information about the desktop image.\n", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolImage:getDesktopPoolImage" + }, + "type": "array" + }, + "isStorageEnabled": { + "description": "Indicates whether storage is enabled for the desktop pool.\n", + "type": "boolean" + }, + "maximumSize": { + "description": "The maximum number of desktops permitted in the desktop pool.\n", + "type": "integer" + }, + "networkConfigurations": { + "description": "Provides information about the network configuration of the desktop pool.\n", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolNetworkConfiguration:getDesktopPoolNetworkConfiguration" + }, + "type": "array" + }, + "nsgIds": { + "description": "A list of network security groups for the desktop pool.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "shapeName": { + "description": "The shape of the desktop pool.\n", + "type": "string" + }, + "standbySize": { + "description": "The maximum number of standby desktops available in the desktop pool.\n", + "type": "integer" + }, + "state": { + "description": "The current state of the desktop pool.\n", + "type": "string" + }, + "storageBackupPolicyId": { + "description": "The backup policy OCID of the storage.\n", + "type": "string" + }, + "storageSizeInGbs": { + "description": "The size in GBs of the storage for the desktop pool.\n", + "type": "integer" + }, + "timeCreated": { + "description": "The date and time the resource was created.\n", + "type": "string" + }, + "timeStartScheduled": { + "description": "The start time of the desktop pool.\n", + "type": "string" + }, + "timeStopScheduled": { + "description": "The stop time of the desktop pool.\n", + "type": "string" + } + }, + "required": [ + "activeDesktops", + "arePrivilegedUsers", + "availabilityDomain", + "availabilityPolicies", + "compartmentId", + "contactDetails", + "definedTags", + "description", + "desktopPoolId", + "devicePolicies", + "displayName", + "freeformTags", + "id", + "images", + "isStorageEnabled", + "maximumSize", + "networkConfigurations", + "nsgIds", + "shapeName", + "standbySize", + "state", + "storageBackupPolicyId", + "storageSizeInGbs", + "timeCreated", + "timeStartScheduled", + "timeStopScheduled" + ], + "type": "object" + } + }, + "oci:Desktops/getDesktopPoolDesktops:getDesktopPoolDesktops": { + "description": "This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service.\n\nReturns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDesktopPoolDesktops = oci.Desktops.getDesktopPoolDesktops({\n compartmentId: compartmentId,\n desktopPoolId: testDesktopPool.id,\n availabilityDomain: desktopPoolDesktopAvailabilityDomain,\n displayName: desktopPoolDesktopDisplayName,\n id: desktopPoolDesktopId,\n state: desktopPoolDesktopState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_desktop_pool_desktops = oci.Desktops.get_desktop_pool_desktops(compartment_id=compartment_id,\n desktop_pool_id=test_desktop_pool[\"id\"],\n availability_domain=desktop_pool_desktop_availability_domain,\n display_name=desktop_pool_desktop_display_name,\n id=desktop_pool_desktop_id,\n state=desktop_pool_desktop_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 testDesktopPoolDesktops = Oci.Desktops.GetDesktopPoolDesktops.Invoke(new()\n {\n CompartmentId = compartmentId,\n DesktopPoolId = testDesktopPool.Id,\n AvailabilityDomain = desktopPoolDesktopAvailabilityDomain,\n DisplayName = desktopPoolDesktopDisplayName,\n Id = desktopPoolDesktopId,\n State = desktopPoolDesktopState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops\"\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 := Desktops.GetDesktopPoolDesktops(ctx, \u0026desktops.GetDesktopPoolDesktopsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDesktopPoolId: testDesktopPool.Id,\n\t\t\tAvailabilityDomain: pulumi.StringRef(desktopPoolDesktopAvailabilityDomain),\n\t\t\tDisplayName: pulumi.StringRef(desktopPoolDesktopDisplayName),\n\t\t\tId: pulumi.StringRef(desktopPoolDesktopId),\n\t\t\tState: pulumi.StringRef(desktopPoolDesktopState),\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.Desktops.DesktopsFunctions;\nimport com.pulumi.oci.Desktops.inputs.GetDesktopPoolDesktopsArgs;\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 testDesktopPoolDesktops = DesktopsFunctions.getDesktopPoolDesktops(GetDesktopPoolDesktopsArgs.builder()\n .compartmentId(compartmentId)\n .desktopPoolId(testDesktopPool.id())\n .availabilityDomain(desktopPoolDesktopAvailabilityDomain)\n .displayName(desktopPoolDesktopDisplayName)\n .id(desktopPoolDesktopId)\n .state(desktopPoolDesktopState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDesktopPoolDesktops:\n fn::invoke:\n Function: oci:Desktops:getDesktopPoolDesktops\n Arguments:\n compartmentId: ${compartmentId}\n desktopPoolId: ${testDesktopPool.id}\n availabilityDomain: ${desktopPoolDesktopAvailabilityDomain}\n displayName: ${desktopPoolDesktopDisplayName}\n id: ${desktopPoolDesktopId}\n state: ${desktopPoolDesktopState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDesktopPoolDesktops.\n", + "properties": { + "availabilityDomain": { + "type": "string", + "description": "The name of the availability domain.\n" + }, + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment of the desktop pool.\n" + }, + "desktopPoolId": { + "type": "string", + "description": "The OCID of the desktop pool.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only results with the given displayName.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolDesktopsFilter:getDesktopPoolDesktopsFilter" + }, + "willReplaceOnChanges": true + }, + "id": { + "type": "string", + "description": "A filter to return only results with the given OCID.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only results with the given lifecycleState.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "desktopPoolId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDesktopPoolDesktops.\n", + "properties": { + "availabilityDomain": { + "type": "string" + }, + "compartmentId": { + "type": "string" + }, + "desktopPoolDesktopCollections": { + "description": "The list of desktop_pool_desktop_collection.\n", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolDesktopsDesktopPoolDesktopCollection:getDesktopPoolDesktopsDesktopPoolDesktopCollection" + }, + "type": "array" + }, + "desktopPoolId": { + "type": "string" + }, + "displayName": { + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolDesktopsFilter:getDesktopPoolDesktopsFilter" + }, + "type": "array" + }, + "id": { + "type": "string" + }, + "state": { + "description": "The state of the desktop.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "desktopPoolDesktopCollections", + "desktopPoolId" + ], + "type": "object" + } + }, + "oci:Desktops/getDesktopPoolVolumes:getDesktopPoolVolumes": { + "description": "This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service.\n\nReturns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDesktopPoolVolumes = oci.Desktops.getDesktopPoolVolumes({\n compartmentId: compartmentId,\n desktopPoolId: testDesktopPool.id,\n availabilityDomain: desktopPoolVolumeAvailabilityDomain,\n displayName: desktopPoolVolumeDisplayName,\n id: desktopPoolVolumeId,\n state: desktopPoolVolumeState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_desktop_pool_volumes = oci.Desktops.get_desktop_pool_volumes(compartment_id=compartment_id,\n desktop_pool_id=test_desktop_pool[\"id\"],\n availability_domain=desktop_pool_volume_availability_domain,\n display_name=desktop_pool_volume_display_name,\n id=desktop_pool_volume_id,\n state=desktop_pool_volume_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 testDesktopPoolVolumes = Oci.Desktops.GetDesktopPoolVolumes.Invoke(new()\n {\n CompartmentId = compartmentId,\n DesktopPoolId = testDesktopPool.Id,\n AvailabilityDomain = desktopPoolVolumeAvailabilityDomain,\n DisplayName = desktopPoolVolumeDisplayName,\n Id = desktopPoolVolumeId,\n State = desktopPoolVolumeState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops\"\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 := Desktops.GetDesktopPoolVolumes(ctx, \u0026desktops.GetDesktopPoolVolumesArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDesktopPoolId: testDesktopPool.Id,\n\t\t\tAvailabilityDomain: pulumi.StringRef(desktopPoolVolumeAvailabilityDomain),\n\t\t\tDisplayName: pulumi.StringRef(desktopPoolVolumeDisplayName),\n\t\t\tId: pulumi.StringRef(desktopPoolVolumeId),\n\t\t\tState: pulumi.StringRef(desktopPoolVolumeState),\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.Desktops.DesktopsFunctions;\nimport com.pulumi.oci.Desktops.inputs.GetDesktopPoolVolumesArgs;\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 testDesktopPoolVolumes = DesktopsFunctions.getDesktopPoolVolumes(GetDesktopPoolVolumesArgs.builder()\n .compartmentId(compartmentId)\n .desktopPoolId(testDesktopPool.id())\n .availabilityDomain(desktopPoolVolumeAvailabilityDomain)\n .displayName(desktopPoolVolumeDisplayName)\n .id(desktopPoolVolumeId)\n .state(desktopPoolVolumeState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDesktopPoolVolumes:\n fn::invoke:\n Function: oci:Desktops:getDesktopPoolVolumes\n Arguments:\n compartmentId: ${compartmentId}\n desktopPoolId: ${testDesktopPool.id}\n availabilityDomain: ${desktopPoolVolumeAvailabilityDomain}\n displayName: ${desktopPoolVolumeDisplayName}\n id: ${desktopPoolVolumeId}\n state: ${desktopPoolVolumeState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDesktopPoolVolumes.\n", + "properties": { + "availabilityDomain": { + "type": "string", + "description": "The name of the availability domain.\n" + }, + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment of the desktop pool.\n" + }, + "desktopPoolId": { + "type": "string", + "description": "The OCID of the desktop pool.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only results with the given displayName.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolVolumesFilter:getDesktopPoolVolumesFilter" + }, + "willReplaceOnChanges": true + }, + "id": { + "type": "string", + "description": "A filter to return only results with the given OCID.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only results with the given lifecycleState.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "desktopPoolId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDesktopPoolVolumes.\n", + "properties": { + "availabilityDomain": { + "description": "The availability domain of the desktop pool.\n", + "type": "string" + }, + "compartmentId": { + "type": "string" + }, + "desktopPoolId": { + "type": "string" + }, + "desktopPoolVolumeCollections": { + "description": "The list of desktop_pool_volume_collection.\n", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolVolumesDesktopPoolVolumeCollection:getDesktopPoolVolumesDesktopPoolVolumeCollection" + }, + "type": "array" + }, + "displayName": { + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolVolumesFilter:getDesktopPoolVolumesFilter" + }, + "type": "array" + }, + "id": { + "description": "The OCID of the desktop pool volume.\n", + "type": "string" + }, + "state": { + "description": "The state of the desktop pool volume.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "desktopPoolId", + "desktopPoolVolumeCollections" + ], + "type": "object" + } + }, + "oci:Desktops/getDesktopPools:getDesktopPools": { + "description": "This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service.\n\nReturns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDesktopPools = oci.Desktops.getDesktopPools({\n compartmentId: compartmentId,\n availabilityDomain: desktopPoolAvailabilityDomain,\n displayName: desktopPoolDisplayName,\n id: desktopPoolId,\n state: desktopPoolState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_desktop_pools = oci.Desktops.get_desktop_pools(compartment_id=compartment_id,\n availability_domain=desktop_pool_availability_domain,\n display_name=desktop_pool_display_name,\n id=desktop_pool_id,\n state=desktop_pool_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 testDesktopPools = Oci.Desktops.GetDesktopPools.Invoke(new()\n {\n CompartmentId = compartmentId,\n AvailabilityDomain = desktopPoolAvailabilityDomain,\n DisplayName = desktopPoolDisplayName,\n Id = desktopPoolId,\n State = desktopPoolState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops\"\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 := Desktops.GetDesktopPools(ctx, \u0026desktops.GetDesktopPoolsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tAvailabilityDomain: pulumi.StringRef(desktopPoolAvailabilityDomain),\n\t\t\tDisplayName: pulumi.StringRef(desktopPoolDisplayName),\n\t\t\tId: pulumi.StringRef(desktopPoolId),\n\t\t\tState: pulumi.StringRef(desktopPoolState),\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.Desktops.DesktopsFunctions;\nimport com.pulumi.oci.Desktops.inputs.GetDesktopPoolsArgs;\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 testDesktopPools = DesktopsFunctions.getDesktopPools(GetDesktopPoolsArgs.builder()\n .compartmentId(compartmentId)\n .availabilityDomain(desktopPoolAvailabilityDomain)\n .displayName(desktopPoolDisplayName)\n .id(desktopPoolId)\n .state(desktopPoolState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDesktopPools:\n fn::invoke:\n Function: oci:Desktops:getDesktopPools\n Arguments:\n compartmentId: ${compartmentId}\n availabilityDomain: ${desktopPoolAvailabilityDomain}\n displayName: ${desktopPoolDisplayName}\n id: ${desktopPoolId}\n state: ${desktopPoolState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDesktopPools.\n", + "properties": { + "availabilityDomain": { + "type": "string", + "description": "The name of the availability domain.\n" + }, + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment of the desktop pool.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only results with the given displayName.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolsFilter:getDesktopPoolsFilter" + }, + "willReplaceOnChanges": true + }, + "id": { + "type": "string", + "description": "A filter to return only results with the given OCID.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only results with the given lifecycleState.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDesktopPools.\n", + "properties": { + "availabilityDomain": { + "description": "The availability domain of the desktop pool.\n", + "type": "string" + }, + "compartmentId": { + "description": "The OCID of the compartment of the desktop pool.\n", + "type": "string" + }, + "desktopPoolCollections": { + "description": "The list of desktop_pool_collection.\n", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolsDesktopPoolCollection:getDesktopPoolsDesktopPoolCollection" + }, + "type": "array" + }, + "displayName": { + "description": "A user friendly display name. Avoid entering confidential information.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Desktops/getDesktopPoolsFilter:getDesktopPoolsFilter" + }, + "type": "array" + }, + "id": { + "description": "The OCID of the desktop pool.\n", + "type": "string" + }, + "state": { + "description": "The current state of the desktop pool.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "desktopPoolCollections" + ], + "type": "object" + } + }, + "oci:Desktops/getDesktops:getDesktops": { + "description": "This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service.\n\nReturns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDesktops = oci.Desktops.getDesktops({\n compartmentId: compartmentId,\n availabilityDomain: desktopAvailabilityDomain,\n desktopPoolId: testDesktopPool.id,\n displayName: desktopDisplayName,\n id: desktopId,\n state: desktopState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_desktops = oci.Desktops.get_desktops(compartment_id=compartment_id,\n availability_domain=desktop_availability_domain,\n desktop_pool_id=test_desktop_pool[\"id\"],\n display_name=desktop_display_name,\n id=desktop_id,\n state=desktop_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 testDesktops = Oci.Desktops.GetDesktops.Invoke(new()\n {\n CompartmentId = compartmentId,\n AvailabilityDomain = desktopAvailabilityDomain,\n DesktopPoolId = testDesktopPool.Id,\n DisplayName = desktopDisplayName,\n Id = desktopId,\n State = desktopState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops\"\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 := Desktops.GetDesktops(ctx, \u0026desktops.GetDesktopsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tAvailabilityDomain: pulumi.StringRef(desktopAvailabilityDomain),\n\t\t\tDesktopPoolId: pulumi.StringRef(testDesktopPool.Id),\n\t\t\tDisplayName: pulumi.StringRef(desktopDisplayName),\n\t\t\tId: pulumi.StringRef(desktopId),\n\t\t\tState: pulumi.StringRef(desktopState),\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.Desktops.DesktopsFunctions;\nimport com.pulumi.oci.Desktops.inputs.GetDesktopsArgs;\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 testDesktops = DesktopsFunctions.getDesktops(GetDesktopsArgs.builder()\n .compartmentId(compartmentId)\n .availabilityDomain(desktopAvailabilityDomain)\n .desktopPoolId(testDesktopPool.id())\n .displayName(desktopDisplayName)\n .id(desktopId)\n .state(desktopState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDesktops:\n fn::invoke:\n Function: oci:Desktops:getDesktops\n Arguments:\n compartmentId: ${compartmentId}\n availabilityDomain: ${desktopAvailabilityDomain}\n desktopPoolId: ${testDesktopPool.id}\n displayName: ${desktopDisplayName}\n id: ${desktopId}\n state: ${desktopState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDesktops.\n", + "properties": { + "availabilityDomain": { + "type": "string", + "description": "The name of the availability domain.\n" + }, + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment of the desktop pool.\n" + }, + "desktopPoolId": { + "type": "string", + "description": "The OCID of the desktop pool.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only results with the given displayName.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopsFilter:getDesktopsFilter" + }, + "willReplaceOnChanges": true + }, + "id": { + "type": "string", + "description": "A filter to return only results with the given OCID.\n" + }, + "state": { + "type": "string", + "description": "A filter to return only results with the given lifecycleState.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getDesktops.\n", + "properties": { + "availabilityDomain": { + "type": "string" + }, + "compartmentId": { + "type": "string" + }, + "desktopCollections": { + "description": "The list of desktop_collection.\n", + "items": { + "$ref": "#/types/oci:Desktops/getDesktopsDesktopCollection:getDesktopsDesktopCollection" + }, + "type": "array" + }, + "desktopPoolId": { + "type": "string" + }, + "displayName": { + "description": "A user friendly display name. Avoid entering confidential information.\n", + "type": "string" + }, + "filters": { + "items": { + "$ref": "#/types/oci:Desktops/getDesktopsFilter:getDesktopsFilter" + }, + "type": "array" + }, + "id": { + "description": "The OCID of the desktop.\n", + "type": "string" + }, + "state": { + "description": "The state of the desktop.\n", + "type": "string" + } + }, + "required": [ + "compartmentId", + "desktopCollections" + ], + "type": "object" + } + }, "oci:DevOps/getBuildPipeline:getBuildPipeline": { "description": "This data source provides details about a specific Build Pipeline resource in Oracle Cloud Infrastructure Devops service.\n\nRetrieves a build pipeline by identifier.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testBuildPipeline = oci.DevOps.getBuildPipeline({\n buildPipelineId: testBuildPipelineOciDevopsBuildPipeline.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_build_pipeline = oci.DevOps.get_build_pipeline(build_pipeline_id=test_build_pipeline_oci_devops_build_pipeline[\"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 testBuildPipeline = Oci.DevOps.GetBuildPipeline.Invoke(new()\n {\n BuildPipelineId = testBuildPipelineOciDevopsBuildPipeline.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DevOps\"\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 := DevOps.GetBuildPipeline(ctx, \u0026devops.GetBuildPipelineArgs{\n\t\t\tBuildPipelineId: testBuildPipelineOciDevopsBuildPipeline.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.DevOps.DevOpsFunctions;\nimport com.pulumi.oci.DevOps.inputs.GetBuildPipelineArgs;\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 testBuildPipeline = DevOpsFunctions.getBuildPipeline(GetBuildPipelineArgs.builder()\n .buildPipelineId(testBuildPipelineOciDevopsBuildPipeline.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testBuildPipeline:\n fn::invoke:\n Function: oci:DevOps:getBuildPipeline\n Arguments:\n buildPipelineId: ${testBuildPipelineOciDevopsBuildPipeline.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -626577,421 +630171,6 @@ "type": "object" } }, - "oci:FleetSoftwareUpdate/getFsuCollection:getFsuCollection": { - "inputs": { - "description": "A collection of arguments for invoking getFsuCollection.\n", - "properties": { - "fsuCollectionId": { - "type": "string" - } - }, - "type": "object", - "required": [ - "fsuCollectionId" - ] - }, - "outputs": { - "description": "A collection of values returned by getFsuCollection.\n", - "properties": { - "activeFsuCycles": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionActiveFsuCycle:getFsuCollectionActiveFsuCycle" - }, - "type": "array" - }, - "compartmentId": { - "type": "string" - }, - "definedTags": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "displayName": { - "type": "string" - }, - "fleetDiscoveries": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionFleetDiscovery:getFsuCollectionFleetDiscovery" - }, - "type": "array" - }, - "freeformTags": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "fsuCollectionId": { - "type": "string" - }, - "id": { - "type": "string" - }, - "lifecycleDetails": { - "type": "string" - }, - "serviceType": { - "type": "string" - }, - "sourceMajorVersion": { - "type": "string" - }, - "state": { - "type": "string" - }, - "systemTags": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "targetCount": { - "type": "integer" - }, - "timeCreated": { - "type": "string" - }, - "timeUpdated": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "activeFsuCycles", - "compartmentId", - "definedTags", - "displayName", - "fleetDiscoveries", - "freeformTags", - "fsuCollectionId", - "id", - "lifecycleDetails", - "serviceType", - "sourceMajorVersion", - "state", - "systemTags", - "targetCount", - "timeCreated", - "timeUpdated", - "type" - ], - "type": "object" - } - }, - "oci:FleetSoftwareUpdate/getFsuCollections:getFsuCollections": { - "inputs": { - "description": "A collection of arguments for invoking getFsuCollections.\n", - "properties": { - "compartmentId": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionsFilter:getFsuCollectionsFilter" - }, - "willReplaceOnChanges": true - }, - "state": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "type": "object", - "required": [ - "compartmentId" - ] - }, - "outputs": { - "description": "A collection of values returned by getFsuCollections.\n", - "properties": { - "compartmentId": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "filters": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionsFilter:getFsuCollectionsFilter" - }, - "type": "array" - }, - "fsuCollectionSummaryCollections": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCollectionsFsuCollectionSummaryCollection:getFsuCollectionsFsuCollectionSummaryCollection" - }, - "type": "array" - }, - "id": { - "description": "The provider-assigned unique ID for this managed resource.\n", - "type": "string" - }, - "state": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "compartmentId", - "fsuCollectionSummaryCollections", - "id" - ], - "type": "object" - } - }, - "oci:FleetSoftwareUpdate/getFsuCycle:getFsuCycle": { - "inputs": { - "description": "A collection of arguments for invoking getFsuCycle.\n", - "properties": { - "fsuCycleId": { - "type": "string" - } - }, - "type": "object", - "required": [ - "fsuCycleId" - ] - }, - "outputs": { - "description": "A collection of values returned by getFsuCycle.\n", - "properties": { - "applyActionSchedules": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCycleApplyActionSchedule:getFsuCycleApplyActionSchedule" - }, - "type": "array" - }, - "batchingStrategies": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCycleBatchingStrategy:getFsuCycleBatchingStrategy" - }, - "type": "array" - }, - "collectionType": { - "type": "string" - }, - "compartmentId": { - "type": "string" - }, - "definedTags": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "diagnosticsCollections": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCycleDiagnosticsCollection:getFsuCycleDiagnosticsCollection" - }, - "type": "array" - }, - "displayName": { - "type": "string" - }, - "executingFsuActionId": { - "type": "string" - }, - "freeformTags": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "fsuCollectionId": { - "type": "string" - }, - "fsuCycleId": { - "type": "string" - }, - "goalVersionDetails": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCycleGoalVersionDetail:getFsuCycleGoalVersionDetail" - }, - "type": "array" - }, - "id": { - "type": "string" - }, - "isIgnoreMissingPatches": { - "items": { - "type": "string" - }, - "type": "array" - }, - "isIgnorePatches": { - "type": "boolean" - }, - "isKeepPlacement": { - "type": "boolean" - }, - "lastCompletedAction": { - "type": "string" - }, - "lifecycleDetails": { - "type": "string" - }, - "maxDrainTimeoutInSeconds": { - "type": "integer" - }, - "nextActionToExecutes": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCycleNextActionToExecute:getFsuCycleNextActionToExecute" - }, - "type": "array" - }, - "stageActionSchedules": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCycleStageActionSchedule:getFsuCycleStageActionSchedule" - }, - "type": "array" - }, - "state": { - "type": "string" - }, - "systemTags": { - "additionalProperties": { - "type": "string" - }, - "type": "object" - }, - "timeCreated": { - "type": "string" - }, - "timeFinished": { - "type": "string" - }, - "timeUpdated": { - "type": "string" - }, - "type": { - "type": "string" - } - }, - "required": [ - "applyActionSchedules", - "batchingStrategies", - "collectionType", - "compartmentId", - "definedTags", - "diagnosticsCollections", - "displayName", - "executingFsuActionId", - "freeformTags", - "fsuCollectionId", - "fsuCycleId", - "goalVersionDetails", - "id", - "isIgnoreMissingPatches", - "isIgnorePatches", - "isKeepPlacement", - "lastCompletedAction", - "lifecycleDetails", - "maxDrainTimeoutInSeconds", - "nextActionToExecutes", - "stageActionSchedules", - "state", - "systemTags", - "timeCreated", - "timeFinished", - "timeUpdated", - "type" - ], - "type": "object" - } - }, - "oci:FleetSoftwareUpdate/getFsuCycles:getFsuCycles": { - "inputs": { - "description": "A collection of arguments for invoking getFsuCycles.\n", - "properties": { - "collectionType": { - "type": "string" - }, - "compartmentId": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCyclesFilter:getFsuCyclesFilter" - }, - "willReplaceOnChanges": true - }, - "fsuCollectionId": { - "type": "string" - }, - "state": { - "type": "string" - }, - "targetVersion": { - "type": "string" - } - }, - "type": "object", - "required": [ - "compartmentId" - ] - }, - "outputs": { - "description": "A collection of values returned by getFsuCycles.\n", - "properties": { - "collectionType": { - "type": "string" - }, - "compartmentId": { - "type": "string" - }, - "displayName": { - "type": "string" - }, - "filters": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCyclesFilter:getFsuCyclesFilter" - }, - "type": "array" - }, - "fsuCollectionId": { - "type": "string" - }, - "fsuCycleSummaryCollections": { - "items": { - "$ref": "#/types/oci:FleetSoftwareUpdate/getFsuCyclesFsuCycleSummaryCollection:getFsuCyclesFsuCycleSummaryCollection" - }, - "type": "array" - }, - "id": { - "description": "The provider-assigned unique ID for this managed resource.\n", - "type": "string" - }, - "state": { - "type": "string" - }, - "targetVersion": { - "type": "string" - } - }, - "required": [ - "compartmentId", - "fsuCycleSummaryCollections", - "id" - ], - "type": "object" - } - }, "oci:Functions/getApplication:getApplication": { "description": "This data source provides details about a specific Application resource in Oracle Cloud Infrastructure Functions service.\n\nRetrieves an application.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testApplication = oci.Functions.getApplication({\n applicationId: testApplicationOciFunctionsApplication.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_application = oci.Functions.get_application(application_id=test_application_oci_functions_application[\"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 testApplication = Oci.Functions.GetApplication.Invoke(new()\n {\n ApplicationId = testApplicationOciFunctionsApplication.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Functions\"\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 := Functions.GetApplication(ctx, \u0026functions.GetApplicationArgs{\n\t\t\tApplicationId: testApplicationOciFunctionsApplication.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.Functions.FunctionsFunctions;\nimport com.pulumi.oci.Functions.inputs.GetApplicationArgs;\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 testApplication = FunctionsFunctions.getApplication(GetApplicationArgs.builder()\n .applicationId(testApplicationOciFunctionsApplication.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testApplication:\n fn::invoke:\n Function: oci:Functions:getApplication\n Arguments:\n applicationId: ${testApplicationOciFunctionsApplication.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -630062,524 +633241,6 @@ "type": "object" } }, - "oci:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint": { - "description": "This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service.\n\nGet the PrivateEndpoint resource.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testPrivateEndpoint = oci.GloballyDistributedDatabase.getPrivateEndpoint({\n privateEndpointId: testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_private_endpoint = oci.GloballyDistributedDatabase.get_private_endpoint(private_endpoint_id=test_private_endpoint_oci_globally_distributed_database_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 testPrivateEndpoint = Oci.GloballyDistributedDatabase.GetPrivateEndpoint.Invoke(new()\n {\n PrivateEndpointId = testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GloballyDistributedDatabase\"\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 := GloballyDistributedDatabase.GetPrivateEndpoint(ctx, \u0026globallydistributeddatabase.GetPrivateEndpointArgs{\n\t\t\tPrivateEndpointId: testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.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.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;\nimport com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoint = GloballyDistributedDatabaseFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder()\n .privateEndpointId(testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testPrivateEndpoint:\n fn::invoke:\n Function: oci:GloballyDistributedDatabase:getPrivateEndpoint\n Arguments:\n privateEndpointId: ${testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", - "inputs": { - "description": "A collection of arguments for invoking getPrivateEndpoint.\n", - "properties": { - "privateEndpointId": { - "type": "string", - "description": "Oracle Sharded Database PrivateEndpoint identifier\n" - } - }, - "type": "object", - "required": [ - "privateEndpointId" - ] - }, - "outputs": { - "description": "A collection of values returned by getPrivateEndpoint.\n", - "properties": { - "compartmentId": { - "description": "Identifier of the compartment in which private endpoint exists.\n", - "type": "string" - }, - "definedTags": { - "additionalProperties": { - "type": "string" - }, - "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n", - "type": "object" - }, - "description": { - "description": "PrivateEndpoint description.\n", - "type": "string" - }, - "displayName": { - "description": "PrivateEndpoint display name.\n", - "type": "string" - }, - "freeformTags": { - "additionalProperties": { - "type": "string" - }, - "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", - "type": "object" - }, - "id": { - "description": "The identifier of the Private Endpoint.\n", - "type": "string" - }, - "lifecycleStateDetails": { - "description": "Detailed message for the lifecycle state.\n", - "type": "string" - }, - "nsgIds": { - "description": "The OCIDs of the network security groups that the private endpoint belongs to.\n", - "items": { - "type": "string" - }, - "type": "array" - }, - "privateEndpointId": { - "type": "string" - }, - "privateIp": { - "description": "IP address of the Private Endpoint.\n", - "type": "string" - }, - "shardedDatabases": { - "description": "The OCIDs of sharded databases that consumes the given private endpoint.\n", - "items": { - "type": "string" - }, - "type": "array" - }, - "state": { - "description": "Lifecycle states for private endpoint.\n", - "type": "string" - }, - "subnetId": { - "description": "Identifier of the subnet in which private endpoint exists.\n", - "type": "string" - }, - "systemTags": { - "additionalProperties": { - "type": "string" - }, - "description": "Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n", - "type": "object" - }, - "timeCreated": { - "description": "The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string\n", - "type": "string" - }, - "timeUpdated": { - "description": "The time the Private Endpoint was last updated. An RFC3339 formatted datetime string\n", - "type": "string" - }, - "vcnId": { - "description": "Identifier of the VCN in which subnet exists.\n", - "type": "string" - } - }, - "required": [ - "compartmentId", - "definedTags", - "description", - "displayName", - "freeformTags", - "id", - "lifecycleStateDetails", - "nsgIds", - "privateEndpointId", - "privateIp", - "shardedDatabases", - "state", - "subnetId", - "systemTags", - "timeCreated", - "timeUpdated", - "vcnId" - ], - "type": "object" - } - }, - "oci:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints": { - "description": "This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service.\n\nList of PrivateEndpoints.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testPrivateEndpoints = oci.GloballyDistributedDatabase.getPrivateEndpoints({\n compartmentId: compartmentId,\n displayName: privateEndpointDisplayName,\n state: privateEndpointState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_private_endpoints = oci.GloballyDistributedDatabase.get_private_endpoints(compartment_id=compartment_id,\n display_name=private_endpoint_display_name,\n state=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 testPrivateEndpoints = Oci.GloballyDistributedDatabase.GetPrivateEndpoints.Invoke(new()\n {\n CompartmentId = compartmentId,\n DisplayName = privateEndpointDisplayName,\n State = privateEndpointState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GloballyDistributedDatabase\"\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 := GloballyDistributedDatabase.GetPrivateEndpoints(ctx, \u0026globallydistributeddatabase.GetPrivateEndpointsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDisplayName: pulumi.StringRef(privateEndpointDisplayName),\n\t\t\tState: pulumi.StringRef(privateEndpointState),\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.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;\nimport com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoints = GloballyDistributedDatabaseFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder()\n .compartmentId(compartmentId)\n .displayName(privateEndpointDisplayName)\n .state(privateEndpointState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testPrivateEndpoints:\n fn::invoke:\n Function: oci:GloballyDistributedDatabase:getPrivateEndpoints\n Arguments:\n compartmentId: ${compartmentId}\n displayName: ${privateEndpointDisplayName}\n state: ${privateEndpointState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", - "inputs": { - "description": "A collection of arguments for invoking getPrivateEndpoints.\n", - "properties": { - "compartmentId": { - "type": "string", - "description": "The ID of the compartment in which to list resources.\n" - }, - "displayName": { - "type": "string", - "description": "A filter to return only private endpoint that match the entire name given. The match is not case sensitive.\n" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getPrivateEndpointsFilter:getPrivateEndpointsFilter" - }, - "willReplaceOnChanges": true - }, - "state": { - "type": "string", - "description": "A filter to return only resources their lifecycleState matches the given lifecycleState.\n" - } - }, - "type": "object", - "required": [ - "compartmentId" - ] - }, - "outputs": { - "description": "A collection of values returned by getPrivateEndpoints.\n", - "properties": { - "compartmentId": { - "description": "Identifier of the compartment in which private endpoint exists.\n", - "type": "string" - }, - "displayName": { - "description": "PrivateEndpoint display name.\n", - "type": "string" - }, - "filters": { - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getPrivateEndpointsFilter:getPrivateEndpointsFilter" - }, - "type": "array" - }, - "id": { - "description": "The provider-assigned unique ID for this managed resource.\n", - "type": "string" - }, - "privateEndpointCollections": { - "description": "The list of private_endpoint_collection.\n", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getPrivateEndpointsPrivateEndpointCollection:getPrivateEndpointsPrivateEndpointCollection" - }, - "type": "array" - }, - "state": { - "description": "Lifecycle states for private endpoint.\n", - "type": "string" - } - }, - "required": [ - "compartmentId", - "privateEndpointCollections", - "id" - ], - "type": "object" - } - }, - "oci:GloballyDistributedDatabase/getShardedDatabase:getShardedDatabase": { - "description": "This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service.\n\nGets the details of the Sharded database identified by given id.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testShardedDatabase = oci.GloballyDistributedDatabase.getShardedDatabase({\n shardedDatabaseId: testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.id,\n metadata: shardedDatabaseMetadata,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_sharded_database = oci.GloballyDistributedDatabase.get_sharded_database(sharded_database_id=test_sharded_database_oci_globally_distributed_database_sharded_database[\"id\"],\n metadata=sharded_database_metadata)\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 testShardedDatabase = Oci.GloballyDistributedDatabase.GetShardedDatabase.Invoke(new()\n {\n ShardedDatabaseId = testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.Id,\n Metadata = shardedDatabaseMetadata,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GloballyDistributedDatabase\"\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 := GloballyDistributedDatabase.GetShardedDatabase(ctx, \u0026globallydistributeddatabase.GetShardedDatabaseArgs{\n\t\t\tShardedDatabaseId: testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.Id,\n\t\t\tMetadata: pulumi.StringRef(shardedDatabaseMetadata),\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.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;\nimport com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabaseArgs;\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 testShardedDatabase = GloballyDistributedDatabaseFunctions.getShardedDatabase(GetShardedDatabaseArgs.builder()\n .shardedDatabaseId(testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.id())\n .metadata(shardedDatabaseMetadata)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testShardedDatabase:\n fn::invoke:\n Function: oci:GloballyDistributedDatabase:getShardedDatabase\n Arguments:\n shardedDatabaseId: ${testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.id}\n metadata: ${shardedDatabaseMetadata}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", - "inputs": { - "description": "A collection of arguments for invoking getShardedDatabase.\n", - "properties": { - "metadata": { - "type": "string", - "description": "Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO.\n" - }, - "shardedDatabaseId": { - "type": "string", - "description": "Sharded Database identifier\n" - } - }, - "type": "object", - "required": [ - "shardedDatabaseId" - ] - }, - "outputs": { - "description": "A collection of values returned by getShardedDatabase.\n", - "properties": { - "catalogDetails": { - "description": "Details of ATP-D based catalogs.\n", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabaseCatalogDetail:getShardedDatabaseCatalogDetail" - }, - "type": "array" - }, - "characterSet": { - "description": "The character set for the database.\n", - "type": "string" - }, - "chunks": { - "description": "The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace.\n", - "type": "integer" - }, - "clusterCertificateCommonName": { - "description": "The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period.\n", - "type": "string" - }, - "compartmentId": { - "description": "Identifier of the compartment in which sharded database exists.\n", - "type": "string" - }, - "configureGsmsTrigger": { - "type": "integer" - }, - "configureShardingTrigger": { - "type": "integer" - }, - "connectionStrings": { - "description": "Details of sharded database connection String.\n", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabaseConnectionString:getShardedDatabaseConnectionString" - }, - "type": "array" - }, - "dbDeploymentType": { - "description": "The database deployment type.\n", - "type": "string" - }, - "dbVersion": { - "description": "Oracle Database version number.\n", - "type": "string" - }, - "dbWorkload": { - "description": "Possible workload types.\n", - "type": "string" - }, - "definedTags": { - "additionalProperties": { - "type": "string" - }, - "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n", - "type": "object" - }, - "displayName": { - "description": "Oracle sharded database display name.\n", - "type": "string" - }, - "downloadGsmCertificateSigningRequestTrigger": { - "type": "integer" - }, - "freeformTags": { - "additionalProperties": { - "type": "string" - }, - "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", - "type": "object" - }, - "generateGsmCertificateSigningRequestTrigger": { - "type": "integer" - }, - "generateWalletTrigger": { - "type": "integer" - }, - "getConnectionStringTrigger": { - "type": "integer" - }, - "gsms": { - "description": "Details of GSM instances for the sharded database.\n", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabaseGsm:getShardedDatabaseGsm" - }, - "type": "array" - }, - "id": { - "description": "Sharded Database identifier\n", - "type": "string" - }, - "lifecycleState": { - "type": "string" - }, - "lifecycleStateDetails": { - "description": "Detailed message for the lifecycle state.\n", - "type": "string" - }, - "listenerPort": { - "description": "The GSM listener port number.\n", - "type": "integer" - }, - "listenerPortTls": { - "description": "The TLS listener port number for sharded database.\n", - "type": "integer" - }, - "metadata": { - "description": "Additional metadata related to shard's underlying supporting resource.\n", - "type": "string" - }, - "ncharacterSet": { - "description": "The national character set for the database.\n", - "type": "string" - }, - "onsPortLocal": { - "description": "Ons local port number.\n", - "type": "integer" - }, - "onsPortRemote": { - "description": "Ons remote port number.\n", - "type": "integer" - }, - "patchOperations": { - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabasePatchOperation:getShardedDatabasePatchOperation" - }, - "type": "array" - }, - "prefix": { - "description": "Unique prefix for the sharded database.\n", - "type": "string" - }, - "privateEndpoint": { - "description": "The OCID of private endpoint being used by the sharded database.\n", - "type": "string" - }, - "shardDetails": { - "description": "Details of ATP-D based shards.\n", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabaseShardDetail:getShardedDatabaseShardDetail" - }, - "type": "array" - }, - "shardedDatabaseId": { - "type": "string" - }, - "shardingMethod": { - "description": "Sharding Method.\n", - "type": "string" - }, - "startDatabaseTrigger": { - "type": "integer" - }, - "state": { - "description": "Lifecycle states for sharded databases.\n", - "type": "string" - }, - "stopDatabaseTrigger": { - "type": "integer" - }, - "systemTags": { - "additionalProperties": { - "type": "string" - }, - "description": "Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n", - "type": "object" - }, - "timeCreated": { - "description": "The time the the Sharded Database was created. An RFC3339 formatted datetime string\n", - "type": "string" - }, - "timeUpdated": { - "description": "The time the Sharded Database was last updated. An RFC3339 formatted datetime string\n", - "type": "string" - }, - "timeZone": { - "description": "Timezone associated with the sharded database.\n", - "type": "string" - }, - "uploadSignedCertificateAndGenerateWalletTrigger": { - "type": "integer" - }, - "validateNetworkTrigger": { - "type": "integer" - } - }, - "required": [ - "catalogDetails", - "characterSet", - "chunks", - "clusterCertificateCommonName", - "compartmentId", - "configureGsmsTrigger", - "configureShardingTrigger", - "connectionStrings", - "dbDeploymentType", - "dbVersion", - "dbWorkload", - "definedTags", - "displayName", - "downloadGsmCertificateSigningRequestTrigger", - "freeformTags", - "generateGsmCertificateSigningRequestTrigger", - "generateWalletTrigger", - "getConnectionStringTrigger", - "gsms", - "id", - "lifecycleState", - "lifecycleStateDetails", - "listenerPort", - "listenerPortTls", - "ncharacterSet", - "onsPortLocal", - "onsPortRemote", - "patchOperations", - "prefix", - "privateEndpoint", - "shardDetails", - "shardedDatabaseId", - "shardingMethod", - "startDatabaseTrigger", - "state", - "stopDatabaseTrigger", - "systemTags", - "timeCreated", - "timeUpdated", - "timeZone", - "uploadSignedCertificateAndGenerateWalletTrigger", - "validateNetworkTrigger" - ], - "type": "object" - } - }, - "oci:GloballyDistributedDatabase/getShardedDatabases:getShardedDatabases": { - "description": "This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service.\n\nList of Sharded databases.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testShardedDatabases = oci.GloballyDistributedDatabase.getShardedDatabases({\n compartmentId: compartmentId,\n displayName: shardedDatabaseDisplayName,\n state: shardedDatabaseState,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_sharded_databases = oci.GloballyDistributedDatabase.get_sharded_databases(compartment_id=compartment_id,\n display_name=sharded_database_display_name,\n state=sharded_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 testShardedDatabases = Oci.GloballyDistributedDatabase.GetShardedDatabases.Invoke(new()\n {\n CompartmentId = compartmentId,\n DisplayName = shardedDatabaseDisplayName,\n State = shardedDatabaseState,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GloballyDistributedDatabase\"\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 := GloballyDistributedDatabase.GetShardedDatabases(ctx, \u0026globallydistributeddatabase.GetShardedDatabasesArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tDisplayName: pulumi.StringRef(shardedDatabaseDisplayName),\n\t\t\tState: pulumi.StringRef(shardedDatabaseState),\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.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;\nimport com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabasesArgs;\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 testShardedDatabases = GloballyDistributedDatabaseFunctions.getShardedDatabases(GetShardedDatabasesArgs.builder()\n .compartmentId(compartmentId)\n .displayName(shardedDatabaseDisplayName)\n .state(shardedDatabaseState)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testShardedDatabases:\n fn::invoke:\n Function: oci:GloballyDistributedDatabase:getShardedDatabases\n Arguments:\n compartmentId: ${compartmentId}\n displayName: ${shardedDatabaseDisplayName}\n state: ${shardedDatabaseState}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", - "inputs": { - "description": "A collection of arguments for invoking getShardedDatabases.\n", - "properties": { - "compartmentId": { - "type": "string", - "description": "The ID of the compartment in which to list resources.\n" - }, - "displayName": { - "type": "string", - "description": "A filter to return only sharded databases that match the entire name given. The match is not case sensitive.\n" - }, - "filters": { - "type": "array", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabasesFilter:getShardedDatabasesFilter" - }, - "willReplaceOnChanges": true - }, - "state": { - "type": "string", - "description": "A filter to return only resources their lifecycleState matches the given lifecycleState.\n" - } - }, - "type": "object", - "required": [ - "compartmentId" - ] - }, - "outputs": { - "description": "A collection of values returned by getShardedDatabases.\n", - "properties": { - "compartmentId": { - "description": "Identifier of the compartment in which sharded database exists.\n", - "type": "string" - }, - "displayName": { - "description": "Oracle sharded database display name.\n", - "type": "string" - }, - "filters": { - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabasesFilter:getShardedDatabasesFilter" - }, - "type": "array" - }, - "id": { - "description": "The provider-assigned unique ID for this managed resource.\n", - "type": "string" - }, - "shardedDatabaseCollections": { - "description": "The list of sharded_database_collection.\n", - "items": { - "$ref": "#/types/oci:GloballyDistributedDatabase/getShardedDatabasesShardedDatabaseCollection:getShardedDatabasesShardedDatabaseCollection" - }, - "type": "array" - }, - "state": { - "description": "Lifecycle states for sharded databases.\n", - "type": "string" - } - }, - "required": [ - "compartmentId", - "shardedDatabaseCollections", - "id" - ], - "type": "object" - } - }, "oci:GoldenGate/getConnection:getConnection": { "description": "This data source provides details about a specific Connection resource in Oracle Cloud Infrastructure Golden Gate service.\n\nRetrieves a Connection.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testConnection = oci.GoldenGate.getConnection({\n connectionId: testConnectionOciGoldenGateConnection.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_connection = oci.GoldenGate.get_connection(connection_id=test_connection_oci_golden_gate_connection[\"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 testConnection = Oci.GoldenGate.GetConnection.Invoke(new()\n {\n ConnectionId = testConnectionOciGoldenGateConnection.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GoldenGate\"\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 := GoldenGate.GetConnection(ctx, \u0026goldengate.GetConnectionArgs{\n\t\t\tConnectionId: testConnectionOciGoldenGateConnection.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.GoldenGate.GoldenGateFunctions;\nimport com.pulumi.oci.GoldenGate.inputs.GetConnectionArgs;\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 testConnection = GoldenGateFunctions.getConnection(GetConnectionArgs.builder()\n .connectionId(testConnectionOciGoldenGateConnection.id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testConnection:\n fn::invoke:\n Function: oci:GoldenGate:getConnection\n Arguments:\n connectionId: ${testConnectionOciGoldenGateConnection.id}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -641441,6 +644102,9 @@ "description": "An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant.\n", "type": "string" }, + "forceDelete": { + "type": "boolean" + }, "groupId": { "type": "string" }, @@ -641568,6 +644232,7 @@ "displayName", "domainOcid", "externalId", + "forceDelete", "groupId", "id", "idcsCreatedBies", @@ -652232,6 +654897,9 @@ "description": "An identifier for the Resource as defined by the Service Consumer. READ-ONLY.\n", "type": "string" }, + "forceDelete": { + "type": "boolean" + }, "groups": { "description": "A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated\n", "items": { @@ -652538,6 +655206,7 @@ "emails", "entitlements", "externalId", + "forceDelete", "groups", "id", "idcsCreatedBies", @@ -659856,6 +662525,10 @@ "description": "A Boolean value that indicates whether the Vault is primary Vault or replica Vault.\n", "type": "boolean" }, + "isVaultReplicable": { + "description": "A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults.\n", + "type": "boolean" + }, "managementEndpoint": { "description": "The service endpoint to perform management operations against. Management operations include \"Create,\" \"Update,\" \"List,\" \"Get,\" and \"Delete\" operations.\n", "type": "string" @@ -659919,6 +662592,7 @@ "freeformTags", "id", "isPrimary", + "isVaultReplicable", "managementEndpoint", "replicaDetails", "restoreFromFiles", @@ -672346,8 +675020,15 @@ }, "type": "array" }, + "customerContacts": { + "description": "The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System.\n", + "items": { + "$ref": "#/types/oci:Mysql/getMysqlDbSystemCustomerContact:getMysqlDbSystemCustomerContact" + }, + "type": "array" + }, "dataStorageSizeInGb": { - "description": "DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs.\n", + "description": "Initial size of the data volume in GiBs that will be created and attached.\n", "type": "integer" }, "dataStorages": { @@ -672510,6 +675191,7 @@ "configurationId", "crashRecovery", "currentPlacements", + "customerContacts", "dataStorages", "dataStorageSizeInGb", "databaseManagement", @@ -677575,7 +680257,7 @@ "properties": { "clusterId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster.\n" } }, "type": "object", @@ -678020,7 +680702,7 @@ "properties": { "clusterId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster.\n" }, "compartmentId": { "type": "string", @@ -678851,7 +681533,7 @@ } }, "oci:Ocvp/getSupportedVmwareSoftwareVersions:getSupportedVmwareSoftwareVersions": { - "description": "This data source provides the list of Supported Vmware Software Versions in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.\n\nLists the versions of bundled VMware software supported by the Oracle Cloud\nVMware Solution.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSupportedVmwareSoftwareVersions = oci.Ocvp.getSupportedVmwareSoftwareVersions({\n compartmentId: compartmentId,\n hostShapeName: testShape.name,\n version: supportedVmwareSoftwareVersionVersion,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_supported_vmware_software_versions = oci.Ocvp.get_supported_vmware_software_versions(compartment_id=compartment_id,\n host_shape_name=test_shape[\"name\"],\n version=supported_vmware_software_version_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 testSupportedVmwareSoftwareVersions = Oci.Ocvp.GetSupportedVmwareSoftwareVersions.Invoke(new()\n {\n CompartmentId = compartmentId,\n HostShapeName = testShape.Name,\n Version = supportedVmwareSoftwareVersionVersion,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Ocvp\"\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 := Ocvp.GetSupportedVmwareSoftwareVersions(ctx, \u0026ocvp.GetSupportedVmwareSoftwareVersionsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tHostShapeName: pulumi.StringRef(testShape.Name),\n\t\t\tVersion: pulumi.StringRef(supportedVmwareSoftwareVersionVersion),\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.Ocvp.OcvpFunctions;\nimport com.pulumi.oci.Ocvp.inputs.GetSupportedVmwareSoftwareVersionsArgs;\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 testSupportedVmwareSoftwareVersions = OcvpFunctions.getSupportedVmwareSoftwareVersions(GetSupportedVmwareSoftwareVersionsArgs.builder()\n .compartmentId(compartmentId)\n .hostShapeName(testShape.name())\n .version(supportedVmwareSoftwareVersionVersion)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSupportedVmwareSoftwareVersions:\n fn::invoke:\n Function: oci:Ocvp:getSupportedVmwareSoftwareVersions\n Arguments:\n compartmentId: ${compartmentId}\n hostShapeName: ${testShape.name}\n version: ${supportedVmwareSoftwareVersionVersion}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "description": "This data source provides the list of Supported Vmware Software Versions in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.\n\nLists the versions of bundled VMware software supported by the Oracle Cloud\nVMware Solution.\n\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSupportedVmwareSoftwareVersions = oci.Ocvp.getSupportedVmwareSoftwareVersions({\n compartmentId: compartmentId,\n hostShapeName: testShape.name,\n version: supportedVmwareSoftwareVersionVersion,\n versionToUpgrade: supportedVmwareSoftwareVersionVersionToUpgrade,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_supported_vmware_software_versions = oci.Ocvp.get_supported_vmware_software_versions(compartment_id=compartment_id,\n host_shape_name=test_shape[\"name\"],\n version=supported_vmware_software_version_version,\n version_to_upgrade=supported_vmware_software_version_version_to_upgrade)\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 testSupportedVmwareSoftwareVersions = Oci.Ocvp.GetSupportedVmwareSoftwareVersions.Invoke(new()\n {\n CompartmentId = compartmentId,\n HostShapeName = testShape.Name,\n Version = supportedVmwareSoftwareVersionVersion,\n VersionToUpgrade = supportedVmwareSoftwareVersionVersionToUpgrade,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Ocvp\"\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 := Ocvp.GetSupportedVmwareSoftwareVersions(ctx, \u0026ocvp.GetSupportedVmwareSoftwareVersionsArgs{\n\t\t\tCompartmentId: compartmentId,\n\t\t\tHostShapeName: pulumi.StringRef(testShape.Name),\n\t\t\tVersion: pulumi.StringRef(supportedVmwareSoftwareVersionVersion),\n\t\t\tVersionToUpgrade: pulumi.StringRef(supportedVmwareSoftwareVersionVersionToUpgrade),\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.Ocvp.OcvpFunctions;\nimport com.pulumi.oci.Ocvp.inputs.GetSupportedVmwareSoftwareVersionsArgs;\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 testSupportedVmwareSoftwareVersions = OcvpFunctions.getSupportedVmwareSoftwareVersions(GetSupportedVmwareSoftwareVersionsArgs.builder()\n .compartmentId(compartmentId)\n .hostShapeName(testShape.name())\n .version(supportedVmwareSoftwareVersionVersion)\n .versionToUpgrade(supportedVmwareSoftwareVersionVersionToUpgrade)\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testSupportedVmwareSoftwareVersions:\n fn::invoke:\n Function: oci:Ocvp:getSupportedVmwareSoftwareVersions\n Arguments:\n compartmentId: ${compartmentId}\n hostShapeName: ${testShape.name}\n version: ${supportedVmwareSoftwareVersionVersion}\n versionToUpgrade: ${supportedVmwareSoftwareVersionVersionToUpgrade}\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { "description": "A collection of arguments for invoking getSupportedVmwareSoftwareVersions.\n", "properties": { @@ -678873,6 +681555,10 @@ "version": { "type": "string", "description": "A filter to return only resources that match the given VMware software version exactly.\n" + }, + "versionToUpgrade": { + "type": "string", + "description": "A filter to return only VMware software versions that the given VMware software version can be upgraded to.\n" } }, "type": "object", @@ -678909,6 +681595,9 @@ "version": { "description": "A short, unique string that identifies the version of bundled software.\n", "type": "string" + }, + "versionToUpgrade": { + "type": "string" } }, "required": [ @@ -698089,6 +700778,10 @@ "description": "The current state of the Protected Database.\n", "type": "string" }, + "subscriptionId": { + "description": "The OCID of the cloud service subscription to which the protected database is linked.\n", + "type": "string" + }, "systemTags": { "additionalProperties": { "type": "string" @@ -698131,6 +700824,7 @@ "protectionPolicyId", "recoveryServiceSubnets", "state", + "subscriptionId", "systemTags", "timeCreated", "timeUpdated", @@ -698421,6 +701115,10 @@ "description": "Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.\n", "type": "string" }, + "mustEnforceCloudLocality": { + "description": "Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned.\n", + "type": "boolean" + }, "policyLockedDateTime": { "description": "An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy.\n", "type": "string" @@ -698457,6 +701155,7 @@ "id", "isPredefinedPolicy", "lifecycleDetails", + "mustEnforceCloudLocality", "policyLockedDateTime", "protectionPolicyId", "state", diff --git a/provider/go.mod b/provider/go.mod index ebe60cd86c..db29a37e47 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -9,7 +9,7 @@ replace ( ) require ( - github.com/oracle/terraform-provider-oci v1.0.19-0.20240821071307-80bccb82dfa6 // indirect + github.com/oracle/terraform-provider-oci v1.0.19-0.20240827204154-5d41e4209a1e // indirect github.com/oracle/terraform-provider-oci/shim v0.0.0 github.com/pulumi/pulumi-terraform-bridge/v3 v3.89.1 github.com/pulumi/pulumi/pkg/v3 v3.129.0 // indirect @@ -169,7 +169,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.72.0 // indirect + github.com/oracle/oci-go-sdk/v65 v65.73.0 // indirect github.com/pgavlin/fx v0.1.6 // indirect github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index ab9bf8bcf6..70fa1b5a45 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -1872,10 +1872,10 @@ github.com/opentracing/basictracer-go v1.1.0/go.mod h1:V2HZueSJEp879yv285Aap1BS6 github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o= github.com/opentracing/opentracing-go v1.2.0 h1:uEJPy/1a5RIPAJ0Ov+OIO8OxWu77jEv+1B0VhjKrZUs= github.com/opentracing/opentracing-go v1.2.0/go.mod h1:GxEUsuufX4nBwe+T+Wl9TAgYrxe9dPLANfrWvHYVTgc= -github.com/oracle/oci-go-sdk/v65 v65.72.0 h1:gPCb5fBUsZMyafIilPPB2B36yqjkKnnwwiJT4xexUMg= -github.com/oracle/oci-go-sdk/v65 v65.72.0/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= -github.com/oracle/terraform-provider-oci v1.0.19-0.20240821071307-80bccb82dfa6 h1:ZW6cMdrzJLBufa+yRfSagE+Z4CA+eBC1q5c+C7ddmUI= -github.com/oracle/terraform-provider-oci v1.0.19-0.20240821071307-80bccb82dfa6/go.mod h1:x8usexEpzW05tluVG08Td7oV6aZrWtyEBgafDX+T4tk= +github.com/oracle/oci-go-sdk/v65 v65.73.0 h1:C7uel6CoKk4A1KPkdhFBAyvVyFRTHAmX8m0o64RmfPg= +github.com/oracle/oci-go-sdk/v65 v65.73.0/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= +github.com/oracle/terraform-provider-oci v1.0.19-0.20240827204154-5d41e4209a1e h1:k2bFQWtXgpns1O9YqkWeQ2SrclgscAonXNm3O+7l1Xk= +github.com/oracle/terraform-provider-oci v1.0.19-0.20240827204154-5d41e4209a1e/go.mod h1:A/haNfY20nIr4J2fE4Qb3tKPijQWrv3J9PLNRtYwW04= github.com/pgavlin/fx v0.1.6 h1:r9jEg69DhNoCd3Xh0+5mIbdbS3PqWrVWujkY76MFRTU= github.com/pgavlin/fx v0.1.6/go.mod h1:KWZJ6fqBBSh8GxHYqwYCf3rYE7Gp2p0N8tJp8xv9u9M= github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 h1:LoCV5cscNVWyK5ChN/uCoIFJz8jZD63VQiGJIRgr6uo= diff --git a/provider/resources.go b/provider/resources.go index 5492b75255..8da6f625b6 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -199,7 +199,9 @@ var mappedMods = map[string]string{ "dataflow": dataFlowMod, "dataintegration": dataIntegrationMod, "datascience": dataScienceMod, + "delegate_access_control": "DelegateAccessControl", "demand_signal": demandSignalMod, + "desktops": "Desktops", "devops": devopsMod, "disaster_recovery": disasterRecoveryMod, "dns": dnsMod, @@ -1731,13 +1733,11 @@ func Provider() tfbridge.ProviderInfo { "oci_data_safe_sql_firewall_policy_management", "oci_integration_private_endpoint_outbound_connection", "oci_bds_bds_instance_os_patch_action", - "oci_fleet_software_update_fsu_collection", - "oci_fleet_software_update_fsu_cycle", } - for _, r := range resourcesMissingDocs { - _, ok := prov.Resources[r] - contract.Assertf(ok, "Expected resource %s", r) - prov.Resources[r].Docs = &tfbridge.DocInfo{Markdown: []byte{' '}} + for _, tk := range resourcesMissingDocs { + r, ok := prov.Resources[tk] + contract.Assertf(ok, "Expected resource %s", tk) + r.Docs = &tfbridge.DocInfo{AllowMissing: true} } datasourcesMissingDocs := []string{ @@ -1751,15 +1751,11 @@ func Provider() tfbridge.ProviderInfo { "oci_network_load_balancer_backend_set_health", "oci_objectstorage_namespace_metadata", "oci_data_safe_security_assessment_finding", - "oci_fleet_software_update_fsu_collection", - "oci_fleet_software_update_fsu_collections", - "oci_fleet_software_update_fsu_cycle", - "oci_fleet_software_update_fsu_cycles", } - for _, d := range datasourcesMissingDocs { - _, ok := prov.DataSources[d] - contract.Assertf(ok, "Expected datasource %s", d) - prov.DataSources[d].Docs = &tfbridge.DocInfo{Markdown: []byte{' '}} + for _, tk := range datasourcesMissingDocs { + d, ok := prov.DataSources[tk] + contract.Assertf(ok, "Expected datasource %s", tk) + d.Docs = &tfbridge.DocInfo{AllowMissing: true} } prov.MustApplyAutoAliases() diff --git a/provider/shim/go.mod b/provider/shim/go.mod index 083d10b2c7..99a1103e5a 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.33.0 - github.com/oracle/terraform-provider-oci v1.0.19-0.20240821071307-80bccb82dfa6 + github.com/oracle/terraform-provider-oci v1.0.19-0.20240827204154-5d41e4209a1e ) 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.72.0 // indirect + github.com/oracle/oci-go-sdk/v65 v65.73.0 // indirect github.com/sony/gobreaker v0.5.0 // indirect github.com/stretchr/testify v1.9.0 // indirect github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect diff --git a/provider/shim/go.sum b/provider/shim/go.sum index 3fe09c4447..70f03eee85 100644 --- a/provider/shim/go.sum +++ b/provider/shim/go.sum @@ -244,10 +244,10 @@ github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= 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.72.0 h1:gPCb5fBUsZMyafIilPPB2B36yqjkKnnwwiJT4xexUMg= -github.com/oracle/oci-go-sdk/v65 v65.72.0/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= -github.com/oracle/terraform-provider-oci v1.0.19-0.20240821071307-80bccb82dfa6 h1:ZW6cMdrzJLBufa+yRfSagE+Z4CA+eBC1q5c+C7ddmUI= -github.com/oracle/terraform-provider-oci v1.0.19-0.20240821071307-80bccb82dfa6/go.mod h1:x8usexEpzW05tluVG08Td7oV6aZrWtyEBgafDX+T4tk= +github.com/oracle/oci-go-sdk/v65 v65.73.0 h1:C7uel6CoKk4A1KPkdhFBAyvVyFRTHAmX8m0o64RmfPg= +github.com/oracle/oci-go-sdk/v65 v65.73.0/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= +github.com/oracle/terraform-provider-oci v1.0.19-0.20240827204154-5d41e4209a1e h1:k2bFQWtXgpns1O9YqkWeQ2SrclgscAonXNm3O+7l1Xk= +github.com/oracle/terraform-provider-oci v1.0.19-0.20240827204154-5d41e4209a1e/go.mod h1:A/haNfY20nIr4J2fE4Qb3tKPijQWrv3J9PLNRtYwW04= github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4= github.com/pjbgf/sha1cd v0.3.0/go.mod h1:nZ1rrWOcGJ5uZgEEVL1VUM9iRQiZvWdbZjkKyFzPPsI= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/sdk/dotnet/AnnouncementsService/AnnouncementSubscription.cs b/sdk/dotnet/AnnouncementsService/AnnouncementSubscription.cs index 477d9c3da5..4bea1bce49 100644 --- a/sdk/dotnet/AnnouncementsService/AnnouncementSubscription.cs +++ b/sdk/dotnet/AnnouncementsService/AnnouncementSubscription.cs @@ -118,13 +118,13 @@ public partial class AnnouncementSubscription : global::Pulumi.CustomResource public Output OnsTopicId { get; private set; } = null!; /// - /// (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + /// (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. /// [Output("preferredLanguage")] public Output PreferredLanguage { get; private set; } = null!; /// - /// (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + /// (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles /// /// /// ** IMPORTANT ** @@ -258,13 +258,13 @@ public InputMap FreeformTags public Input OnsTopicId { get; set; } = null!; /// - /// (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + /// (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. /// [Input("preferredLanguage")] public Input? PreferredLanguage { get; set; } /// - /// (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + /// (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles /// /// /// ** IMPORTANT ** @@ -342,13 +342,13 @@ public InputMap FreeformTags public Input? OnsTopicId { get; set; } /// - /// (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + /// (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. /// [Input("preferredLanguage")] public Input? PreferredLanguage { get; set; } /// - /// (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + /// (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles /// /// /// ** IMPORTANT ** diff --git a/sdk/dotnet/AnnouncementsService/GetAnnouncementSubscription.cs b/sdk/dotnet/AnnouncementsService/GetAnnouncementSubscription.cs index 802638745b..e6a89d095d 100644 --- a/sdk/dotnet/AnnouncementsService/GetAnnouncementSubscription.cs +++ b/sdk/dotnet/AnnouncementsService/GetAnnouncementSubscription.cs @@ -141,11 +141,11 @@ public sealed class GetAnnouncementSubscriptionResult /// public readonly string OnsTopicId; /// - /// (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + /// (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. /// public readonly string PreferredLanguage; /// - /// The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + /// The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles /// public readonly string PreferredTimeZone; /// diff --git a/sdk/dotnet/AnnouncementsService/GetServices.cs b/sdk/dotnet/AnnouncementsService/GetServices.cs new file mode 100644 index 0000000000..04bee78919 --- /dev/null +++ b/sdk/dotnet/AnnouncementsService/GetServices.cs @@ -0,0 +1,187 @@ +// *** 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.AnnouncementsService +{ + public static class GetServices + { + /// + /// This data source provides the list of Services in Oracle Cloud Infrastructure. + /// + /// List all OCI services + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testServices = Oci.AnnouncementsService.GetServices.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CommsManagerName = serviceCommsManagerName, + /// PlatformType = servicePlatformType, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetServicesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:AnnouncementsService/getServices:getServices", args ?? new GetServicesArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Services in Oracle Cloud Infrastructure. + /// + /// List all OCI services + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testServices = Oci.AnnouncementsService.GetServices.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// CommsManagerName = serviceCommsManagerName, + /// PlatformType = servicePlatformType, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetServicesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:AnnouncementsService/getServices:getServices", args ?? new GetServicesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetServicesArgs : global::Pulumi.InvokeArgs + { + /// + /// Filter by comms manager name + /// + [Input("commsManagerName")] + public string? CommsManagerName { get; set; } + + /// + /// The OCID of the root compartment/tenancy. + /// + [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; + } + + /// + /// A filter to return only services underlying a specific platform. + /// + [Input("platformType")] + public string? PlatformType { get; set; } + + public GetServicesArgs() + { + } + public static new GetServicesArgs Empty => new GetServicesArgs(); + } + + public sealed class GetServicesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Filter by comms manager name + /// + [Input("commsManagerName")] + public Input? CommsManagerName { get; set; } + + /// + /// The OCID of the root compartment/tenancy. + /// + [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; + } + + /// + /// A filter to return only services underlying a specific platform. + /// + [Input("platformType")] + public Input? PlatformType { get; set; } + + public GetServicesInvokeArgs() + { + } + public static new GetServicesInvokeArgs Empty => new GetServicesInvokeArgs(); + } + + + [OutputType] + public sealed class GetServicesResult + { + /// + /// Name of the comms manager team that manages Notifications to this service. + /// + public readonly string? CommsManagerName; + public readonly string CompartmentId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The platform type this service object is related to. + /// + public readonly string? PlatformType; + /// + /// The list of services_collection. + /// + public readonly ImmutableArray ServicesCollections; + + [OutputConstructor] + private GetServicesResult( + string? commsManagerName, + + string compartmentId, + + ImmutableArray filters, + + string id, + + string? platformType, + + ImmutableArray servicesCollections) + { + CommsManagerName = commsManagerName; + CompartmentId = compartmentId; + Filters = filters; + Id = id; + PlatformType = platformType; + ServicesCollections = servicesCollections; + } + } +} diff --git a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsArgs.cs b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsArgs.cs index 00d7881e05..64ae127e50 100644 --- a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsArgs.cs +++ b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsArgs.cs @@ -16,7 +16,7 @@ public sealed class AnnouncementSubscriptionFilterGroupsArgs : global::Pulumi.Re private InputList? _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. + /// A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// public InputList Filters { diff --git a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsFilterArgs.cs b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsFilterArgs.cs index 639e7991c8..eb2e920c5f 100644 --- a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsFilterArgs.cs +++ b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsFilterArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.AnnouncementsService.Inputs public sealed class AnnouncementSubscriptionFilterGroupsFilterArgs : global::Pulumi.ResourceArgs { /// - /// The type of filter. + /// The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsFilterGetArgs.cs b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsFilterGetArgs.cs index ac5280dfc8..9947a0f16d 100644 --- a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsFilterGetArgs.cs +++ b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsFilterGetArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.AnnouncementsService.Inputs public sealed class AnnouncementSubscriptionFilterGroupsFilterGetArgs : global::Pulumi.ResourceArgs { /// - /// The type of filter. + /// The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsGetArgs.cs b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsGetArgs.cs index 9462bfa235..1ab7b6df42 100644 --- a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsGetArgs.cs +++ b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionFilterGroupsGetArgs.cs @@ -16,7 +16,7 @@ public sealed class AnnouncementSubscriptionFilterGroupsGetArgs : global::Pulumi private InputList? _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. + /// A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// public InputList Filters { diff --git a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionsFilterGroupFilterArgs.cs b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionsFilterGroupFilterArgs.cs index bc6071a73a..e1c7e1d7c9 100644 --- a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionsFilterGroupFilterArgs.cs +++ b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionsFilterGroupFilterArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.AnnouncementsService.Inputs public sealed class AnnouncementSubscriptionsFilterGroupFilterArgs : global::Pulumi.ResourceArgs { /// - /// (Updatable) The type of filter. + /// (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionsFilterGroupFilterGetArgs.cs b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionsFilterGroupFilterGetArgs.cs index f5c5f03b79..89bc99d2ea 100644 --- a/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionsFilterGroupFilterGetArgs.cs +++ b/sdk/dotnet/AnnouncementsService/Inputs/AnnouncementSubscriptionsFilterGroupFilterGetArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.AnnouncementsService.Inputs public sealed class AnnouncementSubscriptionsFilterGroupFilterGetArgs : global::Pulumi.ResourceArgs { /// - /// (Updatable) The type of filter. + /// (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// [Input("type", required: true)] public Input Type { get; set; } = null!; diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCyclesFilter.cs b/sdk/dotnet/AnnouncementsService/Inputs/GetServicesFilter.cs similarity index 74% rename from sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCyclesFilter.cs rename to sdk/dotnet/AnnouncementsService/Inputs/GetServicesFilter.cs index 4c8de93bce..e820038db7 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCyclesFilter.cs +++ b/sdk/dotnet/AnnouncementsService/Inputs/GetServicesFilter.cs @@ -7,10 +7,10 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Inputs +namespace Pulumi.Oci.AnnouncementsService.Inputs { - public sealed class GetFsuCyclesFilterArgs : global::Pulumi.InvokeArgs + public sealed class GetServicesFilterArgs : global::Pulumi.InvokeArgs { [Input("name", required: true)] public string Name { get; set; } = null!; @@ -26,9 +26,9 @@ public List Values set => _values = value; } - public GetFsuCyclesFilterArgs() + public GetServicesFilterArgs() { } - public static new GetFsuCyclesFilterArgs Empty => new GetFsuCyclesFilterArgs(); + public static new GetServicesFilterArgs Empty => new GetServicesFilterArgs(); } } diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCyclesFilterArgs.cs b/sdk/dotnet/AnnouncementsService/Inputs/GetServicesFilterArgs.cs similarity index 73% rename from sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCyclesFilterArgs.cs rename to sdk/dotnet/AnnouncementsService/Inputs/GetServicesFilterArgs.cs index 38712af5ab..e0f5622f25 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCyclesFilterArgs.cs +++ b/sdk/dotnet/AnnouncementsService/Inputs/GetServicesFilterArgs.cs @@ -7,10 +7,10 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Inputs +namespace Pulumi.Oci.AnnouncementsService.Inputs { - public sealed class GetFsuCyclesFilterInputArgs : global::Pulumi.ResourceArgs + public sealed class GetServicesFilterInputArgs : global::Pulumi.ResourceArgs { [Input("name", required: true)] public Input Name { get; set; } = null!; @@ -26,9 +26,9 @@ public InputList Values set => _values = value; } - public GetFsuCyclesFilterInputArgs() + public GetServicesFilterInputArgs() { } - public static new GetFsuCyclesFilterInputArgs Empty => new GetFsuCyclesFilterInputArgs(); + public static new GetServicesFilterInputArgs Empty => new GetServicesFilterInputArgs(); } } diff --git a/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionFilterGroups.cs b/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionFilterGroups.cs index a790d6bf5e..a80e31d0f8 100644 --- a/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionFilterGroups.cs +++ b/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionFilterGroups.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.AnnouncementsService.Outputs public sealed class AnnouncementSubscriptionFilterGroups { /// - /// 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. + /// A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// public readonly ImmutableArray Filters; /// diff --git a/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionFilterGroupsFilter.cs b/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionFilterGroupsFilter.cs index 9021fd138a..4bd6b0b4b8 100644 --- a/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionFilterGroupsFilter.cs +++ b/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionFilterGroupsFilter.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.AnnouncementsService.Outputs public sealed class AnnouncementSubscriptionFilterGroupsFilter { /// - /// The type of filter. + /// The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// public readonly string Type; /// diff --git a/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionsFilterGroupFilter.cs b/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionsFilterGroupFilter.cs index 672be9af24..85f0b72e0e 100644 --- a/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionsFilterGroupFilter.cs +++ b/sdk/dotnet/AnnouncementsService/Outputs/AnnouncementSubscriptionsFilterGroupFilter.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.AnnouncementsService.Outputs public sealed class AnnouncementSubscriptionsFilterGroupFilter { /// - /// (Updatable) The type of filter. + /// (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// public readonly string Type; /// diff --git a/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionFilterGroupFilterResult.cs b/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionFilterGroupFilterResult.cs index 72e9f1d2a1..93a64c89d3 100644 --- a/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionFilterGroupFilterResult.cs +++ b/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionFilterGroupFilterResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.AnnouncementsService.Outputs public sealed class GetAnnouncementSubscriptionFilterGroupFilterResult { /// - /// The type of filter. + /// The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// public readonly string Type; /// diff --git a/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionFilterGroupResult.cs b/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionFilterGroupResult.cs index 97394258c2..b576299bfd 100644 --- a/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionFilterGroupResult.cs +++ b/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionFilterGroupResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.AnnouncementsService.Outputs public sealed class GetAnnouncementSubscriptionFilterGroupResult { /// - /// 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. + /// A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// public readonly ImmutableArray Filters; /// diff --git a/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterResult.cs b/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterResult.cs index 22ddf17aa8..7eb52d1006 100644 --- a/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterResult.cs +++ b/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.AnnouncementsService.Outputs public sealed class GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterResult { /// - /// The type of filter. + /// The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// public readonly string Type; /// diff --git a/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupResult.cs b/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupResult.cs index d9cd93f3e8..0d4731255c 100644 --- a/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupResult.cs +++ b/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.AnnouncementsService.Outputs public sealed class GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupResult { /// - /// 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. + /// A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. /// public readonly ImmutableArray Filters; /// diff --git a/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemResult.cs b/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemResult.cs index e79705ff64..3a3e478e6a 100644 --- a/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemResult.cs +++ b/sdk/dotnet/AnnouncementsService/Outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemResult.cs @@ -50,11 +50,11 @@ public sealed class GetAnnouncementSubscriptionsAnnouncementSubscriptionCollecti /// public readonly string OnsTopicId; /// - /// (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + /// (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. /// public readonly string PreferredLanguage; /// - /// The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + /// The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles /// public readonly string PreferredTimeZone; /// diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFilterResult.cs b/sdk/dotnet/AnnouncementsService/Outputs/GetServicesFilterResult.cs similarity index 83% rename from sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFilterResult.cs rename to sdk/dotnet/AnnouncementsService/Outputs/GetServicesFilterResult.cs index 26af8c1963..503e4f2cb2 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFilterResult.cs +++ b/sdk/dotnet/AnnouncementsService/Outputs/GetServicesFilterResult.cs @@ -7,18 +7,18 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Outputs +namespace Pulumi.Oci.AnnouncementsService.Outputs { [OutputType] - public sealed class GetFsuCyclesFilterResult + public sealed class GetServicesFilterResult { public readonly string Name; public readonly bool? Regex; public readonly ImmutableArray Values; [OutputConstructor] - private GetFsuCyclesFilterResult( + private GetServicesFilterResult( string name, bool? regex, diff --git a/sdk/dotnet/AnnouncementsService/Outputs/GetServicesServicesCollectionItemResult.cs b/sdk/dotnet/AnnouncementsService/Outputs/GetServicesServicesCollectionItemResult.cs new file mode 100644 index 0000000000..35f6e7bf0a --- /dev/null +++ b/sdk/dotnet/AnnouncementsService/Outputs/GetServicesServicesCollectionItemResult.cs @@ -0,0 +1,102 @@ +// *** 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.AnnouncementsService.Outputs +{ + + [OutputType] + public sealed class GetServicesServicesCollectionItemResult + { + /// + /// Filter by comms manager name + /// + public readonly string CommsManagerName; + /// + /// The list of realms where this service is not available to be used. + /// + public readonly ImmutableArray ExcludedRealms; + /// + /// ID of the service object. + /// + public readonly string Id; + /// + /// A filter to return only services underlying a specific platform. + /// + public readonly string PlatformType; + /// + /// The list of previously used names for this service object. + /// + public readonly ImmutableArray PreviousServiceNames; + /// + /// Name of the service represented by this object. + /// + public readonly string ServiceName; + /// + /// Short name of the team to whom this service object is related. + /// + public readonly string ShortName; + /// + /// Current state of the service object. + /// + public readonly string State; + /// + /// Team name to which this service object is related. + /// + public readonly string TeamName; + /// + /// The date and time when the service object was created. + /// + public readonly string TimeCreated; + /// + /// The date and time when the service object was updated. + /// + public readonly string TimeUpdated; + public readonly string Type; + + [OutputConstructor] + private GetServicesServicesCollectionItemResult( + string commsManagerName, + + ImmutableArray excludedRealms, + + string id, + + string platformType, + + ImmutableArray previousServiceNames, + + string serviceName, + + string shortName, + + string state, + + string teamName, + + string timeCreated, + + string timeUpdated, + + string type) + { + CommsManagerName = commsManagerName; + ExcludedRealms = excludedRealms; + Id = id; + PlatformType = platformType; + PreviousServiceNames = previousServiceNames; + ServiceName = serviceName; + ShortName = shortName; + State = state; + TeamName = teamName; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + Type = type; + } + } +} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionResult.cs b/sdk/dotnet/AnnouncementsService/Outputs/GetServicesServicesCollectionResult.cs similarity index 54% rename from sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionResult.cs rename to sdk/dotnet/AnnouncementsService/Outputs/GetServicesServicesCollectionResult.cs index 77abcdab89..d7eef56382 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionResult.cs +++ b/sdk/dotnet/AnnouncementsService/Outputs/GetServicesServicesCollectionResult.cs @@ -7,16 +7,16 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Outputs +namespace Pulumi.Oci.AnnouncementsService.Outputs { [OutputType] - public sealed class GetFsuCyclesFsuCycleSummaryCollectionResult + public sealed class GetServicesServicesCollectionResult { - public readonly ImmutableArray Items; + public readonly ImmutableArray Items; [OutputConstructor] - private GetFsuCyclesFsuCycleSummaryCollectionResult(ImmutableArray items) + private GetServicesServicesCollectionResult(ImmutableArray items) { Items = items; } diff --git a/sdk/dotnet/BigDataService/BdsInstance.cs b/sdk/dotnet/BigDataService/BdsInstance.cs index e8db62f5f4..88cbd01de0 100644 --- a/sdk/dotnet/BigDataService/BdsInstance.cs +++ b/sdk/dotnet/BigDataService/BdsInstance.cs @@ -25,9 +25,6 @@ namespace Pulumi.Oci.BigDataService [OciResourceType("oci:BigDataService/bdsInstance:BdsInstance")] public partial class BdsInstance : global::Pulumi.CustomResource { - [Output("addKafkaTrigger")] - public Output AddKafkaTrigger { get; private set; } = null!; - /// /// (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. /// @@ -100,12 +97,6 @@ public partial class BdsInstance : global::Pulumi.CustomResource [Output("edgeNode")] public Output EdgeNode { get; private set; } = null!; - /// - /// (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - /// - [Output("executeBootstrapScriptTrigger")] - public Output ExecuteBootstrapScriptTrigger { 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"}` /// @@ -202,12 +193,6 @@ public partial class BdsInstance : global::Pulumi.CustomResource [Output("osPatchVersion")] public Output OsPatchVersion { get; private set; } = null!; - /// - /// (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - /// - [Output("removeKafkaTrigger")] - public Output RemoveKafkaTrigger { get; private set; } = null!; - /// /// (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. /// @@ -285,9 +270,6 @@ public static BdsInstance Get(string name, Input id, BdsInstanceState? s public sealed class BdsInstanceArgs : global::Pulumi.ResourceArgs { - [Input("addKafkaTrigger")] - public Input? AddKafkaTrigger { get; set; } - /// /// (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. /// @@ -370,12 +352,6 @@ public InputMap DefinedTags [Input("edgeNode")] public Input? EdgeNode { get; set; } - /// - /// (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - /// - [Input("executeBootstrapScriptTrigger")] - public Input? ExecuteBootstrapScriptTrigger { get; set; } - [Input("freeformTags")] private InputMap? _freeformTags; @@ -466,12 +442,6 @@ public InputList IgnoreExistingNodesShapes [Input("osPatchVersion")] public Input? OsPatchVersion { get; set; } - /// - /// (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - /// - [Input("removeKafkaTrigger")] - public Input? RemoveKafkaTrigger { get; set; } - /// /// (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. /// @@ -495,9 +465,6 @@ public BdsInstanceArgs() public sealed class BdsInstanceState : global::Pulumi.ResourceArgs { - [Input("addKafkaTrigger")] - public Input? AddKafkaTrigger { get; set; } - /// /// (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. /// @@ -598,12 +565,6 @@ public InputMap DefinedTags [Input("edgeNode")] public Input? EdgeNode { get; set; } - /// - /// (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - /// - [Input("executeBootstrapScriptTrigger")] - public Input? ExecuteBootstrapScriptTrigger { get; set; } - [Input("freeformTags")] private InputMap? _freeformTags; @@ -718,12 +679,6 @@ public InputList Nodes [Input("osPatchVersion")] public Input? OsPatchVersion { get; set; } - /// - /// (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - /// - [Input("removeKafkaTrigger")] - public Input? RemoveKafkaTrigger { get; set; } - /// /// (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. /// diff --git a/sdk/dotnet/BigDataService/GetBdsInstance.cs b/sdk/dotnet/BigDataService/GetBdsInstance.cs index a5f188f2f5..2bbfa46e3b 100644 --- a/sdk/dotnet/BigDataService/GetBdsInstance.cs +++ b/sdk/dotnet/BigDataService/GetBdsInstance.cs @@ -97,7 +97,6 @@ public GetBdsInstanceInvokeArgs() [OutputType] public sealed class GetBdsInstanceResult { - public readonly int AddKafkaTrigger; public readonly string BdsInstanceId; /// /// pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. @@ -139,7 +138,6 @@ public sealed class GetBdsInstanceResult /// public readonly string DisplayName; public readonly ImmutableArray EdgeNodes; - public readonly int ExecuteBootstrapScriptTrigger; /// /// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` /// @@ -190,7 +188,6 @@ public sealed class GetBdsInstanceResult /// public readonly int NumberOfNodesRequiringMaintenanceReboot; public readonly string OsPatchVersion; - public readonly int RemoveKafkaTrigger; /// /// The state of the cluster. /// @@ -208,8 +205,6 @@ public sealed class GetBdsInstanceResult [OutputConstructor] private GetBdsInstanceResult( - int addKafkaTrigger, - string bdsInstanceId, string bootstrapScriptUrl, @@ -238,8 +233,6 @@ private GetBdsInstanceResult( ImmutableArray edgeNodes, - int executeBootstrapScriptTrigger, - ImmutableDictionary freeformTags, string id, @@ -274,8 +267,6 @@ private GetBdsInstanceResult( string osPatchVersion, - int removeKafkaTrigger, - string state, string timeCreated, @@ -286,7 +277,6 @@ private GetBdsInstanceResult( ImmutableArray workerNodes) { - AddKafkaTrigger = addKafkaTrigger; BdsInstanceId = bdsInstanceId; BootstrapScriptUrl = bootstrapScriptUrl; CloudSqlDetails = cloudSqlDetails; @@ -301,7 +291,6 @@ private GetBdsInstanceResult( DefinedTags = definedTags; DisplayName = displayName; EdgeNodes = edgeNodes; - ExecuteBootstrapScriptTrigger = executeBootstrapScriptTrigger; FreeformTags = freeformTags; Id = id; IgnoreExistingNodesShapes = ignoreExistingNodesShapes; @@ -319,7 +308,6 @@ private GetBdsInstanceResult( NumberOfNodes = numberOfNodes; NumberOfNodesRequiringMaintenanceReboot = numberOfNodesRequiringMaintenanceReboot; OsPatchVersion = osPatchVersion; - RemoveKafkaTrigger = removeKafkaTrigger; State = state; TimeCreated = timeCreated; TimeUpdated = timeUpdated; diff --git a/sdk/dotnet/BigDataService/Inputs/BdsInstanceCloudSqlDetailArgs.cs b/sdk/dotnet/BigDataService/Inputs/BdsInstanceCloudSqlDetailArgs.cs index f9e4950d28..af24d2c419 100644 --- a/sdk/dotnet/BigDataService/Inputs/BdsInstanceCloudSqlDetailArgs.cs +++ b/sdk/dotnet/BigDataService/Inputs/BdsInstanceCloudSqlDetailArgs.cs @@ -60,30 +60,12 @@ public InputList KerberosDet [Input("ocpus")] public Input? Ocpus { get; set; } - /// - /// Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - /// - [Input("odhVersion")] - public Input? OdhVersion { get; set; } - - /// - /// BDS-assigned Operating System version for the node. - /// - [Input("osVersion")] - public Input? OsVersion { get; set; } - /// /// Shape of the node /// [Input("shape", required: true)] public Input Shape { get; set; } = null!; - /// - /// The fingerprint of the SSH key used for node access - /// - [Input("sshFingerprint")] - public Input? SshFingerprint { get; set; } - public BdsInstanceCloudSqlDetailArgs() { } diff --git a/sdk/dotnet/BigDataService/Inputs/BdsInstanceCloudSqlDetailGetArgs.cs b/sdk/dotnet/BigDataService/Inputs/BdsInstanceCloudSqlDetailGetArgs.cs index 8a70228896..73645900fa 100644 --- a/sdk/dotnet/BigDataService/Inputs/BdsInstanceCloudSqlDetailGetArgs.cs +++ b/sdk/dotnet/BigDataService/Inputs/BdsInstanceCloudSqlDetailGetArgs.cs @@ -60,30 +60,12 @@ public InputList Kerberos [Input("ocpus")] public Input? Ocpus { get; set; } - /// - /// Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - /// - [Input("odhVersion")] - public Input? OdhVersion { get; set; } - - /// - /// BDS-assigned Operating System version for the node. - /// - [Input("osVersion")] - public Input? OsVersion { get; set; } - /// /// Shape of the node /// [Input("shape", required: true)] public Input Shape { get; set; } = null!; - /// - /// The fingerprint of the SSH key used for node access - /// - [Input("sshFingerprint")] - public Input? SshFingerprint { get; set; } - public BdsInstanceCloudSqlDetailGetArgs() { } diff --git a/sdk/dotnet/BigDataService/Outputs/BdsInstanceCloudSqlDetail.cs b/sdk/dotnet/BigDataService/Outputs/BdsInstanceCloudSqlDetail.cs index 2cd5f2af74..0ed80dccfd 100644 --- a/sdk/dotnet/BigDataService/Outputs/BdsInstanceCloudSqlDetail.cs +++ b/sdk/dotnet/BigDataService/Outputs/BdsInstanceCloudSqlDetail.cs @@ -42,21 +42,9 @@ public sealed class BdsInstanceCloudSqlDetail /// public readonly int? Ocpus; /// - /// Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - /// - public readonly string? OdhVersion; - /// - /// BDS-assigned Operating System version for the node. - /// - public readonly string? OsVersion; - /// /// Shape of the node /// public readonly string Shape; - /// - /// The fingerprint of the SSH key used for node access - /// - public readonly string? SshFingerprint; [OutputConstructor] private BdsInstanceCloudSqlDetail( @@ -74,13 +62,7 @@ private BdsInstanceCloudSqlDetail( int? ocpus, - string? odhVersion, - - string? osVersion, - - string shape, - - string? sshFingerprint) + string shape) { BlockVolumeSizeInGbs = blockVolumeSizeInGbs; IpAddress = ipAddress; @@ -89,10 +71,7 @@ private BdsInstanceCloudSqlDetail( MemoryInGbs = memoryInGbs; Nvmes = nvmes; Ocpus = ocpus; - OdhVersion = odhVersion; - OsVersion = osVersion; Shape = shape; - SshFingerprint = sshFingerprint; } } } diff --git a/sdk/dotnet/BigDataService/Outputs/GetBdsInstanceCloudSqlDetailResult.cs b/sdk/dotnet/BigDataService/Outputs/GetBdsInstanceCloudSqlDetailResult.cs index 81b537cb61..c121b2df11 100644 --- a/sdk/dotnet/BigDataService/Outputs/GetBdsInstanceCloudSqlDetailResult.cs +++ b/sdk/dotnet/BigDataService/Outputs/GetBdsInstanceCloudSqlDetailResult.cs @@ -42,21 +42,9 @@ public sealed class GetBdsInstanceCloudSqlDetailResult /// public readonly int Ocpus; /// - /// Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - /// - public readonly string OdhVersion; - /// - /// BDS-assigned Operating System version for the node. - /// - public readonly string OsVersion; - /// /// Shape of the node. /// public readonly string Shape; - /// - /// The fingerprint of the SSH key used for node access. - /// - public readonly string SshFingerprint; [OutputConstructor] private GetBdsInstanceCloudSqlDetailResult( @@ -74,13 +62,7 @@ private GetBdsInstanceCloudSqlDetailResult( int ocpus, - string odhVersion, - - string osVersion, - - string shape, - - string sshFingerprint) + string shape) { BlockVolumeSizeInGbs = blockVolumeSizeInGbs; IpAddress = ipAddress; @@ -89,10 +71,7 @@ private GetBdsInstanceCloudSqlDetailResult( MemoryInGbs = memoryInGbs; Nvmes = nvmes; Ocpus = ocpus; - OdhVersion = odhVersion; - OsVersion = osVersion; Shape = shape; - SshFingerprint = sshFingerprint; } } } diff --git a/sdk/dotnet/BigDataService/Outputs/GetBdsInstancesBdsInstanceCloudSqlDetailResult.cs b/sdk/dotnet/BigDataService/Outputs/GetBdsInstancesBdsInstanceCloudSqlDetailResult.cs index ebb225f70a..02b0e8b9ca 100644 --- a/sdk/dotnet/BigDataService/Outputs/GetBdsInstancesBdsInstanceCloudSqlDetailResult.cs +++ b/sdk/dotnet/BigDataService/Outputs/GetBdsInstancesBdsInstanceCloudSqlDetailResult.cs @@ -42,21 +42,9 @@ public sealed class GetBdsInstancesBdsInstanceCloudSqlDetailResult /// public readonly int Ocpus; /// - /// Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - /// - public readonly string OdhVersion; - /// - /// BDS-assigned Operating System version for the node. - /// - public readonly string OsVersion; - /// /// Shape of the node. /// public readonly string Shape; - /// - /// The fingerprint of the SSH key used for node access. - /// - public readonly string SshFingerprint; [OutputConstructor] private GetBdsInstancesBdsInstanceCloudSqlDetailResult( @@ -74,13 +62,7 @@ private GetBdsInstancesBdsInstanceCloudSqlDetailResult( int ocpus, - string odhVersion, - - string osVersion, - - string shape, - - string sshFingerprint) + string shape) { BlockVolumeSizeInGbs = blockVolumeSizeInGbs; IpAddress = ipAddress; @@ -89,10 +71,7 @@ private GetBdsInstancesBdsInstanceCloudSqlDetailResult( MemoryInGbs = memoryInGbs; Nvmes = nvmes; Ocpus = ocpus; - OdhVersion = odhVersion; - OsVersion = osVersion; Shape = shape; - SshFingerprint = sshFingerprint; } } } diff --git a/sdk/dotnet/BigDataService/Outputs/GetBdsInstancesBdsInstanceResult.cs b/sdk/dotnet/BigDataService/Outputs/GetBdsInstancesBdsInstanceResult.cs index 223da48a0e..137996a07a 100644 --- a/sdk/dotnet/BigDataService/Outputs/GetBdsInstancesBdsInstanceResult.cs +++ b/sdk/dotnet/BigDataService/Outputs/GetBdsInstancesBdsInstanceResult.cs @@ -13,7 +13,6 @@ namespace Pulumi.Oci.BigDataService.Outputs [OutputType] public sealed class GetBdsInstancesBdsInstanceResult { - public readonly int AddKafkaTrigger; /// /// pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. /// @@ -54,7 +53,6 @@ public sealed class GetBdsInstancesBdsInstanceResult /// public readonly string DisplayName; public readonly ImmutableArray EdgeNodes; - public readonly int ExecuteBootstrapScriptTrigger; /// /// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` /// @@ -105,7 +103,6 @@ public sealed class GetBdsInstancesBdsInstanceResult /// public readonly int NumberOfNodesRequiringMaintenanceReboot; public readonly string OsPatchVersion; - public readonly int RemoveKafkaTrigger; /// /// The state of the cluster. /// @@ -123,8 +120,6 @@ public sealed class GetBdsInstancesBdsInstanceResult [OutputConstructor] private GetBdsInstancesBdsInstanceResult( - int addKafkaTrigger, - string bootstrapScriptUrl, ImmutableArray cloudSqlDetails, @@ -151,8 +146,6 @@ private GetBdsInstancesBdsInstanceResult( ImmutableArray edgeNodes, - int executeBootstrapScriptTrigger, - ImmutableDictionary freeformTags, string id, @@ -187,8 +180,6 @@ private GetBdsInstancesBdsInstanceResult( string osPatchVersion, - int removeKafkaTrigger, - string state, string timeCreated, @@ -199,7 +190,6 @@ private GetBdsInstancesBdsInstanceResult( ImmutableArray workerNodes) { - AddKafkaTrigger = addKafkaTrigger; BootstrapScriptUrl = bootstrapScriptUrl; CloudSqlDetails = cloudSqlDetails; ClusterAdminPassword = clusterAdminPassword; @@ -213,7 +203,6 @@ private GetBdsInstancesBdsInstanceResult( DefinedTags = definedTags; DisplayName = displayName; EdgeNodes = edgeNodes; - ExecuteBootstrapScriptTrigger = executeBootstrapScriptTrigger; FreeformTags = freeformTags; Id = id; IgnoreExistingNodesShapes = ignoreExistingNodesShapes; @@ -231,7 +220,6 @@ private GetBdsInstancesBdsInstanceResult( NumberOfNodes = numberOfNodes; NumberOfNodesRequiringMaintenanceReboot = numberOfNodesRequiringMaintenanceReboot; OsPatchVersion = osPatchVersion; - RemoveKafkaTrigger = removeKafkaTrigger; State = state; TimeCreated = timeCreated; TimeUpdated = timeUpdated; diff --git a/sdk/dotnet/DataSafe/DatabaseSecurityConfigManagement.cs b/sdk/dotnet/DataSafe/DatabaseSecurityConfigManagement.cs index 892fb6b5b2..b00ebc2371 100644 --- a/sdk/dotnet/DataSafe/DatabaseSecurityConfigManagement.cs +++ b/sdk/dotnet/DataSafe/DatabaseSecurityConfigManagement.cs @@ -9,48 +9,138 @@ namespace Pulumi.Oci.DataSafe { + /// + /// This resource provides the Database Security Config Management resource in Oracle Cloud Infrastructure Data Safe service. + /// + /// Updates the database security configuration. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDatabaseSecurityConfigManagement = new Oci.DataSafe.DatabaseSecurityConfigManagement("test_database_security_config_management", new() + /// { + /// CompartmentId = compartmentId, + /// TargetId = testTargetDatabase.Id, + /// DefinedTags = + /// { + /// { "Operations.CostCenter", "42" }, + /// }, + /// Description = databaseSecurityConfigManagementDescription, + /// DisplayName = databaseSecurityConfigManagementDisplayName, + /// FreeformTags = + /// { + /// { "Department", "Finance" }, + /// }, + /// SqlFirewallConfig = new Oci.DataSafe.Inputs.DatabaseSecurityConfigManagementSqlFirewallConfigArgs + /// { + /// ExcludeJob = databaseSecurityConfigManagementSqlFirewallConfigExcludeJob, + /// Status = databaseSecurityConfigManagementSqlFirewallConfigStatus, + /// ViolationLogAutoPurge = databaseSecurityConfigManagementSqlFirewallConfigViolationLogAutoPurge, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Import is not supported for this resource. + /// [OciResourceType("oci:DataSafe/databaseSecurityConfigManagement:DatabaseSecurityConfigManagement")] public partial class DatabaseSecurityConfigManagement : global::Pulumi.CustomResource { + /// + /// (Updatable) The OCID of the compartment containing the database security config. + /// [Output("compartmentId")] public Output CompartmentId { get; private set; } = null!; + /// + /// (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"}` + /// [Output("definedTags")] public Output> DefinedTags { get; private set; } = null!; + /// + /// (Updatable) The description of the security policy. + /// [Output("description")] public Output Description { get; private set; } = null!; + /// + /// (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + /// [Output("displayName")] public Output DisplayName { 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"}` + /// [Output("freeformTags")] public Output> FreeformTags { get; private set; } = null!; + /// + /// Details about the current state of the database security config in Data Safe. + /// [Output("lifecycleDetails")] public Output LifecycleDetails { get; private set; } = null!; + /// + /// (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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("refreshTrigger")] public Output RefreshTrigger { get; private set; } = null!; + /// + /// (Updatable) Details to update the SQL firewall config. + /// [Output("sqlFirewallConfig")] public Output SqlFirewallConfig { get; private set; } = null!; + /// + /// The current state of the database security config. + /// [Output("state")] public Output State { get; private set; } = null!; + /// + /// 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"}` + /// [Output("systemTags")] public Output> SystemTags { get; private set; } = null!; + /// + /// Unique target identifier. + /// [Output("targetId")] public Output TargetId { get; private set; } = null!; + /// + /// The time that the database security config was created, in the format defined by RFC3339. + /// [Output("timeCreated")] public Output TimeCreated { get; private set; } = null!; + /// + /// The last date and time the database security config was refreshed, in the format defined by RFC3339. + /// [Output("timeLastRefreshed")] public Output TimeLastRefreshed { get; private set; } = null!; + /// + /// The date and time the database security configuration was last updated, in the format defined by RFC3339. + /// [Output("timeUpdated")] public Output TimeUpdated { get; private set; } = null!; @@ -100,37 +190,67 @@ public static DatabaseSecurityConfigManagement Get(string name, Input id public sealed class DatabaseSecurityConfigManagementArgs : global::Pulumi.ResourceArgs { + /// + /// (Updatable) The OCID of the compartment containing the database security config. + /// [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. For more information, 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) The description of the security policy. + /// [Input("description")] public Input? Description { get; set; } + /// + /// (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + /// [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. For more information, 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; } + /// + /// (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 + /// [Input("refreshTrigger")] public Input? RefreshTrigger { get; set; } + /// + /// (Updatable) Details to update the SQL firewall config. + /// [Input("sqlFirewallConfig")] public Input? SqlFirewallConfig { get; set; } + /// + /// Unique target identifier. + /// [Input("targetId")] public Input? TargetId { get; set; } @@ -142,60 +262,109 @@ public DatabaseSecurityConfigManagementArgs() public sealed class DatabaseSecurityConfigManagementState : global::Pulumi.ResourceArgs { + /// + /// (Updatable) The OCID of the compartment containing the database security config. + /// [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. For more information, 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) The description of the security policy. + /// [Input("description")] public Input? Description { get; set; } + /// + /// (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + /// [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. For more information, 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 about the current state of the database security config in Data Safe. + /// [Input("lifecycleDetails")] public Input? LifecycleDetails { get; set; } + /// + /// (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 + /// [Input("refreshTrigger")] public Input? RefreshTrigger { get; set; } + /// + /// (Updatable) Details to update the SQL firewall config. + /// [Input("sqlFirewallConfig")] public Input? SqlFirewallConfig { get; set; } + /// + /// The current state of the database security config. + /// [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. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// public InputMap SystemTags { get => _systemTags ?? (_systemTags = new InputMap()); set => _systemTags = value; } + /// + /// Unique target identifier. + /// [Input("targetId")] public Input? TargetId { get; set; } + /// + /// The time that the database security config was created, in the format defined by RFC3339. + /// [Input("timeCreated")] public Input? TimeCreated { get; set; } + /// + /// The last date and time the database security config was refreshed, in the format defined by RFC3339. + /// [Input("timeLastRefreshed")] public Input? TimeLastRefreshed { get; set; } + /// + /// The date and time the database security configuration was last updated, in the format defined by RFC3339. + /// [Input("timeUpdated")] public Input? TimeUpdated { get; set; } diff --git a/sdk/dotnet/DataSafe/Inputs/DatabaseSecurityConfigManagementSqlFirewallConfigArgs.cs b/sdk/dotnet/DataSafe/Inputs/DatabaseSecurityConfigManagementSqlFirewallConfigArgs.cs index c57bd0889e..501b3ed7e5 100644 --- a/sdk/dotnet/DataSafe/Inputs/DatabaseSecurityConfigManagementSqlFirewallConfigArgs.cs +++ b/sdk/dotnet/DataSafe/Inputs/DatabaseSecurityConfigManagementSqlFirewallConfigArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Oci.DataSafe.Inputs public sealed class DatabaseSecurityConfigManagementSqlFirewallConfigArgs : global::Pulumi.ResourceArgs { + /// + /// (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + /// [Input("excludeJob")] public Input? ExcludeJob { get; set; } + /// + /// (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + /// [Input("status")] public Input? Status { get; set; } + /// + /// The most recent time when the firewall status is updated, in the format defined by RFC3339. + /// [Input("timeStatusUpdated")] public Input? TimeStatusUpdated { get; set; } + /// + /// (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + /// [Input("violationLogAutoPurge")] public Input? ViolationLogAutoPurge { get; set; } diff --git a/sdk/dotnet/DataSafe/Inputs/DatabaseSecurityConfigManagementSqlFirewallConfigGetArgs.cs b/sdk/dotnet/DataSafe/Inputs/DatabaseSecurityConfigManagementSqlFirewallConfigGetArgs.cs index 2ce013d422..906ef5587f 100644 --- a/sdk/dotnet/DataSafe/Inputs/DatabaseSecurityConfigManagementSqlFirewallConfigGetArgs.cs +++ b/sdk/dotnet/DataSafe/Inputs/DatabaseSecurityConfigManagementSqlFirewallConfigGetArgs.cs @@ -12,15 +12,27 @@ namespace Pulumi.Oci.DataSafe.Inputs public sealed class DatabaseSecurityConfigManagementSqlFirewallConfigGetArgs : global::Pulumi.ResourceArgs { + /// + /// (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + /// [Input("excludeJob")] public Input? ExcludeJob { get; set; } + /// + /// (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + /// [Input("status")] public Input? Status { get; set; } + /// + /// The most recent time when the firewall status is updated, in the format defined by RFC3339. + /// [Input("timeStatusUpdated")] public Input? TimeStatusUpdated { get; set; } + /// + /// (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + /// [Input("violationLogAutoPurge")] public Input? ViolationLogAutoPurge { get; set; } diff --git a/sdk/dotnet/DataSafe/MaskingPolicyHealthReportManagement.cs b/sdk/dotnet/DataSafe/MaskingPolicyHealthReportManagement.cs new file mode 100644 index 0000000000..55f526ce5d --- /dev/null +++ b/sdk/dotnet/DataSafe/MaskingPolicyHealthReportManagement.cs @@ -0,0 +1,238 @@ +// *** 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.DataSafe +{ + /// + /// This resource provides Pre-masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. + /// + /// Gets the details of the specified pre-masking health report. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testPreMaskingReportManagement = new Oci.DataSafe.MaskingPolicyHealthReportManagement("test_pre_masking_report_management", new() + /// { + /// TargetId = testTargetDatabase.Id, + /// MaskingPolicyId = testMaskingPolicy.Id, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Import is not supported for this resource. + /// + [OciResourceType("oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement")] + public partial class MaskingPolicyHealthReportManagement : global::Pulumi.CustomResource + { + /// + /// The OCID of the compartment that contains the masking report. + /// + [Output("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + [Output("definedTags")] + public Output> DefinedTags { get; private set; } = null!; + + /// + /// Description for the pre-masking report, + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// The display name of the pre-masking report, + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + [Output("freeformTags")] + public Output> FreeformTags { get; private set; } = null!; + + /// + /// The OCID of the masking policy. + /// + [Output("maskingPolicyId")] + public Output MaskingPolicyId { get; private set; } = null!; + + /// + /// The current state of the pre-masking report. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// The OCID of the target database masked. + /// + [Output("targetId")] + public Output TargetId { get; private set; } = null!; + + /// + /// The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + /// + [Output("timeUpdated")] + public Output TimeUpdated { get; private set; } = null!; + + + /// + /// Create a MaskingPolicyHealthReportManagement 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 MaskingPolicyHealthReportManagement(string name, MaskingPolicyHealthReportManagementArgs? args = null, CustomResourceOptions? options = null) + : base("oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement", name, args ?? new MaskingPolicyHealthReportManagementArgs(), MakeResourceOptions(options, "")) + { + } + + private MaskingPolicyHealthReportManagement(string name, Input id, MaskingPolicyHealthReportManagementState? state = null, CustomResourceOptions? options = null) + : base("oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement", 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 MaskingPolicyHealthReportManagement 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 MaskingPolicyHealthReportManagement Get(string name, Input id, MaskingPolicyHealthReportManagementState? state = null, CustomResourceOptions? options = null) + { + return new MaskingPolicyHealthReportManagement(name, id, state, options); + } + } + + public sealed class MaskingPolicyHealthReportManagementArgs : global::Pulumi.ResourceArgs + { + /// + /// The OCID of the compartment that contains the masking report. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// The OCID of the masking policy. + /// + [Input("maskingPolicyId")] + public Input? MaskingPolicyId { get; set; } + + /// + /// The OCID of the target database masked. + /// + [Input("targetId")] + public Input? TargetId { get; set; } + + public MaskingPolicyHealthReportManagementArgs() + { + } + public static new MaskingPolicyHealthReportManagementArgs Empty => new MaskingPolicyHealthReportManagementArgs(); + } + + public sealed class MaskingPolicyHealthReportManagementState : global::Pulumi.ResourceArgs + { + /// + /// The OCID of the compartment that contains the masking report. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + [Input("definedTags")] + private InputMap? _definedTags; + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// Description for the pre-masking report, + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// The display name of the pre-masking report, + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("freeformTags")] + private InputMap? _freeformTags; + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + /// + /// The OCID of the masking policy. + /// + [Input("maskingPolicyId")] + public Input? MaskingPolicyId { get; set; } + + /// + /// The current state of the pre-masking report. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// The OCID of the target database masked. + /// + [Input("targetId")] + public Input? TargetId { get; set; } + + /// + /// The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + /// + [Input("timeUpdated")] + public Input? TimeUpdated { get; set; } + + public MaskingPolicyHealthReportManagementState() + { + } + public static new MaskingPolicyHealthReportManagementState Empty => new MaskingPolicyHealthReportManagementState(); + } +} diff --git a/sdk/dotnet/DataSafe/MaskingReportManagement.cs b/sdk/dotnet/DataSafe/MaskingReportManagement.cs new file mode 100644 index 0000000000..abf60ca7c2 --- /dev/null +++ b/sdk/dotnet/DataSafe/MaskingReportManagement.cs @@ -0,0 +1,336 @@ +// *** 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.DataSafe +{ + /// + /// This resource provides Masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. + /// + /// Gets the details of the specified masking report. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testMaskingReportManagement = new Oci.DataSafe.MaskingReportManagement("test_masking_report_management", new() + /// { + /// TargetId = testTargetDatabase.Id, + /// MaskingPolicyId = testMaskingPolicy.Id, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Import is not supported for this resource. + /// + [OciResourceType("oci:DataSafe/maskingReportManagement:MaskingReportManagement")] + public partial class MaskingReportManagement : global::Pulumi.CustomResource + { + /// + /// The OCID of the compartment that contains the masking report. + /// + [Output("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// Indicates if the temporary tables created during the masking operation were dropped after masking. + /// + [Output("isDropTempTablesEnabled")] + public Output IsDropTempTablesEnabled { get; private set; } = null!; + + /// + /// Indicates if redo logging was enabled during the masking operation. + /// + [Output("isRedoLoggingEnabled")] + public Output IsRedoLoggingEnabled { get; private set; } = null!; + + /// + /// Indicates if statistics gathering was enabled during the masking operation. + /// + [Output("isRefreshStatsEnabled")] + public Output IsRefreshStatsEnabled { get; private set; } = null!; + + /// + /// The OCID of the masking policy. + /// + [Output("maskingPolicyId")] + public Output MaskingPolicyId { get; private set; } = null!; + + /// + /// The OCID of the masking work request that resulted in this masking report. + /// + [Output("maskingWorkRequestId")] + public Output MaskingWorkRequestId { get; private set; } = null!; + + /// + /// Indicates if parallel execution was enabled during the masking operation. + /// + [Output("parallelDegree")] + public Output ParallelDegree { get; private set; } = null!; + + /// + /// Indicates how invalid objects were recompiled post the masking operation. + /// + [Output("recompile")] + public Output Recompile { get; private set; } = null!; + + /// + /// The current state of the masking report. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// The OCID of the target database masked. + /// + [Output("targetId")] + public Output TargetId { get; private set; } = null!; + + /// + /// The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + /// + [Output("timeMaskingFinished")] + public Output TimeMaskingFinished { get; private set; } = null!; + + /// + /// The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + /// + [Output("timeMaskingStarted")] + public Output TimeMaskingStarted { get; private set; } = null!; + + /// + /// The total number of masked columns. + /// + [Output("totalMaskedColumns")] + public Output TotalMaskedColumns { get; private set; } = null!; + + /// + /// The total number of unique objects (tables and editioning views) that contain the masked columns. + /// + [Output("totalMaskedObjects")] + public Output TotalMaskedObjects { get; private set; } = null!; + + /// + /// The total number of unique schemas that contain the masked columns. + /// + [Output("totalMaskedSchemas")] + public Output TotalMaskedSchemas { get; private set; } = null!; + + /// + /// The total number of unique sensitive types associated with the masked columns. + /// + [Output("totalMaskedSensitiveTypes")] + public Output TotalMaskedSensitiveTypes { get; private set; } = null!; + + /// + /// The total number of masked values. + /// + [Output("totalMaskedValues")] + public Output TotalMaskedValues { get; private set; } = null!; + + + /// + /// Create a MaskingReportManagement 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 MaskingReportManagement(string name, MaskingReportManagementArgs? args = null, CustomResourceOptions? options = null) + : base("oci:DataSafe/maskingReportManagement:MaskingReportManagement", name, args ?? new MaskingReportManagementArgs(), MakeResourceOptions(options, "")) + { + } + + private MaskingReportManagement(string name, Input id, MaskingReportManagementState? state = null, CustomResourceOptions? options = null) + : base("oci:DataSafe/maskingReportManagement:MaskingReportManagement", 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 MaskingReportManagement 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 MaskingReportManagement Get(string name, Input id, MaskingReportManagementState? state = null, CustomResourceOptions? options = null) + { + return new MaskingReportManagement(name, id, state, options); + } + } + + public sealed class MaskingReportManagementArgs : global::Pulumi.ResourceArgs + { + /// + /// The OCID of the compartment that contains the masking report. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// The OCID of the masking policy. + /// + [Input("maskingPolicyId")] + public Input? MaskingPolicyId { get; set; } + + /// + /// The OCID of the target database masked. + /// + [Input("targetId")] + public Input? TargetId { get; set; } + + public MaskingReportManagementArgs() + { + } + public static new MaskingReportManagementArgs Empty => new MaskingReportManagementArgs(); + } + + public sealed class MaskingReportManagementState : global::Pulumi.ResourceArgs + { + /// + /// The OCID of the compartment that contains the masking report. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// Indicates if the temporary tables created during the masking operation were dropped after masking. + /// + [Input("isDropTempTablesEnabled")] + public Input? IsDropTempTablesEnabled { get; set; } + + /// + /// Indicates if redo logging was enabled during the masking operation. + /// + [Input("isRedoLoggingEnabled")] + public Input? IsRedoLoggingEnabled { get; set; } + + /// + /// Indicates if statistics gathering was enabled during the masking operation. + /// + [Input("isRefreshStatsEnabled")] + public Input? IsRefreshStatsEnabled { get; set; } + + /// + /// The OCID of the masking policy. + /// + [Input("maskingPolicyId")] + public Input? MaskingPolicyId { get; set; } + + /// + /// The OCID of the masking work request that resulted in this masking report. + /// + [Input("maskingWorkRequestId")] + public Input? MaskingWorkRequestId { get; set; } + + /// + /// Indicates if parallel execution was enabled during the masking operation. + /// + [Input("parallelDegree")] + public Input? ParallelDegree { get; set; } + + /// + /// Indicates how invalid objects were recompiled post the masking operation. + /// + [Input("recompile")] + public Input? Recompile { get; set; } + + /// + /// The current state of the masking report. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// The OCID of the target database masked. + /// + [Input("targetId")] + public Input? TargetId { get; set; } + + /// + /// The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + /// + [Input("timeMaskingFinished")] + public Input? TimeMaskingFinished { get; set; } + + /// + /// The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + /// + [Input("timeMaskingStarted")] + public Input? TimeMaskingStarted { get; set; } + + /// + /// The total number of masked columns. + /// + [Input("totalMaskedColumns")] + public Input? TotalMaskedColumns { get; set; } + + /// + /// The total number of unique objects (tables and editioning views) that contain the masked columns. + /// + [Input("totalMaskedObjects")] + public Input? TotalMaskedObjects { get; set; } + + /// + /// The total number of unique schemas that contain the masked columns. + /// + [Input("totalMaskedSchemas")] + public Input? TotalMaskedSchemas { get; set; } + + /// + /// The total number of unique sensitive types associated with the masked columns. + /// + [Input("totalMaskedSensitiveTypes")] + public Input? TotalMaskedSensitiveTypes { get; set; } + + /// + /// The total number of masked values. + /// + [Input("totalMaskedValues")] + public Input? TotalMaskedValues { get; set; } + + public MaskingReportManagementState() + { + } + public static new MaskingReportManagementState Empty => new MaskingReportManagementState(); + } +} diff --git a/sdk/dotnet/DataSafe/Outputs/DatabaseSecurityConfigManagementSqlFirewallConfig.cs b/sdk/dotnet/DataSafe/Outputs/DatabaseSecurityConfigManagementSqlFirewallConfig.cs index 506e6e2115..594f7df6c0 100644 --- a/sdk/dotnet/DataSafe/Outputs/DatabaseSecurityConfigManagementSqlFirewallConfig.cs +++ b/sdk/dotnet/DataSafe/Outputs/DatabaseSecurityConfigManagementSqlFirewallConfig.cs @@ -13,9 +13,21 @@ namespace Pulumi.Oci.DataSafe.Outputs [OutputType] public sealed class DatabaseSecurityConfigManagementSqlFirewallConfig { + /// + /// (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + /// public readonly string? ExcludeJob; + /// + /// (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + /// public readonly string? Status; + /// + /// The most recent time when the firewall status is updated, in the format defined by RFC3339. + /// public readonly string? TimeStatusUpdated; + /// + /// (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + /// public readonly string? ViolationLogAutoPurge; [OutputConstructor] diff --git a/sdk/dotnet/DataSafe/SecurityPolicyDeploymentManagement.cs b/sdk/dotnet/DataSafe/SecurityPolicyDeploymentManagement.cs index aa15a8f89d..de5373e413 100644 --- a/sdk/dotnet/DataSafe/SecurityPolicyDeploymentManagement.cs +++ b/sdk/dotnet/DataSafe/SecurityPolicyDeploymentManagement.cs @@ -9,42 +9,116 @@ namespace Pulumi.Oci.DataSafe { + /// + /// This resource provides the Security Policy Deployment Management resource in Oracle Cloud Infrastructure Data Safe service. + /// + /// Updates the security policy deployment. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSecurityPolicyDeploymentManagement = new Oci.DataSafe.SecurityPolicyDeploymentManagement("test_security_policy_deployment_management", new() + /// { + /// CompartmentId = compartmentId, + /// TargetId = testTargetDatabase.Id, + /// DefinedTags = + /// { + /// { "Operations.CostCenter", "42" }, + /// }, + /// Description = securityPolicyDeploymentManagementDescription, + /// DisplayName = securityPolicyDeploymentManagementDisplayName, + /// FreeformTags = + /// { + /// { "Department", "Finance" }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Import is not supported for this resource. + /// [OciResourceType("oci:DataSafe/securityPolicyDeploymentManagement:SecurityPolicyDeploymentManagement")] public partial class SecurityPolicyDeploymentManagement : global::Pulumi.CustomResource { + /// + /// (Updatable) The OCID of the compartment containing the security policy deployment. + /// [Output("compartmentId")] public Output CompartmentId { get; private set; } = null!; + /// + /// (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"}` + /// [Output("definedTags")] public Output> DefinedTags { get; private set; } = null!; + /// + /// (Updatable) The description of the security policy deployment. + /// [Output("description")] public Output Description { get; private set; } = null!; + /// + /// (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + /// [Output("displayName")] public Output DisplayName { 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"}` + /// [Output("freeformTags")] public Output> FreeformTags { get; private set; } = null!; + /// + /// Details about the current state of the security policy deployment in Data Safe. + /// [Output("lifecycleDetails")] public Output LifecycleDetails { get; private set; } = null!; + /// + /// The OCID of the security policy corresponding to the security policy deployment. + /// [Output("securityPolicyId")] public Output SecurityPolicyId { get; private set; } = null!; + /// + /// The current state of the security policy deployment. + /// [Output("state")] public Output State { get; private set; } = null!; + /// + /// 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"}` + /// [Output("systemTags")] public Output> SystemTags { get; private set; } = null!; + /// + /// Unique target identifier. + /// [Output("targetId")] public Output TargetId { get; private set; } = null!; + /// + /// The time that the security policy deployment was created, in the format defined by RFC3339. + /// [Output("timeCreated")] public Output TimeCreated { get; private set; } = null!; + /// + /// The last date and time the security policy deployment was updated, in the format defined by RFC3339. + /// [Output("timeUpdated")] public Output TimeUpdated { get; private set; } = null!; @@ -94,31 +168,51 @@ public static SecurityPolicyDeploymentManagement Get(string name, Input public sealed class SecurityPolicyDeploymentManagementArgs : global::Pulumi.ResourceArgs { + /// + /// (Updatable) The OCID of the compartment containing the security policy deployment. + /// [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. For more information, 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) The description of the security policy deployment. + /// [Input("description")] public Input? Description { get; set; } + /// + /// (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + /// [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. For more information, 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; } + /// + /// Unique target identifier. + /// [Input("targetId")] public Input? TargetId { get; set; } @@ -130,54 +224,93 @@ public SecurityPolicyDeploymentManagementArgs() public sealed class SecurityPolicyDeploymentManagementState : global::Pulumi.ResourceArgs { + /// + /// (Updatable) The OCID of the compartment containing the security policy deployment. + /// [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. For more information, 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) The description of the security policy deployment. + /// [Input("description")] public Input? Description { get; set; } + /// + /// (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + /// [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. For more information, 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 about the current state of the security policy deployment in Data Safe. + /// [Input("lifecycleDetails")] public Input? LifecycleDetails { get; set; } + /// + /// The OCID of the security policy corresponding to the security policy deployment. + /// [Input("securityPolicyId")] public Input? SecurityPolicyId { get; set; } + /// + /// The current state of the security policy deployment. + /// [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. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// public InputMap SystemTags { get => _systemTags ?? (_systemTags = new InputMap()); set => _systemTags = value; } + /// + /// Unique target identifier. + /// [Input("targetId")] public Input? TargetId { get; set; } + /// + /// The time that the security policy deployment was created, in the format defined by RFC3339. + /// [Input("timeCreated")] public Input? TimeCreated { get; set; } + /// + /// The last date and time the security policy deployment was updated, in the format defined by RFC3339. + /// [Input("timeUpdated")] public Input? TimeUpdated { get; set; } diff --git a/sdk/dotnet/DataSafe/SecurityPolicyManagement.cs b/sdk/dotnet/DataSafe/SecurityPolicyManagement.cs index 8eca29ab2a..0126a48284 100644 --- a/sdk/dotnet/DataSafe/SecurityPolicyManagement.cs +++ b/sdk/dotnet/DataSafe/SecurityPolicyManagement.cs @@ -9,39 +9,110 @@ namespace Pulumi.Oci.DataSafe { + /// + /// This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service. + /// + /// Updates the security policy. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSecurityPolicyManagement = new Oci.DataSafe.SecurityPolicyManagement("test_security_policy_management", new() + /// { + /// CompartmentId = compartmentId, + /// TargetId = testTargetDatabase.Id, + /// DefinedTags = + /// { + /// { "Operations.CostCenter", "42" }, + /// }, + /// Description = securityPolicyManagementDescription, + /// DisplayName = securityPolicyManagementDisplayName, + /// FreeformTags = + /// { + /// { "Department", "Finance" }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Import is not supported for this resource. + /// [OciResourceType("oci:DataSafe/securityPolicyManagement:SecurityPolicyManagement")] public partial class SecurityPolicyManagement : global::Pulumi.CustomResource { + /// + /// (Updatable) The OCID of the compartment containing the security policy. + /// [Output("compartmentId")] public Output CompartmentId { get; private set; } = null!; + /// + /// (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"}` + /// [Output("definedTags")] public Output> DefinedTags { get; private set; } = null!; + /// + /// (Updatable) The description of the security policy. + /// [Output("description")] public Output Description { get; private set; } = null!; + /// + /// (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + /// [Output("displayName")] public Output DisplayName { 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"}` + /// [Output("freeformTags")] public Output> FreeformTags { get; private set; } = null!; + /// + /// Details about the current state of the security policy in Data Safe. + /// [Output("lifecycleDetails")] public Output LifecycleDetails { get; private set; } = null!; + /// + /// The current state of the security policy. + /// [Output("state")] public Output State { get; private set; } = null!; + /// + /// 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"}` + /// [Output("systemTags")] public Output> SystemTags { get; private set; } = null!; + /// + /// Unique target identifier. + /// [Output("targetId")] public Output TargetId { get; private set; } = null!; + /// + /// The time that the security policy was created, in the format defined by RFC3339. + /// [Output("timeCreated")] public Output TimeCreated { get; private set; } = null!; + /// + /// The last date and time the security policy was updated, in the format defined by RFC3339. + /// [Output("timeUpdated")] public Output TimeUpdated { get; private set; } = null!; @@ -91,31 +162,51 @@ public static SecurityPolicyManagement Get(string name, Input id, Securi public sealed class SecurityPolicyManagementArgs : global::Pulumi.ResourceArgs { + /// + /// (Updatable) The OCID of the compartment containing the security policy. + /// [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. For more information, 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) The description of the security policy. + /// [Input("description")] public Input? Description { get; set; } + /// + /// (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + /// [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. For more information, 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; } + /// + /// Unique target identifier. + /// [Input("targetId")] public Input? TargetId { get; set; } @@ -127,51 +218,87 @@ public SecurityPolicyManagementArgs() public sealed class SecurityPolicyManagementState : global::Pulumi.ResourceArgs { + /// + /// (Updatable) The OCID of the compartment containing the security policy. + /// [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. For more information, 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) The description of the security policy. + /// [Input("description")] public Input? Description { get; set; } + /// + /// (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + /// [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. For more information, 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 about the current state of the security policy in Data Safe. + /// [Input("lifecycleDetails")] public Input? LifecycleDetails { get; set; } + /// + /// The current state of the security policy. + /// [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. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// public InputMap SystemTags { get => _systemTags ?? (_systemTags = new InputMap()); set => _systemTags = value; } + /// + /// Unique target identifier. + /// [Input("targetId")] public Input? TargetId { get; set; } + /// + /// The time that the security policy was created, in the format defined by RFC3339. + /// [Input("timeCreated")] public Input? TimeCreated { get; set; } + /// + /// The last date and time the security policy was updated, in the format defined by RFC3339. + /// [Input("timeUpdated")] public Input? TimeUpdated { get; set; } diff --git a/sdk/dotnet/DataSafe/SetSecurityAssessmentBaselineManagement.cs b/sdk/dotnet/DataSafe/SetSecurityAssessmentBaselineManagement.cs new file mode 100644 index 0000000000..98297e32bd --- /dev/null +++ b/sdk/dotnet/DataSafe/SetSecurityAssessmentBaselineManagement.cs @@ -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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DataSafe +{ + /// + /// This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + /// + /// Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSetSecurityAssessmentBaselineManagement = new Oci.DataSafe.SetSecurityAssessmentBaselineManagement("test_set_security_assessment_baseline_management", new() + /// { + /// TargetId = testTargetDatabase.Id, + /// CompartmentId = comaprtmentId, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id" + /// ``` + /// + [OciResourceType("oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement")] + public partial class SetSecurityAssessmentBaselineManagement : global::Pulumi.CustomResource + { + [Output("assessmentIds")] + public Output> AssessmentIds { get; private set; } = null!; + + /// + /// The compartment OCID of the target. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + [Output("securityAssessmentId")] + public Output SecurityAssessmentId { get; private set; } = null!; + + /// + /// The target OCID for which SA needs to be set as baseline. + /// + [Output("targetId")] + public Output TargetId { get; private set; } = null!; + + + /// + /// Create a SetSecurityAssessmentBaselineManagement 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 SetSecurityAssessmentBaselineManagement(string name, SetSecurityAssessmentBaselineManagementArgs args, CustomResourceOptions? options = null) + : base("oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement", name, args ?? new SetSecurityAssessmentBaselineManagementArgs(), MakeResourceOptions(options, "")) + { + } + + private SetSecurityAssessmentBaselineManagement(string name, Input id, SetSecurityAssessmentBaselineManagementState? state = null, CustomResourceOptions? options = null) + : base("oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement", 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 SetSecurityAssessmentBaselineManagement 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 SetSecurityAssessmentBaselineManagement Get(string name, Input id, SetSecurityAssessmentBaselineManagementState? state = null, CustomResourceOptions? options = null) + { + return new SetSecurityAssessmentBaselineManagement(name, id, state, options); + } + } + + public sealed class SetSecurityAssessmentBaselineManagementArgs : global::Pulumi.ResourceArgs + { + /// + /// The compartment OCID of the target. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// The target OCID for which SA needs to be set as baseline. + /// + [Input("targetId", required: true)] + public Input TargetId { get; set; } = null!; + + public SetSecurityAssessmentBaselineManagementArgs() + { + } + public static new SetSecurityAssessmentBaselineManagementArgs Empty => new SetSecurityAssessmentBaselineManagementArgs(); + } + + public sealed class SetSecurityAssessmentBaselineManagementState : global::Pulumi.ResourceArgs + { + [Input("assessmentIds")] + private InputList? _assessmentIds; + public InputList AssessmentIds + { + get => _assessmentIds ?? (_assessmentIds = new InputList()); + set => _assessmentIds = value; + } + + /// + /// The compartment OCID of the target. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId")] + public Input? CompartmentId { get; set; } + + [Input("securityAssessmentId")] + public Input? SecurityAssessmentId { get; set; } + + /// + /// The target OCID for which SA needs to be set as baseline. + /// + [Input("targetId")] + public Input? TargetId { get; set; } + + public SetSecurityAssessmentBaselineManagementState() + { + } + public static new SetSecurityAssessmentBaselineManagementState Empty => new SetSecurityAssessmentBaselineManagementState(); + } +} diff --git a/sdk/dotnet/DataSafe/SetUserAssessmentBaselineManagement.cs b/sdk/dotnet/DataSafe/SetUserAssessmentBaselineManagement.cs new file mode 100644 index 0000000000..11bd72de32 --- /dev/null +++ b/sdk/dotnet/DataSafe/SetUserAssessmentBaselineManagement.cs @@ -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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DataSafe +{ + /// + /// This resource provides the Set User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + /// + /// Sets the saved user assessment as the baseline in the compartment where the the specified assessment resides. The user assessment needs to be of type 'SAVED'. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSetUserAssessmentBaselineManagement = new Oci.DataSafe.SetUserAssessmentBaselineManagement("test_set_user_assessment_baseline_management", new() + /// { + /// TargetId = testTargetDatabase.Id, + /// CompartmentId = comaprtmentId, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// SetUserAssessmentBaselineManagement can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement test_set_user_assessment_baseline_management "id" + /// ``` + /// + [OciResourceType("oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement")] + public partial class SetUserAssessmentBaselineManagement : global::Pulumi.CustomResource + { + [Output("assessmentIds")] + public Output> AssessmentIds { get; private set; } = null!; + + /// + /// The compartment OCID of the target. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// The target OCID for which UA needs to be set as baseline. + /// + [Output("targetId")] + public Output TargetId { get; private set; } = null!; + + [Output("userAssessmentId")] + public Output UserAssessmentId { get; private set; } = null!; + + + /// + /// Create a SetUserAssessmentBaselineManagement 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 SetUserAssessmentBaselineManagement(string name, SetUserAssessmentBaselineManagementArgs args, CustomResourceOptions? options = null) + : base("oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement", name, args ?? new SetUserAssessmentBaselineManagementArgs(), MakeResourceOptions(options, "")) + { + } + + private SetUserAssessmentBaselineManagement(string name, Input id, SetUserAssessmentBaselineManagementState? state = null, CustomResourceOptions? options = null) + : base("oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement", 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 SetUserAssessmentBaselineManagement 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 SetUserAssessmentBaselineManagement Get(string name, Input id, SetUserAssessmentBaselineManagementState? state = null, CustomResourceOptions? options = null) + { + return new SetUserAssessmentBaselineManagement(name, id, state, options); + } + } + + public sealed class SetUserAssessmentBaselineManagementArgs : global::Pulumi.ResourceArgs + { + /// + /// The compartment OCID of the target. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// The target OCID for which UA needs to be set as baseline. + /// + [Input("targetId", required: true)] + public Input TargetId { get; set; } = null!; + + public SetUserAssessmentBaselineManagementArgs() + { + } + public static new SetUserAssessmentBaselineManagementArgs Empty => new SetUserAssessmentBaselineManagementArgs(); + } + + public sealed class SetUserAssessmentBaselineManagementState : global::Pulumi.ResourceArgs + { + [Input("assessmentIds")] + private InputList? _assessmentIds; + public InputList AssessmentIds + { + get => _assessmentIds ?? (_assessmentIds = new InputList()); + set => _assessmentIds = value; + } + + /// + /// The compartment OCID of the target. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// The target OCID for which UA needs to be set as baseline. + /// + [Input("targetId")] + public Input? TargetId { get; set; } + + [Input("userAssessmentId")] + public Input? UserAssessmentId { get; set; } + + public SetUserAssessmentBaselineManagementState() + { + } + public static new SetUserAssessmentBaselineManagementState Empty => new SetUserAssessmentBaselineManagementState(); + } +} diff --git a/sdk/dotnet/DataSafe/SqlFirewallPolicyManagement.cs b/sdk/dotnet/DataSafe/SqlFirewallPolicyManagement.cs index 012a613025..f61bd622db 100644 --- a/sdk/dotnet/DataSafe/SqlFirewallPolicyManagement.cs +++ b/sdk/dotnet/DataSafe/SqlFirewallPolicyManagement.cs @@ -9,72 +9,188 @@ namespace Pulumi.Oci.DataSafe { + /// + /// This resource provides the Sql Firewall Policy Management resource in Oracle Cloud Infrastructure Data Safe service. + /// + /// Updates the SQL firewall policy. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testSqlFirewallPolicyManagement = new Oci.DataSafe.SqlFirewallPolicyManagement("test_sql_firewall_policy_management", new() + /// { + /// CompartmentId = compartmentId, + /// TargetId = testTargetDatabase.Id, + /// DbUserName = testUser.Name, + /// AllowedClientIps = sqlFirewallPolicyManagementAllowedClientIps, + /// AllowedClientOsUsernames = sqlFirewallPolicyManagementAllowedClientOsUsernames, + /// AllowedClientPrograms = sqlFirewallPolicyManagementAllowedClientPrograms, + /// DefinedTags = + /// { + /// { "Operations.CostCenter", "42" }, + /// }, + /// Description = sqlFirewallPolicyManagementDescription, + /// DisplayName = sqlFirewallPolicyManagementDisplayName, + /// EnforcementScope = sqlFirewallPolicyManagementEnforcementScope, + /// FreeformTags = + /// { + /// { "Department", "Finance" }, + /// }, + /// Status = sqlFirewallPolicyManagementStatus, + /// ViolationAction = sqlFirewallPolicyManagementViolationAction, + /// ViolationAudit = sqlFirewallPolicyManagementViolationAudit, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// Import is not supported for this resource. + /// [OciResourceType("oci:DataSafe/sqlFirewallPolicyManagement:SqlFirewallPolicyManagement")] public partial class SqlFirewallPolicyManagement : global::Pulumi.CustomResource { + /// + /// (Updatable) List of allowed ip addresses for the SQL firewall policy. + /// [Output("allowedClientIps")] public Output> AllowedClientIps { get; private set; } = null!; + /// + /// (Updatable) List of allowed operating system user names for the SQL firewall policy. + /// [Output("allowedClientOsUsernames")] public Output> AllowedClientOsUsernames { get; private set; } = null!; + /// + /// (Updatable) List of allowed client programs for the SQL firewall policy. + /// [Output("allowedClientPrograms")] public Output> AllowedClientPrograms { get; private set; } = null!; + /// + /// (Updatable) The OCID of the compartment containing the SQL firewall policy. + /// [Output("compartmentId")] public Output CompartmentId { get; private set; } = null!; + /// + /// The database user name. + /// [Output("dbUserName")] public Output DbUserName { get; private set; } = null!; + /// + /// (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"}` + /// [Output("definedTags")] public Output> DefinedTags { get; private set; } = null!; + /// + /// (Updatable) The description of the SQL firewall policy. + /// [Output("description")] public Output Description { get; private set; } = null!; + /// + /// (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + /// [Output("displayName")] public Output DisplayName { get; private set; } = null!; + /// + /// (Updatable) Specifies the SQL firewall policy enforcement option. + /// [Output("enforcementScope")] public Output EnforcementScope { 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"}` + /// [Output("freeformTags")] public Output> FreeformTags { get; private set; } = null!; + /// + /// Details about the current state of the SQL firewall policy in Data Safe. + /// [Output("lifecycleDetails")] public Output LifecycleDetails { get; private set; } = null!; + /// + /// The OCID of the security policy corresponding to the SQL firewall policy. + /// [Output("securityPolicyId")] public Output SecurityPolicyId { get; private set; } = null!; + /// + /// The OCID of the SQL firewall policy resource. + /// [Output("sqlFirewallPolicyId")] public Output SqlFirewallPolicyId { get; private set; } = null!; + /// + /// Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + /// [Output("sqlLevel")] public Output SqlLevel { get; private set; } = null!; + /// + /// The current state of the SQL firewall policy. + /// [Output("state")] public Output State { get; private set; } = null!; + /// + /// (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + /// [Output("status")] public Output Status { get; private set; } = null!; + /// + /// 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"}` + /// [Output("systemTags")] public Output> SystemTags { get; private set; } = null!; + /// + /// Unique target identifier. + /// [Output("targetId")] public Output TargetId { get; private set; } = null!; + /// + /// The time that the SQL firewall policy was created, in the format defined by RFC3339. + /// [Output("timeCreated")] public Output TimeCreated { get; private set; } = null!; + /// + /// The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + /// [Output("timeUpdated")] public Output TimeUpdated { get; private set; } = null!; + /// + /// (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + /// [Output("violationAction")] public Output ViolationAction { get; private set; } = null!; + /// + /// (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + /// + /// + /// ** IMPORTANT ** + /// 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("violationAudit")] public Output ViolationAudit { get; private set; } = null!; @@ -126,6 +242,10 @@ public sealed class SqlFirewallPolicyManagementArgs : global::Pulumi.ResourceArg { [Input("allowedClientIps")] private InputList? _allowedClientIps; + + /// + /// (Updatable) List of allowed ip addresses for the SQL firewall policy. + /// public InputList AllowedClientIps { get => _allowedClientIps ?? (_allowedClientIps = new InputList()); @@ -134,6 +254,10 @@ public InputList AllowedClientIps [Input("allowedClientOsUsernames")] private InputList? _allowedClientOsUsernames; + + /// + /// (Updatable) List of allowed operating system user names for the SQL firewall policy. + /// public InputList AllowedClientOsUsernames { get => _allowedClientOsUsernames ?? (_allowedClientOsUsernames = new InputList()); @@ -142,58 +266,107 @@ public InputList AllowedClientOsUsernames [Input("allowedClientPrograms")] private InputList? _allowedClientPrograms; + + /// + /// (Updatable) List of allowed client programs for the SQL firewall policy. + /// public InputList AllowedClientPrograms { get => _allowedClientPrograms ?? (_allowedClientPrograms = new InputList()); set => _allowedClientPrograms = value; } + /// + /// (Updatable) The OCID of the compartment containing the SQL firewall policy. + /// [Input("compartmentId")] public Input? CompartmentId { get; set; } + /// + /// The database user name. + /// [Input("dbUserName")] public Input? DbUserName { get; set; } [Input("definedTags")] private InputMap? _definedTags; + + /// + /// (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 InputMap DefinedTags { get => _definedTags ?? (_definedTags = new InputMap()); set => _definedTags = value; } + /// + /// (Updatable) The description of the SQL firewall policy. + /// [Input("description")] public Input? Description { get; set; } + /// + /// (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + /// [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// (Updatable) Specifies the SQL firewall policy enforcement option. + /// [Input("enforcementScope")] public Input? EnforcementScope { 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. For more information, 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; } + /// + /// The OCID of the SQL firewall policy resource. + /// [Input("sqlFirewallPolicyId")] public Input? SqlFirewallPolicyId { get; set; } + /// + /// The current state of the SQL firewall policy. + /// [Input("state")] public Input? State { get; set; } + /// + /// (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + /// [Input("status")] public Input? Status { get; set; } + /// + /// Unique target identifier. + /// [Input("targetId")] public Input? TargetId { get; set; } + /// + /// (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + /// [Input("violationAction")] public Input? ViolationAction { get; set; } + /// + /// (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + /// + /// + /// ** IMPORTANT ** + /// 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("violationAudit")] public Input? ViolationAudit { get; set; } @@ -207,6 +380,10 @@ public sealed class SqlFirewallPolicyManagementState : global::Pulumi.ResourceAr { [Input("allowedClientIps")] private InputList? _allowedClientIps; + + /// + /// (Updatable) List of allowed ip addresses for the SQL firewall policy. + /// public InputList AllowedClientIps { get => _allowedClientIps ?? (_allowedClientIps = new InputList()); @@ -215,6 +392,10 @@ public InputList AllowedClientIps [Input("allowedClientOsUsernames")] private InputList? _allowedClientOsUsernames; + + /// + /// (Updatable) List of allowed operating system user names for the SQL firewall policy. + /// public InputList AllowedClientOsUsernames { get => _allowedClientOsUsernames ?? (_allowedClientOsUsernames = new InputList()); @@ -223,81 +404,149 @@ public InputList AllowedClientOsUsernames [Input("allowedClientPrograms")] private InputList? _allowedClientPrograms; + + /// + /// (Updatable) List of allowed client programs for the SQL firewall policy. + /// public InputList AllowedClientPrograms { get => _allowedClientPrograms ?? (_allowedClientPrograms = new InputList()); set => _allowedClientPrograms = value; } + /// + /// (Updatable) The OCID of the compartment containing the SQL firewall policy. + /// [Input("compartmentId")] public Input? CompartmentId { get; set; } + /// + /// The database user name. + /// [Input("dbUserName")] public Input? DbUserName { get; set; } [Input("definedTags")] private InputMap? _definedTags; + + /// + /// (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 InputMap DefinedTags { get => _definedTags ?? (_definedTags = new InputMap()); set => _definedTags = value; } + /// + /// (Updatable) The description of the SQL firewall policy. + /// [Input("description")] public Input? Description { get; set; } + /// + /// (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + /// [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// (Updatable) Specifies the SQL firewall policy enforcement option. + /// [Input("enforcementScope")] public Input? EnforcementScope { 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. For more information, 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 about the current state of the SQL firewall policy in Data Safe. + /// [Input("lifecycleDetails")] public Input? LifecycleDetails { get; set; } + /// + /// The OCID of the security policy corresponding to the SQL firewall policy. + /// [Input("securityPolicyId")] public Input? SecurityPolicyId { get; set; } + /// + /// The OCID of the SQL firewall policy resource. + /// [Input("sqlFirewallPolicyId")] public Input? SqlFirewallPolicyId { get; set; } + /// + /// Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + /// [Input("sqlLevel")] public Input? SqlLevel { get; set; } + /// + /// The current state of the SQL firewall policy. + /// [Input("state")] public Input? State { get; set; } + /// + /// (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + /// [Input("status")] public Input? Status { get; set; } [Input("systemTags")] private InputMap? _systemTags; + + /// + /// 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"}` + /// public InputMap SystemTags { get => _systemTags ?? (_systemTags = new InputMap()); set => _systemTags = value; } + /// + /// Unique target identifier. + /// [Input("targetId")] public Input? TargetId { get; set; } + /// + /// The time that the SQL firewall policy was created, in the format defined by RFC3339. + /// [Input("timeCreated")] public Input? TimeCreated { get; set; } + /// + /// The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + /// [Input("timeUpdated")] public Input? TimeUpdated { get; set; } + /// + /// (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + /// [Input("violationAction")] public Input? ViolationAction { get; set; } + /// + /// (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + /// + /// + /// ** IMPORTANT ** + /// 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("violationAudit")] public Input? ViolationAudit { get; set; } diff --git a/sdk/dotnet/DataSafe/UnsetSecurityAssessmentBaselineManagement.cs b/sdk/dotnet/DataSafe/UnsetSecurityAssessmentBaselineManagement.cs new file mode 100644 index 0000000000..dee5944701 --- /dev/null +++ b/sdk/dotnet/DataSafe/UnsetSecurityAssessmentBaselineManagement.cs @@ -0,0 +1,154 @@ +// *** 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.DataSafe +{ + /// + /// This resource provides the Unset Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + /// + /// Removes the baseline setting for the saved security assessment as the baseline in the compartment where the the specified assessment resides. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testUnsetSecurityAssessmentBaselineManagement = new Oci.DataSafe.UnsetSecurityAssessmentBaselineManagement("test_unset_security_assessment_baseline_management", new() + /// { + /// SecurityAssessmentId = testSetSecurityAssessmentBaselineManagement.SecurityAssessmentId, + /// CompartmentId = comaprtmentId, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// UnsetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement test_unset_security_assessment_baseline_management "id" + /// ``` + /// + [OciResourceType("oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement")] + public partial class UnsetSecurityAssessmentBaselineManagement : global::Pulumi.CustomResource + { + /// + /// The compartment OCID where the assessment resides. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// The OCID of the security assessment. + /// + [Output("securityAssessmentId")] + public Output SecurityAssessmentId { get; private set; } = null!; + + + /// + /// Create a UnsetSecurityAssessmentBaselineManagement 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 UnsetSecurityAssessmentBaselineManagement(string name, UnsetSecurityAssessmentBaselineManagementArgs args, CustomResourceOptions? options = null) + : base("oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement", name, args ?? new UnsetSecurityAssessmentBaselineManagementArgs(), MakeResourceOptions(options, "")) + { + } + + private UnsetSecurityAssessmentBaselineManagement(string name, Input id, UnsetSecurityAssessmentBaselineManagementState? state = null, CustomResourceOptions? options = null) + : base("oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement", 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 UnsetSecurityAssessmentBaselineManagement 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 UnsetSecurityAssessmentBaselineManagement Get(string name, Input id, UnsetSecurityAssessmentBaselineManagementState? state = null, CustomResourceOptions? options = null) + { + return new UnsetSecurityAssessmentBaselineManagement(name, id, state, options); + } + } + + public sealed class UnsetSecurityAssessmentBaselineManagementArgs : global::Pulumi.ResourceArgs + { + /// + /// The compartment OCID where the assessment resides. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// The OCID of the security assessment. + /// + [Input("securityAssessmentId", required: true)] + public Input SecurityAssessmentId { get; set; } = null!; + + public UnsetSecurityAssessmentBaselineManagementArgs() + { + } + public static new UnsetSecurityAssessmentBaselineManagementArgs Empty => new UnsetSecurityAssessmentBaselineManagementArgs(); + } + + public sealed class UnsetSecurityAssessmentBaselineManagementState : global::Pulumi.ResourceArgs + { + /// + /// The compartment OCID where the assessment resides. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// The OCID of the security assessment. + /// + [Input("securityAssessmentId")] + public Input? SecurityAssessmentId { get; set; } + + public UnsetSecurityAssessmentBaselineManagementState() + { + } + public static new UnsetSecurityAssessmentBaselineManagementState Empty => new UnsetSecurityAssessmentBaselineManagementState(); + } +} diff --git a/sdk/dotnet/DataSafe/UnsetUserAssessmentBaselineManagement.cs b/sdk/dotnet/DataSafe/UnsetUserAssessmentBaselineManagement.cs new file mode 100644 index 0000000000..b59fcd71a1 --- /dev/null +++ b/sdk/dotnet/DataSafe/UnsetUserAssessmentBaselineManagement.cs @@ -0,0 +1,154 @@ +// *** 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.DataSafe +{ + /// + /// This resource provides the Unset User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + /// + /// Removes the baseline setting for the saved user assessment as the baseline in the compartment where the the specified assessment resides. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testUnsetUserAssessmentBaselineManagement = new Oci.DataSafe.UnsetUserAssessmentBaselineManagement("test_unset_user_assessment_baseline_management", new() + /// { + /// UserAssessmentId = testSetUserAssessmentBaselineManagement.UserAssessmentId, + /// CompartmentId = comaprtmentId, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// UnsetUserAssessmentBaselineManagement can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement test_unset_user_assessment_baseline_management "id" + /// ``` + /// + [OciResourceType("oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement")] + public partial class UnsetUserAssessmentBaselineManagement : global::Pulumi.CustomResource + { + /// + /// The compartment OCID where the assessment resides. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// The OCID of the user assessment. + /// + [Output("userAssessmentId")] + public Output UserAssessmentId { get; private set; } = null!; + + + /// + /// Create a UnsetUserAssessmentBaselineManagement 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 UnsetUserAssessmentBaselineManagement(string name, UnsetUserAssessmentBaselineManagementArgs args, CustomResourceOptions? options = null) + : base("oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement", name, args ?? new UnsetUserAssessmentBaselineManagementArgs(), MakeResourceOptions(options, "")) + { + } + + private UnsetUserAssessmentBaselineManagement(string name, Input id, UnsetUserAssessmentBaselineManagementState? state = null, CustomResourceOptions? options = null) + : base("oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement", 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 UnsetUserAssessmentBaselineManagement 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 UnsetUserAssessmentBaselineManagement Get(string name, Input id, UnsetUserAssessmentBaselineManagementState? state = null, CustomResourceOptions? options = null) + { + return new UnsetUserAssessmentBaselineManagement(name, id, state, options); + } + } + + public sealed class UnsetUserAssessmentBaselineManagementArgs : global::Pulumi.ResourceArgs + { + /// + /// The compartment OCID where the assessment resides. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// The OCID of the user assessment. + /// + [Input("userAssessmentId", required: true)] + public Input UserAssessmentId { get; set; } = null!; + + public UnsetUserAssessmentBaselineManagementArgs() + { + } + public static new UnsetUserAssessmentBaselineManagementArgs Empty => new UnsetUserAssessmentBaselineManagementArgs(); + } + + public sealed class UnsetUserAssessmentBaselineManagementState : global::Pulumi.ResourceArgs + { + /// + /// The compartment OCID where the assessment resides. + /// + /// + /// ** IMPORTANT ** + /// 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("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// The OCID of the user assessment. + /// + [Input("userAssessmentId")] + public Input? UserAssessmentId { get; set; } + + public UnsetUserAssessmentBaselineManagementState() + { + } + public static new UnsetUserAssessmentBaselineManagementState Empty => new UnsetUserAssessmentBaselineManagementState(); + } +} diff --git a/sdk/dotnet/Database/AutonomousDatabase.cs b/sdk/dotnet/Database/AutonomousDatabase.cs index 87bb8f1465..c4f30bd644 100644 --- a/sdk/dotnet/Database/AutonomousDatabase.cs +++ b/sdk/dotnet/Database/AutonomousDatabase.cs @@ -93,6 +93,12 @@ public partial class AutonomousDatabase : global::Pulumi.CustomResource [Output("autonomousMaintenanceScheduleType")] public Output AutonomousMaintenanceScheduleType { get; private set; } = null!; + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + [Output("availabilityDomain")] + public Output AvailabilityDomain { get; private set; } = null!; + /// /// List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. /// @@ -1662,6 +1668,12 @@ public InputList ApexDetails [Input("autonomousMaintenanceScheduleType")] public Input? AutonomousMaintenanceScheduleType { get; set; } + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + [Input("availabilityDomain")] + public Input? AvailabilityDomain { get; set; } + [Input("availableUpgradeVersions")] private InputList? _availableUpgradeVersions; diff --git a/sdk/dotnet/Database/DataGuardAssociation.cs b/sdk/dotnet/Database/DataGuardAssociation.cs index c1c3bd122d..4de92d4dca 100644 --- a/sdk/dotnet/Database/DataGuardAssociation.cs +++ b/sdk/dotnet/Database/DataGuardAssociation.cs @@ -54,6 +54,7 @@ namespace Pulumi.Oci.Database /// DbSystemDefinedTags = dataGuardAssociationDbSystemDefinedTags, /// DbSystemFreeformTags = dataGuardAssociationDbSystemFreeformTags, /// DisplayName = dataGuardAssociationDisplayName, + /// Domain = dataGuardAssociationDomain, /// FaultDomains = dataGuardAssociationFaultDomains, /// Hostname = dataGuardAssociationHostname, /// IsActiveDataGuardEnabled = dataGuardAssociationIsActiveDataGuardEnabled, @@ -186,6 +187,12 @@ public partial class DataGuardAssociation : global::Pulumi.CustomResource [Output("displayName")] public Output DisplayName { get; private set; } = null!; + /// + /// A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + /// + [Output("domain")] + public Output Domain { get; private set; } = null!; + /// /// A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. /// @@ -545,6 +552,12 @@ public InputMap DbSystemFreeformTags [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + /// + [Input("domain")] + public Input? Domain { get; set; } + [Input("faultDomains")] private InputList? _faultDomains; @@ -844,6 +857,12 @@ public InputMap DbSystemFreeformTags [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + /// + [Input("domain")] + public Input? Domain { get; set; } + [Input("faultDomains")] private InputList? _faultDomains; diff --git a/sdk/dotnet/Database/GetAutonomousDatabase.cs b/sdk/dotnet/Database/GetAutonomousDatabase.cs index de913e3e8c..60522c734c 100644 --- a/sdk/dotnet/Database/GetAutonomousDatabase.cs +++ b/sdk/dotnet/Database/GetAutonomousDatabase.cs @@ -135,6 +135,10 @@ public sealed class GetAutonomousDatabaseResult /// public readonly string AutonomousMaintenanceScheduleType; /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + public readonly string AvailabilityDomain; + /// /// List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. /// public readonly ImmutableArray AvailableUpgradeVersions; @@ -627,6 +631,8 @@ private GetAutonomousDatabaseResult( string autonomousMaintenanceScheduleType, + string availabilityDomain, + ImmutableArray availableUpgradeVersions, ImmutableArray backupConfigs, @@ -890,6 +896,7 @@ private GetAutonomousDatabaseResult( AutonomousDatabaseBackupId = autonomousDatabaseBackupId; AutonomousDatabaseId = autonomousDatabaseId; AutonomousMaintenanceScheduleType = autonomousMaintenanceScheduleType; + AvailabilityDomain = availabilityDomain; AvailableUpgradeVersions = availableUpgradeVersions; BackupConfigs = backupConfigs; BackupRetentionPeriodInDays = backupRetentionPeriodInDays; diff --git a/sdk/dotnet/Database/GetAutonomousDatabases.cs b/sdk/dotnet/Database/GetAutonomousDatabases.cs index c75ecf1dc7..8cc37e04d2 100644 --- a/sdk/dotnet/Database/GetAutonomousDatabases.cs +++ b/sdk/dotnet/Database/GetAutonomousDatabases.cs @@ -12,103 +12,17 @@ namespace Pulumi.Oci.Database public static class GetAutonomousDatabases { /// - /// ## + /// This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. /// - /// --- - /// ## subcategory: "Database" - /// - /// layout: "oci" - /// page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases" - /// sidebar_current: "docs-oci-datasource-database-autonomous_databases" - /// description: |- - /// Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service - /// --- - /// - /// # Data Source: oci.Database.getAutonomousDatabases - /// This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. - /// - /// Gets a list of Autonomous Databases based on the query parameters specified. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testAutonomousDatabases = Oci.Database.GetAutonomousDatabases.Invoke(new() - /// { - /// CompartmentId = compartmentId, - /// AutonomousContainerDatabaseId = testAutonomousContainerDatabase.Id, - /// DbVersion = autonomousDatabaseDbVersion, - /// DbWorkload = autonomousDatabaseDbWorkload, - /// DisplayName = autonomousDatabaseDisplayName, - /// InfrastructureType = autonomousDatabaseInfrastructureType, - /// IsDataGuardEnabled = autonomousDatabaseIsDataGuardEnabled, - /// IsFreeTier = autonomousDatabaseIsFreeTier, - /// IsRefreshableClone = autonomousDatabaseIsRefreshableClone, - /// IsResourcePoolLeader = autonomousDatabaseIsResourcePoolLeader, - /// ResourcePoolLeaderId = testResourcePoolLeader.Id, - /// State = autonomousDatabaseState, - /// }); - /// - /// }); - /// ``` + /// Gets the details of the specified Autonomous Database. /// public static Task InvokeAsync(GetAutonomousDatabasesArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Database/getAutonomousDatabases:getAutonomousDatabases", args ?? new GetAutonomousDatabasesArgs(), options.WithDefaults()); /// - /// ## - /// - /// --- - /// ## subcategory: "Database" - /// - /// layout: "oci" - /// page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases" - /// sidebar_current: "docs-oci-datasource-database-autonomous_databases" - /// description: |- - /// Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service - /// --- - /// - /// # Data Source: oci.Database.getAutonomousDatabases - /// This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. - /// - /// Gets a list of Autonomous Databases based on the query parameters specified. - /// + /// This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testAutonomousDatabases = Oci.Database.GetAutonomousDatabases.Invoke(new() - /// { - /// CompartmentId = compartmentId, - /// AutonomousContainerDatabaseId = testAutonomousContainerDatabase.Id, - /// DbVersion = autonomousDatabaseDbVersion, - /// DbWorkload = autonomousDatabaseDbWorkload, - /// DisplayName = autonomousDatabaseDisplayName, - /// InfrastructureType = autonomousDatabaseInfrastructureType, - /// IsDataGuardEnabled = autonomousDatabaseIsDataGuardEnabled, - /// IsFreeTier = autonomousDatabaseIsFreeTier, - /// IsRefreshableClone = autonomousDatabaseIsRefreshableClone, - /// IsResourcePoolLeader = autonomousDatabaseIsResourcePoolLeader, - /// ResourcePoolLeaderId = testResourcePoolLeader.Id, - /// State = autonomousDatabaseState, - /// }); - /// - /// }); - /// ``` + /// Gets the details of the specified Autonomous Database. /// public static Output Invoke(GetAutonomousDatabasesInvokeArgs args, InvokeOptions? options = null) => global::Pulumi.Deployment.Instance.Invoke("oci:Database/getAutonomousDatabases:getAutonomousDatabases", args ?? new GetAutonomousDatabasesInvokeArgs(), options.WithDefaults()); @@ -124,25 +38,29 @@ public sealed class GetAutonomousDatabasesArgs : global::Pulumi.InvokeArgs public string? AutonomousContainerDatabaseId { get; set; } /// - /// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// 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!; /// - /// A filter to return only autonomous database resources that match the specified dbVersion. + /// A valid Oracle Database version for Autonomous Database. /// [Input("dbVersion")] public string? DbVersion { get; set; } /// - /// A filter to return only autonomous database resources that match the specified workload type. + /// The Autonomous Database workload type. The following values are valid: + /// * OLTP - indicates an Autonomous Transaction Processing database + /// * DW - indicates an Autonomous Data Warehouse database + /// * AJD - indicates an Autonomous JSON Database + /// * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. /// [Input("dbWorkload")] public string? DbWorkload { get; set; } /// - /// A filter to return only resources that match the entire display name given. The match is not case sensitive. + /// The user-friendly name for the Autonomous Database. The name does not have to be unique. /// [Input("displayName")] public string? DisplayName { get; set; } @@ -156,43 +74,40 @@ public List Filters } /// - /// A filter to return only resources that match the given Infrastructure Type. + /// The infrastructure type this resource belongs to. /// [Input("infrastructureType")] public string? InfrastructureType { get; set; } /// - /// A filter to return only resources that have Data Guard enabled. + /// **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. /// [Input("isDataGuardEnabled")] public bool? IsDataGuardEnabled { get; set; } /// - /// 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. + /// 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. /// [Input("isFreeTier")] public bool? IsFreeTier { get; set; } /// - /// 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. + /// Indicates if the Autonomous Database is a refreshable clone. /// [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. + /// The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// [Input("resourcePoolLeaderId")] public string? ResourcePoolLeaderId { get; set; } /// - /// A filter to return only resources that match the given lifecycle state exactly. + /// The current state of the Autonomous Database. /// [Input("state")] public string? State { get; set; } @@ -212,25 +127,29 @@ public sealed class GetAutonomousDatabasesInvokeArgs : global::Pulumi.InvokeArgs public Input? AutonomousContainerDatabaseId { get; set; } /// - /// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// 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!; /// - /// A filter to return only autonomous database resources that match the specified dbVersion. + /// A valid Oracle Database version for Autonomous Database. /// [Input("dbVersion")] public Input? DbVersion { get; set; } /// - /// A filter to return only autonomous database resources that match the specified workload type. + /// The Autonomous Database workload type. The following values are valid: + /// * OLTP - indicates an Autonomous Transaction Processing database + /// * DW - indicates an Autonomous Data Warehouse database + /// * AJD - indicates an Autonomous JSON Database + /// * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. /// [Input("dbWorkload")] public Input? DbWorkload { get; set; } /// - /// A filter to return only resources that match the entire display name given. The match is not case sensitive. + /// The user-friendly name for the Autonomous Database. The name does not have to be unique. /// [Input("displayName")] public Input? DisplayName { get; set; } @@ -244,43 +163,40 @@ public InputList Filters } /// - /// A filter to return only resources that match the given Infrastructure Type. + /// The infrastructure type this resource belongs to. /// [Input("infrastructureType")] public Input? InfrastructureType { get; set; } /// - /// A filter to return only resources that have Data Guard enabled. + /// **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. /// [Input("isDataGuardEnabled")] public Input? IsDataGuardEnabled { get; set; } /// - /// 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. + /// 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. /// [Input("isFreeTier")] public Input? IsFreeTier { get; set; } /// - /// 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. + /// Indicates if the Autonomous Database is a refreshable clone. /// [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. + /// The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// [Input("resourcePoolLeaderId")] public Input? ResourcePoolLeaderId { get; set; } /// - /// A filter to return only resources that match the given lifecycle state exactly. + /// The current state of the Autonomous Database. /// [Input("state")] public Input? State { get; set; } @@ -299,9 +215,6 @@ public sealed class GetAutonomousDatabasesResult /// The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// public readonly string? AutonomousContainerDatabaseId; - /// - /// The list of autonomous_databases. - /// public readonly ImmutableArray AutonomousDatabases; /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. diff --git a/sdk/dotnet/Database/GetDataGuardAssociation.cs b/sdk/dotnet/Database/GetDataGuardAssociation.cs index 77de975f54..1b2ff8a346 100644 --- a/sdk/dotnet/Database/GetDataGuardAssociation.cs +++ b/sdk/dotnet/Database/GetDataGuardAssociation.cs @@ -140,6 +140,7 @@ public sealed class GetDataGuardAssociationResult public readonly ImmutableDictionary DbSystemFreeformTags; public readonly string DeleteStandbyDbHomeOnDelete; public readonly string DisplayName; + public readonly string Domain; public readonly ImmutableArray FaultDomains; public readonly string Hostname; /// @@ -244,6 +245,8 @@ private GetDataGuardAssociationResult( string displayName, + string domain, + ImmutableArray faultDomains, string hostname, @@ -314,6 +317,7 @@ private GetDataGuardAssociationResult( DbSystemFreeformTags = dbSystemFreeformTags; DeleteStandbyDbHomeOnDelete = deleteStandbyDbHomeOnDelete; DisplayName = displayName; + Domain = domain; FaultDomains = faultDomains; Hostname = hostname; Id = id; diff --git a/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbArgs.cs index 878d680995..21adc2d87c 100644 --- a/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbArgs.cs +++ b/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Oci.Database.Inputs public sealed class AutonomousDatabaseLocalStandbyDbArgs : global::Pulumi.ResourceArgs { + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + [Input("availabilityDomain")] + public Input? AvailabilityDomain { get; set; } + /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// diff --git a/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbGetArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbGetArgs.cs index a247b6f9be..86b71509d8 100644 --- a/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbGetArgs.cs +++ b/sdk/dotnet/Database/Inputs/AutonomousDatabaseLocalStandbyDbGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Oci.Database.Inputs public sealed class AutonomousDatabaseLocalStandbyDbGetArgs : global::Pulumi.ResourceArgs { + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + [Input("availabilityDomain")] + public Input? AvailabilityDomain { get; set; } + /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// diff --git a/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbArgs.cs index 44d8fb388f..85aeaa5ee1 100644 --- a/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbArgs.cs +++ b/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Oci.Database.Inputs public sealed class AutonomousDatabaseStandbyDbArgs : global::Pulumi.ResourceArgs { + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + [Input("availabilityDomain")] + public Input? AvailabilityDomain { get; set; } + /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// diff --git a/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbGetArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbGetArgs.cs index b8f6526a9d..fd0cb5c34c 100644 --- a/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbGetArgs.cs +++ b/sdk/dotnet/Database/Inputs/AutonomousDatabaseStandbyDbGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.Oci.Database.Inputs public sealed class AutonomousDatabaseStandbyDbGetArgs : global::Pulumi.ResourceArgs { + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + [Input("availabilityDomain")] + public Input? AvailabilityDomain { get; set; } + /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// diff --git a/sdk/dotnet/Database/Outputs/AutonomousDatabaseLocalStandbyDb.cs b/sdk/dotnet/Database/Outputs/AutonomousDatabaseLocalStandbyDb.cs index 8707527547..01d673420a 100644 --- a/sdk/dotnet/Database/Outputs/AutonomousDatabaseLocalStandbyDb.cs +++ b/sdk/dotnet/Database/Outputs/AutonomousDatabaseLocalStandbyDb.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.Database.Outputs [OutputType] public sealed class AutonomousDatabaseLocalStandbyDb { + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + public readonly string? AvailabilityDomain; /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// @@ -36,6 +40,8 @@ public sealed class AutonomousDatabaseLocalStandbyDb [OutputConstructor] private AutonomousDatabaseLocalStandbyDb( + string? availabilityDomain, + int? lagTimeInSeconds, string? lifecycleDetails, @@ -46,6 +52,7 @@ private AutonomousDatabaseLocalStandbyDb( string? timeDisasterRecoveryRoleChanged) { + AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; State = state; diff --git a/sdk/dotnet/Database/Outputs/AutonomousDatabaseStandbyDb.cs b/sdk/dotnet/Database/Outputs/AutonomousDatabaseStandbyDb.cs index 4c3c4577b1..7006a2d87e 100644 --- a/sdk/dotnet/Database/Outputs/AutonomousDatabaseStandbyDb.cs +++ b/sdk/dotnet/Database/Outputs/AutonomousDatabaseStandbyDb.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.Database.Outputs [OutputType] public sealed class AutonomousDatabaseStandbyDb { + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + public readonly string? AvailabilityDomain; /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// @@ -36,6 +40,8 @@ public sealed class AutonomousDatabaseStandbyDb [OutputConstructor] private AutonomousDatabaseStandbyDb( + string? availabilityDomain, + int? lagTimeInSeconds, string? lifecycleDetails, @@ -46,6 +52,7 @@ private AutonomousDatabaseStandbyDb( string? timeDisasterRecoveryRoleChanged) { + AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; State = state; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLocalStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLocalStandbyDbResult.cs index 024dd03f63..14cc90c4ac 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLocalStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLocalStandbyDbResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.Database.Outputs [OutputType] public sealed class GetAutonomousDatabaseLocalStandbyDbResult { + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + public readonly string AvailabilityDomain; /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// @@ -36,6 +40,8 @@ public sealed class GetAutonomousDatabaseLocalStandbyDbResult [OutputConstructor] private GetAutonomousDatabaseLocalStandbyDbResult( + string availabilityDomain, + int lagTimeInSeconds, string lifecycleDetails, @@ -46,6 +52,7 @@ private GetAutonomousDatabaseLocalStandbyDbResult( string timeDisasterRecoveryRoleChanged) { + AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; State = state; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseStandbyDbResult.cs index 84b4203de8..565a85878b 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseStandbyDbResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.Database.Outputs [OutputType] public sealed class GetAutonomousDatabaseStandbyDbResult { + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + public readonly string AvailabilityDomain; /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// @@ -36,6 +40,8 @@ public sealed class GetAutonomousDatabaseStandbyDbResult [OutputConstructor] private GetAutonomousDatabaseStandbyDbResult( + string availabilityDomain, + int lagTimeInSeconds, string lifecycleDetails, @@ -46,6 +52,7 @@ private GetAutonomousDatabaseStandbyDbResult( string timeDisasterRecoveryRoleChanged) { + AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; State = state; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileResult.cs index 3bc9c7e697..1597b8db99 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileResult.cs @@ -18,16 +18,13 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseConnectionStringProf /// public readonly string ConsumerGroup; /// - /// A filter to return only resources that match the entire display name given. The match is not case sensitive. + /// The user-friendly name for the Autonomous Database. The name does not have to be unique. /// public readonly string DisplayName; /// /// Host format used in connection string. /// public readonly string HostFormat; - /// - /// True for a regional connection string, applicable to cross-region DG only. - /// public readonly bool IsRegional; /// /// Protocol used by the connection. @@ -38,7 +35,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseConnectionStringProf /// public readonly string SessionMode; /// - /// Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Database Serverless instances always use the long format. + /// Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. /// public readonly string SyntaxFormat; /// diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult.cs index 0447de0de5..1b63e7fb98 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.Database.Outputs [OutputType] public sealed class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult { + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + public readonly string AvailabilityDomain; /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// @@ -22,7 +26,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult /// public readonly string LifecycleDetails; /// - /// A filter to return only resources that match the given lifecycle state exactly. + /// The current state of the Autonomous Database. /// public readonly string State; /// @@ -36,6 +40,8 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult [OutputConstructor] private GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult( + string availabilityDomain, + int lagTimeInSeconds, string lifecycleDetails, @@ -46,6 +52,7 @@ private GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult( string timeDisasterRecoveryRoleChanged) { + AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; State = state; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs index 1a89fc1116..6a03aee893 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs @@ -43,12 +43,19 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly string AutonomousContainerDatabaseId; public readonly string AutonomousDatabaseBackupId; + /// + /// The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// public readonly string AutonomousDatabaseId; /// /// The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle /// public readonly string AutonomousMaintenanceScheduleType; /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + public readonly string AvailabilityDomain; + /// /// List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. /// public readonly ImmutableArray AvailableUpgradeVersions; @@ -71,7 +78,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly string ClusterPlacementGroupId; /// - /// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. /// public readonly string CompartmentId; /// @@ -131,11 +138,15 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly ImmutableArray DbToolsDetails; /// - /// A filter to return only autonomous database resources that match the specified dbVersion. + /// A valid Oracle Database version for Autonomous Database. /// public readonly string DbVersion; /// - /// A filter to return only autonomous database resources that match the specified workload type. + /// The Autonomous Database workload type. The following values are valid: + /// * OLTP - indicates an Autonomous Transaction Processing database + /// * DW - indicates an Autonomous Data Warehouse database + /// * AJD - indicates an Autonomous JSON Database + /// * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. /// public readonly string DbWorkload; /// @@ -151,7 +162,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly string DisasterRecoveryType; /// - /// A filter to return only resources that match the entire display name given. The match is not case sensitive. + /// The user-friendly name for the Autonomous Database. The name does not have to be unique. /// public readonly string DisplayName; /// @@ -175,7 +186,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly int InMemoryPercentage; /// - /// A filter to return only resources that match the given Infrastructure Type. + /// The infrastructure type this resource belongs to. /// public readonly string InfrastructureType; /// @@ -191,7 +202,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly bool IsAutoScalingForStorageEnabled; /// - /// A filter to return only resources that have Data Guard enabled. + /// **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. /// public readonly bool IsDataGuardEnabled; /// @@ -203,7 +214,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly bool IsDevTier; /// - /// 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. + /// 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. /// public readonly bool IsFreeTier; /// @@ -224,7 +235,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly bool IsReconnectCloneEnabled; /// - /// 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. + /// Indicates if the Autonomous Database is a refreshable clone. /// public readonly bool IsRefreshableClone; /// @@ -289,7 +300,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly int MaxCpuCoreCount; /// - /// The amount of memory (in GBs) enabled per OCPU or ECPU. + /// The amount of memory (in GBs) enabled per ECPU or OCPU. /// public readonly int MemoryPerOracleComputeUnitInGbs; /// @@ -367,7 +378,7 @@ 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. + /// The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// public readonly string ResourcePoolLeaderId; /// @@ -404,7 +415,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly ImmutableArray StandbyWhitelistedIps; /// - /// A filter to return only resources that match the given lifecycle state exactly. + /// The current state of the Autonomous Database. /// public readonly string State; /// @@ -413,6 +424,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult public readonly string SubnetId; /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + /// 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 the backup subnet. /// public readonly string SubscriptionId; /// @@ -536,6 +548,8 @@ private GetAutonomousDatabasesAutonomousDatabaseResult( string autonomousMaintenanceScheduleType, + string availabilityDomain, + ImmutableArray availableUpgradeVersions, ImmutableArray backupConfigs, @@ -799,6 +813,7 @@ private GetAutonomousDatabasesAutonomousDatabaseResult( AutonomousDatabaseBackupId = autonomousDatabaseBackupId; AutonomousDatabaseId = autonomousDatabaseId; AutonomousMaintenanceScheduleType = autonomousMaintenanceScheduleType; + AvailabilityDomain = availabilityDomain; AvailableUpgradeVersions = availableUpgradeVersions; BackupConfigs = backupConfigs; BackupRetentionPeriodInDays = backupRetentionPeriodInDays; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult.cs index bf05ce57e1..a5ff2f4566 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult.cs @@ -13,6 +13,10 @@ namespace Pulumi.Oci.Database.Outputs [OutputType] public sealed class GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult { + /// + /// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + /// + public readonly string AvailabilityDomain; /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// @@ -22,7 +26,7 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult /// public readonly string LifecycleDetails; /// - /// A filter to return only resources that match the given lifecycle state exactly. + /// The current state of the Autonomous Database. /// public readonly string State; /// @@ -36,6 +40,8 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult [OutputConstructor] private GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult( + string availabilityDomain, + int lagTimeInSeconds, string lifecycleDetails, @@ -46,6 +52,7 @@ private GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult( string timeDisasterRecoveryRoleChanged) { + AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; State = state; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult.cs index b017d62b7c..12542271f0 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult.cs @@ -13,6 +13,7 @@ namespace Pulumi.Oci.Database.Outputs [OutputType] public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult { + public readonly string AvailabilityDomain; /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// @@ -36,6 +37,8 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb [OutputConstructor] private GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult( + string availabilityDomain, + int lagTimeInSeconds, string lifecycleDetails, @@ -46,6 +49,7 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult( string timeDisasterRecoveryRoleChanged) { + AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; State = state; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs index 1cec5a2466..7309de166a 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs @@ -42,9 +42,10 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseResult /// public readonly string AutonomousContainerDatabaseId; /// - /// The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle + /// The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle* `availability_domain` - The availability domain where the Autonomous Database Serverless instance is located. /// public readonly string AutonomousMaintenanceScheduleType; + public readonly string AvailabilityDomain; /// /// List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. /// @@ -267,7 +268,7 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseResult /// public readonly string LocalDisasterRecoveryType; /// - /// Autonomous Data Guard standby database details. + /// Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. /// public readonly ImmutableArray LocalStandbyDbs; /// @@ -372,7 +373,7 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseResult /// public readonly string SourceId; /// - /// **Deprecated** Autonomous Data Guard standby database details. + /// **Deprecated** Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. /// public readonly ImmutableArray StandbyDbs; /// @@ -499,6 +500,8 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseResult( string autonomousMaintenanceScheduleType, + string availabilityDomain, + ImmutableArray availableUpgradeVersions, ImmutableArray backupConfigs, @@ -725,6 +728,7 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseResult( AutoRefreshPointLagInSeconds = autoRefreshPointLagInSeconds; AutonomousContainerDatabaseId = autonomousContainerDatabaseId; AutonomousMaintenanceScheduleType = autonomousMaintenanceScheduleType; + AvailabilityDomain = availabilityDomain; AvailableUpgradeVersions = availableUpgradeVersions; BackupConfigs = backupConfigs; BackupRetentionPeriodInDays = backupRetentionPeriodInDays; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult.cs index 399b7ee15e..0e5be7d917 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult.cs @@ -13,6 +13,7 @@ namespace Pulumi.Oci.Database.Outputs [OutputType] public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult { + public readonly string AvailabilityDomain; /// /// The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. /// @@ -36,6 +37,8 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResul [OutputConstructor] private GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult( + string availabilityDomain, + int lagTimeInSeconds, string lifecycleDetails, @@ -46,6 +49,7 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult( string timeDisasterRecoveryRoleChanged) { + AvailabilityDomain = availabilityDomain; LagTimeInSeconds = lagTimeInSeconds; LifecycleDetails = lifecycleDetails; State = state; diff --git a/sdk/dotnet/Database/Outputs/GetDataGuardAssociationsDataGuardAssociationResult.cs b/sdk/dotnet/Database/Outputs/GetDataGuardAssociationsDataGuardAssociationResult.cs index 10e6ee69cc..1d61cbe1e8 100644 --- a/sdk/dotnet/Database/Outputs/GetDataGuardAssociationsDataGuardAssociationResult.cs +++ b/sdk/dotnet/Database/Outputs/GetDataGuardAssociationsDataGuardAssociationResult.cs @@ -39,6 +39,7 @@ public sealed class GetDataGuardAssociationsDataGuardAssociationResult public readonly ImmutableDictionary DbSystemFreeformTags; public readonly string DeleteStandbyDbHomeOnDelete; public readonly string DisplayName; + public readonly string Domain; public readonly ImmutableArray FaultDomains; public readonly string Hostname; /// @@ -141,6 +142,8 @@ private GetDataGuardAssociationsDataGuardAssociationResult( string displayName, + string domain, + ImmutableArray faultDomains, string hostname, @@ -210,6 +213,7 @@ private GetDataGuardAssociationsDataGuardAssociationResult( DbSystemFreeformTags = dbSystemFreeformTags; DeleteStandbyDbHomeOnDelete = deleteStandbyDbHomeOnDelete; DisplayName = displayName; + Domain = domain; FaultDomains = faultDomains; Hostname = hostname; Id = id; diff --git a/sdk/dotnet/DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.cs b/sdk/dotnet/DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.cs new file mode 100644 index 0000000000..6298223d14 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.cs @@ -0,0 +1,145 @@ +// *** 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.DatabaseManagement +{ + /// + /// This resource provides the Autonomous Database Autonomous Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service. + /// + /// Enables a Database Management feature for the specified Autonomous Database. + /// + [OciResourceType("oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement")] + public partial class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement : global::Pulumi.CustomResource + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + /// + [Output("autonomousDatabaseId")] + public Output AutonomousDatabaseId { get; private set; } = null!; + + /// + /// (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + /// + /// + /// ** IMPORTANT ** + /// 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("enableAutonomousDatabaseDbmFeature")] + public Output EnableAutonomousDatabaseDbmFeature { get; private set; } = null!; + + /// + /// The details required to enable the specified Database Management feature for an Autonomous Database. + /// + [Output("featureDetails")] + public Output FeatureDetails { get; private set; } = null!; + + + /// + /// Create a AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement 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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(string name, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs args, CustomResourceOptions? options = null) + : base("oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", name, args ?? new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs(), MakeResourceOptions(options, "")) + { + } + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(string name, Input id, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState? state = null, CustomResourceOptions? options = null) + : base("oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", 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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement 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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement Get(string name, Input id, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState? state = null, CustomResourceOptions? options = null) + { + return new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(name, id, state, options); + } + } + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs : global::Pulumi.ResourceArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + /// + [Input("autonomousDatabaseId", required: true)] + public Input AutonomousDatabaseId { get; set; } = null!; + + /// + /// (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + /// + /// + /// ** IMPORTANT ** + /// 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("enableAutonomousDatabaseDbmFeature", required: true)] + public Input EnableAutonomousDatabaseDbmFeature { get; set; } = null!; + + /// + /// The details required to enable the specified Database Management feature for an Autonomous Database. + /// + [Input("featureDetails")] + public Input? FeatureDetails { get; set; } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs(); + } + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState : global::Pulumi.ResourceArgs + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + /// + [Input("autonomousDatabaseId")] + public Input? AutonomousDatabaseId { get; set; } + + /// + /// (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + /// + /// + /// ** IMPORTANT ** + /// 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("enableAutonomousDatabaseDbmFeature")] + public Input? EnableAutonomousDatabaseDbmFeature { get; set; } + + /// + /// The details required to enable the specified Database Management feature for an Autonomous Database. + /// + [Input("featureDetails")] + public Input? FeatureDetails { get; set; } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/DatabaseDbmFeaturesManagement.cs b/sdk/dotnet/DatabaseManagement/DatabaseDbmFeaturesManagement.cs index 071fdd4ebe..9275ab5955 100644 --- a/sdk/dotnet/DatabaseManagement/DatabaseDbmFeaturesManagement.cs +++ b/sdk/dotnet/DatabaseManagement/DatabaseDbmFeaturesManagement.cs @@ -39,6 +39,9 @@ public partial class DatabaseDbmFeaturesManagement : global::Pulumi.CustomResour [Output("featureDetails")] public Output FeatureDetails { get; private set; } = null!; + [Output("modifyDatabaseDbmFeature")] + public Output ModifyDatabaseDbmFeature { get; private set; } = null!; + /// /// Create a DatabaseDbmFeaturesManagement resource with the given unique name, arguments, and options. @@ -107,6 +110,9 @@ public sealed class DatabaseDbmFeaturesManagementArgs : global::Pulumi.ResourceA [Input("featureDetails")] public Input? FeatureDetails { get; set; } + [Input("modifyDatabaseDbmFeature")] + public Input? ModifyDatabaseDbmFeature { get; set; } + public DatabaseDbmFeaturesManagementArgs() { } @@ -137,6 +143,9 @@ public sealed class DatabaseDbmFeaturesManagementState : global::Pulumi.Resource [Input("featureDetails")] public Input? FeatureDetails { get; set; } + [Input("modifyDatabaseDbmFeature")] + public Input? ModifyDatabaseDbmFeature { get; set; } + public DatabaseDbmFeaturesManagementState() { } diff --git a/sdk/dotnet/DatabaseManagement/DbManagementPrivateEndpoint.cs b/sdk/dotnet/DatabaseManagement/DbManagementPrivateEndpoint.cs index 73537b66f6..1de507920c 100644 --- a/sdk/dotnet/DatabaseManagement/DbManagementPrivateEndpoint.cs +++ b/sdk/dotnet/DatabaseManagement/DbManagementPrivateEndpoint.cs @@ -39,6 +39,7 @@ namespace Pulumi.Oci.DatabaseManagement /// { "Department", "Finance" }, /// }, /// IsCluster = dbManagementPrivateEndpointIsCluster, + /// IsDnsResolutionEnabled = dbManagementPrivateEndpointIsDnsResolutionEnabled, /// NsgIds = dbManagementPrivateEndpointNsgIds, /// }); /// @@ -86,6 +87,12 @@ public partial class DbManagementPrivateEndpoint : global::Pulumi.CustomResource [Output("isCluster")] public Output IsCluster { get; private set; } = null!; + /// + /// Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + /// + [Output("isDnsResolutionEnabled")] + public Output IsDnsResolutionEnabled { get; private set; } = null!; + /// /// (Updatable) The display name of the Database Management private endpoint. /// @@ -226,6 +233,12 @@ public InputMap FreeformTags [Input("isCluster")] public Input? IsCluster { get; set; } + /// + /// Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + /// + [Input("isDnsResolutionEnabled")] + public Input? IsDnsResolutionEnabled { get; set; } + /// /// (Updatable) The display name of the Database Management private endpoint. /// @@ -304,6 +317,12 @@ public InputMap FreeformTags [Input("isCluster")] public Input? IsCluster { get; set; } + /// + /// Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + /// + [Input("isDnsResolutionEnabled")] + public Input? IsDnsResolutionEnabled { get; set; } + /// /// (Updatable) The display name of the Database Management private endpoint. /// diff --git a/sdk/dotnet/DatabaseManagement/GetDbManagementPrivateEndpoint.cs b/sdk/dotnet/DatabaseManagement/GetDbManagementPrivateEndpoint.cs index 469dccaa79..785db7f1a5 100644 --- a/sdk/dotnet/DatabaseManagement/GetDbManagementPrivateEndpoint.cs +++ b/sdk/dotnet/DatabaseManagement/GetDbManagementPrivateEndpoint.cs @@ -123,6 +123,10 @@ public sealed class GetDbManagementPrivateEndpointResult /// public readonly bool IsCluster; /// + /// Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + /// + public readonly bool IsDnsResolutionEnabled; + /// /// The display name of the Database Management private endpoint. /// public readonly string Name; @@ -171,6 +175,8 @@ private GetDbManagementPrivateEndpointResult( bool isCluster, + bool isDnsResolutionEnabled, + string name, ImmutableArray nsgIds, @@ -194,6 +200,7 @@ private GetDbManagementPrivateEndpointResult( FreeformTags = freeformTags; Id = id; IsCluster = isCluster; + IsDnsResolutionEnabled = isDnsResolutionEnabled; Name = name; NsgIds = nsgIds; PrivateIp = privateIp; diff --git a/sdk/dotnet/DatabaseManagement/GetDbManagementPrivateEndpoints.cs b/sdk/dotnet/DatabaseManagement/GetDbManagementPrivateEndpoints.cs index 6e7e1e22af..8e7d1bdf95 100644 --- a/sdk/dotnet/DatabaseManagement/GetDbManagementPrivateEndpoints.cs +++ b/sdk/dotnet/DatabaseManagement/GetDbManagementPrivateEndpoints.cs @@ -31,6 +31,7 @@ public static class GetDbManagementPrivateEndpoints /// { /// CompartmentId = compartmentId, /// IsCluster = dbManagementPrivateEndpointIsCluster, + /// IsDnsResolutionEnabled = dbManagementPrivateEndpointIsDnsResolutionEnabled, /// Name = dbManagementPrivateEndpointName, /// State = dbManagementPrivateEndpointState, /// VcnId = testVcn.Id, @@ -62,6 +63,7 @@ public static Task InvokeAsync(GetDbManag /// { /// CompartmentId = compartmentId, /// IsCluster = dbManagementPrivateEndpointIsCluster, + /// IsDnsResolutionEnabled = dbManagementPrivateEndpointIsDnsResolutionEnabled, /// Name = dbManagementPrivateEndpointName, /// State = dbManagementPrivateEndpointState, /// VcnId = testVcn.Id, @@ -97,6 +99,12 @@ public List Filters [Input("isCluster")] public bool? IsCluster { get; set; } + /// + /// The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + /// + [Input("isDnsResolutionEnabled")] + public bool? IsDnsResolutionEnabled { get; set; } + /// /// A filter to return only resources that match the entire name. /// @@ -143,6 +151,12 @@ public InputList Filters [Input("isCluster")] public Input? IsCluster { get; set; } + /// + /// The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + /// + [Input("isDnsResolutionEnabled")] + public Input? IsDnsResolutionEnabled { get; set; } + /// /// A filter to return only resources that match the entire name. /// @@ -189,6 +203,10 @@ public sealed class GetDbManagementPrivateEndpointsResult /// public readonly bool? IsCluster; /// + /// Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + /// + public readonly bool? IsDnsResolutionEnabled; + /// /// The display name of the Database Management private endpoint. /// public readonly string? Name; @@ -213,6 +231,8 @@ private GetDbManagementPrivateEndpointsResult( bool? isCluster, + bool? isDnsResolutionEnabled, + string? name, string? state, @@ -224,6 +244,7 @@ private GetDbManagementPrivateEndpointsResult( Filters = filters; Id = id; IsCluster = isCluster; + IsDnsResolutionEnabled = isDnsResolutionEnabled; Name = name; State = state; VcnId = vcnId; diff --git a/sdk/dotnet/DatabaseManagement/GetManagedDatabase.cs b/sdk/dotnet/DatabaseManagement/GetManagedDatabase.cs index e14f3ac4a7..f393bdc117 100644 --- a/sdk/dotnet/DatabaseManagement/GetManagedDatabase.cs +++ b/sdk/dotnet/DatabaseManagement/GetManagedDatabase.cs @@ -69,6 +69,12 @@ public static Output Invoke(GetManagedDatabaseInvokeAr public sealed class GetManagedDatabaseArgs : global::Pulumi.InvokeArgs { + /// + /// The operating system of database. + /// + [Input("databasePlatformName")] + public string? DatabasePlatformName { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. /// @@ -83,6 +89,12 @@ public GetManagedDatabaseArgs() public sealed class GetManagedDatabaseInvokeArgs : global::Pulumi.InvokeArgs { + /// + /// The operating system of database. + /// + [Input("databasePlatformName")] + public Input? DatabasePlatformName { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. /// @@ -108,6 +120,10 @@ public sealed class GetManagedDatabaseResult /// public readonly string CompartmentId; /// + /// The operating system of database. + /// + public readonly string? DatabasePlatformName; + /// /// The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. /// public readonly string DatabaseStatus; @@ -128,6 +144,10 @@ public sealed class GetManagedDatabaseResult /// public readonly string DbSystemId; /// + /// The list of feature configurations + /// + public readonly ImmutableArray DbmgmtFeatureConfigs; + /// /// 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 ImmutableDictionary DefinedTags; @@ -169,6 +189,10 @@ public sealed class GetManagedDatabaseResult /// public readonly string StorageSystemId; /// + /// 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"}` + /// + public readonly ImmutableDictionary SystemTags; + /// /// The date and time the Managed Database was created. /// public readonly string TimeCreated; @@ -183,6 +207,8 @@ private GetManagedDatabaseResult( string compartmentId, + string? databasePlatformName, + string databaseStatus, string databaseSubType, @@ -193,6 +219,8 @@ private GetManagedDatabaseResult( string dbSystemId, + ImmutableArray dbmgmtFeatureConfigs, + ImmutableDictionary definedTags, string deploymentType, @@ -215,17 +243,21 @@ private GetManagedDatabaseResult( string storageSystemId, + ImmutableDictionary systemTags, + string timeCreated, string workloadType) { AdditionalDetails = additionalDetails; CompartmentId = compartmentId; + DatabasePlatformName = databasePlatformName; DatabaseStatus = databaseStatus; DatabaseSubType = databaseSubType; DatabaseType = databaseType; DatabaseVersion = databaseVersion; DbSystemId = dbSystemId; + DbmgmtFeatureConfigs = dbmgmtFeatureConfigs; DefinedTags = definedTags; DeploymentType = deploymentType; FreeformTags = freeformTags; @@ -237,6 +269,7 @@ private GetManagedDatabaseResult( Name = name; ParentContainerId = parentContainerId; StorageSystemId = storageSystemId; + SystemTags = systemTags; TimeCreated = timeCreated; WorkloadType = workloadType; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs.cs new file mode 100644 index 0000000000..1e5014b723 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs.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.DatabaseManagement.Inputs +{ + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs : global::Pulumi.ResourceArgs + { + /// + /// The connector details required to connect to an Oracle cloud database. + /// + [Input("connectorDetails")] + public Input? ConnectorDetails { get; set; } + + /// + /// The connection details required to connect to the database. + /// + [Input("databaseConnectionDetails")] + public Input? DatabaseConnectionDetails { get; set; } + + /// + /// The name of the Database Management feature. + /// + [Input("feature", required: true)] + public Input Feature { get; set; } = null!; + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs new file mode 100644 index 0000000000..52eb033cf6 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs @@ -0,0 +1,48 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs : global::Pulumi.ResourceArgs + { + /// + /// The list of supported connection types: + /// * PE: Private endpoint + /// * MACS: Management agent + /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection + /// + [Input("connectorType")] + public Input? ConnectorType { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + /// + [Input("databaseConnectorId")] + public Input? DatabaseConnectorId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + /// + [Input("managementAgentId")] + public Input? ManagementAgentId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + /// + [Input("privateEndPointId")] + public Input? PrivateEndPointId { get; set; } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs new file mode 100644 index 0000000000..33699aa7ab --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs @@ -0,0 +1,48 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The list of supported connection types: + /// * PE: Private endpoint + /// * MACS: Management agent + /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection + /// + [Input("connectorType")] + public Input? ConnectorType { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + /// + [Input("databaseConnectorId")] + public Input? DatabaseConnectorId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + /// + [Input("managementAgentId")] + public Input? ManagementAgentId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + /// + [Input("privateEndPointId")] + public Input? PrivateEndPointId { get; set; } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.cs new file mode 100644 index 0000000000..7417758ace --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.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.DatabaseManagement.Inputs +{ + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs : global::Pulumi.ResourceArgs + { + /// + /// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + /// + [Input("connectionCredentials")] + public Input? ConnectionCredentials { get; set; } + + /// + /// The details of the Oracle Database connection string. + /// + [Input("connectionString")] + public Input? ConnectionString { get; set; } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs new file mode 100644 index 0000000000..5bbf880347 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs @@ -0,0 +1,68 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + /// + /// For example: inventorydb.abc112233445566778899 + /// + [Input("credentialName")] + public Input? CredentialName { get; set; } + + /// + /// The type of credential used to connect to the database. + /// + [Input("credentialType")] + public Input? CredentialType { get; set; } + + [Input("passwordSecretId")] + private Input? _passwordSecretId; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + /// + public Input? PasswordSecretId + { + get => _passwordSecretId; + set + { + var emptySecret = Output.CreateSecret(0); + _passwordSecretId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The role of the user connecting to the database. + /// + [Input("role")] + public Input? Role { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + /// + [Input("sslSecretId")] + public Input? SslSecretId { get; set; } + + /// + /// The user name used to connect to the database. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs new file mode 100644 index 0000000000..eae793c7b5 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs @@ -0,0 +1,68 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + /// + /// For example: inventorydb.abc112233445566778899 + /// + [Input("credentialName")] + public Input? CredentialName { get; set; } + + /// + /// The type of credential used to connect to the database. + /// + [Input("credentialType")] + public Input? CredentialType { get; set; } + + [Input("passwordSecretId")] + private Input? _passwordSecretId; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + /// + public Input? PasswordSecretId + { + get => _passwordSecretId; + set + { + var emptySecret = Output.CreateSecret(0); + _passwordSecretId = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); + } + } + + /// + /// The role of the user connecting to the database. + /// + [Input("role")] + public Input? Role { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + /// + [Input("sslSecretId")] + public Input? SslSecretId { get; set; } + + /// + /// The user name used to connect to the database. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.cs new file mode 100644 index 0000000000..c31222cc26 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.cs @@ -0,0 +1,45 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs : global::Pulumi.ResourceArgs + { + /// + /// The list of supported connection types: + /// * BASIC: Basic connection details + /// + [Input("connectionType")] + public Input? ConnectionType { get; set; } + + /// + /// The port number used to connect to the database. + /// + [Input("port")] + public Input? Port { get; set; } + + /// + /// The protocol used to connect to the database. + /// + [Input("protocol")] + public Input? Protocol { get; set; } + + /// + /// The service name of the database. + /// + [Input("service")] + public Input? Service { get; set; } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringGetArgs.cs new file mode 100644 index 0000000000..6835680252 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringGetArgs.cs @@ -0,0 +1,45 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The list of supported connection types: + /// * BASIC: Basic connection details + /// + [Input("connectionType")] + public Input? ConnectionType { get; set; } + + /// + /// The port number used to connect to the database. + /// + [Input("port")] + public Input? Port { get; set; } + + /// + /// The protocol used to connect to the database. + /// + [Input("protocol")] + public Input? Protocol { get; set; } + + /// + /// The service name of the database. + /// + [Input("service")] + public Input? Service { get; set; } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringGetArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringGetArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsGetArgs.cs new file mode 100644 index 0000000000..95e69f6cba --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsGetArgs.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.DatabaseManagement.Inputs +{ + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + /// + [Input("connectionCredentials")] + public Input? ConnectionCredentials { get; set; } + + /// + /// The details of the Oracle Database connection string. + /// + [Input("connectionString")] + public Input? ConnectionString { get; set; } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsGetArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsGetArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsGetArgs.cs new file mode 100644 index 0000000000..19626867af --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsGetArgs.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.DatabaseManagement.Inputs +{ + + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The connector details required to connect to an Oracle cloud database. + /// + [Input("connectorDetails")] + public Input? ConnectorDetails { get; set; } + + /// + /// The connection details required to connect to the database. + /// + [Input("databaseConnectionDetails")] + public Input? DatabaseConnectionDetails { get; set; } + + /// + /// The name of the Database Management feature. + /// + [Input("feature", required: true)] + public Input Feature { get; set; } = null!; + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsGetArgs() + { + } + public static new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsGetArgs Empty => new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs index 6a43152a41..3692777410 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs @@ -17,6 +17,7 @@ public sealed class DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsA /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// [Input("connectorType")] public Input? ConnectorType { get; set; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs index a7635a2d04..3ecdf49ee5 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs @@ -17,6 +17,7 @@ public sealed class DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsG /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// [Input("connectorType")] public Input? ConnectorType { get; set; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs index 6a3c274b97..0efc9d890b 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs @@ -26,6 +26,12 @@ public sealed class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectio [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + [Input("passwordSecretId")] private Input? _passwordSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs index 6b5eead759..e95f49262f 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs @@ -26,6 +26,12 @@ public sealed class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectio [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + [Input("passwordSecretId")] private Input? _passwordSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs.cs index f620ffbc3e..a2c22e21df 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs.cs @@ -24,6 +24,12 @@ public sealed class ExternalDbSystemConnectorConnectionInfoConnectionCredentialA [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialGetArgs.cs index c8a1f4fcce..ee84900802 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialGetArgs.cs @@ -24,6 +24,12 @@ public sealed class ExternalDbSystemConnectorConnectionInfoConnectionCredentialG [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs.cs index a25471f7b3..d60bc508f8 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs.cs @@ -24,6 +24,12 @@ public sealed class ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceC [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialGetArgs.cs index 22100a0fbe..99e089995e 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialGetArgs.cs @@ -24,6 +24,12 @@ public sealed class ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceC [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs.cs index a57fd238fb..2795649b78 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs.cs @@ -24,6 +24,12 @@ public sealed class ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnect [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialGetArgs.cs index e81cb81426..ac8bc78322 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialGetArgs.cs @@ -24,6 +24,12 @@ public sealed class ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnect [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs.cs index c0a3ca6fac..69c226653b 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs.cs @@ -24,6 +24,12 @@ public sealed class ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabas [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialGetArgs.cs index 1b5eafeb74..4ad3e065c2 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialGetArgs.cs @@ -24,6 +24,12 @@ public sealed class ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabas [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs index 2ff7a6bb6f..29778e419f 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs @@ -17,6 +17,7 @@ public sealed class ExternalcontainerdatabaseExternalContainerDbmFeaturesManagem /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// [Input("connectorType")] public Input? ConnectorType { get; set; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs index 3c2e78432d..ec916de6a0 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs @@ -17,6 +17,7 @@ public sealed class ExternalcontainerdatabaseExternalContainerDbmFeaturesManagem /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// [Input("connectorType")] public Input? ConnectorType { get; set; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs index 2dd9f76fee..310749a07a 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs @@ -17,6 +17,7 @@ public sealed class ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesM /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// [Input("connectorType")] public Input? ConnectorType { get; set; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs index 1cffd56d22..e276e826de 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs @@ -17,6 +17,7 @@ public sealed class ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesM /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// [Input("connectorType")] public Input? ConnectorType { get; set; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs index 19a3637164..080dcf455c 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs @@ -17,6 +17,7 @@ public sealed class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagem /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// [Input("connectorType")] public Input? ConnectorType { get; set; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs index 5a96157a7d..1e85874a95 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs @@ -17,6 +17,7 @@ public sealed class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagem /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// [Input("connectorType")] public Input? ConnectorType { get; set; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigArgs.cs new file mode 100644 index 0000000000..2b9987af93 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigArgs.cs @@ -0,0 +1,62 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class ManagedDatabaseDbmgmtFeatureConfigArgs : global::Pulumi.ResourceArgs + { + [Input("connectorDetails")] + private InputList? _connectorDetails; + + /// + /// The connector details required to connect to an Oracle cloud database. + /// + public InputList ConnectorDetails + { + get => _connectorDetails ?? (_connectorDetails = new InputList()); + set => _connectorDetails = value; + } + + [Input("databaseConnectionDetails")] + private InputList? _databaseConnectionDetails; + + /// + /// The connection details required to connect to the database. + /// + public InputList DatabaseConnectionDetails + { + get => _databaseConnectionDetails ?? (_databaseConnectionDetails = new InputList()); + set => _databaseConnectionDetails = value; + } + + /// + /// The name of the Database Management feature. + /// + [Input("feature")] + public Input? Feature { get; set; } + + /// + /// The list of statuses for Database Management features. + /// + [Input("featureStatus")] + public Input? FeatureStatus { get; set; } + + /// + /// The Oracle license model that applies to the external database. + /// + [Input("licenseModel")] + public Input? LicenseModel { get; set; } + + public ManagedDatabaseDbmgmtFeatureConfigArgs() + { + } + public static new ManagedDatabaseDbmgmtFeatureConfigArgs Empty => new ManagedDatabaseDbmgmtFeatureConfigArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs.cs new file mode 100644 index 0000000000..aa9af0f575 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs.cs @@ -0,0 +1,47 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs : global::Pulumi.ResourceArgs + { + /// + /// The list of supported connection types: + /// * PE: Private endpoint + /// * MACS: Management agent + /// * EXTERNAL: External database connector + /// + [Input("connectorType")] + public Input? ConnectorType { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + /// + [Input("databaseConnectorId")] + public Input? DatabaseConnectorId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + /// + [Input("managementAgentId")] + public Input? ManagementAgentId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + /// + [Input("privateEndPointId")] + public Input? PrivateEndPointId { get; set; } + + public ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs() + { + } + public static new ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs Empty => new ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetailGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetailGetArgs.cs new file mode 100644 index 0000000000..c09fcf242c --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetailGetArgs.cs @@ -0,0 +1,47 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class ManagedDatabaseDbmgmtFeatureConfigConnectorDetailGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The list of supported connection types: + /// * PE: Private endpoint + /// * MACS: Management agent + /// * EXTERNAL: External database connector + /// + [Input("connectorType")] + public Input? ConnectorType { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + /// + [Input("databaseConnectorId")] + public Input? DatabaseConnectorId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + /// + [Input("managementAgentId")] + public Input? ManagementAgentId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + /// + [Input("privateEndPointId")] + public Input? PrivateEndPointId { get; set; } + + public ManagedDatabaseDbmgmtFeatureConfigConnectorDetailGetArgs() + { + } + public static new ManagedDatabaseDbmgmtFeatureConfigConnectorDetailGetArgs Empty => new ManagedDatabaseDbmgmtFeatureConfigConnectorDetailGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs.cs new file mode 100644 index 0000000000..5d3192dbeb --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs.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.DatabaseManagement.Inputs +{ + + public sealed class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs : global::Pulumi.ResourceArgs + { + [Input("connectionCredentials")] + private InputList? _connectionCredentials; + + /// + /// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + /// + public InputList ConnectionCredentials + { + get => _connectionCredentials ?? (_connectionCredentials = new InputList()); + set => _connectionCredentials = value; + } + + [Input("connectionStrings")] + private InputList? _connectionStrings; + + /// + /// The details of the Oracle Database connection string. + /// + public InputList ConnectionStrings + { + get => _connectionStrings ?? (_connectionStrings = new InputList()); + set => _connectionStrings = value; + } + + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs() + { + } + public static new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs Empty => new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs.cs new file mode 100644 index 0000000000..e7511e99d9 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs.cs @@ -0,0 +1,62 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + /// + [Input("credentialName")] + public Input? CredentialName { get; set; } + + /// + /// The type of credential used to connect to the database. + /// + [Input("credentialType")] + public Input? CredentialType { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + /// + [Input("passwordSecretId")] + public Input? PasswordSecretId { get; set; } + + /// + /// The role of the user connecting to the database. + /// + [Input("role")] + public Input? Role { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + /// + [Input("sslSecretId")] + public Input? SslSecretId { get; set; } + + /// + /// The user name used to connect to the database. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs() + { + } + public static new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs Empty => new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialGetArgs.cs new file mode 100644 index 0000000000..7d4e2f7935 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialGetArgs.cs @@ -0,0 +1,62 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + /// + [Input("credentialName")] + public Input? CredentialName { get; set; } + + /// + /// The type of credential used to connect to the database. + /// + [Input("credentialType")] + public Input? CredentialType { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + /// + [Input("passwordSecretId")] + public Input? PasswordSecretId { get; set; } + + /// + /// The role of the user connecting to the database. + /// + [Input("role")] + public Input? Role { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + /// + [Input("sslSecretId")] + public Input? SslSecretId { get; set; } + + /// + /// The user name used to connect to the database. + /// + [Input("userName")] + public Input? UserName { get; set; } + + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialGetArgs() + { + } + public static new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialGetArgs Empty => new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs.cs new file mode 100644 index 0000000000..ea10c8be5b --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs.cs @@ -0,0 +1,45 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs : global::Pulumi.ResourceArgs + { + /// + /// The list of supported connection types: + /// * BASIC: Basic connection details + /// + [Input("connectionType")] + public Input? ConnectionType { get; set; } + + /// + /// The port number used to connect to the database. + /// + [Input("port")] + public Input? Port { get; set; } + + /// + /// The protocol used to connect to the database. + /// + [Input("protocol")] + public Input? Protocol { get; set; } + + /// + /// The service name of the database. + /// + [Input("service")] + public Input? Service { get; set; } + + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs() + { + } + public static new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs Empty => new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringGetArgs.cs new file mode 100644 index 0000000000..28c6f45c28 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringGetArgs.cs @@ -0,0 +1,45 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The list of supported connection types: + /// * BASIC: Basic connection details + /// + [Input("connectionType")] + public Input? ConnectionType { get; set; } + + /// + /// The port number used to connect to the database. + /// + [Input("port")] + public Input? Port { get; set; } + + /// + /// The protocol used to connect to the database. + /// + [Input("protocol")] + public Input? Protocol { get; set; } + + /// + /// The service name of the database. + /// + [Input("service")] + public Input? Service { get; set; } + + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringGetArgs() + { + } + public static new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringGetArgs Empty => new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailGetArgs.cs new file mode 100644 index 0000000000..e3e1ab68b8 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailGetArgs.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.DatabaseManagement.Inputs +{ + + public sealed class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailGetArgs : global::Pulumi.ResourceArgs + { + [Input("connectionCredentials")] + private InputList? _connectionCredentials; + + /// + /// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + /// + public InputList ConnectionCredentials + { + get => _connectionCredentials ?? (_connectionCredentials = new InputList()); + set => _connectionCredentials = value; + } + + [Input("connectionStrings")] + private InputList? _connectionStrings; + + /// + /// The details of the Oracle Database connection string. + /// + public InputList ConnectionStrings + { + get => _connectionStrings ?? (_connectionStrings = new InputList()); + set => _connectionStrings = value; + } + + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailGetArgs() + { + } + public static new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailGetArgs Empty => new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigGetArgs.cs new file mode 100644 index 0000000000..a7d27c1562 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Inputs/ManagedDatabaseDbmgmtFeatureConfigGetArgs.cs @@ -0,0 +1,62 @@ +// *** 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.DatabaseManagement.Inputs +{ + + public sealed class ManagedDatabaseDbmgmtFeatureConfigGetArgs : global::Pulumi.ResourceArgs + { + [Input("connectorDetails")] + private InputList? _connectorDetails; + + /// + /// The connector details required to connect to an Oracle cloud database. + /// + public InputList ConnectorDetails + { + get => _connectorDetails ?? (_connectorDetails = new InputList()); + set => _connectorDetails = value; + } + + [Input("databaseConnectionDetails")] + private InputList? _databaseConnectionDetails; + + /// + /// The connection details required to connect to the database. + /// + public InputList DatabaseConnectionDetails + { + get => _databaseConnectionDetails ?? (_databaseConnectionDetails = new InputList()); + set => _databaseConnectionDetails = value; + } + + /// + /// The name of the Database Management feature. + /// + [Input("feature")] + public Input? Feature { get; set; } + + /// + /// The list of statuses for Database Management features. + /// + [Input("featureStatus")] + public Input? FeatureStatus { get; set; } + + /// + /// The Oracle license model that applies to the external database. + /// + [Input("licenseModel")] + public Input? LicenseModel { get; set; } + + public ManagedDatabaseDbmgmtFeatureConfigGetArgs() + { + } + public static new ManagedDatabaseDbmgmtFeatureConfigGetArgs Empty => new ManagedDatabaseDbmgmtFeatureConfigGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs index 9c4f8888e5..2ea36d69e5 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.cs @@ -17,6 +17,7 @@ public sealed class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatu /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// [Input("connectorType")] public Input? ConnectorType { get; set; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs index 0501e047ba..8b96cedb9e 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsGetArgs.cs @@ -17,6 +17,7 @@ public sealed class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatu /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// [Input("connectorType")] public Input? ConnectorType { get; set; } diff --git a/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs index c7f60216d9..47f38da47a 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.cs @@ -26,6 +26,12 @@ public sealed class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatu [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + [Input("passwordSecretId")] private Input? _passwordSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs b/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs index a38de12f1c..69adac8867 100644 --- a/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs +++ b/sdk/dotnet/DatabaseManagement/Inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsGetArgs.cs @@ -26,6 +26,12 @@ public sealed class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatu [Input("credentialType")] public Input? CredentialType { get; set; } + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + [Input("namedCredentialId")] + public Input? NamedCredentialId { get; set; } + [Input("passwordSecretId")] private Input? _passwordSecretId; diff --git a/sdk/dotnet/DatabaseManagement/ManagedDatabase.cs b/sdk/dotnet/DatabaseManagement/ManagedDatabase.cs index 8c571edb72..d7cb6ba162 100644 --- a/sdk/dotnet/DatabaseManagement/ManagedDatabase.cs +++ b/sdk/dotnet/DatabaseManagement/ManagedDatabase.cs @@ -37,6 +37,12 @@ public partial class ManagedDatabase : global::Pulumi.CustomResource [Output("compartmentId")] public Output CompartmentId { get; private set; } = null!; + /// + /// The operating system of database. + /// + [Output("databasePlatformName")] + public Output DatabasePlatformName { get; private set; } = null!; + /// /// The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. /// @@ -67,6 +73,12 @@ public partial class ManagedDatabase : global::Pulumi.CustomResource [Output("dbSystemId")] public Output DbSystemId { get; private set; } = null!; + /// + /// The list of feature configurations + /// + [Output("dbmgmtFeatureConfigs")] + public Output> DbmgmtFeatureConfigs { get; private set; } = null!; + /// /// (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"}` /// @@ -255,6 +267,12 @@ public InputMap AdditionalDetails [Input("compartmentId")] public Input? CompartmentId { get; set; } + /// + /// The operating system of database. + /// + [Input("databasePlatformName")] + public Input? DatabasePlatformName { get; set; } + /// /// The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. /// @@ -285,6 +303,18 @@ public InputMap AdditionalDetails [Input("dbSystemId")] public Input? DbSystemId { get; set; } + [Input("dbmgmtFeatureConfigs")] + private InputList? _dbmgmtFeatureConfigs; + + /// + /// The list of feature configurations + /// + public InputList DbmgmtFeatureConfigs + { + get => _dbmgmtFeatureConfigs ?? (_dbmgmtFeatureConfigs = new InputList()); + set => _dbmgmtFeatureConfigs = value; + } + [Input("definedTags")] private InputMap? _definedTags; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails.cs b/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails.cs new file mode 100644 index 0000000000..b26995db32 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails + { + /// + /// The connector details required to connect to an Oracle cloud database. + /// + public readonly Outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails? ConnectorDetails; + /// + /// The connection details required to connect to the database. + /// + public readonly Outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails? DatabaseConnectionDetails; + /// + /// The name of the Database Management feature. + /// + public readonly string Feature; + + [OutputConstructor] + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails( + Outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails? connectorDetails, + + Outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails? databaseConnectionDetails, + + string feature) + { + ConnectorDetails = connectorDetails; + DatabaseConnectionDetails = databaseConnectionDetails; + Feature = feature; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs b/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs new file mode 100644 index 0000000000..c880243b82 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs @@ -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! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails + { + /// + /// The list of supported connection types: + /// * PE: Private endpoint + /// * MACS: Management agent + /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection + /// + public readonly string? ConnectorType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + /// + public readonly string? DatabaseConnectorId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + /// + public readonly string? ManagementAgentId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + /// + public readonly string? PrivateEndPointId; + + [OutputConstructor] + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails( + string? connectorType, + + string? databaseConnectorId, + + string? managementAgentId, + + string? privateEndPointId) + { + ConnectorType = connectorType; + DatabaseConnectorId = databaseConnectorId; + ManagementAgentId = managementAgentId; + PrivateEndPointId = privateEndPointId; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.cs b/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.cs new file mode 100644 index 0000000000..ea65935fa1 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails + { + /// + /// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + /// + public readonly Outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials? ConnectionCredentials; + /// + /// The details of the Oracle Database connection string. + /// + public readonly Outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString? ConnectionString; + + [OutputConstructor] + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails( + Outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials? connectionCredentials, + + Outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString? connectionString) + { + ConnectionCredentials = connectionCredentials; + ConnectionString = connectionString; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs b/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs new file mode 100644 index 0000000000..8ffde95770 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs @@ -0,0 +1,65 @@ +// *** 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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials + { + /// + /// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + /// + /// For example: inventorydb.abc112233445566778899 + /// + public readonly string? CredentialName; + /// + /// The type of credential used to connect to the database. + /// + public readonly string? CredentialType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + /// + public readonly string? PasswordSecretId; + /// + /// The role of the user connecting to the database. + /// + public readonly string? Role; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + /// + public readonly string? SslSecretId; + /// + /// The user name used to connect to the database. + /// + public readonly string? UserName; + + [OutputConstructor] + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials( + string? credentialName, + + string? credentialType, + + string? passwordSecretId, + + string? role, + + string? sslSecretId, + + string? userName) + { + CredentialName = credentialName; + CredentialType = credentialType; + PasswordSecretId = passwordSecretId; + Role = role; + SslSecretId = sslSecretId; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.cs b/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.cs new file mode 100644 index 0000000000..eab9a84530 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString + { + /// + /// The list of supported connection types: + /// * BASIC: Basic connection details + /// + public readonly string? ConnectionType; + /// + /// The port number used to connect to the database. + /// + public readonly int? Port; + /// + /// The protocol used to connect to the database. + /// + public readonly string? Protocol; + /// + /// The service name of the database. + /// + public readonly string? Service; + + [OutputConstructor] + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString( + string? connectionType, + + int? port, + + string? protocol, + + string? service) + { + ConnectionType = connectionType; + Port = port; + Protocol = protocol; + Service = service; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs b/sdk/dotnet/DatabaseManagement/Outputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs index a3428e761c..8a5c9d8962 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs @@ -18,6 +18,7 @@ public sealed class DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// public readonly string? ConnectorType; /// diff --git a/sdk/dotnet/DatabaseManagement/Outputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs b/sdk/dotnet/DatabaseManagement/Outputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs index 8d9d550a88..d10501f51b 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs @@ -24,6 +24,10 @@ public sealed class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectio /// public readonly string? CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + public readonly string? NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. /// public readonly string? PasswordSecretId; @@ -46,6 +50,8 @@ private DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConn string? credentialType, + string? namedCredentialId, + string? passwordSecretId, string? role, @@ -56,6 +62,7 @@ private DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConn { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemConnectorConnectionInfoConnectionCredential.cs b/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemConnectorConnectionInfoConnectionCredential.cs index 008352b341..5aa2eba830 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemConnectorConnectionInfoConnectionCredential.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemConnectorConnectionInfoConnectionCredential.cs @@ -22,6 +22,10 @@ public sealed class ExternalDbSystemConnectorConnectionInfoConnectionCredential /// public readonly string? CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string? NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string? PasswordSecretId; @@ -44,6 +48,8 @@ private ExternalDbSystemConnectorConnectionInfoConnectionCredential( string? credentialType, + string? namedCredentialId, + string? passwordSecretId, string? role, @@ -54,6 +60,7 @@ private ExternalDbSystemConnectorConnectionInfoConnectionCredential( { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.cs b/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.cs index 2b53c956e5..ff380980eb 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.cs @@ -22,6 +22,10 @@ public sealed class ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceC /// public readonly string? CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string? NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string? PasswordSecretId; @@ -44,6 +48,8 @@ private ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConn string? credentialType, + string? namedCredentialId, + string? passwordSecretId, string? role, @@ -54,6 +60,7 @@ private ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConn { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.cs b/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.cs index 6213cd7643..3d6bb97396 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.cs @@ -22,6 +22,10 @@ public sealed class ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnect /// public readonly string? CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string? NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string? PasswordSecretId; @@ -44,6 +48,8 @@ private ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConne string? credentialType, + string? namedCredentialId, + string? passwordSecretId, string? role, @@ -54,6 +60,7 @@ private ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConne { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.cs b/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.cs index f156c84752..2fcabf6bc7 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.cs @@ -22,6 +22,10 @@ public sealed class ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabas /// public readonly string? CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string? NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string? PasswordSecretId; @@ -44,6 +48,8 @@ private ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorCo string? credentialType, + string? namedCredentialId, + string? passwordSecretId, string? role, @@ -54,6 +60,7 @@ private ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorCo { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.cs b/sdk/dotnet/DatabaseManagement/Outputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.cs index a0d3672d50..9271ea551f 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.cs @@ -18,6 +18,7 @@ public sealed class ExternalcontainerdatabaseExternalContainerDbmFeaturesManagem /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// public readonly string? ConnectorType; /// diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.cs b/sdk/dotnet/DatabaseManagement/Outputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.cs index fcbaeb8d3d..2859cfe273 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.cs @@ -18,6 +18,7 @@ public sealed class ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesM /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// public readonly string? ConnectorType; /// diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.cs b/sdk/dotnet/DatabaseManagement/Outputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.cs index 550c03342e..4dd186171b 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.cs @@ -18,6 +18,7 @@ public sealed class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagem /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// public readonly string? ConnectorType; /// diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItemResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItemResult.cs index 980d5e6b81..10466e3814 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItemResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItemResult.cs @@ -38,6 +38,10 @@ public sealed class GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCo /// public readonly bool IsCluster; /// + /// The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + /// + public readonly bool IsDnsResolutionEnabled; + /// /// A filter to return only resources that match the entire name. /// public readonly string Name; @@ -84,6 +88,8 @@ private GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem bool isCluster, + bool isDnsResolutionEnabled, + string name, ImmutableArray nsgIds, @@ -106,6 +112,7 @@ private GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem FreeformTags = freeformTags; Id = id; IsCluster = isCluster; + IsDnsResolutionEnabled = isDnsResolutionEnabled; Name = name; NsgIds = nsgIds; PrivateIp = privateIp; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult.cs new file mode 100644 index 0000000000..3fa51fa735 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult.cs @@ -0,0 +1,52 @@ +// *** 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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult + { + /// + /// The list of supported connection types: + /// * PE: Private endpoint + /// * MACS: Management agent + /// * EXTERNAL: External database connector + /// + public readonly string ConnectorType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + /// + public readonly string DatabaseConnectorId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + /// + public readonly string ManagementAgentId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + /// + public readonly string PrivateEndPointId; + + [OutputConstructor] + private GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult( + string connectorType, + + string databaseConnectorId, + + string managementAgentId, + + string privateEndPointId) + { + ConnectorType = connectorType; + DatabaseConnectorId = databaseConnectorId; + ManagementAgentId = managementAgentId; + PrivateEndPointId = privateEndPointId; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult.cs new file mode 100644 index 0000000000..c5a6399f93 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult.cs @@ -0,0 +1,70 @@ +// *** 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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult + { + /// + /// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + /// + public readonly string CredentialName; + /// + /// The type of credential used to connect to the database. + /// + public readonly string CredentialType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + /// + public readonly string PasswordSecretId; + /// + /// The role of the user connecting to the database. + /// + public readonly string Role; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + /// + public readonly string SslSecretId; + /// + /// The user name used to connect to the database. + /// + public readonly string UserName; + + [OutputConstructor] + private GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult( + string credentialName, + + string credentialType, + + string namedCredentialId, + + string passwordSecretId, + + string role, + + string sslSecretId, + + string userName) + { + CredentialName = credentialName; + CredentialType = credentialType; + NamedCredentialId = namedCredentialId; + PasswordSecretId = passwordSecretId; + Role = role; + SslSecretId = sslSecretId; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult.cs new file mode 100644 index 0000000000..f514804802 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult + { + /// + /// The list of supported connection types: + /// * BASIC: Basic connection details + /// + public readonly string ConnectionType; + /// + /// The port number used to connect to the database. + /// + public readonly int Port; + /// + /// The protocol used to connect to the database. + /// + public readonly string Protocol; + /// + /// The service name of the database. + /// + public readonly string Service; + + [OutputConstructor] + private GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult( + string connectionType, + + int port, + + string protocol, + + string service) + { + ConnectionType = connectionType; + Port = port; + Protocol = protocol; + Service = service; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult.cs new file mode 100644 index 0000000000..31e990084b --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult + { + /// + /// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + /// + public readonly ImmutableArray ConnectionCredentials; + /// + /// The details of the Oracle Database connection string. + /// + public readonly ImmutableArray ConnectionStrings; + + [OutputConstructor] + private GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult( + ImmutableArray connectionCredentials, + + ImmutableArray connectionStrings) + { + ConnectionCredentials = connectionCredentials; + ConnectionStrings = connectionStrings; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigResult.cs new file mode 100644 index 0000000000..2d9e698c13 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigResult.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigResult + { + /// + /// The connector details required to connect to an Oracle cloud database. + /// + public readonly ImmutableArray ConnectorDetails; + /// + /// The connection details required to connect to the database. + /// + public readonly ImmutableArray DatabaseConnectionDetails; + /// + /// The name of the Database Management feature. + /// + public readonly string Feature; + /// + /// The list of statuses for Database Management features. + /// + public readonly string FeatureStatus; + /// + /// The Oracle license model that applies to the external database. + /// + public readonly string LicenseModel; + + [OutputConstructor] + private GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigResult( + ImmutableArray connectorDetails, + + ImmutableArray databaseConnectionDetails, + + string feature, + + string featureStatus, + + string licenseModel) + { + ConnectorDetails = connectorDetails; + DatabaseConnectionDetails = databaseConnectionDetails; + Feature = feature; + FeatureStatus = featureStatus; + LicenseModel = licenseModel; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemResult.cs index d6b81c1fe6..bbdd77424f 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDatabasesExternalDatabaseCollectionItemResult.cs @@ -18,6 +18,10 @@ public sealed class GetExternalDatabasesExternalDatabaseCollectionItemResult /// public readonly string CompartmentId; /// + /// The operating system of database. + /// + public readonly string DatabasePlatformName; + /// /// The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. /// public readonly string DatabaseSubType; @@ -26,6 +30,10 @@ public sealed class GetExternalDatabasesExternalDatabaseCollectionItemResult /// public readonly string DatabaseType; /// + /// The Oracle database version. + /// + public readonly string DatabaseVersion; + /// /// The configuration of the Database Management service. /// public readonly ImmutableArray DbManagementConfigs; @@ -38,6 +46,10 @@ public sealed class GetExternalDatabasesExternalDatabaseCollectionItemResult /// public readonly string DbUniqueName; /// + /// The list of feature configurations + /// + public readonly ImmutableArray DbmgmtFeatureConfigs; + /// /// 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 ImmutableDictionary DefinedTags; @@ -82,16 +94,22 @@ public sealed class GetExternalDatabasesExternalDatabaseCollectionItemResult private GetExternalDatabasesExternalDatabaseCollectionItemResult( string compartmentId, + string databasePlatformName, + string databaseSubType, string databaseType, + string databaseVersion, + ImmutableArray dbManagementConfigs, ImmutableArray dbSystemInfos, string dbUniqueName, + ImmutableArray dbmgmtFeatureConfigs, + ImmutableDictionary definedTags, string displayName, @@ -113,11 +131,14 @@ private GetExternalDatabasesExternalDatabaseCollectionItemResult( string timeCreated) { CompartmentId = compartmentId; + DatabasePlatformName = databasePlatformName; DatabaseSubType = databaseSubType; DatabaseType = databaseType; + DatabaseVersion = databaseVersion; DbManagementConfigs = dbManagementConfigs; DbSystemInfos = dbSystemInfos; DbUniqueName = dbUniqueName; + DbmgmtFeatureConfigs = dbmgmtFeatureConfigs; DefinedTags = definedTags; DisplayName = displayName; ExternalContainerDatabaseId = externalContainerDatabaseId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemConnectorConnectionInfoConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemConnectorConnectionInfoConnectionCredentialResult.cs index 09164aed02..45807d2420 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemConnectorConnectionInfoConnectionCredentialResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemConnectorConnectionInfoConnectionCredentialResult.cs @@ -22,6 +22,10 @@ public sealed class GetExternalDbSystemConnectorConnectionInfoConnectionCredenti /// public readonly string CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string PasswordSecretId; @@ -44,6 +48,8 @@ private GetExternalDbSystemConnectorConnectionInfoConnectionCredentialResult( string credentialType, + string namedCredentialId, + string passwordSecretId, string role, @@ -54,6 +60,7 @@ private GetExternalDbSystemConnectorConnectionInfoConnectionCredentialResult( { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredentialResult.cs index a651235138..35461f6547 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredentialResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredentialResult.cs @@ -22,6 +22,10 @@ public sealed class GetExternalDbSystemConnectorsExternalDbSystemConnectorCollec /// public readonly string CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string PasswordSecretId; @@ -44,6 +48,8 @@ private GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConn string credentialType, + string namedCredentialId, + string passwordSecretId, string role, @@ -54,6 +60,7 @@ private GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConn { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult.cs index dbe4ef73f6..355896c6db 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult.cs @@ -22,6 +22,10 @@ public sealed class GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryColle /// public readonly string CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string PasswordSecretId; @@ -44,6 +48,8 @@ private GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDis string credentialType, + string namedCredentialId, + string passwordSecretId, string role, @@ -54,6 +60,7 @@ private GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDis { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult.cs index a6f03233b8..e7d8ab0e3b 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult.cs @@ -22,6 +22,10 @@ public sealed class GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryColle /// public readonly string CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string PasswordSecretId; @@ -44,6 +48,8 @@ private GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDis string credentialType, + string namedCredentialId, + string passwordSecretId, string role, @@ -54,6 +60,7 @@ private GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDis { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult.cs index 63e1a4ee85..8952d897e6 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult.cs @@ -22,6 +22,10 @@ public sealed class GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryColle /// public readonly string CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string PasswordSecretId; @@ -44,6 +48,8 @@ private GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDis string credentialType, + string namedCredentialId, + string passwordSecretId, string role, @@ -54,6 +60,7 @@ private GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDis { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult.cs index 9ff95f779e..a5a16edc84 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult.cs @@ -22,6 +22,10 @@ public sealed class GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstan /// public readonly string CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string PasswordSecretId; @@ -44,6 +48,8 @@ private GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorC string credentialType, + string namedCredentialId, + string passwordSecretId, string role, @@ -54,6 +60,7 @@ private GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorC { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult.cs index d46a9fd278..bdc3985c99 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult.cs @@ -22,6 +22,10 @@ public sealed class GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConn /// public readonly string CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string PasswordSecretId; @@ -44,6 +48,8 @@ private GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoCo string credentialType, + string namedCredentialId, + string passwordSecretId, string role, @@ -54,6 +60,7 @@ private GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoCo { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult.cs index f92bf76616..612e62cc49 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult.cs @@ -22,6 +22,10 @@ public sealed class GetExternalDbSystemDiscoveryDiscoveredComponentPluggableData /// public readonly string CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. /// public readonly string PasswordSecretId; @@ -44,6 +48,8 @@ private GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnecto string credentialType, + string namedCredentialId, + string passwordSecretId, string role, @@ -54,6 +60,7 @@ private GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnecto { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailResult.cs new file mode 100644 index 0000000000..8e24cfe3c9 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailResult.cs @@ -0,0 +1,52 @@ +// *** 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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailResult + { + /// + /// The list of supported connection types: + /// * PE: Private endpoint + /// * MACS: Management agent + /// * EXTERNAL: External database connector + /// + public readonly string ConnectorType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + /// + public readonly string DatabaseConnectorId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + /// + public readonly string ManagementAgentId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + /// + public readonly string PrivateEndPointId; + + [OutputConstructor] + private GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailResult( + string connectorType, + + string databaseConnectorId, + + string managementAgentId, + + string privateEndPointId) + { + ConnectorType = connectorType; + DatabaseConnectorId = databaseConnectorId; + ManagementAgentId = managementAgentId; + PrivateEndPointId = privateEndPointId; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult.cs new file mode 100644 index 0000000000..7287930bfe --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult.cs @@ -0,0 +1,70 @@ +// *** 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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult + { + /// + /// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + /// + public readonly string CredentialName; + /// + /// The type of credential used to connect to the database. + /// + public readonly string CredentialType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + /// + public readonly string PasswordSecretId; + /// + /// The role of the user connecting to the database. + /// + public readonly string Role; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + /// + public readonly string SslSecretId; + /// + /// The user name used to connect to the database. + /// + public readonly string UserName; + + [OutputConstructor] + private GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult( + string credentialName, + + string credentialType, + + string namedCredentialId, + + string passwordSecretId, + + string role, + + string sslSecretId, + + string userName) + { + CredentialName = credentialName; + CredentialType = credentialType; + NamedCredentialId = namedCredentialId; + PasswordSecretId = passwordSecretId; + Role = role; + SslSecretId = sslSecretId; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult.cs new file mode 100644 index 0000000000..d4ec7b1382 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult + { + /// + /// The list of supported connection types: + /// * BASIC: Basic connection details + /// + public readonly string ConnectionType; + /// + /// The port number used to connect to the database. + /// + public readonly int Port; + /// + /// The protocol used to connect to the database. + /// + public readonly string Protocol; + /// + /// The service name of the database. + /// + public readonly string Service; + + [OutputConstructor] + private GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult( + string connectionType, + + int port, + + string protocol, + + string service) + { + ConnectionType = connectionType; + Port = port; + Protocol = protocol; + Service = service; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailResult.cs new file mode 100644 index 0000000000..bbf450b92b --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailResult.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailResult + { + /// + /// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + /// + public readonly ImmutableArray ConnectionCredentials; + /// + /// The details of the Oracle Database connection string. + /// + public readonly ImmutableArray ConnectionStrings; + + [OutputConstructor] + private GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailResult( + ImmutableArray connectionCredentials, + + ImmutableArray connectionStrings) + { + ConnectionCredentials = connectionCredentials; + ConnectionStrings = connectionStrings; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigResult.cs new file mode 100644 index 0000000000..2eec3e1f19 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabaseDbmgmtFeatureConfigResult.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetManagedDatabaseDbmgmtFeatureConfigResult + { + /// + /// The connector details required to connect to an Oracle cloud database. + /// + public readonly ImmutableArray ConnectorDetails; + /// + /// The connection details required to connect to the database. + /// + public readonly ImmutableArray DatabaseConnectionDetails; + /// + /// The name of the Database Management feature. + /// + public readonly string Feature; + /// + /// The list of statuses for Database Management features. + /// + public readonly string FeatureStatus; + /// + /// The Oracle license model that applies to the external database. + /// + public readonly string LicenseModel; + + [OutputConstructor] + private GetManagedDatabaseDbmgmtFeatureConfigResult( + ImmutableArray connectorDetails, + + ImmutableArray databaseConnectionDetails, + + string feature, + + string featureStatus, + + string licenseModel) + { + ConnectorDetails = connectorDetails; + DatabaseConnectionDetails = databaseConnectionDetails; + Feature = feature; + FeatureStatus = featureStatus; + LicenseModel = licenseModel; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult.cs new file mode 100644 index 0000000000..7cf924762d --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult.cs @@ -0,0 +1,52 @@ +// *** 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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult + { + /// + /// The list of supported connection types: + /// * PE: Private endpoint + /// * MACS: Management agent + /// * EXTERNAL: External database connector + /// + public readonly string ConnectorType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + /// + public readonly string DatabaseConnectorId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + /// + public readonly string ManagementAgentId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + /// + public readonly string PrivateEndPointId; + + [OutputConstructor] + private GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult( + string connectorType, + + string databaseConnectorId, + + string managementAgentId, + + string privateEndPointId) + { + ConnectorType = connectorType; + DatabaseConnectorId = databaseConnectorId; + ManagementAgentId = managementAgentId; + PrivateEndPointId = privateEndPointId; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult.cs new file mode 100644 index 0000000000..51f1442a55 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult.cs @@ -0,0 +1,70 @@ +// *** 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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult + { + /// + /// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + /// + public readonly string CredentialName; + /// + /// The type of credential used to connect to the database. + /// + public readonly string CredentialType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + public readonly string NamedCredentialId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + /// + public readonly string PasswordSecretId; + /// + /// The role of the user connecting to the database. + /// + public readonly string Role; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + /// + public readonly string SslSecretId; + /// + /// The user name used to connect to the database. + /// + public readonly string UserName; + + [OutputConstructor] + private GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult( + string credentialName, + + string credentialType, + + string namedCredentialId, + + string passwordSecretId, + + string role, + + string sslSecretId, + + string userName) + { + CredentialName = credentialName; + CredentialType = credentialType; + NamedCredentialId = namedCredentialId; + PasswordSecretId = passwordSecretId; + Role = role; + SslSecretId = sslSecretId; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult.cs new file mode 100644 index 0000000000..3da0c2f61d --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult + { + /// + /// The list of supported connection types: + /// * BASIC: Basic connection details + /// + public readonly string ConnectionType; + /// + /// The port number used to connect to the database. + /// + public readonly int Port; + /// + /// The protocol used to connect to the database. + /// + public readonly string Protocol; + /// + /// The service name of the database. + /// + public readonly string Service; + + [OutputConstructor] + private GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult( + string connectionType, + + int port, + + string protocol, + + string service) + { + ConnectionType = connectionType; + Port = port; + Protocol = protocol; + Service = service; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult.cs new file mode 100644 index 0000000000..159fe1354f --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult + { + /// + /// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + /// + public readonly ImmutableArray ConnectionCredentials; + /// + /// The details of the Oracle Database connection string. + /// + public readonly ImmutableArray ConnectionStrings; + + [OutputConstructor] + private GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult( + ImmutableArray connectionCredentials, + + ImmutableArray connectionStrings) + { + ConnectionCredentials = connectionCredentials; + ConnectionStrings = connectionStrings; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigResult.cs new file mode 100644 index 0000000000..2fab46b423 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigResult.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigResult + { + /// + /// The connector details required to connect to an Oracle cloud database. + /// + public readonly ImmutableArray ConnectorDetails; + /// + /// The connection details required to connect to the database. + /// + public readonly ImmutableArray DatabaseConnectionDetails; + /// + /// The name of the Database Management feature. + /// + public readonly string Feature; + /// + /// The list of statuses for Database Management features. + /// + public readonly string FeatureStatus; + /// + /// The Oracle license model that applies to the external database. + /// + public readonly string LicenseModel; + + [OutputConstructor] + private GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigResult( + ImmutableArray connectorDetails, + + ImmutableArray databaseConnectionDetails, + + string feature, + + string featureStatus, + + string licenseModel) + { + ConnectorDetails = connectorDetails; + DatabaseConnectionDetails = databaseConnectionDetails; + Feature = feature; + FeatureStatus = featureStatus; + LicenseModel = licenseModel; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemResult.cs b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemResult.cs index 6b9047a019..e49c574111 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemResult.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/GetManagedDatabasesManagedDatabaseCollectionItemResult.cs @@ -22,6 +22,10 @@ public sealed class GetManagedDatabasesManagedDatabaseCollectionItemResult /// public readonly string CompartmentId; /// + /// The operating system of database. + /// + public readonly string DatabasePlatformName; + /// /// The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. /// public readonly string DatabaseStatus; @@ -42,6 +46,10 @@ public sealed class GetManagedDatabasesManagedDatabaseCollectionItemResult /// public readonly string DbSystemId; /// + /// The list of feature configurations + /// + public readonly ImmutableArray DbmgmtFeatureConfigs; + /// /// 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 ImmutableDictionary DefinedTags; @@ -82,6 +90,10 @@ public sealed class GetManagedDatabasesManagedDatabaseCollectionItemResult /// public readonly string StorageSystemId; /// + /// 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"}` + /// + public readonly ImmutableDictionary SystemTags; + /// /// The date and time the Managed Database was created. /// public readonly string TimeCreated; @@ -96,6 +108,8 @@ private GetManagedDatabasesManagedDatabaseCollectionItemResult( string compartmentId, + string databasePlatformName, + string databaseStatus, string databaseSubType, @@ -106,6 +120,8 @@ private GetManagedDatabasesManagedDatabaseCollectionItemResult( string dbSystemId, + ImmutableArray dbmgmtFeatureConfigs, + ImmutableDictionary definedTags, string deploymentType, @@ -126,17 +142,21 @@ private GetManagedDatabasesManagedDatabaseCollectionItemResult( string storageSystemId, + ImmutableDictionary systemTags, + string timeCreated, string workloadType) { AdditionalDetails = additionalDetails; CompartmentId = compartmentId; + DatabasePlatformName = databasePlatformName; DatabaseStatus = databaseStatus; DatabaseSubType = databaseSubType; DatabaseType = databaseType; DatabaseVersion = databaseVersion; DbSystemId = dbSystemId; + DbmgmtFeatureConfigs = dbmgmtFeatureConfigs; DefinedTags = definedTags; DeploymentType = deploymentType; FreeformTags = freeformTags; @@ -147,6 +167,7 @@ private GetManagedDatabasesManagedDatabaseCollectionItemResult( Name = name; ParentContainerId = parentContainerId; StorageSystemId = storageSystemId; + SystemTags = systemTags; TimeCreated = timeCreated; WorkloadType = workloadType; } diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfig.cs b/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfig.cs new file mode 100644 index 0000000000..43e3efee29 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfig.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class ManagedDatabaseDbmgmtFeatureConfig + { + /// + /// The connector details required to connect to an Oracle cloud database. + /// + public readonly ImmutableArray ConnectorDetails; + /// + /// The connection details required to connect to the database. + /// + public readonly ImmutableArray DatabaseConnectionDetails; + /// + /// The name of the Database Management feature. + /// + public readonly string? Feature; + /// + /// The list of statuses for Database Management features. + /// + public readonly string? FeatureStatus; + /// + /// The Oracle license model that applies to the external database. + /// + public readonly string? LicenseModel; + + [OutputConstructor] + private ManagedDatabaseDbmgmtFeatureConfig( + ImmutableArray connectorDetails, + + ImmutableArray databaseConnectionDetails, + + string? feature, + + string? featureStatus, + + string? licenseModel) + { + ConnectorDetails = connectorDetails; + DatabaseConnectionDetails = databaseConnectionDetails; + Feature = feature; + FeatureStatus = featureStatus; + LicenseModel = licenseModel; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetail.cs b/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetail.cs new file mode 100644 index 0000000000..e1e9886a8e --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetail.cs @@ -0,0 +1,52 @@ +// *** 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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class ManagedDatabaseDbmgmtFeatureConfigConnectorDetail + { + /// + /// The list of supported connection types: + /// * PE: Private endpoint + /// * MACS: Management agent + /// * EXTERNAL: External database connector + /// + public readonly string? ConnectorType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + /// + public readonly string? DatabaseConnectorId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + /// + public readonly string? ManagementAgentId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + /// + public readonly string? PrivateEndPointId; + + [OutputConstructor] + private ManagedDatabaseDbmgmtFeatureConfigConnectorDetail( + string? connectorType, + + string? databaseConnectorId, + + string? managementAgentId, + + string? privateEndPointId) + { + ConnectorType = connectorType; + DatabaseConnectorId = databaseConnectorId; + ManagementAgentId = managementAgentId; + PrivateEndPointId = privateEndPointId; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.cs b/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.cs new file mode 100644 index 0000000000..6d92f30bf8 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail + { + /// + /// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + /// + public readonly ImmutableArray ConnectionCredentials; + /// + /// The details of the Oracle Database connection string. + /// + public readonly ImmutableArray ConnectionStrings; + + [OutputConstructor] + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail( + ImmutableArray connectionCredentials, + + ImmutableArray connectionStrings) + { + ConnectionCredentials = connectionCredentials; + ConnectionStrings = connectionStrings; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.cs b/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.cs new file mode 100644 index 0000000000..709896d0da --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.cs @@ -0,0 +1,70 @@ +// *** 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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential + { + /// + /// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + /// + public readonly string? CredentialName; + /// + /// The type of credential used to connect to the database. + /// + public readonly string? CredentialType; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + public readonly string? NamedCredentialId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + /// + public readonly string? PasswordSecretId; + /// + /// The role of the user connecting to the database. + /// + public readonly string? Role; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + /// + public readonly string? SslSecretId; + /// + /// The user name used to connect to the database. + /// + public readonly string? UserName; + + [OutputConstructor] + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential( + string? credentialName, + + string? credentialType, + + string? namedCredentialId, + + string? passwordSecretId, + + string? role, + + string? sslSecretId, + + string? userName) + { + CredentialName = credentialName; + CredentialType = credentialType; + NamedCredentialId = namedCredentialId; + PasswordSecretId = passwordSecretId; + Role = role; + SslSecretId = sslSecretId; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.cs b/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.cs new file mode 100644 index 0000000000..0ff5a1a985 --- /dev/null +++ b/sdk/dotnet/DatabaseManagement/Outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.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.DatabaseManagement.Outputs +{ + + [OutputType] + public sealed class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString + { + /// + /// The list of supported connection types: + /// * BASIC: Basic connection details + /// + public readonly string? ConnectionType; + /// + /// The port number used to connect to the database. + /// + public readonly int? Port; + /// + /// The protocol used to connect to the database. + /// + public readonly string? Protocol; + /// + /// The service name of the database. + /// + public readonly string? Service; + + [OutputConstructor] + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString( + string? connectionType, + + int? port, + + string? protocol, + + string? service) + { + ConnectionType = connectionType; + Port = port; + Protocol = protocol; + Service = service; + } + } +} diff --git a/sdk/dotnet/DatabaseManagement/Outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs b/sdk/dotnet/DatabaseManagement/Outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs index 4cda0cebff..fb0bed7103 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.cs @@ -18,6 +18,7 @@ public sealed class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatu /// * PE: Private endpoint /// * MACS: Management agent /// * EXTERNAL: External database connector + /// * DIRECT: Direct connection /// public readonly string? ConnectorType; /// diff --git a/sdk/dotnet/DatabaseManagement/Outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs b/sdk/dotnet/DatabaseManagement/Outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs index 9e2a0def4d..e9a5dc5a91 100644 --- a/sdk/dotnet/DatabaseManagement/Outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs +++ b/sdk/dotnet/DatabaseManagement/Outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.cs @@ -24,6 +24,10 @@ public sealed class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatu /// public readonly string? CredentialType; /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + /// + public readonly string? NamedCredentialId; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. /// public readonly string? PasswordSecretId; @@ -46,6 +50,8 @@ private PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDat string? credentialType, + string? namedCredentialId, + string? passwordSecretId, string? role, @@ -56,6 +62,7 @@ private PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDat { CredentialName = credentialName; CredentialType = credentialType; + NamedCredentialId = namedCredentialId; PasswordSecretId = passwordSecretId; Role = role; SslSecretId = sslSecretId; diff --git a/sdk/dotnet/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagement.cs b/sdk/dotnet/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagement.cs index b0dfa0f8c1..f9ad1f717c 100644 --- a/sdk/dotnet/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagement.cs +++ b/sdk/dotnet/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagement.cs @@ -33,6 +33,9 @@ public partial class PluggabledatabasePluggableDatabaseDbmFeaturesManagement : g [Output("featureDetails")] public Output FeatureDetails { get; private set; } = null!; + [Output("modifyPluggableDatabaseDbmFeature")] + public Output ModifyPluggableDatabaseDbmFeature { get; private set; } = null!; + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. /// @@ -101,6 +104,9 @@ public sealed class PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs [Input("featureDetails")] public Input? FeatureDetails { get; set; } + [Input("modifyPluggableDatabaseDbmFeature")] + public Input? ModifyPluggableDatabaseDbmFeature { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. /// @@ -131,6 +137,9 @@ public sealed class PluggabledatabasePluggableDatabaseDbmFeaturesManagementState [Input("featureDetails")] public Input? FeatureDetails { get; set; } + [Input("modifyPluggableDatabaseDbmFeature")] + public Input? ModifyPluggableDatabaseDbmFeature { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. /// diff --git a/sdk/dotnet/DelegateAccessControl/DelegationControl.cs b/sdk/dotnet/DelegateAccessControl/DelegationControl.cs new file mode 100644 index 0000000000..508b5fdd3d --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/DelegationControl.cs @@ -0,0 +1,545 @@ +// *** 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.DelegateAccessControl +{ + /// + /// This resource provides the Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Creates a Delegation Control. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationControl = new Oci.DelegateAccessControl.DelegationControl("test_delegation_control", new() + /// { + /// CompartmentId = compartmentId, + /// DelegationSubscriptionIds = delegationControlDelegationSubscriptionIds, + /// DisplayName = delegationControlDisplayName, + /// NotificationMessageFormat = delegationControlNotificationMessageFormat, + /// NotificationTopicId = testNotificationTopic.Id, + /// ResourceIds = delegationControlResourceIds, + /// ResourceType = delegationControlResourceType, + /// DefinedTags = + /// { + /// { "Operations.CostCenter", "42" }, + /// }, + /// Description = delegationControlDescription, + /// FreeformTags = + /// { + /// { "Department", "Finance" }, + /// }, + /// IsAutoApproveDuringMaintenance = delegationControlIsAutoApproveDuringMaintenance, + /// NumApprovalsRequired = delegationControlNumApprovalsRequired, + /// PreApprovedServiceProviderActionNames = delegationControlPreApprovedServiceProviderActionNames, + /// VaultId = testVault.Id, + /// VaultKeyId = testKey.Id, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// DelegationControls can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:DelegateAccessControl/delegationControl:DelegationControl test_delegation_control "id" + /// ``` + /// + [OciResourceType("oci:DelegateAccessControl/delegationControl:DelegationControl")] + public partial class DelegationControl : global::Pulumi.CustomResource + { + /// + /// (Updatable) The OCID of the compartment that contains this Delegation Control. + /// + [Output("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// (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"}` + /// + [Output("definedTags")] + public Output> DefinedTags { get; private set; } = null!; + + /// + /// (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + /// + [Output("delegationSubscriptionIds")] + public Output> DelegationSubscriptionIds { get; private set; } = null!; + + /// + /// (Updatable) Description of the Delegation Control. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// (Updatable) Name of the Delegation Control. The name does not need to be unique. + /// + [Output("displayName")] + public Output DisplayName { 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"}` + /// + [Output("freeformTags")] + public Output> FreeformTags { get; private set; } = null!; + + /// + /// (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + /// + [Output("isAutoApproveDuringMaintenance")] + public Output IsAutoApproveDuringMaintenance { get; private set; } = null!; + + /// + /// Description of the current lifecycle state in more detail. + /// + [Output("lifecycleStateDetails")] + public Output LifecycleStateDetails { get; private set; } = null!; + + /// + /// (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + /// + [Output("notificationMessageFormat")] + public Output NotificationMessageFormat { get; private set; } = null!; + + /// + /// (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + /// + [Output("notificationTopicId")] + public Output NotificationTopicId { get; private set; } = null!; + + /// + /// (Updatable) number of approvals required. + /// + [Output("numApprovalsRequired")] + public Output NumApprovalsRequired { get; private set; } = null!; + + /// + /// (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + /// + [Output("preApprovedServiceProviderActionNames")] + public Output> PreApprovedServiceProviderActionNames { get; private set; } = null!; + + /// + /// (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + /// + [Output("resourceIds")] + public Output> ResourceIds { get; private set; } = null!; + + /// + /// Resource type for which the Delegation Control is applicable to. + /// + [Output("resourceType")] + public Output ResourceType { get; private set; } = null!; + + /// + /// The current lifecycle state of the Delegation Control. + /// + [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!; + + /// + /// Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + /// + [Output("timeDeleted")] + public Output TimeDeleted { get; private set; } = null!; + + /// + /// Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + [Output("timeUpdated")] + public Output TimeUpdated { get; private set; } = null!; + + /// + /// The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + /// + [Output("vaultId")] + public Output VaultId { get; private set; } = null!; + + /// + /// The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + /// + /// + /// ** IMPORTANT ** + /// 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("vaultKeyId")] + public Output VaultKeyId { get; private set; } = null!; + + + /// + /// Create a DelegationControl 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 DelegationControl(string name, DelegationControlArgs args, CustomResourceOptions? options = null) + : base("oci:DelegateAccessControl/delegationControl:DelegationControl", name, args ?? new DelegationControlArgs(), MakeResourceOptions(options, "")) + { + } + + private DelegationControl(string name, Input id, DelegationControlState? state = null, CustomResourceOptions? options = null) + : base("oci:DelegateAccessControl/delegationControl:DelegationControl", 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 DelegationControl 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 DelegationControl Get(string name, Input id, DelegationControlState? state = null, CustomResourceOptions? options = null) + { + return new DelegationControl(name, id, state, options); + } + } + + public sealed class DelegationControlArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The OCID of the compartment that contains this Delegation Control. + /// + [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. For more information, 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; + } + + [Input("delegationSubscriptionIds", required: true)] + private InputList? _delegationSubscriptionIds; + + /// + /// (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + /// + public InputList DelegationSubscriptionIds + { + get => _delegationSubscriptionIds ?? (_delegationSubscriptionIds = new InputList()); + set => _delegationSubscriptionIds = value; + } + + /// + /// (Updatable) Description of the Delegation Control. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// (Updatable) Name of the Delegation Control. The name does not need to be unique. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + [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. For more information, 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; + } + + /// + /// (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + /// + [Input("isAutoApproveDuringMaintenance")] + public Input? IsAutoApproveDuringMaintenance { get; set; } + + /// + /// (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + /// + [Input("notificationMessageFormat", required: true)] + public Input NotificationMessageFormat { get; set; } = null!; + + /// + /// (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + /// + [Input("notificationTopicId", required: true)] + public Input NotificationTopicId { get; set; } = null!; + + /// + /// (Updatable) number of approvals required. + /// + [Input("numApprovalsRequired")] + public Input? NumApprovalsRequired { get; set; } + + [Input("preApprovedServiceProviderActionNames")] + private InputList? _preApprovedServiceProviderActionNames; + + /// + /// (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + /// + public InputList PreApprovedServiceProviderActionNames + { + get => _preApprovedServiceProviderActionNames ?? (_preApprovedServiceProviderActionNames = new InputList()); + set => _preApprovedServiceProviderActionNames = value; + } + + [Input("resourceIds", required: true)] + private InputList? _resourceIds; + + /// + /// (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + /// + public InputList ResourceIds + { + get => _resourceIds ?? (_resourceIds = new InputList()); + set => _resourceIds = value; + } + + /// + /// Resource type for which the Delegation Control is applicable to. + /// + [Input("resourceType", required: true)] + public Input ResourceType { get; set; } = null!; + + /// + /// The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + /// + [Input("vaultId")] + public Input? VaultId { get; set; } + + /// + /// The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + /// + /// + /// ** IMPORTANT ** + /// 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("vaultKeyId")] + public Input? VaultKeyId { get; set; } + + public DelegationControlArgs() + { + } + public static new DelegationControlArgs Empty => new DelegationControlArgs(); + } + + public sealed class DelegationControlState : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The OCID of the compartment that contains this Delegation Control. + /// + [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. For more information, 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; + } + + [Input("delegationSubscriptionIds")] + private InputList? _delegationSubscriptionIds; + + /// + /// (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + /// + public InputList DelegationSubscriptionIds + { + get => _delegationSubscriptionIds ?? (_delegationSubscriptionIds = new InputList()); + set => _delegationSubscriptionIds = value; + } + + /// + /// (Updatable) Description of the Delegation Control. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// (Updatable) Name of the Delegation Control. The name does not need to be unique. + /// + [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. For more information, 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; + } + + /// + /// (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + /// + [Input("isAutoApproveDuringMaintenance")] + public Input? IsAutoApproveDuringMaintenance { get; set; } + + /// + /// Description of the current lifecycle state in more detail. + /// + [Input("lifecycleStateDetails")] + public Input? LifecycleStateDetails { get; set; } + + /// + /// (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + /// + [Input("notificationMessageFormat")] + public Input? NotificationMessageFormat { get; set; } + + /// + /// (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + /// + [Input("notificationTopicId")] + public Input? NotificationTopicId { get; set; } + + /// + /// (Updatable) number of approvals required. + /// + [Input("numApprovalsRequired")] + public Input? NumApprovalsRequired { get; set; } + + [Input("preApprovedServiceProviderActionNames")] + private InputList? _preApprovedServiceProviderActionNames; + + /// + /// (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + /// + public InputList PreApprovedServiceProviderActionNames + { + get => _preApprovedServiceProviderActionNames ?? (_preApprovedServiceProviderActionNames = new InputList()); + set => _preApprovedServiceProviderActionNames = value; + } + + [Input("resourceIds")] + private InputList? _resourceIds; + + /// + /// (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + /// + public InputList ResourceIds + { + get => _resourceIds ?? (_resourceIds = new InputList()); + set => _resourceIds = value; + } + + /// + /// Resource type for which the Delegation Control is applicable to. + /// + [Input("resourceType")] + public Input? ResourceType { get; set; } + + /// + /// The current lifecycle state of the Delegation Control. + /// + [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; + } + + /// + /// Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + /// + [Input("timeDeleted")] + public Input? TimeDeleted { get; set; } + + /// + /// Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + [Input("timeUpdated")] + public Input? TimeUpdated { get; set; } + + /// + /// The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + /// + [Input("vaultId")] + public Input? VaultId { get; set; } + + /// + /// The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + /// + /// + /// ** IMPORTANT ** + /// 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("vaultKeyId")] + public Input? VaultKeyId { get; set; } + + public DelegationControlState() + { + } + public static new DelegationControlState Empty => new DelegationControlState(); + } +} diff --git a/sdk/dotnet/GloballyDistributedDatabase/PrivateEndpoint.cs b/sdk/dotnet/DelegateAccessControl/DelegationSubscription.cs similarity index 50% rename from sdk/dotnet/GloballyDistributedDatabase/PrivateEndpoint.cs rename to sdk/dotnet/DelegateAccessControl/DelegationSubscription.cs index 25ac9391a9..79709be33a 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/PrivateEndpoint.cs +++ b/sdk/dotnet/DelegateAccessControl/DelegationSubscription.cs @@ -7,12 +7,12 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase +namespace Pulumi.Oci.DelegateAccessControl { /// - /// This resource provides the Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. + /// This resource provides the Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. /// - /// Creates a PrivateEndpoint. + /// Creates Delegation Subscription in Delegation Control. /// /// ## Example Usage /// @@ -24,21 +24,20 @@ namespace Pulumi.Oci.GloballyDistributedDatabase /// /// return await Deployment.RunAsync(() => /// { - /// var testPrivateEndpoint = new Oci.GloballyDistributedDatabase.PrivateEndpoint("test_private_endpoint", new() + /// var testDelegationSubscription = new Oci.DelegateAccessControl.DelegationSubscription("test_delegation_subscription", new() /// { /// CompartmentId = compartmentId, - /// DisplayName = privateEndpointDisplayName, - /// SubnetId = testSubnet.Id, + /// ServiceProviderId = testServiceProvider.Id, + /// SubscribedServiceType = delegationSubscriptionSubscribedServiceType, /// DefinedTags = /// { - /// { "foo-namespace.bar-key", "value" }, + /// { "Operations.CostCenter", "42" }, /// }, - /// Description = privateEndpointDescription, + /// Description = delegationSubscriptionDescription, /// FreeformTags = /// { - /// { "bar-key", "value" }, + /// { "Department", "Finance" }, /// }, - /// NsgIds = privateEndpointNsgIds, /// }); /// /// }); @@ -46,124 +45,106 @@ namespace Pulumi.Oci.GloballyDistributedDatabase /// /// ## Import /// - /// PrivateEndpoints can be imported using the `id`, e.g. + /// DelegationSubscriptions can be imported using the `id`, e.g. /// /// ```sh - /// $ pulumi import oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint test_private_endpoint "id" + /// $ pulumi import oci:DelegateAccessControl/delegationSubscription:DelegationSubscription test_delegation_subscription "id" /// ``` /// - [OciResourceType("oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint")] - public partial class PrivateEndpoint : global::Pulumi.CustomResource + [OciResourceType("oci:DelegateAccessControl/delegationSubscription:DelegationSubscription")] + public partial class DelegationSubscription : global::Pulumi.CustomResource { /// - /// (Updatable) Identifier of the compartment where private endpoint is to be created. + /// (Updatable) The OCID of the compartment that contains the Delegation Control. /// [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"}` + /// (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"}` /// [Output("definedTags")] public Output> DefinedTags { get; private set; } = null!; /// - /// (Updatable) PrivateEndpoint description. + /// (Updatable) Description of the Delegation Subscription. /// [Output("description")] public Output Description { get; private set; } = null!; /// - /// (Updatable) Private endpoint display name. + /// Display name /// [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"}` + /// (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"}` /// [Output("freeformTags")] public Output> FreeformTags { get; private set; } = null!; /// - /// Detailed message for the lifecycle state. + /// Description of the current lifecycle state in more detail. /// [Output("lifecycleStateDetails")] public Output LifecycleStateDetails { get; private set; } = null!; /// - /// (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. + /// Unique identifier of the Service Provider. /// - [Output("nsgIds")] - public Output> NsgIds { get; private set; } = null!; + [Output("serviceProviderId")] + public Output ServiceProviderId { get; private set; } = null!; /// - /// IP address of the Private Endpoint. - /// - [Output("privateIp")] - public Output PrivateIp { get; private set; } = null!; - - /// - /// The OCIDs of sharded databases that consumes the given private endpoint. - /// - [Output("shardedDatabases")] - public Output> ShardedDatabases { get; private set; } = null!; - - /// - /// Lifecycle states for private endpoint. + /// The current lifecycle state of the Service Provider. /// [Output("state")] public Output State { get; private set; } = null!; /// - /// Identifier of the customer subnet against which private endpoint is to be created. + /// Subscribed Service Provider Service Type. /// /// /// ** IMPORTANT ** /// 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!; + [Output("subscribedServiceType")] + public Output SubscribedServiceType { get; private set; } = null!; /// - /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// 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 PrivateEndpoint was first created. An RFC3339 formatted datetime string + /// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' /// [Output("timeCreated")] public Output TimeCreated { get; private set; } = null!; /// - /// The time the Private Endpoint was last updated. An RFC3339 formatted datetime string + /// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' /// [Output("timeUpdated")] public Output TimeUpdated { get; private set; } = null!; - /// - /// Identifier of the VCN in which subnet exists. - /// - [Output("vcnId")] - public Output VcnId { get; private set; } = null!; - /// - /// Create a PrivateEndpoint resource with the given unique name, arguments, and options. + /// Create a DelegationSubscription 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:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint", name, args ?? new PrivateEndpointArgs(), MakeResourceOptions(options, "")) + public DelegationSubscription(string name, DelegationSubscriptionArgs args, CustomResourceOptions? options = null) + : base("oci:DelegateAccessControl/delegationSubscription:DelegationSubscription", name, args ?? new DelegationSubscriptionArgs(), MakeResourceOptions(options, "")) { } - private PrivateEndpoint(string name, Input id, PrivateEndpointState? state = null, CustomResourceOptions? options = null) - : base("oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint", name, state, MakeResourceOptions(options, id)) + private DelegationSubscription(string name, Input id, DelegationSubscriptionState? state = null, CustomResourceOptions? options = null) + : base("oci:DelegateAccessControl/delegationSubscription:DelegationSubscription", name, state, MakeResourceOptions(options, id)) { } @@ -179,7 +160,7 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? return merged; } /// - /// Get an existing PrivateEndpoint resource's state with the given name, ID, and optional extra + /// Get an existing DelegationSubscription resource's state with the given name, ID, and optional extra /// properties used to qualify the lookup. /// /// @@ -187,16 +168,16 @@ private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? /// 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) + public static DelegationSubscription Get(string name, Input id, DelegationSubscriptionState? state = null, CustomResourceOptions? options = null) { - return new PrivateEndpoint(name, id, state, options); + return new DelegationSubscription(name, id, state, options); } } - public sealed class PrivateEndpointArgs : global::Pulumi.ResourceArgs + public sealed class DelegationSubscriptionArgs : global::Pulumi.ResourceArgs { /// - /// (Updatable) Identifier of the compartment where private endpoint is to be created. + /// (Updatable) The OCID of the compartment that contains the Delegation Control. /// [Input("compartmentId", required: true)] public Input CompartmentId { get; set; } = null!; @@ -205,7 +186,7 @@ public sealed class PrivateEndpointArgs : global::Pulumi.ResourceArgs private InputMap? _definedTags; /// - /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// (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 InputMap DefinedTags { @@ -214,22 +195,16 @@ public InputMap DefinedTags } /// - /// (Updatable) PrivateEndpoint description. + /// (Updatable) Description of the Delegation Subscription. /// [Input("description")] public Input? Description { get; set; } - /// - /// (Updatable) Private endpoint display name. - /// - [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"}` + /// (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 InputMap FreeformTags { @@ -237,38 +212,32 @@ public InputMap FreeformTags set => _freeformTags = value; } - [Input("nsgIds")] - private InputList? _nsgIds; - /// - /// (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. + /// Unique identifier of the Service Provider. /// - public InputList NsgIds - { - get => _nsgIds ?? (_nsgIds = new InputList()); - set => _nsgIds = value; - } + [Input("serviceProviderId", required: true)] + public Input ServiceProviderId { get; set; } = null!; /// - /// Identifier of the customer subnet against which private endpoint is to be created. + /// Subscribed Service Provider Service Type. /// /// /// ** IMPORTANT ** /// 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!; + [Input("subscribedServiceType", required: true)] + public Input SubscribedServiceType { get; set; } = null!; - public PrivateEndpointArgs() + public DelegationSubscriptionArgs() { } - public static new PrivateEndpointArgs Empty => new PrivateEndpointArgs(); + public static new DelegationSubscriptionArgs Empty => new DelegationSubscriptionArgs(); } - public sealed class PrivateEndpointState : global::Pulumi.ResourceArgs + public sealed class DelegationSubscriptionState : global::Pulumi.ResourceArgs { /// - /// (Updatable) Identifier of the compartment where private endpoint is to be created. + /// (Updatable) The OCID of the compartment that contains the Delegation Control. /// [Input("compartmentId")] public Input? CompartmentId { get; set; } @@ -277,7 +246,7 @@ public sealed class PrivateEndpointState : global::Pulumi.ResourceArgs private InputMap? _definedTags; /// - /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// (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 InputMap DefinedTags { @@ -286,13 +255,13 @@ public InputMap DefinedTags } /// - /// (Updatable) PrivateEndpoint description. + /// (Updatable) Description of the Delegation Subscription. /// [Input("description")] public Input? Description { get; set; } /// - /// (Updatable) Private endpoint display name. + /// Display name /// [Input("displayName")] public Input? DisplayName { get; set; } @@ -301,7 +270,7 @@ public InputMap DefinedTags 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"}` + /// (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 InputMap FreeformTags { @@ -310,62 +279,38 @@ public InputMap FreeformTags } /// - /// Detailed message for the lifecycle state. + /// Description of the current lifecycle state in more detail. /// [Input("lifecycleStateDetails")] public Input? LifecycleStateDetails { get; set; } - [Input("nsgIds")] - private InputList? _nsgIds; - - /// - /// (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - /// - public InputList NsgIds - { - get => _nsgIds ?? (_nsgIds = new InputList()); - set => _nsgIds = value; - } - /// - /// IP address of the Private Endpoint. + /// Unique identifier of the Service Provider. /// - [Input("privateIp")] - public Input? PrivateIp { get; set; } - - [Input("shardedDatabases")] - private InputList? _shardedDatabases; + [Input("serviceProviderId")] + public Input? ServiceProviderId { get; set; } /// - /// The OCIDs of sharded databases that consumes the given private endpoint. - /// - public InputList ShardedDatabases - { - get => _shardedDatabases ?? (_shardedDatabases = new InputList()); - set => _shardedDatabases = value; - } - - /// - /// Lifecycle states for private endpoint. + /// The current lifecycle state of the Service Provider. /// [Input("state")] public Input? State { get; set; } /// - /// Identifier of the customer subnet against which private endpoint is to be created. + /// Subscribed Service Provider Service Type. /// /// /// ** IMPORTANT ** /// 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("subscribedServiceType")] + public Input? SubscribedServiceType { get; set; } [Input("systemTags")] private InputMap? _systemTags; /// - /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` /// public InputMap SystemTags { @@ -374,26 +319,20 @@ public InputMap SystemTags } /// - /// The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string + /// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' /// [Input("timeCreated")] public Input? TimeCreated { get; set; } /// - /// The time the Private Endpoint was last updated. An RFC3339 formatted datetime string + /// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' /// [Input("timeUpdated")] public Input? TimeUpdated { get; set; } - /// - /// Identifier of the VCN in which subnet exists. - /// - [Input("vcnId")] - public Input? VcnId { get; set; } - - public PrivateEndpointState() + public DelegationSubscriptionState() { } - public static new PrivateEndpointState Empty => new PrivateEndpointState(); + public static new DelegationSubscriptionState Empty => new DelegationSubscriptionState(); } } diff --git a/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequest.cs b/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequest.cs new file mode 100644 index 0000000000..db0337e2e8 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequest.cs @@ -0,0 +1,347 @@ +// *** 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.DelegateAccessControl +{ + public static class GetDelegatedResourceAccessRequest + { + /// + /// This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets details of a Delegated Resource Access Request. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegatedResourceAccessRequest = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequest.Invoke(new() + /// { + /// DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDelegatedResourceAccessRequestArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getDelegatedResourceAccessRequest:getDelegatedResourceAccessRequest", args ?? new GetDelegatedResourceAccessRequestArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets details of a Delegated Resource Access Request. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegatedResourceAccessRequest = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequest.Invoke(new() + /// { + /// DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDelegatedResourceAccessRequestInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequest:getDelegatedResourceAccessRequest", args ?? new GetDelegatedResourceAccessRequestInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDelegatedResourceAccessRequestArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique Delegated Resource Access Request identifier + /// + [Input("delegatedResourceAccessRequestId", required: true)] + public string DelegatedResourceAccessRequestId { get; set; } = null!; + + public GetDelegatedResourceAccessRequestArgs() + { + } + public static new GetDelegatedResourceAccessRequestArgs Empty => new GetDelegatedResourceAccessRequestArgs(); + } + + public sealed class GetDelegatedResourceAccessRequestInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique Delegated Resource Access Request identifier + /// + [Input("delegatedResourceAccessRequestId", required: true)] + public Input DelegatedResourceAccessRequestId { get; set; } = null!; + + public GetDelegatedResourceAccessRequestInvokeArgs() + { + } + public static new GetDelegatedResourceAccessRequestInvokeArgs Empty => new GetDelegatedResourceAccessRequestInvokeArgs(); + } + + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestResult + { + /// + /// In case of single approval, this will have only one item. Else, a list of approvals. + /// + public readonly ImmutableArray ApprovalInfos; + /// + /// Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + /// + public readonly ImmutableArray AuditTypes; + /// + /// The comment entered by the support operator while closing the request. + /// + public readonly string ClosureComment; + /// + /// The OCID of the compartment that contains the Delegated Resource Access Request. + /// + public readonly string CompartmentId; + /// + /// List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + /// + public readonly ImmutableArray DatabaseNameLists; + /// + /// 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 ImmutableDictionary DefinedTags; + public readonly string DelegatedResourceAccessRequestId; + /// + /// The OCID of the Delegation Control governing the target resource. + /// + public readonly string DelegationControlId; + /// + /// List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + /// + public readonly ImmutableArray DelegationSubscriptionIds; + /// + /// Detailed description of this Delegated Resource Access Request. + /// + public readonly string Description; + /// + /// Display name. This is generated by the system automatically. + /// + public readonly string DisplayName; + /// + /// Duration in hours for which access is sought on the target resource. + /// + public readonly int DurationInHours; + /// + /// Duration in hours for which extension access is sought on the target resource. + /// + public readonly int ExtendDurationInHours; + /// + /// 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; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + /// + public readonly bool IsAutoApproved; + /// + /// Indicates if the delegated resource access request is waiting on more information from the operator + /// + public readonly bool IsPendingMoreInfo; + /// + /// Description of the current lifecycle state in more detail. + /// + public readonly string LifecycleStateDetails; + /// + /// Number of extension approvals that have been obtained so far. + /// + public readonly int NumExtensionApprovals; + /// + /// Number of initial approvals that have been obtained so far. + /// + public readonly int NumInitialApprovals; + /// + /// List of Service Provider Service Types being provided by the support operator user. + /// + public readonly ImmutableArray ProvidedServiceTypes; + /// + /// A short description explaining why this Delegated Resource Access Request is needed by the support operator. + /// + public readonly string ReasonForRequest; + /// + /// The current status of the Delegated Resource Access Request. + /// + public readonly string RequestStatus; + /// + /// List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + /// + public readonly ImmutableArray RequestedActionNames; + /// + /// Requester type + /// + public readonly string RequesterType; + /// + /// The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + /// + public readonly string ResourceId; + /// + /// The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + /// + public readonly string ResourceName; + /// + /// Resource type for which the associated Delegation Control is applicable to. + /// + public readonly string ResourceType; + /// + /// Priority assigned to the Delegated Resource Access Request by the support operator + /// + public readonly string Severity; + /// + /// The current lifecycle state of the Delegated Resource Access Request. + /// + 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; + /// + /// A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + /// + public readonly ImmutableArray TicketNumbers; + /// + /// Requested access start time in UTC. + /// + public readonly string TimeAccessRequested; + /// + /// Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + /// + public readonly string TimeCreated; + /// + /// Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestResult( + ImmutableArray approvalInfos, + + ImmutableArray auditTypes, + + string closureComment, + + string compartmentId, + + ImmutableArray databaseNameLists, + + ImmutableDictionary definedTags, + + string delegatedResourceAccessRequestId, + + string delegationControlId, + + ImmutableArray delegationSubscriptionIds, + + string description, + + string displayName, + + int durationInHours, + + int extendDurationInHours, + + ImmutableDictionary freeformTags, + + string id, + + bool isAutoApproved, + + bool isPendingMoreInfo, + + string lifecycleStateDetails, + + int numExtensionApprovals, + + int numInitialApprovals, + + ImmutableArray providedServiceTypes, + + string reasonForRequest, + + string requestStatus, + + ImmutableArray requestedActionNames, + + string requesterType, + + string resourceId, + + string resourceName, + + string resourceType, + + string severity, + + string state, + + ImmutableDictionary systemTags, + + ImmutableArray ticketNumbers, + + string timeAccessRequested, + + string timeCreated, + + string timeUpdated) + { + ApprovalInfos = approvalInfos; + AuditTypes = auditTypes; + ClosureComment = closureComment; + CompartmentId = compartmentId; + DatabaseNameLists = databaseNameLists; + DefinedTags = definedTags; + DelegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + DelegationControlId = delegationControlId; + DelegationSubscriptionIds = delegationSubscriptionIds; + Description = description; + DisplayName = displayName; + DurationInHours = durationInHours; + ExtendDurationInHours = extendDurationInHours; + FreeformTags = freeformTags; + Id = id; + IsAutoApproved = isAutoApproved; + IsPendingMoreInfo = isPendingMoreInfo; + LifecycleStateDetails = lifecycleStateDetails; + NumExtensionApprovals = numExtensionApprovals; + NumInitialApprovals = numInitialApprovals; + ProvidedServiceTypes = providedServiceTypes; + ReasonForRequest = reasonForRequest; + RequestStatus = requestStatus; + RequestedActionNames = requestedActionNames; + RequesterType = requesterType; + ResourceId = resourceId; + ResourceName = resourceName; + ResourceType = resourceType; + Severity = severity; + State = state; + SystemTags = systemTags; + TicketNumbers = ticketNumbers; + TimeAccessRequested = timeAccessRequested; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequestAuditLogReport.cs b/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequestAuditLogReport.cs new file mode 100644 index 0000000000..7c25a16c3f --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequestAuditLogReport.cs @@ -0,0 +1,162 @@ +// *** 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.DelegateAccessControl +{ + public static class GetDelegatedResourceAccessRequestAuditLogReport + { + /// + /// This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets the audit log report for the given Delegated Resource Access Request. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegatedResourceAccessRequestAuditLogReport = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequestAuditLogReport.Invoke(new() + /// { + /// DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequest.Id, + /// IsProcessTreeEnabled = delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDelegatedResourceAccessRequestAuditLogReportArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getDelegatedResourceAccessRequestAuditLogReport:getDelegatedResourceAccessRequestAuditLogReport", args ?? new GetDelegatedResourceAccessRequestAuditLogReportArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets the audit log report for the given Delegated Resource Access Request. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegatedResourceAccessRequestAuditLogReport = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequestAuditLogReport.Invoke(new() + /// { + /// DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequest.Id, + /// IsProcessTreeEnabled = delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDelegatedResourceAccessRequestAuditLogReportInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequestAuditLogReport:getDelegatedResourceAccessRequestAuditLogReport", args ?? new GetDelegatedResourceAccessRequestAuditLogReportInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDelegatedResourceAccessRequestAuditLogReportArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique Delegated Resource Access Request identifier + /// + [Input("delegatedResourceAccessRequestId", required: true)] + public string DelegatedResourceAccessRequestId { get; set; } = null!; + + /// + /// Set to true to enable process tree computation in audit report + /// + [Input("isProcessTreeEnabled")] + public bool? IsProcessTreeEnabled { get; set; } + + public GetDelegatedResourceAccessRequestAuditLogReportArgs() + { + } + public static new GetDelegatedResourceAccessRequestAuditLogReportArgs Empty => new GetDelegatedResourceAccessRequestAuditLogReportArgs(); + } + + public sealed class GetDelegatedResourceAccessRequestAuditLogReportInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique Delegated Resource Access Request identifier + /// + [Input("delegatedResourceAccessRequestId", required: true)] + public Input DelegatedResourceAccessRequestId { get; set; } = null!; + + /// + /// Set to true to enable process tree computation in audit report + /// + [Input("isProcessTreeEnabled")] + public Input? IsProcessTreeEnabled { get; set; } + + public GetDelegatedResourceAccessRequestAuditLogReportInvokeArgs() + { + } + public static new GetDelegatedResourceAccessRequestAuditLogReportInvokeArgs Empty => new GetDelegatedResourceAccessRequestAuditLogReportInvokeArgs(); + } + + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestAuditLogReportResult + { + /// + /// Status of the audit report + /// + public readonly string AuditReportStatus; + public readonly string DelegatedResourceAccessRequestId; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly bool? IsProcessTreeEnabled; + /// + /// The process tree data + /// + public readonly string ProcessTree; + /// + /// Audit log report. + /// + public readonly string Report; + /// + /// Time when the audit report was generated [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeReportGenerated; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestAuditLogReportResult( + string auditReportStatus, + + string delegatedResourceAccessRequestId, + + string id, + + bool? isProcessTreeEnabled, + + string processTree, + + string report, + + string timeReportGenerated) + { + AuditReportStatus = auditReportStatus; + DelegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + Id = id; + IsProcessTreeEnabled = isProcessTreeEnabled; + ProcessTree = processTree; + Report = report; + TimeReportGenerated = timeReportGenerated; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequestHistories.cs b/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequestHistories.cs new file mode 100644 index 0000000000..fa1f4f042d --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequestHistories.cs @@ -0,0 +1,145 @@ +// *** 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.DelegateAccessControl +{ + public static class GetDelegatedResourceAccessRequestHistories + { + /// + /// This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Returns a history of all status associated with the Delegated Resource Access RequestId. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegatedResourceAccessRequestHistories = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequestHistories.Invoke(new() + /// { + /// DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequest.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDelegatedResourceAccessRequestHistoriesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistories:getDelegatedResourceAccessRequestHistories", args ?? new GetDelegatedResourceAccessRequestHistoriesArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Returns a history of all status associated with the Delegated Resource Access RequestId. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegatedResourceAccessRequestHistories = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequestHistories.Invoke(new() + /// { + /// DelegatedResourceAccessRequestId = testDelegatedResourceAccessRequest.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDelegatedResourceAccessRequestHistoriesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistories:getDelegatedResourceAccessRequestHistories", args ?? new GetDelegatedResourceAccessRequestHistoriesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDelegatedResourceAccessRequestHistoriesArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique Delegated Resource Access Request identifier + /// + [Input("delegatedResourceAccessRequestId", required: true)] + public string DelegatedResourceAccessRequestId { get; set; } = null!; + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + public GetDelegatedResourceAccessRequestHistoriesArgs() + { + } + public static new GetDelegatedResourceAccessRequestHistoriesArgs Empty => new GetDelegatedResourceAccessRequestHistoriesArgs(); + } + + public sealed class GetDelegatedResourceAccessRequestHistoriesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique Delegated Resource Access Request identifier + /// + [Input("delegatedResourceAccessRequestId", required: true)] + public Input DelegatedResourceAccessRequestId { get; set; } = null!; + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + public GetDelegatedResourceAccessRequestHistoriesInvokeArgs() + { + } + public static new GetDelegatedResourceAccessRequestHistoriesInvokeArgs Empty => new GetDelegatedResourceAccessRequestHistoriesInvokeArgs(); + } + + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestHistoriesResult + { + /// + /// The list of delegated_resource_access_request_history_collection. + /// + public readonly ImmutableArray DelegatedResourceAccessRequestHistoryCollections; + public readonly string DelegatedResourceAccessRequestId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestHistoriesResult( + ImmutableArray delegatedResourceAccessRequestHistoryCollections, + + string delegatedResourceAccessRequestId, + + ImmutableArray filters, + + string id) + { + DelegatedResourceAccessRequestHistoryCollections = delegatedResourceAccessRequestHistoryCollections; + DelegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + Filters = filters; + Id = id; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequests.cs b/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequests.cs new file mode 100644 index 0000000000..d35cd15eb9 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetDelegatedResourceAccessRequests.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.DelegateAccessControl +{ + public static class GetDelegatedResourceAccessRequests + { + /// + /// This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegatedResourceAccessRequests = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequests.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DelegationControlId = testDelegationControl.Id, + /// RequestStatus = delegatedResourceAccessRequestRequestStatus, + /// ResourceId = testResource.Id, + /// State = delegatedResourceAccessRequestState, + /// TimeEnd = delegatedResourceAccessRequestTimeEnd, + /// TimeStart = delegatedResourceAccessRequestTimeStart, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDelegatedResourceAccessRequestsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getDelegatedResourceAccessRequests:getDelegatedResourceAccessRequests", args ?? new GetDelegatedResourceAccessRequestsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegatedResourceAccessRequests = Oci.DelegateAccessControl.GetDelegatedResourceAccessRequests.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DelegationControlId = testDelegationControl.Id, + /// RequestStatus = delegatedResourceAccessRequestRequestStatus, + /// ResourceId = testResource.Id, + /// State = delegatedResourceAccessRequestState, + /// TimeEnd = delegatedResourceAccessRequestTimeEnd, + /// TimeStart = delegatedResourceAccessRequestTimeStart, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDelegatedResourceAccessRequestsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequests:getDelegatedResourceAccessRequests", args ?? new GetDelegatedResourceAccessRequestsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDelegatedResourceAccessRequestsArgs : global::Pulumi.InvokeArgs + { + /// + /// 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!; + + /// + /// unique Delegation Control identifier + /// + [Input("delegationControlId")] + public string? DelegationControlId { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + /// + [Input("requestStatus")] + public string? RequestStatus { get; set; } + + /// + /// A filter to return only Delegated Resource Access Requests for the given resource identifier. + /// + [Input("resourceId")] + public string? ResourceId { get; set; } + + /// + /// A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + /// + [Input("state")] + public string? State { get; set; } + + /// + /// Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + /// + [Input("timeEnd")] + public string? TimeEnd { get; set; } + + /// + /// Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + /// + [Input("timeStart")] + public string? TimeStart { get; set; } + + public GetDelegatedResourceAccessRequestsArgs() + { + } + public static new GetDelegatedResourceAccessRequestsArgs Empty => new GetDelegatedResourceAccessRequestsArgs(); + } + + public sealed class GetDelegatedResourceAccessRequestsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// 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!; + + /// + /// unique Delegation Control identifier + /// + [Input("delegationControlId")] + public Input? DelegationControlId { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + /// + [Input("requestStatus")] + public Input? RequestStatus { get; set; } + + /// + /// A filter to return only Delegated Resource Access Requests for the given resource identifier. + /// + [Input("resourceId")] + public Input? ResourceId { get; set; } + + /// + /// A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + /// + [Input("timeEnd")] + public Input? TimeEnd { get; set; } + + /// + /// Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + /// + [Input("timeStart")] + public Input? TimeStart { get; set; } + + public GetDelegatedResourceAccessRequestsInvokeArgs() + { + } + public static new GetDelegatedResourceAccessRequestsInvokeArgs Empty => new GetDelegatedResourceAccessRequestsInvokeArgs(); + } + + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestsResult + { + /// + /// The OCID of the compartment that contains the Delegated Resource Access Request. + /// + public readonly string CompartmentId; + /// + /// The list of delegated_resource_access_request_summary_collection. + /// + public readonly ImmutableArray DelegatedResourceAccessRequestSummaryCollections; + /// + /// The OCID of the Delegation Control governing the target resource. + /// + public readonly string? DelegationControlId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The current status of the Delegated Resource Access Request. + /// + public readonly string? RequestStatus; + /// + /// The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + /// + public readonly string? ResourceId; + /// + /// The current lifecycle state of the Delegated Resource Access Request. + /// + public readonly string? State; + public readonly string? TimeEnd; + public readonly string? TimeStart; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestsResult( + string compartmentId, + + ImmutableArray delegatedResourceAccessRequestSummaryCollections, + + string? delegationControlId, + + ImmutableArray filters, + + string id, + + string? requestStatus, + + string? resourceId, + + string? state, + + string? timeEnd, + + string? timeStart) + { + CompartmentId = compartmentId; + DelegatedResourceAccessRequestSummaryCollections = delegatedResourceAccessRequestSummaryCollections; + DelegationControlId = delegationControlId; + Filters = filters; + Id = id; + RequestStatus = requestStatus; + ResourceId = resourceId; + State = state; + TimeEnd = timeEnd; + TimeStart = timeStart; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetDelegationControl.cs b/sdk/dotnet/DelegateAccessControl/GetDelegationControl.cs new file mode 100644 index 0000000000..39dc2cf1d2 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetDelegationControl.cs @@ -0,0 +1,263 @@ +// *** 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.DelegateAccessControl +{ + public static class GetDelegationControl + { + /// + /// This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets the Delegation Control associated with the specified Delegation Control ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationControl = Oci.DelegateAccessControl.GetDelegationControl.Invoke(new() + /// { + /// DelegationControlId = testDelegationControlOciDelegateAccessControlDelegationControl.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDelegationControlArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getDelegationControl:getDelegationControl", args ?? new GetDelegationControlArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets the Delegation Control associated with the specified Delegation Control ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationControl = Oci.DelegateAccessControl.GetDelegationControl.Invoke(new() + /// { + /// DelegationControlId = testDelegationControlOciDelegateAccessControlDelegationControl.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDelegationControlInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getDelegationControl:getDelegationControl", args ?? new GetDelegationControlInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDelegationControlArgs : global::Pulumi.InvokeArgs + { + /// + /// unique Delegation Control identifier + /// + [Input("delegationControlId", required: true)] + public string DelegationControlId { get; set; } = null!; + + public GetDelegationControlArgs() + { + } + public static new GetDelegationControlArgs Empty => new GetDelegationControlArgs(); + } + + public sealed class GetDelegationControlInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// unique Delegation Control identifier + /// + [Input("delegationControlId", required: true)] + public Input DelegationControlId { get; set; } = null!; + + public GetDelegationControlInvokeArgs() + { + } + public static new GetDelegationControlInvokeArgs Empty => new GetDelegationControlInvokeArgs(); + } + + + [OutputType] + public sealed class GetDelegationControlResult + { + /// + /// The OCID of the compartment that contains the Delegation Control. + /// + public readonly string CompartmentId; + /// + /// 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 ImmutableDictionary DefinedTags; + public readonly string DelegationControlId; + /// + /// List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + /// + public readonly ImmutableArray DelegationSubscriptionIds; + /// + /// Description of the Delegation Control. + /// + public readonly string Description; + /// + /// Name of the Delegation Control. The name does not need to be unique. + /// + public readonly string 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"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// The OCID of the Delegation Control. + /// + public readonly string Id; + /// + /// Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + /// + public readonly bool IsAutoApproveDuringMaintenance; + /// + /// Description of the current lifecycle state in more detail. + /// + public readonly string LifecycleStateDetails; + /// + /// The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + /// + public readonly string NotificationMessageFormat; + /// + /// The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + /// + public readonly string NotificationTopicId; + /// + /// number of approvals required. + /// + public readonly int NumApprovalsRequired; + /// + /// List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + /// + public readonly ImmutableArray PreApprovedServiceProviderActionNames; + /// + /// The OCID of the selected resources that this Delegation Control is applicable to. + /// + public readonly ImmutableArray ResourceIds; + /// + /// Resource type for which the Delegation Control is applicable to. + /// + public readonly string ResourceType; + /// + /// The current lifecycle state of the Delegation Control. + /// + 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; + /// + /// Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeCreated; + /// + /// Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + /// + public readonly string TimeDeleted; + /// + /// Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeUpdated; + /// + /// The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + /// + public readonly string VaultId; + /// + /// The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + /// + public readonly string VaultKeyId; + + [OutputConstructor] + private GetDelegationControlResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string delegationControlId, + + ImmutableArray delegationSubscriptionIds, + + string description, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + bool isAutoApproveDuringMaintenance, + + string lifecycleStateDetails, + + string notificationMessageFormat, + + string notificationTopicId, + + int numApprovalsRequired, + + ImmutableArray preApprovedServiceProviderActionNames, + + ImmutableArray resourceIds, + + string resourceType, + + string state, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeDeleted, + + string timeUpdated, + + string vaultId, + + string vaultKeyId) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + DelegationControlId = delegationControlId; + DelegationSubscriptionIds = delegationSubscriptionIds; + Description = description; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + IsAutoApproveDuringMaintenance = isAutoApproveDuringMaintenance; + LifecycleStateDetails = lifecycleStateDetails; + NotificationMessageFormat = notificationMessageFormat; + NotificationTopicId = notificationTopicId; + NumApprovalsRequired = numApprovalsRequired; + PreApprovedServiceProviderActionNames = preApprovedServiceProviderActionNames; + ResourceIds = resourceIds; + ResourceType = resourceType; + State = state; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeDeleted = timeDeleted; + TimeUpdated = timeUpdated; + VaultId = vaultId; + VaultKeyId = vaultKeyId; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetDelegationControlResources.cs b/sdk/dotnet/DelegateAccessControl/GetDelegationControlResources.cs new file mode 100644 index 0000000000..2d02904577 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetDelegationControlResources.cs @@ -0,0 +1,145 @@ +// *** 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.DelegateAccessControl +{ + public static class GetDelegationControlResources + { + /// + /// This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Returns a list of resources associated with the Delegation Control. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationControlResources = Oci.DelegateAccessControl.GetDelegationControlResources.Invoke(new() + /// { + /// DelegationControlId = testDelegationControl.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDelegationControlResourcesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getDelegationControlResources:getDelegationControlResources", args ?? new GetDelegationControlResourcesArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Returns a list of resources associated with the Delegation Control. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationControlResources = Oci.DelegateAccessControl.GetDelegationControlResources.Invoke(new() + /// { + /// DelegationControlId = testDelegationControl.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDelegationControlResourcesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getDelegationControlResources:getDelegationControlResources", args ?? new GetDelegationControlResourcesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDelegationControlResourcesArgs : global::Pulumi.InvokeArgs + { + /// + /// unique Delegation Control identifier + /// + [Input("delegationControlId", required: true)] + public string DelegationControlId { get; set; } = null!; + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + public GetDelegationControlResourcesArgs() + { + } + public static new GetDelegationControlResourcesArgs Empty => new GetDelegationControlResourcesArgs(); + } + + public sealed class GetDelegationControlResourcesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// unique Delegation Control identifier + /// + [Input("delegationControlId", required: true)] + public Input DelegationControlId { get; set; } = null!; + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + public GetDelegationControlResourcesInvokeArgs() + { + } + public static new GetDelegationControlResourcesInvokeArgs Empty => new GetDelegationControlResourcesInvokeArgs(); + } + + + [OutputType] + public sealed class GetDelegationControlResourcesResult + { + public readonly string DelegationControlId; + /// + /// The list of delegation_control_resource_collection. + /// + public readonly ImmutableArray DelegationControlResourceCollections; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + + [OutputConstructor] + private GetDelegationControlResourcesResult( + string delegationControlId, + + ImmutableArray delegationControlResourceCollections, + + ImmutableArray filters, + + string id) + { + DelegationControlId = delegationControlId; + DelegationControlResourceCollections = delegationControlResourceCollections; + Filters = filters; + Id = id; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetDelegationControls.cs b/sdk/dotnet/DelegateAccessControl/GetDelegationControls.cs new file mode 100644 index 0000000000..a31db3a7d9 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetDelegationControls.cs @@ -0,0 +1,229 @@ +// *** 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.DelegateAccessControl +{ + public static class GetDelegationControls + { + /// + /// This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Lists the Delegation Controls in the compartment. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationControls = Oci.DelegateAccessControl.GetDelegationControls.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = delegationControlDisplayName, + /// ResourceId = testResource.Id, + /// ResourceType = delegationControlResourceType, + /// State = delegationControlState, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDelegationControlsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getDelegationControls:getDelegationControls", args ?? new GetDelegationControlsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Lists the Delegation Controls in the compartment. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationControls = Oci.DelegateAccessControl.GetDelegationControls.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = delegationControlDisplayName, + /// ResourceId = testResource.Id, + /// ResourceType = delegationControlResourceType, + /// State = delegationControlState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDelegationControlsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getDelegationControls:getDelegationControls", args ?? new GetDelegationControlsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDelegationControlsArgs : global::Pulumi.InvokeArgs + { + /// + /// 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!; + + /// + /// A filter to return Delegation Control resources that match the given display name. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return Delegation Control resources that match the given resource ID. + /// + [Input("resourceId")] + public string? ResourceId { get; set; } + + /// + /// A filter to return only resources that match the given resource type. + /// + [Input("resourceType")] + public string? ResourceType { get; set; } + + /// + /// A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + /// + [Input("state")] + public string? State { get; set; } + + public GetDelegationControlsArgs() + { + } + public static new GetDelegationControlsArgs Empty => new GetDelegationControlsArgs(); + } + + public sealed class GetDelegationControlsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// 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!; + + /// + /// A filter to return Delegation Control resources that match the given display name. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return Delegation Control resources that match the given resource ID. + /// + [Input("resourceId")] + public Input? ResourceId { get; set; } + + /// + /// A filter to return only resources that match the given resource type. + /// + [Input("resourceType")] + public Input? ResourceType { get; set; } + + /// + /// A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + /// + [Input("state")] + public Input? State { get; set; } + + public GetDelegationControlsInvokeArgs() + { + } + public static new GetDelegationControlsInvokeArgs Empty => new GetDelegationControlsInvokeArgs(); + } + + + [OutputType] + public sealed class GetDelegationControlsResult + { + /// + /// The OCID of the compartment that contains the Delegation Control. + /// + public readonly string CompartmentId; + /// + /// The list of delegation_control_summary_collection. + /// + public readonly ImmutableArray DelegationControlSummaryCollections; + /// + /// Name of the Delegation Control. The name does not need to be unique. + /// + public readonly string? DisplayName; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + public readonly string? ResourceId; + /// + /// Resource type for which the Delegation Control is applicable to. + /// + public readonly string? ResourceType; + /// + /// The current lifecycle state of the Delegation Control. + /// + public readonly string? State; + + [OutputConstructor] + private GetDelegationControlsResult( + string compartmentId, + + ImmutableArray delegationControlSummaryCollections, + + string? displayName, + + ImmutableArray filters, + + string id, + + string? resourceId, + + string? resourceType, + + string? state) + { + CompartmentId = compartmentId; + DelegationControlSummaryCollections = delegationControlSummaryCollections; + DisplayName = displayName; + Filters = filters; + Id = id; + ResourceId = resourceId; + ResourceType = resourceType; + State = state; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetDelegationSubscription.cs b/sdk/dotnet/DelegateAccessControl/GetDelegationSubscription.cs new file mode 100644 index 0000000000..1fa00ad97c --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetDelegationSubscription.cs @@ -0,0 +1,200 @@ +// *** 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.DelegateAccessControl +{ + public static class GetDelegationSubscription + { + /// + /// This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets a DelegationSubscription by identifier + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationSubscription = Oci.DelegateAccessControl.GetDelegationSubscription.Invoke(new() + /// { + /// DelegationSubscriptionId = testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDelegationSubscriptionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getDelegationSubscription:getDelegationSubscription", args ?? new GetDelegationSubscriptionArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets a DelegationSubscription by identifier + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationSubscription = Oci.DelegateAccessControl.GetDelegationSubscription.Invoke(new() + /// { + /// DelegationSubscriptionId = testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDelegationSubscriptionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getDelegationSubscription:getDelegationSubscription", args ?? new GetDelegationSubscriptionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDelegationSubscriptionArgs : global::Pulumi.InvokeArgs + { + /// + /// unique Delegation Subscription identifier + /// + [Input("delegationSubscriptionId", required: true)] + public string DelegationSubscriptionId { get; set; } = null!; + + public GetDelegationSubscriptionArgs() + { + } + public static new GetDelegationSubscriptionArgs Empty => new GetDelegationSubscriptionArgs(); + } + + public sealed class GetDelegationSubscriptionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// unique Delegation Subscription identifier + /// + [Input("delegationSubscriptionId", required: true)] + public Input DelegationSubscriptionId { get; set; } = null!; + + public GetDelegationSubscriptionInvokeArgs() + { + } + public static new GetDelegationSubscriptionInvokeArgs Empty => new GetDelegationSubscriptionInvokeArgs(); + } + + + [OutputType] + public sealed class GetDelegationSubscriptionResult + { + /// + /// The OCID of the compartment that contains the Delegation Subscription. + /// + public readonly string CompartmentId; + /// + /// 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 ImmutableDictionary DefinedTags; + public readonly string DelegationSubscriptionId; + /// + /// Description of the Delegation Subscription. + /// + public readonly string Description; + /// + /// Display name + /// + public readonly string 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"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// Unique identifier for the Delegation Subscription. + /// + public readonly string Id; + /// + /// Description of the current lifecycle state in more detail. + /// + public readonly string LifecycleStateDetails; + /// + /// Unique identifier of the Service Provider. + /// + public readonly string ServiceProviderId; + /// + /// The current lifecycle state of the Service Provider. + /// + public readonly string State; + /// + /// Subscribed Service Provider Service Type. + /// + public readonly string SubscribedServiceType; + /// + /// 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; + /// + /// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeCreated; + /// + /// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetDelegationSubscriptionResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string delegationSubscriptionId, + + string description, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + string lifecycleStateDetails, + + string serviceProviderId, + + string state, + + string subscribedServiceType, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + DelegationSubscriptionId = delegationSubscriptionId; + Description = description; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + LifecycleStateDetails = lifecycleStateDetails; + ServiceProviderId = serviceProviderId; + State = state; + SubscribedServiceType = subscribedServiceType; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetDelegationSubscriptions.cs b/sdk/dotnet/DelegateAccessControl/GetDelegationSubscriptions.cs new file mode 100644 index 0000000000..6bb625ca5e --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetDelegationSubscriptions.cs @@ -0,0 +1,190 @@ +// *** 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.DelegateAccessControl +{ + public static class GetDelegationSubscriptions + { + /// + /// This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Lists the Delegation Subscriptions in Delegation Control. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationSubscriptions = Oci.DelegateAccessControl.GetDelegationSubscriptions.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = delegationSubscriptionDisplayName, + /// State = delegationSubscriptionState, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDelegationSubscriptionsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getDelegationSubscriptions:getDelegationSubscriptions", args ?? new GetDelegationSubscriptionsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Lists the Delegation Subscriptions in Delegation Control. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDelegationSubscriptions = Oci.DelegateAccessControl.GetDelegationSubscriptions.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DisplayName = delegationSubscriptionDisplayName, + /// State = delegationSubscriptionState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDelegationSubscriptionsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getDelegationSubscriptions:getDelegationSubscriptions", args ?? new GetDelegationSubscriptionsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDelegationSubscriptionsArgs : global::Pulumi.InvokeArgs + { + /// + /// 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!; + + /// + /// A filter to return Delegation Subscription resources that match the given display name. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + /// + [Input("state")] + public string? State { get; set; } + + public GetDelegationSubscriptionsArgs() + { + } + public static new GetDelegationSubscriptionsArgs Empty => new GetDelegationSubscriptionsArgs(); + } + + public sealed class GetDelegationSubscriptionsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// 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!; + + /// + /// A filter to return Delegation Subscription resources that match the given display name. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + /// + [Input("state")] + public Input? State { get; set; } + + public GetDelegationSubscriptionsInvokeArgs() + { + } + public static new GetDelegationSubscriptionsInvokeArgs Empty => new GetDelegationSubscriptionsInvokeArgs(); + } + + + [OutputType] + public sealed class GetDelegationSubscriptionsResult + { + /// + /// The OCID of the compartment that contains the Delegation Subscription. + /// + public readonly string CompartmentId; + /// + /// The list of delegation_subscription_summary_collection. + /// + public readonly ImmutableArray DelegationSubscriptionSummaryCollections; + /// + /// Display name + /// + public readonly string? DisplayName; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The current lifecycle state of the Service Provider. + /// + public readonly string? State; + + [OutputConstructor] + private GetDelegationSubscriptionsResult( + string compartmentId, + + ImmutableArray delegationSubscriptionSummaryCollections, + + string? displayName, + + ImmutableArray filters, + + string id, + + string? state) + { + CompartmentId = compartmentId; + DelegationSubscriptionSummaryCollections = delegationSubscriptionSummaryCollections; + DisplayName = displayName; + Filters = filters; + Id = id; + State = state; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetServiceProvider.cs b/sdk/dotnet/DelegateAccessControl/GetServiceProvider.cs new file mode 100644 index 0000000000..ff580be2fb --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetServiceProvider.cs @@ -0,0 +1,207 @@ +// *** 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.DelegateAccessControl +{ + public static class GetServiceProvider + { + /// + /// This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets a ServiceProvider by identifier + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testServiceProvider = Oci.DelegateAccessControl.GetServiceProvider.Invoke(new() + /// { + /// ServiceProviderId = testServiceProviderOciDelegateAccessControlServiceProvider.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetServiceProviderArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getServiceProvider:getServiceProvider", args ?? new GetServiceProviderArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets a ServiceProvider by identifier + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testServiceProvider = Oci.DelegateAccessControl.GetServiceProvider.Invoke(new() + /// { + /// ServiceProviderId = testServiceProviderOciDelegateAccessControlServiceProvider.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetServiceProviderInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getServiceProvider:getServiceProvider", args ?? new GetServiceProviderInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetServiceProviderArgs : global::Pulumi.InvokeArgs + { + /// + /// unique Service Provider identifier + /// + [Input("serviceProviderId", required: true)] + public string ServiceProviderId { get; set; } = null!; + + public GetServiceProviderArgs() + { + } + public static new GetServiceProviderArgs Empty => new GetServiceProviderArgs(); + } + + public sealed class GetServiceProviderInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// unique Service Provider identifier + /// + [Input("serviceProviderId", required: true)] + public Input ServiceProviderId { get; set; } = null!; + + public GetServiceProviderInvokeArgs() + { + } + public static new GetServiceProviderInvokeArgs Empty => new GetServiceProviderInvokeArgs(); + } + + + [OutputType] + public sealed class GetServiceProviderResult + { + /// + /// The OCID of the compartment that contains the Delegation Control. + /// + public readonly string CompartmentId; + /// + /// 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 ImmutableDictionary DefinedTags; + /// + /// Description of the Service Provider. + /// + public readonly string Description; + /// + /// 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; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Description of the current lifecycle state in more detail. + /// + public readonly string LifecycleStateDetails; + /// + /// Unique name of the Service Provider. + /// + public readonly string Name; + public readonly string ServiceProviderId; + /// + /// Service Provider type. + /// + public readonly string ServiceProviderType; + /// + /// Types of services offered by this provider. + /// + public readonly ImmutableArray ServiceTypes; + /// + /// The current lifecycle state of the Service Provider. + /// + public readonly string State; + /// + /// Resource types for which this provider will provide service. Default to all if not specified. + /// + public readonly ImmutableArray SupportedResourceTypes; + /// + /// 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; + /// + /// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeCreated; + /// + /// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetServiceProviderResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string description, + + ImmutableDictionary freeformTags, + + string id, + + string lifecycleStateDetails, + + string name, + + string serviceProviderId, + + string serviceProviderType, + + ImmutableArray serviceTypes, + + string state, + + ImmutableArray supportedResourceTypes, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + Description = description; + FreeformTags = freeformTags; + Id = id; + LifecycleStateDetails = lifecycleStateDetails; + Name = name; + ServiceProviderId = serviceProviderId; + ServiceProviderType = serviceProviderType; + ServiceTypes = serviceTypes; + State = state; + SupportedResourceTypes = supportedResourceTypes; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetServiceProviderAction.cs b/sdk/dotnet/DelegateAccessControl/GetServiceProviderAction.cs new file mode 100644 index 0000000000..e827b7bb12 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetServiceProviderAction.cs @@ -0,0 +1,172 @@ +// *** 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.DelegateAccessControl +{ + public static class GetServiceProviderAction + { + /// + /// This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets the Service Provider Action associated with the specified Service Provider Action ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testServiceProviderAction = Oci.DelegateAccessControl.GetServiceProviderAction.Invoke(new() + /// { + /// ServiceProviderActionId = testServiceProviderActionOciDelegateAccessControlServiceProviderAction.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetServiceProviderActionArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction", args ?? new GetServiceProviderActionArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Gets the Service Provider Action associated with the specified Service Provider Action ID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testServiceProviderAction = Oci.DelegateAccessControl.GetServiceProviderAction.Invoke(new() + /// { + /// ServiceProviderActionId = testServiceProviderActionOciDelegateAccessControlServiceProviderAction.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetServiceProviderActionInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction", args ?? new GetServiceProviderActionInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetServiceProviderActionArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique Oracle supplied identifier associated with the Service Provider Action. + /// + [Input("serviceProviderActionId", required: true)] + public string ServiceProviderActionId { get; set; } = null!; + + public GetServiceProviderActionArgs() + { + } + public static new GetServiceProviderActionArgs Empty => new GetServiceProviderActionArgs(); + } + + public sealed class GetServiceProviderActionInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique Oracle supplied identifier associated with the Service Provider Action. + /// + [Input("serviceProviderActionId", required: true)] + public Input ServiceProviderActionId { get; set; } = null!; + + public GetServiceProviderActionInvokeArgs() + { + } + public static new GetServiceProviderActionInvokeArgs Empty => new GetServiceProviderActionInvokeArgs(); + } + + + [OutputType] + public sealed class GetServiceProviderActionResult + { + /// + /// Name of the infrastructure layer associated with the Service Provider Action. + /// + public readonly string Component; + /// + /// Display Name of the Service Provider Action. + /// + public readonly string CustomerDisplayName; + /// + /// Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + /// + public readonly string Description; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Name of the property + /// + public readonly string Name; + /// + /// Fine grained properties associated with the Delegation Control. + /// + public readonly ImmutableArray Properties; + /// + /// resourceType for which the ServiceProviderAction is applicable + /// + public readonly string ResourceType; + public readonly string ServiceProviderActionId; + /// + /// List of Service Provider Service Types that this Service Provider Action is applicable to. + /// + public readonly ImmutableArray ServiceProviderServiceTypes; + /// + /// The current lifecycle state of the Service Provider Action. + /// + public readonly string State; + + [OutputConstructor] + private GetServiceProviderActionResult( + string component, + + string customerDisplayName, + + string description, + + string id, + + string name, + + ImmutableArray properties, + + string resourceType, + + string serviceProviderActionId, + + ImmutableArray serviceProviderServiceTypes, + + string state) + { + Component = component; + CustomerDisplayName = customerDisplayName; + Description = description; + Id = id; + Name = name; + Properties = properties; + ResourceType = resourceType; + ServiceProviderActionId = serviceProviderActionId; + ServiceProviderServiceTypes = serviceProviderServiceTypes; + State = state; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetServiceProviderActions.cs b/sdk/dotnet/DelegateAccessControl/GetServiceProviderActions.cs new file mode 100644 index 0000000000..3bb06cbb53 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetServiceProviderActions.cs @@ -0,0 +1,238 @@ +// *** 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.DelegateAccessControl +{ + public static class GetServiceProviderActions + { + /// + /// This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Lists all the ServiceProviderActions available in the system. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testServiceProviderActions = Oci.DelegateAccessControl.GetServiceProviderActions.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// Name = serviceProviderActionName, + /// ResourceType = serviceProviderActionResourceType, + /// ServiceProviderServiceTypes = serviceProviderActionServiceProviderServiceType, + /// State = serviceProviderActionState, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetServiceProviderActionsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getServiceProviderActions:getServiceProviderActions", args ?? new GetServiceProviderActionsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Lists all the ServiceProviderActions available in the system. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testServiceProviderActions = Oci.DelegateAccessControl.GetServiceProviderActions.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// Name = serviceProviderActionName, + /// ResourceType = serviceProviderActionResourceType, + /// ServiceProviderServiceTypes = serviceProviderActionServiceProviderServiceType, + /// State = serviceProviderActionState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetServiceProviderActionsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getServiceProviderActions:getServiceProviderActions", args ?? new GetServiceProviderActionsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetServiceProviderActionsArgs : global::Pulumi.InvokeArgs + { + /// + /// 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!; + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return only resources that match the entire name given. + /// + [Input("name")] + public string? Name { get; set; } + + /// + /// A filter to return only resources that match the given resource type. + /// + [Input("resourceType")] + public string? ResourceType { get; set; } + + [Input("serviceProviderServiceTypes")] + private List? _serviceProviderServiceTypes; + + /// + /// A filter to return only resources that match the given Service Provider service type. + /// + public List ServiceProviderServiceTypes + { + get => _serviceProviderServiceTypes ?? (_serviceProviderServiceTypes = new List()); + set => _serviceProviderServiceTypes = value; + } + + /// + /// A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + /// + [Input("state")] + public string? State { get; set; } + + public GetServiceProviderActionsArgs() + { + } + public static new GetServiceProviderActionsArgs Empty => new GetServiceProviderActionsArgs(); + } + + public sealed class GetServiceProviderActionsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// 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!; + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return only resources that match the entire name given. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// A filter to return only resources that match the given resource type. + /// + [Input("resourceType")] + public Input? ResourceType { get; set; } + + [Input("serviceProviderServiceTypes")] + private InputList? _serviceProviderServiceTypes; + + /// + /// A filter to return only resources that match the given Service Provider service type. + /// + public InputList ServiceProviderServiceTypes + { + get => _serviceProviderServiceTypes ?? (_serviceProviderServiceTypes = new InputList()); + set => _serviceProviderServiceTypes = value; + } + + /// + /// A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + /// + [Input("state")] + public Input? State { get; set; } + + public GetServiceProviderActionsInvokeArgs() + { + } + public static new GetServiceProviderActionsInvokeArgs Empty => new GetServiceProviderActionsInvokeArgs(); + } + + + [OutputType] + public sealed class GetServiceProviderActionsResult + { + public readonly string CompartmentId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Name of the property + /// + public readonly string? Name; + /// + /// resourceType for which the ServiceProviderAction is applicable + /// + public readonly string? ResourceType; + /// + /// The list of service_provider_action_summary_collection. + /// + public readonly ImmutableArray ServiceProviderActionSummaryCollections; + public readonly ImmutableArray ServiceProviderServiceTypes; + /// + /// The current lifecycle state of the Service Provider Action. + /// + public readonly string? State; + + [OutputConstructor] + private GetServiceProviderActionsResult( + string compartmentId, + + ImmutableArray filters, + + string id, + + string? name, + + string? resourceType, + + ImmutableArray serviceProviderActionSummaryCollections, + + ImmutableArray serviceProviderServiceTypes, + + string? state) + { + CompartmentId = compartmentId; + Filters = filters; + Id = id; + Name = name; + ResourceType = resourceType; + ServiceProviderActionSummaryCollections = serviceProviderActionSummaryCollections; + ServiceProviderServiceTypes = serviceProviderServiceTypes; + State = state; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/GetServiceProviders.cs b/sdk/dotnet/DelegateAccessControl/GetServiceProviders.cs new file mode 100644 index 0000000000..ec09b25864 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/GetServiceProviders.cs @@ -0,0 +1,229 @@ +// *** 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.DelegateAccessControl +{ + public static class GetServiceProviders + { + /// + /// This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Lists the Service Providers. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testServiceProviders = Oci.DelegateAccessControl.GetServiceProviders.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// Name = serviceProviderName, + /// ServiceProviderType = serviceProviderServiceProviderType, + /// State = serviceProviderState, + /// SupportedResourceType = serviceProviderSupportedResourceType, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetServiceProvidersArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DelegateAccessControl/getServiceProviders:getServiceProviders", args ?? new GetServiceProvidersArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. + /// + /// Lists the Service Providers. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testServiceProviders = Oci.DelegateAccessControl.GetServiceProviders.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// Name = serviceProviderName, + /// ServiceProviderType = serviceProviderServiceProviderType, + /// State = serviceProviderState, + /// SupportedResourceType = serviceProviderSupportedResourceType, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetServiceProvidersInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DelegateAccessControl/getServiceProviders:getServiceProviders", args ?? new GetServiceProvidersInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetServiceProvidersArgs : global::Pulumi.InvokeArgs + { + /// + /// 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!; + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return Service Provider resources that match the given name. + /// + [Input("name")] + public string? Name { get; set; } + + /// + /// A filter to return only Service Provider resources whose provider type matches the given provider type. + /// + [Input("serviceProviderType")] + public string? ServiceProviderType { get; set; } + + /// + /// A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + /// + [Input("state")] + public string? State { get; set; } + + /// + /// A filter to return only Service Provider resources whose supported resource type matches the given resource type. + /// + [Input("supportedResourceType")] + public string? SupportedResourceType { get; set; } + + public GetServiceProvidersArgs() + { + } + public static new GetServiceProvidersArgs Empty => new GetServiceProvidersArgs(); + } + + public sealed class GetServiceProvidersInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// 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!; + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return Service Provider resources that match the given name. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// A filter to return only Service Provider resources whose provider type matches the given provider type. + /// + [Input("serviceProviderType")] + public Input? ServiceProviderType { get; set; } + + /// + /// A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// A filter to return only Service Provider resources whose supported resource type matches the given resource type. + /// + [Input("supportedResourceType")] + public Input? SupportedResourceType { get; set; } + + public GetServiceProvidersInvokeArgs() + { + } + public static new GetServiceProvidersInvokeArgs Empty => new GetServiceProvidersInvokeArgs(); + } + + + [OutputType] + public sealed class GetServiceProvidersResult + { + /// + /// The OCID of the compartment that contains the Delegation Control. + /// + public readonly string CompartmentId; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Unique name of the Service Provider. + /// + public readonly string? Name; + /// + /// The list of service_provider_summary_collection. + /// + public readonly ImmutableArray ServiceProviderSummaryCollections; + /// + /// Service Provider type. + /// + public readonly string? ServiceProviderType; + /// + /// The current lifecycle state of the Service Provider. + /// + public readonly string? State; + public readonly string? SupportedResourceType; + + [OutputConstructor] + private GetServiceProvidersResult( + string compartmentId, + + ImmutableArray filters, + + string id, + + string? name, + + ImmutableArray serviceProviderSummaryCollections, + + string? serviceProviderType, + + string? state, + + string? supportedResourceType) + { + CompartmentId = compartmentId; + Filters = filters; + Id = id; + Name = name; + ServiceProviderSummaryCollections = serviceProviderSummaryCollections; + ServiceProviderType = serviceProviderType; + State = state; + SupportedResourceType = supportedResourceType; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestHistoriesFilter.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestHistoriesFilter.cs new file mode 100644 index 0000000000..7ceaba8a34 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestHistoriesFilter.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.DelegateAccessControl.Inputs +{ + + public sealed class GetDelegatedResourceAccessRequestHistoriesFilterArgs : 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 GetDelegatedResourceAccessRequestHistoriesFilterArgs() + { + } + public static new GetDelegatedResourceAccessRequestHistoriesFilterArgs Empty => new GetDelegatedResourceAccessRequestHistoriesFilterArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestHistoriesFilterArgs.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestHistoriesFilterArgs.cs new file mode 100644 index 0000000000..b10411c8e3 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestHistoriesFilterArgs.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.DelegateAccessControl.Inputs +{ + + public sealed class GetDelegatedResourceAccessRequestHistoriesFilterInputArgs : 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 GetDelegatedResourceAccessRequestHistoriesFilterInputArgs() + { + } + public static new GetDelegatedResourceAccessRequestHistoriesFilterInputArgs Empty => new GetDelegatedResourceAccessRequestHistoriesFilterInputArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestsFilter.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestsFilter.cs new file mode 100644 index 0000000000..36cd817209 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestsFilter.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.DelegateAccessControl.Inputs +{ + + public sealed class GetDelegatedResourceAccessRequestsFilterArgs : 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 GetDelegatedResourceAccessRequestsFilterArgs() + { + } + public static new GetDelegatedResourceAccessRequestsFilterArgs Empty => new GetDelegatedResourceAccessRequestsFilterArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestsFilterArgs.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestsFilterArgs.cs new file mode 100644 index 0000000000..9ef9304ca7 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegatedResourceAccessRequestsFilterArgs.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.DelegateAccessControl.Inputs +{ + + public sealed class GetDelegatedResourceAccessRequestsFilterInputArgs : 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 GetDelegatedResourceAccessRequestsFilterInputArgs() + { + } + public static new GetDelegatedResourceAccessRequestsFilterInputArgs Empty => new GetDelegatedResourceAccessRequestsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlResourcesFilter.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlResourcesFilter.cs new file mode 100644 index 0000000000..c0580e0b0b --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlResourcesFilter.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.DelegateAccessControl.Inputs +{ + + public sealed class GetDelegationControlResourcesFilterArgs : 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 GetDelegationControlResourcesFilterArgs() + { + } + public static new GetDelegationControlResourcesFilterArgs Empty => new GetDelegationControlResourcesFilterArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlResourcesFilterArgs.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlResourcesFilterArgs.cs new file mode 100644 index 0000000000..aabc5b7c73 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlResourcesFilterArgs.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.DelegateAccessControl.Inputs +{ + + public sealed class GetDelegationControlResourcesFilterInputArgs : 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 GetDelegationControlResourcesFilterInputArgs() + { + } + public static new GetDelegationControlResourcesFilterInputArgs Empty => new GetDelegationControlResourcesFilterInputArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlsFilter.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlsFilter.cs new file mode 100644 index 0000000000..0ebdca0583 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlsFilter.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.DelegateAccessControl.Inputs +{ + + public sealed class GetDelegationControlsFilterArgs : 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 GetDelegationControlsFilterArgs() + { + } + public static new GetDelegationControlsFilterArgs Empty => new GetDelegationControlsFilterArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlsFilterArgs.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlsFilterArgs.cs new file mode 100644 index 0000000000..35cf4424b3 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationControlsFilterArgs.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.DelegateAccessControl.Inputs +{ + + public sealed class GetDelegationControlsFilterInputArgs : 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 GetDelegationControlsFilterInputArgs() + { + } + public static new GetDelegationControlsFilterInputArgs Empty => new GetDelegationControlsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationSubscriptionsFilter.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationSubscriptionsFilter.cs new file mode 100644 index 0000000000..1d58f6d602 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationSubscriptionsFilter.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.DelegateAccessControl.Inputs +{ + + public sealed class GetDelegationSubscriptionsFilterArgs : 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 GetDelegationSubscriptionsFilterArgs() + { + } + public static new GetDelegationSubscriptionsFilterArgs Empty => new GetDelegationSubscriptionsFilterArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationSubscriptionsFilterArgs.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationSubscriptionsFilterArgs.cs new file mode 100644 index 0000000000..3d90613526 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetDelegationSubscriptionsFilterArgs.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.DelegateAccessControl.Inputs +{ + + public sealed class GetDelegationSubscriptionsFilterInputArgs : 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 GetDelegationSubscriptionsFilterInputArgs() + { + } + public static new GetDelegationSubscriptionsFilterInputArgs Empty => new GetDelegationSubscriptionsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProviderActionsFilter.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProviderActionsFilter.cs new file mode 100644 index 0000000000..8f57afc81c --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProviderActionsFilter.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.DelegateAccessControl.Inputs +{ + + public sealed class GetServiceProviderActionsFilterArgs : global::Pulumi.InvokeArgs + { + /// + /// A filter to return only resources that match the entire name given. + /// + [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 GetServiceProviderActionsFilterArgs() + { + } + public static new GetServiceProviderActionsFilterArgs Empty => new GetServiceProviderActionsFilterArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProviderActionsFilterArgs.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProviderActionsFilterArgs.cs new file mode 100644 index 0000000000..a66c1879e5 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProviderActionsFilterArgs.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.DelegateAccessControl.Inputs +{ + + public sealed class GetServiceProviderActionsFilterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// A filter to return only resources that match the entire name given. + /// + [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 GetServiceProviderActionsFilterInputArgs() + { + } + public static new GetServiceProviderActionsFilterInputArgs Empty => new GetServiceProviderActionsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProvidersFilter.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProvidersFilter.cs new file mode 100644 index 0000000000..e35f9e7e8d --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProvidersFilter.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.DelegateAccessControl.Inputs +{ + + public sealed class GetServiceProvidersFilterArgs : global::Pulumi.InvokeArgs + { + /// + /// A filter to return Service Provider resources that match the given name. + /// + [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 GetServiceProvidersFilterArgs() + { + } + public static new GetServiceProvidersFilterArgs Empty => new GetServiceProvidersFilterArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProvidersFilterArgs.cs b/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProvidersFilterArgs.cs new file mode 100644 index 0000000000..6209827bec --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Inputs/GetServiceProvidersFilterArgs.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.DelegateAccessControl.Inputs +{ + + public sealed class GetServiceProvidersFilterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// A filter to return Service Provider resources that match the given name. + /// + [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 GetServiceProvidersFilterInputArgs() + { + } + public static new GetServiceProvidersFilterInputArgs Empty => new GetServiceProvidersFilterInputArgs(); + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestApprovalInfoResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestApprovalInfoResult.cs new file mode 100644 index 0000000000..232cf3b010 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestApprovalInfoResult.cs @@ -0,0 +1,63 @@ +// *** 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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestApprovalInfoResult + { + /// + /// Indicated whether the request is approved or rejected. + /// + public readonly string ApprovalAction; + /// + /// approval type, initial or extension + /// + public readonly string ApprovalType; + /// + /// Additional message specified by the approver of the request. + /// + public readonly string ApproverAdditionalMessage; + /// + /// Comment specified by the approver of the request. + /// + public readonly string ApproverComment; + /// + /// User ID of the approver. + /// + public readonly string ApproverId; + /// + /// Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + /// + public readonly string TimeApprovedForAccess; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestApprovalInfoResult( + string approvalAction, + + string approvalType, + + string approverAdditionalMessage, + + string approverComment, + + string approverId, + + string timeApprovedForAccess) + { + ApprovalAction = approvalAction; + ApprovalType = approvalType; + ApproverAdditionalMessage = approverAdditionalMessage; + ApproverComment = approverComment; + ApproverId = approverId; + TimeApprovedForAccess = timeApprovedForAccess; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemResult.cs new file mode 100644 index 0000000000..85caf0168c --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemResult + { + /// + /// Comment about the status change. + /// + public readonly string Comment; + /// + /// The current status of the Delegated Resource Access Request. + /// + public readonly string RequestStatus; + /// + /// The current lifecycle state of the Delegated Resource Access Request. + /// + public readonly string State; + /// + /// Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + /// + public readonly string Timestamp; + /// + /// ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator". + /// + public readonly string UserId; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemResult( + string comment, + + string requestStatus, + + string state, + + string timestamp, + + string userId) + { + Comment = comment; + RequestStatus = requestStatus; + State = state; + Timestamp = timestamp; + UserId = userId; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionResult.cs new file mode 100644 index 0000000000..110ee22fbb --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionResult + { + /// + /// List of DelegatedResourceAccessRequestHistorySummary objects. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestHistoriesFilterResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestHistoriesFilterResult.cs new file mode 100644 index 0000000000..8d1afe92a2 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestHistoriesFilterResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestHistoriesFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestHistoriesFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoResult.cs new file mode 100644 index 0000000000..c1bd115680 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoResult.cs @@ -0,0 +1,63 @@ +// *** 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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoResult + { + /// + /// Indicated whether the request is approved or rejected. + /// + public readonly string ApprovalAction; + /// + /// approval type, initial or extension + /// + public readonly string ApprovalType; + /// + /// Additional message specified by the approver of the request. + /// + public readonly string ApproverAdditionalMessage; + /// + /// Comment specified by the approver of the request. + /// + public readonly string ApproverComment; + /// + /// User ID of the approver. + /// + public readonly string ApproverId; + /// + /// Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + /// + public readonly string TimeApprovedForAccess; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoResult( + string approvalAction, + + string approvalType, + + string approverAdditionalMessage, + + string approverComment, + + string approverId, + + string timeApprovedForAccess) + { + ApprovalAction = approvalAction; + ApprovalType = approvalType; + ApproverAdditionalMessage = approverAdditionalMessage; + ApproverComment = approverComment; + ApproverId = approverId; + TimeApprovedForAccess = timeApprovedForAccess; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemResult.cs new file mode 100644 index 0000000000..b73f023f92 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemResult.cs @@ -0,0 +1,259 @@ +// *** 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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemResult + { + /// + /// In case of single approval, this will have only one item. Else, a list of approvals. + /// + public readonly ImmutableArray ApprovalInfos; + /// + /// Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + /// + public readonly ImmutableArray AuditTypes; + /// + /// The comment entered by the support operator while closing the request. + /// + public readonly string ClosureComment; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + /// + public readonly string CompartmentId; + /// + /// List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + /// + public readonly ImmutableArray DatabaseNameLists; + /// + /// 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 ImmutableDictionary DefinedTags; + /// + /// unique Delegation Control identifier + /// + public readonly string DelegationControlId; + /// + /// List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + /// + public readonly ImmutableArray DelegationSubscriptionIds; + /// + /// Detailed description of this Delegated Resource Access Request. + /// + public readonly string Description; + /// + /// Display name. This is generated by the system automatically. + /// + public readonly string DisplayName; + /// + /// Duration in hours for which access is sought on the target resource. + /// + public readonly int DurationInHours; + /// + /// Duration in hours for which extension access is sought on the target resource. + /// + public readonly int ExtendDurationInHours; + /// + /// 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; + /// + /// The OCID of the Delegated Resource Access Request. + /// + public readonly string Id; + /// + /// Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + /// + public readonly bool IsAutoApproved; + /// + /// Indicates if the delegated resource access request is waiting on more information from the operator + /// + public readonly bool IsPendingMoreInfo; + /// + /// Description of the current lifecycle state in more detail. + /// + public readonly string LifecycleStateDetails; + /// + /// Number of extension approvals that have been obtained so far. + /// + public readonly int NumExtensionApprovals; + /// + /// Number of initial approvals that have been obtained so far. + /// + public readonly int NumInitialApprovals; + /// + /// List of Service Provider Service Types being provided by the support operator user. + /// + public readonly ImmutableArray ProvidedServiceTypes; + /// + /// A short description explaining why this Delegated Resource Access Request is needed by the support operator. + /// + public readonly string ReasonForRequest; + /// + /// A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + /// + public readonly string RequestStatus; + /// + /// List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + /// + public readonly ImmutableArray RequestedActionNames; + /// + /// Requester type + /// + public readonly string RequesterType; + /// + /// A filter to return only Delegated Resource Access Requests for the given resource identifier. + /// + public readonly string ResourceId; + /// + /// The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + /// + public readonly string ResourceName; + /// + /// Resource type for which the associated Delegation Control is applicable to. + /// + public readonly string ResourceType; + /// + /// Priority assigned to the Delegated Resource Access Request by the support operator + /// + public readonly string Severity; + /// + /// A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request 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; + /// + /// A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + /// + public readonly ImmutableArray TicketNumbers; + /// + /// Requested access start time in UTC. + /// + public readonly string TimeAccessRequested; + /// + /// Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + /// + public readonly string TimeCreated; + /// + /// Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemResult( + ImmutableArray approvalInfos, + + ImmutableArray auditTypes, + + string closureComment, + + string compartmentId, + + ImmutableArray databaseNameLists, + + ImmutableDictionary definedTags, + + string delegationControlId, + + ImmutableArray delegationSubscriptionIds, + + string description, + + string displayName, + + int durationInHours, + + int extendDurationInHours, + + ImmutableDictionary freeformTags, + + string id, + + bool isAutoApproved, + + bool isPendingMoreInfo, + + string lifecycleStateDetails, + + int numExtensionApprovals, + + int numInitialApprovals, + + ImmutableArray providedServiceTypes, + + string reasonForRequest, + + string requestStatus, + + ImmutableArray requestedActionNames, + + string requesterType, + + string resourceId, + + string resourceName, + + string resourceType, + + string severity, + + string state, + + ImmutableDictionary systemTags, + + ImmutableArray ticketNumbers, + + string timeAccessRequested, + + string timeCreated, + + string timeUpdated) + { + ApprovalInfos = approvalInfos; + AuditTypes = auditTypes; + ClosureComment = closureComment; + CompartmentId = compartmentId; + DatabaseNameLists = databaseNameLists; + DefinedTags = definedTags; + DelegationControlId = delegationControlId; + DelegationSubscriptionIds = delegationSubscriptionIds; + Description = description; + DisplayName = displayName; + DurationInHours = durationInHours; + ExtendDurationInHours = extendDurationInHours; + FreeformTags = freeformTags; + Id = id; + IsAutoApproved = isAutoApproved; + IsPendingMoreInfo = isPendingMoreInfo; + LifecycleStateDetails = lifecycleStateDetails; + NumExtensionApprovals = numExtensionApprovals; + NumInitialApprovals = numInitialApprovals; + ProvidedServiceTypes = providedServiceTypes; + ReasonForRequest = reasonForRequest; + RequestStatus = requestStatus; + RequestedActionNames = requestedActionNames; + RequesterType = requesterType; + ResourceId = resourceId; + ResourceName = resourceName; + ResourceType = resourceType; + Severity = severity; + State = state; + SystemTags = systemTags; + TicketNumbers = ticketNumbers; + TimeAccessRequested = timeAccessRequested; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionResult.cs new file mode 100644 index 0000000000..a3579176b0 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsFilterResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsFilterResult.cs new file mode 100644 index 0000000000..cfd77f5bca --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegatedResourceAccessRequestsFilterResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegatedResourceAccessRequestsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetDelegatedResourceAccessRequestsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlResourcesDelegationControlResourceCollectionItemResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlResourcesDelegationControlResourceCollectionItemResult.cs new file mode 100644 index 0000000000..5b85c0306d --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlResourcesDelegationControlResourceCollectionItemResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegationControlResourcesDelegationControlResourceCollectionItemResult + { + /// + /// OCID of the resource. + /// + public readonly string Id; + /// + /// The current status of the resource in Delegation Control. + /// + public readonly string ResourceStatus; + + [OutputConstructor] + private GetDelegationControlResourcesDelegationControlResourceCollectionItemResult( + string id, + + string resourceStatus) + { + Id = id; + ResourceStatus = resourceStatus; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlResourcesDelegationControlResourceCollectionResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlResourcesDelegationControlResourceCollectionResult.cs new file mode 100644 index 0000000000..54b31bfb1c --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlResourcesDelegationControlResourceCollectionResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegationControlResourcesDelegationControlResourceCollectionResult + { + /// + /// List of DelegationControlResourceSummary objects. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetDelegationControlResourcesDelegationControlResourceCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlResourcesFilterResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlResourcesFilterResult.cs new file mode 100644 index 0000000000..813c188f42 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlResourcesFilterResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegationControlResourcesFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetDelegationControlResourcesFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlsDelegationControlSummaryCollectionItemResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlsDelegationControlSummaryCollectionItemResult.cs new file mode 100644 index 0000000000..c45530a497 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlsDelegationControlSummaryCollectionItemResult.cs @@ -0,0 +1,175 @@ +// *** 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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegationControlsDelegationControlSummaryCollectionItemResult + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + /// + public readonly string CompartmentId; + /// + /// 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 ImmutableDictionary DefinedTags; + /// + /// List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + /// + public readonly ImmutableArray DelegationSubscriptionIds; + /// + /// Description of the Delegation Control. + /// + public readonly string Description; + /// + /// A filter to return Delegation Control resources that match the given display name. + /// + public readonly string 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"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// The OCID of the Delegation Control. + /// + public readonly string Id; + /// + /// Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + /// + public readonly bool IsAutoApproveDuringMaintenance; + /// + /// Description of the current lifecycle state in more detail. + /// + public readonly string LifecycleStateDetails; + /// + /// The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + /// + public readonly string NotificationMessageFormat; + /// + /// The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + /// + public readonly string NotificationTopicId; + /// + /// number of approvals required. + /// + public readonly int NumApprovalsRequired; + /// + /// List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + /// + public readonly ImmutableArray PreApprovedServiceProviderActionNames; + /// + /// The OCID of the selected resources that this Delegation Control is applicable to. + /// + public readonly ImmutableArray ResourceIds; + /// + /// A filter to return only resources that match the given resource type. + /// + public readonly string ResourceType; + /// + /// A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + /// + 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; + /// + /// Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeCreated; + /// + /// Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + /// + public readonly string TimeDeleted; + /// + /// Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeUpdated; + /// + /// The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + /// + public readonly string VaultId; + /// + /// The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + /// + public readonly string VaultKeyId; + + [OutputConstructor] + private GetDelegationControlsDelegationControlSummaryCollectionItemResult( + string compartmentId, + + ImmutableDictionary definedTags, + + ImmutableArray delegationSubscriptionIds, + + string description, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + bool isAutoApproveDuringMaintenance, + + string lifecycleStateDetails, + + string notificationMessageFormat, + + string notificationTopicId, + + int numApprovalsRequired, + + ImmutableArray preApprovedServiceProviderActionNames, + + ImmutableArray resourceIds, + + string resourceType, + + string state, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeDeleted, + + string timeUpdated, + + string vaultId, + + string vaultKeyId) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + DelegationSubscriptionIds = delegationSubscriptionIds; + Description = description; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + IsAutoApproveDuringMaintenance = isAutoApproveDuringMaintenance; + LifecycleStateDetails = lifecycleStateDetails; + NotificationMessageFormat = notificationMessageFormat; + NotificationTopicId = notificationTopicId; + NumApprovalsRequired = numApprovalsRequired; + PreApprovedServiceProviderActionNames = preApprovedServiceProviderActionNames; + ResourceIds = resourceIds; + ResourceType = resourceType; + State = state; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeDeleted = timeDeleted; + TimeUpdated = timeUpdated; + VaultId = vaultId; + VaultKeyId = vaultKeyId; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlsDelegationControlSummaryCollectionResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlsDelegationControlSummaryCollectionResult.cs new file mode 100644 index 0000000000..b3eade6da7 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlsDelegationControlSummaryCollectionResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegationControlsDelegationControlSummaryCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetDelegationControlsDelegationControlSummaryCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetPrivateEndpointsFilterResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlsFilterResult.cs similarity index 81% rename from sdk/dotnet/GloballyDistributedDatabase/Outputs/GetPrivateEndpointsFilterResult.cs rename to sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlsFilterResult.cs index b37d038094..14f4f33502 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetPrivateEndpointsFilterResult.cs +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationControlsFilterResult.cs @@ -7,18 +7,18 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Outputs +namespace Pulumi.Oci.DelegateAccessControl.Outputs { [OutputType] - public sealed class GetPrivateEndpointsFilterResult + public sealed class GetDelegationControlsFilterResult { public readonly string Name; public readonly bool? Regex; public readonly ImmutableArray Values; [OutputConstructor] - private GetPrivateEndpointsFilterResult( + private GetDelegationControlsFilterResult( string name, bool? regex, diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetPrivateEndpointsPrivateEndpointCollectionItemResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemResult.cs similarity index 51% rename from sdk/dotnet/GloballyDistributedDatabase/Outputs/GetPrivateEndpointsPrivateEndpointCollectionItemResult.cs rename to sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemResult.cs index 21df4f9e49..d58a69062b 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetPrivateEndpointsPrivateEndpointCollectionItemResult.cs +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemResult.cs @@ -7,79 +7,67 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Outputs +namespace Pulumi.Oci.DelegateAccessControl.Outputs { [OutputType] - public sealed class GetPrivateEndpointsPrivateEndpointCollectionItemResult + public sealed class GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemResult { /// - /// 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. /// public readonly string CompartmentId; /// - /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// 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 ImmutableDictionary DefinedTags; /// - /// PrivateEndpoint description. + /// Description of the Delegation Subscription. /// public readonly string Description; /// - /// A filter to return only private endpoint that match the entire name given. The match is not case sensitive. + /// A filter to return Delegation Subscription resources that match the given display name. /// 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"}` + /// 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; /// - /// The identifier of the Private Endpoint. + /// Unique identifier for the Delegation Subscription. /// public readonly string Id; /// - /// Detailed message for the lifecycle state. + /// Description of the current lifecycle state in more detail. /// public readonly string LifecycleStateDetails; /// - /// The OCIDs of the network security groups that the private endpoint belongs to. + /// Unique identifier of the Service Provider. /// - public readonly ImmutableArray NsgIds; + public readonly string ServiceProviderId; /// - /// IP address of the Private Endpoint. - /// - public readonly string PrivateIp; - /// - /// The OCIDs of sharded databases that consumes the given private endpoint. - /// - public readonly ImmutableArray ShardedDatabases; - /// - /// A filter to return only resources their lifecycleState matches the given lifecycleState. + /// A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. /// public readonly string State; /// - /// Identifier of the subnet in which private endpoint exists. + /// Subscribed Service Provider Service Type. /// - public readonly string SubnetId; + public readonly string SubscribedServiceType; /// - /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// 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 PrivateEndpoint was first created. An RFC3339 formatted datetime string + /// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' /// public readonly string TimeCreated; /// - /// The time the Private Endpoint was last updated. An RFC3339 formatted datetime string + /// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' /// public readonly string TimeUpdated; - /// - /// Identifier of the VCN in which subnet exists. - /// - public readonly string VcnId; [OutputConstructor] - private GetPrivateEndpointsPrivateEndpointCollectionItemResult( + private GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemResult( string compartmentId, ImmutableDictionary definedTags, @@ -94,23 +82,17 @@ private GetPrivateEndpointsPrivateEndpointCollectionItemResult( string lifecycleStateDetails, - ImmutableArray nsgIds, - - string privateIp, - - ImmutableArray shardedDatabases, + string serviceProviderId, string state, - string subnetId, + string subscribedServiceType, ImmutableDictionary systemTags, string timeCreated, - string timeUpdated, - - string vcnId) + string timeUpdated) { CompartmentId = compartmentId; DefinedTags = definedTags; @@ -119,15 +101,12 @@ private GetPrivateEndpointsPrivateEndpointCollectionItemResult( FreeformTags = freeformTags; Id = id; LifecycleStateDetails = lifecycleStateDetails; - NsgIds = nsgIds; - PrivateIp = privateIp; - ShardedDatabases = shardedDatabases; + ServiceProviderId = serviceProviderId; State = state; - SubnetId = subnetId; + SubscribedServiceType = subscribedServiceType; SystemTags = systemTags; TimeCreated = timeCreated; TimeUpdated = timeUpdated; - VcnId = vcnId; } } } diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionResult.cs new file mode 100644 index 0000000000..221f816940 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationSubscriptionsFilterResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationSubscriptionsFilterResult.cs new file mode 100644 index 0000000000..4bd556f149 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetDelegationSubscriptionsFilterResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetDelegationSubscriptionsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetDelegationSubscriptionsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionFleetDiscoveryFilterTagResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionPropertyResult.cs similarity index 54% rename from sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionFleetDiscoveryFilterTagResult.cs rename to sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionPropertyResult.cs index f4531dd06c..157dbcb25c 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionFleetDiscoveryFilterTagResult.cs +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionPropertyResult.cs @@ -7,26 +7,28 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Outputs +namespace Pulumi.Oci.DelegateAccessControl.Outputs { [OutputType] - public sealed class GetFsuCollectionFleetDiscoveryFilterTagResult + public sealed class GetServiceProviderActionPropertyResult { - public readonly string Key; - public readonly string Namespace; + /// + /// Name of the property + /// + public readonly string Name; + /// + /// value of the property + /// public readonly string Value; [OutputConstructor] - private GetFsuCollectionFleetDiscoveryFilterTagResult( - string key, - - string @namespace, + private GetServiceProviderActionPropertyResult( + string name, string value) { - Key = key; - Namespace = @namespace; + Name = name; Value = value; } } diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsFilterResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsFilterResult.cs new file mode 100644 index 0000000000..4158b42c9f --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsFilterResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetServiceProviderActionsFilterResult + { + /// + /// A filter to return only resources that match the entire name given. + /// + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetServiceProviderActionsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabasePatchOperation.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyResult.cs similarity index 50% rename from sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabasePatchOperation.cs rename to sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyResult.cs index 197071e917..385528878a 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabasePatchOperation.cs +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyResult.cs @@ -7,35 +7,28 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Outputs +namespace Pulumi.Oci.DelegateAccessControl.Outputs { [OutputType] - public sealed class ShardedDatabasePatchOperation + public sealed class GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyResult { /// - /// (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` + /// A filter to return only resources that match the entire name given. /// - public readonly string Operation; + public readonly string Name; /// - /// (Updatable) - /// - public readonly string Selection; - /// - /// (Updatable) + /// value of the property /// public readonly string Value; [OutputConstructor] - private ShardedDatabasePatchOperation( - string operation, - - string selection, + private GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyResult( + string name, string value) { - Operation = operation; - Selection = selection; + Name = name; Value = value; } } diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItemResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItemResult.cs new file mode 100644 index 0000000000..d01e531b4e --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItemResult.cs @@ -0,0 +1,84 @@ +// *** 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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetServiceProviderActionsServiceProviderActionSummaryCollectionItemResult + { + /// + /// Name of the infrastructure layer associated with the Service Provider Action. + /// + public readonly string Component; + /// + /// Display Name of the Service Provider Action. + /// + public readonly string CustomerDisplayName; + /// + /// Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + /// + public readonly string Description; + /// + /// Unique Oracle assigned identifier for the Service Provider Action. + /// + public readonly string Id; + /// + /// A filter to return only resources that match the entire name given. + /// + public readonly string Name; + /// + /// Fine grained properties associated with the Delegation Control. + /// + public readonly ImmutableArray Properties; + /// + /// A filter to return only resources that match the given resource type. + /// + public readonly string ResourceType; + /// + /// List of Service Provider Service Types that this Service Provider Action is applicable to. + /// + public readonly ImmutableArray ServiceProviderServiceTypes; + /// + /// A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + /// + public readonly string State; + + [OutputConstructor] + private GetServiceProviderActionsServiceProviderActionSummaryCollectionItemResult( + string component, + + string customerDisplayName, + + string description, + + string id, + + string name, + + ImmutableArray properties, + + string resourceType, + + ImmutableArray serviceProviderServiceTypes, + + string state) + { + Component = component; + CustomerDisplayName = customerDisplayName; + Description = description; + Id = id; + Name = name; + Properties = properties; + ResourceType = resourceType; + ServiceProviderServiceTypes = serviceProviderServiceTypes; + State = state; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionResult.cs new file mode 100644 index 0000000000..a0c5f9eaf5 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetServiceProviderActionsServiceProviderActionSummaryCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetServiceProviderActionsServiceProviderActionSummaryCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProvidersFilterResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProvidersFilterResult.cs new file mode 100644 index 0000000000..ae1cbd2141 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProvidersFilterResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetServiceProvidersFilterResult + { + /// + /// A filter to return Service Provider resources that match the given name. + /// + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetServiceProvidersFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProvidersServiceProviderSummaryCollectionItemResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProvidersServiceProviderSummaryCollectionItemResult.cs new file mode 100644 index 0000000000..49157d41e7 --- /dev/null +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProvidersServiceProviderSummaryCollectionItemResult.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.DelegateAccessControl.Outputs +{ + + [OutputType] + public sealed class GetServiceProvidersServiceProviderSummaryCollectionItemResult + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + /// + public readonly string CompartmentId; + /// + /// 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 ImmutableDictionary DefinedTags; + /// + /// Description of the Service Provider. + /// + public readonly string Description; + /// + /// 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; + /// + /// Unique identifier for the Service Provider. + /// + public readonly string Id; + /// + /// Description of the current lifecycle state in more detail. + /// + public readonly string LifecycleStateDetails; + /// + /// A filter to return Service Provider resources that match the given name. + /// + public readonly string Name; + /// + /// A filter to return only Service Provider resources whose provider type matches the given provider type. + /// + public readonly string ServiceProviderType; + /// + /// Types of services offered by this provider. + /// + public readonly ImmutableArray ServiceTypes; + /// + /// A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + /// + public readonly string State; + /// + /// Resource types for which this provider will provide service. Default to all if not specified. + /// + public readonly ImmutableArray SupportedResourceTypes; + /// + /// 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; + /// + /// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeCreated; + /// + /// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetServiceProvidersServiceProviderSummaryCollectionItemResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string description, + + ImmutableDictionary freeformTags, + + string id, + + string lifecycleStateDetails, + + string name, + + string serviceProviderType, + + ImmutableArray serviceTypes, + + string state, + + ImmutableArray supportedResourceTypes, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + Description = description; + FreeformTags = freeformTags; + Id = id; + LifecycleStateDetails = lifecycleStateDetails; + Name = name; + ServiceProviderType = serviceProviderType; + ServiceTypes = serviceTypes; + State = state; + SupportedResourceTypes = supportedResourceTypes; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionResult.cs b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProvidersServiceProviderSummaryCollectionResult.cs similarity index 50% rename from sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionResult.cs rename to sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProvidersServiceProviderSummaryCollectionResult.cs index a9a8b54ef0..071f0df81d 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionResult.cs +++ b/sdk/dotnet/DelegateAccessControl/Outputs/GetServiceProvidersServiceProviderSummaryCollectionResult.cs @@ -7,16 +7,16 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Outputs +namespace Pulumi.Oci.DelegateAccessControl.Outputs { [OutputType] - public sealed class GetFsuCollectionsFsuCollectionSummaryCollectionResult + public sealed class GetServiceProvidersServiceProviderSummaryCollectionResult { - public readonly ImmutableArray Items; + public readonly ImmutableArray Items; [OutputConstructor] - private GetFsuCollectionsFsuCollectionSummaryCollectionResult(ImmutableArray items) + private GetServiceProvidersServiceProviderSummaryCollectionResult(ImmutableArray items) { Items = items; } diff --git a/sdk/dotnet/FleetSoftwareUpdate/README.md b/sdk/dotnet/DelegateAccessControl/README.md similarity index 100% rename from sdk/dotnet/FleetSoftwareUpdate/README.md rename to sdk/dotnet/DelegateAccessControl/README.md diff --git a/sdk/dotnet/Desktops/DesktopPool.cs b/sdk/dotnet/Desktops/DesktopPool.cs new file mode 100644 index 0000000000..75b5bdb457 --- /dev/null +++ b/sdk/dotnet/Desktops/DesktopPool.cs @@ -0,0 +1,622 @@ +// *** 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.Desktops +{ + /// + /// This resource provides the Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + /// + /// Creates a desktop pool with the given configuration parameters. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktopPool = new Oci.Desktops.DesktopPool("test_desktop_pool", new() + /// { + /// ArePrivilegedUsers = desktopPoolArePrivilegedUsers, + /// AvailabilityDomain = desktopPoolAvailabilityDomain, + /// AvailabilityPolicy = new Oci.Desktops.Inputs.DesktopPoolAvailabilityPolicyArgs + /// { + /// StartSchedule = new Oci.Desktops.Inputs.DesktopPoolAvailabilityPolicyStartScheduleArgs + /// { + /// CronExpression = "0 10 8 ? * 2", + /// Timezone = "America/Denver", + /// }, + /// StopSchedule = new Oci.Desktops.Inputs.DesktopPoolAvailabilityPolicyStopScheduleArgs + /// { + /// CronExpression = "0 20 18 ? * 6", + /// Timezone = "America/Denver", + /// }, + /// }, + /// CompartmentId = compartmentId, + /// ContactDetails = desktopPoolContactDetails, + /// DevicePolicy = new Oci.Desktops.Inputs.DesktopPoolDevicePolicyArgs + /// { + /// AudioMode = desktopPoolDevicePolicyAudioMode, + /// CdmMode = desktopPoolDevicePolicyCdmMode, + /// ClipboardMode = desktopPoolDevicePolicyClipboardMode, + /// IsDisplayEnabled = desktopPoolDevicePolicyIsDisplayEnabled, + /// IsKeyboardEnabled = desktopPoolDevicePolicyIsKeyboardEnabled, + /// IsPointerEnabled = desktopPoolDevicePolicyIsPointerEnabled, + /// IsPrintingEnabled = desktopPoolDevicePolicyIsPrintingEnabled, + /// }, + /// DisplayName = desktopPoolDisplayName, + /// Image = new Oci.Desktops.Inputs.DesktopPoolImageArgs + /// { + /// ImageId = testImage.Id, + /// ImageName = desktopPoolImageImageName, + /// }, + /// IsStorageEnabled = desktopPoolIsStorageEnabled, + /// MaximumSize = desktopPoolMaximumSize, + /// NetworkConfiguration = new Oci.Desktops.Inputs.DesktopPoolNetworkConfigurationArgs + /// { + /// SubnetId = testSubnet.Id, + /// VcnId = testVcn.Id, + /// }, + /// ShapeName = "VM.Standard.E4.Flex", + /// StandbySize = desktopPoolStandbySize, + /// StorageBackupPolicyId = "ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz", + /// StorageSizeInGbs = desktopPoolStorageSizeInGbs, + /// DefinedTags = + /// { + /// { "Operations.CostCenter", "42" }, + /// }, + /// Description = desktopPoolDescription, + /// FreeformTags = + /// { + /// { "Department", "Finance" }, + /// }, + /// NsgIds = desktopPoolNsgIds, + /// TimeStartScheduled = desktopPoolTimeStartScheduled, + /// TimeStopScheduled = desktopPoolTimeStopScheduled, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// DesktopPools can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:Desktops/desktopPool:DesktopPool test_desktop_pool "id" + /// ``` + /// + [OciResourceType("oci:Desktops/desktopPool:DesktopPool")] + public partial class DesktopPool : global::Pulumi.CustomResource + { + /// + /// The number of active desktops in the desktop pool. + /// + [Output("activeDesktops")] + public Output ActiveDesktops { get; private set; } = null!; + + /// + /// Indicates whether desktop pool users have administrative privileges on their desktop. + /// + [Output("arePrivilegedUsers")] + public Output ArePrivilegedUsers { get; private set; } = null!; + + /// + /// The availability domain of the desktop pool. + /// + [Output("availabilityDomain")] + public Output AvailabilityDomain { get; private set; } = null!; + + /// + /// (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + /// + [Output("availabilityPolicy")] + public Output AvailabilityPolicy { get; private set; } = null!; + + /// + /// (Updatable) The OCID of the compartment which will contain the desktop pool. + /// + [Output("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + /// + [Output("contactDetails")] + public Output ContactDetails { get; private set; } = null!; + + /// + /// (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"}` + /// + [Output("definedTags")] + public Output> DefinedTags { get; private set; } = null!; + + /// + /// (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + /// + [Output("devicePolicy")] + public Output DevicePolicy { get; private set; } = null!; + + /// + /// (Updatable) A user friendly display name. Avoid entering confidential information. + /// + [Output("displayName")] + public Output DisplayName { 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"}` + /// + [Output("freeformTags")] + public Output> FreeformTags { get; private set; } = null!; + + /// + /// Provides information about the desktop image. + /// + [Output("image")] + public Output Image { get; private set; } = null!; + + /// + /// Indicates whether storage is enabled for the desktop pool. + /// + [Output("isStorageEnabled")] + public Output IsStorageEnabled { get; private set; } = null!; + + /// + /// (Updatable) The maximum number of desktops permitted in the desktop pool. + /// + [Output("maximumSize")] + public Output MaximumSize { get; private set; } = null!; + + /// + /// Provides information about the network configuration of the desktop pool. + /// + [Output("networkConfiguration")] + public Output NetworkConfiguration { get; private set; } = null!; + + /// + /// A list of network security groups for the desktop pool. + /// + [Output("nsgIds")] + public Output> NsgIds { get; private set; } = null!; + + /// + /// The shape of the desktop pool. + /// + [Output("shapeName")] + public Output ShapeName { get; private set; } = null!; + + /// + /// (Updatable) The maximum number of standby desktops available in the desktop pool. + /// + [Output("standbySize")] + public Output StandbySize { get; private set; } = null!; + + /// + /// The current state of the desktop pool. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// The backup policy OCID of the storage. + /// + [Output("storageBackupPolicyId")] + public Output StorageBackupPolicyId { get; private set; } = null!; + + /// + /// The size in GBs of the storage for the desktop pool. + /// + [Output("storageSizeInGbs")] + public Output StorageSizeInGbs { get; private set; } = null!; + + /// + /// The date and time the resource was created. + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// (Updatable) The start time of the desktop pool. + /// + [Output("timeStartScheduled")] + public Output TimeStartScheduled { get; private set; } = null!; + + /// + /// (Updatable) The stop time of the desktop pool. + /// + /// + /// ** IMPORTANT ** + /// 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("timeStopScheduled")] + public Output TimeStopScheduled { get; private set; } = null!; + + + /// + /// Create a DesktopPool 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 DesktopPool(string name, DesktopPoolArgs args, CustomResourceOptions? options = null) + : base("oci:Desktops/desktopPool:DesktopPool", name, args ?? new DesktopPoolArgs(), MakeResourceOptions(options, "")) + { + } + + private DesktopPool(string name, Input id, DesktopPoolState? state = null, CustomResourceOptions? options = null) + : base("oci:Desktops/desktopPool:DesktopPool", 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 DesktopPool 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 DesktopPool Get(string name, Input id, DesktopPoolState? state = null, CustomResourceOptions? options = null) + { + return new DesktopPool(name, id, state, options); + } + } + + public sealed class DesktopPoolArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates whether desktop pool users have administrative privileges on their desktop. + /// + [Input("arePrivilegedUsers", required: true)] + public Input ArePrivilegedUsers { get; set; } = null!; + + /// + /// The availability domain of the desktop pool. + /// + [Input("availabilityDomain", required: true)] + public Input AvailabilityDomain { get; set; } = null!; + + /// + /// (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + /// + [Input("availabilityPolicy", required: true)] + public Input AvailabilityPolicy { get; set; } = null!; + + /// + /// (Updatable) The OCID of the compartment which will contain the desktop pool. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + /// + [Input("contactDetails", required: true)] + public Input ContactDetails { get; set; } = null!; + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (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 InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + /// + [Input("devicePolicy", required: true)] + public Input DevicePolicy { get; set; } = null!; + + /// + /// (Updatable) A user friendly display name. Avoid entering confidential information. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + [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. For more information, 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; + } + + /// + /// Provides information about the desktop image. + /// + [Input("image", required: true)] + public Input Image { get; set; } = null!; + + /// + /// Indicates whether storage is enabled for the desktop pool. + /// + [Input("isStorageEnabled", required: true)] + public Input IsStorageEnabled { get; set; } = null!; + + /// + /// (Updatable) The maximum number of desktops permitted in the desktop pool. + /// + [Input("maximumSize", required: true)] + public Input MaximumSize { get; set; } = null!; + + /// + /// Provides information about the network configuration of the desktop pool. + /// + [Input("networkConfiguration", required: true)] + public Input NetworkConfiguration { get; set; } = null!; + + [Input("nsgIds")] + private InputList? _nsgIds; + + /// + /// A list of network security groups for the desktop pool. + /// + public InputList NsgIds + { + get => _nsgIds ?? (_nsgIds = new InputList()); + set => _nsgIds = value; + } + + /// + /// The shape of the desktop pool. + /// + [Input("shapeName", required: true)] + public Input ShapeName { get; set; } = null!; + + /// + /// (Updatable) The maximum number of standby desktops available in the desktop pool. + /// + [Input("standbySize", required: true)] + public Input StandbySize { get; set; } = null!; + + /// + /// The backup policy OCID of the storage. + /// + [Input("storageBackupPolicyId", required: true)] + public Input StorageBackupPolicyId { get; set; } = null!; + + /// + /// The size in GBs of the storage for the desktop pool. + /// + [Input("storageSizeInGbs", required: true)] + public Input StorageSizeInGbs { get; set; } = null!; + + /// + /// (Updatable) The start time of the desktop pool. + /// + [Input("timeStartScheduled")] + public Input? TimeStartScheduled { get; set; } + + /// + /// (Updatable) The stop time of the desktop pool. + /// + /// + /// ** IMPORTANT ** + /// 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("timeStopScheduled")] + public Input? TimeStopScheduled { get; set; } + + public DesktopPoolArgs() + { + } + public static new DesktopPoolArgs Empty => new DesktopPoolArgs(); + } + + public sealed class DesktopPoolState : global::Pulumi.ResourceArgs + { + /// + /// The number of active desktops in the desktop pool. + /// + [Input("activeDesktops")] + public Input? ActiveDesktops { get; set; } + + /// + /// Indicates whether desktop pool users have administrative privileges on their desktop. + /// + [Input("arePrivilegedUsers")] + public Input? ArePrivilegedUsers { get; set; } + + /// + /// The availability domain of the desktop pool. + /// + [Input("availabilityDomain")] + public Input? AvailabilityDomain { get; set; } + + /// + /// (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + /// + [Input("availabilityPolicy")] + public Input? AvailabilityPolicy { get; set; } + + /// + /// (Updatable) The OCID of the compartment which will contain the desktop pool. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + /// + [Input("contactDetails")] + public Input? ContactDetails { get; set; } + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (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 InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + /// + [Input("devicePolicy")] + public Input? DevicePolicy { get; set; } + + /// + /// (Updatable) A user friendly display name. 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. For more information, 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; + } + + /// + /// Provides information about the desktop image. + /// + [Input("image")] + public Input? Image { get; set; } + + /// + /// Indicates whether storage is enabled for the desktop pool. + /// + [Input("isStorageEnabled")] + public Input? IsStorageEnabled { get; set; } + + /// + /// (Updatable) The maximum number of desktops permitted in the desktop pool. + /// + [Input("maximumSize")] + public Input? MaximumSize { get; set; } + + /// + /// Provides information about the network configuration of the desktop pool. + /// + [Input("networkConfiguration")] + public Input? NetworkConfiguration { get; set; } + + [Input("nsgIds")] + private InputList? _nsgIds; + + /// + /// A list of network security groups for the desktop pool. + /// + public InputList NsgIds + { + get => _nsgIds ?? (_nsgIds = new InputList()); + set => _nsgIds = value; + } + + /// + /// The shape of the desktop pool. + /// + [Input("shapeName")] + public Input? ShapeName { get; set; } + + /// + /// (Updatable) The maximum number of standby desktops available in the desktop pool. + /// + [Input("standbySize")] + public Input? StandbySize { get; set; } + + /// + /// The current state of the desktop pool. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// The backup policy OCID of the storage. + /// + [Input("storageBackupPolicyId")] + public Input? StorageBackupPolicyId { get; set; } + + /// + /// The size in GBs of the storage for the desktop pool. + /// + [Input("storageSizeInGbs")] + public Input? StorageSizeInGbs { get; set; } + + /// + /// The date and time the resource was created. + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// (Updatable) The start time of the desktop pool. + /// + [Input("timeStartScheduled")] + public Input? TimeStartScheduled { get; set; } + + /// + /// (Updatable) The stop time of the desktop pool. + /// + /// + /// ** IMPORTANT ** + /// 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("timeStopScheduled")] + public Input? TimeStopScheduled { get; set; } + + public DesktopPoolState() + { + } + public static new DesktopPoolState Empty => new DesktopPoolState(); + } +} diff --git a/sdk/dotnet/Desktops/GetDesktop.cs b/sdk/dotnet/Desktops/GetDesktop.cs new file mode 100644 index 0000000000..b8432df7aa --- /dev/null +++ b/sdk/dotnet/Desktops/GetDesktop.cs @@ -0,0 +1,179 @@ +// *** 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.Desktops +{ + public static class GetDesktop + { + /// + /// This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service. + /// + /// Provides information about the desktop with the specified OCID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktop = Oci.Desktops.GetDesktop.Invoke(new() + /// { + /// DesktopId = testDesktopOciDesktopsDesktop.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDesktopArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Desktops/getDesktop:getDesktop", args ?? new GetDesktopArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service. + /// + /// Provides information about the desktop with the specified OCID. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktop = Oci.Desktops.GetDesktop.Invoke(new() + /// { + /// DesktopId = testDesktopOciDesktopsDesktop.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDesktopInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Desktops/getDesktop:getDesktop", args ?? new GetDesktopInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDesktopArgs : global::Pulumi.InvokeArgs + { + /// + /// The OCID of the desktop. + /// + [Input("desktopId", required: true)] + public string DesktopId { get; set; } = null!; + + public GetDesktopArgs() + { + } + public static new GetDesktopArgs Empty => new GetDesktopArgs(); + } + + public sealed class GetDesktopInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The OCID of the desktop. + /// + [Input("desktopId", required: true)] + public Input DesktopId { get; set; } = null!; + + public GetDesktopInvokeArgs() + { + } + public static new GetDesktopInvokeArgs Empty => new GetDesktopInvokeArgs(); + } + + + [OutputType] + public sealed class GetDesktopResult + { + /// + /// 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 ImmutableDictionary DefinedTags; + public readonly string DesktopId; + /// + /// Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + /// + public readonly ImmutableArray DevicePolicies; + /// + /// A user friendly display name. Avoid entering confidential information. + /// + public readonly string 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"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// Provides information about where a desktop is hosted. + /// + public readonly ImmutableArray HostingOptions; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The OCID of the desktop pool the desktop is a member of. + /// + public readonly string PoolId; + /// + /// The state of the desktop. + /// + public readonly string State; + /// + /// The date and time the resource was created. + /// + public readonly string TimeCreated; + /// + /// The owner of the desktop. + /// + public readonly string UserName; + + [OutputConstructor] + private GetDesktopResult( + ImmutableDictionary definedTags, + + string desktopId, + + ImmutableArray devicePolicies, + + string displayName, + + ImmutableDictionary freeformTags, + + ImmutableArray hostingOptions, + + string id, + + string poolId, + + string state, + + string timeCreated, + + string userName) + { + DefinedTags = definedTags; + DesktopId = desktopId; + DevicePolicies = devicePolicies; + DisplayName = displayName; + FreeformTags = freeformTags; + HostingOptions = hostingOptions; + Id = id; + PoolId = poolId; + State = state; + TimeCreated = timeCreated; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/Desktops/GetDesktopPool.cs b/sdk/dotnet/Desktops/GetDesktopPool.cs new file mode 100644 index 0000000000..62001bc23e --- /dev/null +++ b/sdk/dotnet/Desktops/GetDesktopPool.cs @@ -0,0 +1,286 @@ +// *** 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.Desktops +{ + public static class GetDesktopPool + { + /// + /// This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + /// + /// Returns information about the desktop pool including all configuration parameters and the current state. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktopPool = Oci.Desktops.GetDesktopPool.Invoke(new() + /// { + /// DesktopPoolId = testDesktopPoolOciDesktopsDesktopPool.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDesktopPoolArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Desktops/getDesktopPool:getDesktopPool", args ?? new GetDesktopPoolArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + /// + /// Returns information about the desktop pool including all configuration parameters and the current state. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktopPool = Oci.Desktops.GetDesktopPool.Invoke(new() + /// { + /// DesktopPoolId = testDesktopPoolOciDesktopsDesktopPool.Id, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDesktopPoolInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Desktops/getDesktopPool:getDesktopPool", args ?? new GetDesktopPoolInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDesktopPoolArgs : global::Pulumi.InvokeArgs + { + /// + /// The OCID of the desktop pool. + /// + [Input("desktopPoolId", required: true)] + public string DesktopPoolId { get; set; } = null!; + + public GetDesktopPoolArgs() + { + } + public static new GetDesktopPoolArgs Empty => new GetDesktopPoolArgs(); + } + + public sealed class GetDesktopPoolInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The OCID of the desktop pool. + /// + [Input("desktopPoolId", required: true)] + public Input DesktopPoolId { get; set; } = null!; + + public GetDesktopPoolInvokeArgs() + { + } + public static new GetDesktopPoolInvokeArgs Empty => new GetDesktopPoolInvokeArgs(); + } + + + [OutputType] + public sealed class GetDesktopPoolResult + { + /// + /// The number of active desktops in the desktop pool. + /// + public readonly int ActiveDesktops; + /// + /// Indicates whether desktop pool users have administrative privileges on their desktop. + /// + public readonly bool ArePrivilegedUsers; + /// + /// The availability domain of the desktop pool. + /// + public readonly string AvailabilityDomain; + /// + /// Provides the start and stop schedule information for desktop availability of the desktop pool. + /// + public readonly ImmutableArray AvailabilityPolicies; + /// + /// The OCID of the compartment of the desktop pool. + /// + public readonly string CompartmentId; + /// + /// Contact information of the desktop pool administrator. Avoid entering confidential information. + /// + public readonly string ContactDetails; + /// + /// 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 ImmutableDictionary DefinedTags; + /// + /// A user friendly description providing additional information about the resource. Avoid entering confidential information. + /// + public readonly string Description; + public readonly string DesktopPoolId; + /// + /// Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + /// + public readonly ImmutableArray DevicePolicies; + /// + /// A user friendly display name. Avoid entering confidential information. + /// + public readonly string 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"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// The OCID of the desktop pool. + /// + public readonly string Id; + /// + /// Provides information about the desktop image. + /// + public readonly ImmutableArray Images; + /// + /// Indicates whether storage is enabled for the desktop pool. + /// + public readonly bool IsStorageEnabled; + /// + /// The maximum number of desktops permitted in the desktop pool. + /// + public readonly int MaximumSize; + /// + /// Provides information about the network configuration of the desktop pool. + /// + public readonly ImmutableArray NetworkConfigurations; + /// + /// A list of network security groups for the desktop pool. + /// + public readonly ImmutableArray NsgIds; + /// + /// The shape of the desktop pool. + /// + public readonly string ShapeName; + /// + /// The maximum number of standby desktops available in the desktop pool. + /// + public readonly int StandbySize; + /// + /// The current state of the desktop pool. + /// + public readonly string State; + /// + /// The backup policy OCID of the storage. + /// + public readonly string StorageBackupPolicyId; + /// + /// The size in GBs of the storage for the desktop pool. + /// + public readonly int StorageSizeInGbs; + /// + /// The date and time the resource was created. + /// + public readonly string TimeCreated; + /// + /// The start time of the desktop pool. + /// + public readonly string TimeStartScheduled; + /// + /// The stop time of the desktop pool. + /// + public readonly string TimeStopScheduled; + + [OutputConstructor] + private GetDesktopPoolResult( + int activeDesktops, + + bool arePrivilegedUsers, + + string availabilityDomain, + + ImmutableArray availabilityPolicies, + + string compartmentId, + + string contactDetails, + + ImmutableDictionary definedTags, + + string description, + + string desktopPoolId, + + ImmutableArray devicePolicies, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + ImmutableArray images, + + bool isStorageEnabled, + + int maximumSize, + + ImmutableArray networkConfigurations, + + ImmutableArray nsgIds, + + string shapeName, + + int standbySize, + + string state, + + string storageBackupPolicyId, + + int storageSizeInGbs, + + string timeCreated, + + string timeStartScheduled, + + string timeStopScheduled) + { + ActiveDesktops = activeDesktops; + ArePrivilegedUsers = arePrivilegedUsers; + AvailabilityDomain = availabilityDomain; + AvailabilityPolicies = availabilityPolicies; + CompartmentId = compartmentId; + ContactDetails = contactDetails; + DefinedTags = definedTags; + Description = description; + DesktopPoolId = desktopPoolId; + DevicePolicies = devicePolicies; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + Images = images; + IsStorageEnabled = isStorageEnabled; + MaximumSize = maximumSize; + NetworkConfigurations = networkConfigurations; + NsgIds = nsgIds; + ShapeName = shapeName; + StandbySize = standbySize; + State = state; + StorageBackupPolicyId = storageBackupPolicyId; + StorageSizeInGbs = storageSizeInGbs; + TimeCreated = timeCreated; + TimeStartScheduled = timeStartScheduled; + TimeStopScheduled = timeStopScheduled; + } + } +} diff --git a/sdk/dotnet/Desktops/GetDesktopPoolDesktops.cs b/sdk/dotnet/Desktops/GetDesktopPoolDesktops.cs new file mode 100644 index 0000000000..5f3660e5b3 --- /dev/null +++ b/sdk/dotnet/Desktops/GetDesktopPoolDesktops.cs @@ -0,0 +1,231 @@ +// *** 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.Desktops +{ + public static class GetDesktopPoolDesktops + { + /// + /// This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. + /// + /// Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktopPoolDesktops = Oci.Desktops.GetDesktopPoolDesktops.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DesktopPoolId = testDesktopPool.Id, + /// AvailabilityDomain = desktopPoolDesktopAvailabilityDomain, + /// DisplayName = desktopPoolDesktopDisplayName, + /// Id = desktopPoolDesktopId, + /// State = desktopPoolDesktopState, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDesktopPoolDesktopsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Desktops/getDesktopPoolDesktops:getDesktopPoolDesktops", args ?? new GetDesktopPoolDesktopsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. + /// + /// Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktopPoolDesktops = Oci.Desktops.GetDesktopPoolDesktops.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DesktopPoolId = testDesktopPool.Id, + /// AvailabilityDomain = desktopPoolDesktopAvailabilityDomain, + /// DisplayName = desktopPoolDesktopDisplayName, + /// Id = desktopPoolDesktopId, + /// State = desktopPoolDesktopState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDesktopPoolDesktopsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Desktops/getDesktopPoolDesktops:getDesktopPoolDesktops", args ?? new GetDesktopPoolDesktopsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDesktopPoolDesktopsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the availability domain. + /// + [Input("availabilityDomain")] + public string? AvailabilityDomain { get; set; } + + /// + /// The OCID of the compartment of the desktop pool. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + /// + /// The OCID of the desktop pool. + /// + [Input("desktopPoolId", required: true)] + public string DesktopPoolId { get; set; } = null!; + + /// + /// A filter to return only results with the given displayName. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return only results with the given OCID. + /// + [Input("id")] + public string? Id { get; set; } + + /// + /// A filter to return only results with the given lifecycleState. + /// + [Input("state")] + public string? State { get; set; } + + public GetDesktopPoolDesktopsArgs() + { + } + public static new GetDesktopPoolDesktopsArgs Empty => new GetDesktopPoolDesktopsArgs(); + } + + public sealed class GetDesktopPoolDesktopsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the availability domain. + /// + [Input("availabilityDomain")] + public Input? AvailabilityDomain { get; set; } + + /// + /// The OCID of the compartment of the desktop pool. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// The OCID of the desktop pool. + /// + [Input("desktopPoolId", required: true)] + public Input DesktopPoolId { get; set; } = null!; + + /// + /// A filter to return only results with the given displayName. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return only results with the given OCID. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// A filter to return only results with the given lifecycleState. + /// + [Input("state")] + public Input? State { get; set; } + + public GetDesktopPoolDesktopsInvokeArgs() + { + } + public static new GetDesktopPoolDesktopsInvokeArgs Empty => new GetDesktopPoolDesktopsInvokeArgs(); + } + + + [OutputType] + public sealed class GetDesktopPoolDesktopsResult + { + public readonly string? AvailabilityDomain; + public readonly string CompartmentId; + /// + /// The list of desktop_pool_desktop_collection. + /// + public readonly ImmutableArray DesktopPoolDesktopCollections; + public readonly string DesktopPoolId; + public readonly string? DisplayName; + public readonly ImmutableArray Filters; + public readonly string? Id; + /// + /// The state of the desktop. + /// + public readonly string? State; + + [OutputConstructor] + private GetDesktopPoolDesktopsResult( + string? availabilityDomain, + + string compartmentId, + + ImmutableArray desktopPoolDesktopCollections, + + string desktopPoolId, + + string? displayName, + + ImmutableArray filters, + + string? id, + + string? state) + { + AvailabilityDomain = availabilityDomain; + CompartmentId = compartmentId; + DesktopPoolDesktopCollections = desktopPoolDesktopCollections; + DesktopPoolId = desktopPoolId; + DisplayName = displayName; + Filters = filters; + Id = id; + State = state; + } + } +} diff --git a/sdk/dotnet/Desktops/GetDesktopPoolVolumes.cs b/sdk/dotnet/Desktops/GetDesktopPoolVolumes.cs new file mode 100644 index 0000000000..c6f6e5986f --- /dev/null +++ b/sdk/dotnet/Desktops/GetDesktopPoolVolumes.cs @@ -0,0 +1,237 @@ +// *** 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.Desktops +{ + public static class GetDesktopPoolVolumes + { + /// + /// This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. + /// + /// Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktopPoolVolumes = Oci.Desktops.GetDesktopPoolVolumes.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DesktopPoolId = testDesktopPool.Id, + /// AvailabilityDomain = desktopPoolVolumeAvailabilityDomain, + /// DisplayName = desktopPoolVolumeDisplayName, + /// Id = desktopPoolVolumeId, + /// State = desktopPoolVolumeState, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDesktopPoolVolumesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Desktops/getDesktopPoolVolumes:getDesktopPoolVolumes", args ?? new GetDesktopPoolVolumesArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. + /// + /// Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktopPoolVolumes = Oci.Desktops.GetDesktopPoolVolumes.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// DesktopPoolId = testDesktopPool.Id, + /// AvailabilityDomain = desktopPoolVolumeAvailabilityDomain, + /// DisplayName = desktopPoolVolumeDisplayName, + /// Id = desktopPoolVolumeId, + /// State = desktopPoolVolumeState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDesktopPoolVolumesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Desktops/getDesktopPoolVolumes:getDesktopPoolVolumes", args ?? new GetDesktopPoolVolumesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDesktopPoolVolumesArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the availability domain. + /// + [Input("availabilityDomain")] + public string? AvailabilityDomain { get; set; } + + /// + /// The OCID of the compartment of the desktop pool. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + /// + /// The OCID of the desktop pool. + /// + [Input("desktopPoolId", required: true)] + public string DesktopPoolId { get; set; } = null!; + + /// + /// A filter to return only results with the given displayName. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return only results with the given OCID. + /// + [Input("id")] + public string? Id { get; set; } + + /// + /// A filter to return only results with the given lifecycleState. + /// + [Input("state")] + public string? State { get; set; } + + public GetDesktopPoolVolumesArgs() + { + } + public static new GetDesktopPoolVolumesArgs Empty => new GetDesktopPoolVolumesArgs(); + } + + public sealed class GetDesktopPoolVolumesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the availability domain. + /// + [Input("availabilityDomain")] + public Input? AvailabilityDomain { get; set; } + + /// + /// The OCID of the compartment of the desktop pool. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// The OCID of the desktop pool. + /// + [Input("desktopPoolId", required: true)] + public Input DesktopPoolId { get; set; } = null!; + + /// + /// A filter to return only results with the given displayName. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return only results with the given OCID. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// A filter to return only results with the given lifecycleState. + /// + [Input("state")] + public Input? State { get; set; } + + public GetDesktopPoolVolumesInvokeArgs() + { + } + public static new GetDesktopPoolVolumesInvokeArgs Empty => new GetDesktopPoolVolumesInvokeArgs(); + } + + + [OutputType] + public sealed class GetDesktopPoolVolumesResult + { + /// + /// The availability domain of the desktop pool. + /// + public readonly string? AvailabilityDomain; + public readonly string CompartmentId; + public readonly string DesktopPoolId; + /// + /// The list of desktop_pool_volume_collection. + /// + public readonly ImmutableArray DesktopPoolVolumeCollections; + public readonly string? DisplayName; + public readonly ImmutableArray Filters; + /// + /// The OCID of the desktop pool volume. + /// + public readonly string? Id; + /// + /// The state of the desktop pool volume. + /// + public readonly string? State; + + [OutputConstructor] + private GetDesktopPoolVolumesResult( + string? availabilityDomain, + + string compartmentId, + + string desktopPoolId, + + ImmutableArray desktopPoolVolumeCollections, + + string? displayName, + + ImmutableArray filters, + + string? id, + + string? state) + { + AvailabilityDomain = availabilityDomain; + CompartmentId = compartmentId; + DesktopPoolId = desktopPoolId; + DesktopPoolVolumeCollections = desktopPoolVolumeCollections; + DisplayName = displayName; + Filters = filters; + Id = id; + State = state; + } + } +} diff --git a/sdk/dotnet/Desktops/GetDesktopPools.cs b/sdk/dotnet/Desktops/GetDesktopPools.cs new file mode 100644 index 0000000000..89374b7680 --- /dev/null +++ b/sdk/dotnet/Desktops/GetDesktopPools.cs @@ -0,0 +1,225 @@ +// *** 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.Desktops +{ + public static class GetDesktopPools + { + /// + /// This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service. + /// + /// Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktopPools = Oci.Desktops.GetDesktopPools.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// AvailabilityDomain = desktopPoolAvailabilityDomain, + /// DisplayName = desktopPoolDisplayName, + /// Id = desktopPoolId, + /// State = desktopPoolState, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDesktopPoolsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Desktops/getDesktopPools:getDesktopPools", args ?? new GetDesktopPoolsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service. + /// + /// Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + /// + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktopPools = Oci.Desktops.GetDesktopPools.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// AvailabilityDomain = desktopPoolAvailabilityDomain, + /// DisplayName = desktopPoolDisplayName, + /// Id = desktopPoolId, + /// State = desktopPoolState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDesktopPoolsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Desktops/getDesktopPools:getDesktopPools", args ?? new GetDesktopPoolsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDesktopPoolsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the availability domain. + /// + [Input("availabilityDomain")] + public string? AvailabilityDomain { get; set; } + + /// + /// The OCID of the compartment of the desktop pool. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + /// + /// A filter to return only results with the given displayName. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return only results with the given OCID. + /// + [Input("id")] + public string? Id { get; set; } + + /// + /// A filter to return only results with the given lifecycleState. + /// + [Input("state")] + public string? State { get; set; } + + public GetDesktopPoolsArgs() + { + } + public static new GetDesktopPoolsArgs Empty => new GetDesktopPoolsArgs(); + } + + public sealed class GetDesktopPoolsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the availability domain. + /// + [Input("availabilityDomain")] + public Input? AvailabilityDomain { get; set; } + + /// + /// The OCID of the compartment of the desktop pool. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// A filter to return only results with the given displayName. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return only results with the given OCID. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// A filter to return only results with the given lifecycleState. + /// + [Input("state")] + public Input? State { get; set; } + + public GetDesktopPoolsInvokeArgs() + { + } + public static new GetDesktopPoolsInvokeArgs Empty => new GetDesktopPoolsInvokeArgs(); + } + + + [OutputType] + public sealed class GetDesktopPoolsResult + { + /// + /// The availability domain of the desktop pool. + /// + public readonly string? AvailabilityDomain; + /// + /// The OCID of the compartment of the desktop pool. + /// + public readonly string CompartmentId; + /// + /// The list of desktop_pool_collection. + /// + public readonly ImmutableArray DesktopPoolCollections; + /// + /// A user friendly display name. Avoid entering confidential information. + /// + public readonly string? DisplayName; + public readonly ImmutableArray Filters; + /// + /// The OCID of the desktop pool. + /// + public readonly string? Id; + /// + /// The current state of the desktop pool. + /// + public readonly string? State; + + [OutputConstructor] + private GetDesktopPoolsResult( + string? availabilityDomain, + + string compartmentId, + + ImmutableArray desktopPoolCollections, + + string? displayName, + + ImmutableArray filters, + + string? id, + + string? state) + { + AvailabilityDomain = availabilityDomain; + CompartmentId = compartmentId; + DesktopPoolCollections = desktopPoolCollections; + DisplayName = displayName; + Filters = filters; + Id = id; + State = state; + } + } +} diff --git a/sdk/dotnet/Desktops/GetDesktops.cs b/sdk/dotnet/Desktops/GetDesktops.cs new file mode 100644 index 0000000000..0acca57e9d --- /dev/null +++ b/sdk/dotnet/Desktops/GetDesktops.cs @@ -0,0 +1,235 @@ +// *** 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.Desktops +{ + public static class GetDesktops + { + /// + /// This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. + /// + /// Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktops = Oci.Desktops.GetDesktops.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// AvailabilityDomain = desktopAvailabilityDomain, + /// DesktopPoolId = testDesktopPool.Id, + /// DisplayName = desktopDisplayName, + /// Id = desktopId, + /// State = desktopState, + /// }); + /// + /// }); + /// ``` + /// + public static Task InvokeAsync(GetDesktopsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Desktops/getDesktops:getDesktops", args ?? new GetDesktopsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. + /// + /// Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDesktops = Oci.Desktops.GetDesktops.Invoke(new() + /// { + /// CompartmentId = compartmentId, + /// AvailabilityDomain = desktopAvailabilityDomain, + /// DesktopPoolId = testDesktopPool.Id, + /// DisplayName = desktopDisplayName, + /// Id = desktopId, + /// State = desktopState, + /// }); + /// + /// }); + /// ``` + /// + public static Output Invoke(GetDesktopsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Desktops/getDesktops:getDesktops", args ?? new GetDesktopsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDesktopsArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the availability domain. + /// + [Input("availabilityDomain")] + public string? AvailabilityDomain { get; set; } + + /// + /// The OCID of the compartment of the desktop pool. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + /// + /// The OCID of the desktop pool. + /// + [Input("desktopPoolId")] + public string? DesktopPoolId { get; set; } + + /// + /// A filter to return only results with the given displayName. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return only results with the given OCID. + /// + [Input("id")] + public string? Id { get; set; } + + /// + /// A filter to return only results with the given lifecycleState. + /// + [Input("state")] + public string? State { get; set; } + + public GetDesktopsArgs() + { + } + public static new GetDesktopsArgs Empty => new GetDesktopsArgs(); + } + + public sealed class GetDesktopsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The name of the availability domain. + /// + [Input("availabilityDomain")] + public Input? AvailabilityDomain { get; set; } + + /// + /// The OCID of the compartment of the desktop pool. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// The OCID of the desktop pool. + /// + [Input("desktopPoolId")] + public Input? DesktopPoolId { get; set; } + + /// + /// A filter to return only results with the given displayName. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return only results with the given OCID. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// A filter to return only results with the given lifecycleState. + /// + [Input("state")] + public Input? State { get; set; } + + public GetDesktopsInvokeArgs() + { + } + public static new GetDesktopsInvokeArgs Empty => new GetDesktopsInvokeArgs(); + } + + + [OutputType] + public sealed class GetDesktopsResult + { + public readonly string? AvailabilityDomain; + public readonly string CompartmentId; + /// + /// The list of desktop_collection. + /// + public readonly ImmutableArray DesktopCollections; + public readonly string? DesktopPoolId; + /// + /// A user friendly display name. Avoid entering confidential information. + /// + public readonly string? DisplayName; + public readonly ImmutableArray Filters; + /// + /// The OCID of the desktop. + /// + public readonly string? Id; + /// + /// The state of the desktop. + /// + public readonly string? State; + + [OutputConstructor] + private GetDesktopsResult( + string? availabilityDomain, + + string compartmentId, + + ImmutableArray desktopCollections, + + string? desktopPoolId, + + string? displayName, + + ImmutableArray filters, + + string? id, + + string? state) + { + AvailabilityDomain = availabilityDomain; + CompartmentId = compartmentId; + DesktopCollections = desktopCollections; + DesktopPoolId = desktopPoolId; + DisplayName = displayName; + Filters = filters; + Id = id; + State = state; + } + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyArgs.cs new file mode 100644 index 0000000000..32f3e0bb6b --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyArgs.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.Desktops.Inputs +{ + + public sealed class DesktopPoolAvailabilityPolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) Provides the schedule information for a desktop. + /// + [Input("startSchedule", required: true)] + public Input StartSchedule { get; set; } = null!; + + /// + /// (Updatable) Provides the schedule information for a desktop. + /// + [Input("stopSchedule", required: true)] + public Input StopSchedule { get; set; } = null!; + + public DesktopPoolAvailabilityPolicyArgs() + { + } + public static new DesktopPoolAvailabilityPolicyArgs Empty => new DesktopPoolAvailabilityPolicyArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyGetArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyGetArgs.cs new file mode 100644 index 0000000000..3df76d48e7 --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyGetArgs.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.Desktops.Inputs +{ + + public sealed class DesktopPoolAvailabilityPolicyGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) Provides the schedule information for a desktop. + /// + [Input("startSchedule", required: true)] + public Input StartSchedule { get; set; } = null!; + + /// + /// (Updatable) Provides the schedule information for a desktop. + /// + [Input("stopSchedule", required: true)] + public Input StopSchedule { get; set; } = null!; + + public DesktopPoolAvailabilityPolicyGetArgs() + { + } + public static new DesktopPoolAvailabilityPolicyGetArgs Empty => new DesktopPoolAvailabilityPolicyGetArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStartScheduleArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStartScheduleArgs.cs new file mode 100644 index 0000000000..f1cdc84fd2 --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStartScheduleArgs.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.Desktops.Inputs +{ + + public sealed class DesktopPoolAvailabilityPolicyStartScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) A cron expression describing the desktop's schedule. + /// + [Input("cronExpression", required: true)] + public Input CronExpression { get; set; } = null!; + + /// + /// (Updatable) The timezone of the desktop's schedule. + /// + [Input("timezone", required: true)] + public Input Timezone { get; set; } = null!; + + public DesktopPoolAvailabilityPolicyStartScheduleArgs() + { + } + public static new DesktopPoolAvailabilityPolicyStartScheduleArgs Empty => new DesktopPoolAvailabilityPolicyStartScheduleArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStartScheduleGetArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStartScheduleGetArgs.cs new file mode 100644 index 0000000000..0e97d28b22 --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStartScheduleGetArgs.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.Desktops.Inputs +{ + + public sealed class DesktopPoolAvailabilityPolicyStartScheduleGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) A cron expression describing the desktop's schedule. + /// + [Input("cronExpression", required: true)] + public Input CronExpression { get; set; } = null!; + + /// + /// (Updatable) The timezone of the desktop's schedule. + /// + [Input("timezone", required: true)] + public Input Timezone { get; set; } = null!; + + public DesktopPoolAvailabilityPolicyStartScheduleGetArgs() + { + } + public static new DesktopPoolAvailabilityPolicyStartScheduleGetArgs Empty => new DesktopPoolAvailabilityPolicyStartScheduleGetArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStopScheduleArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStopScheduleArgs.cs new file mode 100644 index 0000000000..2b055bf88f --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStopScheduleArgs.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.Desktops.Inputs +{ + + public sealed class DesktopPoolAvailabilityPolicyStopScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) A cron expression describing the desktop's schedule. + /// + [Input("cronExpression", required: true)] + public Input CronExpression { get; set; } = null!; + + /// + /// (Updatable) The timezone of the desktop's schedule. + /// + [Input("timezone", required: true)] + public Input Timezone { get; set; } = null!; + + public DesktopPoolAvailabilityPolicyStopScheduleArgs() + { + } + public static new DesktopPoolAvailabilityPolicyStopScheduleArgs Empty => new DesktopPoolAvailabilityPolicyStopScheduleArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStopScheduleGetArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStopScheduleGetArgs.cs new file mode 100644 index 0000000000..1ec6adb170 --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolAvailabilityPolicyStopScheduleGetArgs.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.Desktops.Inputs +{ + + public sealed class DesktopPoolAvailabilityPolicyStopScheduleGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) A cron expression describing the desktop's schedule. + /// + [Input("cronExpression", required: true)] + public Input CronExpression { get; set; } = null!; + + /// + /// (Updatable) The timezone of the desktop's schedule. + /// + [Input("timezone", required: true)] + public Input Timezone { get; set; } = null!; + + public DesktopPoolAvailabilityPolicyStopScheduleGetArgs() + { + } + public static new DesktopPoolAvailabilityPolicyStopScheduleGetArgs Empty => new DesktopPoolAvailabilityPolicyStopScheduleGetArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolDevicePolicyArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolDevicePolicyArgs.cs new file mode 100644 index 0000000000..934165f311 --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolDevicePolicyArgs.cs @@ -0,0 +1,62 @@ +// *** 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.Desktops.Inputs +{ + + public sealed class DesktopPoolDevicePolicyArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + /// + [Input("audioMode", required: true)] + public Input AudioMode { get; set; } = null!; + + /// + /// (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + /// + [Input("cdmMode", required: true)] + public Input CdmMode { get; set; } = null!; + + /// + /// (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + /// + [Input("clipboardMode", required: true)] + public Input ClipboardMode { get; set; } = null!; + + /// + /// (Updatable) Indicates whether the display is enabled. + /// + [Input("isDisplayEnabled", required: true)] + public Input IsDisplayEnabled { get; set; } = null!; + + /// + /// (Updatable) Indicates whether the keyboard is enabled. + /// + [Input("isKeyboardEnabled", required: true)] + public Input IsKeyboardEnabled { get; set; } = null!; + + /// + /// (Updatable) Indicates whether the pointer is enabled. + /// + [Input("isPointerEnabled", required: true)] + public Input IsPointerEnabled { get; set; } = null!; + + /// + /// (Updatable) Indicates whether printing is enabled. + /// + [Input("isPrintingEnabled", required: true)] + public Input IsPrintingEnabled { get; set; } = null!; + + public DesktopPoolDevicePolicyArgs() + { + } + public static new DesktopPoolDevicePolicyArgs Empty => new DesktopPoolDevicePolicyArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolDevicePolicyGetArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolDevicePolicyGetArgs.cs new file mode 100644 index 0000000000..06b9d688f9 --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolDevicePolicyGetArgs.cs @@ -0,0 +1,62 @@ +// *** 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.Desktops.Inputs +{ + + public sealed class DesktopPoolDevicePolicyGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + /// + [Input("audioMode", required: true)] + public Input AudioMode { get; set; } = null!; + + /// + /// (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + /// + [Input("cdmMode", required: true)] + public Input CdmMode { get; set; } = null!; + + /// + /// (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + /// + [Input("clipboardMode", required: true)] + public Input ClipboardMode { get; set; } = null!; + + /// + /// (Updatable) Indicates whether the display is enabled. + /// + [Input("isDisplayEnabled", required: true)] + public Input IsDisplayEnabled { get; set; } = null!; + + /// + /// (Updatable) Indicates whether the keyboard is enabled. + /// + [Input("isKeyboardEnabled", required: true)] + public Input IsKeyboardEnabled { get; set; } = null!; + + /// + /// (Updatable) Indicates whether the pointer is enabled. + /// + [Input("isPointerEnabled", required: true)] + public Input IsPointerEnabled { get; set; } = null!; + + /// + /// (Updatable) Indicates whether printing is enabled. + /// + [Input("isPrintingEnabled", required: true)] + public Input IsPrintingEnabled { get; set; } = null!; + + public DesktopPoolDevicePolicyGetArgs() + { + } + public static new DesktopPoolDevicePolicyGetArgs Empty => new DesktopPoolDevicePolicyGetArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolImageArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolImageArgs.cs new file mode 100644 index 0000000000..2c1064c71e --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolImageArgs.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.Desktops.Inputs +{ + + public sealed class DesktopPoolImageArgs : global::Pulumi.ResourceArgs + { + /// + /// The OCID of the desktop image. + /// + [Input("imageId", required: true)] + public Input ImageId { get; set; } = null!; + + /// + /// The name of the desktop image. + /// + [Input("imageName", required: true)] + public Input ImageName { get; set; } = null!; + + public DesktopPoolImageArgs() + { + } + public static new DesktopPoolImageArgs Empty => new DesktopPoolImageArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolImageGetArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolImageGetArgs.cs new file mode 100644 index 0000000000..b252414f31 --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolImageGetArgs.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.Desktops.Inputs +{ + + public sealed class DesktopPoolImageGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The OCID of the desktop image. + /// + [Input("imageId", required: true)] + public Input ImageId { get; set; } = null!; + + /// + /// The name of the desktop image. + /// + [Input("imageName", required: true)] + public Input ImageName { get; set; } = null!; + + public DesktopPoolImageGetArgs() + { + } + public static new DesktopPoolImageGetArgs Empty => new DesktopPoolImageGetArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolNetworkConfigurationArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolNetworkConfigurationArgs.cs new file mode 100644 index 0000000000..fee3040efe --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolNetworkConfigurationArgs.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.Desktops.Inputs +{ + + public sealed class DesktopPoolNetworkConfigurationArgs : global::Pulumi.ResourceArgs + { + /// + /// The OCID of the subnet to use for the desktop pool. + /// + [Input("subnetId", required: true)] + public Input SubnetId { get; set; } = null!; + + /// + /// The OCID of the VCN used by the desktop pool. + /// + [Input("vcnId", required: true)] + public Input VcnId { get; set; } = null!; + + public DesktopPoolNetworkConfigurationArgs() + { + } + public static new DesktopPoolNetworkConfigurationArgs Empty => new DesktopPoolNetworkConfigurationArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/DesktopPoolNetworkConfigurationGetArgs.cs b/sdk/dotnet/Desktops/Inputs/DesktopPoolNetworkConfigurationGetArgs.cs new file mode 100644 index 0000000000..77a3c70f77 --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/DesktopPoolNetworkConfigurationGetArgs.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.Desktops.Inputs +{ + + public sealed class DesktopPoolNetworkConfigurationGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The OCID of the subnet to use for the desktop pool. + /// + [Input("subnetId", required: true)] + public Input SubnetId { get; set; } = null!; + + /// + /// The OCID of the VCN used by the desktop pool. + /// + [Input("vcnId", required: true)] + public Input VcnId { get; set; } = null!; + + public DesktopPoolNetworkConfigurationGetArgs() + { + } + public static new DesktopPoolNetworkConfigurationGetArgs Empty => new DesktopPoolNetworkConfigurationGetArgs(); + } +} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/GetPrivateEndpointsFilter.cs b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolDesktopsFilter.cs similarity index 72% rename from sdk/dotnet/GloballyDistributedDatabase/Inputs/GetPrivateEndpointsFilter.cs rename to sdk/dotnet/Desktops/Inputs/GetDesktopPoolDesktopsFilter.cs index ae26100455..e044ff9699 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/GetPrivateEndpointsFilter.cs +++ b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolDesktopsFilter.cs @@ -7,10 +7,10 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Inputs +namespace Pulumi.Oci.Desktops.Inputs { - public sealed class GetPrivateEndpointsFilterArgs : global::Pulumi.InvokeArgs + public sealed class GetDesktopPoolDesktopsFilterArgs : global::Pulumi.InvokeArgs { [Input("name", required: true)] public string Name { get; set; } = null!; @@ -26,9 +26,9 @@ public List Values set => _values = value; } - public GetPrivateEndpointsFilterArgs() + public GetDesktopPoolDesktopsFilterArgs() { } - public static new GetPrivateEndpointsFilterArgs Empty => new GetPrivateEndpointsFilterArgs(); + public static new GetDesktopPoolDesktopsFilterArgs Empty => new GetDesktopPoolDesktopsFilterArgs(); } } diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/GetPrivateEndpointsFilterArgs.cs b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolDesktopsFilterArgs.cs similarity index 71% rename from sdk/dotnet/GloballyDistributedDatabase/Inputs/GetPrivateEndpointsFilterArgs.cs rename to sdk/dotnet/Desktops/Inputs/GetDesktopPoolDesktopsFilterArgs.cs index 4feaa2063f..d4f47d482b 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/GetPrivateEndpointsFilterArgs.cs +++ b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolDesktopsFilterArgs.cs @@ -7,10 +7,10 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Inputs +namespace Pulumi.Oci.Desktops.Inputs { - public sealed class GetPrivateEndpointsFilterInputArgs : global::Pulumi.ResourceArgs + public sealed class GetDesktopPoolDesktopsFilterInputArgs : global::Pulumi.ResourceArgs { [Input("name", required: true)] public Input Name { get; set; } = null!; @@ -26,9 +26,9 @@ public InputList Values set => _values = value; } - public GetPrivateEndpointsFilterInputArgs() + public GetDesktopPoolDesktopsFilterInputArgs() { } - public static new GetPrivateEndpointsFilterInputArgs Empty => new GetPrivateEndpointsFilterInputArgs(); + public static new GetDesktopPoolDesktopsFilterInputArgs Empty => new GetDesktopPoolDesktopsFilterInputArgs(); } } diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/GetShardedDatabasesFilter.cs b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolVolumesFilter.cs similarity index 70% rename from sdk/dotnet/GloballyDistributedDatabase/Inputs/GetShardedDatabasesFilter.cs rename to sdk/dotnet/Desktops/Inputs/GetDesktopPoolVolumesFilter.cs index a91d22ec30..f0147c2a6c 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/GetShardedDatabasesFilter.cs +++ b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolVolumesFilter.cs @@ -7,13 +7,13 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Inputs +namespace Pulumi.Oci.Desktops.Inputs { - public sealed class GetShardedDatabasesFilterArgs : global::Pulumi.InvokeArgs + public sealed class GetDesktopPoolVolumesFilterArgs : global::Pulumi.InvokeArgs { /// - /// Name of the shard. + /// The name of the desktop pool volume. /// [Input("name", required: true)] public string Name { get; set; } = null!; @@ -29,9 +29,9 @@ public List Values set => _values = value; } - public GetShardedDatabasesFilterArgs() + public GetDesktopPoolVolumesFilterArgs() { } - public static new GetShardedDatabasesFilterArgs Empty => new GetShardedDatabasesFilterArgs(); + public static new GetDesktopPoolVolumesFilterArgs Empty => new GetDesktopPoolVolumesFilterArgs(); } } diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/GetShardedDatabasesFilterArgs.cs b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolVolumesFilterArgs.cs similarity index 70% rename from sdk/dotnet/GloballyDistributedDatabase/Inputs/GetShardedDatabasesFilterArgs.cs rename to sdk/dotnet/Desktops/Inputs/GetDesktopPoolVolumesFilterArgs.cs index 0880e501e9..bb617345e3 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/GetShardedDatabasesFilterArgs.cs +++ b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolVolumesFilterArgs.cs @@ -7,13 +7,13 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Inputs +namespace Pulumi.Oci.Desktops.Inputs { - public sealed class GetShardedDatabasesFilterInputArgs : global::Pulumi.ResourceArgs + public sealed class GetDesktopPoolVolumesFilterInputArgs : global::Pulumi.ResourceArgs { /// - /// Name of the shard. + /// The name of the desktop pool volume. /// [Input("name", required: true)] public Input Name { get; set; } = null!; @@ -29,9 +29,9 @@ public InputList Values set => _values = value; } - public GetShardedDatabasesFilterInputArgs() + public GetDesktopPoolVolumesFilterInputArgs() { } - public static new GetShardedDatabasesFilterInputArgs Empty => new GetShardedDatabasesFilterInputArgs(); + public static new GetDesktopPoolVolumesFilterInputArgs Empty => new GetDesktopPoolVolumesFilterInputArgs(); } } diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCollectionsFilter.cs b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolsFilter.cs similarity index 73% rename from sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCollectionsFilter.cs rename to sdk/dotnet/Desktops/Inputs/GetDesktopPoolsFilter.cs index 30438201e4..baabe8513d 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCollectionsFilter.cs +++ b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolsFilter.cs @@ -7,10 +7,10 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Inputs +namespace Pulumi.Oci.Desktops.Inputs { - public sealed class GetFsuCollectionsFilterArgs : global::Pulumi.InvokeArgs + public sealed class GetDesktopPoolsFilterArgs : global::Pulumi.InvokeArgs { [Input("name", required: true)] public string Name { get; set; } = null!; @@ -26,9 +26,9 @@ public List Values set => _values = value; } - public GetFsuCollectionsFilterArgs() + public GetDesktopPoolsFilterArgs() { } - public static new GetFsuCollectionsFilterArgs Empty => new GetFsuCollectionsFilterArgs(); + public static new GetDesktopPoolsFilterArgs Empty => new GetDesktopPoolsFilterArgs(); } } diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCollectionsFilterArgs.cs b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolsFilterArgs.cs similarity index 72% rename from sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCollectionsFilterArgs.cs rename to sdk/dotnet/Desktops/Inputs/GetDesktopPoolsFilterArgs.cs index 628321aca8..8407193cb5 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/GetFsuCollectionsFilterArgs.cs +++ b/sdk/dotnet/Desktops/Inputs/GetDesktopPoolsFilterArgs.cs @@ -7,10 +7,10 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Inputs +namespace Pulumi.Oci.Desktops.Inputs { - public sealed class GetFsuCollectionsFilterInputArgs : global::Pulumi.ResourceArgs + public sealed class GetDesktopPoolsFilterInputArgs : global::Pulumi.ResourceArgs { [Input("name", required: true)] public Input Name { get; set; } = null!; @@ -26,9 +26,9 @@ public InputList Values set => _values = value; } - public GetFsuCollectionsFilterInputArgs() + public GetDesktopPoolsFilterInputArgs() { } - public static new GetFsuCollectionsFilterInputArgs Empty => new GetFsuCollectionsFilterInputArgs(); + public static new GetDesktopPoolsFilterInputArgs Empty => new GetDesktopPoolsFilterInputArgs(); } } diff --git a/sdk/dotnet/Desktops/Inputs/GetDesktopsFilter.cs b/sdk/dotnet/Desktops/Inputs/GetDesktopsFilter.cs new file mode 100644 index 0000000000..78c591c717 --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/GetDesktopsFilter.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.Desktops.Inputs +{ + + public sealed class GetDesktopsFilterArgs : 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 GetDesktopsFilterArgs() + { + } + public static new GetDesktopsFilterArgs Empty => new GetDesktopsFilterArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Inputs/GetDesktopsFilterArgs.cs b/sdk/dotnet/Desktops/Inputs/GetDesktopsFilterArgs.cs new file mode 100644 index 0000000000..e6e74a2fc1 --- /dev/null +++ b/sdk/dotnet/Desktops/Inputs/GetDesktopsFilterArgs.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.Desktops.Inputs +{ + + public sealed class GetDesktopsFilterInputArgs : 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 GetDesktopsFilterInputArgs() + { + } + public static new GetDesktopsFilterInputArgs Empty => new GetDesktopsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Desktops/Outputs/DesktopPoolAvailabilityPolicy.cs b/sdk/dotnet/Desktops/Outputs/DesktopPoolAvailabilityPolicy.cs new file mode 100644 index 0000000000..419b1ea334 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/DesktopPoolAvailabilityPolicy.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.Desktops.Outputs +{ + + [OutputType] + public sealed class DesktopPoolAvailabilityPolicy + { + /// + /// (Updatable) Provides the schedule information for a desktop. + /// + public readonly Outputs.DesktopPoolAvailabilityPolicyStartSchedule StartSchedule; + /// + /// (Updatable) Provides the schedule information for a desktop. + /// + public readonly Outputs.DesktopPoolAvailabilityPolicyStopSchedule StopSchedule; + + [OutputConstructor] + private DesktopPoolAvailabilityPolicy( + Outputs.DesktopPoolAvailabilityPolicyStartSchedule startSchedule, + + Outputs.DesktopPoolAvailabilityPolicyStopSchedule stopSchedule) + { + StartSchedule = startSchedule; + StopSchedule = stopSchedule; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/DesktopPoolAvailabilityPolicyStartSchedule.cs b/sdk/dotnet/Desktops/Outputs/DesktopPoolAvailabilityPolicyStartSchedule.cs new file mode 100644 index 0000000000..d63ea176c2 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/DesktopPoolAvailabilityPolicyStartSchedule.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.Desktops.Outputs +{ + + [OutputType] + public sealed class DesktopPoolAvailabilityPolicyStartSchedule + { + /// + /// (Updatable) A cron expression describing the desktop's schedule. + /// + public readonly string CronExpression; + /// + /// (Updatable) The timezone of the desktop's schedule. + /// + public readonly string Timezone; + + [OutputConstructor] + private DesktopPoolAvailabilityPolicyStartSchedule( + string cronExpression, + + string timezone) + { + CronExpression = cronExpression; + Timezone = timezone; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/DesktopPoolAvailabilityPolicyStopSchedule.cs b/sdk/dotnet/Desktops/Outputs/DesktopPoolAvailabilityPolicyStopSchedule.cs new file mode 100644 index 0000000000..36195e680a --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/DesktopPoolAvailabilityPolicyStopSchedule.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.Desktops.Outputs +{ + + [OutputType] + public sealed class DesktopPoolAvailabilityPolicyStopSchedule + { + /// + /// (Updatable) A cron expression describing the desktop's schedule. + /// + public readonly string CronExpression; + /// + /// (Updatable) The timezone of the desktop's schedule. + /// + public readonly string Timezone; + + [OutputConstructor] + private DesktopPoolAvailabilityPolicyStopSchedule( + string cronExpression, + + string timezone) + { + CronExpression = cronExpression; + Timezone = timezone; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/DesktopPoolDevicePolicy.cs b/sdk/dotnet/Desktops/Outputs/DesktopPoolDevicePolicy.cs new file mode 100644 index 0000000000..d0f7fba355 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/DesktopPoolDevicePolicy.cs @@ -0,0 +1,70 @@ +// *** 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.Desktops.Outputs +{ + + [OutputType] + public sealed class DesktopPoolDevicePolicy + { + /// + /// (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + /// + public readonly string AudioMode; + /// + /// (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + /// + public readonly string CdmMode; + /// + /// (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + /// + public readonly string ClipboardMode; + /// + /// (Updatable) Indicates whether the display is enabled. + /// + public readonly bool IsDisplayEnabled; + /// + /// (Updatable) Indicates whether the keyboard is enabled. + /// + public readonly bool IsKeyboardEnabled; + /// + /// (Updatable) Indicates whether the pointer is enabled. + /// + public readonly bool IsPointerEnabled; + /// + /// (Updatable) Indicates whether printing is enabled. + /// + public readonly bool IsPrintingEnabled; + + [OutputConstructor] + private DesktopPoolDevicePolicy( + string audioMode, + + string cdmMode, + + string clipboardMode, + + bool isDisplayEnabled, + + bool isKeyboardEnabled, + + bool isPointerEnabled, + + bool isPrintingEnabled) + { + AudioMode = audioMode; + CdmMode = cdmMode; + ClipboardMode = clipboardMode; + IsDisplayEnabled = isDisplayEnabled; + IsKeyboardEnabled = isKeyboardEnabled; + IsPointerEnabled = isPointerEnabled; + IsPrintingEnabled = isPrintingEnabled; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/DesktopPoolImage.cs b/sdk/dotnet/Desktops/Outputs/DesktopPoolImage.cs new file mode 100644 index 0000000000..498bd0404a --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/DesktopPoolImage.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.Desktops.Outputs +{ + + [OutputType] + public sealed class DesktopPoolImage + { + /// + /// The OCID of the desktop image. + /// + public readonly string ImageId; + /// + /// The name of the desktop image. + /// + public readonly string ImageName; + + [OutputConstructor] + private DesktopPoolImage( + string imageId, + + string imageName) + { + ImageId = imageId; + ImageName = imageName; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/DesktopPoolNetworkConfiguration.cs b/sdk/dotnet/Desktops/Outputs/DesktopPoolNetworkConfiguration.cs new file mode 100644 index 0000000000..12a680d9f5 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/DesktopPoolNetworkConfiguration.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.Desktops.Outputs +{ + + [OutputType] + public sealed class DesktopPoolNetworkConfiguration + { + /// + /// The OCID of the subnet to use for the desktop pool. + /// + public readonly string SubnetId; + /// + /// The OCID of the VCN used by the desktop pool. + /// + public readonly string VcnId; + + [OutputConstructor] + private DesktopPoolNetworkConfiguration( + string subnetId, + + string vcnId) + { + SubnetId = subnetId; + VcnId = vcnId; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopDevicePolicyResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopDevicePolicyResult.cs new file mode 100644 index 0000000000..eb8d02a86b --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopDevicePolicyResult.cs @@ -0,0 +1,70 @@ +// *** 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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopDevicePolicyResult + { + /// + /// The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + /// + public readonly string AudioMode; + /// + /// The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + /// + public readonly string CdmMode; + /// + /// The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + /// + public readonly string ClipboardMode; + /// + /// Indicates whether the display is enabled. + /// + public readonly bool IsDisplayEnabled; + /// + /// Indicates whether the keyboard is enabled. + /// + public readonly bool IsKeyboardEnabled; + /// + /// Indicates whether the pointer is enabled. + /// + public readonly bool IsPointerEnabled; + /// + /// Indicates whether printing is enabled. + /// + public readonly bool IsPrintingEnabled; + + [OutputConstructor] + private GetDesktopDevicePolicyResult( + string audioMode, + + string cdmMode, + + string clipboardMode, + + bool isDisplayEnabled, + + bool isKeyboardEnabled, + + bool isPointerEnabled, + + bool isPrintingEnabled) + { + AudioMode = audioMode; + CdmMode = cdmMode; + ClipboardMode = clipboardMode; + IsDisplayEnabled = isDisplayEnabled; + IsKeyboardEnabled = isKeyboardEnabled; + IsPointerEnabled = isPointerEnabled; + IsPrintingEnabled = isPrintingEnabled; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopHostingOptionImageResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopHostingOptionImageResult.cs new file mode 100644 index 0000000000..e4f357bf36 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopHostingOptionImageResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopHostingOptionImageResult + { + /// + /// The OCID of the desktop image. + /// + public readonly string ImageId; + /// + /// The name of the desktop image. + /// + public readonly string ImageName; + + [OutputConstructor] + private GetDesktopHostingOptionImageResult( + string imageId, + + string imageName) + { + ImageId = imageId; + ImageName = imageName; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopHostingOptionResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopHostingOptionResult.cs new file mode 100644 index 0000000000..b4a4b976ae --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopHostingOptionResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopHostingOptionResult + { + /// + /// The connection address of the desktop. + /// + public readonly string ConnectAddress; + /// + /// Provides information about the desktop image. + /// + public readonly ImmutableArray Images; + + [OutputConstructor] + private GetDesktopHostingOptionResult( + string connectAddress, + + ImmutableArray images) + { + ConnectAddress = connectAddress; + Images = images; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolAvailabilityPolicyResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolAvailabilityPolicyResult.cs new file mode 100644 index 0000000000..bd56a6b903 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolAvailabilityPolicyResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolAvailabilityPolicyResult + { + /// + /// Provides the schedule information for a desktop. + /// + public readonly ImmutableArray StartSchedules; + /// + /// Provides the schedule information for a desktop. + /// + public readonly ImmutableArray StopSchedules; + + [OutputConstructor] + private GetDesktopPoolAvailabilityPolicyResult( + ImmutableArray startSchedules, + + ImmutableArray stopSchedules) + { + StartSchedules = startSchedules; + StopSchedules = stopSchedules; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolAvailabilityPolicyStartScheduleResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolAvailabilityPolicyStartScheduleResult.cs new file mode 100644 index 0000000000..93bab194cb --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolAvailabilityPolicyStartScheduleResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolAvailabilityPolicyStartScheduleResult + { + /// + /// A cron expression describing the desktop's schedule. + /// + public readonly string CronExpression; + /// + /// The timezone of the desktop's schedule. + /// + public readonly string Timezone; + + [OutputConstructor] + private GetDesktopPoolAvailabilityPolicyStartScheduleResult( + string cronExpression, + + string timezone) + { + CronExpression = cronExpression; + Timezone = timezone; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolAvailabilityPolicyStopScheduleResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolAvailabilityPolicyStopScheduleResult.cs new file mode 100644 index 0000000000..1d13cae45f --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolAvailabilityPolicyStopScheduleResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolAvailabilityPolicyStopScheduleResult + { + /// + /// A cron expression describing the desktop's schedule. + /// + public readonly string CronExpression; + /// + /// The timezone of the desktop's schedule. + /// + public readonly string Timezone; + + [OutputConstructor] + private GetDesktopPoolAvailabilityPolicyStopScheduleResult( + string cronExpression, + + string timezone) + { + CronExpression = cronExpression; + Timezone = timezone; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemResult.cs new file mode 100644 index 0000000000..9b91efda2d --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemResult.cs @@ -0,0 +1,77 @@ +// *** 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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemResult + { + /// + /// 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 ImmutableDictionary DefinedTags; + /// + /// The OCID of the desktop. + /// + public readonly string DesktopId; + /// + /// 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; + /// + /// The OCID of the compute resource used by this desktop. + /// + public readonly string InstanceId; + /// + /// Indicates whether the desktop is assigned to a user. + /// + public readonly bool IsAssigned; + /// + /// A filter to return only results with the given lifecycleState. + /// + public readonly string State; + /// + /// The date and time the resource was created. + /// + public readonly string TimeCreated; + /// + /// The owner of the desktop. + /// + public readonly string UserName; + + [OutputConstructor] + private GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemResult( + ImmutableDictionary definedTags, + + string desktopId, + + ImmutableDictionary freeformTags, + + string instanceId, + + bool isAssigned, + + string state, + + string timeCreated, + + string userName) + { + DefinedTags = definedTags; + DesktopId = desktopId; + FreeformTags = freeformTags; + InstanceId = instanceId; + IsAssigned = isAssigned; + State = state; + TimeCreated = timeCreated; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollectionResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollectionResult.cs new file mode 100644 index 0000000000..da7537d44c --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollectionResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolDesktopsDesktopPoolDesktopCollectionResult + { + /// + /// A list of desktops. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetDesktopPoolDesktopsDesktopPoolDesktopCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFilterResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDesktopsFilterResult.cs similarity index 82% rename from sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFilterResult.cs rename to sdk/dotnet/Desktops/Outputs/GetDesktopPoolDesktopsFilterResult.cs index 52bbf7ec63..a903ad5255 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFilterResult.cs +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDesktopsFilterResult.cs @@ -7,18 +7,18 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Outputs +namespace Pulumi.Oci.Desktops.Outputs { [OutputType] - public sealed class GetFsuCollectionsFilterResult + public sealed class GetDesktopPoolDesktopsFilterResult { public readonly string Name; public readonly bool? Regex; public readonly ImmutableArray Values; [OutputConstructor] - private GetFsuCollectionsFilterResult( + private GetDesktopPoolDesktopsFilterResult( string name, bool? regex, diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDevicePolicyResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDevicePolicyResult.cs new file mode 100644 index 0000000000..f5b8b5f643 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolDevicePolicyResult.cs @@ -0,0 +1,70 @@ +// *** 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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolDevicePolicyResult + { + /// + /// The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + /// + public readonly string AudioMode; + /// + /// The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + /// + public readonly string CdmMode; + /// + /// The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + /// + public readonly string ClipboardMode; + /// + /// Indicates whether the display is enabled. + /// + public readonly bool IsDisplayEnabled; + /// + /// Indicates whether the keyboard is enabled. + /// + public readonly bool IsKeyboardEnabled; + /// + /// Indicates whether the pointer is enabled. + /// + public readonly bool IsPointerEnabled; + /// + /// Indicates whether printing is enabled. + /// + public readonly bool IsPrintingEnabled; + + [OutputConstructor] + private GetDesktopPoolDevicePolicyResult( + string audioMode, + + string cdmMode, + + string clipboardMode, + + bool isDisplayEnabled, + + bool isKeyboardEnabled, + + bool isPointerEnabled, + + bool isPrintingEnabled) + { + AudioMode = audioMode; + CdmMode = cdmMode; + ClipboardMode = clipboardMode; + IsDisplayEnabled = isDisplayEnabled; + IsKeyboardEnabled = isKeyboardEnabled; + IsPointerEnabled = isPointerEnabled; + IsPrintingEnabled = isPrintingEnabled; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolImageResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolImageResult.cs new file mode 100644 index 0000000000..0c2d3735d2 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolImageResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolImageResult + { + /// + /// The OCID of the desktop image. + /// + public readonly string ImageId; + /// + /// The name of the desktop image. + /// + public readonly string ImageName; + + [OutputConstructor] + private GetDesktopPoolImageResult( + string imageId, + + string imageName) + { + ImageId = imageId; + ImageName = imageName; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolNetworkConfigurationResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolNetworkConfigurationResult.cs new file mode 100644 index 0000000000..ab250070bb --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolNetworkConfigurationResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolNetworkConfigurationResult + { + /// + /// The OCID of the subnet to use for the desktop pool. + /// + public readonly string SubnetId; + /// + /// The OCID of the VCN used by the desktop pool. + /// + public readonly string VcnId; + + [OutputConstructor] + private GetDesktopPoolNetworkConfigurationResult( + string subnetId, + + string vcnId) + { + SubnetId = subnetId; + VcnId = vcnId; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemResult.cs new file mode 100644 index 0000000000..8c8f9fb521 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemResult.cs @@ -0,0 +1,77 @@ +// *** 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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemResult + { + /// + /// The name of the availability domain. + /// + public readonly string AvailabilityDomain; + /// + /// 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 ImmutableDictionary DefinedTags; + /// + /// 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; + /// + /// A filter to return only results with the given OCID. + /// + public readonly string Id; + /// + /// The name of the desktop pool volume. + /// + public readonly string Name; + /// + /// The OCID of the desktop pool to which this volume belongs. + /// + public readonly string PoolId; + /// + /// A filter to return only results with the given lifecycleState. + /// + public readonly string State; + /// + /// The owner of the desktop pool volume. + /// + public readonly string UserName; + + [OutputConstructor] + private GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemResult( + string availabilityDomain, + + ImmutableDictionary definedTags, + + ImmutableDictionary freeformTags, + + string id, + + string name, + + string poolId, + + string state, + + string userName) + { + AvailabilityDomain = availabilityDomain; + DefinedTags = definedTags; + FreeformTags = freeformTags; + Id = id; + Name = name; + PoolId = poolId; + State = state; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollectionResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollectionResult.cs new file mode 100644 index 0000000000..5cc6e70231 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollectionResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolVolumesDesktopPoolVolumeCollectionResult + { + /// + /// A list of desktop pool volumes. + /// + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetDesktopPoolVolumesDesktopPoolVolumeCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasesFilterResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolVolumesFilterResult.cs similarity index 79% rename from sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasesFilterResult.cs rename to sdk/dotnet/Desktops/Outputs/GetDesktopPoolVolumesFilterResult.cs index 4d5b056b9b..fb77204052 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasesFilterResult.cs +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolVolumesFilterResult.cs @@ -7,21 +7,21 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Outputs +namespace Pulumi.Oci.Desktops.Outputs { [OutputType] - public sealed class GetShardedDatabasesFilterResult + public sealed class GetDesktopPoolVolumesFilterResult { /// - /// Name of the shard. + /// The name of the desktop pool volume. /// public readonly string Name; public readonly bool? Regex; public readonly ImmutableArray Values; [OutputConstructor] - private GetShardedDatabasesFilterResult( + private GetDesktopPoolVolumesFilterResult( string name, bool? regex, diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyResult.cs new file mode 100644 index 0000000000..4e6dd9109b --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyResult + { + /// + /// Provides the schedule information for a desktop. + /// + public readonly ImmutableArray StartSchedules; + /// + /// Provides the schedule information for a desktop. + /// + public readonly ImmutableArray StopSchedules; + + [OutputConstructor] + private GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyResult( + ImmutableArray startSchedules, + + ImmutableArray stopSchedules) + { + StartSchedules = startSchedules; + StopSchedules = stopSchedules; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleResult.cs new file mode 100644 index 0000000000..16f2312a6c --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleResult + { + /// + /// A cron expression describing the desktop's schedule. + /// + public readonly string CronExpression; + /// + /// The timezone of the desktop's schedule. + /// + public readonly string Timezone; + + [OutputConstructor] + private GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleResult( + string cronExpression, + + string timezone) + { + CronExpression = cronExpression; + Timezone = timezone; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleResult.cs new file mode 100644 index 0000000000..971332ec96 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleResult + { + /// + /// A cron expression describing the desktop's schedule. + /// + public readonly string CronExpression; + /// + /// The timezone of the desktop's schedule. + /// + public readonly string Timezone; + + [OutputConstructor] + private GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleResult( + string cronExpression, + + string timezone) + { + CronExpression = cronExpression; + Timezone = timezone; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyResult.cs new file mode 100644 index 0000000000..0a7c41dd89 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyResult.cs @@ -0,0 +1,70 @@ +// *** 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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyResult + { + /// + /// The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + /// + public readonly string AudioMode; + /// + /// The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + /// + public readonly string CdmMode; + /// + /// The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + /// + public readonly string ClipboardMode; + /// + /// Indicates whether the display is enabled. + /// + public readonly bool IsDisplayEnabled; + /// + /// Indicates whether the keyboard is enabled. + /// + public readonly bool IsKeyboardEnabled; + /// + /// Indicates whether the pointer is enabled. + /// + public readonly bool IsPointerEnabled; + /// + /// Indicates whether printing is enabled. + /// + public readonly bool IsPrintingEnabled; + + [OutputConstructor] + private GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyResult( + string audioMode, + + string cdmMode, + + string clipboardMode, + + bool isDisplayEnabled, + + bool isKeyboardEnabled, + + bool isPointerEnabled, + + bool isPrintingEnabled) + { + AudioMode = audioMode; + CdmMode = cdmMode; + ClipboardMode = clipboardMode; + IsDisplayEnabled = isDisplayEnabled; + IsKeyboardEnabled = isKeyboardEnabled; + IsPointerEnabled = isPointerEnabled; + IsPrintingEnabled = isPrintingEnabled; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemImageResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemImageResult.cs new file mode 100644 index 0000000000..d9d7e56ce4 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemImageResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolsDesktopPoolCollectionItemImageResult + { + /// + /// The OCID of the desktop image. + /// + public readonly string ImageId; + /// + /// The name of the desktop image. + /// + public readonly string ImageName; + + [OutputConstructor] + private GetDesktopPoolsDesktopPoolCollectionItemImageResult( + string imageId, + + string imageName) + { + ImageId = imageId; + ImageName = imageName; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationResult.cs new file mode 100644 index 0000000000..f69e545568 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationResult + { + /// + /// The OCID of the subnet to use for the desktop pool. + /// + public readonly string SubnetId; + /// + /// The OCID of the VCN used by the desktop pool. + /// + public readonly string VcnId; + + [OutputConstructor] + private GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationResult( + string subnetId, + + string vcnId) + { + SubnetId = subnetId; + VcnId = vcnId; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemResult.cs new file mode 100644 index 0000000000..dfff13c0c2 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionItemResult.cs @@ -0,0 +1,196 @@ +// *** 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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolsDesktopPoolCollectionItemResult + { + /// + /// The number of active desktops in the desktop pool. + /// + public readonly int ActiveDesktops; + /// + /// Indicates whether desktop pool users have administrative privileges on their desktop. + /// + public readonly bool ArePrivilegedUsers; + /// + /// The name of the availability domain. + /// + public readonly string AvailabilityDomain; + /// + /// Provides the start and stop schedule information for desktop availability of the desktop pool. + /// + public readonly ImmutableArray AvailabilityPolicies; + /// + /// The OCID of the compartment of the desktop pool. + /// + public readonly string CompartmentId; + /// + /// Contact information of the desktop pool administrator. Avoid entering confidential information. + /// + public readonly string ContactDetails; + /// + /// 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 ImmutableDictionary DefinedTags; + /// + /// A user friendly description providing additional information about the resource. Avoid entering confidential information. + /// + public readonly string Description; + /// + /// Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + /// + public readonly ImmutableArray DevicePolicies; + /// + /// A filter to return only results with the given displayName. + /// + public readonly string 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"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// A filter to return only results with the given OCID. + /// + public readonly string Id; + /// + /// Provides information about the desktop image. + /// + public readonly ImmutableArray Images; + /// + /// Indicates whether storage is enabled for the desktop pool. + /// + public readonly bool IsStorageEnabled; + /// + /// The maximum number of desktops permitted in the desktop pool. + /// + public readonly int MaximumSize; + /// + /// Provides information about the network configuration of the desktop pool. + /// + public readonly ImmutableArray NetworkConfigurations; + /// + /// A list of network security groups for the desktop pool. + /// + public readonly ImmutableArray NsgIds; + /// + /// The shape of the desktop pool. + /// + public readonly string ShapeName; + /// + /// The maximum number of standby desktops available in the desktop pool. + /// + public readonly int StandbySize; + /// + /// A filter to return only results with the given lifecycleState. + /// + public readonly string State; + /// + /// The backup policy OCID of the storage. + /// + public readonly string StorageBackupPolicyId; + /// + /// The size in GBs of the storage for the desktop pool. + /// + public readonly int StorageSizeInGbs; + /// + /// The date and time the resource was created. + /// + public readonly string TimeCreated; + /// + /// The start time of the desktop pool. + /// + public readonly string TimeStartScheduled; + /// + /// The stop time of the desktop pool. + /// + public readonly string TimeStopScheduled; + + [OutputConstructor] + private GetDesktopPoolsDesktopPoolCollectionItemResult( + int activeDesktops, + + bool arePrivilegedUsers, + + string availabilityDomain, + + ImmutableArray availabilityPolicies, + + string compartmentId, + + string contactDetails, + + ImmutableDictionary definedTags, + + string description, + + ImmutableArray devicePolicies, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + ImmutableArray images, + + bool isStorageEnabled, + + int maximumSize, + + ImmutableArray networkConfigurations, + + ImmutableArray nsgIds, + + string shapeName, + + int standbySize, + + string state, + + string storageBackupPolicyId, + + int storageSizeInGbs, + + string timeCreated, + + string timeStartScheduled, + + string timeStopScheduled) + { + ActiveDesktops = activeDesktops; + ArePrivilegedUsers = arePrivilegedUsers; + AvailabilityDomain = availabilityDomain; + AvailabilityPolicies = availabilityPolicies; + CompartmentId = compartmentId; + ContactDetails = contactDetails; + DefinedTags = definedTags; + Description = description; + DevicePolicies = devicePolicies; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + Images = images; + IsStorageEnabled = isStorageEnabled; + MaximumSize = maximumSize; + NetworkConfigurations = networkConfigurations; + NsgIds = nsgIds; + ShapeName = shapeName; + StandbySize = standbySize; + State = state; + StorageBackupPolicyId = storageBackupPolicyId; + StorageSizeInGbs = storageSizeInGbs; + TimeCreated = timeCreated; + TimeStartScheduled = timeStartScheduled; + TimeStopScheduled = timeStopScheduled; + } + } +} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetPrivateEndpointsPrivateEndpointCollectionResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionResult.cs similarity index 51% rename from sdk/dotnet/GloballyDistributedDatabase/Outputs/GetPrivateEndpointsPrivateEndpointCollectionResult.cs rename to sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionResult.cs index 4efa0895a2..8795d1173e 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetPrivateEndpointsPrivateEndpointCollectionResult.cs +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsDesktopPoolCollectionResult.cs @@ -7,16 +7,16 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Outputs +namespace Pulumi.Oci.Desktops.Outputs { [OutputType] - public sealed class GetPrivateEndpointsPrivateEndpointCollectionResult + public sealed class GetDesktopPoolsDesktopPoolCollectionResult { - public readonly ImmutableArray Items; + public readonly ImmutableArray Items; [OutputConstructor] - private GetPrivateEndpointsPrivateEndpointCollectionResult(ImmutableArray items) + private GetDesktopPoolsDesktopPoolCollectionResult(ImmutableArray items) { Items = items; } diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsFilterResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsFilterResult.cs new file mode 100644 index 0000000000..d6a724cf9a --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopPoolsFilterResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopPoolsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetDesktopPoolsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopsDesktopCollectionItemResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopsDesktopCollectionItemResult.cs new file mode 100644 index 0000000000..06e846b1ab --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopsDesktopCollectionItemResult.cs @@ -0,0 +1,77 @@ +// *** 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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopsDesktopCollectionItemResult + { + /// + /// 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 ImmutableDictionary DefinedTags; + /// + /// A filter to return only results with the given displayName. + /// + public readonly string 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"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// A filter to return only results with the given OCID. + /// + public readonly string Id; + /// + /// The OCID of the desktop pool the desktop is a member of. + /// + public readonly string PoolId; + /// + /// A filter to return only results with the given lifecycleState. + /// + public readonly string State; + /// + /// The date and time the resource was created. + /// + public readonly string TimeCreated; + /// + /// The owner of the desktop. + /// + public readonly string UserName; + + [OutputConstructor] + private GetDesktopsDesktopCollectionItemResult( + ImmutableDictionary definedTags, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + string poolId, + + string state, + + string timeCreated, + + string userName) + { + DefinedTags = definedTags; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + PoolId = poolId; + State = state; + TimeCreated = timeCreated; + UserName = userName; + } + } +} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleDiagnosticsCollection.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopsDesktopCollectionResult.cs similarity index 54% rename from sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleDiagnosticsCollection.cs rename to sdk/dotnet/Desktops/Outputs/GetDesktopsDesktopCollectionResult.cs index b5f688ad79..b51b7db087 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleDiagnosticsCollection.cs +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopsDesktopCollectionResult.cs @@ -7,18 +7,18 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Outputs +namespace Pulumi.Oci.Desktops.Outputs { [OutputType] - public sealed class FsuCycleDiagnosticsCollection + public sealed class GetDesktopsDesktopCollectionResult { - public readonly string? LogCollectionMode; + public readonly ImmutableArray Items; [OutputConstructor] - private FsuCycleDiagnosticsCollection(string? logCollectionMode) + private GetDesktopsDesktopCollectionResult(ImmutableArray items) { - LogCollectionMode = logCollectionMode; + Items = items; } } } diff --git a/sdk/dotnet/Desktops/Outputs/GetDesktopsFilterResult.cs b/sdk/dotnet/Desktops/Outputs/GetDesktopsFilterResult.cs new file mode 100644 index 0000000000..b5a1835bf7 --- /dev/null +++ b/sdk/dotnet/Desktops/Outputs/GetDesktopsFilterResult.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.Desktops.Outputs +{ + + [OutputType] + public sealed class GetDesktopsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetDesktopsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/GloballyDistributedDatabase/README.md b/sdk/dotnet/Desktops/README.md similarity index 100% rename from sdk/dotnet/GloballyDistributedDatabase/README.md rename to sdk/dotnet/Desktops/README.md diff --git a/sdk/dotnet/FileStorage/MountTarget.cs b/sdk/dotnet/FileStorage/MountTarget.cs index 5b74bf92c1..482ccecf5d 100644 --- a/sdk/dotnet/FileStorage/MountTarget.cs +++ b/sdk/dotnet/FileStorage/MountTarget.cs @@ -92,6 +92,7 @@ namespace Pulumi.Oci.FileStorage /// UserSearchBase = mountTargetLdapIdmapUserSearchBase, /// }, /// NsgIds = mountTargetNsgIds, + /// RequestedThroughput = mountTargetRequestedThroughput, /// }); /// /// }); @@ -163,11 +164,7 @@ public partial class MountTarget : global::Pulumi.CustomResource public Output IdmapType { get; private set; } = null!; /// - /// A private IP 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 a private IP address from the subnet. - /// - /// Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - /// - /// Example: `10.0.3.3` + /// A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` /// [Output("ipAddress")] public Output IpAddress { get; private set; } = null!; @@ -196,12 +193,30 @@ public partial class MountTarget : global::Pulumi.CustomResource [Output("nsgIds")] public Output> NsgIds { get; private set; } = null!; + /// + /// Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + /// + [Output("observedThroughput")] + public Output ObservedThroughput { get; private set; } = null!; + /// /// The OCIDs of the private IP addresses associated with this mount target. /// [Output("privateIpIds")] public Output> PrivateIpIds { get; private set; } = null!; + /// + /// (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + /// + [Output("requestedThroughput")] + public Output RequestedThroughput { get; private set; } = null!; + + /// + /// * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + /// + [Output("reservedStorageCapacity")] + public Output ReservedStorageCapacity { get; private set; } = null!; + /// /// The current state of the mount target. /// @@ -218,6 +233,12 @@ public partial class MountTarget : global::Pulumi.CustomResource [Output("subnetId")] public Output SubnetId { get; private set; } = null!; + /// + /// The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + /// + [Output("timeBillingCycleEnd")] + public Output TimeBillingCycleEnd { get; private set; } = null!; + /// /// 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` /// @@ -331,11 +352,7 @@ public InputMap FreeformTags public Input? IdmapType { get; set; } /// - /// A private IP 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 a private IP address from the subnet. - /// - /// Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - /// - /// Example: `10.0.3.3` + /// A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` /// [Input("ipAddress")] public Input? IpAddress { get; set; } @@ -364,6 +381,12 @@ public InputList NsgIds set => _nsgIds = value; } + /// + /// (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + /// + [Input("requestedThroughput")] + public Input? RequestedThroughput { get; set; } + /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. /// @@ -449,11 +472,7 @@ public InputMap FreeformTags public Input? IdmapType { get; set; } /// - /// A private IP 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 a private IP address from the subnet. - /// - /// Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - /// - /// Example: `10.0.3.3` + /// A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` /// [Input("ipAddress")] public Input? IpAddress { get; set; } @@ -488,6 +507,12 @@ public InputList NsgIds set => _nsgIds = value; } + /// + /// Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + /// + [Input("observedThroughput")] + public Input? ObservedThroughput { get; set; } + [Input("privateIpIds")] private InputList? _privateIpIds; @@ -500,6 +525,18 @@ public InputList PrivateIpIds set => _privateIpIds = value; } + /// + /// (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + /// + [Input("requestedThroughput")] + public Input? RequestedThroughput { get; set; } + + /// + /// * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + /// + [Input("reservedStorageCapacity")] + public Input? ReservedStorageCapacity { get; set; } + /// /// The current state of the mount target. /// @@ -516,6 +553,12 @@ public InputList PrivateIpIds [Input("subnetId")] public Input? SubnetId { get; set; } + /// + /// The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + /// + [Input("timeBillingCycleEnd")] + public Input? TimeBillingCycleEnd { get; set; } + /// /// 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` /// diff --git a/sdk/dotnet/FileStorage/Outputs/GetMountTargetsMountTargetResult.cs b/sdk/dotnet/FileStorage/Outputs/GetMountTargetsMountTargetResult.cs index 85ab8e3602..b288529a87 100644 --- a/sdk/dotnet/FileStorage/Outputs/GetMountTargetsMountTargetResult.cs +++ b/sdk/dotnet/FileStorage/Outputs/GetMountTargetsMountTargetResult.cs @@ -64,10 +64,22 @@ public sealed class GetMountTargetsMountTargetResult /// public readonly ImmutableArray NsgIds; /// + /// Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + /// + public readonly string ObservedThroughput; + /// /// The OCIDs of the private IP addresses associated with this mount target. /// public readonly ImmutableArray PrivateIpIds; /// + /// * New throughput for mount target at the end of billing cycle in Gbps. + /// + public readonly string RequestedThroughput; + /// + /// * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + /// + public readonly string ReservedStorageCapacity; + /// /// Filter results by the specified lifecycle state. Must be a valid state for the resource type. /// public readonly string State; @@ -76,6 +88,10 @@ public sealed class GetMountTargetsMountTargetResult /// public readonly string SubnetId; /// + /// The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + /// + public readonly string TimeBillingCycleEnd; + /// /// 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` /// public readonly string TimeCreated; @@ -110,12 +126,20 @@ private GetMountTargetsMountTargetResult( ImmutableArray nsgIds, + string observedThroughput, + ImmutableArray privateIpIds, + string requestedThroughput, + + string reservedStorageCapacity, + string state, string subnetId, + string timeBillingCycleEnd, + string timeCreated) { AvailabilityDomain = availabilityDomain; @@ -132,9 +156,13 @@ private GetMountTargetsMountTargetResult( LdapIdmaps = ldapIdmaps; LifecycleDetails = lifecycleDetails; NsgIds = nsgIds; + ObservedThroughput = observedThroughput; PrivateIpIds = privateIpIds; + RequestedThroughput = requestedThroughput; + ReservedStorageCapacity = reservedStorageCapacity; State = state; SubnetId = subnetId; + TimeBillingCycleEnd = timeBillingCycleEnd; TimeCreated = timeCreated; } } diff --git a/sdk/dotnet/FleetSoftwareUpdate/FsuCollection.cs b/sdk/dotnet/FleetSoftwareUpdate/FsuCollection.cs deleted file mode 100644 index 848e9ab407..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/FsuCollection.cs +++ /dev/null @@ -1,218 +0,0 @@ -// *** 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.FleetSoftwareUpdate -{ - [OciResourceType("oci:FleetSoftwareUpdate/fsuCollection:FsuCollection")] - public partial class FsuCollection : global::Pulumi.CustomResource - { - [Output("activeFsuCycles")] - public Output> ActiveFsuCycles { get; private set; } = null!; - - [Output("compartmentId")] - public Output CompartmentId { get; private set; } = null!; - - [Output("definedTags")] - public Output> DefinedTags { get; private set; } = null!; - - [Output("displayName")] - public Output DisplayName { get; private set; } = null!; - - [Output("fleetDiscovery")] - public Output FleetDiscovery { get; private set; } = null!; - - [Output("freeformTags")] - public Output> FreeformTags { get; private set; } = null!; - - [Output("lifecycleDetails")] - public Output LifecycleDetails { get; private set; } = null!; - - [Output("serviceType")] - public Output ServiceType { get; private set; } = null!; - - [Output("sourceMajorVersion")] - public Output SourceMajorVersion { get; private set; } = null!; - - [Output("state")] - public Output State { get; private set; } = null!; - - [Output("systemTags")] - public Output> SystemTags { get; private set; } = null!; - - [Output("targetCount")] - public Output TargetCount { get; private set; } = null!; - - [Output("timeCreated")] - public Output TimeCreated { get; private set; } = null!; - - [Output("timeUpdated")] - public Output TimeUpdated { get; private set; } = null!; - - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a FsuCollection 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 FsuCollection(string name, FsuCollectionArgs args, CustomResourceOptions? options = null) - : base("oci:FleetSoftwareUpdate/fsuCollection:FsuCollection", name, args ?? new FsuCollectionArgs(), MakeResourceOptions(options, "")) - { - } - - private FsuCollection(string name, Input id, FsuCollectionState? state = null, CustomResourceOptions? options = null) - : base("oci:FleetSoftwareUpdate/fsuCollection:FsuCollection", 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 FsuCollection 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 FsuCollection Get(string name, Input id, FsuCollectionState? state = null, CustomResourceOptions? options = null) - { - return new FsuCollection(name, id, state, options); - } - } - - public sealed class FsuCollectionArgs : global::Pulumi.ResourceArgs - { - [Input("compartmentId", required: true)] - public Input CompartmentId { get; set; } = null!; - - [Input("definedTags")] - private InputMap? _definedTags; - public InputMap DefinedTags - { - get => _definedTags ?? (_definedTags = new InputMap()); - set => _definedTags = value; - } - - [Input("displayName")] - public Input? DisplayName { get; set; } - - [Input("fleetDiscovery")] - public Input? FleetDiscovery { get; set; } - - [Input("freeformTags")] - private InputMap? _freeformTags; - public InputMap FreeformTags - { - get => _freeformTags ?? (_freeformTags = new InputMap()); - set => _freeformTags = value; - } - - [Input("serviceType", required: true)] - public Input ServiceType { get; set; } = null!; - - [Input("sourceMajorVersion", required: true)] - public Input SourceMajorVersion { get; set; } = null!; - - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - public FsuCollectionArgs() - { - } - public static new FsuCollectionArgs Empty => new FsuCollectionArgs(); - } - - public sealed class FsuCollectionState : global::Pulumi.ResourceArgs - { - [Input("activeFsuCycles")] - private InputList? _activeFsuCycles; - public InputList ActiveFsuCycles - { - get => _activeFsuCycles ?? (_activeFsuCycles = new InputList()); - set => _activeFsuCycles = value; - } - - [Input("compartmentId")] - public Input? CompartmentId { get; set; } - - [Input("definedTags")] - private InputMap? _definedTags; - public InputMap DefinedTags - { - get => _definedTags ?? (_definedTags = new InputMap()); - set => _definedTags = value; - } - - [Input("displayName")] - public Input? DisplayName { get; set; } - - [Input("fleetDiscovery")] - public Input? FleetDiscovery { get; set; } - - [Input("freeformTags")] - private InputMap? _freeformTags; - public InputMap FreeformTags - { - get => _freeformTags ?? (_freeformTags = new InputMap()); - set => _freeformTags = value; - } - - [Input("lifecycleDetails")] - public Input? LifecycleDetails { get; set; } - - [Input("serviceType")] - public Input? ServiceType { get; set; } - - [Input("sourceMajorVersion")] - public Input? SourceMajorVersion { get; set; } - - [Input("state")] - public Input? State { get; set; } - - [Input("systemTags")] - private InputMap? _systemTags; - public InputMap SystemTags - { - get => _systemTags ?? (_systemTags = new InputMap()); - set => _systemTags = value; - } - - [Input("targetCount")] - public Input? TargetCount { get; set; } - - [Input("timeCreated")] - public Input? TimeCreated { get; set; } - - [Input("timeUpdated")] - public Input? TimeUpdated { get; set; } - - [Input("type")] - public Input? Type { get; set; } - - public FsuCollectionState() - { - } - public static new FsuCollectionState Empty => new FsuCollectionState(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/FsuCycle.cs b/sdk/dotnet/FleetSoftwareUpdate/FsuCycle.cs deleted file mode 100644 index e13c6b7daa..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/FsuCycle.cs +++ /dev/null @@ -1,309 +0,0 @@ -// *** 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.FleetSoftwareUpdate -{ - [OciResourceType("oci:FleetSoftwareUpdate/fsuCycle:FsuCycle")] - public partial class FsuCycle : global::Pulumi.CustomResource - { - [Output("applyActionSchedule")] - public Output ApplyActionSchedule { get; private set; } = null!; - - [Output("batchingStrategy")] - public Output BatchingStrategy { get; private set; } = null!; - - [Output("collectionType")] - public Output CollectionType { get; private set; } = null!; - - [Output("compartmentId")] - public Output CompartmentId { get; private set; } = null!; - - [Output("definedTags")] - public Output> DefinedTags { get; private set; } = null!; - - [Output("diagnosticsCollection")] - public Output DiagnosticsCollection { get; private set; } = null!; - - [Output("displayName")] - public Output DisplayName { get; private set; } = null!; - - [Output("executingFsuActionId")] - public Output ExecutingFsuActionId { get; private set; } = null!; - - [Output("freeformTags")] - public Output> FreeformTags { get; private set; } = null!; - - [Output("fsuCollectionId")] - public Output FsuCollectionId { get; private set; } = null!; - - [Output("goalVersionDetails")] - public Output GoalVersionDetails { get; private set; } = null!; - - [Output("isIgnoreMissingPatches")] - public Output> IsIgnoreMissingPatches { get; private set; } = null!; - - [Output("isIgnorePatches")] - public Output IsIgnorePatches { get; private set; } = null!; - - [Output("isKeepPlacement")] - public Output IsKeepPlacement { get; private set; } = null!; - - [Output("lastCompletedAction")] - public Output LastCompletedAction { get; private set; } = null!; - - [Output("lifecycleDetails")] - public Output LifecycleDetails { get; private set; } = null!; - - [Output("maxDrainTimeoutInSeconds")] - public Output MaxDrainTimeoutInSeconds { get; private set; } = null!; - - [Output("nextActionToExecutes")] - public Output> NextActionToExecutes { get; private set; } = null!; - - [Output("stageActionSchedule")] - public Output StageActionSchedule { get; private set; } = null!; - - [Output("state")] - public Output State { get; private set; } = null!; - - [Output("systemTags")] - public Output> SystemTags { get; private set; } = null!; - - [Output("timeCreated")] - public Output TimeCreated { get; private set; } = null!; - - [Output("timeFinished")] - public Output TimeFinished { get; private set; } = null!; - - [Output("timeUpdated")] - public Output TimeUpdated { get; private set; } = null!; - - [Output("type")] - public Output Type { get; private set; } = null!; - - - /// - /// Create a FsuCycle 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 FsuCycle(string name, FsuCycleArgs args, CustomResourceOptions? options = null) - : base("oci:FleetSoftwareUpdate/fsuCycle:FsuCycle", name, args ?? new FsuCycleArgs(), MakeResourceOptions(options, "")) - { - } - - private FsuCycle(string name, Input id, FsuCycleState? state = null, CustomResourceOptions? options = null) - : base("oci:FleetSoftwareUpdate/fsuCycle:FsuCycle", 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 FsuCycle 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 FsuCycle Get(string name, Input id, FsuCycleState? state = null, CustomResourceOptions? options = null) - { - return new FsuCycle(name, id, state, options); - } - } - - public sealed class FsuCycleArgs : global::Pulumi.ResourceArgs - { - [Input("applyActionSchedule")] - public Input? ApplyActionSchedule { get; set; } - - [Input("batchingStrategy")] - public Input? BatchingStrategy { get; set; } - - [Input("compartmentId", required: true)] - public Input CompartmentId { get; set; } = null!; - - [Input("definedTags")] - private InputMap? _definedTags; - public InputMap DefinedTags - { - get => _definedTags ?? (_definedTags = new InputMap()); - set => _definedTags = value; - } - - [Input("diagnosticsCollection")] - public Input? DiagnosticsCollection { get; set; } - - [Input("displayName")] - public Input? DisplayName { get; set; } - - [Input("freeformTags")] - private InputMap? _freeformTags; - public InputMap FreeformTags - { - get => _freeformTags ?? (_freeformTags = new InputMap()); - set => _freeformTags = value; - } - - [Input("fsuCollectionId", required: true)] - public Input FsuCollectionId { get; set; } = null!; - - [Input("goalVersionDetails", required: true)] - public Input GoalVersionDetails { get; set; } = null!; - - [Input("isIgnoreMissingPatches")] - private InputList? _isIgnoreMissingPatches; - public InputList IsIgnoreMissingPatches - { - get => _isIgnoreMissingPatches ?? (_isIgnoreMissingPatches = new InputList()); - set => _isIgnoreMissingPatches = value; - } - - [Input("isIgnorePatches")] - public Input? IsIgnorePatches { get; set; } - - [Input("isKeepPlacement")] - public Input? IsKeepPlacement { get; set; } - - [Input("maxDrainTimeoutInSeconds")] - public Input? MaxDrainTimeoutInSeconds { get; set; } - - [Input("stageActionSchedule")] - public Input? StageActionSchedule { get; set; } - - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - public FsuCycleArgs() - { - } - public static new FsuCycleArgs Empty => new FsuCycleArgs(); - } - - public sealed class FsuCycleState : global::Pulumi.ResourceArgs - { - [Input("applyActionSchedule")] - public Input? ApplyActionSchedule { get; set; } - - [Input("batchingStrategy")] - public Input? BatchingStrategy { get; set; } - - [Input("collectionType")] - public Input? CollectionType { get; set; } - - [Input("compartmentId")] - public Input? CompartmentId { get; set; } - - [Input("definedTags")] - private InputMap? _definedTags; - public InputMap DefinedTags - { - get => _definedTags ?? (_definedTags = new InputMap()); - set => _definedTags = value; - } - - [Input("diagnosticsCollection")] - public Input? DiagnosticsCollection { get; set; } - - [Input("displayName")] - public Input? DisplayName { get; set; } - - [Input("executingFsuActionId")] - public Input? ExecutingFsuActionId { get; set; } - - [Input("freeformTags")] - private InputMap? _freeformTags; - public InputMap FreeformTags - { - get => _freeformTags ?? (_freeformTags = new InputMap()); - set => _freeformTags = value; - } - - [Input("fsuCollectionId")] - public Input? FsuCollectionId { get; set; } - - [Input("goalVersionDetails")] - public Input? GoalVersionDetails { get; set; } - - [Input("isIgnoreMissingPatches")] - private InputList? _isIgnoreMissingPatches; - public InputList IsIgnoreMissingPatches - { - get => _isIgnoreMissingPatches ?? (_isIgnoreMissingPatches = new InputList()); - set => _isIgnoreMissingPatches = value; - } - - [Input("isIgnorePatches")] - public Input? IsIgnorePatches { get; set; } - - [Input("isKeepPlacement")] - public Input? IsKeepPlacement { get; set; } - - [Input("lastCompletedAction")] - public Input? LastCompletedAction { get; set; } - - [Input("lifecycleDetails")] - public Input? LifecycleDetails { get; set; } - - [Input("maxDrainTimeoutInSeconds")] - public Input? MaxDrainTimeoutInSeconds { get; set; } - - [Input("nextActionToExecutes")] - private InputList? _nextActionToExecutes; - public InputList NextActionToExecutes - { - get => _nextActionToExecutes ?? (_nextActionToExecutes = new InputList()); - set => _nextActionToExecutes = value; - } - - [Input("stageActionSchedule")] - public Input? StageActionSchedule { get; set; } - - [Input("state")] - public Input? State { get; set; } - - [Input("systemTags")] - private InputMap? _systemTags; - public InputMap SystemTags - { - get => _systemTags ?? (_systemTags = new InputMap()); - set => _systemTags = value; - } - - [Input("timeCreated")] - public Input? TimeCreated { get; set; } - - [Input("timeFinished")] - public Input? TimeFinished { get; set; } - - [Input("timeUpdated")] - public Input? TimeUpdated { get; set; } - - [Input("type")] - public Input? Type { get; set; } - - public FsuCycleState() - { - } - public static new FsuCycleState Empty => new FsuCycleState(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/GetFsuCollection.cs b/sdk/dotnet/FleetSoftwareUpdate/GetFsuCollection.cs deleted file mode 100644 index 9f5f072738..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/GetFsuCollection.cs +++ /dev/null @@ -1,121 +0,0 @@ -// *** 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.FleetSoftwareUpdate -{ - public static class GetFsuCollection - { - public static Task InvokeAsync(GetFsuCollectionArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("oci:FleetSoftwareUpdate/getFsuCollection:getFsuCollection", args ?? new GetFsuCollectionArgs(), options.WithDefaults()); - - public static Output Invoke(GetFsuCollectionInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("oci:FleetSoftwareUpdate/getFsuCollection:getFsuCollection", args ?? new GetFsuCollectionInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetFsuCollectionArgs : global::Pulumi.InvokeArgs - { - [Input("fsuCollectionId", required: true)] - public string FsuCollectionId { get; set; } = null!; - - public GetFsuCollectionArgs() - { - } - public static new GetFsuCollectionArgs Empty => new GetFsuCollectionArgs(); - } - - public sealed class GetFsuCollectionInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("fsuCollectionId", required: true)] - public Input FsuCollectionId { get; set; } = null!; - - public GetFsuCollectionInvokeArgs() - { - } - public static new GetFsuCollectionInvokeArgs Empty => new GetFsuCollectionInvokeArgs(); - } - - - [OutputType] - public sealed class GetFsuCollectionResult - { - public readonly ImmutableArray ActiveFsuCycles; - public readonly string CompartmentId; - public readonly ImmutableDictionary DefinedTags; - public readonly string DisplayName; - public readonly ImmutableArray FleetDiscoveries; - public readonly ImmutableDictionary FreeformTags; - public readonly string FsuCollectionId; - public readonly string Id; - public readonly string LifecycleDetails; - public readonly string ServiceType; - public readonly string SourceMajorVersion; - public readonly string State; - public readonly ImmutableDictionary SystemTags; - public readonly int TargetCount; - public readonly string TimeCreated; - public readonly string TimeUpdated; - public readonly string Type; - - [OutputConstructor] - private GetFsuCollectionResult( - ImmutableArray activeFsuCycles, - - string compartmentId, - - ImmutableDictionary definedTags, - - string displayName, - - ImmutableArray fleetDiscoveries, - - ImmutableDictionary freeformTags, - - string fsuCollectionId, - - string id, - - string lifecycleDetails, - - string serviceType, - - string sourceMajorVersion, - - string state, - - ImmutableDictionary systemTags, - - int targetCount, - - string timeCreated, - - string timeUpdated, - - string type) - { - ActiveFsuCycles = activeFsuCycles; - CompartmentId = compartmentId; - DefinedTags = definedTags; - DisplayName = displayName; - FleetDiscoveries = fleetDiscoveries; - FreeformTags = freeformTags; - FsuCollectionId = fsuCollectionId; - Id = id; - LifecycleDetails = lifecycleDetails; - ServiceType = serviceType; - SourceMajorVersion = sourceMajorVersion; - State = state; - SystemTags = systemTags; - TargetCount = targetCount; - TimeCreated = timeCreated; - TimeUpdated = timeUpdated; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/GetFsuCollections.cs b/sdk/dotnet/FleetSoftwareUpdate/GetFsuCollections.cs deleted file mode 100644 index 10162ff943..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/GetFsuCollections.cs +++ /dev/null @@ -1,118 +0,0 @@ -// *** 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.FleetSoftwareUpdate -{ - public static class GetFsuCollections - { - public static Task InvokeAsync(GetFsuCollectionsArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("oci:FleetSoftwareUpdate/getFsuCollections:getFsuCollections", args ?? new GetFsuCollectionsArgs(), options.WithDefaults()); - - public static Output Invoke(GetFsuCollectionsInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("oci:FleetSoftwareUpdate/getFsuCollections:getFsuCollections", args ?? new GetFsuCollectionsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetFsuCollectionsArgs : global::Pulumi.InvokeArgs - { - [Input("compartmentId", required: true)] - public string CompartmentId { get; set; } = null!; - - [Input("displayName")] - public string? DisplayName { get; set; } - - [Input("filters")] - private List? _filters; - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("state")] - public string? State { get; set; } - - [Input("type")] - public string? Type { get; set; } - - public GetFsuCollectionsArgs() - { - } - public static new GetFsuCollectionsArgs Empty => new GetFsuCollectionsArgs(); - } - - public sealed class GetFsuCollectionsInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("compartmentId", required: true)] - public Input CompartmentId { get; set; } = null!; - - [Input("displayName")] - public Input? DisplayName { get; set; } - - [Input("filters")] - private InputList? _filters; - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("state")] - public Input? State { get; set; } - - [Input("type")] - public Input? Type { get; set; } - - public GetFsuCollectionsInvokeArgs() - { - } - public static new GetFsuCollectionsInvokeArgs Empty => new GetFsuCollectionsInvokeArgs(); - } - - - [OutputType] - public sealed class GetFsuCollectionsResult - { - public readonly string CompartmentId; - public readonly string? DisplayName; - public readonly ImmutableArray Filters; - public readonly ImmutableArray FsuCollectionSummaryCollections; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string? State; - public readonly string? Type; - - [OutputConstructor] - private GetFsuCollectionsResult( - string compartmentId, - - string? displayName, - - ImmutableArray filters, - - ImmutableArray fsuCollectionSummaryCollections, - - string id, - - string? state, - - string? type) - { - CompartmentId = compartmentId; - DisplayName = displayName; - Filters = filters; - FsuCollectionSummaryCollections = fsuCollectionSummaryCollections; - Id = id; - State = state; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/GetFsuCycle.cs b/sdk/dotnet/FleetSoftwareUpdate/GetFsuCycle.cs deleted file mode 100644 index a3edd95dfd..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/GetFsuCycle.cs +++ /dev/null @@ -1,161 +0,0 @@ -// *** 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.FleetSoftwareUpdate -{ - public static class GetFsuCycle - { - public static Task InvokeAsync(GetFsuCycleArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("oci:FleetSoftwareUpdate/getFsuCycle:getFsuCycle", args ?? new GetFsuCycleArgs(), options.WithDefaults()); - - public static Output Invoke(GetFsuCycleInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("oci:FleetSoftwareUpdate/getFsuCycle:getFsuCycle", args ?? new GetFsuCycleInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetFsuCycleArgs : global::Pulumi.InvokeArgs - { - [Input("fsuCycleId", required: true)] - public string FsuCycleId { get; set; } = null!; - - public GetFsuCycleArgs() - { - } - public static new GetFsuCycleArgs Empty => new GetFsuCycleArgs(); - } - - public sealed class GetFsuCycleInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("fsuCycleId", required: true)] - public Input FsuCycleId { get; set; } = null!; - - public GetFsuCycleInvokeArgs() - { - } - public static new GetFsuCycleInvokeArgs Empty => new GetFsuCycleInvokeArgs(); - } - - - [OutputType] - public sealed class GetFsuCycleResult - { - public readonly ImmutableArray ApplyActionSchedules; - public readonly ImmutableArray BatchingStrategies; - public readonly string CollectionType; - public readonly string CompartmentId; - public readonly ImmutableDictionary DefinedTags; - public readonly ImmutableArray DiagnosticsCollections; - public readonly string DisplayName; - public readonly string ExecutingFsuActionId; - public readonly ImmutableDictionary FreeformTags; - public readonly string FsuCollectionId; - public readonly string FsuCycleId; - public readonly ImmutableArray GoalVersionDetails; - public readonly string Id; - public readonly ImmutableArray IsIgnoreMissingPatches; - public readonly bool IsIgnorePatches; - public readonly bool IsKeepPlacement; - public readonly string LastCompletedAction; - public readonly string LifecycleDetails; - public readonly int MaxDrainTimeoutInSeconds; - public readonly ImmutableArray NextActionToExecutes; - public readonly ImmutableArray StageActionSchedules; - public readonly string State; - public readonly ImmutableDictionary SystemTags; - public readonly string TimeCreated; - public readonly string TimeFinished; - public readonly string TimeUpdated; - public readonly string Type; - - [OutputConstructor] - private GetFsuCycleResult( - ImmutableArray applyActionSchedules, - - ImmutableArray batchingStrategies, - - string collectionType, - - string compartmentId, - - ImmutableDictionary definedTags, - - ImmutableArray diagnosticsCollections, - - string displayName, - - string executingFsuActionId, - - ImmutableDictionary freeformTags, - - string fsuCollectionId, - - string fsuCycleId, - - ImmutableArray goalVersionDetails, - - string id, - - ImmutableArray isIgnoreMissingPatches, - - bool isIgnorePatches, - - bool isKeepPlacement, - - string lastCompletedAction, - - string lifecycleDetails, - - int maxDrainTimeoutInSeconds, - - ImmutableArray nextActionToExecutes, - - ImmutableArray stageActionSchedules, - - string state, - - ImmutableDictionary systemTags, - - string timeCreated, - - string timeFinished, - - string timeUpdated, - - string type) - { - ApplyActionSchedules = applyActionSchedules; - BatchingStrategies = batchingStrategies; - CollectionType = collectionType; - CompartmentId = compartmentId; - DefinedTags = definedTags; - DiagnosticsCollections = diagnosticsCollections; - DisplayName = displayName; - ExecutingFsuActionId = executingFsuActionId; - FreeformTags = freeformTags; - FsuCollectionId = fsuCollectionId; - FsuCycleId = fsuCycleId; - GoalVersionDetails = goalVersionDetails; - Id = id; - IsIgnoreMissingPatches = isIgnoreMissingPatches; - IsIgnorePatches = isIgnorePatches; - IsKeepPlacement = isKeepPlacement; - LastCompletedAction = lastCompletedAction; - LifecycleDetails = lifecycleDetails; - MaxDrainTimeoutInSeconds = maxDrainTimeoutInSeconds; - NextActionToExecutes = nextActionToExecutes; - StageActionSchedules = stageActionSchedules; - State = state; - SystemTags = systemTags; - TimeCreated = timeCreated; - TimeFinished = timeFinished; - TimeUpdated = timeUpdated; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/GetFsuCycles.cs b/sdk/dotnet/FleetSoftwareUpdate/GetFsuCycles.cs deleted file mode 100644 index 2d62a352af..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/GetFsuCycles.cs +++ /dev/null @@ -1,138 +0,0 @@ -// *** 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.FleetSoftwareUpdate -{ - public static class GetFsuCycles - { - public static Task InvokeAsync(GetFsuCyclesArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("oci:FleetSoftwareUpdate/getFsuCycles:getFsuCycles", args ?? new GetFsuCyclesArgs(), options.WithDefaults()); - - public static Output Invoke(GetFsuCyclesInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("oci:FleetSoftwareUpdate/getFsuCycles:getFsuCycles", args ?? new GetFsuCyclesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetFsuCyclesArgs : global::Pulumi.InvokeArgs - { - [Input("collectionType")] - public string? CollectionType { get; set; } - - [Input("compartmentId", required: true)] - public string CompartmentId { get; set; } = null!; - - [Input("displayName")] - public string? DisplayName { get; set; } - - [Input("filters")] - private List? _filters; - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - [Input("fsuCollectionId")] - public string? FsuCollectionId { get; set; } - - [Input("state")] - public string? State { get; set; } - - [Input("targetVersion")] - public string? TargetVersion { get; set; } - - public GetFsuCyclesArgs() - { - } - public static new GetFsuCyclesArgs Empty => new GetFsuCyclesArgs(); - } - - public sealed class GetFsuCyclesInvokeArgs : global::Pulumi.InvokeArgs - { - [Input("collectionType")] - public Input? CollectionType { get; set; } - - [Input("compartmentId", required: true)] - public Input CompartmentId { get; set; } = null!; - - [Input("displayName")] - public Input? DisplayName { get; set; } - - [Input("filters")] - private InputList? _filters; - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("fsuCollectionId")] - public Input? FsuCollectionId { get; set; } - - [Input("state")] - public Input? State { get; set; } - - [Input("targetVersion")] - public Input? TargetVersion { get; set; } - - public GetFsuCyclesInvokeArgs() - { - } - public static new GetFsuCyclesInvokeArgs Empty => new GetFsuCyclesInvokeArgs(); - } - - - [OutputType] - public sealed class GetFsuCyclesResult - { - public readonly string? CollectionType; - public readonly string CompartmentId; - public readonly string? DisplayName; - public readonly ImmutableArray Filters; - public readonly string? FsuCollectionId; - public readonly ImmutableArray FsuCycleSummaryCollections; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - public readonly string? State; - public readonly string? TargetVersion; - - [OutputConstructor] - private GetFsuCyclesResult( - string? collectionType, - - string compartmentId, - - string? displayName, - - ImmutableArray filters, - - string? fsuCollectionId, - - ImmutableArray fsuCycleSummaryCollections, - - string id, - - string? state, - - string? targetVersion) - { - CollectionType = collectionType; - CompartmentId = compartmentId; - DisplayName = displayName; - Filters = filters; - FsuCollectionId = fsuCollectionId; - FsuCycleSummaryCollections = fsuCycleSummaryCollections; - Id = id; - State = state; - TargetVersion = targetVersion; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionActiveFsuCycleArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionActiveFsuCycleArgs.cs deleted file mode 100644 index 1692ca0e82..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionActiveFsuCycleArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCollectionActiveFsuCycleArgs : global::Pulumi.ResourceArgs - { - [Input("displayName")] - public Input? DisplayName { get; set; } - - [Input("id")] - public Input? Id { get; set; } - - public FsuCollectionActiveFsuCycleArgs() - { - } - public static new FsuCollectionActiveFsuCycleArgs Empty => new FsuCollectionActiveFsuCycleArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionActiveFsuCycleGetArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionActiveFsuCycleGetArgs.cs deleted file mode 100644 index cd279349be..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionActiveFsuCycleGetArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCollectionActiveFsuCycleGetArgs : global::Pulumi.ResourceArgs - { - [Input("displayName")] - public Input? DisplayName { get; set; } - - [Input("id")] - public Input? Id { get; set; } - - public FsuCollectionActiveFsuCycleGetArgs() - { - } - public static new FsuCollectionActiveFsuCycleGetArgs Empty => new FsuCollectionActiveFsuCycleGetArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryArgs.cs deleted file mode 100644 index 75380c0da3..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryArgs.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCollectionFleetDiscoveryArgs : global::Pulumi.ResourceArgs - { - [Input("filters")] - private InputList? _filters; - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("fsuDiscoveryId")] - public Input? FsuDiscoveryId { get; set; } - - [Input("query")] - public Input? Query { get; set; } - - [Input("strategy", required: true)] - public Input Strategy { get; set; } = null!; - - [Input("targets")] - private InputList? _targets; - public InputList Targets - { - get => _targets ?? (_targets = new InputList()); - set => _targets = value; - } - - public FsuCollectionFleetDiscoveryArgs() - { - } - public static new FsuCollectionFleetDiscoveryArgs Empty => new FsuCollectionFleetDiscoveryArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterArgs.cs deleted file mode 100644 index 866ae38147..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterArgs.cs +++ /dev/null @@ -1,64 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCollectionFleetDiscoveryFilterArgs : global::Pulumi.ResourceArgs - { - [Input("entityType")] - public Input? EntityType { get; set; } - - [Input("identifiers")] - private InputList? _identifiers; - public InputList Identifiers - { - get => _identifiers ?? (_identifiers = new InputList()); - set => _identifiers = value; - } - - [Input("mode")] - public Input? Mode { get; set; } - - [Input("names")] - private InputList? _names; - public InputList Names - { - get => _names ?? (_names = new InputList()); - set => _names = value; - } - - [Input("operator")] - public Input? Operator { get; set; } - - [Input("tags")] - private InputList? _tags; - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - [Input("versions")] - private InputList? _versions; - public InputList Versions - { - get => _versions ?? (_versions = new InputList()); - set => _versions = value; - } - - public FsuCollectionFleetDiscoveryFilterArgs() - { - } - public static new FsuCollectionFleetDiscoveryFilterArgs Empty => new FsuCollectionFleetDiscoveryFilterArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterGetArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterGetArgs.cs deleted file mode 100644 index 931779f80f..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterGetArgs.cs +++ /dev/null @@ -1,64 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCollectionFleetDiscoveryFilterGetArgs : global::Pulumi.ResourceArgs - { - [Input("entityType")] - public Input? EntityType { get; set; } - - [Input("identifiers")] - private InputList? _identifiers; - public InputList Identifiers - { - get => _identifiers ?? (_identifiers = new InputList()); - set => _identifiers = value; - } - - [Input("mode")] - public Input? Mode { get; set; } - - [Input("names")] - private InputList? _names; - public InputList Names - { - get => _names ?? (_names = new InputList()); - set => _names = value; - } - - [Input("operator")] - public Input? Operator { get; set; } - - [Input("tags")] - private InputList? _tags; - public InputList Tags - { - get => _tags ?? (_tags = new InputList()); - set => _tags = value; - } - - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - [Input("versions")] - private InputList? _versions; - public InputList Versions - { - get => _versions ?? (_versions = new InputList()); - set => _versions = value; - } - - public FsuCollectionFleetDiscoveryFilterGetArgs() - { - } - public static new FsuCollectionFleetDiscoveryFilterGetArgs Empty => new FsuCollectionFleetDiscoveryFilterGetArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterTagArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterTagArgs.cs deleted file mode 100644 index e07f30d43c..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterTagArgs.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCollectionFleetDiscoveryFilterTagArgs : global::Pulumi.ResourceArgs - { - [Input("key", required: true)] - public Input Key { get; set; } = null!; - - [Input("namespace")] - public Input? Namespace { get; set; } - - [Input("value", required: true)] - public Input Value { get; set; } = null!; - - public FsuCollectionFleetDiscoveryFilterTagArgs() - { - } - public static new FsuCollectionFleetDiscoveryFilterTagArgs Empty => new FsuCollectionFleetDiscoveryFilterTagArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterTagGetArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterTagGetArgs.cs deleted file mode 100644 index 8cd4285d25..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryFilterTagGetArgs.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCollectionFleetDiscoveryFilterTagGetArgs : global::Pulumi.ResourceArgs - { - [Input("key", required: true)] - public Input Key { get; set; } = null!; - - [Input("namespace")] - public Input? Namespace { get; set; } - - [Input("value", required: true)] - public Input Value { get; set; } = null!; - - public FsuCollectionFleetDiscoveryFilterTagGetArgs() - { - } - public static new FsuCollectionFleetDiscoveryFilterTagGetArgs Empty => new FsuCollectionFleetDiscoveryFilterTagGetArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryGetArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryGetArgs.cs deleted file mode 100644 index 664d300e58..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCollectionFleetDiscoveryGetArgs.cs +++ /dev/null @@ -1,45 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCollectionFleetDiscoveryGetArgs : global::Pulumi.ResourceArgs - { - [Input("filters")] - private InputList? _filters; - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - [Input("fsuDiscoveryId")] - public Input? FsuDiscoveryId { get; set; } - - [Input("query")] - public Input? Query { get; set; } - - [Input("strategy", required: true)] - public Input Strategy { get; set; } = null!; - - [Input("targets")] - private InputList? _targets; - public InputList Targets - { - get => _targets ?? (_targets = new InputList()); - set => _targets = value; - } - - public FsuCollectionFleetDiscoveryGetArgs() - { - } - public static new FsuCollectionFleetDiscoveryGetArgs Empty => new FsuCollectionFleetDiscoveryGetArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleApplyActionScheduleArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleApplyActionScheduleArgs.cs deleted file mode 100644 index d2760314f8..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleApplyActionScheduleArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleApplyActionScheduleArgs : global::Pulumi.ResourceArgs - { - [Input("timeToStart", required: true)] - public Input TimeToStart { get; set; } = null!; - - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - public FsuCycleApplyActionScheduleArgs() - { - } - public static new FsuCycleApplyActionScheduleArgs Empty => new FsuCycleApplyActionScheduleArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleApplyActionScheduleGetArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleApplyActionScheduleGetArgs.cs deleted file mode 100644 index 66c00125dd..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleApplyActionScheduleGetArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleApplyActionScheduleGetArgs : global::Pulumi.ResourceArgs - { - [Input("timeToStart", required: true)] - public Input TimeToStart { get; set; } = null!; - - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - public FsuCycleApplyActionScheduleGetArgs() - { - } - public static new FsuCycleApplyActionScheduleGetArgs Empty => new FsuCycleApplyActionScheduleGetArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleBatchingStrategyArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleBatchingStrategyArgs.cs deleted file mode 100644 index 227cd62db9..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleBatchingStrategyArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleBatchingStrategyArgs : global::Pulumi.ResourceArgs - { - [Input("isForceRolling")] - public Input? IsForceRolling { get; set; } - - [Input("isWaitForBatchResume")] - public Input? IsWaitForBatchResume { get; set; } - - [Input("percentage")] - public Input? Percentage { get; set; } - - [Input("type")] - public Input? Type { get; set; } - - public FsuCycleBatchingStrategyArgs() - { - } - public static new FsuCycleBatchingStrategyArgs Empty => new FsuCycleBatchingStrategyArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleBatchingStrategyGetArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleBatchingStrategyGetArgs.cs deleted file mode 100644 index 98c247009c..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleBatchingStrategyGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleBatchingStrategyGetArgs : global::Pulumi.ResourceArgs - { - [Input("isForceRolling")] - public Input? IsForceRolling { get; set; } - - [Input("isWaitForBatchResume")] - public Input? IsWaitForBatchResume { get; set; } - - [Input("percentage")] - public Input? Percentage { get; set; } - - [Input("type")] - public Input? Type { get; set; } - - public FsuCycleBatchingStrategyGetArgs() - { - } - public static new FsuCycleBatchingStrategyGetArgs Empty => new FsuCycleBatchingStrategyGetArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleDiagnosticsCollectionArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleDiagnosticsCollectionArgs.cs deleted file mode 100644 index 70c97b80ea..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleDiagnosticsCollectionArgs.cs +++ /dev/null @@ -1,23 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleDiagnosticsCollectionArgs : global::Pulumi.ResourceArgs - { - [Input("logCollectionMode")] - public Input? LogCollectionMode { get; set; } - - public FsuCycleDiagnosticsCollectionArgs() - { - } - public static new FsuCycleDiagnosticsCollectionArgs Empty => new FsuCycleDiagnosticsCollectionArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleDiagnosticsCollectionGetArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleDiagnosticsCollectionGetArgs.cs deleted file mode 100644 index 6ceb0ccbfe..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleDiagnosticsCollectionGetArgs.cs +++ /dev/null @@ -1,23 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleDiagnosticsCollectionGetArgs : global::Pulumi.ResourceArgs - { - [Input("logCollectionMode")] - public Input? LogCollectionMode { get; set; } - - public FsuCycleDiagnosticsCollectionGetArgs() - { - } - public static new FsuCycleDiagnosticsCollectionGetArgs Empty => new FsuCycleDiagnosticsCollectionGetArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleGoalVersionDetailsArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleGoalVersionDetailsArgs.cs deleted file mode 100644 index 22d55eefd6..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleGoalVersionDetailsArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleGoalVersionDetailsArgs : global::Pulumi.ResourceArgs - { - [Input("homePolicy")] - public Input? HomePolicy { get; set; } - - [Input("newHomePrefix")] - public Input? NewHomePrefix { get; set; } - - [Input("softwareImageId")] - public Input? SoftwareImageId { get; set; } - - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - [Input("version")] - public Input? Version { get; set; } - - public FsuCycleGoalVersionDetailsArgs() - { - } - public static new FsuCycleGoalVersionDetailsArgs Empty => new FsuCycleGoalVersionDetailsArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleGoalVersionDetailsGetArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleGoalVersionDetailsGetArgs.cs deleted file mode 100644 index 99ad1932fa..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleGoalVersionDetailsGetArgs.cs +++ /dev/null @@ -1,35 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleGoalVersionDetailsGetArgs : global::Pulumi.ResourceArgs - { - [Input("homePolicy")] - public Input? HomePolicy { get; set; } - - [Input("newHomePrefix")] - public Input? NewHomePrefix { get; set; } - - [Input("softwareImageId")] - public Input? SoftwareImageId { get; set; } - - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - [Input("version")] - public Input? Version { get; set; } - - public FsuCycleGoalVersionDetailsGetArgs() - { - } - public static new FsuCycleGoalVersionDetailsGetArgs Empty => new FsuCycleGoalVersionDetailsGetArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleNextActionToExecuteArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleNextActionToExecuteArgs.cs deleted file mode 100644 index 85692e427c..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleNextActionToExecuteArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleNextActionToExecuteArgs : global::Pulumi.ResourceArgs - { - [Input("timeToStart")] - public Input? TimeToStart { get; set; } - - [Input("type")] - public Input? Type { get; set; } - - public FsuCycleNextActionToExecuteArgs() - { - } - public static new FsuCycleNextActionToExecuteArgs Empty => new FsuCycleNextActionToExecuteArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleNextActionToExecuteGetArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleNextActionToExecuteGetArgs.cs deleted file mode 100644 index 39774409d7..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleNextActionToExecuteGetArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleNextActionToExecuteGetArgs : global::Pulumi.ResourceArgs - { - [Input("timeToStart")] - public Input? TimeToStart { get; set; } - - [Input("type")] - public Input? Type { get; set; } - - public FsuCycleNextActionToExecuteGetArgs() - { - } - public static new FsuCycleNextActionToExecuteGetArgs Empty => new FsuCycleNextActionToExecuteGetArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleStageActionScheduleArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleStageActionScheduleArgs.cs deleted file mode 100644 index 6122e92ac8..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleStageActionScheduleArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleStageActionScheduleArgs : global::Pulumi.ResourceArgs - { - [Input("timeToStart", required: true)] - public Input TimeToStart { get; set; } = null!; - - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - public FsuCycleStageActionScheduleArgs() - { - } - public static new FsuCycleStageActionScheduleArgs Empty => new FsuCycleStageActionScheduleArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleStageActionScheduleGetArgs.cs b/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleStageActionScheduleGetArgs.cs deleted file mode 100644 index dbffff2270..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Inputs/FsuCycleStageActionScheduleGetArgs.cs +++ /dev/null @@ -1,26 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Inputs -{ - - public sealed class FsuCycleStageActionScheduleGetArgs : global::Pulumi.ResourceArgs - { - [Input("timeToStart", required: true)] - public Input TimeToStart { get; set; } = null!; - - [Input("type", required: true)] - public Input Type { get; set; } = null!; - - public FsuCycleStageActionScheduleGetArgs() - { - } - public static new FsuCycleStageActionScheduleGetArgs Empty => new FsuCycleStageActionScheduleGetArgs(); - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionActiveFsuCycle.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionActiveFsuCycle.cs deleted file mode 100644 index 884beed470..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionActiveFsuCycle.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class FsuCollectionActiveFsuCycle - { - public readonly string? DisplayName; - public readonly string? Id; - - [OutputConstructor] - private FsuCollectionActiveFsuCycle( - string? displayName, - - string? id) - { - DisplayName = displayName; - Id = id; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionFleetDiscovery.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionFleetDiscovery.cs deleted file mode 100644 index cafd5017b6..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionFleetDiscovery.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class FsuCollectionFleetDiscovery - { - public readonly ImmutableArray Filters; - public readonly string? FsuDiscoveryId; - public readonly string? Query; - public readonly string Strategy; - public readonly ImmutableArray Targets; - - [OutputConstructor] - private FsuCollectionFleetDiscovery( - ImmutableArray filters, - - string? fsuDiscoveryId, - - string? query, - - string strategy, - - ImmutableArray targets) - { - Filters = filters; - FsuDiscoveryId = fsuDiscoveryId; - Query = query; - Strategy = strategy; - Targets = targets; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionFleetDiscoveryFilter.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionFleetDiscoveryFilter.cs deleted file mode 100644 index f5e031069f..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionFleetDiscoveryFilter.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class FsuCollectionFleetDiscoveryFilter - { - public readonly string? EntityType; - public readonly ImmutableArray Identifiers; - public readonly string? Mode; - public readonly ImmutableArray Names; - public readonly string? Operator; - public readonly ImmutableArray Tags; - public readonly string Type; - public readonly ImmutableArray Versions; - - [OutputConstructor] - private FsuCollectionFleetDiscoveryFilter( - string? entityType, - - ImmutableArray identifiers, - - string? mode, - - ImmutableArray names, - - string? @operator, - - ImmutableArray tags, - - string type, - - ImmutableArray versions) - { - EntityType = entityType; - Identifiers = identifiers; - Mode = mode; - Names = names; - Operator = @operator; - Tags = tags; - Type = type; - Versions = versions; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionFleetDiscoveryFilterTag.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionFleetDiscoveryFilterTag.cs deleted file mode 100644 index a72826120d..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCollectionFleetDiscoveryFilterTag.cs +++ /dev/null @@ -1,33 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class FsuCollectionFleetDiscoveryFilterTag - { - public readonly string Key; - public readonly string? Namespace; - public readonly string Value; - - [OutputConstructor] - private FsuCollectionFleetDiscoveryFilterTag( - string key, - - string? @namespace, - - string value) - { - Key = key; - Namespace = @namespace; - Value = value; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleApplyActionSchedule.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleApplyActionSchedule.cs deleted file mode 100644 index 96ebe96b9a..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleApplyActionSchedule.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class FsuCycleApplyActionSchedule - { - public readonly string TimeToStart; - public readonly string Type; - - [OutputConstructor] - private FsuCycleApplyActionSchedule( - string timeToStart, - - string type) - { - TimeToStart = timeToStart; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleBatchingStrategy.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleBatchingStrategy.cs deleted file mode 100644 index 74d60a7617..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleBatchingStrategy.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class FsuCycleBatchingStrategy - { - public readonly bool? IsForceRolling; - public readonly bool? IsWaitForBatchResume; - public readonly int? Percentage; - public readonly string? Type; - - [OutputConstructor] - private FsuCycleBatchingStrategy( - bool? isForceRolling, - - bool? isWaitForBatchResume, - - int? percentage, - - string? type) - { - IsForceRolling = isForceRolling; - IsWaitForBatchResume = isWaitForBatchResume; - Percentage = percentage; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleGoalVersionDetails.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleGoalVersionDetails.cs deleted file mode 100644 index 9acec49138..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleGoalVersionDetails.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class FsuCycleGoalVersionDetails - { - public readonly string? HomePolicy; - public readonly string? NewHomePrefix; - public readonly string? SoftwareImageId; - public readonly string Type; - public readonly string? Version; - - [OutputConstructor] - private FsuCycleGoalVersionDetails( - string? homePolicy, - - string? newHomePrefix, - - string? softwareImageId, - - string type, - - string? version) - { - HomePolicy = homePolicy; - NewHomePrefix = newHomePrefix; - SoftwareImageId = softwareImageId; - Type = type; - Version = version; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleStageActionSchedule.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleStageActionSchedule.cs deleted file mode 100644 index 883c8a0e14..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleStageActionSchedule.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class FsuCycleStageActionSchedule - { - public readonly string TimeToStart; - public readonly string Type; - - [OutputConstructor] - private FsuCycleStageActionSchedule( - string timeToStart, - - string type) - { - TimeToStart = timeToStart; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionActiveFsuCycleResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionActiveFsuCycleResult.cs deleted file mode 100644 index 86f1c2f497..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionActiveFsuCycleResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCollectionActiveFsuCycleResult - { - public readonly string DisplayName; - public readonly string Id; - - [OutputConstructor] - private GetFsuCollectionActiveFsuCycleResult( - string displayName, - - string id) - { - DisplayName = displayName; - Id = id; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionFleetDiscoveryFilterResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionFleetDiscoveryFilterResult.cs deleted file mode 100644 index eaf62db87f..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionFleetDiscoveryFilterResult.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCollectionFleetDiscoveryFilterResult - { - public readonly string EntityType; - public readonly ImmutableArray Identifiers; - public readonly string Mode; - public readonly ImmutableArray Names; - public readonly string Operator; - public readonly ImmutableArray Tags; - public readonly string Type; - public readonly ImmutableArray Versions; - - [OutputConstructor] - private GetFsuCollectionFleetDiscoveryFilterResult( - string entityType, - - ImmutableArray identifiers, - - string mode, - - ImmutableArray names, - - string @operator, - - ImmutableArray tags, - - string type, - - ImmutableArray versions) - { - EntityType = entityType; - Identifiers = identifiers; - Mode = mode; - Names = names; - Operator = @operator; - Tags = tags; - Type = type; - Versions = versions; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionFleetDiscoveryResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionFleetDiscoveryResult.cs deleted file mode 100644 index 075d0a103f..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionFleetDiscoveryResult.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCollectionFleetDiscoveryResult - { - public readonly ImmutableArray Filters; - public readonly string FsuDiscoveryId; - public readonly string Query; - public readonly string Strategy; - public readonly ImmutableArray Targets; - - [OutputConstructor] - private GetFsuCollectionFleetDiscoveryResult( - ImmutableArray filters, - - string fsuDiscoveryId, - - string query, - - string strategy, - - ImmutableArray targets) - { - Filters = filters; - FsuDiscoveryId = fsuDiscoveryId; - Query = query; - Strategy = strategy; - Targets = targets; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleResult.cs deleted file mode 100644 index 6dbfa2a922..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleResult - { - public readonly string DisplayName; - public readonly string Id; - - [OutputConstructor] - private GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleResult( - string displayName, - - string id) - { - DisplayName = displayName; - Id = id; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterResult.cs deleted file mode 100644 index 3aa462bc8c..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterResult.cs +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterResult - { - public readonly string EntityType; - public readonly ImmutableArray Identifiers; - public readonly string Mode; - public readonly ImmutableArray Names; - public readonly string Operator; - public readonly ImmutableArray Tags; - public readonly string Type; - public readonly ImmutableArray Versions; - - [OutputConstructor] - private GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterResult( - string entityType, - - ImmutableArray identifiers, - - string mode, - - ImmutableArray names, - - string @operator, - - ImmutableArray tags, - - string type, - - ImmutableArray versions) - { - EntityType = entityType; - Identifiers = identifiers; - Mode = mode; - Names = names; - Operator = @operator; - Tags = tags; - Type = type; - Versions = versions; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagResult.cs deleted file mode 100644 index 2a25db5960..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagResult.cs +++ /dev/null @@ -1,33 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagResult - { - public readonly string Key; - public readonly string Namespace; - public readonly string Value; - - [OutputConstructor] - private GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagResult( - string key, - - string @namespace, - - string value) - { - Key = key; - Namespace = @namespace; - Value = value; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryResult.cs deleted file mode 100644 index 1a4f3dd277..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryResult.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryResult - { - public readonly ImmutableArray Filters; - public readonly string FsuDiscoveryId; - public readonly string Query; - public readonly string Strategy; - public readonly ImmutableArray Targets; - - [OutputConstructor] - private GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryResult( - ImmutableArray filters, - - string fsuDiscoveryId, - - string query, - - string strategy, - - ImmutableArray targets) - { - Filters = filters; - FsuDiscoveryId = fsuDiscoveryId; - Query = query; - Strategy = strategy; - Targets = targets; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemResult.cs deleted file mode 100644 index c84d76241b..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemResult.cs +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCollectionsFsuCollectionSummaryCollectionItemResult - { - public readonly ImmutableArray ActiveFsuCycles; - public readonly string CompartmentId; - public readonly ImmutableDictionary DefinedTags; - public readonly string DisplayName; - public readonly ImmutableArray FleetDiscoveries; - public readonly ImmutableDictionary FreeformTags; - public readonly string Id; - public readonly string LifecycleDetails; - public readonly string ServiceType; - public readonly string SourceMajorVersion; - public readonly string State; - public readonly ImmutableDictionary SystemTags; - public readonly int TargetCount; - public readonly string TimeCreated; - public readonly string TimeUpdated; - public readonly string Type; - - [OutputConstructor] - private GetFsuCollectionsFsuCollectionSummaryCollectionItemResult( - ImmutableArray activeFsuCycles, - - string compartmentId, - - ImmutableDictionary definedTags, - - string displayName, - - ImmutableArray fleetDiscoveries, - - ImmutableDictionary freeformTags, - - string id, - - string lifecycleDetails, - - string serviceType, - - string sourceMajorVersion, - - string state, - - ImmutableDictionary systemTags, - - int targetCount, - - string timeCreated, - - string timeUpdated, - - string type) - { - ActiveFsuCycles = activeFsuCycles; - CompartmentId = compartmentId; - DefinedTags = definedTags; - DisplayName = displayName; - FleetDiscoveries = fleetDiscoveries; - FreeformTags = freeformTags; - Id = id; - LifecycleDetails = lifecycleDetails; - ServiceType = serviceType; - SourceMajorVersion = sourceMajorVersion; - State = state; - SystemTags = systemTags; - TargetCount = targetCount; - TimeCreated = timeCreated; - TimeUpdated = timeUpdated; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleApplyActionScheduleResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleApplyActionScheduleResult.cs deleted file mode 100644 index a6d33aa4a9..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleApplyActionScheduleResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCycleApplyActionScheduleResult - { - public readonly string TimeToStart; - public readonly string Type; - - [OutputConstructor] - private GetFsuCycleApplyActionScheduleResult( - string timeToStart, - - string type) - { - TimeToStart = timeToStart; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleBatchingStrategyResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleBatchingStrategyResult.cs deleted file mode 100644 index 806f213fa8..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleBatchingStrategyResult.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCycleBatchingStrategyResult - { - public readonly bool IsForceRolling; - public readonly bool IsWaitForBatchResume; - public readonly int Percentage; - public readonly string Type; - - [OutputConstructor] - private GetFsuCycleBatchingStrategyResult( - bool isForceRolling, - - bool isWaitForBatchResume, - - int percentage, - - string type) - { - IsForceRolling = isForceRolling; - IsWaitForBatchResume = isWaitForBatchResume; - Percentage = percentage; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleDiagnosticsCollectionResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleDiagnosticsCollectionResult.cs deleted file mode 100644 index 7d7ba2dc11..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleDiagnosticsCollectionResult.cs +++ /dev/null @@ -1,24 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCycleDiagnosticsCollectionResult - { - public readonly string LogCollectionMode; - - [OutputConstructor] - private GetFsuCycleDiagnosticsCollectionResult(string logCollectionMode) - { - LogCollectionMode = logCollectionMode; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleGoalVersionDetailResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleGoalVersionDetailResult.cs deleted file mode 100644 index 514ccf4cd0..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleGoalVersionDetailResult.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCycleGoalVersionDetailResult - { - public readonly string HomePolicy; - public readonly string NewHomePrefix; - public readonly string SoftwareImageId; - public readonly string Type; - public readonly string Version; - - [OutputConstructor] - private GetFsuCycleGoalVersionDetailResult( - string homePolicy, - - string newHomePrefix, - - string softwareImageId, - - string type, - - string version) - { - HomePolicy = homePolicy; - NewHomePrefix = newHomePrefix; - SoftwareImageId = softwareImageId; - Type = type; - Version = version; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleNextActionToExecuteResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleNextActionToExecuteResult.cs deleted file mode 100644 index 66e8c35bdb..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleNextActionToExecuteResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCycleNextActionToExecuteResult - { - public readonly string TimeToStart; - public readonly string Type; - - [OutputConstructor] - private GetFsuCycleNextActionToExecuteResult( - string timeToStart, - - string type) - { - TimeToStart = timeToStart; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleStageActionScheduleResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleStageActionScheduleResult.cs deleted file mode 100644 index 6cfd376b50..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCycleStageActionScheduleResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCycleStageActionScheduleResult - { - public readonly string TimeToStart; - public readonly string Type; - - [OutputConstructor] - private GetFsuCycleStageActionScheduleResult( - string timeToStart, - - string type) - { - TimeToStart = timeToStart; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleResult.cs deleted file mode 100644 index bfb19ccf96..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleResult - { - public readonly string TimeToStart; - public readonly string Type; - - [OutputConstructor] - private GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleResult( - string timeToStart, - - string type) - { - TimeToStart = timeToStart; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyResult.cs deleted file mode 100644 index 792abb22b7..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyResult.cs +++ /dev/null @@ -1,37 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyResult - { - public readonly bool IsForceRolling; - public readonly bool IsWaitForBatchResume; - public readonly int Percentage; - public readonly string Type; - - [OutputConstructor] - private GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyResult( - bool isForceRolling, - - bool isWaitForBatchResume, - - int percentage, - - string type) - { - IsForceRolling = isForceRolling; - IsWaitForBatchResume = isWaitForBatchResume; - Percentage = percentage; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionResult.cs deleted file mode 100644 index 6941513fe2..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionResult.cs +++ /dev/null @@ -1,24 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionResult - { - public readonly string LogCollectionMode; - - [OutputConstructor] - private GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionResult(string logCollectionMode) - { - LogCollectionMode = logCollectionMode; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailResult.cs deleted file mode 100644 index a75a9bb9b5..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailResult.cs +++ /dev/null @@ -1,41 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailResult - { - public readonly string HomePolicy; - public readonly string NewHomePrefix; - public readonly string SoftwareImageId; - public readonly string Type; - public readonly string Version; - - [OutputConstructor] - private GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailResult( - string homePolicy, - - string newHomePrefix, - - string softwareImageId, - - string type, - - string version) - { - HomePolicy = homePolicy; - NewHomePrefix = newHomePrefix; - SoftwareImageId = softwareImageId; - Type = type; - Version = version; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteResult.cs deleted file mode 100644 index 01553b2bdb..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteResult - { - public readonly string TimeToStart; - public readonly string Type; - - [OutputConstructor] - private GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteResult( - string timeToStart, - - string type) - { - TimeToStart = timeToStart; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemResult.cs deleted file mode 100644 index d53cc6532b..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemResult.cs +++ /dev/null @@ -1,125 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCyclesFsuCycleSummaryCollectionItemResult - { - public readonly ImmutableArray ApplyActionSchedules; - public readonly ImmutableArray BatchingStrategies; - public readonly string CollectionType; - public readonly string CompartmentId; - public readonly ImmutableDictionary DefinedTags; - public readonly ImmutableArray DiagnosticsCollections; - public readonly string DisplayName; - public readonly string ExecutingFsuActionId; - public readonly ImmutableDictionary FreeformTags; - public readonly string FsuCollectionId; - public readonly ImmutableArray GoalVersionDetails; - public readonly string Id; - public readonly ImmutableArray IsIgnoreMissingPatches; - public readonly bool IsIgnorePatches; - public readonly bool IsKeepPlacement; - public readonly string LastCompletedAction; - public readonly string LifecycleDetails; - public readonly int MaxDrainTimeoutInSeconds; - public readonly ImmutableArray NextActionToExecutes; - public readonly ImmutableArray StageActionSchedules; - public readonly string State; - public readonly ImmutableDictionary SystemTags; - public readonly string TimeCreated; - public readonly string TimeFinished; - public readonly string TimeUpdated; - public readonly string Type; - - [OutputConstructor] - private GetFsuCyclesFsuCycleSummaryCollectionItemResult( - ImmutableArray applyActionSchedules, - - ImmutableArray batchingStrategies, - - string collectionType, - - string compartmentId, - - ImmutableDictionary definedTags, - - ImmutableArray diagnosticsCollections, - - string displayName, - - string executingFsuActionId, - - ImmutableDictionary freeformTags, - - string fsuCollectionId, - - ImmutableArray goalVersionDetails, - - string id, - - ImmutableArray isIgnoreMissingPatches, - - bool isIgnorePatches, - - bool isKeepPlacement, - - string lastCompletedAction, - - string lifecycleDetails, - - int maxDrainTimeoutInSeconds, - - ImmutableArray nextActionToExecutes, - - ImmutableArray stageActionSchedules, - - string state, - - ImmutableDictionary systemTags, - - string timeCreated, - - string timeFinished, - - string timeUpdated, - - string type) - { - ApplyActionSchedules = applyActionSchedules; - BatchingStrategies = batchingStrategies; - CollectionType = collectionType; - CompartmentId = compartmentId; - DefinedTags = definedTags; - DiagnosticsCollections = diagnosticsCollections; - DisplayName = displayName; - ExecutingFsuActionId = executingFsuActionId; - FreeformTags = freeformTags; - FsuCollectionId = fsuCollectionId; - GoalVersionDetails = goalVersionDetails; - Id = id; - IsIgnoreMissingPatches = isIgnoreMissingPatches; - IsIgnorePatches = isIgnorePatches; - IsKeepPlacement = isKeepPlacement; - LastCompletedAction = lastCompletedAction; - LifecycleDetails = lifecycleDetails; - MaxDrainTimeoutInSeconds = maxDrainTimeoutInSeconds; - NextActionToExecutes = nextActionToExecutes; - StageActionSchedules = stageActionSchedules; - State = state; - SystemTags = systemTags; - TimeCreated = timeCreated; - TimeFinished = timeFinished; - TimeUpdated = timeUpdated; - Type = type; - } - } -} diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleResult.cs b/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleResult.cs deleted file mode 100644 index a04e88548f..0000000000 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleResult.cs +++ /dev/null @@ -1,29 +0,0 @@ -// *** 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.FleetSoftwareUpdate.Outputs -{ - - [OutputType] - public sealed class GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleResult - { - public readonly string TimeToStart; - public readonly string Type; - - [OutputConstructor] - private GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleResult( - string timeToStart, - - string type) - { - TimeToStart = timeToStart; - Type = type; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/GetPrivateEndpoint.cs b/sdk/dotnet/GloballyDistributedDatabase/GetPrivateEndpoint.cs deleted file mode 100644 index f0ea7de59c..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/GetPrivateEndpoint.cs +++ /dev/null @@ -1,223 +0,0 @@ -// *** 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.GloballyDistributedDatabase -{ - public static class GetPrivateEndpoint - { - /// - /// This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. - /// - /// Get the PrivateEndpoint resource. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testPrivateEndpoint = Oci.GloballyDistributedDatabase.GetPrivateEndpoint.Invoke(new() - /// { - /// PrivateEndpointId = testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.Id, - /// }); - /// - /// }); - /// ``` - /// - public static Task InvokeAsync(GetPrivateEndpointArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("oci:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint", args ?? new GetPrivateEndpointArgs(), options.WithDefaults()); - - /// - /// This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. - /// - /// Get the PrivateEndpoint resource. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testPrivateEndpoint = Oci.GloballyDistributedDatabase.GetPrivateEndpoint.Invoke(new() - /// { - /// PrivateEndpointId = testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.Id, - /// }); - /// - /// }); - /// ``` - /// - public static Output Invoke(GetPrivateEndpointInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("oci:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint", args ?? new GetPrivateEndpointInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetPrivateEndpointArgs : global::Pulumi.InvokeArgs - { - /// - /// Oracle Sharded Database PrivateEndpoint identifier - /// - [Input("privateEndpointId", required: true)] - public string PrivateEndpointId { get; set; } = null!; - - public GetPrivateEndpointArgs() - { - } - public static new GetPrivateEndpointArgs Empty => new GetPrivateEndpointArgs(); - } - - public sealed class GetPrivateEndpointInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Oracle Sharded Database PrivateEndpoint identifier - /// - [Input("privateEndpointId", required: true)] - public Input PrivateEndpointId { get; set; } = null!; - - public GetPrivateEndpointInvokeArgs() - { - } - public static new GetPrivateEndpointInvokeArgs Empty => new GetPrivateEndpointInvokeArgs(); - } - - - [OutputType] - public sealed class GetPrivateEndpointResult - { - /// - /// Identifier of the compartment in which private endpoint exists. - /// - 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; - /// - /// PrivateEndpoint description. - /// - public readonly string Description; - /// - /// PrivateEndpoint display name. - /// - 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 identifier of the Private Endpoint. - /// - public readonly string Id; - /// - /// Detailed message for the lifecycle state. - /// - public readonly string LifecycleStateDetails; - /// - /// The OCIDs of the network security groups that the private endpoint belongs to. - /// - public readonly ImmutableArray NsgIds; - public readonly string PrivateEndpointId; - /// - /// IP address of the Private Endpoint. - /// - public readonly string PrivateIp; - /// - /// The OCIDs of sharded databases that consumes the given private endpoint. - /// - public readonly ImmutableArray ShardedDatabases; - /// - /// Lifecycle states for private endpoint. - /// - public readonly string State; - /// - /// Identifier of the subnet in which private endpoint exists. - /// - public readonly string SubnetId; - /// - /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - /// - public readonly ImmutableDictionary SystemTags; - /// - /// The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - /// - public readonly string TimeCreated; - /// - /// The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - /// - public readonly string TimeUpdated; - /// - /// Identifier of the VCN in which subnet exists. - /// - public readonly string VcnId; - - [OutputConstructor] - private GetPrivateEndpointResult( - string compartmentId, - - ImmutableDictionary definedTags, - - string description, - - string displayName, - - ImmutableDictionary freeformTags, - - string id, - - string lifecycleStateDetails, - - ImmutableArray nsgIds, - - string privateEndpointId, - - string privateIp, - - ImmutableArray shardedDatabases, - - string state, - - string subnetId, - - ImmutableDictionary systemTags, - - string timeCreated, - - string timeUpdated, - - string vcnId) - { - CompartmentId = compartmentId; - DefinedTags = definedTags; - Description = description; - DisplayName = displayName; - FreeformTags = freeformTags; - Id = id; - LifecycleStateDetails = lifecycleStateDetails; - NsgIds = nsgIds; - PrivateEndpointId = privateEndpointId; - PrivateIp = privateIp; - ShardedDatabases = shardedDatabases; - State = state; - SubnetId = subnetId; - SystemTags = systemTags; - TimeCreated = timeCreated; - TimeUpdated = timeUpdated; - VcnId = vcnId; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/GetPrivateEndpoints.cs b/sdk/dotnet/GloballyDistributedDatabase/GetPrivateEndpoints.cs deleted file mode 100644 index e64f1a8d54..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/GetPrivateEndpoints.cs +++ /dev/null @@ -1,190 +0,0 @@ -// *** 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.GloballyDistributedDatabase -{ - public static class GetPrivateEndpoints - { - /// - /// This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. - /// - /// List of PrivateEndpoints. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testPrivateEndpoints = Oci.GloballyDistributedDatabase.GetPrivateEndpoints.Invoke(new() - /// { - /// CompartmentId = compartmentId, - /// DisplayName = privateEndpointDisplayName, - /// State = privateEndpointState, - /// }); - /// - /// }); - /// ``` - /// - public static Task InvokeAsync(GetPrivateEndpointsArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("oci:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints", args ?? new GetPrivateEndpointsArgs(), options.WithDefaults()); - - /// - /// This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. - /// - /// List of PrivateEndpoints. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testPrivateEndpoints = Oci.GloballyDistributedDatabase.GetPrivateEndpoints.Invoke(new() - /// { - /// CompartmentId = compartmentId, - /// DisplayName = privateEndpointDisplayName, - /// State = privateEndpointState, - /// }); - /// - /// }); - /// ``` - /// - public static Output Invoke(GetPrivateEndpointsInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("oci:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints", args ?? new GetPrivateEndpointsInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetPrivateEndpointsArgs : global::Pulumi.InvokeArgs - { - /// - /// The ID of the compartment in which to list resources. - /// - [Input("compartmentId", required: true)] - public string CompartmentId { get; set; } = null!; - - /// - /// A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - /// - [Input("displayName")] - public string? DisplayName { get; set; } - - [Input("filters")] - private List? _filters; - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// A filter to return only resources their lifecycleState matches the given lifecycleState. - /// - [Input("state")] - public string? State { get; set; } - - public GetPrivateEndpointsArgs() - { - } - public static new GetPrivateEndpointsArgs Empty => new GetPrivateEndpointsArgs(); - } - - public sealed class GetPrivateEndpointsInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The ID of the compartment in which to list resources. - /// - [Input("compartmentId", required: true)] - public Input CompartmentId { get; set; } = null!; - - /// - /// A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - /// - [Input("displayName")] - public Input? DisplayName { get; set; } - - [Input("filters")] - private InputList? _filters; - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// A filter to return only resources their lifecycleState matches the given lifecycleState. - /// - [Input("state")] - public Input? State { get; set; } - - public GetPrivateEndpointsInvokeArgs() - { - } - public static new GetPrivateEndpointsInvokeArgs Empty => new GetPrivateEndpointsInvokeArgs(); - } - - - [OutputType] - public sealed class GetPrivateEndpointsResult - { - /// - /// Identifier of the compartment in which private endpoint exists. - /// - public readonly string CompartmentId; - /// - /// PrivateEndpoint display name. - /// - public readonly string? DisplayName; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The list of private_endpoint_collection. - /// - public readonly ImmutableArray PrivateEndpointCollections; - /// - /// Lifecycle states for private endpoint. - /// - public readonly string? State; - - [OutputConstructor] - private GetPrivateEndpointsResult( - string compartmentId, - - string? displayName, - - ImmutableArray filters, - - string id, - - ImmutableArray privateEndpointCollections, - - string? state) - { - CompartmentId = compartmentId; - DisplayName = displayName; - Filters = filters; - Id = id; - PrivateEndpointCollections = privateEndpointCollections; - State = state; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/GetShardedDatabase.cs b/sdk/dotnet/GloballyDistributedDatabase/GetShardedDatabase.cs deleted file mode 100644 index 98a5f5afc8..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/GetShardedDatabase.cs +++ /dev/null @@ -1,383 +0,0 @@ -// *** 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.GloballyDistributedDatabase -{ - public static class GetShardedDatabase - { - /// - /// This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - /// - /// Gets the details of the Sharded database identified by given id. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testShardedDatabase = Oci.GloballyDistributedDatabase.GetShardedDatabase.Invoke(new() - /// { - /// ShardedDatabaseId = testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.Id, - /// Metadata = shardedDatabaseMetadata, - /// }); - /// - /// }); - /// ``` - /// - public static Task InvokeAsync(GetShardedDatabaseArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("oci:GloballyDistributedDatabase/getShardedDatabase:getShardedDatabase", args ?? new GetShardedDatabaseArgs(), options.WithDefaults()); - - /// - /// This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - /// - /// Gets the details of the Sharded database identified by given id. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testShardedDatabase = Oci.GloballyDistributedDatabase.GetShardedDatabase.Invoke(new() - /// { - /// ShardedDatabaseId = testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.Id, - /// Metadata = shardedDatabaseMetadata, - /// }); - /// - /// }); - /// ``` - /// - public static Output Invoke(GetShardedDatabaseInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("oci:GloballyDistributedDatabase/getShardedDatabase:getShardedDatabase", args ?? new GetShardedDatabaseInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetShardedDatabaseArgs : global::Pulumi.InvokeArgs - { - /// - /// Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - /// - [Input("metadata")] - public string? Metadata { get; set; } - - /// - /// Sharded Database identifier - /// - [Input("shardedDatabaseId", required: true)] - public string ShardedDatabaseId { get; set; } = null!; - - public GetShardedDatabaseArgs() - { - } - public static new GetShardedDatabaseArgs Empty => new GetShardedDatabaseArgs(); - } - - public sealed class GetShardedDatabaseInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - /// - [Input("metadata")] - public Input? Metadata { get; set; } - - /// - /// Sharded Database identifier - /// - [Input("shardedDatabaseId", required: true)] - public Input ShardedDatabaseId { get; set; } = null!; - - public GetShardedDatabaseInvokeArgs() - { - } - public static new GetShardedDatabaseInvokeArgs Empty => new GetShardedDatabaseInvokeArgs(); - } - - - [OutputType] - public sealed class GetShardedDatabaseResult - { - /// - /// Details of ATP-D based catalogs. - /// - public readonly ImmutableArray CatalogDetails; - /// - /// The character set for the database. - /// - public readonly string CharacterSet; - /// - /// The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - /// - public readonly int Chunks; - /// - /// The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - /// - public readonly string ClusterCertificateCommonName; - /// - /// Identifier of the compartment in which sharded database exists. - /// - public readonly string CompartmentId; - public readonly int ConfigureGsmsTrigger; - public readonly int ConfigureShardingTrigger; - /// - /// Details of sharded database connection String. - /// - public readonly ImmutableArray ConnectionStrings; - /// - /// The database deployment type. - /// - public readonly string DbDeploymentType; - /// - /// Oracle Database version number. - /// - public readonly string DbVersion; - /// - /// Possible workload types. - /// - public readonly string DbWorkload; - /// - /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - /// - public readonly ImmutableDictionary DefinedTags; - /// - /// Oracle sharded database display name. - /// - public readonly string DisplayName; - public readonly int DownloadGsmCertificateSigningRequestTrigger; - /// - /// 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; - public readonly int GenerateGsmCertificateSigningRequestTrigger; - public readonly int GenerateWalletTrigger; - public readonly int GetConnectionStringTrigger; - /// - /// Details of GSM instances for the sharded database. - /// - public readonly ImmutableArray Gsms; - /// - /// Sharded Database identifier - /// - public readonly string Id; - public readonly string LifecycleState; - /// - /// Detailed message for the lifecycle state. - /// - public readonly string LifecycleStateDetails; - /// - /// The GSM listener port number. - /// - public readonly int ListenerPort; - /// - /// The TLS listener port number for sharded database. - /// - public readonly int ListenerPortTls; - /// - /// Additional metadata related to shard's underlying supporting resource. - /// - public readonly string? Metadata; - /// - /// The national character set for the database. - /// - public readonly string NcharacterSet; - /// - /// Ons local port number. - /// - public readonly int OnsPortLocal; - /// - /// Ons remote port number. - /// - public readonly int OnsPortRemote; - public readonly ImmutableArray PatchOperations; - /// - /// Unique prefix for the sharded database. - /// - public readonly string Prefix; - /// - /// The OCID of private endpoint being used by the sharded database. - /// - public readonly string PrivateEndpoint; - /// - /// Details of ATP-D based shards. - /// - public readonly ImmutableArray ShardDetails; - public readonly string ShardedDatabaseId; - /// - /// Sharding Method. - /// - public readonly string ShardingMethod; - public readonly int StartDatabaseTrigger; - /// - /// Lifecycle states for sharded databases. - /// - public readonly string State; - public readonly int StopDatabaseTrigger; - /// - /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - /// - public readonly ImmutableDictionary SystemTags; - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - public readonly string TimeCreated; - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - public readonly string TimeUpdated; - /// - /// Timezone associated with the sharded database. - /// - public readonly string TimeZone; - public readonly int UploadSignedCertificateAndGenerateWalletTrigger; - public readonly int ValidateNetworkTrigger; - - [OutputConstructor] - private GetShardedDatabaseResult( - ImmutableArray catalogDetails, - - string characterSet, - - int chunks, - - string clusterCertificateCommonName, - - string compartmentId, - - int configureGsmsTrigger, - - int configureShardingTrigger, - - ImmutableArray connectionStrings, - - string dbDeploymentType, - - string dbVersion, - - string dbWorkload, - - ImmutableDictionary definedTags, - - string displayName, - - int downloadGsmCertificateSigningRequestTrigger, - - ImmutableDictionary freeformTags, - - int generateGsmCertificateSigningRequestTrigger, - - int generateWalletTrigger, - - int getConnectionStringTrigger, - - ImmutableArray gsms, - - string id, - - string lifecycleState, - - string lifecycleStateDetails, - - int listenerPort, - - int listenerPortTls, - - string? metadata, - - string ncharacterSet, - - int onsPortLocal, - - int onsPortRemote, - - ImmutableArray patchOperations, - - string prefix, - - string privateEndpoint, - - ImmutableArray shardDetails, - - string shardedDatabaseId, - - string shardingMethod, - - int startDatabaseTrigger, - - string state, - - int stopDatabaseTrigger, - - ImmutableDictionary systemTags, - - string timeCreated, - - string timeUpdated, - - string timeZone, - - int uploadSignedCertificateAndGenerateWalletTrigger, - - int validateNetworkTrigger) - { - CatalogDetails = catalogDetails; - CharacterSet = characterSet; - Chunks = chunks; - ClusterCertificateCommonName = clusterCertificateCommonName; - CompartmentId = compartmentId; - ConfigureGsmsTrigger = configureGsmsTrigger; - ConfigureShardingTrigger = configureShardingTrigger; - ConnectionStrings = connectionStrings; - DbDeploymentType = dbDeploymentType; - DbVersion = dbVersion; - DbWorkload = dbWorkload; - DefinedTags = definedTags; - DisplayName = displayName; - DownloadGsmCertificateSigningRequestTrigger = downloadGsmCertificateSigningRequestTrigger; - FreeformTags = freeformTags; - GenerateGsmCertificateSigningRequestTrigger = generateGsmCertificateSigningRequestTrigger; - GenerateWalletTrigger = generateWalletTrigger; - GetConnectionStringTrigger = getConnectionStringTrigger; - Gsms = gsms; - Id = id; - LifecycleState = lifecycleState; - LifecycleStateDetails = lifecycleStateDetails; - ListenerPort = listenerPort; - ListenerPortTls = listenerPortTls; - Metadata = metadata; - NcharacterSet = ncharacterSet; - OnsPortLocal = onsPortLocal; - OnsPortRemote = onsPortRemote; - PatchOperations = patchOperations; - Prefix = prefix; - PrivateEndpoint = privateEndpoint; - ShardDetails = shardDetails; - ShardedDatabaseId = shardedDatabaseId; - ShardingMethod = shardingMethod; - StartDatabaseTrigger = startDatabaseTrigger; - State = state; - StopDatabaseTrigger = stopDatabaseTrigger; - SystemTags = systemTags; - TimeCreated = timeCreated; - TimeUpdated = timeUpdated; - TimeZone = timeZone; - UploadSignedCertificateAndGenerateWalletTrigger = uploadSignedCertificateAndGenerateWalletTrigger; - ValidateNetworkTrigger = validateNetworkTrigger; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/GetShardedDatabases.cs b/sdk/dotnet/GloballyDistributedDatabase/GetShardedDatabases.cs deleted file mode 100644 index 315812cd61..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/GetShardedDatabases.cs +++ /dev/null @@ -1,190 +0,0 @@ -// *** 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.GloballyDistributedDatabase -{ - public static class GetShardedDatabases - { - /// - /// This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. - /// - /// List of Sharded databases. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testShardedDatabases = Oci.GloballyDistributedDatabase.GetShardedDatabases.Invoke(new() - /// { - /// CompartmentId = compartmentId, - /// DisplayName = shardedDatabaseDisplayName, - /// State = shardedDatabaseState, - /// }); - /// - /// }); - /// ``` - /// - public static Task InvokeAsync(GetShardedDatabasesArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.InvokeAsync("oci:GloballyDistributedDatabase/getShardedDatabases:getShardedDatabases", args ?? new GetShardedDatabasesArgs(), options.WithDefaults()); - - /// - /// This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. - /// - /// List of Sharded databases. - /// - /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testShardedDatabases = Oci.GloballyDistributedDatabase.GetShardedDatabases.Invoke(new() - /// { - /// CompartmentId = compartmentId, - /// DisplayName = shardedDatabaseDisplayName, - /// State = shardedDatabaseState, - /// }); - /// - /// }); - /// ``` - /// - public static Output Invoke(GetShardedDatabasesInvokeArgs args, InvokeOptions? options = null) - => global::Pulumi.Deployment.Instance.Invoke("oci:GloballyDistributedDatabase/getShardedDatabases:getShardedDatabases", args ?? new GetShardedDatabasesInvokeArgs(), options.WithDefaults()); - } - - - public sealed class GetShardedDatabasesArgs : global::Pulumi.InvokeArgs - { - /// - /// The ID of the compartment in which to list resources. - /// - [Input("compartmentId", required: true)] - public string CompartmentId { get; set; } = null!; - - /// - /// A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - /// - [Input("displayName")] - public string? DisplayName { get; set; } - - [Input("filters")] - private List? _filters; - public List Filters - { - get => _filters ?? (_filters = new List()); - set => _filters = value; - } - - /// - /// A filter to return only resources their lifecycleState matches the given lifecycleState. - /// - [Input("state")] - public string? State { get; set; } - - public GetShardedDatabasesArgs() - { - } - public static new GetShardedDatabasesArgs Empty => new GetShardedDatabasesArgs(); - } - - public sealed class GetShardedDatabasesInvokeArgs : global::Pulumi.InvokeArgs - { - /// - /// The ID of the compartment in which to list resources. - /// - [Input("compartmentId", required: true)] - public Input CompartmentId { get; set; } = null!; - - /// - /// A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - /// - [Input("displayName")] - public Input? DisplayName { get; set; } - - [Input("filters")] - private InputList? _filters; - public InputList Filters - { - get => _filters ?? (_filters = new InputList()); - set => _filters = value; - } - - /// - /// A filter to return only resources their lifecycleState matches the given lifecycleState. - /// - [Input("state")] - public Input? State { get; set; } - - public GetShardedDatabasesInvokeArgs() - { - } - public static new GetShardedDatabasesInvokeArgs Empty => new GetShardedDatabasesInvokeArgs(); - } - - - [OutputType] - public sealed class GetShardedDatabasesResult - { - /// - /// Identifier of the compartment in which sharded database exists. - /// - public readonly string CompartmentId; - /// - /// Oracle sharded database display name. - /// - public readonly string? DisplayName; - public readonly ImmutableArray Filters; - /// - /// The provider-assigned unique ID for this managed resource. - /// - public readonly string Id; - /// - /// The list of sharded_database_collection. - /// - public readonly ImmutableArray ShardedDatabaseCollections; - /// - /// Lifecycle states for sharded databases. - /// - public readonly string? State; - - [OutputConstructor] - private GetShardedDatabasesResult( - string compartmentId, - - string? displayName, - - ImmutableArray filters, - - string id, - - ImmutableArray shardedDatabaseCollections, - - string? state) - { - CompartmentId = compartmentId; - DisplayName = displayName; - Filters = filters; - Id = id; - ShardedDatabaseCollections = shardedDatabaseCollections; - State = state; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailArgs.cs deleted file mode 100644 index 19f1aa8dc7..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailArgs.cs +++ /dev/null @@ -1,138 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseCatalogDetailArgs : global::Pulumi.ResourceArgs - { - [Input("adminPassword", required: true)] - private Input? _adminPassword; - - /// - /// Admin password for the catalog database. - /// - public Input? AdminPassword - { - get => _adminPassword; - set - { - var emptySecret = Output.CreateSecret(0); - _adminPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); - } - } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - /// - [Input("cloudAutonomousVmClusterId", required: true)] - public Input CloudAutonomousVmClusterId { get; set; } = null!; - - /// - /// The compute count for the catalog database. It has to be in multiple of 2. - /// - [Input("computeCount", required: true)] - public Input ComputeCount { get; set; } = null!; - - /// - /// Identifier of the underlying container database. - /// - [Input("containerDatabaseId")] - public Input? ContainerDatabaseId { get; set; } - - /// - /// Identifier of the underlying container database parent. - /// - [Input("containerDatabaseParentId")] - public Input? ContainerDatabaseParentId { get; set; } - - /// - /// The data disk group size to be allocated in GBs for the catalog database. - /// - [Input("dataStorageSizeInGbs", required: true)] - public Input DataStorageSizeInGbs { get; set; } = null!; - - /// - /// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - /// - [Input("encryptionKeyDetails")] - public Input? EncryptionKeyDetails { get; set; } - - /// - /// Determines the auto-scaling mode for the catalog database. - /// - [Input("isAutoScalingEnabled", required: true)] - public Input IsAutoScalingEnabled { get; set; } = null!; - - [Input("metadata")] - private InputMap? _metadata; - - /// - /// Additional metadata related to shard's underlying supporting resource. - /// - public InputMap Metadata - { - get => _metadata ?? (_metadata = new InputMap()); - set => _metadata = value; - } - - /// - /// Name of the shard. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - /// - [Input("peerCloudAutonomousVmClusterId")] - public Input? PeerCloudAutonomousVmClusterId { get; set; } - - /// - /// Name of the shard-group to which the shard belongs. - /// - [Input("shardGroup")] - public Input? ShardGroup { get; set; } - - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - [Input("status")] - public Input? Status { get; set; } - - /// - /// Identifier of the underlying supporting resource. - /// - [Input("supportingResourceId")] - public Input? SupportingResourceId { get; set; } - - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - [Input("timeCreated")] - public Input? TimeCreated { get; set; } - - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - [Input("timeSslCertificateExpires")] - public Input? TimeSslCertificateExpires { get; set; } - - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - [Input("timeUpdated")] - public Input? TimeUpdated { get; set; } - - public ShardedDatabaseCatalogDetailArgs() - { - } - public static new ShardedDatabaseCatalogDetailArgs Empty => new ShardedDatabaseCatalogDetailArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs.cs deleted file mode 100644 index 584ad6d268..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs : global::Pulumi.ResourceArgs - { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - /// - [Input("kmsKeyId", required: true)] - public Input KmsKeyId { get; set; } = null!; - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - /// - [Input("kmsKeyVersionId")] - public Input? KmsKeyVersionId { get; set; } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - /// - [Input("vaultId", required: true)] - public Input VaultId { get; set; } = null!; - - public ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs() - { - } - public static new ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs Empty => new ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailEncryptionKeyDetailsGetArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailEncryptionKeyDetailsGetArgs.cs deleted file mode 100644 index b09c394c84..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailEncryptionKeyDetailsGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseCatalogDetailEncryptionKeyDetailsGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - /// - [Input("kmsKeyId", required: true)] - public Input KmsKeyId { get; set; } = null!; - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - /// - [Input("kmsKeyVersionId")] - public Input? KmsKeyVersionId { get; set; } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - /// - [Input("vaultId", required: true)] - public Input VaultId { get; set; } = null!; - - public ShardedDatabaseCatalogDetailEncryptionKeyDetailsGetArgs() - { - } - public static new ShardedDatabaseCatalogDetailEncryptionKeyDetailsGetArgs Empty => new ShardedDatabaseCatalogDetailEncryptionKeyDetailsGetArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailGetArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailGetArgs.cs deleted file mode 100644 index f19246d45c..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseCatalogDetailGetArgs.cs +++ /dev/null @@ -1,138 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseCatalogDetailGetArgs : global::Pulumi.ResourceArgs - { - [Input("adminPassword", required: true)] - private Input? _adminPassword; - - /// - /// Admin password for the catalog database. - /// - public Input? AdminPassword - { - get => _adminPassword; - set - { - var emptySecret = Output.CreateSecret(0); - _adminPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); - } - } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - /// - [Input("cloudAutonomousVmClusterId", required: true)] - public Input CloudAutonomousVmClusterId { get; set; } = null!; - - /// - /// The compute count for the catalog database. It has to be in multiple of 2. - /// - [Input("computeCount", required: true)] - public Input ComputeCount { get; set; } = null!; - - /// - /// Identifier of the underlying container database. - /// - [Input("containerDatabaseId")] - public Input? ContainerDatabaseId { get; set; } - - /// - /// Identifier of the underlying container database parent. - /// - [Input("containerDatabaseParentId")] - public Input? ContainerDatabaseParentId { get; set; } - - /// - /// The data disk group size to be allocated in GBs for the catalog database. - /// - [Input("dataStorageSizeInGbs", required: true)] - public Input DataStorageSizeInGbs { get; set; } = null!; - - /// - /// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - /// - [Input("encryptionKeyDetails")] - public Input? EncryptionKeyDetails { get; set; } - - /// - /// Determines the auto-scaling mode for the catalog database. - /// - [Input("isAutoScalingEnabled", required: true)] - public Input IsAutoScalingEnabled { get; set; } = null!; - - [Input("metadata")] - private InputMap? _metadata; - - /// - /// Additional metadata related to shard's underlying supporting resource. - /// - public InputMap Metadata - { - get => _metadata ?? (_metadata = new InputMap()); - set => _metadata = value; - } - - /// - /// Name of the shard. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - /// - [Input("peerCloudAutonomousVmClusterId")] - public Input? PeerCloudAutonomousVmClusterId { get; set; } - - /// - /// Name of the shard-group to which the shard belongs. - /// - [Input("shardGroup")] - public Input? ShardGroup { get; set; } - - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - [Input("status")] - public Input? Status { get; set; } - - /// - /// Identifier of the underlying supporting resource. - /// - [Input("supportingResourceId")] - public Input? SupportingResourceId { get; set; } - - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - [Input("timeCreated")] - public Input? TimeCreated { get; set; } - - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - [Input("timeSslCertificateExpires")] - public Input? TimeSslCertificateExpires { get; set; } - - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - [Input("timeUpdated")] - public Input? TimeUpdated { get; set; } - - public ShardedDatabaseCatalogDetailGetArgs() - { - } - public static new ShardedDatabaseCatalogDetailGetArgs Empty => new ShardedDatabaseCatalogDetailGetArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseConnectionStringArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseConnectionStringArgs.cs deleted file mode 100644 index 17856f4398..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseConnectionStringArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseConnectionStringArgs : global::Pulumi.ResourceArgs - { - [Input("allConnectionStrings")] - private InputMap? _allConnectionStrings; - - /// - /// Collection of connection strings. - /// - public InputMap AllConnectionStrings - { - get => _allConnectionStrings ?? (_allConnectionStrings = new InputMap()); - set => _allConnectionStrings = value; - } - - public ShardedDatabaseConnectionStringArgs() - { - } - public static new ShardedDatabaseConnectionStringArgs Empty => new ShardedDatabaseConnectionStringArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseConnectionStringGetArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseConnectionStringGetArgs.cs deleted file mode 100644 index 6962ea65cf..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseConnectionStringGetArgs.cs +++ /dev/null @@ -1,32 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseConnectionStringGetArgs : global::Pulumi.ResourceArgs - { - [Input("allConnectionStrings")] - private InputMap? _allConnectionStrings; - - /// - /// Collection of connection strings. - /// - public InputMap AllConnectionStrings - { - get => _allConnectionStrings ?? (_allConnectionStrings = new InputMap()); - set => _allConnectionStrings = value; - } - - public ShardedDatabaseConnectionStringGetArgs() - { - } - public static new ShardedDatabaseConnectionStringGetArgs Empty => new ShardedDatabaseConnectionStringGetArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseGsmArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseGsmArgs.cs deleted file mode 100644 index f129c743d4..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseGsmArgs.cs +++ /dev/null @@ -1,80 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseGsmArgs : global::Pulumi.ResourceArgs - { - /// - /// The compute amount available to the underlying autonomous database associated with shard. - /// - [Input("computeCount")] - public Input? ComputeCount { get; set; } - - /// - /// The data disk group size to be allocated in GBs. - /// - [Input("dataStorageSizeInGbs")] - public Input? DataStorageSizeInGbs { get; set; } - - [Input("metadata")] - private InputMap? _metadata; - - /// - /// Additional metadata related to shard's underlying supporting resource. - /// - public InputMap Metadata - { - get => _metadata ?? (_metadata = new InputMap()); - set => _metadata = value; - } - - /// - /// Name of the shard. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - [Input("status")] - public Input? Status { get; set; } - - /// - /// Identifier of the underlying supporting resource. - /// - [Input("supportingResourceId")] - public Input? SupportingResourceId { get; set; } - - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - [Input("timeCreated")] - public Input? TimeCreated { get; set; } - - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - [Input("timeSslCertificateExpires")] - public Input? TimeSslCertificateExpires { get; set; } - - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - [Input("timeUpdated")] - public Input? TimeUpdated { get; set; } - - public ShardedDatabaseGsmArgs() - { - } - public static new ShardedDatabaseGsmArgs Empty => new ShardedDatabaseGsmArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseGsmGetArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseGsmGetArgs.cs deleted file mode 100644 index eeb2846963..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseGsmGetArgs.cs +++ /dev/null @@ -1,80 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseGsmGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The compute amount available to the underlying autonomous database associated with shard. - /// - [Input("computeCount")] - public Input? ComputeCount { get; set; } - - /// - /// The data disk group size to be allocated in GBs. - /// - [Input("dataStorageSizeInGbs")] - public Input? DataStorageSizeInGbs { get; set; } - - [Input("metadata")] - private InputMap? _metadata; - - /// - /// Additional metadata related to shard's underlying supporting resource. - /// - public InputMap Metadata - { - get => _metadata ?? (_metadata = new InputMap()); - set => _metadata = value; - } - - /// - /// Name of the shard. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - [Input("status")] - public Input? Status { get; set; } - - /// - /// Identifier of the underlying supporting resource. - /// - [Input("supportingResourceId")] - public Input? SupportingResourceId { get; set; } - - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - [Input("timeCreated")] - public Input? TimeCreated { get; set; } - - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - [Input("timeSslCertificateExpires")] - public Input? TimeSslCertificateExpires { get; set; } - - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - [Input("timeUpdated")] - public Input? TimeUpdated { get; set; } - - public ShardedDatabaseGsmGetArgs() - { - } - public static new ShardedDatabaseGsmGetArgs Empty => new ShardedDatabaseGsmGetArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabasePatchOperationArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabasePatchOperationArgs.cs deleted file mode 100644 index d2aa395972..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabasePatchOperationArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabasePatchOperationArgs : global::Pulumi.ResourceArgs - { - /// - /// (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - /// - [Input("operation", required: true)] - public Input Operation { get; set; } = null!; - - /// - /// (Updatable) - /// - [Input("selection", required: true)] - public Input Selection { get; set; } = null!; - - /// - /// (Updatable) - /// - [Input("value", required: true)] - public Input Value { get; set; } = null!; - - public ShardedDatabasePatchOperationArgs() - { - } - public static new ShardedDatabasePatchOperationArgs Empty => new ShardedDatabasePatchOperationArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabasePatchOperationGetArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabasePatchOperationGetArgs.cs deleted file mode 100644 index 11ab28209e..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabasePatchOperationGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabasePatchOperationGetArgs : global::Pulumi.ResourceArgs - { - /// - /// (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - /// - [Input("operation", required: true)] - public Input Operation { get; set; } = null!; - - /// - /// (Updatable) - /// - [Input("selection", required: true)] - public Input Selection { get; set; } = null!; - - /// - /// (Updatable) - /// - [Input("value", required: true)] - public Input Value { get; set; } = null!; - - public ShardedDatabasePatchOperationGetArgs() - { - } - public static new ShardedDatabasePatchOperationGetArgs Empty => new ShardedDatabasePatchOperationGetArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailArgs.cs deleted file mode 100644 index 6afb1dd083..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailArgs.cs +++ /dev/null @@ -1,144 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseShardDetailArgs : global::Pulumi.ResourceArgs - { - [Input("adminPassword", required: true)] - private Input? _adminPassword; - - /// - /// Admin password for shard database. - /// - public Input? AdminPassword - { - get => _adminPassword; - set - { - var emptySecret = Output.CreateSecret(0); - _adminPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); - } - } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - /// - [Input("cloudAutonomousVmClusterId", required: true)] - public Input CloudAutonomousVmClusterId { get; set; } = null!; - - /// - /// The compute count for the shard database. It has to be in multiples of 2. - /// - [Input("computeCount", required: true)] - public Input ComputeCount { get; set; } = null!; - - /// - /// Identifier of the underlying container database. - /// - [Input("containerDatabaseId")] - public Input? ContainerDatabaseId { get; set; } - - /// - /// Identifier of the underlying container database parent. - /// - [Input("containerDatabaseParentId")] - public Input? ContainerDatabaseParentId { get; set; } - - /// - /// The data disk group size to be allocated in GBs for the shard database. - /// - [Input("dataStorageSizeInGbs", required: true)] - public Input DataStorageSizeInGbs { get; set; } = null!; - - /// - /// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - /// - [Input("encryptionKeyDetails")] - public Input? EncryptionKeyDetails { get; set; } - - /// - /// Determines the auto-scaling mode for the shard database. - /// - [Input("isAutoScalingEnabled", required: true)] - public Input IsAutoScalingEnabled { get; set; } = null!; - - [Input("metadata")] - private InputMap? _metadata; - - /// - /// Additional metadata related to shard's underlying supporting resource. - /// - public InputMap Metadata - { - get => _metadata ?? (_metadata = new InputMap()); - set => _metadata = value; - } - - /// - /// Name of the shard. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - /// - [Input("peerCloudAutonomousVmClusterId")] - public Input? PeerCloudAutonomousVmClusterId { get; set; } - - /// - /// Name of the shard-group to which the shard belongs. - /// - [Input("shardGroup")] - public Input? ShardGroup { get; set; } - - /// - /// The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - /// - [Input("shardSpace")] - public Input? ShardSpace { get; set; } - - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - [Input("status")] - public Input? Status { get; set; } - - /// - /// Identifier of the underlying supporting resource. - /// - [Input("supportingResourceId")] - public Input? SupportingResourceId { get; set; } - - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - [Input("timeCreated")] - public Input? TimeCreated { get; set; } - - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - [Input("timeSslCertificateExpires")] - public Input? TimeSslCertificateExpires { get; set; } - - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - [Input("timeUpdated")] - public Input? TimeUpdated { get; set; } - - public ShardedDatabaseShardDetailArgs() - { - } - public static new ShardedDatabaseShardDetailArgs Empty => new ShardedDatabaseShardDetailArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailEncryptionKeyDetailsArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailEncryptionKeyDetailsArgs.cs deleted file mode 100644 index 91947fd0f4..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailEncryptionKeyDetailsArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseShardDetailEncryptionKeyDetailsArgs : global::Pulumi.ResourceArgs - { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - /// - [Input("kmsKeyId", required: true)] - public Input KmsKeyId { get; set; } = null!; - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - /// - [Input("kmsKeyVersionId")] - public Input? KmsKeyVersionId { get; set; } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - /// - [Input("vaultId", required: true)] - public Input VaultId { get; set; } = null!; - - public ShardedDatabaseShardDetailEncryptionKeyDetailsArgs() - { - } - public static new ShardedDatabaseShardDetailEncryptionKeyDetailsArgs Empty => new ShardedDatabaseShardDetailEncryptionKeyDetailsArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailEncryptionKeyDetailsGetArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailEncryptionKeyDetailsGetArgs.cs deleted file mode 100644 index 5dd6540ed8..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailEncryptionKeyDetailsGetArgs.cs +++ /dev/null @@ -1,38 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseShardDetailEncryptionKeyDetailsGetArgs : global::Pulumi.ResourceArgs - { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - /// - [Input("kmsKeyId", required: true)] - public Input KmsKeyId { get; set; } = null!; - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - /// - [Input("kmsKeyVersionId")] - public Input? KmsKeyVersionId { get; set; } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - /// - [Input("vaultId", required: true)] - public Input VaultId { get; set; } = null!; - - public ShardedDatabaseShardDetailEncryptionKeyDetailsGetArgs() - { - } - public static new ShardedDatabaseShardDetailEncryptionKeyDetailsGetArgs Empty => new ShardedDatabaseShardDetailEncryptionKeyDetailsGetArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailGetArgs.cs b/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailGetArgs.cs deleted file mode 100644 index f5a11c0a57..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Inputs/ShardedDatabaseShardDetailGetArgs.cs +++ /dev/null @@ -1,144 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Inputs -{ - - public sealed class ShardedDatabaseShardDetailGetArgs : global::Pulumi.ResourceArgs - { - [Input("adminPassword", required: true)] - private Input? _adminPassword; - - /// - /// Admin password for shard database. - /// - public Input? AdminPassword - { - get => _adminPassword; - set - { - var emptySecret = Output.CreateSecret(0); - _adminPassword = Output.Tuple?, int>(value, emptySecret).Apply(t => t.Item1); - } - } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - /// - [Input("cloudAutonomousVmClusterId", required: true)] - public Input CloudAutonomousVmClusterId { get; set; } = null!; - - /// - /// The compute count for the shard database. It has to be in multiples of 2. - /// - [Input("computeCount", required: true)] - public Input ComputeCount { get; set; } = null!; - - /// - /// Identifier of the underlying container database. - /// - [Input("containerDatabaseId")] - public Input? ContainerDatabaseId { get; set; } - - /// - /// Identifier of the underlying container database parent. - /// - [Input("containerDatabaseParentId")] - public Input? ContainerDatabaseParentId { get; set; } - - /// - /// The data disk group size to be allocated in GBs for the shard database. - /// - [Input("dataStorageSizeInGbs", required: true)] - public Input DataStorageSizeInGbs { get; set; } = null!; - - /// - /// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - /// - [Input("encryptionKeyDetails")] - public Input? EncryptionKeyDetails { get; set; } - - /// - /// Determines the auto-scaling mode for the shard database. - /// - [Input("isAutoScalingEnabled", required: true)] - public Input IsAutoScalingEnabled { get; set; } = null!; - - [Input("metadata")] - private InputMap? _metadata; - - /// - /// Additional metadata related to shard's underlying supporting resource. - /// - public InputMap Metadata - { - get => _metadata ?? (_metadata = new InputMap()); - set => _metadata = value; - } - - /// - /// Name of the shard. - /// - [Input("name")] - public Input? Name { get; set; } - - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - /// - [Input("peerCloudAutonomousVmClusterId")] - public Input? PeerCloudAutonomousVmClusterId { get; set; } - - /// - /// Name of the shard-group to which the shard belongs. - /// - [Input("shardGroup")] - public Input? ShardGroup { get; set; } - - /// - /// The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - /// - [Input("shardSpace")] - public Input? ShardSpace { get; set; } - - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - [Input("status")] - public Input? Status { get; set; } - - /// - /// Identifier of the underlying supporting resource. - /// - [Input("supportingResourceId")] - public Input? SupportingResourceId { get; set; } - - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - [Input("timeCreated")] - public Input? TimeCreated { get; set; } - - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - [Input("timeSslCertificateExpires")] - public Input? TimeSslCertificateExpires { get; set; } - - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - [Input("timeUpdated")] - public Input? TimeUpdated { get; set; } - - public ShardedDatabaseShardDetailGetArgs() - { - } - public static new ShardedDatabaseShardDetailGetArgs Empty => new ShardedDatabaseShardDetailGetArgs(); - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseCatalogDetailEncryptionKeyDetailResult.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseCatalogDetailEncryptionKeyDetailResult.cs deleted file mode 100644 index 4affd94bf9..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseCatalogDetailEncryptionKeyDetailResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class GetShardedDatabaseCatalogDetailEncryptionKeyDetailResult - { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - /// - public readonly string KmsKeyId; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - /// - public readonly string KmsKeyVersionId; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - /// - public readonly string VaultId; - - [OutputConstructor] - private GetShardedDatabaseCatalogDetailEncryptionKeyDetailResult( - string kmsKeyId, - - string kmsKeyVersionId, - - string vaultId) - { - KmsKeyId = kmsKeyId; - KmsKeyVersionId = kmsKeyVersionId; - VaultId = vaultId; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseCatalogDetailResult.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseCatalogDetailResult.cs deleted file mode 100644 index 16d661b98c..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseCatalogDetailResult.cs +++ /dev/null @@ -1,137 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class GetShardedDatabaseCatalogDetailResult - { - public readonly string AdminPassword; - /// - /// Identifier of the primary cloudAutonomousVmCluster for the shard. - /// - public readonly string CloudAutonomousVmClusterId; - /// - /// The compute amount available to the underlying autonomous database associated with shard. - /// - public readonly double ComputeCount; - /// - /// Identifier of the underlying container database. - /// - public readonly string ContainerDatabaseId; - /// - /// Identifier of the underlying container database parent. - /// - public readonly string ContainerDatabaseParentId; - /// - /// The data disk group size to be allocated in GBs. - /// - public readonly double DataStorageSizeInGbs; - /// - /// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - /// - public readonly ImmutableArray EncryptionKeyDetails; - /// - /// Determines the auto-scaling mode. - /// - public readonly bool IsAutoScalingEnabled; - /// - /// Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - /// - public readonly ImmutableDictionary Metadata; - /// - /// Name of the shard. - /// - public readonly string Name; - /// - /// Identifier of the peer cloudAutonomousVmCluster for the shard. - /// - public readonly string PeerCloudAutonomousVmClusterId; - /// - /// Name of the shard-group to which the shard belongs. - /// - public readonly string ShardGroup; - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - public readonly string Status; - /// - /// Identifier of the underlying supporting resource. - /// - public readonly string SupportingResourceId; - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - public readonly string TimeCreated; - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - public readonly string TimeSslCertificateExpires; - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - public readonly string TimeUpdated; - - [OutputConstructor] - private GetShardedDatabaseCatalogDetailResult( - string adminPassword, - - string cloudAutonomousVmClusterId, - - double computeCount, - - string containerDatabaseId, - - string containerDatabaseParentId, - - double dataStorageSizeInGbs, - - ImmutableArray encryptionKeyDetails, - - bool isAutoScalingEnabled, - - ImmutableDictionary metadata, - - string name, - - string peerCloudAutonomousVmClusterId, - - string shardGroup, - - string status, - - string supportingResourceId, - - string timeCreated, - - string timeSslCertificateExpires, - - string timeUpdated) - { - AdminPassword = adminPassword; - CloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - ComputeCount = computeCount; - ContainerDatabaseId = containerDatabaseId; - ContainerDatabaseParentId = containerDatabaseParentId; - DataStorageSizeInGbs = dataStorageSizeInGbs; - EncryptionKeyDetails = encryptionKeyDetails; - IsAutoScalingEnabled = isAutoScalingEnabled; - Metadata = metadata; - Name = name; - PeerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - ShardGroup = shardGroup; - Status = status; - SupportingResourceId = supportingResourceId; - TimeCreated = timeCreated; - TimeSslCertificateExpires = timeSslCertificateExpires; - TimeUpdated = timeUpdated; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseGsmResult.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseGsmResult.cs deleted file mode 100644 index ca8ef9474e..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseGsmResult.cs +++ /dev/null @@ -1,84 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class GetShardedDatabaseGsmResult - { - /// - /// The compute amount available to the underlying autonomous database associated with shard. - /// - public readonly double ComputeCount; - /// - /// The data disk group size to be allocated in GBs. - /// - public readonly double DataStorageSizeInGbs; - /// - /// Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - /// - public readonly ImmutableDictionary Metadata; - /// - /// Name of the shard. - /// - public readonly string Name; - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - public readonly string Status; - /// - /// Identifier of the underlying supporting resource. - /// - public readonly string SupportingResourceId; - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - public readonly string TimeCreated; - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - public readonly string TimeSslCertificateExpires; - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - public readonly string TimeUpdated; - - [OutputConstructor] - private GetShardedDatabaseGsmResult( - double computeCount, - - double dataStorageSizeInGbs, - - ImmutableDictionary metadata, - - string name, - - string status, - - string supportingResourceId, - - string timeCreated, - - string timeSslCertificateExpires, - - string timeUpdated) - { - ComputeCount = computeCount; - DataStorageSizeInGbs = dataStorageSizeInGbs; - Metadata = metadata; - Name = name; - Status = status; - SupportingResourceId = supportingResourceId; - TimeCreated = timeCreated; - TimeSslCertificateExpires = timeSslCertificateExpires; - TimeUpdated = timeUpdated; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasePatchOperationResult.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasePatchOperationResult.cs deleted file mode 100644 index 681059ded3..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasePatchOperationResult.cs +++ /dev/null @@ -1,33 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class GetShardedDatabasePatchOperationResult - { - public readonly string Operation; - public readonly string Selection; - public readonly string Value; - - [OutputConstructor] - private GetShardedDatabasePatchOperationResult( - string operation, - - string selection, - - string value) - { - Operation = operation; - Selection = selection; - Value = value; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseShardDetailEncryptionKeyDetailResult.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseShardDetailEncryptionKeyDetailResult.cs deleted file mode 100644 index 1424322d37..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseShardDetailEncryptionKeyDetailResult.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class GetShardedDatabaseShardDetailEncryptionKeyDetailResult - { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - /// - public readonly string KmsKeyId; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - /// - public readonly string KmsKeyVersionId; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - /// - public readonly string VaultId; - - [OutputConstructor] - private GetShardedDatabaseShardDetailEncryptionKeyDetailResult( - string kmsKeyId, - - string kmsKeyVersionId, - - string vaultId) - { - KmsKeyId = kmsKeyId; - KmsKeyVersionId = kmsKeyVersionId; - VaultId = vaultId; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseShardDetailResult.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseShardDetailResult.cs deleted file mode 100644 index 611761a9d0..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseShardDetailResult.cs +++ /dev/null @@ -1,144 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class GetShardedDatabaseShardDetailResult - { - public readonly string AdminPassword; - /// - /// Identifier of the primary cloudAutonomousVmCluster for the shard. - /// - public readonly string CloudAutonomousVmClusterId; - /// - /// The compute amount available to the underlying autonomous database associated with shard. - /// - public readonly double ComputeCount; - /// - /// Identifier of the underlying container database. - /// - public readonly string ContainerDatabaseId; - /// - /// Identifier of the underlying container database parent. - /// - public readonly string ContainerDatabaseParentId; - /// - /// The data disk group size to be allocated in GBs. - /// - public readonly double DataStorageSizeInGbs; - /// - /// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - /// - public readonly ImmutableArray EncryptionKeyDetails; - /// - /// Determines the auto-scaling mode. - /// - public readonly bool IsAutoScalingEnabled; - /// - /// Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - /// - public readonly ImmutableDictionary Metadata; - /// - /// Name of the shard. - /// - public readonly string Name; - /// - /// Identifier of the peer cloudAutonomousVmCluster for the shard. - /// - public readonly string PeerCloudAutonomousVmClusterId; - /// - /// Name of the shard-group to which the shard belongs. - /// - public readonly string ShardGroup; - /// - /// Shard space name. - /// - public readonly string ShardSpace; - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - public readonly string Status; - /// - /// Identifier of the underlying supporting resource. - /// - public readonly string SupportingResourceId; - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - public readonly string TimeCreated; - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - public readonly string TimeSslCertificateExpires; - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - public readonly string TimeUpdated; - - [OutputConstructor] - private GetShardedDatabaseShardDetailResult( - string adminPassword, - - string cloudAutonomousVmClusterId, - - double computeCount, - - string containerDatabaseId, - - string containerDatabaseParentId, - - double dataStorageSizeInGbs, - - ImmutableArray encryptionKeyDetails, - - bool isAutoScalingEnabled, - - ImmutableDictionary metadata, - - string name, - - string peerCloudAutonomousVmClusterId, - - string shardGroup, - - string shardSpace, - - string status, - - string supportingResourceId, - - string timeCreated, - - string timeSslCertificateExpires, - - string timeUpdated) - { - AdminPassword = adminPassword; - CloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - ComputeCount = computeCount; - ContainerDatabaseId = containerDatabaseId; - ContainerDatabaseParentId = containerDatabaseParentId; - DataStorageSizeInGbs = dataStorageSizeInGbs; - EncryptionKeyDetails = encryptionKeyDetails; - IsAutoScalingEnabled = isAutoScalingEnabled; - Metadata = metadata; - Name = name; - PeerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - ShardGroup = shardGroup; - ShardSpace = shardSpace; - Status = status; - SupportingResourceId = supportingResourceId; - TimeCreated = timeCreated; - TimeSslCertificateExpires = timeSslCertificateExpires; - TimeUpdated = timeUpdated; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasesShardedDatabaseCollectionItemResult.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasesShardedDatabaseCollectionItemResult.cs deleted file mode 100644 index a5e4768694..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasesShardedDatabaseCollectionItemResult.cs +++ /dev/null @@ -1,194 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class GetShardedDatabasesShardedDatabaseCollectionItemResult - { - /// - /// The character set for the database. - /// - public readonly string CharacterSet; - /// - /// The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - /// - public readonly int Chunks; - /// - /// The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - /// - public readonly string ClusterCertificateCommonName; - /// - /// The ID of the compartment in which to list resources. - /// - public readonly string CompartmentId; - /// - /// The database deployment type. - /// - public readonly string DbDeploymentType; - /// - /// Oracle Database version number. - /// - public readonly string DbVersion; - /// - /// Possible workload types. - /// - public readonly string DbWorkload; - /// - /// 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 filter to return only sharded databases that match the entire name given. The match is not case sensitive. - /// - 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; - /// - /// Sharded Database identifier - /// - public readonly string Id; - public readonly string LifecycleState; - /// - /// Detailed message for the lifecycle state. - /// - public readonly string LifecycleStateDetails; - /// - /// The GSM listener port number. - /// - public readonly int ListenerPort; - /// - /// The TLS listener port number for sharded database. - /// - public readonly int ListenerPortTls; - /// - /// The national character set for the database. - /// - public readonly string NcharacterSet; - /// - /// Ons local port number. - /// - public readonly int OnsPortLocal; - /// - /// Ons remote port number. - /// - public readonly int OnsPortRemote; - /// - /// Unique prefix for the sharded database. - /// - public readonly string Prefix; - /// - /// Sharding Method. - /// - public readonly string ShardingMethod; - /// - /// A filter to return only resources their lifecycleState matches the given lifecycleState. - /// - public readonly string State; - /// - /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - /// - public readonly ImmutableDictionary SystemTags; - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - public readonly string TimeCreated; - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - public readonly string TimeUpdated; - public readonly double TotalCpuCount; - public readonly double TotalDataStorageSizeInGbs; - - [OutputConstructor] - private GetShardedDatabasesShardedDatabaseCollectionItemResult( - string characterSet, - - int chunks, - - string clusterCertificateCommonName, - - string compartmentId, - - string dbDeploymentType, - - string dbVersion, - - string dbWorkload, - - ImmutableDictionary definedTags, - - string displayName, - - ImmutableDictionary freeformTags, - - string id, - - string lifecycleState, - - string lifecycleStateDetails, - - int listenerPort, - - int listenerPortTls, - - string ncharacterSet, - - int onsPortLocal, - - int onsPortRemote, - - string prefix, - - string shardingMethod, - - string state, - - ImmutableDictionary systemTags, - - string timeCreated, - - string timeUpdated, - - double totalCpuCount, - - double totalDataStorageSizeInGbs) - { - CharacterSet = characterSet; - Chunks = chunks; - ClusterCertificateCommonName = clusterCertificateCommonName; - CompartmentId = compartmentId; - DbDeploymentType = dbDeploymentType; - DbVersion = dbVersion; - DbWorkload = dbWorkload; - DefinedTags = definedTags; - DisplayName = displayName; - FreeformTags = freeformTags; - Id = id; - LifecycleState = lifecycleState; - LifecycleStateDetails = lifecycleStateDetails; - ListenerPort = listenerPort; - ListenerPortTls = listenerPortTls; - NcharacterSet = ncharacterSet; - OnsPortLocal = onsPortLocal; - OnsPortRemote = onsPortRemote; - Prefix = prefix; - ShardingMethod = shardingMethod; - State = state; - SystemTags = systemTags; - TimeCreated = timeCreated; - TimeUpdated = timeUpdated; - TotalCpuCount = totalCpuCount; - TotalDataStorageSizeInGbs = totalDataStorageSizeInGbs; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasesShardedDatabaseCollectionResult.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasesShardedDatabaseCollectionResult.cs deleted file mode 100644 index 3caaced946..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabasesShardedDatabaseCollectionResult.cs +++ /dev/null @@ -1,24 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class GetShardedDatabasesShardedDatabaseCollectionResult - { - public readonly ImmutableArray Items; - - [OutputConstructor] - private GetShardedDatabasesShardedDatabaseCollectionResult(ImmutableArray items) - { - Items = items; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseCatalogDetail.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseCatalogDetail.cs deleted file mode 100644 index 9609620b21..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseCatalogDetail.cs +++ /dev/null @@ -1,140 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class ShardedDatabaseCatalogDetail - { - /// - /// Admin password for the catalog database. - /// - public readonly string AdminPassword; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - /// - public readonly string CloudAutonomousVmClusterId; - /// - /// The compute count for the catalog database. It has to be in multiple of 2. - /// - public readonly double ComputeCount; - /// - /// Identifier of the underlying container database. - /// - public readonly string? ContainerDatabaseId; - /// - /// Identifier of the underlying container database parent. - /// - public readonly string? ContainerDatabaseParentId; - /// - /// The data disk group size to be allocated in GBs for the catalog database. - /// - public readonly double DataStorageSizeInGbs; - /// - /// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - /// - public readonly Outputs.ShardedDatabaseCatalogDetailEncryptionKeyDetails? EncryptionKeyDetails; - /// - /// Determines the auto-scaling mode for the catalog database. - /// - public readonly bool IsAutoScalingEnabled; - /// - /// Additional metadata related to shard's underlying supporting resource. - /// - public readonly ImmutableDictionary? Metadata; - /// - /// Name of the shard. - /// - public readonly string? Name; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - /// - public readonly string? PeerCloudAutonomousVmClusterId; - /// - /// Name of the shard-group to which the shard belongs. - /// - public readonly string? ShardGroup; - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - public readonly string? Status; - /// - /// Identifier of the underlying supporting resource. - /// - public readonly string? SupportingResourceId; - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - public readonly string? TimeCreated; - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - public readonly string? TimeSslCertificateExpires; - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - public readonly string? TimeUpdated; - - [OutputConstructor] - private ShardedDatabaseCatalogDetail( - string adminPassword, - - string cloudAutonomousVmClusterId, - - double computeCount, - - string? containerDatabaseId, - - string? containerDatabaseParentId, - - double dataStorageSizeInGbs, - - Outputs.ShardedDatabaseCatalogDetailEncryptionKeyDetails? encryptionKeyDetails, - - bool isAutoScalingEnabled, - - ImmutableDictionary? metadata, - - string? name, - - string? peerCloudAutonomousVmClusterId, - - string? shardGroup, - - string? status, - - string? supportingResourceId, - - string? timeCreated, - - string? timeSslCertificateExpires, - - string? timeUpdated) - { - AdminPassword = adminPassword; - CloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - ComputeCount = computeCount; - ContainerDatabaseId = containerDatabaseId; - ContainerDatabaseParentId = containerDatabaseParentId; - DataStorageSizeInGbs = dataStorageSizeInGbs; - EncryptionKeyDetails = encryptionKeyDetails; - IsAutoScalingEnabled = isAutoScalingEnabled; - Metadata = metadata; - Name = name; - PeerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - ShardGroup = shardGroup; - Status = status; - SupportingResourceId = supportingResourceId; - TimeCreated = timeCreated; - TimeSslCertificateExpires = timeSslCertificateExpires; - TimeUpdated = timeUpdated; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseCatalogDetailEncryptionKeyDetails.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseCatalogDetailEncryptionKeyDetails.cs deleted file mode 100644 index d933a8456d..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseCatalogDetailEncryptionKeyDetails.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class ShardedDatabaseCatalogDetailEncryptionKeyDetails - { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - /// - public readonly string KmsKeyId; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - /// - public readonly string? KmsKeyVersionId; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - /// - public readonly string VaultId; - - [OutputConstructor] - private ShardedDatabaseCatalogDetailEncryptionKeyDetails( - string kmsKeyId, - - string? kmsKeyVersionId, - - string vaultId) - { - KmsKeyId = kmsKeyId; - KmsKeyVersionId = kmsKeyVersionId; - VaultId = vaultId; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseGsm.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseGsm.cs deleted file mode 100644 index dc36382645..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseGsm.cs +++ /dev/null @@ -1,84 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class ShardedDatabaseGsm - { - /// - /// The compute amount available to the underlying autonomous database associated with shard. - /// - public readonly double? ComputeCount; - /// - /// The data disk group size to be allocated in GBs. - /// - public readonly double? DataStorageSizeInGbs; - /// - /// Additional metadata related to shard's underlying supporting resource. - /// - public readonly ImmutableDictionary? Metadata; - /// - /// Name of the shard. - /// - public readonly string? Name; - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - public readonly string? Status; - /// - /// Identifier of the underlying supporting resource. - /// - public readonly string? SupportingResourceId; - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - public readonly string? TimeCreated; - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - public readonly string? TimeSslCertificateExpires; - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - public readonly string? TimeUpdated; - - [OutputConstructor] - private ShardedDatabaseGsm( - double? computeCount, - - double? dataStorageSizeInGbs, - - ImmutableDictionary? metadata, - - string? name, - - string? status, - - string? supportingResourceId, - - string? timeCreated, - - string? timeSslCertificateExpires, - - string? timeUpdated) - { - ComputeCount = computeCount; - DataStorageSizeInGbs = dataStorageSizeInGbs; - Metadata = metadata; - Name = name; - Status = status; - SupportingResourceId = supportingResourceId; - TimeCreated = timeCreated; - TimeSslCertificateExpires = timeSslCertificateExpires; - TimeUpdated = timeUpdated; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseShardDetail.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseShardDetail.cs deleted file mode 100644 index 0d4d64f6b6..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseShardDetail.cs +++ /dev/null @@ -1,147 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class ShardedDatabaseShardDetail - { - /// - /// Admin password for shard database. - /// - public readonly string AdminPassword; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - /// - public readonly string CloudAutonomousVmClusterId; - /// - /// The compute count for the shard database. It has to be in multiples of 2. - /// - public readonly double ComputeCount; - /// - /// Identifier of the underlying container database. - /// - public readonly string? ContainerDatabaseId; - /// - /// Identifier of the underlying container database parent. - /// - public readonly string? ContainerDatabaseParentId; - /// - /// The data disk group size to be allocated in GBs for the shard database. - /// - public readonly double DataStorageSizeInGbs; - /// - /// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - /// - public readonly Outputs.ShardedDatabaseShardDetailEncryptionKeyDetails? EncryptionKeyDetails; - /// - /// Determines the auto-scaling mode for the shard database. - /// - public readonly bool IsAutoScalingEnabled; - /// - /// Additional metadata related to shard's underlying supporting resource. - /// - public readonly ImmutableDictionary? Metadata; - /// - /// Name of the shard. - /// - public readonly string? Name; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - /// - public readonly string? PeerCloudAutonomousVmClusterId; - /// - /// Name of the shard-group to which the shard belongs. - /// - public readonly string? ShardGroup; - /// - /// The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - /// - public readonly string? ShardSpace; - /// - /// Status of shard or catalog or gsm for the sharded database. - /// - public readonly string? Status; - /// - /// Identifier of the underlying supporting resource. - /// - public readonly string? SupportingResourceId; - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - public readonly string? TimeCreated; - /// - /// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - /// - public readonly string? TimeSslCertificateExpires; - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - public readonly string? TimeUpdated; - - [OutputConstructor] - private ShardedDatabaseShardDetail( - string adminPassword, - - string cloudAutonomousVmClusterId, - - double computeCount, - - string? containerDatabaseId, - - string? containerDatabaseParentId, - - double dataStorageSizeInGbs, - - Outputs.ShardedDatabaseShardDetailEncryptionKeyDetails? encryptionKeyDetails, - - bool isAutoScalingEnabled, - - ImmutableDictionary? metadata, - - string? name, - - string? peerCloudAutonomousVmClusterId, - - string? shardGroup, - - string? shardSpace, - - string? status, - - string? supportingResourceId, - - string? timeCreated, - - string? timeSslCertificateExpires, - - string? timeUpdated) - { - AdminPassword = adminPassword; - CloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - ComputeCount = computeCount; - ContainerDatabaseId = containerDatabaseId; - ContainerDatabaseParentId = containerDatabaseParentId; - DataStorageSizeInGbs = dataStorageSizeInGbs; - EncryptionKeyDetails = encryptionKeyDetails; - IsAutoScalingEnabled = isAutoScalingEnabled; - Metadata = metadata; - Name = name; - PeerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - ShardGroup = shardGroup; - ShardSpace = shardSpace; - Status = status; - SupportingResourceId = supportingResourceId; - TimeCreated = timeCreated; - TimeSslCertificateExpires = timeSslCertificateExpires; - TimeUpdated = timeUpdated; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseShardDetailEncryptionKeyDetails.cs b/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseShardDetailEncryptionKeyDetails.cs deleted file mode 100644 index 200a438f13..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseShardDetailEncryptionKeyDetails.cs +++ /dev/null @@ -1,42 +0,0 @@ -// *** 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.GloballyDistributedDatabase.Outputs -{ - - [OutputType] - public sealed class ShardedDatabaseShardDetailEncryptionKeyDetails - { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - /// - public readonly string KmsKeyId; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - /// - public readonly string? KmsKeyVersionId; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - /// - public readonly string VaultId; - - [OutputConstructor] - private ShardedDatabaseShardDetailEncryptionKeyDetails( - string kmsKeyId, - - string? kmsKeyVersionId, - - string vaultId) - { - KmsKeyId = kmsKeyId; - KmsKeyVersionId = kmsKeyVersionId; - VaultId = vaultId; - } - } -} diff --git a/sdk/dotnet/GloballyDistributedDatabase/ShardedDatabase.cs b/sdk/dotnet/GloballyDistributedDatabase/ShardedDatabase.cs deleted file mode 100644 index bf532b4134..0000000000 --- a/sdk/dotnet/GloballyDistributedDatabase/ShardedDatabase.cs +++ /dev/null @@ -1,823 +0,0 @@ -// *** 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.GloballyDistributedDatabase -{ - /// - /// This resource provides the Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - /// - /// Creates a Sharded Database. - /// - /// Patch operation to add, remove or update shards to the sharded database topology. In single patch - /// operation, multiple shards can be either added, or removed or updated. Combination of inserts, update - /// and remove in single operation is not allowed. - /// - /// ## Import - /// - /// ShardedDatabases can be imported using the `id`, e.g. - /// - /// ```sh - /// $ pulumi import oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase test_sharded_database "id" - /// ``` - /// - [OciResourceType("oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase")] - public partial class ShardedDatabase : global::Pulumi.CustomResource - { - /// - /// Collection of ATP-Dedicated catalogs that needs to be created. - /// - [Output("catalogDetails")] - public Output> CatalogDetails { get; private set; } = null!; - - /// - /// The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - /// - [Output("characterSet")] - public Output CharacterSet { get; private set; } = null!; - - /// - /// The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - /// - [Output("chunks")] - public Output Chunks { get; private set; } = null!; - - /// - /// The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - /// - [Output("clusterCertificateCommonName")] - public Output ClusterCertificateCommonName { get; private set; } = null!; - - /// - /// (Updatable) Identifier of the compartment where sharded database is to be created. - /// - [Output("compartmentId")] - public Output CompartmentId { get; private set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - /// - [Output("configureGsmsTrigger")] - public Output ConfigureGsmsTrigger { get; private set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - /// - [Output("configureShardingTrigger")] - public Output ConfigureShardingTrigger { get; private set; } = null!; - - /// - /// Details of sharded database connection String. - /// - [Output("connectionStrings")] - public Output> ConnectionStrings { get; private set; } = null!; - - /// - /// The database deployment type. - /// - [Output("dbDeploymentType")] - public Output DbDeploymentType { get; private set; } = null!; - - /// - /// Oracle Database version of the Autonomous Container Database. - /// - [Output("dbVersion")] - public Output DbVersion { get; private set; } = null!; - - /// - /// Possible workload types. - /// - [Output("dbWorkload")] - public Output DbWorkload { 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) Oracle sharded database display name. - /// - [Output("displayName")] - public Output DisplayName { get; private set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - /// - [Output("downloadGsmCertificateSigningRequestTrigger")] - public Output DownloadGsmCertificateSigningRequestTrigger { 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!; - - /// - /// (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - /// - [Output("generateGsmCertificateSigningRequestTrigger")] - public Output GenerateGsmCertificateSigningRequestTrigger { get; private set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - /// - [Output("generateWalletTrigger")] - public Output GenerateWalletTrigger { get; private set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - /// - [Output("getConnectionStringTrigger")] - public Output GetConnectionStringTrigger { get; private set; } = null!; - - /// - /// Details of GSM instances for the sharded database. - /// - [Output("gsms")] - public Output> Gsms { get; private set; } = null!; - - [Output("lifecycleState")] - public Output LifecycleState { get; private set; } = null!; - - /// - /// Detailed message for the lifecycle state. - /// - [Output("lifecycleStateDetails")] - public Output LifecycleStateDetails { get; private set; } = null!; - - /// - /// The listener port number for sharded database. - /// - [Output("listenerPort")] - public Output ListenerPort { get; private set; } = null!; - - /// - /// The TLS listener port number for sharded database. - /// - [Output("listenerPortTls")] - public Output ListenerPortTls { get; private set; } = null!; - - /// - /// The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - /// - [Output("ncharacterSet")] - public Output NcharacterSet { get; private set; } = null!; - - /// - /// Ons port local for sharded database. - /// - [Output("onsPortLocal")] - public Output OnsPortLocal { get; private set; } = null!; - - /// - /// Ons remote port for sharded database. - /// - [Output("onsPortRemote")] - public Output OnsPortRemote { get; private set; } = null!; - - /// - /// (Updatable) - /// - [Output("patchOperations")] - public Output> PatchOperations { get; private set; } = null!; - - /// - /// Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - /// - [Output("prefix")] - public Output Prefix { get; private set; } = null!; - - /// - /// The OCID of private endpoint being used by the sharded database. - /// - [Output("privateEndpoint")] - public Output PrivateEndpoint { get; private set; } = null!; - - /// - /// Collection of ATP-Dedicated shards that needs to be created. - /// - [Output("shardDetails")] - public Output> ShardDetails { get; private set; } = null!; - - [Output("shardedDatabaseId")] - public Output ShardedDatabaseId { get; private set; } = null!; - - /// - /// Sharding Method. - /// - [Output("shardingMethod")] - public Output ShardingMethod { get; private set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - /// - [Output("startDatabaseTrigger")] - public Output StartDatabaseTrigger { get; private set; } = null!; - - /// - /// Lifecycle states for sharded databases. - /// - [Output("state")] - public Output State { get; private set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - /// - [Output("stopDatabaseTrigger")] - public Output StopDatabaseTrigger { get; private set; } = null!; - - /// - /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - /// - [Output("systemTags")] - public Output> SystemTags { get; private set; } = null!; - - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - [Output("timeCreated")] - public Output TimeCreated { get; private set; } = null!; - - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - [Output("timeUpdated")] - public Output TimeUpdated { get; private set; } = null!; - - /// - /// Timezone associated with the sharded database. - /// - [Output("timeZone")] - public Output TimeZone { get; private set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - /// - [Output("uploadSignedCertificateAndGenerateWalletTrigger")] - public Output UploadSignedCertificateAndGenerateWalletTrigger { get; private set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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("validateNetworkTrigger")] - public Output ValidateNetworkTrigger { get; private set; } = null!; - - - /// - /// Create a ShardedDatabase 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 ShardedDatabase(string name, ShardedDatabaseArgs args, CustomResourceOptions? options = null) - : base("oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase", name, args ?? new ShardedDatabaseArgs(), MakeResourceOptions(options, "")) - { - } - - private ShardedDatabase(string name, Input id, ShardedDatabaseState? state = null, CustomResourceOptions? options = null) - : base("oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase", 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 ShardedDatabase 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 ShardedDatabase Get(string name, Input id, ShardedDatabaseState? state = null, CustomResourceOptions? options = null) - { - return new ShardedDatabase(name, id, state, options); - } - } - - public sealed class ShardedDatabaseArgs : global::Pulumi.ResourceArgs - { - [Input("catalogDetails", required: true)] - private InputList? _catalogDetails; - - /// - /// Collection of ATP-Dedicated catalogs that needs to be created. - /// - public InputList CatalogDetails - { - get => _catalogDetails ?? (_catalogDetails = new InputList()); - set => _catalogDetails = value; - } - - /// - /// The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - /// - [Input("characterSet", required: true)] - public Input CharacterSet { get; set; } = null!; - - /// - /// The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - /// - [Input("chunks")] - public Input? Chunks { get; set; } - - /// - /// The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - /// - [Input("clusterCertificateCommonName")] - public Input? ClusterCertificateCommonName { get; set; } - - /// - /// (Updatable) Identifier of the compartment where sharded database is to be created. - /// - [Input("compartmentId", required: true)] - public Input CompartmentId { get; set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - /// - [Input("configureShardingTrigger")] - public Input? ConfigureShardingTrigger { get; set; } - - /// - /// The database deployment type. - /// - [Input("dbDeploymentType", required: true)] - public Input DbDeploymentType { get; set; } = null!; - - /// - /// Oracle Database version of the Autonomous Container Database. - /// - [Input("dbVersion", required: true)] - public Input DbVersion { get; set; } = null!; - - /// - /// Possible workload types. - /// - [Input("dbWorkload", required: true)] - public Input DbWorkload { 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) Oracle sharded database display name. - /// - [Input("displayName", required: true)] - public Input DisplayName { get; set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - /// - [Input("downloadGsmCertificateSigningRequestTrigger")] - public Input? DownloadGsmCertificateSigningRequestTrigger { 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; - } - - /// - /// (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - /// - [Input("generateGsmCertificateSigningRequestTrigger")] - public Input? GenerateGsmCertificateSigningRequestTrigger { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - /// - [Input("getConnectionStringTrigger")] - public Input? GetConnectionStringTrigger { get; set; } - - /// - /// The listener port number for sharded database. - /// - [Input("listenerPort", required: true)] - public Input ListenerPort { get; set; } = null!; - - /// - /// The TLS listener port number for sharded database. - /// - [Input("listenerPortTls", required: true)] - public Input ListenerPortTls { get; set; } = null!; - - /// - /// The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - /// - [Input("ncharacterSet", required: true)] - public Input NcharacterSet { get; set; } = null!; - - /// - /// Ons port local for sharded database. - /// - [Input("onsPortLocal", required: true)] - public Input OnsPortLocal { get; set; } = null!; - - /// - /// Ons remote port for sharded database. - /// - [Input("onsPortRemote", required: true)] - public Input OnsPortRemote { get; set; } = null!; - - [Input("patchOperations")] - private InputList? _patchOperations; - - /// - /// (Updatable) - /// - public InputList PatchOperations - { - get => _patchOperations ?? (_patchOperations = new InputList()); - set => _patchOperations = value; - } - - /// - /// Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - /// - [Input("prefix", required: true)] - public Input Prefix { get; set; } = null!; - - [Input("shardDetails", required: true)] - private InputList? _shardDetails; - - /// - /// Collection of ATP-Dedicated shards that needs to be created. - /// - public InputList ShardDetails - { - get => _shardDetails ?? (_shardDetails = new InputList()); - set => _shardDetails = value; - } - - /// - /// Sharding Method. - /// - [Input("shardingMethod", required: true)] - public Input ShardingMethod { get; set; } = null!; - - /// - /// (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - /// - [Input("startDatabaseTrigger")] - public Input? StartDatabaseTrigger { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - /// - [Input("stopDatabaseTrigger")] - public Input? StopDatabaseTrigger { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - /// - [Input("validateNetworkTrigger")] - public Input? ValidateNetworkTrigger { get; set; } - - public ShardedDatabaseArgs() - { - } - public static new ShardedDatabaseArgs Empty => new ShardedDatabaseArgs(); - } - - public sealed class ShardedDatabaseState : global::Pulumi.ResourceArgs - { - [Input("catalogDetails")] - private InputList? _catalogDetails; - - /// - /// Collection of ATP-Dedicated catalogs that needs to be created. - /// - public InputList CatalogDetails - { - get => _catalogDetails ?? (_catalogDetails = new InputList()); - set => _catalogDetails = value; - } - - /// - /// The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - /// - [Input("characterSet")] - public Input? CharacterSet { get; set; } - - /// - /// The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - /// - [Input("chunks")] - public Input? Chunks { get; set; } - - /// - /// The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - /// - [Input("clusterCertificateCommonName")] - public Input? ClusterCertificateCommonName { get; set; } - - /// - /// (Updatable) Identifier of the compartment where sharded database is to be created. - /// - [Input("compartmentId")] - public Input? CompartmentId { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - /// - [Input("configureGsmsTrigger")] - public Input? ConfigureGsmsTrigger { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - /// - [Input("configureShardingTrigger")] - public Input? ConfigureShardingTrigger { get; set; } - - [Input("connectionStrings")] - private InputList? _connectionStrings; - - /// - /// Details of sharded database connection String. - /// - public InputList ConnectionStrings - { - get => _connectionStrings ?? (_connectionStrings = new InputList()); - set => _connectionStrings = value; - } - - /// - /// The database deployment type. - /// - [Input("dbDeploymentType")] - public Input? DbDeploymentType { get; set; } - - /// - /// Oracle Database version of the Autonomous Container Database. - /// - [Input("dbVersion")] - public Input? DbVersion { get; set; } - - /// - /// Possible workload types. - /// - [Input("dbWorkload")] - public Input? DbWorkload { 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) Oracle sharded database display name. - /// - [Input("displayName")] - public Input? DisplayName { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - /// - [Input("downloadGsmCertificateSigningRequestTrigger")] - public Input? DownloadGsmCertificateSigningRequestTrigger { 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; - } - - /// - /// (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - /// - [Input("generateGsmCertificateSigningRequestTrigger")] - public Input? GenerateGsmCertificateSigningRequestTrigger { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - /// - [Input("generateWalletTrigger")] - public Input? GenerateWalletTrigger { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - /// - [Input("getConnectionStringTrigger")] - public Input? GetConnectionStringTrigger { get; set; } - - [Input("gsms")] - private InputList? _gsms; - - /// - /// Details of GSM instances for the sharded database. - /// - public InputList Gsms - { - get => _gsms ?? (_gsms = new InputList()); - set => _gsms = value; - } - - [Input("lifecycleState")] - public Input? LifecycleState { get; set; } - - /// - /// Detailed message for the lifecycle state. - /// - [Input("lifecycleStateDetails")] - public Input? LifecycleStateDetails { get; set; } - - /// - /// The listener port number for sharded database. - /// - [Input("listenerPort")] - public Input? ListenerPort { get; set; } - - /// - /// The TLS listener port number for sharded database. - /// - [Input("listenerPortTls")] - public Input? ListenerPortTls { get; set; } - - /// - /// The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - /// - [Input("ncharacterSet")] - public Input? NcharacterSet { get; set; } - - /// - /// Ons port local for sharded database. - /// - [Input("onsPortLocal")] - public Input? OnsPortLocal { get; set; } - - /// - /// Ons remote port for sharded database. - /// - [Input("onsPortRemote")] - public Input? OnsPortRemote { get; set; } - - [Input("patchOperations")] - private InputList? _patchOperations; - - /// - /// (Updatable) - /// - public InputList PatchOperations - { - get => _patchOperations ?? (_patchOperations = new InputList()); - set => _patchOperations = value; - } - - /// - /// Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - /// - [Input("prefix")] - public Input? Prefix { get; set; } - - /// - /// The OCID of private endpoint being used by the sharded database. - /// - [Input("privateEndpoint")] - public Input? PrivateEndpoint { get; set; } - - [Input("shardDetails")] - private InputList? _shardDetails; - - /// - /// Collection of ATP-Dedicated shards that needs to be created. - /// - public InputList ShardDetails - { - get => _shardDetails ?? (_shardDetails = new InputList()); - set => _shardDetails = value; - } - - [Input("shardedDatabaseId")] - public Input? ShardedDatabaseId { get; set; } - - /// - /// Sharding Method. - /// - [Input("shardingMethod")] - public Input? ShardingMethod { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - /// - [Input("startDatabaseTrigger")] - public Input? StartDatabaseTrigger { get; set; } - - /// - /// Lifecycle states for sharded databases. - /// - [Input("state")] - public Input? State { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - /// - [Input("stopDatabaseTrigger")] - public Input? StopDatabaseTrigger { get; set; } - - [Input("systemTags")] - private InputMap? _systemTags; - - /// - /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - /// - public InputMap SystemTags - { - get => _systemTags ?? (_systemTags = new InputMap()); - set => _systemTags = value; - } - - /// - /// The time the the Sharded Database was created. An RFC3339 formatted datetime string - /// - [Input("timeCreated")] - public Input? TimeCreated { get; set; } - - /// - /// The time the Sharded Database was last updated. An RFC3339 formatted datetime string - /// - [Input("timeUpdated")] - public Input? TimeUpdated { get; set; } - - /// - /// Timezone associated with the sharded database. - /// - [Input("timeZone")] - public Input? TimeZone { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - /// - [Input("uploadSignedCertificateAndGenerateWalletTrigger")] - public Input? UploadSignedCertificateAndGenerateWalletTrigger { get; set; } - - /// - /// (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - /// - [Input("validateNetworkTrigger")] - public Input? ValidateNetworkTrigger { get; set; } - - public ShardedDatabaseState() - { - } - public static new ShardedDatabaseState Empty => new ShardedDatabaseState(); - } -} diff --git a/sdk/dotnet/Identity/DomainsGroup.cs b/sdk/dotnet/Identity/DomainsGroup.cs index c7e6b8fc90..0e7a011e32 100644 --- a/sdk/dotnet/Identity/DomainsGroup.cs +++ b/sdk/dotnet/Identity/DomainsGroup.cs @@ -125,6 +125,9 @@ public partial class DomainsGroup : global::Pulumi.CustomResource [Output("externalId")] public Output ExternalId { get; private set; } = null!; + [Output("forceDelete")] + public Output ForceDelete { get; private set; } = null!; + /// /// (Updatable) The User or App who created the Resource /// @@ -453,6 +456,9 @@ public InputList AttributeSets [Input("externalId")] public Input? ExternalId { get; set; } + [Input("forceDelete")] + public Input? ForceDelete { get; set; } + /// /// The basic endpoint for the identity domain /// @@ -712,6 +718,9 @@ public InputList AttributeSets [Input("externalId")] public Input? ExternalId { get; set; } + [Input("forceDelete")] + public Input? ForceDelete { get; set; } + [Input("idcsCreatedBies")] private InputList? _idcsCreatedBies; diff --git a/sdk/dotnet/Identity/DomainsUser.cs b/sdk/dotnet/Identity/DomainsUser.cs index a786ce6ebe..516364c188 100644 --- a/sdk/dotnet/Identity/DomainsUser.cs +++ b/sdk/dotnet/Identity/DomainsUser.cs @@ -214,6 +214,9 @@ public partial class DomainsUser : global::Pulumi.CustomResource [Output("externalId")] public Output ExternalId { get; private set; } = null!; + [Output("forceDelete")] + public Output ForceDelete { get; private set; } = null!; + /// /// (Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated /// @@ -981,6 +984,9 @@ public InputList Entitlements [Input("externalId")] public Input? ExternalId { get; set; } + [Input("forceDelete")] + public Input? ForceDelete { get; set; } + /// /// The basic endpoint for the identity domain /// @@ -1681,6 +1687,9 @@ public InputList Entitlements [Input("externalId")] public Input? ExternalId { get; set; } + [Input("forceDelete")] + public Input? ForceDelete { get; set; } + [Input("groups")] private InputList? _groups; diff --git a/sdk/dotnet/Identity/GetDomainsGroup.cs b/sdk/dotnet/Identity/GetDomainsGroup.cs index 9be2442778..800c1f2cb8 100644 --- a/sdk/dotnet/Identity/GetDomainsGroup.cs +++ b/sdk/dotnet/Identity/GetDomainsGroup.cs @@ -202,6 +202,7 @@ public sealed class GetDomainsGroupResult /// An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant. /// public readonly string ExternalId; + public readonly bool ForceDelete; public readonly string GroupId; /// /// Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. @@ -296,6 +297,8 @@ private GetDomainsGroupResult( string externalId, + bool forceDelete, + string groupId, string id, @@ -346,6 +349,7 @@ private GetDomainsGroupResult( DisplayName = displayName; DomainOcid = domainOcid; ExternalId = externalId; + ForceDelete = forceDelete; GroupId = groupId; Id = id; IdcsCreatedBies = idcsCreatedBies; diff --git a/sdk/dotnet/Identity/GetDomainsUser.cs b/sdk/dotnet/Identity/GetDomainsUser.cs index f5b71800b2..d819477e93 100644 --- a/sdk/dotnet/Identity/GetDomainsUser.cs +++ b/sdk/dotnet/Identity/GetDomainsUser.cs @@ -222,6 +222,7 @@ public sealed class GetDomainsUserResult /// An identifier for the Resource as defined by the Service Consumer. READ-ONLY. /// public readonly string ExternalId; + public readonly bool ForceDelete; /// /// A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated /// @@ -441,6 +442,8 @@ private GetDomainsUserResult( string externalId, + bool forceDelete, + ImmutableArray groups, string id, @@ -552,6 +555,7 @@ private GetDomainsUserResult( Emails = emails; Entitlements = entitlements; ExternalId = externalId; + ForceDelete = forceDelete; Groups = groups; Id = id; IdcsCreatedBies = idcsCreatedBies; diff --git a/sdk/dotnet/Identity/Outputs/GetDomainsGroupsGroupResult.cs b/sdk/dotnet/Identity/Outputs/GetDomainsGroupsGroupResult.cs index ae9afaa0e3..b220273ed1 100644 --- a/sdk/dotnet/Identity/Outputs/GetDomainsGroupsGroupResult.cs +++ b/sdk/dotnet/Identity/Outputs/GetDomainsGroupsGroupResult.cs @@ -45,6 +45,7 @@ public sealed class GetDomainsGroupsGroupResult /// An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant. /// public readonly string ExternalId; + public readonly bool ForceDelete; /// /// Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. /// @@ -144,6 +145,8 @@ private GetDomainsGroupsGroupResult( string externalId, + bool forceDelete, + string id, ImmutableArray idcsCreatedBies, @@ -192,6 +195,7 @@ private GetDomainsGroupsGroupResult( DisplayName = displayName; DomainOcid = domainOcid; ExternalId = externalId; + ForceDelete = forceDelete; Id = id; IdcsCreatedBies = idcsCreatedBies; IdcsEndpoint = idcsEndpoint; diff --git a/sdk/dotnet/Identity/Outputs/GetDomainsUsersUserResult.cs b/sdk/dotnet/Identity/Outputs/GetDomainsUsersUserResult.cs index 8f0b154773..d1a1ef08b9 100644 --- a/sdk/dotnet/Identity/Outputs/GetDomainsUsersUserResult.cs +++ b/sdk/dotnet/Identity/Outputs/GetDomainsUsersUserResult.cs @@ -65,6 +65,7 @@ public sealed class GetDomainsUsersUserResult /// An identifier for the Resource as defined by the Service Consumer. READ-ONLY. /// public readonly string ExternalId; + public readonly bool ForceDelete; /// /// A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated /// @@ -286,6 +287,8 @@ private GetDomainsUsersUserResult( string externalId, + bool forceDelete, + ImmutableArray groups, string id, @@ -395,6 +398,7 @@ private GetDomainsUsersUserResult( Emails = emails; Entitlements = entitlements; ExternalId = externalId; + ForceDelete = forceDelete; Groups = groups; Id = id; IdcsCreatedBies = idcsCreatedBies; diff --git a/sdk/dotnet/Kms/GetVault.cs b/sdk/dotnet/Kms/GetVault.cs index 96ecb76f97..abca39567e 100644 --- a/sdk/dotnet/Kms/GetVault.cs +++ b/sdk/dotnet/Kms/GetVault.cs @@ -143,6 +143,10 @@ public sealed class GetVaultResult /// public readonly bool IsPrimary; /// + /// A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + /// + public readonly bool IsVaultReplicable; + /// /// The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. /// public readonly string ManagementEndpoint; @@ -204,6 +208,8 @@ private GetVaultResult( bool isPrimary, + bool isVaultReplicable, + string managementEndpoint, ImmutableArray replicaDetails, @@ -235,6 +241,7 @@ private GetVaultResult( FreeformTags = freeformTags; Id = id; IsPrimary = isPrimary; + IsVaultReplicable = isVaultReplicable; ManagementEndpoint = managementEndpoint; ReplicaDetails = replicaDetails; RestoreFromFiles = restoreFromFiles; diff --git a/sdk/dotnet/Kms/Inputs/KeyAutoKeyRotationDetailsArgs.cs b/sdk/dotnet/Kms/Inputs/KeyAutoKeyRotationDetailsArgs.cs index 87474000fc..13bca54c73 100644 --- a/sdk/dotnet/Kms/Inputs/KeyAutoKeyRotationDetailsArgs.cs +++ b/sdk/dotnet/Kms/Inputs/KeyAutoKeyRotationDetailsArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.Kms.Inputs public sealed class KeyAutoKeyRotationDetailsArgs : global::Pulumi.ResourceArgs { /// - /// (Updatable) The last execution status message. + /// (Updatable) The last execution status message of auto key rotation. /// [Input("lastRotationMessage")] public Input? LastRotationMessage { get; set; } @@ -25,25 +25,25 @@ public sealed class KeyAutoKeyRotationDetailsArgs : global::Pulumi.ResourceArgs public Input? LastRotationStatus { get; set; } /// - /// (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + /// (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. /// [Input("rotationIntervalInDays")] public Input? RotationIntervalInDays { get; set; } /// - /// (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + /// (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. /// [Input("timeOfLastRotation")] public Input? TimeOfLastRotation { get; set; } /// - /// (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + /// (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. /// [Input("timeOfNextRotation")] public Input? TimeOfNextRotation { get; set; } /// - /// (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + /// (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. /// [Input("timeOfScheduleStart")] public Input? TimeOfScheduleStart { get; set; } diff --git a/sdk/dotnet/Kms/Inputs/KeyAutoKeyRotationDetailsGetArgs.cs b/sdk/dotnet/Kms/Inputs/KeyAutoKeyRotationDetailsGetArgs.cs index e519177173..af0782fd4d 100644 --- a/sdk/dotnet/Kms/Inputs/KeyAutoKeyRotationDetailsGetArgs.cs +++ b/sdk/dotnet/Kms/Inputs/KeyAutoKeyRotationDetailsGetArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.Kms.Inputs public sealed class KeyAutoKeyRotationDetailsGetArgs : global::Pulumi.ResourceArgs { /// - /// (Updatable) The last execution status message. + /// (Updatable) The last execution status message of auto key rotation. /// [Input("lastRotationMessage")] public Input? LastRotationMessage { get; set; } @@ -25,25 +25,25 @@ public sealed class KeyAutoKeyRotationDetailsGetArgs : global::Pulumi.ResourceAr public Input? LastRotationStatus { get; set; } /// - /// (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + /// (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. /// [Input("rotationIntervalInDays")] public Input? RotationIntervalInDays { get; set; } /// - /// (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + /// (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. /// [Input("timeOfLastRotation")] public Input? TimeOfLastRotation { get; set; } /// - /// (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + /// (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. /// [Input("timeOfNextRotation")] public Input? TimeOfNextRotation { get; set; } /// - /// (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + /// (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. /// [Input("timeOfScheduleStart")] public Input? TimeOfScheduleStart { get; set; } diff --git a/sdk/dotnet/Kms/Outputs/GetKeyAutoKeyRotationDetailResult.cs b/sdk/dotnet/Kms/Outputs/GetKeyAutoKeyRotationDetailResult.cs index f455395ae5..cc5023ce00 100644 --- a/sdk/dotnet/Kms/Outputs/GetKeyAutoKeyRotationDetailResult.cs +++ b/sdk/dotnet/Kms/Outputs/GetKeyAutoKeyRotationDetailResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.Kms.Outputs public sealed class GetKeyAutoKeyRotationDetailResult { /// - /// The last execution status message. + /// The last execution status message of auto key rotation. /// public readonly string LastRotationMessage; /// @@ -22,19 +22,19 @@ public sealed class GetKeyAutoKeyRotationDetailResult /// public readonly string LastRotationStatus; /// - /// The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + /// The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. /// public readonly int RotationIntervalInDays; /// - /// A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + /// A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. /// public readonly string TimeOfLastRotation; /// - /// A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + /// A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. /// public readonly string TimeOfNextRotation; /// - /// A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + /// A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. /// public readonly string TimeOfScheduleStart; diff --git a/sdk/dotnet/Kms/Outputs/GetKeysKeyAutoKeyRotationDetailResult.cs b/sdk/dotnet/Kms/Outputs/GetKeysKeyAutoKeyRotationDetailResult.cs index ec287e770a..f33baa5361 100644 --- a/sdk/dotnet/Kms/Outputs/GetKeysKeyAutoKeyRotationDetailResult.cs +++ b/sdk/dotnet/Kms/Outputs/GetKeysKeyAutoKeyRotationDetailResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.Kms.Outputs public sealed class GetKeysKeyAutoKeyRotationDetailResult { /// - /// The last execution status message. + /// The last execution status message of auto key rotation. /// public readonly string LastRotationMessage; /// @@ -22,19 +22,19 @@ public sealed class GetKeysKeyAutoKeyRotationDetailResult /// public readonly string LastRotationStatus; /// - /// The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + /// The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. /// public readonly int RotationIntervalInDays; /// - /// A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + /// A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. /// public readonly string TimeOfLastRotation; /// - /// A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + /// A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. /// public readonly string TimeOfNextRotation; /// - /// A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + /// A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. /// public readonly string TimeOfScheduleStart; diff --git a/sdk/dotnet/Kms/Outputs/GetVaultsVaultResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultsVaultResult.cs index ce0ecf0ffb..9a43f219e8 100644 --- a/sdk/dotnet/Kms/Outputs/GetVaultsVaultResult.cs +++ b/sdk/dotnet/Kms/Outputs/GetVaultsVaultResult.cs @@ -47,6 +47,10 @@ public sealed class GetVaultsVaultResult /// public readonly bool IsPrimary; /// + /// A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + /// + public readonly bool IsVaultReplicable; + /// /// The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. /// public readonly string ManagementEndpoint; @@ -98,6 +102,8 @@ private GetVaultsVaultResult( bool isPrimary, + bool isVaultReplicable, + string managementEndpoint, ImmutableArray replicaDetails, @@ -127,6 +133,7 @@ private GetVaultsVaultResult( FreeformTags = freeformTags; Id = id; IsPrimary = isPrimary; + IsVaultReplicable = isVaultReplicable; ManagementEndpoint = managementEndpoint; ReplicaDetails = replicaDetails; RestoreFromFiles = restoreFromFiles; diff --git a/sdk/dotnet/Kms/Outputs/KeyAutoKeyRotationDetails.cs b/sdk/dotnet/Kms/Outputs/KeyAutoKeyRotationDetails.cs index dbfc3bd9ca..50c79d2514 100644 --- a/sdk/dotnet/Kms/Outputs/KeyAutoKeyRotationDetails.cs +++ b/sdk/dotnet/Kms/Outputs/KeyAutoKeyRotationDetails.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.Kms.Outputs public sealed class KeyAutoKeyRotationDetails { /// - /// (Updatable) The last execution status message. + /// (Updatable) The last execution status message of auto key rotation. /// public readonly string? LastRotationMessage; /// @@ -22,19 +22,19 @@ public sealed class KeyAutoKeyRotationDetails /// public readonly string? LastRotationStatus; /// - /// (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + /// (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. /// public readonly int? RotationIntervalInDays; /// - /// (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + /// (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. /// public readonly string? TimeOfLastRotation; /// - /// (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + /// (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. /// public readonly string? TimeOfNextRotation; /// - /// (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + /// (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. /// public readonly string? TimeOfScheduleStart; diff --git a/sdk/dotnet/Kms/Vault.cs b/sdk/dotnet/Kms/Vault.cs index 6a8bf00228..6f4bfd6188 100644 --- a/sdk/dotnet/Kms/Vault.cs +++ b/sdk/dotnet/Kms/Vault.cs @@ -120,6 +120,12 @@ public partial class Vault : global::Pulumi.CustomResource [Output("isPrimary")] public Output IsPrimary { get; private set; } = null!; + /// + /// A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + /// + [Output("isVaultReplicable")] + public Output IsVaultReplicable { get; private set; } = null!; + /// /// The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. /// @@ -372,6 +378,12 @@ public InputMap FreeformTags [Input("isPrimary")] public Input? IsPrimary { get; set; } + /// + /// A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + /// + [Input("isVaultReplicable")] + public Input? IsVaultReplicable { get; set; } + /// /// The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. /// diff --git a/sdk/dotnet/LoadBalancer/LoadBalancer.cs b/sdk/dotnet/LoadBalancer/LoadBalancer.cs index d648dac576..2a2337cc28 100644 --- a/sdk/dotnet/LoadBalancer/LoadBalancer.cs +++ b/sdk/dotnet/LoadBalancer/LoadBalancer.cs @@ -68,7 +68,9 @@ namespace Pulumi.Oci.LoadBalancer /// IpMode = loadBalancerIpMode, /// IsDeleteProtectionEnabled = loadBalancerIsDeleteProtectionEnabled, /// IsPrivate = loadBalancerIsPrivate, + /// IsRequestIdEnabled = loadBalancerIsRequestIdEnabled, /// NetworkSecurityGroupIds = loadBalancerNetworkSecurityGroupIds, + /// RequestIdHeader = loadBalancerRequestIdHeader, /// ReservedIps = new[] /// { /// new Oci.LoadBalancer.Inputs.LoadBalancerReservedIpArgs @@ -171,6 +173,20 @@ public partial class LoadBalancer : global::Pulumi.CustomResource [Output("isPrivate")] public Output IsPrivate { get; private set; } = null!; + /// + /// (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + /// + /// If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + /// + /// If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + /// + /// New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + /// + /// Example: `true` + /// + [Output("isRequestIdEnabled")] + public Output IsRequestIdEnabled { get; private set; } = null!; + /// /// (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. /// @@ -185,6 +201,22 @@ public partial class LoadBalancer : global::Pulumi.CustomResource [Output("networkSecurityGroupIds")] public Output> NetworkSecurityGroupIds { get; private set; } = null!; + /// + /// (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + /// + /// If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + /// + /// If isRequestIdEnabled is false then this field is ignored. + /// + /// If this field is not set or is set to "" then this field defaults to X-Request-Id + /// + /// **Notes:** + /// * Unless the header name is "" it must start with "X-" prefix. + /// * Setting the header name to "" will set it to the default: X-Request-Id. + /// + [Output("requestIdHeader")] + public Output RequestIdHeader { get; private set; } = null!; + /// /// 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. /// @@ -351,6 +383,20 @@ public InputMap FreeformTags [Input("isPrivate")] public Input? IsPrivate { get; set; } + /// + /// (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + /// + /// If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + /// + /// If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + /// + /// New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + /// + /// Example: `true` + /// + [Input("isRequestIdEnabled")] + public Input? IsRequestIdEnabled { get; set; } + [Input("networkSecurityGroupIds")] private InputList? _networkSecurityGroupIds; @@ -371,6 +417,22 @@ public InputList NetworkSecurityGroupIds set => _networkSecurityGroupIds = value; } + /// + /// (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + /// + /// If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + /// + /// If isRequestIdEnabled is false then this field is ignored. + /// + /// If this field is not set or is set to "" then this field defaults to X-Request-Id + /// + /// **Notes:** + /// * Unless the header name is "" it must start with "X-" prefix. + /// * Setting the header name to "" will set it to the default: X-Request-Id. + /// + [Input("requestIdHeader")] + public Input? RequestIdHeader { get; set; } + [Input("reservedIps")] private InputList? _reservedIps; @@ -518,6 +580,20 @@ public InputList IpAddresses [Input("isPrivate")] public Input? IsPrivate { get; set; } + /// + /// (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + /// + /// If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + /// + /// If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + /// + /// New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + /// + /// Example: `true` + /// + [Input("isRequestIdEnabled")] + public Input? IsRequestIdEnabled { get; set; } + [Input("networkSecurityGroupIds")] private InputList? _networkSecurityGroupIds; @@ -538,6 +614,22 @@ public InputList NetworkSecurityGroupIds set => _networkSecurityGroupIds = value; } + /// + /// (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + /// + /// If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + /// + /// If isRequestIdEnabled is false then this field is ignored. + /// + /// If this field is not set or is set to "" then this field defaults to X-Request-Id + /// + /// **Notes:** + /// * Unless the header name is "" it must start with "X-" prefix. + /// * Setting the header name to "" will set it to the default: X-Request-Id. + /// + [Input("requestIdHeader")] + public Input? RequestIdHeader { get; set; } + [Input("reservedIps")] private InputList? _reservedIps; diff --git a/sdk/dotnet/LoadBalancer/Outputs/GetLoadBalancersLoadBalancerResult.cs b/sdk/dotnet/LoadBalancer/Outputs/GetLoadBalancersLoadBalancerResult.cs index 74fbf5c5c2..eacc8a7ea1 100644 --- a/sdk/dotnet/LoadBalancer/Outputs/GetLoadBalancersLoadBalancerResult.cs +++ b/sdk/dotnet/LoadBalancer/Outputs/GetLoadBalancersLoadBalancerResult.cs @@ -51,9 +51,17 @@ public sealed class GetLoadBalancersLoadBalancerResult /// public readonly bool IsPrivate; /// + /// Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + /// + public readonly bool IsRequestIdEnabled; + /// /// An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load balancer. /// public readonly ImmutableArray NetworkSecurityGroupIds; + /// + /// If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + /// + public readonly string RequestIdHeader; public readonly ImmutableArray ReservedIps; /// /// A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `100Mbps` @@ -102,8 +110,12 @@ private GetLoadBalancersLoadBalancerResult( bool isPrivate, + bool isRequestIdEnabled, + ImmutableArray networkSecurityGroupIds, + string requestIdHeader, + ImmutableArray reservedIps, string shape, @@ -128,7 +140,9 @@ private GetLoadBalancersLoadBalancerResult( IpMode = ipMode; IsDeleteProtectionEnabled = isDeleteProtectionEnabled; IsPrivate = isPrivate; + IsRequestIdEnabled = isRequestIdEnabled; NetworkSecurityGroupIds = networkSecurityGroupIds; + RequestIdHeader = requestIdHeader; ReservedIps = reservedIps; Shape = shape; ShapeDetails = shapeDetails; diff --git a/sdk/dotnet/Mysql/GetMysqlDbSystem.cs b/sdk/dotnet/Mysql/GetMysqlDbSystem.cs index df4587f1b8..51b095821c 100644 --- a/sdk/dotnet/Mysql/GetMysqlDbSystem.cs +++ b/sdk/dotnet/Mysql/GetMysqlDbSystem.cs @@ -128,7 +128,11 @@ public sealed class GetMysqlDbSystemResult /// public readonly ImmutableArray CurrentPlacements; /// - /// DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + /// The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + /// + public readonly ImmutableArray CustomerContacts; + /// + /// Initial size of the data volume in GiBs that will be created and attached. /// public readonly int DataStorageSizeInGb; /// @@ -269,6 +273,8 @@ private GetMysqlDbSystemResult( ImmutableArray currentPlacements, + ImmutableArray customerContacts, + int dataStorageSizeInGb, ImmutableArray dataStorages, @@ -340,6 +346,7 @@ private GetMysqlDbSystemResult( ConfigurationId = configurationId; CrashRecovery = crashRecovery; CurrentPlacements = currentPlacements; + CustomerContacts = customerContacts; DataStorageSizeInGb = dataStorageSizeInGb; DataStorages = dataStorages; DatabaseManagement = databaseManagement; diff --git a/sdk/dotnet/Mysql/Inputs/MysqlDbSystemCustomerContactArgs.cs b/sdk/dotnet/Mysql/Inputs/MysqlDbSystemCustomerContactArgs.cs new file mode 100644 index 0000000000..3701d95ccf --- /dev/null +++ b/sdk/dotnet/Mysql/Inputs/MysqlDbSystemCustomerContactArgs.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.Mysql.Inputs +{ + + public sealed class MysqlDbSystemCustomerContactArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The email address used by Oracle to send notifications regarding the DB System. + /// + [Input("email", required: true)] + public Input Email { get; set; } = null!; + + public MysqlDbSystemCustomerContactArgs() + { + } + public static new MysqlDbSystemCustomerContactArgs Empty => new MysqlDbSystemCustomerContactArgs(); + } +} diff --git a/sdk/dotnet/Mysql/Inputs/MysqlDbSystemCustomerContactGetArgs.cs b/sdk/dotnet/Mysql/Inputs/MysqlDbSystemCustomerContactGetArgs.cs new file mode 100644 index 0000000000..25c3d27803 --- /dev/null +++ b/sdk/dotnet/Mysql/Inputs/MysqlDbSystemCustomerContactGetArgs.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.Mysql.Inputs +{ + + public sealed class MysqlDbSystemCustomerContactGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The email address used by Oracle to send notifications regarding the DB System. + /// + [Input("email", required: true)] + public Input Email { get; set; } = null!; + + public MysqlDbSystemCustomerContactGetArgs() + { + } + public static new MysqlDbSystemCustomerContactGetArgs Empty => new MysqlDbSystemCustomerContactGetArgs(); + } +} diff --git a/sdk/dotnet/Mysql/MysqlDbSystem.cs b/sdk/dotnet/Mysql/MysqlDbSystem.cs index 97f99f5fe1..956e570402 100644 --- a/sdk/dotnet/Mysql/MysqlDbSystem.cs +++ b/sdk/dotnet/Mysql/MysqlDbSystem.cs @@ -52,6 +52,13 @@ namespace Pulumi.Oci.Mysql /// }, /// ConfigurationId = testConfiguration.Id, /// CrashRecovery = mysqlDbSystemCrashRecovery, + /// CustomerContacts = new[] + /// { + /// new Oci.Mysql.Inputs.MysqlDbSystemCustomerContactArgs + /// { + /// Email = mysqlDbSystemCustomerContactsEmail, + /// }, + /// }, /// DataStorage = new Oci.Mysql.Inputs.MysqlDbSystemDataStorageArgs /// { /// IsAutoExpandStorageEnabled = mysqlDbSystemDataStorageIsAutoExpandStorageEnabled, @@ -172,6 +179,12 @@ public partial class MysqlDbSystem : global::Pulumi.CustomResource [Output("currentPlacements")] public Output> CurrentPlacements { get; private set; } = null!; + /// + /// (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + /// + [Output("customerContacts")] + public Output> CustomerContacts { get; private set; } = null!; + /// /// (Updatable) Data Storage configuration properties. /// @@ -466,6 +479,18 @@ public Input? AdminPassword [Input("crashRecovery")] public Input? CrashRecovery { get; set; } + [Input("customerContacts")] + private InputList? _customerContacts; + + /// + /// (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + /// + public InputList CustomerContacts + { + get => _customerContacts ?? (_customerContacts = new InputList()); + set => _customerContacts = value; + } + /// /// (Updatable) Data Storage configuration properties. /// @@ -718,6 +743,18 @@ public InputList CurrentPlacements set => _currentPlacements = value; } + [Input("customerContacts")] + private InputList? _customerContacts; + + /// + /// (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + /// + public InputList CustomerContacts + { + get => _customerContacts ?? (_customerContacts = new InputList()); + set => _customerContacts = value; + } + /// /// (Updatable) Data Storage configuration properties. /// diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseConnectionString.cs b/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemCustomerContactResult.cs similarity index 52% rename from sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseConnectionString.cs rename to sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemCustomerContactResult.cs index b54a7d694e..678691c519 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/ShardedDatabaseConnectionString.cs +++ b/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemCustomerContactResult.cs @@ -7,21 +7,21 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Outputs +namespace Pulumi.Oci.Mysql.Outputs { [OutputType] - public sealed class ShardedDatabaseConnectionString + public sealed class GetMysqlDbSystemCustomerContactResult { /// - /// Collection of connection strings. + /// The email address used by Oracle to send notifications regarding the DB System. /// - public readonly ImmutableDictionary? AllConnectionStrings; + public readonly string Email; [OutputConstructor] - private ShardedDatabaseConnectionString(ImmutableDictionary? allConnectionStrings) + private GetMysqlDbSystemCustomerContactResult(string email) { - AllConnectionStrings = allConnectionStrings; + Email = email; } } } diff --git a/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemDataStorageResult.cs b/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemDataStorageResult.cs index e523d4d6a8..2d81c85a88 100644 --- a/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemDataStorageResult.cs +++ b/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemDataStorageResult.cs @@ -18,7 +18,7 @@ public sealed class GetMysqlDbSystemDataStorageResult /// public readonly int AllocatedStorageSizeInGbs; /// - /// DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + /// Initial size of the data volume in GiBs that will be created and attached. /// public readonly int DataStorageSizeInGb; /// diff --git a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseConnectionStringResult.cs b/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemCustomerContactResult.cs similarity index 51% rename from sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseConnectionStringResult.cs rename to sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemCustomerContactResult.cs index a519a9afbb..18715dfdbd 100644 --- a/sdk/dotnet/GloballyDistributedDatabase/Outputs/GetShardedDatabaseConnectionStringResult.cs +++ b/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemCustomerContactResult.cs @@ -7,21 +7,21 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.GloballyDistributedDatabase.Outputs +namespace Pulumi.Oci.Mysql.Outputs { [OutputType] - public sealed class GetShardedDatabaseConnectionStringResult + public sealed class GetMysqlDbSystemsDbSystemCustomerContactResult { /// - /// Collection of connection strings. + /// The email address used by Oracle to send notifications regarding the DB System. /// - public readonly ImmutableDictionary AllConnectionStrings; + public readonly string Email; [OutputConstructor] - private GetShardedDatabaseConnectionStringResult(ImmutableDictionary allConnectionStrings) + private GetMysqlDbSystemsDbSystemCustomerContactResult(string email) { - AllConnectionStrings = allConnectionStrings; + Email = email; } } } diff --git a/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemDataStorageResult.cs b/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemDataStorageResult.cs index 7da18e209a..8a588b1667 100644 --- a/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemDataStorageResult.cs +++ b/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemDataStorageResult.cs @@ -18,7 +18,7 @@ public sealed class GetMysqlDbSystemsDbSystemDataStorageResult /// public readonly int AllocatedStorageSizeInGbs; /// - /// DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + /// Initial size of the data volume in GiBs that will be created and attached. /// public readonly int DataStorageSizeInGb; /// diff --git a/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemResult.cs b/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemResult.cs index f2669a1cac..d6be74a778 100644 --- a/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemResult.cs +++ b/sdk/dotnet/Mysql/Outputs/GetMysqlDbSystemsDbSystemResult.cs @@ -44,7 +44,11 @@ public sealed class GetMysqlDbSystemsDbSystemResult /// public readonly ImmutableArray CurrentPlacements; /// - /// DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + /// The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + /// + public readonly ImmutableArray CustomerContacts; + /// + /// Initial size of the data volume in GiBs that will be created and attached. /// public readonly int DataStorageSizeInGb; /// @@ -181,6 +185,8 @@ private GetMysqlDbSystemsDbSystemResult( ImmutableArray currentPlacements, + ImmutableArray customerContacts, + int dataStorageSizeInGb, ImmutableArray dataStorages, @@ -250,6 +256,7 @@ private GetMysqlDbSystemsDbSystemResult( ConfigurationId = configurationId; CrashRecovery = crashRecovery; CurrentPlacements = currentPlacements; + CustomerContacts = customerContacts; DataStorageSizeInGb = dataStorageSizeInGb; DataStorages = dataStorages; DatabaseManagement = databaseManagement; diff --git a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleNextActionToExecute.cs b/sdk/dotnet/Mysql/Outputs/MysqlDbSystemCustomerContact.cs similarity index 52% rename from sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleNextActionToExecute.cs rename to sdk/dotnet/Mysql/Outputs/MysqlDbSystemCustomerContact.cs index f6635d4551..9e64bbf97d 100644 --- a/sdk/dotnet/FleetSoftwareUpdate/Outputs/FsuCycleNextActionToExecute.cs +++ b/sdk/dotnet/Mysql/Outputs/MysqlDbSystemCustomerContact.cs @@ -7,23 +7,21 @@ using System.Threading.Tasks; using Pulumi.Serialization; -namespace Pulumi.Oci.FleetSoftwareUpdate.Outputs +namespace Pulumi.Oci.Mysql.Outputs { [OutputType] - public sealed class FsuCycleNextActionToExecute + public sealed class MysqlDbSystemCustomerContact { - public readonly string? TimeToStart; - public readonly string? Type; + /// + /// (Updatable) The email address used by Oracle to send notifications regarding the DB System. + /// + public readonly string Email; [OutputConstructor] - private FsuCycleNextActionToExecute( - string? timeToStart, - - string? type) + private MysqlDbSystemCustomerContact(string email) { - TimeToStart = timeToStart; - Type = type; + Email = email; } } } diff --git a/sdk/dotnet/Ocvp/GetCluster.cs b/sdk/dotnet/Ocvp/GetCluster.cs index dab74a9c55..3f16a79449 100644 --- a/sdk/dotnet/Ocvp/GetCluster.cs +++ b/sdk/dotnet/Ocvp/GetCluster.cs @@ -68,7 +68,7 @@ public static Output Invoke(GetClusterInvokeArgs args, InvokeO public sealed class GetClusterArgs : global::Pulumi.InvokeArgs { /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. /// [Input("clusterId", required: true)] public string ClusterId { get; set; } = null!; @@ -82,7 +82,7 @@ public GetClusterArgs() public sealed class GetClusterInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. /// [Input("clusterId", required: true)] public Input ClusterId { get; set; } = null!; diff --git a/sdk/dotnet/Ocvp/GetExsiHosts.cs b/sdk/dotnet/Ocvp/GetExsiHosts.cs index 173dba9531..42474c96a3 100644 --- a/sdk/dotnet/Ocvp/GetExsiHosts.cs +++ b/sdk/dotnet/Ocvp/GetExsiHosts.cs @@ -100,7 +100,7 @@ public static Output Invoke(GetExsiHostsInvokeArgs? args = n public sealed class GetExsiHostsArgs : global::Pulumi.InvokeArgs { /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. /// [Input("clusterId")] public string? ClusterId { get; set; } @@ -164,7 +164,7 @@ public GetExsiHostsArgs() public sealed class GetExsiHostsInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. /// [Input("clusterId")] public Input? ClusterId { get; set; } diff --git a/sdk/dotnet/Ocvp/GetSupportedVmwareSoftwareVersions.cs b/sdk/dotnet/Ocvp/GetSupportedVmwareSoftwareVersions.cs index 41e50f321a..9039d903d7 100644 --- a/sdk/dotnet/Ocvp/GetSupportedVmwareSoftwareVersions.cs +++ b/sdk/dotnet/Ocvp/GetSupportedVmwareSoftwareVersions.cs @@ -33,6 +33,7 @@ public static class GetSupportedVmwareSoftwareVersions /// CompartmentId = compartmentId, /// HostShapeName = testShape.Name, /// Version = supportedVmwareSoftwareVersionVersion, + /// VersionToUpgrade = supportedVmwareSoftwareVersionVersionToUpgrade, /// }); /// /// }); @@ -63,6 +64,7 @@ public static Task InvokeAsync(GetSupp /// CompartmentId = compartmentId, /// HostShapeName = testShape.Name, /// Version = supportedVmwareSoftwareVersionVersion, + /// VersionToUpgrade = supportedVmwareSoftwareVersionVersionToUpgrade, /// }); /// /// }); @@ -101,6 +103,12 @@ public List Filters [Input("version")] public string? Version { get; set; } + /// + /// A filter to return only VMware software versions that the given VMware software version can be upgraded to. + /// + [Input("versionToUpgrade")] + public string? VersionToUpgrade { get; set; } + public GetSupportedVmwareSoftwareVersionsArgs() { } @@ -135,6 +143,12 @@ public InputList Filte [Input("version")] public Input? Version { get; set; } + /// + /// A filter to return only VMware software versions that the given VMware software version can be upgraded to. + /// + [Input("versionToUpgrade")] + public Input? VersionToUpgrade { get; set; } + public GetSupportedVmwareSoftwareVersionsInvokeArgs() { } @@ -160,6 +174,7 @@ public sealed class GetSupportedVmwareSoftwareVersionsResult /// A short, unique string that identifies the version of bundled software. /// public readonly string? Version; + public readonly string? VersionToUpgrade; [OutputConstructor] private GetSupportedVmwareSoftwareVersionsResult( @@ -173,7 +188,9 @@ private GetSupportedVmwareSoftwareVersionsResult( ImmutableArray items, - string? version) + string? version, + + string? versionToUpgrade) { CompartmentId = compartmentId; Filters = filters; @@ -181,6 +198,7 @@ private GetSupportedVmwareSoftwareVersionsResult( Id = id; Items = items; Version = version; + VersionToUpgrade = versionToUpgrade; } } } diff --git a/sdk/dotnet/Ocvp/Outputs/GetExsiHostsEsxiHostCollectionResult.cs b/sdk/dotnet/Ocvp/Outputs/GetExsiHostsEsxiHostCollectionResult.cs index 76288b93f8..fc2beab211 100644 --- a/sdk/dotnet/Ocvp/Outputs/GetExsiHostsEsxiHostCollectionResult.cs +++ b/sdk/dotnet/Ocvp/Outputs/GetExsiHostsEsxiHostCollectionResult.cs @@ -26,7 +26,7 @@ public sealed class GetExsiHostsEsxiHostCollectionResult /// public readonly string CapacityReservationId; /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. /// public readonly string ClusterId; /// diff --git a/sdk/dotnet/RecoveryMod/GetProtectedDatabase.cs b/sdk/dotnet/RecoveryMod/GetProtectedDatabase.cs index 463fa1a139..edbac8d006 100644 --- a/sdk/dotnet/RecoveryMod/GetProtectedDatabase.cs +++ b/sdk/dotnet/RecoveryMod/GetProtectedDatabase.cs @@ -173,6 +173,10 @@ public sealed class GetProtectedDatabaseResult /// public readonly string State; /// + /// The OCID of the cloud service subscription to which the protected database is linked. + /// + public readonly string SubscriptionId; + /// /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) /// public readonly ImmutableDictionary SystemTags; @@ -233,6 +237,8 @@ private GetProtectedDatabaseResult( string state, + string subscriptionId, + ImmutableDictionary systemTags, string timeCreated, @@ -262,6 +268,7 @@ private GetProtectedDatabaseResult( ProtectionPolicyId = protectionPolicyId; RecoveryServiceSubnets = recoveryServiceSubnets; State = state; + SubscriptionId = subscriptionId; SystemTags = systemTags; TimeCreated = timeCreated; TimeUpdated = timeUpdated; diff --git a/sdk/dotnet/RecoveryMod/GetProtectionPolicy.cs b/sdk/dotnet/RecoveryMod/GetProtectionPolicy.cs index 9264a25895..949ffbb29d 100644 --- a/sdk/dotnet/RecoveryMod/GetProtectionPolicy.cs +++ b/sdk/dotnet/RecoveryMod/GetProtectionPolicy.cs @@ -130,6 +130,10 @@ public sealed class GetProtectionPolicyResult /// public readonly string LifecycleDetails; /// + /// Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + /// + public readonly bool MustEnforceCloudLocality; + /// /// An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. /// public readonly string PolicyLockedDateTime; @@ -169,6 +173,8 @@ private GetProtectionPolicyResult( string lifecycleDetails, + bool mustEnforceCloudLocality, + string policyLockedDateTime, string protectionPolicyId, @@ -189,6 +195,7 @@ private GetProtectionPolicyResult( Id = id; IsPredefinedPolicy = isPredefinedPolicy; LifecycleDetails = lifecycleDetails; + MustEnforceCloudLocality = mustEnforceCloudLocality; PolicyLockedDateTime = policyLockedDateTime; ProtectionPolicyId = protectionPolicyId; State = state; diff --git a/sdk/dotnet/RecoveryMod/Inputs/ProtectedDatabaseRecoveryServiceSubnetArgs.cs b/sdk/dotnet/RecoveryMod/Inputs/ProtectedDatabaseRecoveryServiceSubnetArgs.cs index c2386f6002..7e493b5edc 100644 --- a/sdk/dotnet/RecoveryMod/Inputs/ProtectedDatabaseRecoveryServiceSubnetArgs.cs +++ b/sdk/dotnet/RecoveryMod/Inputs/ProtectedDatabaseRecoveryServiceSubnetArgs.cs @@ -14,10 +14,6 @@ public sealed class ProtectedDatabaseRecoveryServiceSubnetArgs : global::Pulumi. { /// /// (Updatable) The recovery service subnet OCID. - /// - /// - /// ** IMPORTANT ** - /// 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("recoveryServiceSubnetId", required: true)] public Input RecoveryServiceSubnetId { get; set; } = null!; diff --git a/sdk/dotnet/RecoveryMod/Inputs/ProtectedDatabaseRecoveryServiceSubnetGetArgs.cs b/sdk/dotnet/RecoveryMod/Inputs/ProtectedDatabaseRecoveryServiceSubnetGetArgs.cs index 2c22ba7195..c3e991f984 100644 --- a/sdk/dotnet/RecoveryMod/Inputs/ProtectedDatabaseRecoveryServiceSubnetGetArgs.cs +++ b/sdk/dotnet/RecoveryMod/Inputs/ProtectedDatabaseRecoveryServiceSubnetGetArgs.cs @@ -14,10 +14,6 @@ public sealed class ProtectedDatabaseRecoveryServiceSubnetGetArgs : global::Pulu { /// /// (Updatable) The recovery service subnet OCID. - /// - /// - /// ** IMPORTANT ** - /// 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("recoveryServiceSubnetId", required: true)] public Input RecoveryServiceSubnetId { get; set; } = null!; diff --git a/sdk/dotnet/RecoveryMod/Outputs/GetProtectedDatabasesProtectedDatabaseCollectionItemResult.cs b/sdk/dotnet/RecoveryMod/Outputs/GetProtectedDatabasesProtectedDatabaseCollectionItemResult.cs index c507b6fd92..7ae1320210 100644 --- a/sdk/dotnet/RecoveryMod/Outputs/GetProtectedDatabasesProtectedDatabaseCollectionItemResult.cs +++ b/sdk/dotnet/RecoveryMod/Outputs/GetProtectedDatabasesProtectedDatabaseCollectionItemResult.cs @@ -88,6 +88,10 @@ public sealed class GetProtectedDatabasesProtectedDatabaseCollectionItemResult /// public readonly string State; /// + /// The OCID of the cloud service subscription to which the protected database is linked. + /// + public readonly string SubscriptionId; + /// /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) /// public readonly ImmutableDictionary SystemTags; @@ -146,6 +150,8 @@ private GetProtectedDatabasesProtectedDatabaseCollectionItemResult( string state, + string subscriptionId, + ImmutableDictionary systemTags, string timeCreated, @@ -174,6 +180,7 @@ private GetProtectedDatabasesProtectedDatabaseCollectionItemResult( ProtectionPolicyId = protectionPolicyId; RecoveryServiceSubnets = recoveryServiceSubnets; State = state; + SubscriptionId = subscriptionId; SystemTags = systemTags; TimeCreated = timeCreated; TimeUpdated = timeUpdated; diff --git a/sdk/dotnet/RecoveryMod/Outputs/GetProtectionPoliciesProtectionPolicyCollectionItemResult.cs b/sdk/dotnet/RecoveryMod/Outputs/GetProtectionPoliciesProtectionPolicyCollectionItemResult.cs index 352fefb559..045132c5e5 100644 --- a/sdk/dotnet/RecoveryMod/Outputs/GetProtectionPoliciesProtectionPolicyCollectionItemResult.cs +++ b/sdk/dotnet/RecoveryMod/Outputs/GetProtectionPoliciesProtectionPolicyCollectionItemResult.cs @@ -46,6 +46,10 @@ public sealed class GetProtectionPoliciesProtectionPolicyCollectionItemResult /// public readonly string LifecycleDetails; /// + /// Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + /// + public readonly bool MustEnforceCloudLocality; + /// /// An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. /// public readonly string PolicyLockedDateTime; @@ -84,6 +88,8 @@ private GetProtectionPoliciesProtectionPolicyCollectionItemResult( string lifecycleDetails, + bool mustEnforceCloudLocality, + string policyLockedDateTime, string state, @@ -102,6 +108,7 @@ private GetProtectionPoliciesProtectionPolicyCollectionItemResult( Id = id; IsPredefinedPolicy = isPredefinedPolicy; LifecycleDetails = lifecycleDetails; + MustEnforceCloudLocality = mustEnforceCloudLocality; PolicyLockedDateTime = policyLockedDateTime; State = state; SystemTags = systemTags; diff --git a/sdk/dotnet/RecoveryMod/Outputs/ProtectedDatabaseRecoveryServiceSubnet.cs b/sdk/dotnet/RecoveryMod/Outputs/ProtectedDatabaseRecoveryServiceSubnet.cs index 75db28b5ae..4066ec13d7 100644 --- a/sdk/dotnet/RecoveryMod/Outputs/ProtectedDatabaseRecoveryServiceSubnet.cs +++ b/sdk/dotnet/RecoveryMod/Outputs/ProtectedDatabaseRecoveryServiceSubnet.cs @@ -15,10 +15,6 @@ public sealed class ProtectedDatabaseRecoveryServiceSubnet { /// /// (Updatable) The recovery service subnet OCID. - /// - /// - /// ** IMPORTANT ** - /// 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 RecoveryServiceSubnetId; /// diff --git a/sdk/dotnet/RecoveryMod/ProtectedDatabase.cs b/sdk/dotnet/RecoveryMod/ProtectedDatabase.cs index a7d3f3a4d1..a840665feb 100644 --- a/sdk/dotnet/RecoveryMod/ProtectedDatabase.cs +++ b/sdk/dotnet/RecoveryMod/ProtectedDatabase.cs @@ -50,6 +50,7 @@ namespace Pulumi.Oci.RecoveryMod /// { "bar-key", "value" }, /// }, /// IsRedoLogsShipped = protectedDatabaseIsRedoLogsShipped, + /// SubscriptionId = testSubscription.Id, /// }); /// /// }); @@ -182,6 +183,16 @@ public partial class ProtectedDatabase : global::Pulumi.CustomResource [Output("state")] public Output State { get; private set; } = null!; + /// + /// (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + /// + /// + /// ** IMPORTANT ** + /// 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("subscriptionId")] + public Output SubscriptionId { get; private set; } = null!; + /// /// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) /// @@ -358,6 +369,16 @@ public InputList RecoveryServ set => _recoveryServiceSubnets = value; } + /// + /// (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + /// + /// + /// ** IMPORTANT ** + /// 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("subscriptionId")] + public Input? SubscriptionId { get; set; } + public ProtectedDatabaseArgs() { } @@ -516,6 +537,16 @@ public InputList RecoveryS [Input("state")] public Input? State { get; set; } + /// + /// (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + /// + /// + /// ** IMPORTANT ** + /// 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("subscriptionId")] + public Input? SubscriptionId { get; set; } + [Input("systemTags")] private InputMap? _systemTags; diff --git a/sdk/dotnet/RecoveryMod/ProtectionPolicy.cs b/sdk/dotnet/RecoveryMod/ProtectionPolicy.cs index 9bf96ebe65..3c13fdb805 100644 --- a/sdk/dotnet/RecoveryMod/ProtectionPolicy.cs +++ b/sdk/dotnet/RecoveryMod/ProtectionPolicy.cs @@ -37,6 +37,7 @@ namespace Pulumi.Oci.RecoveryMod /// { /// { "bar-key", "value" }, /// }, + /// MustEnforceCloudLocality = protectionPolicyMustEnforceCloudLocality, /// PolicyLockedDateTime = protectionPolicyPolicyLockedDateTime, /// }); /// @@ -96,6 +97,12 @@ public partial class ProtectionPolicy : global::Pulumi.CustomResource [Output("lifecycleDetails")] public Output LifecycleDetails { get; private set; } = null!; + /// + /// Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + /// + [Output("mustEnforceCloudLocality")] + public Output MustEnforceCloudLocality { get; private set; } = null!; + /// /// (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. /// * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. @@ -224,6 +231,12 @@ public InputMap FreeformTags set => _freeformTags = value; } + /// + /// Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + /// + [Input("mustEnforceCloudLocality")] + public Input? MustEnforceCloudLocality { get; set; } + /// /// (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. /// * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. @@ -302,6 +315,12 @@ public InputMap FreeformTags [Input("lifecycleDetails")] public Input? LifecycleDetails { get; set; } + /// + /// Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + /// + [Input("mustEnforceCloudLocality")] + public Input? MustEnforceCloudLocality { get; set; } + /// /// (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. /// * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. diff --git a/sdk/dotnet/Waf/Inputs/AppFirewallPolicyActionBodyArgs.cs b/sdk/dotnet/Waf/Inputs/AppFirewallPolicyActionBodyArgs.cs index 39b4a0d7fa..6616c42ad9 100644 --- a/sdk/dotnet/Waf/Inputs/AppFirewallPolicyActionBodyArgs.cs +++ b/sdk/dotnet/Waf/Inputs/AppFirewallPolicyActionBodyArgs.cs @@ -12,11 +12,14 @@ namespace Pulumi.Oci.Waf.Inputs public sealed class AppFirewallPolicyActionBodyArgs : global::Pulumi.ResourceArgs { + [Input("template")] + public Input? Template { get; set; } + /// /// (Updatable) Static response body text. /// - [Input("text", required: true)] - public Input Text { get; set; } = null!; + [Input("text")] + public Input? Text { get; set; } /// /// (Updatable) Type of HttpResponseBody. diff --git a/sdk/dotnet/Waf/Inputs/AppFirewallPolicyActionBodyGetArgs.cs b/sdk/dotnet/Waf/Inputs/AppFirewallPolicyActionBodyGetArgs.cs index 67b135dacb..935098d134 100644 --- a/sdk/dotnet/Waf/Inputs/AppFirewallPolicyActionBodyGetArgs.cs +++ b/sdk/dotnet/Waf/Inputs/AppFirewallPolicyActionBodyGetArgs.cs @@ -12,11 +12,14 @@ namespace Pulumi.Oci.Waf.Inputs public sealed class AppFirewallPolicyActionBodyGetArgs : global::Pulumi.ResourceArgs { + [Input("template")] + public Input? Template { get; set; } + /// /// (Updatable) Static response body text. /// - [Input("text", required: true)] - public Input Text { get; set; } = null!; + [Input("text")] + public Input? Text { get; set; } /// /// (Updatable) Type of HttpResponseBody. diff --git a/sdk/dotnet/Waf/Outputs/AppFirewallPolicyActionBody.cs b/sdk/dotnet/Waf/Outputs/AppFirewallPolicyActionBody.cs index 2a99b8f1ae..d37a98e9a5 100644 --- a/sdk/dotnet/Waf/Outputs/AppFirewallPolicyActionBody.cs +++ b/sdk/dotnet/Waf/Outputs/AppFirewallPolicyActionBody.cs @@ -13,10 +13,11 @@ namespace Pulumi.Oci.Waf.Outputs [OutputType] public sealed class AppFirewallPolicyActionBody { + public readonly string? Template; /// /// (Updatable) Static response body text. /// - public readonly string Text; + public readonly string? Text; /// /// (Updatable) Type of HttpResponseBody. /// @@ -24,10 +25,13 @@ public sealed class AppFirewallPolicyActionBody [OutputConstructor] private AppFirewallPolicyActionBody( - string text, + string? template, + + string? text, string type) { + Template = template; Text = text; Type = type; } diff --git a/sdk/dotnet/Waf/Outputs/GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyResult.cs b/sdk/dotnet/Waf/Outputs/GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyResult.cs index 6ad5f1c1a5..e55716644c 100644 --- a/sdk/dotnet/Waf/Outputs/GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyResult.cs +++ b/sdk/dotnet/Waf/Outputs/GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyResult.cs @@ -13,6 +13,7 @@ namespace Pulumi.Oci.Waf.Outputs [OutputType] public sealed class GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyResult { + public readonly string Template; /// /// Static response body text. /// @@ -24,10 +25,13 @@ public sealed class GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemA [OutputConstructor] private GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyResult( + string template, + string text, string type) { + Template = template; Text = text; Type = type; } diff --git a/sdk/dotnet/Waf/Outputs/GetWebAppFirewallPolicyActionBodyResult.cs b/sdk/dotnet/Waf/Outputs/GetWebAppFirewallPolicyActionBodyResult.cs index 249c932b57..d0f2891972 100644 --- a/sdk/dotnet/Waf/Outputs/GetWebAppFirewallPolicyActionBodyResult.cs +++ b/sdk/dotnet/Waf/Outputs/GetWebAppFirewallPolicyActionBodyResult.cs @@ -13,6 +13,7 @@ namespace Pulumi.Oci.Waf.Outputs [OutputType] public sealed class GetWebAppFirewallPolicyActionBodyResult { + public readonly string Template; /// /// Static response body text. /// @@ -24,10 +25,13 @@ public sealed class GetWebAppFirewallPolicyActionBodyResult [OutputConstructor] private GetWebAppFirewallPolicyActionBodyResult( + string template, + string text, string type) { + Template = template; Text = text; Type = type; } diff --git a/sdk/go/oci/announcementsservice/announcementSubscription.go b/sdk/go/oci/announcementsservice/announcementSubscription.go index 0472de8cea..883c6b98dd 100644 --- a/sdk/go/oci/announcementsservice/announcementSubscription.go +++ b/sdk/go/oci/announcementsservice/announcementSubscription.go @@ -89,9 +89,9 @@ type AnnouncementSubscription struct { LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` // (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm). OnsTopicId pulumi.StringOutput `pulumi:"onsTopicId"` - // (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + // (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage pulumi.StringOutput `pulumi:"preferredLanguage"` - // (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + // (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles // // ** IMPORTANT ** // 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,9 +161,9 @@ type announcementSubscriptionState struct { LifecycleDetails *string `pulumi:"lifecycleDetails"` // (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm). OnsTopicId *string `pulumi:"onsTopicId"` - // (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + // (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage *string `pulumi:"preferredLanguage"` - // (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + // (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -195,9 +195,9 @@ type AnnouncementSubscriptionState struct { LifecycleDetails pulumi.StringPtrInput // (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm). OnsTopicId pulumi.StringPtrInput - // (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + // (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage pulumi.StringPtrInput - // (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + // (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -231,9 +231,9 @@ type announcementSubscriptionArgs struct { FreeformTags map[string]string `pulumi:"freeformTags"` // (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm). OnsTopicId string `pulumi:"onsTopicId"` - // (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + // (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage *string `pulumi:"preferredLanguage"` - // (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + // (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -256,9 +256,9 @@ type AnnouncementSubscriptionArgs struct { FreeformTags pulumi.StringMapInput // (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm). OnsTopicId pulumi.StringInput - // (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + // (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage pulumi.StringPtrInput - // (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + // (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles // // ** IMPORTANT ** // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -392,12 +392,12 @@ func (o AnnouncementSubscriptionOutput) OnsTopicId() pulumi.StringOutput { return o.ApplyT(func(v *AnnouncementSubscription) pulumi.StringOutput { return v.OnsTopicId }).(pulumi.StringOutput) } -// (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. +// (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. func (o AnnouncementSubscriptionOutput) PreferredLanguage() pulumi.StringOutput { return o.ApplyT(func(v *AnnouncementSubscription) pulumi.StringOutput { return v.PreferredLanguage }).(pulumi.StringOutput) } -// (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. +// (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles // // ** IMPORTANT ** // 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/announcementsservice/getAnnouncementSubscription.go b/sdk/go/oci/announcementsservice/getAnnouncementSubscription.go index aadaa24bab..8e345f47a8 100644 --- a/sdk/go/oci/announcementsservice/getAnnouncementSubscription.go +++ b/sdk/go/oci/announcementsservice/getAnnouncementSubscription.go @@ -79,9 +79,9 @@ type LookupAnnouncementSubscriptionResult struct { LifecycleDetails string `pulumi:"lifecycleDetails"` // The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. OnsTopicId string `pulumi:"onsTopicId"` - // (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + // (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage string `pulumi:"preferredLanguage"` - // The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles PreferredTimeZone string `pulumi:"preferredTimeZone"` // The current lifecycle state of the announcement subscription. State string `pulumi:"state"` @@ -182,12 +182,12 @@ func (o LookupAnnouncementSubscriptionResultOutput) OnsTopicId() pulumi.StringOu return o.ApplyT(func(v LookupAnnouncementSubscriptionResult) string { return v.OnsTopicId }).(pulumi.StringOutput) } -// (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. +// (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. func (o LookupAnnouncementSubscriptionResultOutput) PreferredLanguage() pulumi.StringOutput { return o.ApplyT(func(v LookupAnnouncementSubscriptionResult) string { return v.PreferredLanguage }).(pulumi.StringOutput) } -// The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. +// The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles func (o LookupAnnouncementSubscriptionResultOutput) PreferredTimeZone() pulumi.StringOutput { return o.ApplyT(func(v LookupAnnouncementSubscriptionResult) string { return v.PreferredTimeZone }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/announcementsservice/getServices.go b/sdk/go/oci/announcementsservice/getServices.go new file mode 100644 index 0000000000..6869e04c00 --- /dev/null +++ b/sdk/go/oci/announcementsservice/getServices.go @@ -0,0 +1,153 @@ +// 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 announcementsservice + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Services in Oracle Cloud Infrastructure. +// +// # List all OCI services +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/AnnouncementsService" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := AnnouncementsService.GetServices(ctx, &announcementsservice.GetServicesArgs{ +// CompartmentId: compartmentId, +// CommsManagerName: pulumi.StringRef(serviceCommsManagerName), +// PlatformType: pulumi.StringRef(servicePlatformType), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetServices(ctx *pulumi.Context, args *GetServicesArgs, opts ...pulumi.InvokeOption) (*GetServicesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetServicesResult + err := ctx.Invoke("oci:AnnouncementsService/getServices:getServices", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getServices. +type GetServicesArgs struct { + // Filter by comms manager name + CommsManagerName *string `pulumi:"commsManagerName"` + // The OCID of the root compartment/tenancy. + CompartmentId string `pulumi:"compartmentId"` + Filters []GetServicesFilter `pulumi:"filters"` + // A filter to return only services underlying a specific platform. + PlatformType *string `pulumi:"platformType"` +} + +// A collection of values returned by getServices. +type GetServicesResult struct { + // Name of the comms manager team that manages Notifications to this service. + CommsManagerName *string `pulumi:"commsManagerName"` + CompartmentId string `pulumi:"compartmentId"` + Filters []GetServicesFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The platform type this service object is related to. + PlatformType *string `pulumi:"platformType"` + // The list of services_collection. + ServicesCollections []GetServicesServicesCollection `pulumi:"servicesCollections"` +} + +func GetServicesOutput(ctx *pulumi.Context, args GetServicesOutputArgs, opts ...pulumi.InvokeOption) GetServicesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetServicesResult, error) { + args := v.(GetServicesArgs) + r, err := GetServices(ctx, &args, opts...) + var s GetServicesResult + if r != nil { + s = *r + } + return s, err + }).(GetServicesResultOutput) +} + +// A collection of arguments for invoking getServices. +type GetServicesOutputArgs struct { + // Filter by comms manager name + CommsManagerName pulumi.StringPtrInput `pulumi:"commsManagerName"` + // The OCID of the root compartment/tenancy. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + Filters GetServicesFilterArrayInput `pulumi:"filters"` + // A filter to return only services underlying a specific platform. + PlatformType pulumi.StringPtrInput `pulumi:"platformType"` +} + +func (GetServicesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServicesArgs)(nil)).Elem() +} + +// A collection of values returned by getServices. +type GetServicesResultOutput struct{ *pulumi.OutputState } + +func (GetServicesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServicesResult)(nil)).Elem() +} + +func (o GetServicesResultOutput) ToGetServicesResultOutput() GetServicesResultOutput { + return o +} + +func (o GetServicesResultOutput) ToGetServicesResultOutputWithContext(ctx context.Context) GetServicesResultOutput { + return o +} + +// Name of the comms manager team that manages Notifications to this service. +func (o GetServicesResultOutput) CommsManagerName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServicesResult) *string { return v.CommsManagerName }).(pulumi.StringPtrOutput) +} + +func (o GetServicesResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +func (o GetServicesResultOutput) Filters() GetServicesFilterArrayOutput { + return o.ApplyT(func(v GetServicesResult) []GetServicesFilter { return v.Filters }).(GetServicesFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetServicesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The platform type this service object is related to. +func (o GetServicesResultOutput) PlatformType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServicesResult) *string { return v.PlatformType }).(pulumi.StringPtrOutput) +} + +// The list of services_collection. +func (o GetServicesResultOutput) ServicesCollections() GetServicesServicesCollectionArrayOutput { + return o.ApplyT(func(v GetServicesResult) []GetServicesServicesCollection { return v.ServicesCollections }).(GetServicesServicesCollectionArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetServicesResultOutput{}) +} diff --git a/sdk/go/oci/announcementsservice/pulumiTypes.go b/sdk/go/oci/announcementsservice/pulumiTypes.go index cbbb7d8fbb..1c564618f4 100644 --- a/sdk/go/oci/announcementsservice/pulumiTypes.go +++ b/sdk/go/oci/announcementsservice/pulumiTypes.go @@ -14,7 +14,7 @@ import ( var _ = internal.GetEnvOrDefault type AnnouncementSubscriptionFilterGroups struct { - // 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. + // A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Filters []AnnouncementSubscriptionFilterGroupsFilter `pulumi:"filters"` // The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. Name *string `pulumi:"name"` @@ -32,7 +32,7 @@ type AnnouncementSubscriptionFilterGroupsInput interface { } type AnnouncementSubscriptionFilterGroupsArgs struct { - // 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. + // A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Filters AnnouncementSubscriptionFilterGroupsFilterArrayInput `pulumi:"filters"` // The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. Name pulumi.StringPtrInput `pulumi:"name"` @@ -115,7 +115,7 @@ func (o AnnouncementSubscriptionFilterGroupsOutput) ToAnnouncementSubscriptionFi }).(AnnouncementSubscriptionFilterGroupsPtrOutput) } -// 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. +// A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. func (o AnnouncementSubscriptionFilterGroupsOutput) Filters() AnnouncementSubscriptionFilterGroupsFilterArrayOutput { return o.ApplyT(func(v AnnouncementSubscriptionFilterGroups) []AnnouncementSubscriptionFilterGroupsFilter { return v.Filters @@ -151,7 +151,7 @@ func (o AnnouncementSubscriptionFilterGroupsPtrOutput) Elem() AnnouncementSubscr }).(AnnouncementSubscriptionFilterGroupsOutput) } -// 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. +// A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. func (o AnnouncementSubscriptionFilterGroupsPtrOutput) Filters() AnnouncementSubscriptionFilterGroupsFilterArrayOutput { return o.ApplyT(func(v *AnnouncementSubscriptionFilterGroups) []AnnouncementSubscriptionFilterGroupsFilter { if v == nil { @@ -172,7 +172,7 @@ func (o AnnouncementSubscriptionFilterGroupsPtrOutput) Name() pulumi.StringPtrOu } type AnnouncementSubscriptionFilterGroupsFilter struct { - // The type of filter. + // The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Type string `pulumi:"type"` // The value of the filter. Value string `pulumi:"value"` @@ -190,7 +190,7 @@ type AnnouncementSubscriptionFilterGroupsFilterInput interface { } type AnnouncementSubscriptionFilterGroupsFilterArgs struct { - // The type of filter. + // The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Type pulumi.StringInput `pulumi:"type"` // The value of the filter. Value pulumi.StringInput `pulumi:"value"` @@ -247,7 +247,7 @@ func (o AnnouncementSubscriptionFilterGroupsFilterOutput) ToAnnouncementSubscrip return o } -// The type of filter. +// The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. func (o AnnouncementSubscriptionFilterGroupsFilterOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v AnnouncementSubscriptionFilterGroupsFilter) string { return v.Type }).(pulumi.StringOutput) } @@ -278,7 +278,7 @@ func (o AnnouncementSubscriptionFilterGroupsFilterArrayOutput) Index(i pulumi.In } type AnnouncementSubscriptionsFilterGroupFilter struct { - // (Updatable) The type of filter. + // (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Type string `pulumi:"type"` // (Updatable) The value of the filter. Value string `pulumi:"value"` @@ -296,7 +296,7 @@ type AnnouncementSubscriptionsFilterGroupFilterInput interface { } type AnnouncementSubscriptionsFilterGroupFilterArgs struct { - // (Updatable) The type of filter. + // (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Type pulumi.StringInput `pulumi:"type"` // (Updatable) The value of the filter. Value pulumi.StringInput `pulumi:"value"` @@ -353,7 +353,7 @@ func (o AnnouncementSubscriptionsFilterGroupFilterOutput) ToAnnouncementSubscrip return o } -// (Updatable) The type of filter. +// (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. func (o AnnouncementSubscriptionsFilterGroupFilterOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v AnnouncementSubscriptionsFilterGroupFilter) string { return v.Type }).(pulumi.StringOutput) } @@ -384,7 +384,7 @@ func (o AnnouncementSubscriptionsFilterGroupFilterArrayOutput) Index(i pulumi.In } type GetAnnouncementSubscriptionFilterGroup struct { - // 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. + // A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Filters []GetAnnouncementSubscriptionFilterGroupFilter `pulumi:"filters"` // The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. Name string `pulumi:"name"` @@ -402,7 +402,7 @@ type GetAnnouncementSubscriptionFilterGroupInput interface { } type GetAnnouncementSubscriptionFilterGroupArgs struct { - // 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. + // A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Filters GetAnnouncementSubscriptionFilterGroupFilterArrayInput `pulumi:"filters"` // The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. Name pulumi.StringInput `pulumi:"name"` @@ -459,7 +459,7 @@ func (o GetAnnouncementSubscriptionFilterGroupOutput) ToGetAnnouncementSubscript return o } -// 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. +// A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. func (o GetAnnouncementSubscriptionFilterGroupOutput) Filters() GetAnnouncementSubscriptionFilterGroupFilterArrayOutput { return o.ApplyT(func(v GetAnnouncementSubscriptionFilterGroup) []GetAnnouncementSubscriptionFilterGroupFilter { return v.Filters @@ -492,7 +492,7 @@ func (o GetAnnouncementSubscriptionFilterGroupArrayOutput) Index(i pulumi.IntInp } type GetAnnouncementSubscriptionFilterGroupFilter struct { - // The type of filter. + // The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Type string `pulumi:"type"` // The value of the filter. Value string `pulumi:"value"` @@ -510,7 +510,7 @@ type GetAnnouncementSubscriptionFilterGroupFilterInput interface { } type GetAnnouncementSubscriptionFilterGroupFilterArgs struct { - // The type of filter. + // The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Type pulumi.StringInput `pulumi:"type"` // The value of the filter. Value pulumi.StringInput `pulumi:"value"` @@ -567,7 +567,7 @@ func (o GetAnnouncementSubscriptionFilterGroupFilterOutput) ToGetAnnouncementSub return o } -// The type of filter. +// The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. func (o GetAnnouncementSubscriptionFilterGroupFilterOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetAnnouncementSubscriptionFilterGroupFilter) string { return v.Type }).(pulumi.StringOutput) } @@ -712,9 +712,9 @@ type GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItem struct { LifecycleDetails string `pulumi:"lifecycleDetails"` // The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. OnsTopicId string `pulumi:"onsTopicId"` - // (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + // (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage string `pulumi:"preferredLanguage"` - // The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles PreferredTimeZone string `pulumi:"preferredTimeZone"` // A filter to return only announcement subscriptions that match the given lifecycle state. State string `pulumi:"state"` @@ -756,9 +756,9 @@ type GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemArgs stru LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` // The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. OnsTopicId pulumi.StringInput `pulumi:"onsTopicId"` - // (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + // (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. PreferredLanguage pulumi.StringInput `pulumi:"preferredLanguage"` - // The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + // The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles PreferredTimeZone pulumi.StringInput `pulumi:"preferredTimeZone"` // A filter to return only announcement subscriptions that match the given lifecycle state. State pulumi.StringInput `pulumi:"state"` @@ -880,14 +880,14 @@ func (o GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemOutput return o.ApplyT(func(v GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItem) string { return v.OnsTopicId }).(pulumi.StringOutput) } -// (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. +// (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. func (o GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemOutput) PreferredLanguage() pulumi.StringOutput { return o.ApplyT(func(v GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItem) string { return v.PreferredLanguage }).(pulumi.StringOutput) } -// The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. +// The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles func (o GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemOutput) PreferredTimeZone() pulumi.StringOutput { return o.ApplyT(func(v GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItem) string { return v.PreferredTimeZone @@ -941,7 +941,7 @@ func (o GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemArrayO } type GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroup struct { - // 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. + // A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Filters []GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter `pulumi:"filters"` // The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. Name string `pulumi:"name"` @@ -959,7 +959,7 @@ type GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGro } type GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupArgs struct { - // 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. + // A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Filters GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterArrayInput `pulumi:"filters"` // The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. Name pulumi.StringInput `pulumi:"name"` @@ -1016,7 +1016,7 @@ func (o GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilter return o } -// 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. +// A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. func (o GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupOutput) Filters() GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterArrayOutput { return o.ApplyT(func(v GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroup) []GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter { return v.Filters @@ -1051,7 +1051,7 @@ func (o GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilter } type GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter struct { - // The type of filter. + // The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Type string `pulumi:"type"` // The value of the filter. Value string `pulumi:"value"` @@ -1069,7 +1069,7 @@ type GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGro } type GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterArgs struct { - // The type of filter. + // The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. Type pulumi.StringInput `pulumi:"type"` // The value of the filter. Value pulumi.StringInput `pulumi:"value"` @@ -1126,7 +1126,7 @@ func (o GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilter return o } -// The type of filter. +// The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. func (o GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterOutput) Type() pulumi.StringOutput { return o.ApplyT(func(v GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter) string { return v.Type @@ -1269,6 +1269,399 @@ func (o GetAnnouncementSubscriptionsFilterArrayOutput) Index(i pulumi.IntInput) }).(GetAnnouncementSubscriptionsFilterOutput) } +type GetServicesFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetServicesFilterInput is an input type that accepts GetServicesFilterArgs and GetServicesFilterOutput values. +// You can construct a concrete instance of `GetServicesFilterInput` via: +// +// GetServicesFilterArgs{...} +type GetServicesFilterInput interface { + pulumi.Input + + ToGetServicesFilterOutput() GetServicesFilterOutput + ToGetServicesFilterOutputWithContext(context.Context) GetServicesFilterOutput +} + +type GetServicesFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetServicesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServicesFilter)(nil)).Elem() +} + +func (i GetServicesFilterArgs) ToGetServicesFilterOutput() GetServicesFilterOutput { + return i.ToGetServicesFilterOutputWithContext(context.Background()) +} + +func (i GetServicesFilterArgs) ToGetServicesFilterOutputWithContext(ctx context.Context) GetServicesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServicesFilterOutput) +} + +// GetServicesFilterArrayInput is an input type that accepts GetServicesFilterArray and GetServicesFilterArrayOutput values. +// You can construct a concrete instance of `GetServicesFilterArrayInput` via: +// +// GetServicesFilterArray{ GetServicesFilterArgs{...} } +type GetServicesFilterArrayInput interface { + pulumi.Input + + ToGetServicesFilterArrayOutput() GetServicesFilterArrayOutput + ToGetServicesFilterArrayOutputWithContext(context.Context) GetServicesFilterArrayOutput +} + +type GetServicesFilterArray []GetServicesFilterInput + +func (GetServicesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServicesFilter)(nil)).Elem() +} + +func (i GetServicesFilterArray) ToGetServicesFilterArrayOutput() GetServicesFilterArrayOutput { + return i.ToGetServicesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetServicesFilterArray) ToGetServicesFilterArrayOutputWithContext(ctx context.Context) GetServicesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServicesFilterArrayOutput) +} + +type GetServicesFilterOutput struct{ *pulumi.OutputState } + +func (GetServicesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServicesFilter)(nil)).Elem() +} + +func (o GetServicesFilterOutput) ToGetServicesFilterOutput() GetServicesFilterOutput { + return o +} + +func (o GetServicesFilterOutput) ToGetServicesFilterOutputWithContext(ctx context.Context) GetServicesFilterOutput { + return o +} + +func (o GetServicesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetServicesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetServicesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetServicesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServicesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetServicesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetServicesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServicesFilter)(nil)).Elem() +} + +func (o GetServicesFilterArrayOutput) ToGetServicesFilterArrayOutput() GetServicesFilterArrayOutput { + return o +} + +func (o GetServicesFilterArrayOutput) ToGetServicesFilterArrayOutputWithContext(ctx context.Context) GetServicesFilterArrayOutput { + return o +} + +func (o GetServicesFilterArrayOutput) Index(i pulumi.IntInput) GetServicesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServicesFilter { + return vs[0].([]GetServicesFilter)[vs[1].(int)] + }).(GetServicesFilterOutput) +} + +type GetServicesServicesCollection struct { + Items []GetServicesServicesCollectionItem `pulumi:"items"` +} + +// GetServicesServicesCollectionInput is an input type that accepts GetServicesServicesCollectionArgs and GetServicesServicesCollectionOutput values. +// You can construct a concrete instance of `GetServicesServicesCollectionInput` via: +// +// GetServicesServicesCollectionArgs{...} +type GetServicesServicesCollectionInput interface { + pulumi.Input + + ToGetServicesServicesCollectionOutput() GetServicesServicesCollectionOutput + ToGetServicesServicesCollectionOutputWithContext(context.Context) GetServicesServicesCollectionOutput +} + +type GetServicesServicesCollectionArgs struct { + Items GetServicesServicesCollectionItemArrayInput `pulumi:"items"` +} + +func (GetServicesServicesCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServicesServicesCollection)(nil)).Elem() +} + +func (i GetServicesServicesCollectionArgs) ToGetServicesServicesCollectionOutput() GetServicesServicesCollectionOutput { + return i.ToGetServicesServicesCollectionOutputWithContext(context.Background()) +} + +func (i GetServicesServicesCollectionArgs) ToGetServicesServicesCollectionOutputWithContext(ctx context.Context) GetServicesServicesCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServicesServicesCollectionOutput) +} + +// GetServicesServicesCollectionArrayInput is an input type that accepts GetServicesServicesCollectionArray and GetServicesServicesCollectionArrayOutput values. +// You can construct a concrete instance of `GetServicesServicesCollectionArrayInput` via: +// +// GetServicesServicesCollectionArray{ GetServicesServicesCollectionArgs{...} } +type GetServicesServicesCollectionArrayInput interface { + pulumi.Input + + ToGetServicesServicesCollectionArrayOutput() GetServicesServicesCollectionArrayOutput + ToGetServicesServicesCollectionArrayOutputWithContext(context.Context) GetServicesServicesCollectionArrayOutput +} + +type GetServicesServicesCollectionArray []GetServicesServicesCollectionInput + +func (GetServicesServicesCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServicesServicesCollection)(nil)).Elem() +} + +func (i GetServicesServicesCollectionArray) ToGetServicesServicesCollectionArrayOutput() GetServicesServicesCollectionArrayOutput { + return i.ToGetServicesServicesCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetServicesServicesCollectionArray) ToGetServicesServicesCollectionArrayOutputWithContext(ctx context.Context) GetServicesServicesCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServicesServicesCollectionArrayOutput) +} + +type GetServicesServicesCollectionOutput struct{ *pulumi.OutputState } + +func (GetServicesServicesCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServicesServicesCollection)(nil)).Elem() +} + +func (o GetServicesServicesCollectionOutput) ToGetServicesServicesCollectionOutput() GetServicesServicesCollectionOutput { + return o +} + +func (o GetServicesServicesCollectionOutput) ToGetServicesServicesCollectionOutputWithContext(ctx context.Context) GetServicesServicesCollectionOutput { + return o +} + +func (o GetServicesServicesCollectionOutput) Items() GetServicesServicesCollectionItemArrayOutput { + return o.ApplyT(func(v GetServicesServicesCollection) []GetServicesServicesCollectionItem { return v.Items }).(GetServicesServicesCollectionItemArrayOutput) +} + +type GetServicesServicesCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetServicesServicesCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServicesServicesCollection)(nil)).Elem() +} + +func (o GetServicesServicesCollectionArrayOutput) ToGetServicesServicesCollectionArrayOutput() GetServicesServicesCollectionArrayOutput { + return o +} + +func (o GetServicesServicesCollectionArrayOutput) ToGetServicesServicesCollectionArrayOutputWithContext(ctx context.Context) GetServicesServicesCollectionArrayOutput { + return o +} + +func (o GetServicesServicesCollectionArrayOutput) Index(i pulumi.IntInput) GetServicesServicesCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServicesServicesCollection { + return vs[0].([]GetServicesServicesCollection)[vs[1].(int)] + }).(GetServicesServicesCollectionOutput) +} + +type GetServicesServicesCollectionItem struct { + // Filter by comms manager name + CommsManagerName string `pulumi:"commsManagerName"` + // The list of realms where this service is not available to be used. + ExcludedRealms []string `pulumi:"excludedRealms"` + // ID of the service object. + Id string `pulumi:"id"` + // A filter to return only services underlying a specific platform. + PlatformType string `pulumi:"platformType"` + // The list of previously used names for this service object. + PreviousServiceNames []string `pulumi:"previousServiceNames"` + // Name of the service represented by this object. + ServiceName string `pulumi:"serviceName"` + // Short name of the team to whom this service object is related. + ShortName string `pulumi:"shortName"` + // Current state of the service object. + State string `pulumi:"state"` + // Team name to which this service object is related. + TeamName string `pulumi:"teamName"` + // The date and time when the service object was created. + TimeCreated string `pulumi:"timeCreated"` + // The date and time when the service object was updated. + TimeUpdated string `pulumi:"timeUpdated"` + Type string `pulumi:"type"` +} + +// GetServicesServicesCollectionItemInput is an input type that accepts GetServicesServicesCollectionItemArgs and GetServicesServicesCollectionItemOutput values. +// You can construct a concrete instance of `GetServicesServicesCollectionItemInput` via: +// +// GetServicesServicesCollectionItemArgs{...} +type GetServicesServicesCollectionItemInput interface { + pulumi.Input + + ToGetServicesServicesCollectionItemOutput() GetServicesServicesCollectionItemOutput + ToGetServicesServicesCollectionItemOutputWithContext(context.Context) GetServicesServicesCollectionItemOutput +} + +type GetServicesServicesCollectionItemArgs struct { + // Filter by comms manager name + CommsManagerName pulumi.StringInput `pulumi:"commsManagerName"` + // The list of realms where this service is not available to be used. + ExcludedRealms pulumi.StringArrayInput `pulumi:"excludedRealms"` + // ID of the service object. + Id pulumi.StringInput `pulumi:"id"` + // A filter to return only services underlying a specific platform. + PlatformType pulumi.StringInput `pulumi:"platformType"` + // The list of previously used names for this service object. + PreviousServiceNames pulumi.StringArrayInput `pulumi:"previousServiceNames"` + // Name of the service represented by this object. + ServiceName pulumi.StringInput `pulumi:"serviceName"` + // Short name of the team to whom this service object is related. + ShortName pulumi.StringInput `pulumi:"shortName"` + // Current state of the service object. + State pulumi.StringInput `pulumi:"state"` + // Team name to which this service object is related. + TeamName pulumi.StringInput `pulumi:"teamName"` + // The date and time when the service object was created. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The date and time when the service object was updated. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetServicesServicesCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServicesServicesCollectionItem)(nil)).Elem() +} + +func (i GetServicesServicesCollectionItemArgs) ToGetServicesServicesCollectionItemOutput() GetServicesServicesCollectionItemOutput { + return i.ToGetServicesServicesCollectionItemOutputWithContext(context.Background()) +} + +func (i GetServicesServicesCollectionItemArgs) ToGetServicesServicesCollectionItemOutputWithContext(ctx context.Context) GetServicesServicesCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServicesServicesCollectionItemOutput) +} + +// GetServicesServicesCollectionItemArrayInput is an input type that accepts GetServicesServicesCollectionItemArray and GetServicesServicesCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetServicesServicesCollectionItemArrayInput` via: +// +// GetServicesServicesCollectionItemArray{ GetServicesServicesCollectionItemArgs{...} } +type GetServicesServicesCollectionItemArrayInput interface { + pulumi.Input + + ToGetServicesServicesCollectionItemArrayOutput() GetServicesServicesCollectionItemArrayOutput + ToGetServicesServicesCollectionItemArrayOutputWithContext(context.Context) GetServicesServicesCollectionItemArrayOutput +} + +type GetServicesServicesCollectionItemArray []GetServicesServicesCollectionItemInput + +func (GetServicesServicesCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServicesServicesCollectionItem)(nil)).Elem() +} + +func (i GetServicesServicesCollectionItemArray) ToGetServicesServicesCollectionItemArrayOutput() GetServicesServicesCollectionItemArrayOutput { + return i.ToGetServicesServicesCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetServicesServicesCollectionItemArray) ToGetServicesServicesCollectionItemArrayOutputWithContext(ctx context.Context) GetServicesServicesCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServicesServicesCollectionItemArrayOutput) +} + +type GetServicesServicesCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetServicesServicesCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServicesServicesCollectionItem)(nil)).Elem() +} + +func (o GetServicesServicesCollectionItemOutput) ToGetServicesServicesCollectionItemOutput() GetServicesServicesCollectionItemOutput { + return o +} + +func (o GetServicesServicesCollectionItemOutput) ToGetServicesServicesCollectionItemOutputWithContext(ctx context.Context) GetServicesServicesCollectionItemOutput { + return o +} + +// Filter by comms manager name +func (o GetServicesServicesCollectionItemOutput) CommsManagerName() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) string { return v.CommsManagerName }).(pulumi.StringOutput) +} + +// The list of realms where this service is not available to be used. +func (o GetServicesServicesCollectionItemOutput) ExcludedRealms() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) []string { return v.ExcludedRealms }).(pulumi.StringArrayOutput) +} + +// ID of the service object. +func (o GetServicesServicesCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// A filter to return only services underlying a specific platform. +func (o GetServicesServicesCollectionItemOutput) PlatformType() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) string { return v.PlatformType }).(pulumi.StringOutput) +} + +// The list of previously used names for this service object. +func (o GetServicesServicesCollectionItemOutput) PreviousServiceNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) []string { return v.PreviousServiceNames }).(pulumi.StringArrayOutput) +} + +// Name of the service represented by this object. +func (o GetServicesServicesCollectionItemOutput) ServiceName() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) string { return v.ServiceName }).(pulumi.StringOutput) +} + +// Short name of the team to whom this service object is related. +func (o GetServicesServicesCollectionItemOutput) ShortName() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) string { return v.ShortName }).(pulumi.StringOutput) +} + +// Current state of the service object. +func (o GetServicesServicesCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// Team name to which this service object is related. +func (o GetServicesServicesCollectionItemOutput) TeamName() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) string { return v.TeamName }).(pulumi.StringOutput) +} + +// The date and time when the service object was created. +func (o GetServicesServicesCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time when the service object was updated. +func (o GetServicesServicesCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func (o GetServicesServicesCollectionItemOutput) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetServicesServicesCollectionItem) string { return v.Type }).(pulumi.StringOutput) +} + +type GetServicesServicesCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetServicesServicesCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServicesServicesCollectionItem)(nil)).Elem() +} + +func (o GetServicesServicesCollectionItemArrayOutput) ToGetServicesServicesCollectionItemArrayOutput() GetServicesServicesCollectionItemArrayOutput { + return o +} + +func (o GetServicesServicesCollectionItemArrayOutput) ToGetServicesServicesCollectionItemArrayOutputWithContext(ctx context.Context) GetServicesServicesCollectionItemArrayOutput { + return o +} + +func (o GetServicesServicesCollectionItemArrayOutput) Index(i pulumi.IntInput) GetServicesServicesCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServicesServicesCollectionItem { + return vs[0].([]GetServicesServicesCollectionItem)[vs[1].(int)] + }).(GetServicesServicesCollectionItemOutput) +} + func init() { pulumi.RegisterInputType(reflect.TypeOf((*AnnouncementSubscriptionFilterGroupsInput)(nil)).Elem(), AnnouncementSubscriptionFilterGroupsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AnnouncementSubscriptionFilterGroupsPtrInput)(nil)).Elem(), AnnouncementSubscriptionFilterGroupsArgs{}) @@ -1290,6 +1683,12 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterArrayInput)(nil)).Elem(), GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAnnouncementSubscriptionsFilterInput)(nil)).Elem(), GetAnnouncementSubscriptionsFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAnnouncementSubscriptionsFilterArrayInput)(nil)).Elem(), GetAnnouncementSubscriptionsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServicesFilterInput)(nil)).Elem(), GetServicesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServicesFilterArrayInput)(nil)).Elem(), GetServicesFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServicesServicesCollectionInput)(nil)).Elem(), GetServicesServicesCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServicesServicesCollectionArrayInput)(nil)).Elem(), GetServicesServicesCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServicesServicesCollectionItemInput)(nil)).Elem(), GetServicesServicesCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServicesServicesCollectionItemArrayInput)(nil)).Elem(), GetServicesServicesCollectionItemArray{}) pulumi.RegisterOutputType(AnnouncementSubscriptionFilterGroupsOutput{}) pulumi.RegisterOutputType(AnnouncementSubscriptionFilterGroupsPtrOutput{}) pulumi.RegisterOutputType(AnnouncementSubscriptionFilterGroupsFilterOutput{}) @@ -1310,4 +1709,10 @@ func init() { pulumi.RegisterOutputType(GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterArrayOutput{}) pulumi.RegisterOutputType(GetAnnouncementSubscriptionsFilterOutput{}) pulumi.RegisterOutputType(GetAnnouncementSubscriptionsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetServicesFilterOutput{}) + pulumi.RegisterOutputType(GetServicesFilterArrayOutput{}) + pulumi.RegisterOutputType(GetServicesServicesCollectionOutput{}) + pulumi.RegisterOutputType(GetServicesServicesCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetServicesServicesCollectionItemOutput{}) + pulumi.RegisterOutputType(GetServicesServicesCollectionItemArrayOutput{}) } diff --git a/sdk/go/oci/bigdataservice/bdsInstance.go b/sdk/go/oci/bigdataservice/bdsInstance.go index eb254f581f..08619e8d72 100644 --- a/sdk/go/oci/bigdataservice/bdsInstance.go +++ b/sdk/go/oci/bigdataservice/bdsInstance.go @@ -26,7 +26,6 @@ import ( type BdsInstance struct { pulumi.CustomResourceState - AddKafkaTrigger pulumi.IntPtrOutput `pulumi:"addKafkaTrigger"` // (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. BootstrapScriptUrl pulumi.StringOutput `pulumi:"bootstrapScriptUrl"` // The information about added Cloud SQL capability @@ -51,8 +50,6 @@ type BdsInstance struct { // (Updatable) Name of the BDS instance DisplayName pulumi.StringOutput `pulumi:"displayName"` EdgeNode BdsInstanceEdgeNodePtrOutput `pulumi:"edgeNode"` - // (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - ExecuteBootstrapScriptTrigger pulumi.IntPtrOutput `pulumi:"executeBootstrapScriptTrigger"` // (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.StringMapOutput `pulumi:"freeformTags"` // Tag to ignore changing the shape of existing worker, master, utility, compute_only_worker, edge, kafkaBroker nodes, in a list format, when new nodes are added with a different shape. @@ -85,8 +82,6 @@ type BdsInstance struct { NumberOfNodesRequiringMaintenanceReboot pulumi.IntOutput `pulumi:"numberOfNodesRequiringMaintenanceReboot"` // (Updatable) The version of the patch to be upated. OsPatchVersion pulumi.StringPtrOutput `pulumi:"osPatchVersion"` - // (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - RemoveKafkaTrigger pulumi.IntPtrOutput `pulumi:"removeKafkaTrigger"` // (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. State pulumi.StringOutput `pulumi:"state"` // The time the BDS instance was created. An RFC3339 formatted datetime string @@ -165,7 +160,6 @@ func GetBdsInstance(ctx *pulumi.Context, // Input properties used for looking up and filtering BdsInstance resources. type bdsInstanceState struct { - AddKafkaTrigger *int `pulumi:"addKafkaTrigger"` // (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. BootstrapScriptUrl *string `pulumi:"bootstrapScriptUrl"` // The information about added Cloud SQL capability @@ -190,8 +184,6 @@ type bdsInstanceState struct { // (Updatable) Name of the BDS instance DisplayName *string `pulumi:"displayName"` EdgeNode *BdsInstanceEdgeNode `pulumi:"edgeNode"` - // (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - ExecuteBootstrapScriptTrigger *int `pulumi:"executeBootstrapScriptTrigger"` // (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]string `pulumi:"freeformTags"` // Tag to ignore changing the shape of existing worker, master, utility, compute_only_worker, edge, kafkaBroker nodes, in a list format, when new nodes are added with a different shape. @@ -224,8 +216,6 @@ type bdsInstanceState struct { NumberOfNodesRequiringMaintenanceReboot *int `pulumi:"numberOfNodesRequiringMaintenanceReboot"` // (Updatable) The version of the patch to be upated. OsPatchVersion *string `pulumi:"osPatchVersion"` - // (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - RemoveKafkaTrigger *int `pulumi:"removeKafkaTrigger"` // (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. State *string `pulumi:"state"` // The time the BDS instance was created. An RFC3339 formatted datetime string @@ -238,7 +228,6 @@ type bdsInstanceState struct { } type BdsInstanceState struct { - AddKafkaTrigger pulumi.IntPtrInput // (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. BootstrapScriptUrl pulumi.StringPtrInput // The information about added Cloud SQL capability @@ -263,8 +252,6 @@ type BdsInstanceState struct { // (Updatable) Name of the BDS instance DisplayName pulumi.StringPtrInput EdgeNode BdsInstanceEdgeNodePtrInput - // (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - ExecuteBootstrapScriptTrigger pulumi.IntPtrInput // (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.StringMapInput // Tag to ignore changing the shape of existing worker, master, utility, compute_only_worker, edge, kafkaBroker nodes, in a list format, when new nodes are added with a different shape. @@ -297,8 +284,6 @@ type BdsInstanceState struct { NumberOfNodesRequiringMaintenanceReboot pulumi.IntPtrInput // (Updatable) The version of the patch to be upated. OsPatchVersion pulumi.StringPtrInput - // (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - RemoveKafkaTrigger pulumi.IntPtrInput // (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. State pulumi.StringPtrInput // The time the BDS instance was created. An RFC3339 formatted datetime string @@ -315,7 +300,6 @@ func (BdsInstanceState) ElementType() reflect.Type { } type bdsInstanceArgs struct { - AddKafkaTrigger *int `pulumi:"addKafkaTrigger"` // (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. BootstrapScriptUrl *string `pulumi:"bootstrapScriptUrl"` // The information about added Cloud SQL capability @@ -336,8 +320,6 @@ type bdsInstanceArgs struct { // (Updatable) Name of the BDS instance DisplayName string `pulumi:"displayName"` EdgeNode *BdsInstanceEdgeNode `pulumi:"edgeNode"` - // (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - ExecuteBootstrapScriptTrigger *int `pulumi:"executeBootstrapScriptTrigger"` // (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]string `pulumi:"freeformTags"` // Tag to ignore changing the shape of existing worker, master, utility, compute_only_worker, edge, kafkaBroker nodes, in a list format, when new nodes are added with a different shape. @@ -364,8 +346,6 @@ type bdsInstanceArgs struct { NetworkConfig *BdsInstanceNetworkConfig `pulumi:"networkConfig"` // (Updatable) The version of the patch to be upated. OsPatchVersion *string `pulumi:"osPatchVersion"` - // (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - RemoveKafkaTrigger *int `pulumi:"removeKafkaTrigger"` // (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. State *string `pulumi:"state"` // The utility node in the BDS instance @@ -375,7 +355,6 @@ type bdsInstanceArgs struct { // The set of arguments for constructing a BdsInstance resource. type BdsInstanceArgs struct { - AddKafkaTrigger pulumi.IntPtrInput // (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. BootstrapScriptUrl pulumi.StringPtrInput // The information about added Cloud SQL capability @@ -396,8 +375,6 @@ type BdsInstanceArgs struct { // (Updatable) Name of the BDS instance DisplayName pulumi.StringInput EdgeNode BdsInstanceEdgeNodePtrInput - // (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - ExecuteBootstrapScriptTrigger pulumi.IntPtrInput // (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.StringMapInput // Tag to ignore changing the shape of existing worker, master, utility, compute_only_worker, edge, kafkaBroker nodes, in a list format, when new nodes are added with a different shape. @@ -424,8 +401,6 @@ type BdsInstanceArgs struct { NetworkConfig BdsInstanceNetworkConfigPtrInput // (Updatable) The version of the patch to be upated. OsPatchVersion pulumi.StringPtrInput - // (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - RemoveKafkaTrigger pulumi.IntPtrInput // (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. State pulumi.StringPtrInput // The utility node in the BDS instance @@ -520,10 +495,6 @@ func (o BdsInstanceOutput) ToBdsInstanceOutputWithContext(ctx context.Context) B return o } -func (o BdsInstanceOutput) AddKafkaTrigger() pulumi.IntPtrOutput { - return o.ApplyT(func(v *BdsInstance) pulumi.IntPtrOutput { return v.AddKafkaTrigger }).(pulumi.IntPtrOutput) -} - // (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. func (o BdsInstanceOutput) BootstrapScriptUrl() pulumi.StringOutput { return o.ApplyT(func(v *BdsInstance) pulumi.StringOutput { return v.BootstrapScriptUrl }).(pulumi.StringOutput) @@ -587,11 +558,6 @@ func (o BdsInstanceOutput) EdgeNode() BdsInstanceEdgeNodePtrOutput { return o.ApplyT(func(v *BdsInstance) BdsInstanceEdgeNodePtrOutput { return v.EdgeNode }).(BdsInstanceEdgeNodePtrOutput) } -// (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. -func (o BdsInstanceOutput) ExecuteBootstrapScriptTrigger() pulumi.IntPtrOutput { - return o.ApplyT(func(v *BdsInstance) pulumi.IntPtrOutput { return v.ExecuteBootstrapScriptTrigger }).(pulumi.IntPtrOutput) -} - // (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 BdsInstanceOutput) FreeformTags() pulumi.StringMapOutput { return o.ApplyT(func(v *BdsInstance) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) @@ -672,11 +638,6 @@ func (o BdsInstanceOutput) OsPatchVersion() pulumi.StringPtrOutput { return o.ApplyT(func(v *BdsInstance) pulumi.StringPtrOutput { return v.OsPatchVersion }).(pulumi.StringPtrOutput) } -// (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. -func (o BdsInstanceOutput) RemoveKafkaTrigger() pulumi.IntPtrOutput { - return o.ApplyT(func(v *BdsInstance) pulumi.IntPtrOutput { return v.RemoveKafkaTrigger }).(pulumi.IntPtrOutput) -} - // (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. func (o BdsInstanceOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *BdsInstance) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) diff --git a/sdk/go/oci/bigdataservice/getBdsInstance.go b/sdk/go/oci/bigdataservice/getBdsInstance.go index 4fd4fb46e7..f03017c001 100644 --- a/sdk/go/oci/bigdataservice/getBdsInstance.go +++ b/sdk/go/oci/bigdataservice/getBdsInstance.go @@ -58,8 +58,7 @@ type LookupBdsInstanceArgs struct { // A collection of values returned by getBdsInstance. type LookupBdsInstanceResult struct { - AddKafkaTrigger int `pulumi:"addKafkaTrigger"` - BdsInstanceId string `pulumi:"bdsInstanceId"` + BdsInstanceId string `pulumi:"bdsInstanceId"` // pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. BootstrapScriptUrl string `pulumi:"bootstrapScriptUrl"` // The information about added Cloud SQL capability @@ -80,9 +79,8 @@ type LookupBdsInstanceResult struct { // Defined tags for this resource. Each key is predefined and scoped to a namespace. For example, `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]string `pulumi:"definedTags"` // The name of the node. - DisplayName string `pulumi:"displayName"` - EdgeNodes []GetBdsInstanceEdgeNode `pulumi:"edgeNodes"` - ExecuteBootstrapScriptTrigger int `pulumi:"executeBootstrapScriptTrigger"` + DisplayName string `pulumi:"displayName"` + EdgeNodes []GetBdsInstanceEdgeNode `pulumi:"edgeNodes"` // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` FreeformTags map[string]string `pulumi:"freeformTags"` // The OCID of the Big Data Service resource. @@ -111,7 +109,6 @@ type LookupBdsInstanceResult struct { // Number of nodes that require a maintenance reboot NumberOfNodesRequiringMaintenanceReboot int `pulumi:"numberOfNodesRequiringMaintenanceReboot"` OsPatchVersion string `pulumi:"osPatchVersion"` - RemoveKafkaTrigger int `pulumi:"removeKafkaTrigger"` // The state of the cluster. State string `pulumi:"state"` // The time the cluster was created, shown as an RFC 3339 formatted datetime string. @@ -160,10 +157,6 @@ func (o LookupBdsInstanceResultOutput) ToLookupBdsInstanceResultOutputWithContex return o } -func (o LookupBdsInstanceResultOutput) AddKafkaTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupBdsInstanceResult) int { return v.AddKafkaTrigger }).(pulumi.IntOutput) -} - func (o LookupBdsInstanceResultOutput) BdsInstanceId() pulumi.StringOutput { return o.ApplyT(func(v LookupBdsInstanceResult) string { return v.BdsInstanceId }).(pulumi.StringOutput) } @@ -229,10 +222,6 @@ func (o LookupBdsInstanceResultOutput) EdgeNodes() GetBdsInstanceEdgeNodeArrayOu return o.ApplyT(func(v LookupBdsInstanceResult) []GetBdsInstanceEdgeNode { return v.EdgeNodes }).(GetBdsInstanceEdgeNodeArrayOutput) } -func (o LookupBdsInstanceResultOutput) ExecuteBootstrapScriptTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupBdsInstanceResult) int { return v.ExecuteBootstrapScriptTrigger }).(pulumi.IntOutput) -} - // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` func (o LookupBdsInstanceResultOutput) FreeformTags() pulumi.StringMapOutput { return o.ApplyT(func(v LookupBdsInstanceResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) @@ -312,10 +301,6 @@ func (o LookupBdsInstanceResultOutput) OsPatchVersion() pulumi.StringOutput { return o.ApplyT(func(v LookupBdsInstanceResult) string { return v.OsPatchVersion }).(pulumi.StringOutput) } -func (o LookupBdsInstanceResultOutput) RemoveKafkaTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupBdsInstanceResult) int { return v.RemoveKafkaTrigger }).(pulumi.IntOutput) -} - // The state of the cluster. func (o LookupBdsInstanceResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupBdsInstanceResult) string { return v.State }).(pulumi.StringOutput) diff --git a/sdk/go/oci/bigdataservice/pulumiTypes.go b/sdk/go/oci/bigdataservice/pulumiTypes.go index d4806ad25d..50bd73398e 100644 --- a/sdk/go/oci/bigdataservice/pulumiTypes.go +++ b/sdk/go/oci/bigdataservice/pulumiTypes.go @@ -3219,14 +3219,8 @@ type BdsInstanceCloudSqlDetail struct { Nvmes *int `pulumi:"nvmes"` // The total number of OCPUs available to the node. Ocpus *int `pulumi:"ocpus"` - // Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - OdhVersion *string `pulumi:"odhVersion"` - // BDS-assigned Operating System version for the node. - OsVersion *string `pulumi:"osVersion"` // Shape of the node Shape string `pulumi:"shape"` - // The fingerprint of the SSH key used for node access - SshFingerprint *string `pulumi:"sshFingerprint"` } // BdsInstanceCloudSqlDetailInput is an input type that accepts BdsInstanceCloudSqlDetailArgs and BdsInstanceCloudSqlDetailOutput values. @@ -3255,14 +3249,8 @@ type BdsInstanceCloudSqlDetailArgs struct { Nvmes pulumi.IntPtrInput `pulumi:"nvmes"` // The total number of OCPUs available to the node. Ocpus pulumi.IntPtrInput `pulumi:"ocpus"` - // Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - OdhVersion pulumi.StringPtrInput `pulumi:"odhVersion"` - // BDS-assigned Operating System version for the node. - OsVersion pulumi.StringPtrInput `pulumi:"osVersion"` // Shape of the node Shape pulumi.StringInput `pulumi:"shape"` - // The fingerprint of the SSH key used for node access - SshFingerprint pulumi.StringPtrInput `pulumi:"sshFingerprint"` } func (BdsInstanceCloudSqlDetailArgs) ElementType() reflect.Type { @@ -3351,26 +3339,11 @@ func (o BdsInstanceCloudSqlDetailOutput) Ocpus() pulumi.IntPtrOutput { return o.ApplyT(func(v BdsInstanceCloudSqlDetail) *int { return v.Ocpus }).(pulumi.IntPtrOutput) } -// Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. -func (o BdsInstanceCloudSqlDetailOutput) OdhVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v BdsInstanceCloudSqlDetail) *string { return v.OdhVersion }).(pulumi.StringPtrOutput) -} - -// BDS-assigned Operating System version for the node. -func (o BdsInstanceCloudSqlDetailOutput) OsVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v BdsInstanceCloudSqlDetail) *string { return v.OsVersion }).(pulumi.StringPtrOutput) -} - // Shape of the node func (o BdsInstanceCloudSqlDetailOutput) Shape() pulumi.StringOutput { return o.ApplyT(func(v BdsInstanceCloudSqlDetail) string { return v.Shape }).(pulumi.StringOutput) } -// The fingerprint of the SSH key used for node access -func (o BdsInstanceCloudSqlDetailOutput) SshFingerprint() pulumi.StringPtrOutput { - return o.ApplyT(func(v BdsInstanceCloudSqlDetail) *string { return v.SshFingerprint }).(pulumi.StringPtrOutput) -} - type BdsInstanceCloudSqlDetailArrayOutput struct{ *pulumi.OutputState } func (BdsInstanceCloudSqlDetailArrayOutput) ElementType() reflect.Type { @@ -12214,14 +12187,8 @@ type GetBdsInstanceCloudSqlDetail struct { Nvmes int `pulumi:"nvmes"` // The total number of OCPUs available to the node. Ocpus int `pulumi:"ocpus"` - // Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - OdhVersion string `pulumi:"odhVersion"` - // BDS-assigned Operating System version for the node. - OsVersion string `pulumi:"osVersion"` // Shape of the node. Shape string `pulumi:"shape"` - // The fingerprint of the SSH key used for node access. - SshFingerprint string `pulumi:"sshFingerprint"` } // GetBdsInstanceCloudSqlDetailInput is an input type that accepts GetBdsInstanceCloudSqlDetailArgs and GetBdsInstanceCloudSqlDetailOutput values. @@ -12250,14 +12217,8 @@ type GetBdsInstanceCloudSqlDetailArgs struct { Nvmes pulumi.IntInput `pulumi:"nvmes"` // The total number of OCPUs available to the node. Ocpus pulumi.IntInput `pulumi:"ocpus"` - // Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - OdhVersion pulumi.StringInput `pulumi:"odhVersion"` - // BDS-assigned Operating System version for the node. - OsVersion pulumi.StringInput `pulumi:"osVersion"` // Shape of the node. Shape pulumi.StringInput `pulumi:"shape"` - // The fingerprint of the SSH key used for node access. - SshFingerprint pulumi.StringInput `pulumi:"sshFingerprint"` } func (GetBdsInstanceCloudSqlDetailArgs) ElementType() reflect.Type { @@ -12348,26 +12309,11 @@ func (o GetBdsInstanceCloudSqlDetailOutput) Ocpus() pulumi.IntOutput { return o.ApplyT(func(v GetBdsInstanceCloudSqlDetail) int { return v.Ocpus }).(pulumi.IntOutput) } -// Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. -func (o GetBdsInstanceCloudSqlDetailOutput) OdhVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetBdsInstanceCloudSqlDetail) string { return v.OdhVersion }).(pulumi.StringOutput) -} - -// BDS-assigned Operating System version for the node. -func (o GetBdsInstanceCloudSqlDetailOutput) OsVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetBdsInstanceCloudSqlDetail) string { return v.OsVersion }).(pulumi.StringOutput) -} - // Shape of the node. func (o GetBdsInstanceCloudSqlDetailOutput) Shape() pulumi.StringOutput { return o.ApplyT(func(v GetBdsInstanceCloudSqlDetail) string { return v.Shape }).(pulumi.StringOutput) } -// The fingerprint of the SSH key used for node access. -func (o GetBdsInstanceCloudSqlDetailOutput) SshFingerprint() pulumi.StringOutput { - return o.ApplyT(func(v GetBdsInstanceCloudSqlDetail) string { return v.SshFingerprint }).(pulumi.StringOutput) -} - type GetBdsInstanceCloudSqlDetailArrayOutput struct{ *pulumi.OutputState } func (GetBdsInstanceCloudSqlDetailArrayOutput) ElementType() reflect.Type { @@ -15864,7 +15810,6 @@ func (o GetBdsInstanceWorkerNodeShapeConfigArrayOutput) Index(i pulumi.IntInput) } type GetBdsInstancesBdsInstance struct { - AddKafkaTrigger int `pulumi:"addKafkaTrigger"` // pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. BootstrapScriptUrl string `pulumi:"bootstrapScriptUrl"` // The information about added Cloud SQL capability @@ -15885,9 +15830,8 @@ type GetBdsInstancesBdsInstance struct { // Defined tags for this resource. Each key is predefined and scoped to a namespace. For example, `{"foo-namespace": {"bar-key": "value"}}` DefinedTags map[string]string `pulumi:"definedTags"` // A filter to return only resources that match the entire display name given. - DisplayName string `pulumi:"displayName"` - EdgeNodes []GetBdsInstancesBdsInstanceEdgeNode `pulumi:"edgeNodes"` - ExecuteBootstrapScriptTrigger int `pulumi:"executeBootstrapScriptTrigger"` + DisplayName string `pulumi:"displayName"` + EdgeNodes []GetBdsInstancesBdsInstanceEdgeNode `pulumi:"edgeNodes"` // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` FreeformTags map[string]string `pulumi:"freeformTags"` // The OCID of the Big Data Service resource. @@ -15916,7 +15860,6 @@ type GetBdsInstancesBdsInstance struct { // Number of nodes that require a maintenance reboot NumberOfNodesRequiringMaintenanceReboot int `pulumi:"numberOfNodesRequiringMaintenanceReboot"` OsPatchVersion string `pulumi:"osPatchVersion"` - RemoveKafkaTrigger int `pulumi:"removeKafkaTrigger"` // The state of the cluster. State string `pulumi:"state"` // The time the cluster was created, shown as an RFC 3339 formatted datetime string. @@ -15939,7 +15882,6 @@ type GetBdsInstancesBdsInstanceInput interface { } type GetBdsInstancesBdsInstanceArgs struct { - AddKafkaTrigger pulumi.IntInput `pulumi:"addKafkaTrigger"` // pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. BootstrapScriptUrl pulumi.StringInput `pulumi:"bootstrapScriptUrl"` // The information about added Cloud SQL capability @@ -15960,9 +15902,8 @@ type GetBdsInstancesBdsInstanceArgs struct { // Defined tags for this resource. Each key is predefined and scoped to a namespace. For example, `{"foo-namespace": {"bar-key": "value"}}` DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` // A filter to return only resources that match the entire display name given. - DisplayName pulumi.StringInput `pulumi:"displayName"` - EdgeNodes GetBdsInstancesBdsInstanceEdgeNodeArrayInput `pulumi:"edgeNodes"` - ExecuteBootstrapScriptTrigger pulumi.IntInput `pulumi:"executeBootstrapScriptTrigger"` + DisplayName pulumi.StringInput `pulumi:"displayName"` + EdgeNodes GetBdsInstancesBdsInstanceEdgeNodeArrayInput `pulumi:"edgeNodes"` // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` // The OCID of the Big Data Service resource. @@ -15991,7 +15932,6 @@ type GetBdsInstancesBdsInstanceArgs struct { // Number of nodes that require a maintenance reboot NumberOfNodesRequiringMaintenanceReboot pulumi.IntInput `pulumi:"numberOfNodesRequiringMaintenanceReboot"` OsPatchVersion pulumi.StringInput `pulumi:"osPatchVersion"` - RemoveKafkaTrigger pulumi.IntInput `pulumi:"removeKafkaTrigger"` // The state of the cluster. State pulumi.StringInput `pulumi:"state"` // The time the cluster was created, shown as an RFC 3339 formatted datetime string. @@ -16053,10 +15993,6 @@ func (o GetBdsInstancesBdsInstanceOutput) ToGetBdsInstancesBdsInstanceOutputWith return o } -func (o GetBdsInstancesBdsInstanceOutput) AddKafkaTrigger() pulumi.IntOutput { - return o.ApplyT(func(v GetBdsInstancesBdsInstance) int { return v.AddKafkaTrigger }).(pulumi.IntOutput) -} - // pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. func (o GetBdsInstancesBdsInstanceOutput) BootstrapScriptUrl() pulumi.StringOutput { return o.ApplyT(func(v GetBdsInstancesBdsInstance) string { return v.BootstrapScriptUrl }).(pulumi.StringOutput) @@ -16122,10 +16058,6 @@ func (o GetBdsInstancesBdsInstanceOutput) EdgeNodes() GetBdsInstancesBdsInstance return o.ApplyT(func(v GetBdsInstancesBdsInstance) []GetBdsInstancesBdsInstanceEdgeNode { return v.EdgeNodes }).(GetBdsInstancesBdsInstanceEdgeNodeArrayOutput) } -func (o GetBdsInstancesBdsInstanceOutput) ExecuteBootstrapScriptTrigger() pulumi.IntOutput { - return o.ApplyT(func(v GetBdsInstancesBdsInstance) int { return v.ExecuteBootstrapScriptTrigger }).(pulumi.IntOutput) -} - // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` func (o GetBdsInstancesBdsInstanceOutput) FreeformTags() pulumi.StringMapOutput { return o.ApplyT(func(v GetBdsInstancesBdsInstance) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) @@ -16207,10 +16139,6 @@ func (o GetBdsInstancesBdsInstanceOutput) OsPatchVersion() pulumi.StringOutput { return o.ApplyT(func(v GetBdsInstancesBdsInstance) string { return v.OsPatchVersion }).(pulumi.StringOutput) } -func (o GetBdsInstancesBdsInstanceOutput) RemoveKafkaTrigger() pulumi.IntOutput { - return o.ApplyT(func(v GetBdsInstancesBdsInstance) int { return v.RemoveKafkaTrigger }).(pulumi.IntOutput) -} - // The state of the cluster. func (o GetBdsInstancesBdsInstanceOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetBdsInstancesBdsInstance) string { return v.State }).(pulumi.StringOutput) @@ -16269,14 +16197,8 @@ type GetBdsInstancesBdsInstanceCloudSqlDetail struct { Nvmes int `pulumi:"nvmes"` // The total number of OCPUs available to the node. Ocpus int `pulumi:"ocpus"` - // Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - OdhVersion string `pulumi:"odhVersion"` - // BDS-assigned Operating System version for the node. - OsVersion string `pulumi:"osVersion"` // Shape of the node. Shape string `pulumi:"shape"` - // The fingerprint of the SSH key used for node access. - SshFingerprint string `pulumi:"sshFingerprint"` } // GetBdsInstancesBdsInstanceCloudSqlDetailInput is an input type that accepts GetBdsInstancesBdsInstanceCloudSqlDetailArgs and GetBdsInstancesBdsInstanceCloudSqlDetailOutput values. @@ -16305,14 +16227,8 @@ type GetBdsInstancesBdsInstanceCloudSqlDetailArgs struct { Nvmes pulumi.IntInput `pulumi:"nvmes"` // The total number of OCPUs available to the node. Ocpus pulumi.IntInput `pulumi:"ocpus"` - // Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - OdhVersion pulumi.StringInput `pulumi:"odhVersion"` - // BDS-assigned Operating System version for the node. - OsVersion pulumi.StringInput `pulumi:"osVersion"` // Shape of the node. Shape pulumi.StringInput `pulumi:"shape"` - // The fingerprint of the SSH key used for node access. - SshFingerprint pulumi.StringInput `pulumi:"sshFingerprint"` } func (GetBdsInstancesBdsInstanceCloudSqlDetailArgs) ElementType() reflect.Type { @@ -16403,26 +16319,11 @@ func (o GetBdsInstancesBdsInstanceCloudSqlDetailOutput) Ocpus() pulumi.IntOutput return o.ApplyT(func(v GetBdsInstancesBdsInstanceCloudSqlDetail) int { return v.Ocpus }).(pulumi.IntOutput) } -// Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. -func (o GetBdsInstancesBdsInstanceCloudSqlDetailOutput) OdhVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetBdsInstancesBdsInstanceCloudSqlDetail) string { return v.OdhVersion }).(pulumi.StringOutput) -} - -// BDS-assigned Operating System version for the node. -func (o GetBdsInstancesBdsInstanceCloudSqlDetailOutput) OsVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetBdsInstancesBdsInstanceCloudSqlDetail) string { return v.OsVersion }).(pulumi.StringOutput) -} - // Shape of the node. func (o GetBdsInstancesBdsInstanceCloudSqlDetailOutput) Shape() pulumi.StringOutput { return o.ApplyT(func(v GetBdsInstancesBdsInstanceCloudSqlDetail) string { return v.Shape }).(pulumi.StringOutput) } -// The fingerprint of the SSH key used for node access. -func (o GetBdsInstancesBdsInstanceCloudSqlDetailOutput) SshFingerprint() pulumi.StringOutput { - return o.ApplyT(func(v GetBdsInstancesBdsInstanceCloudSqlDetail) string { return v.SshFingerprint }).(pulumi.StringOutput) -} - type GetBdsInstancesBdsInstanceCloudSqlDetailArrayOutput struct{ *pulumi.OutputState } func (GetBdsInstancesBdsInstanceCloudSqlDetailArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/oci/database/autonomousDatabase.go b/sdk/go/oci/database/autonomousDatabase.go index 913ff258f1..c27e099489 100644 --- a/sdk/go/oci/database/autonomousDatabase.go +++ b/sdk/go/oci/database/autonomousDatabase.go @@ -50,6 +50,8 @@ type AutonomousDatabase struct { AutonomousDatabaseId pulumi.StringOutput `pulumi:"autonomousDatabaseId"` // The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle. AutonomousMaintenanceScheduleType pulumi.StringOutput `pulumi:"autonomousMaintenanceScheduleType"` + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain pulumi.StringOutput `pulumi:"availabilityDomain"` // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. AvailableUpgradeVersions pulumi.StringArrayOutput `pulumi:"availableUpgradeVersions"` // Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. @@ -444,6 +446,8 @@ type autonomousDatabaseState struct { AutonomousDatabaseId *string `pulumi:"autonomousDatabaseId"` // The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle. AutonomousMaintenanceScheduleType *string `pulumi:"autonomousMaintenanceScheduleType"` + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain *string `pulumi:"availabilityDomain"` // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. AvailableUpgradeVersions []string `pulumi:"availableUpgradeVersions"` // Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. @@ -796,6 +800,8 @@ type AutonomousDatabaseState struct { AutonomousDatabaseId pulumi.StringPtrInput // The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle. AutonomousMaintenanceScheduleType pulumi.StringPtrInput + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain pulumi.StringPtrInput // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. AvailableUpgradeVersions pulumi.StringArrayInput // Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. @@ -1750,6 +1756,11 @@ func (o AutonomousDatabaseOutput) AutonomousMaintenanceScheduleType() pulumi.Str return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.AutonomousMaintenanceScheduleType }).(pulumi.StringOutput) } +// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. +func (o AutonomousDatabaseOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. func (o AutonomousDatabaseOutput) AvailableUpgradeVersions() pulumi.StringArrayOutput { return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringArrayOutput { return v.AvailableUpgradeVersions }).(pulumi.StringArrayOutput) diff --git a/sdk/go/oci/database/dataGuardAssociation.go b/sdk/go/oci/database/dataGuardAssociation.go index a40b651590..a7f4f0e0d6 100644 --- a/sdk/go/oci/database/dataGuardAssociation.go +++ b/sdk/go/oci/database/dataGuardAssociation.go @@ -58,6 +58,7 @@ import ( // DbSystemDefinedTags: pulumi.Any(dataGuardAssociationDbSystemDefinedTags), // DbSystemFreeformTags: pulumi.Any(dataGuardAssociationDbSystemFreeformTags), // DisplayName: pulumi.Any(dataGuardAssociationDisplayName), +// Domain: pulumi.Any(dataGuardAssociationDomain), // FaultDomains: pulumi.Any(dataGuardAssociationFaultDomains), // Hostname: pulumi.Any(dataGuardAssociationHostname), // IsActiveDataGuardEnabled: pulumi.Any(dataGuardAssociationIsActiveDataGuardEnabled), @@ -130,6 +131,8 @@ type DataGuardAssociation struct { DeleteStandbyDbHomeOnDelete pulumi.StringOutput `pulumi:"deleteStandbyDbHomeOnDelete"` // The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. DisplayName pulumi.StringOutput `pulumi:"displayName"` + // A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + Domain pulumi.StringOutput `pulumi:"domain"` // A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. // // If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain. @@ -303,6 +306,8 @@ type dataGuardAssociationState struct { DeleteStandbyDbHomeOnDelete *string `pulumi:"deleteStandbyDbHomeOnDelete"` // The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. DisplayName *string `pulumi:"displayName"` + // A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + Domain *string `pulumi:"domain"` // A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. // // If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain. @@ -422,6 +427,8 @@ type DataGuardAssociationState struct { DeleteStandbyDbHomeOnDelete pulumi.StringPtrInput // The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. DisplayName pulumi.StringPtrInput + // A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + Domain pulumi.StringPtrInput // A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. // // If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain. @@ -541,6 +548,8 @@ type dataGuardAssociationArgs struct { DeleteStandbyDbHomeOnDelete string `pulumi:"deleteStandbyDbHomeOnDelete"` // The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. DisplayName *string `pulumi:"displayName"` + // A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + Domain *string `pulumi:"domain"` // A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. // // If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain. @@ -643,6 +652,8 @@ type DataGuardAssociationArgs struct { DeleteStandbyDbHomeOnDelete pulumi.StringInput // The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. DisplayName pulumi.StringPtrInput + // A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + Domain pulumi.StringPtrInput // A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. // // If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain. @@ -887,6 +898,11 @@ func (o DataGuardAssociationOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *DataGuardAssociation) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } +// A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. +func (o DataGuardAssociationOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v *DataGuardAssociation) pulumi.StringOutput { return v.Domain }).(pulumi.StringOutput) +} + // A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. // // If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain. diff --git a/sdk/go/oci/database/getAutonomousDatabase.go b/sdk/go/oci/database/getAutonomousDatabase.go index ee58563d3b..8a927de933 100644 --- a/sdk/go/oci/database/getAutonomousDatabase.go +++ b/sdk/go/oci/database/getAutonomousDatabase.go @@ -77,6 +77,8 @@ type LookupAutonomousDatabaseResult struct { AutonomousDatabaseId string `pulumi:"autonomousDatabaseId"` // The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle AutonomousMaintenanceScheduleType string `pulumi:"autonomousMaintenanceScheduleType"` + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain string `pulumi:"availabilityDomain"` // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. AvailableUpgradeVersions []string `pulumi:"availableUpgradeVersions"` // Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. @@ -414,6 +416,11 @@ func (o LookupAutonomousDatabaseResultOutput) AutonomousMaintenanceScheduleType( return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.AutonomousMaintenanceScheduleType }).(pulumi.StringOutput) } +// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. +func (o LookupAutonomousDatabaseResultOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. func (o LookupAutonomousDatabaseResultOutput) AvailableUpgradeVersions() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupAutonomousDatabaseResult) []string { return v.AvailableUpgradeVersions }).(pulumi.StringArrayOutput) diff --git a/sdk/go/oci/database/getAutonomousDatabases.go b/sdk/go/oci/database/getAutonomousDatabases.go index 61f3787cb8..042d09c2d0 100644 --- a/sdk/go/oci/database/getAutonomousDatabases.go +++ b/sdk/go/oci/database/getAutonomousDatabases.go @@ -11,61 +11,9 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) -// ## +// This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. // -// *** -// ## subcategory: "Database" -// -// layout: "oci" -// page_title: "Oracle Cloud Infrastructure: Database.getAutonomousDatabases" -// sidebar_current: "docs-oci-datasource-database-autonomous_databases" -// description: |- -// -// Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service -// -// --- -// -// # Data Source: Database.getAutonomousDatabases -// This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. -// -// Gets a list of Autonomous Databases based on the query parameters specified. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Database" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := Database.GetAutonomousDatabases(ctx, &database.GetAutonomousDatabasesArgs{ -// CompartmentId: compartmentId, -// AutonomousContainerDatabaseId: pulumi.StringRef(testAutonomousContainerDatabase.Id), -// DbVersion: pulumi.StringRef(autonomousDatabaseDbVersion), -// DbWorkload: pulumi.StringRef(autonomousDatabaseDbWorkload), -// DisplayName: pulumi.StringRef(autonomousDatabaseDisplayName), -// InfrastructureType: pulumi.StringRef(autonomousDatabaseInfrastructureType), -// IsDataGuardEnabled: pulumi.BoolRef(autonomousDatabaseIsDataGuardEnabled), -// IsFreeTier: pulumi.BoolRef(autonomousDatabaseIsFreeTier), -// IsRefreshableClone: pulumi.BoolRef(autonomousDatabaseIsRefreshableClone), -// IsResourcePoolLeader: pulumi.BoolRef(autonomousDatabaseIsResourcePoolLeader), -// ResourcePoolLeaderId: pulumi.StringRef(testResourcePoolLeader.Id), -// State: pulumi.StringRef(autonomousDatabaseState), -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` +// Gets the details of the specified Autonomous Database. func GetAutonomousDatabases(ctx *pulumi.Context, args *GetAutonomousDatabasesArgs, opts ...pulumi.InvokeOption) (*GetAutonomousDatabasesResult, error) { opts = internal.PkgInvokeDefaultOpts(opts) var rv GetAutonomousDatabasesResult @@ -80,37 +28,39 @@ func GetAutonomousDatabases(ctx *pulumi.Context, args *GetAutonomousDatabasesArg type GetAutonomousDatabasesArgs struct { // The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). AutonomousContainerDatabaseId *string `pulumi:"autonomousContainerDatabaseId"` - // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` - // A filter to return only autonomous database resources that match the specified dbVersion. + // A valid Oracle Database version for Autonomous Database. DbVersion *string `pulumi:"dbVersion"` - // A filter to return only autonomous database resources that match the specified workload type. + // The Autonomous Database workload type. The following values are valid: + // * OLTP - indicates an Autonomous Transaction Processing database + // * DW - indicates an Autonomous Data Warehouse database + // * AJD - indicates an Autonomous JSON Database + // * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. DbWorkload *string `pulumi:"dbWorkload"` - // A filter to return only resources that match the entire display name given. The match is not case sensitive. + // The user-friendly name for the Autonomous Database. The name does not have to be unique. DisplayName *string `pulumi:"displayName"` Filters []GetAutonomousDatabasesFilter `pulumi:"filters"` - // A filter to return only resources that match the given Infrastructure Type. + // The infrastructure type this resource belongs to. InfrastructureType *string `pulumi:"infrastructureType"` - // A filter to return only resources that have Data Guard enabled. + // **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. IsDataGuardEnabled *bool `pulumi:"isDataGuardEnabled"` - // 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. + // 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"` - // 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. + // Indicates if the Autonomous Database is a refreshable clone. + IsRefreshableClone *bool `pulumi:"isRefreshableClone"` IsResourcePoolLeader *bool `pulumi:"isResourcePoolLeader"` - // The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + // The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ResourcePoolLeaderId *string `pulumi:"resourcePoolLeaderId"` - // A filter to return only resources that match the given lifecycle state exactly. + // The current state of the Autonomous Database. State *string `pulumi:"state"` } // A collection of values returned by getAutonomousDatabases. type GetAutonomousDatabasesResult struct { // The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - AutonomousContainerDatabaseId *string `pulumi:"autonomousContainerDatabaseId"` - // The list of autonomous_databases. - AutonomousDatabases []GetAutonomousDatabasesAutonomousDatabase `pulumi:"autonomousDatabases"` + AutonomousContainerDatabaseId *string `pulumi:"autonomousContainerDatabaseId"` + AutonomousDatabases []GetAutonomousDatabasesAutonomousDatabase `pulumi:"autonomousDatabases"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` // A valid Oracle Database version for Autonomous Database. @@ -158,28 +108,31 @@ func GetAutonomousDatabasesOutput(ctx *pulumi.Context, args GetAutonomousDatabas type GetAutonomousDatabasesOutputArgs struct { // The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). AutonomousContainerDatabaseId pulumi.StringPtrInput `pulumi:"autonomousContainerDatabaseId"` - // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // A filter to return only autonomous database resources that match the specified dbVersion. + // A valid Oracle Database version for Autonomous Database. DbVersion pulumi.StringPtrInput `pulumi:"dbVersion"` - // A filter to return only autonomous database resources that match the specified workload type. + // The Autonomous Database workload type. The following values are valid: + // * OLTP - indicates an Autonomous Transaction Processing database + // * DW - indicates an Autonomous Data Warehouse database + // * AJD - indicates an Autonomous JSON Database + // * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. DbWorkload pulumi.StringPtrInput `pulumi:"dbWorkload"` - // A filter to return only resources that match the entire display name given. The match is not case sensitive. + // The user-friendly name for the Autonomous Database. The name does not have to be unique. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` Filters GetAutonomousDatabasesFilterArrayInput `pulumi:"filters"` - // A filter to return only resources that match the given Infrastructure Type. + // The infrastructure type this resource belongs to. InfrastructureType pulumi.StringPtrInput `pulumi:"infrastructureType"` - // A filter to return only resources that have Data Guard enabled. + // **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. IsDataGuardEnabled pulumi.BoolPtrInput `pulumi:"isDataGuardEnabled"` - // 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. + // 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 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. + // Indicates if the Autonomous Database is a refreshable clone. + IsRefreshableClone pulumi.BoolPtrInput `pulumi:"isRefreshableClone"` 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. + // The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ResourcePoolLeaderId pulumi.StringPtrInput `pulumi:"resourcePoolLeaderId"` - // A filter to return only resources that match the given lifecycle state exactly. + // The current state of the Autonomous Database. State pulumi.StringPtrInput `pulumi:"state"` } @@ -207,7 +160,6 @@ func (o GetAutonomousDatabasesResultOutput) AutonomousContainerDatabaseId() pulu return o.ApplyT(func(v GetAutonomousDatabasesResult) *string { return v.AutonomousContainerDatabaseId }).(pulumi.StringPtrOutput) } -// The list of autonomous_databases. func (o GetAutonomousDatabasesResultOutput) AutonomousDatabases() GetAutonomousDatabasesAutonomousDatabaseArrayOutput { return o.ApplyT(func(v GetAutonomousDatabasesResult) []GetAutonomousDatabasesAutonomousDatabase { return v.AutonomousDatabases diff --git a/sdk/go/oci/database/getDataGuardAssociation.go b/sdk/go/oci/database/getDataGuardAssociation.go index 5811eccbea..4d0e6e8d91 100644 --- a/sdk/go/oci/database/getDataGuardAssociation.go +++ b/sdk/go/oci/database/getDataGuardAssociation.go @@ -82,6 +82,7 @@ type LookupDataGuardAssociationResult struct { DbSystemFreeformTags map[string]string `pulumi:"dbSystemFreeformTags"` DeleteStandbyDbHomeOnDelete string `pulumi:"deleteStandbyDbHomeOnDelete"` DisplayName string `pulumi:"displayName"` + Domain string `pulumi:"domain"` FaultDomains []string `pulumi:"faultDomains"` Hostname string `pulumi:"hostname"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Data Guard association. @@ -240,6 +241,10 @@ func (o LookupDataGuardAssociationResultOutput) DisplayName() pulumi.StringOutpu return o.ApplyT(func(v LookupDataGuardAssociationResult) string { return v.DisplayName }).(pulumi.StringOutput) } +func (o LookupDataGuardAssociationResultOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v LookupDataGuardAssociationResult) string { return v.Domain }).(pulumi.StringOutput) +} + func (o LookupDataGuardAssociationResultOutput) FaultDomains() pulumi.StringArrayOutput { return o.ApplyT(func(v LookupDataGuardAssociationResult) []string { return v.FaultDomains }).(pulumi.StringArrayOutput) } diff --git a/sdk/go/oci/database/pulumiTypes.go b/sdk/go/oci/database/pulumiTypes.go index ee54dd0329..0c4c634e78 100644 --- a/sdk/go/oci/database/pulumiTypes.go +++ b/sdk/go/oci/database/pulumiTypes.go @@ -3298,6 +3298,8 @@ func (o AutonomousDatabaseKeyHistoryEntryArrayOutput) Index(i pulumi.IntInput) A } type AutonomousDatabaseLocalStandbyDb struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain *string `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds *int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -3322,6 +3324,8 @@ type AutonomousDatabaseLocalStandbyDbInput interface { } type AutonomousDatabaseLocalStandbyDbArgs struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain pulumi.StringPtrInput `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds pulumi.IntPtrInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -3385,6 +3389,11 @@ func (o AutonomousDatabaseLocalStandbyDbOutput) ToAutonomousDatabaseLocalStandby return o } +// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. +func (o AutonomousDatabaseLocalStandbyDbOutput) AvailabilityDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseLocalStandbyDb) *string { return v.AvailabilityDomain }).(pulumi.StringPtrOutput) +} + // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. func (o AutonomousDatabaseLocalStandbyDbOutput) LagTimeInSeconds() pulumi.IntPtrOutput { return o.ApplyT(func(v AutonomousDatabaseLocalStandbyDb) *int { return v.LagTimeInSeconds }).(pulumi.IntPtrOutput) @@ -4168,6 +4177,8 @@ func (o AutonomousDatabaseScheduledOperationDayOfWeekOutput) Name() pulumi.Strin } type AutonomousDatabaseStandbyDb struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain *string `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds *int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -4192,6 +4203,8 @@ type AutonomousDatabaseStandbyDbInput interface { } type AutonomousDatabaseStandbyDbArgs struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain pulumi.StringPtrInput `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds pulumi.IntPtrInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -4255,6 +4268,11 @@ func (o AutonomousDatabaseStandbyDbOutput) ToAutonomousDatabaseStandbyDbOutputWi return o } +// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. +func (o AutonomousDatabaseStandbyDbOutput) AvailabilityDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseStandbyDb) *string { return v.AvailabilityDomain }).(pulumi.StringPtrOutput) +} + // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. func (o AutonomousDatabaseStandbyDbOutput) LagTimeInSeconds() pulumi.IntPtrOutput { return o.ApplyT(func(v AutonomousDatabaseStandbyDb) *int { return v.LagTimeInSeconds }).(pulumi.IntPtrOutput) @@ -32013,6 +32031,8 @@ func (o GetAutonomousDatabaseKeyHistoryEntryArrayOutput) Index(i pulumi.IntInput } type GetAutonomousDatabaseLocalStandbyDb struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain string `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -32037,6 +32057,8 @@ type GetAutonomousDatabaseLocalStandbyDbInput interface { } type GetAutonomousDatabaseLocalStandbyDbArgs struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -32100,6 +32122,11 @@ func (o GetAutonomousDatabaseLocalStandbyDbOutput) ToGetAutonomousDatabaseLocalS return o } +// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. +func (o GetAutonomousDatabaseLocalStandbyDbOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabaseLocalStandbyDb) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. func (o GetAutonomousDatabaseLocalStandbyDbOutput) LagTimeInSeconds() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousDatabaseLocalStandbyDb) int { return v.LagTimeInSeconds }).(pulumi.IntOutput) @@ -33921,6 +33948,8 @@ func (o GetAutonomousDatabaseSoftwareImagesFilterArrayOutput) Index(i pulumi.Int } type GetAutonomousDatabaseStandbyDb struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain string `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -33945,6 +33974,8 @@ type GetAutonomousDatabaseStandbyDbInput interface { } type GetAutonomousDatabaseStandbyDbArgs struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -34008,6 +34039,11 @@ func (o GetAutonomousDatabaseStandbyDbOutput) ToGetAutonomousDatabaseStandbyDbOu return o } +// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. +func (o GetAutonomousDatabaseStandbyDbOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabaseStandbyDb) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. func (o GetAutonomousDatabaseStandbyDbOutput) LagTimeInSeconds() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousDatabaseStandbyDb) int { return v.LagTimeInSeconds }).(pulumi.IntOutput) @@ -34070,9 +34106,12 @@ type GetAutonomousDatabasesAutonomousDatabase struct { // The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). AutonomousContainerDatabaseId string `pulumi:"autonomousContainerDatabaseId"` AutonomousDatabaseBackupId string `pulumi:"autonomousDatabaseBackupId"` - AutonomousDatabaseId string `pulumi:"autonomousDatabaseId"` + // The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + AutonomousDatabaseId string `pulumi:"autonomousDatabaseId"` // The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle AutonomousMaintenanceScheduleType string `pulumi:"autonomousMaintenanceScheduleType"` + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain string `pulumi:"availabilityDomain"` // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. AvailableUpgradeVersions []string `pulumi:"availableUpgradeVersions"` // Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. @@ -34085,7 +34124,7 @@ type GetAutonomousDatabasesAutonomousDatabase struct { CloneType string `pulumi:"cloneType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. ClusterPlacementGroupId string `pulumi:"clusterPlacementGroupId"` - // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` // Compute used by database tools. ComputeCount float64 `pulumi:"computeCount"` @@ -34115,9 +34154,13 @@ type GetAutonomousDatabasesAutonomousDatabase struct { DbName string `pulumi:"dbName"` // The list of database tools details. DbToolsDetails []GetAutonomousDatabasesAutonomousDatabaseDbToolsDetail `pulumi:"dbToolsDetails"` - // A filter to return only autonomous database resources that match the specified dbVersion. + // A valid Oracle Database version for Autonomous Database. DbVersion string `pulumi:"dbVersion"` - // A filter to return only autonomous database resources that match the specified workload type. + // The Autonomous Database workload type. The following values are valid: + // * OLTP - indicates an Autonomous Transaction Processing database + // * DW - indicates an Autonomous Data Warehouse database + // * AJD - indicates an Autonomous JSON Database + // * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. DbWorkload string `pulumi:"dbWorkload"` // 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]string `pulumi:"definedTags"` @@ -34125,7 +34168,7 @@ type GetAutonomousDatabasesAutonomousDatabase struct { DisasterRecoveryRegionType string `pulumi:"disasterRecoveryRegionType"` // 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. DisasterRecoveryType string `pulumi:"disasterRecoveryType"` - // A filter to return only resources that match the entire display name given. The match is not case sensitive. + // The user-friendly name for the Autonomous Database. The name does not have to be unique. DisplayName string `pulumi:"displayName"` // Indicates the number of seconds of data loss for a Data Guard failover. FailedDataRecoveryInSeconds int `pulumi:"failedDataRecoveryInSeconds"` @@ -34137,7 +34180,7 @@ type GetAutonomousDatabasesAutonomousDatabase struct { InMemoryAreaInGbs int `pulumi:"inMemoryAreaInGbs"` // The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous Database. This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. InMemoryPercentage int `pulumi:"inMemoryPercentage"` - // A filter to return only resources that match the given Infrastructure Type. + // The infrastructure type this resource belongs to. InfrastructureType string `pulumi:"infrastructureType"` // Indicates if the database-level access control is enabled. If disabled, database access is defined by the network security rules. If enabled, database access is restricted to the IP addresses defined by the rules specified with the `whitelistedIps` property. While specifying `whitelistedIps` rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the `UpdateAutonomousDatabase` API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone. IsAccessControlEnabled bool `pulumi:"isAccessControlEnabled"` @@ -34145,13 +34188,13 @@ type GetAutonomousDatabasesAutonomousDatabase struct { IsAutoScalingEnabled bool `pulumi:"isAutoScalingEnabled"` // Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is `FALSE`. IsAutoScalingForStorageEnabled bool `pulumi:"isAutoScalingForStorageEnabled"` - // A filter to return only resources that have Data Guard enabled. + // **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. IsDataGuardEnabled bool `pulumi:"isDataGuardEnabled"` // True if the database uses [dedicated Exadata infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html). IsDedicated bool `pulumi:"isDedicated"` // Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database. IsDevTier bool `pulumi:"isDevTier"` - // 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. + // 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 whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. IsLocalDataGuardEnabled bool `pulumi:"isLocalDataGuardEnabled"` @@ -34162,7 +34205,7 @@ type GetAutonomousDatabasesAutonomousDatabase struct { IsPreviewVersionWithServiceTermsAccepted bool `pulumi:"isPreviewVersionWithServiceTermsAccepted"` // Indicates if the refreshable clone can be reconnected to its source database. IsReconnectCloneEnabled bool `pulumi:"isReconnectCloneEnabled"` - // 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. + // Indicates if the Autonomous Database is a refreshable clone. IsRefreshableClone bool `pulumi:"isRefreshableClone"` // Indicates whether the Autonomous Database has Cross Region Data Guard enabled. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. IsRemoteDataGuardEnabled bool `pulumi:"isRemoteDataGuardEnabled"` @@ -34196,7 +34239,7 @@ type GetAutonomousDatabasesAutonomousDatabase struct { LongTermBackupSchedules []GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule `pulumi:"longTermBackupSchedules"` // The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. MaxCpuCoreCount int `pulumi:"maxCpuCoreCount"` - // The amount of memory (in GBs) enabled per OCPU or ECPU. + // The amount of memory (in GBs) enabled per ECPU or OCPU. MemoryPerOracleComputeUnitInGbs int `pulumi:"memoryPerOracleComputeUnitInGbs"` // The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8. NcharacterSet string `pulumi:"ncharacterSet"` @@ -34236,7 +34279,7 @@ 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. + // 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 []GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary `pulumi:"resourcePoolSummaries"` @@ -34257,11 +34300,12 @@ type GetAutonomousDatabasesAutonomousDatabase struct { StandbyDbs []GetAutonomousDatabasesAutonomousDatabaseStandbyDb `pulumi:"standbyDbs"` // 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. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`. StandbyWhitelistedIps []string `pulumi:"standbyWhitelistedIps"` - // A filter to return only resources that match the given lifecycle state exactly. + // The current state of the Autonomous Database. State string `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with. SubnetId string `pulumi:"subnetId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + // 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 the backup subnet. SubscriptionId string `pulumi:"subscriptionId"` // The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database. SupportedRegionsToCloneTos []string `pulumi:"supportedRegionsToCloneTos"` @@ -34343,9 +34387,12 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { // The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). AutonomousContainerDatabaseId pulumi.StringInput `pulumi:"autonomousContainerDatabaseId"` AutonomousDatabaseBackupId pulumi.StringInput `pulumi:"autonomousDatabaseBackupId"` - AutonomousDatabaseId pulumi.StringInput `pulumi:"autonomousDatabaseId"` + // The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + AutonomousDatabaseId pulumi.StringInput `pulumi:"autonomousDatabaseId"` // The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle AutonomousMaintenanceScheduleType pulumi.StringInput `pulumi:"autonomousMaintenanceScheduleType"` + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. AvailableUpgradeVersions pulumi.StringArrayInput `pulumi:"availableUpgradeVersions"` // Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. @@ -34358,7 +34405,7 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { CloneType pulumi.StringInput `pulumi:"cloneType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. ClusterPlacementGroupId pulumi.StringInput `pulumi:"clusterPlacementGroupId"` - // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` // Compute used by database tools. ComputeCount pulumi.Float64Input `pulumi:"computeCount"` @@ -34388,9 +34435,13 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { DbName pulumi.StringInput `pulumi:"dbName"` // The list of database tools details. DbToolsDetails GetAutonomousDatabasesAutonomousDatabaseDbToolsDetailArrayInput `pulumi:"dbToolsDetails"` - // A filter to return only autonomous database resources that match the specified dbVersion. + // A valid Oracle Database version for Autonomous Database. DbVersion pulumi.StringInput `pulumi:"dbVersion"` - // A filter to return only autonomous database resources that match the specified workload type. + // The Autonomous Database workload type. The following values are valid: + // * OLTP - indicates an Autonomous Transaction Processing database + // * DW - indicates an Autonomous Data Warehouse database + // * AJD - indicates an Autonomous JSON Database + // * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. DbWorkload pulumi.StringInput `pulumi:"dbWorkload"` // 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.StringMapInput `pulumi:"definedTags"` @@ -34398,7 +34449,7 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { DisasterRecoveryRegionType pulumi.StringInput `pulumi:"disasterRecoveryRegionType"` // 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. DisasterRecoveryType pulumi.StringInput `pulumi:"disasterRecoveryType"` - // A filter to return only resources that match the entire display name given. The match is not case sensitive. + // The user-friendly name for the Autonomous Database. The name does not have to be unique. DisplayName pulumi.StringInput `pulumi:"displayName"` // Indicates the number of seconds of data loss for a Data Guard failover. FailedDataRecoveryInSeconds pulumi.IntInput `pulumi:"failedDataRecoveryInSeconds"` @@ -34410,7 +34461,7 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { InMemoryAreaInGbs pulumi.IntInput `pulumi:"inMemoryAreaInGbs"` // The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous Database. This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. InMemoryPercentage pulumi.IntInput `pulumi:"inMemoryPercentage"` - // A filter to return only resources that match the given Infrastructure Type. + // The infrastructure type this resource belongs to. InfrastructureType pulumi.StringInput `pulumi:"infrastructureType"` // Indicates if the database-level access control is enabled. If disabled, database access is defined by the network security rules. If enabled, database access is restricted to the IP addresses defined by the rules specified with the `whitelistedIps` property. While specifying `whitelistedIps` rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the `UpdateAutonomousDatabase` API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone. IsAccessControlEnabled pulumi.BoolInput `pulumi:"isAccessControlEnabled"` @@ -34418,13 +34469,13 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { IsAutoScalingEnabled pulumi.BoolInput `pulumi:"isAutoScalingEnabled"` // Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is `FALSE`. IsAutoScalingForStorageEnabled pulumi.BoolInput `pulumi:"isAutoScalingForStorageEnabled"` - // A filter to return only resources that have Data Guard enabled. + // **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. IsDataGuardEnabled pulumi.BoolInput `pulumi:"isDataGuardEnabled"` // True if the database uses [dedicated Exadata infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html). IsDedicated pulumi.BoolInput `pulumi:"isDedicated"` // Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database. IsDevTier pulumi.BoolInput `pulumi:"isDevTier"` - // 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. + // 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 pulumi.BoolInput `pulumi:"isFreeTier"` // Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. IsLocalDataGuardEnabled pulumi.BoolInput `pulumi:"isLocalDataGuardEnabled"` @@ -34435,7 +34486,7 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { IsPreviewVersionWithServiceTermsAccepted pulumi.BoolInput `pulumi:"isPreviewVersionWithServiceTermsAccepted"` // Indicates if the refreshable clone can be reconnected to its source database. IsReconnectCloneEnabled pulumi.BoolInput `pulumi:"isReconnectCloneEnabled"` - // 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. + // Indicates if the Autonomous Database is a refreshable clone. IsRefreshableClone pulumi.BoolInput `pulumi:"isRefreshableClone"` // Indicates whether the Autonomous Database has Cross Region Data Guard enabled. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. IsRemoteDataGuardEnabled pulumi.BoolInput `pulumi:"isRemoteDataGuardEnabled"` @@ -34469,7 +34520,7 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { LongTermBackupSchedules GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleArrayInput `pulumi:"longTermBackupSchedules"` // The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. MaxCpuCoreCount pulumi.IntInput `pulumi:"maxCpuCoreCount"` - // The amount of memory (in GBs) enabled per OCPU or ECPU. + // The amount of memory (in GBs) enabled per ECPU or OCPU. MemoryPerOracleComputeUnitInGbs pulumi.IntInput `pulumi:"memoryPerOracleComputeUnitInGbs"` // The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8. NcharacterSet pulumi.StringInput `pulumi:"ncharacterSet"` @@ -34509,7 +34560,7 @@ 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. + // 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 GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayInput `pulumi:"resourcePoolSummaries"` @@ -34530,11 +34581,12 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { StandbyDbs GetAutonomousDatabasesAutonomousDatabaseStandbyDbArrayInput `pulumi:"standbyDbs"` // 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. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`. StandbyWhitelistedIps pulumi.StringArrayInput `pulumi:"standbyWhitelistedIps"` - // A filter to return only resources that match the given lifecycle state exactly. + // The current state of the Autonomous Database. State pulumi.StringInput `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with. SubnetId pulumi.StringInput `pulumi:"subnetId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + // 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 the backup subnet. SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` // The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database. SupportedRegionsToCloneTos pulumi.StringArrayInput `pulumi:"supportedRegionsToCloneTos"` @@ -34684,6 +34736,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) AutonomousDatabaseBackup return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.AutonomousDatabaseBackupId }).(pulumi.StringOutput) } +// The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). func (o GetAutonomousDatabasesAutonomousDatabaseOutput) AutonomousDatabaseId() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.AutonomousDatabaseId }).(pulumi.StringOutput) } @@ -34693,6 +34746,11 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) AutonomousMaintenanceSch return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.AutonomousMaintenanceScheduleType }).(pulumi.StringOutput) } +// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. +func (o GetAutonomousDatabasesAutonomousDatabaseOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) AvailableUpgradeVersions() pulumi.StringArrayOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) []string { return v.AvailableUpgradeVersions }).(pulumi.StringArrayOutput) @@ -34728,7 +34786,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) ClusterPlacementGroupId( return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.ClusterPlacementGroupId }).(pulumi.StringOutput) } -// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.CompartmentId }).(pulumi.StringOutput) } @@ -34811,12 +34869,16 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) DbToolsDetails() GetAuto }).(GetAutonomousDatabasesAutonomousDatabaseDbToolsDetailArrayOutput) } -// A filter to return only autonomous database resources that match the specified dbVersion. +// A valid Oracle Database version for Autonomous Database. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) DbVersion() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.DbVersion }).(pulumi.StringOutput) } -// A filter to return only autonomous database resources that match the specified workload type. +// The Autonomous Database workload type. The following values are valid: +// * OLTP - indicates an Autonomous Transaction Processing database +// * DW - indicates an Autonomous Data Warehouse database +// * AJD - indicates an Autonomous JSON Database +// * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) DbWorkload() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.DbWorkload }).(pulumi.StringOutput) } @@ -34836,7 +34898,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) DisasterRecoveryType() p return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.DisasterRecoveryType }).(pulumi.StringOutput) } -// A filter to return only resources that match the entire display name given. The match is not case sensitive. +// The user-friendly name for the Autonomous Database. The name does not have to be unique. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.DisplayName }).(pulumi.StringOutput) } @@ -34866,7 +34928,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) InMemoryPercentage() pul return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) int { return v.InMemoryPercentage }).(pulumi.IntOutput) } -// A filter to return only resources that match the given Infrastructure Type. +// The infrastructure type this resource belongs to. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) InfrastructureType() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.InfrastructureType }).(pulumi.StringOutput) } @@ -34886,7 +34948,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) IsAutoScalingForStorageE return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) bool { return v.IsAutoScalingForStorageEnabled }).(pulumi.BoolOutput) } -// A filter to return only resources that have Data Guard enabled. +// **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) IsDataGuardEnabled() pulumi.BoolOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) bool { return v.IsDataGuardEnabled }).(pulumi.BoolOutput) } @@ -34901,7 +34963,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) IsDevTier() pulumi.BoolO return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) bool { return v.IsDevTier }).(pulumi.BoolOutput) } -// 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. +// 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. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) IsFreeTier() pulumi.BoolOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) bool { return v.IsFreeTier }).(pulumi.BoolOutput) } @@ -34932,7 +34994,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) IsReconnectCloneEnabled( return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) bool { return v.IsReconnectCloneEnabled }).(pulumi.BoolOutput) } -// 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. +// Indicates if the Autonomous Database is a refreshable clone. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) IsRefreshableClone() pulumi.BoolOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) bool { return v.IsRefreshableClone }).(pulumi.BoolOutput) } @@ -35023,7 +35085,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) MaxCpuCoreCount() pulumi return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) int { return v.MaxCpuCoreCount }).(pulumi.IntOutput) } -// The amount of memory (in GBs) enabled per OCPU or ECPU. +// The amount of memory (in GBs) enabled per ECPU or OCPU. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) MemoryPerOracleComputeUnitInGbs() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) int { return v.MemoryPerOracleComputeUnitInGbs }).(pulumi.IntOutput) } @@ -35127,7 +35189,7 @@ 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. +// The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). func (o GetAutonomousDatabasesAutonomousDatabaseOutput) ResourcePoolLeaderId() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.ResourcePoolLeaderId }).(pulumi.StringOutput) } @@ -35193,7 +35255,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) StandbyWhitelistedIps() return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) []string { return v.StandbyWhitelistedIps }).(pulumi.StringArrayOutput) } -// A filter to return only resources that match the given lifecycle state exactly. +// The current state of the Autonomous Database. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.State }).(pulumi.StringOutput) } @@ -35204,6 +35266,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) SubnetId() pulumi.String } // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. +// 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 the backup subnet. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) SubscriptionId() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.SubscriptionId }).(pulumi.StringOutput) } @@ -35722,17 +35785,16 @@ func (o GetAutonomousDatabasesAutonomousDatabaseConnectionStringArrayOutput) Ind type GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile struct { // Consumer group used by the connection. ConsumerGroup string `pulumi:"consumerGroup"` - // A filter to return only resources that match the entire display name given. The match is not case sensitive. + // The user-friendly name for the Autonomous Database. The name does not have to be unique. DisplayName string `pulumi:"displayName"` // Host format used in connection string. HostFormat string `pulumi:"hostFormat"` - // True for a regional connection string, applicable to cross-region DG only. - IsRegional bool `pulumi:"isRegional"` + IsRegional bool `pulumi:"isRegional"` // Protocol used by the connection. Protocol string `pulumi:"protocol"` // Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use `DIRECT` for direct hand-offs. Use `REDIRECT` to redirect the session. SessionMode string `pulumi:"sessionMode"` - // Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Database Serverless instances always use the long format. + // Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. SyntaxFormat string `pulumi:"syntaxFormat"` // Specifies whether the TLS handshake is using one-way (`SERVER`) or mutual (`MUTUAL`) authentication. TlsAuthentication string `pulumi:"tlsAuthentication"` @@ -35754,17 +35816,16 @@ type GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileInput interf type GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileArgs struct { // Consumer group used by the connection. ConsumerGroup pulumi.StringInput `pulumi:"consumerGroup"` - // A filter to return only resources that match the entire display name given. The match is not case sensitive. + // The user-friendly name for the Autonomous Database. The name does not have to be unique. DisplayName pulumi.StringInput `pulumi:"displayName"` // Host format used in connection string. HostFormat pulumi.StringInput `pulumi:"hostFormat"` - // True for a regional connection string, applicable to cross-region DG only. - IsRegional pulumi.BoolInput `pulumi:"isRegional"` + IsRegional pulumi.BoolInput `pulumi:"isRegional"` // Protocol used by the connection. Protocol pulumi.StringInput `pulumi:"protocol"` // Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use `DIRECT` for direct hand-offs. Use `REDIRECT` to redirect the session. SessionMode pulumi.StringInput `pulumi:"sessionMode"` - // Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Database Serverless instances always use the long format. + // Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. SyntaxFormat pulumi.StringInput `pulumi:"syntaxFormat"` // Specifies whether the TLS handshake is using one-way (`SERVER`) or mutual (`MUTUAL`) authentication. TlsAuthentication pulumi.StringInput `pulumi:"tlsAuthentication"` @@ -35828,7 +35889,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileOutput) C return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile) string { return v.ConsumerGroup }).(pulumi.StringOutput) } -// A filter to return only resources that match the entire display name given. The match is not case sensitive. +// The user-friendly name for the Autonomous Database. The name does not have to be unique. func (o GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile) string { return v.DisplayName }).(pulumi.StringOutput) } @@ -35838,7 +35899,6 @@ func (o GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileOutput) H return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile) string { return v.HostFormat }).(pulumi.StringOutput) } -// True for a regional connection string, applicable to cross-region DG only. func (o GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileOutput) IsRegional() pulumi.BoolOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile) bool { return v.IsRegional }).(pulumi.BoolOutput) } @@ -35853,7 +35913,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileOutput) S return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile) string { return v.SessionMode }).(pulumi.StringOutput) } -// Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Database Serverless instances always use the long format. +// Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. func (o GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileOutput) SyntaxFormat() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile) string { return v.SyntaxFormat }).(pulumi.StringOutput) } @@ -36400,11 +36460,13 @@ func (o GetAutonomousDatabasesAutonomousDatabaseKeyHistoryEntryArrayOutput) Inde } type GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain string `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails string `pulumi:"lifecycleDetails"` - // A filter to return only resources that match the given lifecycle state exactly. + // The current state of the Autonomous Database. State string `pulumi:"state"` // 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. TimeDataGuardRoleChanged string `pulumi:"timeDataGuardRoleChanged"` @@ -36424,11 +36486,13 @@ type GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbInput interface { } type GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbArgs struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` - // A filter to return only resources that match the given lifecycle state exactly. + // The current state of the Autonomous Database. State pulumi.StringInput `pulumi:"state"` // 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. TimeDataGuardRoleChanged pulumi.StringInput `pulumi:"timeDataGuardRoleChanged"` @@ -36487,6 +36551,11 @@ func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) ToGetAuton return o } +// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. +func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) LagTimeInSeconds() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb) int { return v.LagTimeInSeconds }).(pulumi.IntOutput) @@ -36497,7 +36566,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) LifecycleD return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb) string { return v.LifecycleDetails }).(pulumi.StringOutput) } -// A filter to return only resources that match the given lifecycle state exactly. +// The current state of the Autonomous Database. func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb) string { return v.State }).(pulumi.StringOutput) } @@ -37275,11 +37344,13 @@ func (o GetAutonomousDatabasesAutonomousDatabaseScheduledOperationDayOfWeekArray } type GetAutonomousDatabasesAutonomousDatabaseStandbyDb struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain string `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails string `pulumi:"lifecycleDetails"` - // A filter to return only resources that match the given lifecycle state exactly. + // The current state of the Autonomous Database. State string `pulumi:"state"` // 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. TimeDataGuardRoleChanged string `pulumi:"timeDataGuardRoleChanged"` @@ -37299,11 +37370,13 @@ type GetAutonomousDatabasesAutonomousDatabaseStandbyDbInput interface { } type GetAutonomousDatabasesAutonomousDatabaseStandbyDbArgs struct { + // The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` - // A filter to return only resources that match the given lifecycle state exactly. + // The current state of the Autonomous Database. State pulumi.StringInput `pulumi:"state"` // 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. TimeDataGuardRoleChanged pulumi.StringInput `pulumi:"timeDataGuardRoleChanged"` @@ -37362,6 +37435,11 @@ func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) ToGetAutonomous return o } +// The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. +func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseStandbyDb) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) LagTimeInSeconds() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseStandbyDb) int { return v.LagTimeInSeconds }).(pulumi.IntOutput) @@ -37372,7 +37450,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) LifecycleDetail return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseStandbyDb) string { return v.LifecycleDetails }).(pulumi.StringOutput) } -// A filter to return only resources that match the given lifecycle state exactly. +// The current state of the Autonomous Database. func (o GetAutonomousDatabasesAutonomousDatabaseStandbyDbOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseStandbyDb) string { return v.State }).(pulumi.StringOutput) } @@ -37424,8 +37502,9 @@ type GetAutonomousDatabasesClonesAutonomousDatabase struct { AutoRefreshPointLagInSeconds int `pulumi:"autoRefreshPointLagInSeconds"` // The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). AutonomousContainerDatabaseId string `pulumi:"autonomousContainerDatabaseId"` - // The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle + // The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle* `availabilityDomain` - The availability domain where the Autonomous Database Serverless instance is located. AutonomousMaintenanceScheduleType string `pulumi:"autonomousMaintenanceScheduleType"` + AvailabilityDomain string `pulumi:"availabilityDomain"` // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. AvailableUpgradeVersions []string `pulumi:"availableUpgradeVersions"` // Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. @@ -37539,7 +37618,7 @@ type GetAutonomousDatabasesClonesAutonomousDatabase struct { LocalAdgAutoFailoverMaxDataLossLimit int `pulumi:"localAdgAutoFailoverMaxDataLossLimit"` // Indicates the local 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. LocalDisasterRecoveryType string `pulumi:"localDisasterRecoveryType"` - // Autonomous Data Guard standby database details. + // Autonomous Data Guard standby database details.* `availabilityDomain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. LocalStandbyDbs []GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb `pulumi:"localStandbyDbs"` // Details for the long-term backup schedule. LongTermBackupSchedules []GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule `pulumi:"longTermBackupSchedules"` @@ -37592,7 +37671,7 @@ type GetAutonomousDatabasesClonesAutonomousDatabase struct { ServiceConsoleUrl string `pulumi:"serviceConsoleUrl"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Database that was cloned to create the current Autonomous Database. SourceId string `pulumi:"sourceId"` - // **Deprecated** Autonomous Data Guard standby database details. + // **Deprecated** Autonomous Data Guard standby database details.* `availabilityDomain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. StandbyDbs []GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb `pulumi:"standbyDbs"` // 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. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`. StandbyWhitelistedIps []string `pulumi:"standbyWhitelistedIps"` @@ -37675,8 +37754,9 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseArgs struct { AutoRefreshPointLagInSeconds pulumi.IntInput `pulumi:"autoRefreshPointLagInSeconds"` // The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). AutonomousContainerDatabaseId pulumi.StringInput `pulumi:"autonomousContainerDatabaseId"` - // The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle + // The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle* `availabilityDomain` - The availability domain where the Autonomous Database Serverless instance is located. AutonomousMaintenanceScheduleType pulumi.StringInput `pulumi:"autonomousMaintenanceScheduleType"` + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. AvailableUpgradeVersions pulumi.StringArrayInput `pulumi:"availableUpgradeVersions"` // Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. @@ -37790,7 +37870,7 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseArgs struct { LocalAdgAutoFailoverMaxDataLossLimit pulumi.IntInput `pulumi:"localAdgAutoFailoverMaxDataLossLimit"` // Indicates the local 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. LocalDisasterRecoveryType pulumi.StringInput `pulumi:"localDisasterRecoveryType"` - // Autonomous Data Guard standby database details. + // Autonomous Data Guard standby database details.* `availabilityDomain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. LocalStandbyDbs GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArrayInput `pulumi:"localStandbyDbs"` // Details for the long-term backup schedule. LongTermBackupSchedules GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleArrayInput `pulumi:"longTermBackupSchedules"` @@ -37843,7 +37923,7 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseArgs struct { ServiceConsoleUrl pulumi.StringInput `pulumi:"serviceConsoleUrl"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Database that was cloned to create the current Autonomous Database. SourceId pulumi.StringInput `pulumi:"sourceId"` - // **Deprecated** Autonomous Data Guard standby database details. + // **Deprecated** Autonomous Data Guard standby database details.* `availabilityDomain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. StandbyDbs GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbArrayInput `pulumi:"standbyDbs"` // 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. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`. StandbyWhitelistedIps pulumi.StringArrayInput `pulumi:"standbyWhitelistedIps"` @@ -37990,13 +38070,17 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) AutonomousContaine return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.AutonomousContainerDatabaseId }).(pulumi.StringOutput) } -// The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle +// The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle* `availabilityDomain` - The availability domain where the Autonomous Database Serverless instance is located. func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) AutonomousMaintenanceScheduleType() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.AutonomousMaintenanceScheduleType }).(pulumi.StringOutput) } +func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + // List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) AvailableUpgradeVersions() pulumi.StringArrayOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) []string { return v.AvailableUpgradeVersions }).(pulumi.StringArrayOutput) @@ -38289,7 +38373,7 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) LocalDisasterRecov return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.LocalDisasterRecoveryType }).(pulumi.StringOutput) } -// Autonomous Data Guard standby database details. +// Autonomous Data Guard standby database details.* `availabilityDomain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) LocalStandbyDbs() GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArrayOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) []GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb { return v.LocalStandbyDbs @@ -38432,7 +38516,7 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) SourceId() pulumi. return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.SourceId }).(pulumi.StringOutput) } -// **Deprecated** Autonomous Data Guard standby database details. +// **Deprecated** Autonomous Data Guard standby database details.* `availabilityDomain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) StandbyDbs() GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbArrayOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) []GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb { return v.StandbyDbs @@ -39656,6 +39740,7 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseKeyHistoryEntryArrayOutput } type GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb struct { + AvailabilityDomain string `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -39680,6 +39765,7 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbInput interface } type GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArgs struct { + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -39743,6 +39829,12 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbOutput) ToGe return o } +func (o GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb) string { + return v.AvailabilityDomain + }).(pulumi.StringOutput) +} + // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. func (o GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbOutput) LagTimeInSeconds() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb) int { return v.LagTimeInSeconds }).(pulumi.IntOutput) @@ -40548,6 +40640,7 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationDayOfWee } type GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb struct { + AvailabilityDomain string `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds int `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -40572,6 +40665,7 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbInput interface { } type GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbArgs struct { + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. LagTimeInSeconds pulumi.IntInput `pulumi:"lagTimeInSeconds"` // Additional information about the current lifecycle state. @@ -40635,6 +40729,10 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbOutput) ToGetAuto return o } +func (o GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + // The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. func (o GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbOutput) LagTimeInSeconds() pulumi.IntOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb) int { return v.LagTimeInSeconds }).(pulumi.IntOutput) @@ -55091,6 +55189,7 @@ type GetDataGuardAssociationsDataGuardAssociation struct { DbSystemFreeformTags map[string]string `pulumi:"dbSystemFreeformTags"` DeleteStandbyDbHomeOnDelete string `pulumi:"deleteStandbyDbHomeOnDelete"` DisplayName string `pulumi:"displayName"` + Domain string `pulumi:"domain"` FaultDomains []string `pulumi:"faultDomains"` Hostname string `pulumi:"hostname"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Data Guard association. @@ -55164,6 +55263,7 @@ type GetDataGuardAssociationsDataGuardAssociationArgs struct { DbSystemFreeformTags pulumi.StringMapInput `pulumi:"dbSystemFreeformTags"` DeleteStandbyDbHomeOnDelete pulumi.StringInput `pulumi:"deleteStandbyDbHomeOnDelete"` DisplayName pulumi.StringInput `pulumi:"displayName"` + Domain pulumi.StringInput `pulumi:"domain"` FaultDomains pulumi.StringArrayInput `pulumi:"faultDomains"` Hostname pulumi.StringInput `pulumi:"hostname"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Data Guard association. @@ -55329,6 +55429,10 @@ func (o GetDataGuardAssociationsDataGuardAssociationOutput) DisplayName() pulumi return o.ApplyT(func(v GetDataGuardAssociationsDataGuardAssociation) string { return v.DisplayName }).(pulumi.StringOutput) } +func (o GetDataGuardAssociationsDataGuardAssociationOutput) Domain() pulumi.StringOutput { + return o.ApplyT(func(v GetDataGuardAssociationsDataGuardAssociation) string { return v.Domain }).(pulumi.StringOutput) +} + func (o GetDataGuardAssociationsDataGuardAssociationOutput) FaultDomains() pulumi.StringArrayOutput { return o.ApplyT(func(v GetDataGuardAssociationsDataGuardAssociation) []string { return v.FaultDomains }).(pulumi.StringArrayOutput) } diff --git a/sdk/go/oci/databasemanagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.go b/sdk/go/oci/databasemanagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.go new file mode 100644 index 0000000000..8ac1cee5fa --- /dev/null +++ b/sdk/go/oci/databasemanagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.go @@ -0,0 +1,278 @@ +// 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 databasemanagement + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This resource provides the Autonomous Database Autonomous Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service. +// +// Enables a Database Management feature for the specified Autonomous Database. +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement struct { + pulumi.CustomResourceState + + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + AutonomousDatabaseId pulumi.StringOutput `pulumi:"autonomousDatabaseId"` + // (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + EnableAutonomousDatabaseDbmFeature pulumi.BoolOutput `pulumi:"enableAutonomousDatabaseDbmFeature"` + // The details required to enable the specified Database Management feature for an Autonomous Database. + FeatureDetails AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput `pulumi:"featureDetails"` +} + +// NewAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement registers a new resource with the given unique name, arguments, and options. +func NewAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(ctx *pulumi.Context, + name string, args *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs, opts ...pulumi.ResourceOption) (*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.AutonomousDatabaseId == nil { + return nil, errors.New("invalid value for required argument 'AutonomousDatabaseId'") + } + if args.EnableAutonomousDatabaseDbmFeature == nil { + return nil, errors.New("invalid value for required argument 'EnableAutonomousDatabaseDbmFeature'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement + err := ctx.RegisterResource("oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement gets an existing AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement 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 GetAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState, opts ...pulumi.ResourceOption) (*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement, error) { + var resource AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement + err := ctx.ReadResource("oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement resources. +type autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + AutonomousDatabaseId *string `pulumi:"autonomousDatabaseId"` + // (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + EnableAutonomousDatabaseDbmFeature *bool `pulumi:"enableAutonomousDatabaseDbmFeature"` + // The details required to enable the specified Database Management feature for an Autonomous Database. + FeatureDetails *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails `pulumi:"featureDetails"` +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + AutonomousDatabaseId pulumi.StringPtrInput + // (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + EnableAutonomousDatabaseDbmFeature pulumi.BoolPtrInput + // The details required to enable the specified Database Management feature for an Autonomous Database. + FeatureDetails AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrInput +} + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState) ElementType() reflect.Type { + return reflect.TypeOf((*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState)(nil)).Elem() +} + +type autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + AutonomousDatabaseId string `pulumi:"autonomousDatabaseId"` + // (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + EnableAutonomousDatabaseDbmFeature bool `pulumi:"enableAutonomousDatabaseDbmFeature"` + // The details required to enable the specified Database Management feature for an Autonomous Database. + FeatureDetails *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails `pulumi:"featureDetails"` +} + +// The set of arguments for constructing a AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement resource. +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + AutonomousDatabaseId pulumi.StringInput + // (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + EnableAutonomousDatabaseDbmFeature pulumi.BoolInput + // The details required to enable the specified Database Management feature for an Autonomous Database. + FeatureDetails AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrInput +} + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs)(nil)).Elem() +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput +} + +func (*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement)(nil)).Elem() +} + +func (i *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutputWithContext(context.Background()) +} + +func (i *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput) +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArray and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArray{ AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs{...} } +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArray []AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementInput + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement)(nil)).Elem() +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArray) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArray) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput) +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMap and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMap{ "key": AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs{...} } +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMap map[string]AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementInput + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement)(nil)).Elem() +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMap) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMap) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput { + return o +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput) AutonomousDatabaseId() pulumi.StringOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement) pulumi.StringOutput { + return v.AutonomousDatabaseId + }).(pulumi.StringOutput) +} + +// (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. +// +// ** IMPORTANT ** +// 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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput) EnableAutonomousDatabaseDbmFeature() pulumi.BoolOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement) pulumi.BoolOutput { + return v.EnableAutonomousDatabaseDbmFeature + }).(pulumi.BoolOutput) +} + +// The details required to enable the specified Database Management feature for an Autonomous Database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput) FeatureDetails() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput { + return v.FeatureDetails + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput) Index(i pulumi.IntInput) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement { + return vs[0].([]*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement)[vs[1].(int)] + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput) MapIndex(k pulumi.StringInput) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement { + return vs[0].(map[string]*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement)[vs[1].(string)] + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementInput)(nil)).Elem(), &AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMap{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArrayOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementMapOutput{}) +} diff --git a/sdk/go/oci/databasemanagement/databaseDbmFeaturesManagement.go b/sdk/go/oci/databasemanagement/databaseDbmFeaturesManagement.go index d2ae975c10..77ab96ee62 100644 --- a/sdk/go/oci/databasemanagement/databaseDbmFeaturesManagement.go +++ b/sdk/go/oci/databasemanagement/databaseDbmFeaturesManagement.go @@ -26,7 +26,8 @@ type DatabaseDbmFeaturesManagement struct { // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values EnableDatabaseDbmFeature pulumi.BoolOutput `pulumi:"enableDatabaseDbmFeature"` // The details required to enable the specified Database Management feature. - FeatureDetails DatabaseDbmFeaturesManagementFeatureDetailsPtrOutput `pulumi:"featureDetails"` + FeatureDetails DatabaseDbmFeaturesManagementFeatureDetailsPtrOutput `pulumi:"featureDetails"` + ModifyDatabaseDbmFeature pulumi.BoolPtrOutput `pulumi:"modifyDatabaseDbmFeature"` } // NewDatabaseDbmFeaturesManagement registers a new resource with the given unique name, arguments, and options. @@ -73,7 +74,8 @@ type databaseDbmFeaturesManagementState struct { // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values EnableDatabaseDbmFeature *bool `pulumi:"enableDatabaseDbmFeature"` // The details required to enable the specified Database Management feature. - FeatureDetails *DatabaseDbmFeaturesManagementFeatureDetails `pulumi:"featureDetails"` + FeatureDetails *DatabaseDbmFeaturesManagementFeatureDetails `pulumi:"featureDetails"` + ModifyDatabaseDbmFeature *bool `pulumi:"modifyDatabaseDbmFeature"` } type DatabaseDbmFeaturesManagementState struct { @@ -85,7 +87,8 @@ type DatabaseDbmFeaturesManagementState struct { // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values EnableDatabaseDbmFeature pulumi.BoolPtrInput // The details required to enable the specified Database Management feature. - FeatureDetails DatabaseDbmFeaturesManagementFeatureDetailsPtrInput + FeatureDetails DatabaseDbmFeaturesManagementFeatureDetailsPtrInput + ModifyDatabaseDbmFeature pulumi.BoolPtrInput } func (DatabaseDbmFeaturesManagementState) ElementType() reflect.Type { @@ -101,7 +104,8 @@ type databaseDbmFeaturesManagementArgs struct { // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values EnableDatabaseDbmFeature bool `pulumi:"enableDatabaseDbmFeature"` // The details required to enable the specified Database Management feature. - FeatureDetails *DatabaseDbmFeaturesManagementFeatureDetails `pulumi:"featureDetails"` + FeatureDetails *DatabaseDbmFeaturesManagementFeatureDetails `pulumi:"featureDetails"` + ModifyDatabaseDbmFeature *bool `pulumi:"modifyDatabaseDbmFeature"` } // The set of arguments for constructing a DatabaseDbmFeaturesManagement resource. @@ -114,7 +118,8 @@ type DatabaseDbmFeaturesManagementArgs struct { // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values EnableDatabaseDbmFeature pulumi.BoolInput // The details required to enable the specified Database Management feature. - FeatureDetails DatabaseDbmFeaturesManagementFeatureDetailsPtrInput + FeatureDetails DatabaseDbmFeaturesManagementFeatureDetailsPtrInput + ModifyDatabaseDbmFeature pulumi.BoolPtrInput } func (DatabaseDbmFeaturesManagementArgs) ElementType() reflect.Type { @@ -224,6 +229,10 @@ func (o DatabaseDbmFeaturesManagementOutput) FeatureDetails() DatabaseDbmFeature }).(DatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) } +func (o DatabaseDbmFeaturesManagementOutput) ModifyDatabaseDbmFeature() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DatabaseDbmFeaturesManagement) pulumi.BoolPtrOutput { return v.ModifyDatabaseDbmFeature }).(pulumi.BoolPtrOutput) +} + type DatabaseDbmFeaturesManagementArrayOutput struct{ *pulumi.OutputState } func (DatabaseDbmFeaturesManagementArrayOutput) ElementType() reflect.Type { diff --git a/sdk/go/oci/databasemanagement/dbManagementPrivateEndpoint.go b/sdk/go/oci/databasemanagement/dbManagementPrivateEndpoint.go index 1ada648213..6ea1d7b187 100644 --- a/sdk/go/oci/databasemanagement/dbManagementPrivateEndpoint.go +++ b/sdk/go/oci/databasemanagement/dbManagementPrivateEndpoint.go @@ -41,8 +41,9 @@ import ( // FreeformTags: pulumi.StringMap{ // "Department": pulumi.String("Finance"), // }, -// IsCluster: pulumi.Any(dbManagementPrivateEndpointIsCluster), -// NsgIds: pulumi.Any(dbManagementPrivateEndpointNsgIds), +// IsCluster: pulumi.Any(dbManagementPrivateEndpointIsCluster), +// IsDnsResolutionEnabled: pulumi.Any(dbManagementPrivateEndpointIsDnsResolutionEnabled), +// NsgIds: pulumi.Any(dbManagementPrivateEndpointNsgIds), // }) // if err != nil { // return err @@ -73,6 +74,8 @@ type DbManagementPrivateEndpoint struct { FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` // Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. IsCluster pulumi.BoolOutput `pulumi:"isCluster"` + // Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + IsDnsResolutionEnabled pulumi.BoolOutput `pulumi:"isDnsResolutionEnabled"` // (Updatable) The display name of the Database Management private endpoint. Name pulumi.StringOutput `pulumi:"name"` // (Updatable) The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. @@ -140,6 +143,8 @@ type dbManagementPrivateEndpointState struct { FreeformTags map[string]string `pulumi:"freeformTags"` // Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. IsCluster *bool `pulumi:"isCluster"` + // Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + IsDnsResolutionEnabled *bool `pulumi:"isDnsResolutionEnabled"` // (Updatable) The display name of the Database Management private endpoint. Name *string `pulumi:"name"` // (Updatable) The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. @@ -172,6 +177,8 @@ type DbManagementPrivateEndpointState struct { FreeformTags pulumi.StringMapInput // Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. IsCluster pulumi.BoolPtrInput + // Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + IsDnsResolutionEnabled pulumi.BoolPtrInput // (Updatable) The display name of the Database Management private endpoint. Name pulumi.StringPtrInput // (Updatable) The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. @@ -208,6 +215,8 @@ type dbManagementPrivateEndpointArgs struct { FreeformTags map[string]string `pulumi:"freeformTags"` // Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. IsCluster *bool `pulumi:"isCluster"` + // Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + IsDnsResolutionEnabled *bool `pulumi:"isDnsResolutionEnabled"` // (Updatable) The display name of the Database Management private endpoint. Name *string `pulumi:"name"` // (Updatable) The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. @@ -231,6 +240,8 @@ type DbManagementPrivateEndpointArgs struct { FreeformTags pulumi.StringMapInput // Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. IsCluster pulumi.BoolPtrInput + // Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + IsDnsResolutionEnabled pulumi.BoolPtrInput // (Updatable) The display name of the Database Management private endpoint. Name pulumi.StringPtrInput // (Updatable) The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. @@ -354,6 +365,11 @@ func (o DbManagementPrivateEndpointOutput) IsCluster() pulumi.BoolOutput { return o.ApplyT(func(v *DbManagementPrivateEndpoint) pulumi.BoolOutput { return v.IsCluster }).(pulumi.BoolOutput) } +// Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. +func (o DbManagementPrivateEndpointOutput) IsDnsResolutionEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *DbManagementPrivateEndpoint) pulumi.BoolOutput { return v.IsDnsResolutionEnabled }).(pulumi.BoolOutput) +} + // (Updatable) The display name of the Database Management private endpoint. func (o DbManagementPrivateEndpointOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *DbManagementPrivateEndpoint) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/oci/databasemanagement/getDbManagementPrivateEndpoint.go b/sdk/go/oci/databasemanagement/getDbManagementPrivateEndpoint.go index c78cf4f5a2..b05c7fb879 100644 --- a/sdk/go/oci/databasemanagement/getDbManagementPrivateEndpoint.go +++ b/sdk/go/oci/databasemanagement/getDbManagementPrivateEndpoint.go @@ -71,6 +71,8 @@ type LookupDbManagementPrivateEndpointResult struct { Id string `pulumi:"id"` // Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster. IsCluster bool `pulumi:"isCluster"` + // Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + IsDnsResolutionEnabled bool `pulumi:"isDnsResolutionEnabled"` // The display name of the Database Management private endpoint. Name string `pulumi:"name"` // The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. @@ -161,6 +163,11 @@ func (o LookupDbManagementPrivateEndpointResultOutput) IsCluster() pulumi.BoolOu return o.ApplyT(func(v LookupDbManagementPrivateEndpointResult) bool { return v.IsCluster }).(pulumi.BoolOutput) } +// Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. +func (o LookupDbManagementPrivateEndpointResultOutput) IsDnsResolutionEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDbManagementPrivateEndpointResult) bool { return v.IsDnsResolutionEnabled }).(pulumi.BoolOutput) +} + // The display name of the Database Management private endpoint. func (o LookupDbManagementPrivateEndpointResultOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v LookupDbManagementPrivateEndpointResult) string { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/oci/databasemanagement/getDbManagementPrivateEndpoints.go b/sdk/go/oci/databasemanagement/getDbManagementPrivateEndpoints.go index d0e24aa7c2..14907c2239 100644 --- a/sdk/go/oci/databasemanagement/getDbManagementPrivateEndpoints.go +++ b/sdk/go/oci/databasemanagement/getDbManagementPrivateEndpoints.go @@ -30,11 +30,12 @@ import ( // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := DatabaseManagement.GetDbManagementPrivateEndpoints(ctx, &databasemanagement.GetDbManagementPrivateEndpointsArgs{ -// CompartmentId: compartmentId, -// IsCluster: pulumi.BoolRef(dbManagementPrivateEndpointIsCluster), -// Name: pulumi.StringRef(dbManagementPrivateEndpointName), -// State: pulumi.StringRef(dbManagementPrivateEndpointState), -// VcnId: pulumi.StringRef(testVcn.Id), +// CompartmentId: compartmentId, +// IsCluster: pulumi.BoolRef(dbManagementPrivateEndpointIsCluster), +// IsDnsResolutionEnabled: pulumi.BoolRef(dbManagementPrivateEndpointIsDnsResolutionEnabled), +// Name: pulumi.StringRef(dbManagementPrivateEndpointName), +// State: pulumi.StringRef(dbManagementPrivateEndpointState), +// VcnId: pulumi.StringRef(testVcn.Id), // }, nil) // if err != nil { // return err @@ -61,6 +62,8 @@ type GetDbManagementPrivateEndpointsArgs struct { Filters []GetDbManagementPrivateEndpointsFilter `pulumi:"filters"` // The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. IsCluster *bool `pulumi:"isCluster"` + // The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + IsDnsResolutionEnabled *bool `pulumi:"isDnsResolutionEnabled"` // A filter to return only resources that match the entire name. Name *string `pulumi:"name"` // The lifecycle state of a resource. @@ -80,6 +83,8 @@ type GetDbManagementPrivateEndpointsResult struct { Id string `pulumi:"id"` // Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster. IsCluster *bool `pulumi:"isCluster"` + // Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + IsDnsResolutionEnabled *bool `pulumi:"isDnsResolutionEnabled"` // The display name of the Database Management private endpoint. Name *string `pulumi:"name"` // The current lifecycle state of the Database Management private endpoint. @@ -108,6 +113,8 @@ type GetDbManagementPrivateEndpointsOutputArgs struct { Filters GetDbManagementPrivateEndpointsFilterArrayInput `pulumi:"filters"` // The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. IsCluster pulumi.BoolPtrInput `pulumi:"isCluster"` + // The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + IsDnsResolutionEnabled pulumi.BoolPtrInput `pulumi:"isDnsResolutionEnabled"` // A filter to return only resources that match the entire name. Name pulumi.StringPtrInput `pulumi:"name"` // The lifecycle state of a resource. @@ -163,6 +170,11 @@ func (o GetDbManagementPrivateEndpointsResultOutput) IsCluster() pulumi.BoolPtrO return o.ApplyT(func(v GetDbManagementPrivateEndpointsResult) *bool { return v.IsCluster }).(pulumi.BoolPtrOutput) } +// Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. +func (o GetDbManagementPrivateEndpointsResultOutput) IsDnsResolutionEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDbManagementPrivateEndpointsResult) *bool { return v.IsDnsResolutionEnabled }).(pulumi.BoolPtrOutput) +} + // The display name of the Database Management private endpoint. func (o GetDbManagementPrivateEndpointsResultOutput) Name() pulumi.StringPtrOutput { return o.ApplyT(func(v GetDbManagementPrivateEndpointsResult) *string { return v.Name }).(pulumi.StringPtrOutput) diff --git a/sdk/go/oci/databasemanagement/getManagedDatabase.go b/sdk/go/oci/databasemanagement/getManagedDatabase.go index f6b7fbd655..7db574b0ed 100644 --- a/sdk/go/oci/databasemanagement/getManagedDatabase.go +++ b/sdk/go/oci/databasemanagement/getManagedDatabase.go @@ -52,6 +52,8 @@ func LookupManagedDatabase(ctx *pulumi.Context, args *LookupManagedDatabaseArgs, // A collection of arguments for invoking getManagedDatabase. type LookupManagedDatabaseArgs struct { + // The operating system of database. + DatabasePlatformName *string `pulumi:"databasePlatformName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId string `pulumi:"managedDatabaseId"` } @@ -62,6 +64,8 @@ type LookupManagedDatabaseResult struct { AdditionalDetails map[string]string `pulumi:"additionalDetails"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. CompartmentId string `pulumi:"compartmentId"` + // The operating system of database. + DatabasePlatformName *string `pulumi:"databasePlatformName"` // The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. DatabaseStatus string `pulumi:"databaseStatus"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. @@ -72,6 +76,8 @@ type LookupManagedDatabaseResult struct { DatabaseVersion string `pulumi:"databaseVersion"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. DbSystemId string `pulumi:"dbSystemId"` + // The list of feature configurations + DbmgmtFeatureConfigs []GetManagedDatabaseDbmgmtFeatureConfig `pulumi:"dbmgmtFeatureConfigs"` // 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]string `pulumi:"definedTags"` // The infrastructure used to deploy the Oracle Database. @@ -93,6 +99,8 @@ type LookupManagedDatabaseResult struct { ParentContainerId string `pulumi:"parentContainerId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system. StorageSystemId string `pulumi:"storageSystemId"` + // 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"}` + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the Managed Database was created. TimeCreated string `pulumi:"timeCreated"` // The workload type of the Autonomous Database. @@ -114,6 +122,8 @@ func LookupManagedDatabaseOutput(ctx *pulumi.Context, args LookupManagedDatabase // A collection of arguments for invoking getManagedDatabase. type LookupManagedDatabaseOutputArgs struct { + // The operating system of database. + DatabasePlatformName pulumi.StringPtrInput `pulumi:"databasePlatformName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. ManagedDatabaseId pulumi.StringInput `pulumi:"managedDatabaseId"` } @@ -147,6 +157,11 @@ func (o LookupManagedDatabaseResultOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v LookupManagedDatabaseResult) string { return v.CompartmentId }).(pulumi.StringOutput) } +// The operating system of database. +func (o LookupManagedDatabaseResultOutput) DatabasePlatformName() pulumi.StringPtrOutput { + return o.ApplyT(func(v LookupManagedDatabaseResult) *string { return v.DatabasePlatformName }).(pulumi.StringPtrOutput) +} + // The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. func (o LookupManagedDatabaseResultOutput) DatabaseStatus() pulumi.StringOutput { return o.ApplyT(func(v LookupManagedDatabaseResult) string { return v.DatabaseStatus }).(pulumi.StringOutput) @@ -172,6 +187,13 @@ func (o LookupManagedDatabaseResultOutput) DbSystemId() pulumi.StringOutput { return o.ApplyT(func(v LookupManagedDatabaseResult) string { return v.DbSystemId }).(pulumi.StringOutput) } +// The list of feature configurations +func (o LookupManagedDatabaseResultOutput) DbmgmtFeatureConfigs() GetManagedDatabaseDbmgmtFeatureConfigArrayOutput { + return o.ApplyT(func(v LookupManagedDatabaseResult) []GetManagedDatabaseDbmgmtFeatureConfig { + return v.DbmgmtFeatureConfigs + }).(GetManagedDatabaseDbmgmtFeatureConfigArrayOutput) +} + // 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 LookupManagedDatabaseResultOutput) DefinedTags() pulumi.StringMapOutput { return o.ApplyT(func(v LookupManagedDatabaseResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) @@ -228,6 +250,11 @@ func (o LookupManagedDatabaseResultOutput) StorageSystemId() pulumi.StringOutput return o.ApplyT(func(v LookupManagedDatabaseResult) string { return v.StorageSystemId }).(pulumi.StringOutput) } +// 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"}` +func (o LookupManagedDatabaseResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupManagedDatabaseResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the Managed Database was created. func (o LookupManagedDatabaseResultOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v LookupManagedDatabaseResult) string { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/databasemanagement/init.go b/sdk/go/oci/databasemanagement/init.go index cf017b69d6..a5914cf560 100644 --- a/sdk/go/oci/databasemanagement/init.go +++ b/sdk/go/oci/databasemanagement/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:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement": + r = &AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement{} case "oci:DatabaseManagement/databaseDbmFeaturesManagement:DatabaseDbmFeaturesManagement": r = &DatabaseDbmFeaturesManagement{} case "oci:DatabaseManagement/dbManagementPrivateEndpoint:DbManagementPrivateEndpoint": @@ -90,6 +92,11 @@ func init() { if err != nil { version = semver.Version{Major: 1} } + pulumi.RegisterResourceModule( + "oci", + "DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", + &module{version}, + ) pulumi.RegisterResourceModule( "oci", "DatabaseManagement/databaseDbmFeaturesManagement", diff --git a/sdk/go/oci/databasemanagement/managedDatabase.go b/sdk/go/oci/databasemanagement/managedDatabase.go index 90b061ab3a..434f033e9c 100644 --- a/sdk/go/oci/databasemanagement/managedDatabase.go +++ b/sdk/go/oci/databasemanagement/managedDatabase.go @@ -30,6 +30,8 @@ type ManagedDatabase struct { AdditionalDetails pulumi.StringMapOutput `pulumi:"additionalDetails"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // The operating system of database. + DatabasePlatformName pulumi.StringOutput `pulumi:"databasePlatformName"` // The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. DatabaseStatus pulumi.StringOutput `pulumi:"databaseStatus"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. @@ -40,6 +42,8 @@ type ManagedDatabase struct { DatabaseVersion pulumi.StringOutput `pulumi:"databaseVersion"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. DbSystemId pulumi.StringOutput `pulumi:"dbSystemId"` + // The list of feature configurations + DbmgmtFeatureConfigs ManagedDatabaseDbmgmtFeatureConfigArrayOutput `pulumi:"dbmgmtFeatureConfigs"` // (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.StringMapOutput `pulumi:"definedTags"` // The infrastructure used to deploy the Oracle Database. @@ -108,6 +112,8 @@ type managedDatabaseState struct { AdditionalDetails map[string]string `pulumi:"additionalDetails"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. CompartmentId *string `pulumi:"compartmentId"` + // The operating system of database. + DatabasePlatformName *string `pulumi:"databasePlatformName"` // The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. DatabaseStatus *string `pulumi:"databaseStatus"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. @@ -118,6 +124,8 @@ type managedDatabaseState struct { DatabaseVersion *string `pulumi:"databaseVersion"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. DbSystemId *string `pulumi:"dbSystemId"` + // The list of feature configurations + DbmgmtFeatureConfigs []ManagedDatabaseDbmgmtFeatureConfig `pulumi:"dbmgmtFeatureConfigs"` // (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]string `pulumi:"definedTags"` // The infrastructure used to deploy the Oracle Database. @@ -154,6 +162,8 @@ type ManagedDatabaseState struct { AdditionalDetails pulumi.StringMapInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. CompartmentId pulumi.StringPtrInput + // The operating system of database. + DatabasePlatformName pulumi.StringPtrInput // The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. DatabaseStatus pulumi.StringPtrInput // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. @@ -164,6 +174,8 @@ type ManagedDatabaseState struct { DatabaseVersion pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. DbSystemId pulumi.StringPtrInput + // The list of feature configurations + DbmgmtFeatureConfigs ManagedDatabaseDbmgmtFeatureConfigArrayInput // (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.StringMapInput // The infrastructure used to deploy the Oracle Database. @@ -321,6 +333,11 @@ func (o ManagedDatabaseOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v *ManagedDatabase) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) } +// The operating system of database. +func (o ManagedDatabaseOutput) DatabasePlatformName() pulumi.StringOutput { + return o.ApplyT(func(v *ManagedDatabase) pulumi.StringOutput { return v.DatabasePlatformName }).(pulumi.StringOutput) +} + // The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. func (o ManagedDatabaseOutput) DatabaseStatus() pulumi.StringOutput { return o.ApplyT(func(v *ManagedDatabase) pulumi.StringOutput { return v.DatabaseStatus }).(pulumi.StringOutput) @@ -346,6 +363,11 @@ func (o ManagedDatabaseOutput) DbSystemId() pulumi.StringOutput { return o.ApplyT(func(v *ManagedDatabase) pulumi.StringOutput { return v.DbSystemId }).(pulumi.StringOutput) } +// The list of feature configurations +func (o ManagedDatabaseOutput) DbmgmtFeatureConfigs() ManagedDatabaseDbmgmtFeatureConfigArrayOutput { + return o.ApplyT(func(v *ManagedDatabase) ManagedDatabaseDbmgmtFeatureConfigArrayOutput { return v.DbmgmtFeatureConfigs }).(ManagedDatabaseDbmgmtFeatureConfigArrayOutput) +} + // (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"}` func (o ManagedDatabaseOutput) DefinedTags() pulumi.StringMapOutput { return o.ApplyT(func(v *ManagedDatabase) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) diff --git a/sdk/go/oci/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.go b/sdk/go/oci/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.go index 16be339f70..b1e73006d0 100644 --- a/sdk/go/oci/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.go +++ b/sdk/go/oci/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.go @@ -24,7 +24,8 @@ type PluggabledatabasePluggableDatabaseDbmFeaturesManagement struct { // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values EnablePluggableDatabaseDbmFeature pulumi.BoolOutput `pulumi:"enablePluggableDatabaseDbmFeature"` // The details required to enable the specified Database Management feature. - FeatureDetails PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput `pulumi:"featureDetails"` + FeatureDetails PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput `pulumi:"featureDetails"` + ModifyPluggableDatabaseDbmFeature pulumi.BoolPtrOutput `pulumi:"modifyPluggableDatabaseDbmFeature"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. PluggableDatabaseId pulumi.StringOutput `pulumi:"pluggableDatabaseId"` } @@ -71,7 +72,8 @@ type pluggabledatabasePluggableDatabaseDbmFeaturesManagementState struct { // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values EnablePluggableDatabaseDbmFeature *bool `pulumi:"enablePluggableDatabaseDbmFeature"` // The details required to enable the specified Database Management feature. - FeatureDetails *PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails `pulumi:"featureDetails"` + FeatureDetails *PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails `pulumi:"featureDetails"` + ModifyPluggableDatabaseDbmFeature *bool `pulumi:"modifyPluggableDatabaseDbmFeature"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. PluggableDatabaseId *string `pulumi:"pluggableDatabaseId"` } @@ -83,7 +85,8 @@ type PluggabledatabasePluggableDatabaseDbmFeaturesManagementState struct { // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values EnablePluggableDatabaseDbmFeature pulumi.BoolPtrInput // The details required to enable the specified Database Management feature. - FeatureDetails PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsPtrInput + FeatureDetails PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsPtrInput + ModifyPluggableDatabaseDbmFeature pulumi.BoolPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. PluggableDatabaseId pulumi.StringPtrInput } @@ -99,7 +102,8 @@ type pluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs struct { // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values EnablePluggableDatabaseDbmFeature bool `pulumi:"enablePluggableDatabaseDbmFeature"` // The details required to enable the specified Database Management feature. - FeatureDetails *PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails `pulumi:"featureDetails"` + FeatureDetails *PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetails `pulumi:"featureDetails"` + ModifyPluggableDatabaseDbmFeature *bool `pulumi:"modifyPluggableDatabaseDbmFeature"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. PluggableDatabaseId string `pulumi:"pluggableDatabaseId"` } @@ -112,7 +116,8 @@ type PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs struct { // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values EnablePluggableDatabaseDbmFeature pulumi.BoolInput // The details required to enable the specified Database Management feature. - FeatureDetails PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsPtrInput + FeatureDetails PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsPtrInput + ModifyPluggableDatabaseDbmFeature pulumi.BoolPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. PluggableDatabaseId pulumi.StringInput } @@ -221,6 +226,12 @@ func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementOutput) FeatureDe }).(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) } +func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementOutput) ModifyPluggableDatabaseDbmFeature() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *PluggabledatabasePluggableDatabaseDbmFeaturesManagement) pulumi.BoolPtrOutput { + return v.ModifyPluggableDatabaseDbmFeature + }).(pulumi.BoolPtrOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementOutput) PluggableDatabaseId() pulumi.StringOutput { return o.ApplyT(func(v *PluggabledatabasePluggableDatabaseDbmFeaturesManagement) pulumi.StringOutput { diff --git a/sdk/go/oci/databasemanagement/pulumiTypes.go b/sdk/go/oci/databasemanagement/pulumiTypes.go index 24a0699f6f..3da0eddfb5 100644 --- a/sdk/go/oci/databasemanagement/pulumiTypes.go +++ b/sdk/go/oci/databasemanagement/pulumiTypes.go @@ -13,6 +13,1023 @@ import ( var _ = internal.GetEnvOrDefault +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails struct { + // The connector details required to connect to an Oracle cloud database. + ConnectorDetails *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails `pulumi:"connectorDetails"` + // The connection details required to connect to the database. + DatabaseConnectionDetails *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails `pulumi:"databaseConnectionDetails"` + // The name of the Database Management feature. + Feature string `pulumi:"feature"` +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs{...} +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs struct { + // The connector details required to connect to an Oracle cloud database. + ConnectorDetails AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrInput `pulumi:"connectorDetails"` + // The connection details required to connect to the database. + DatabaseConnectionDetails AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrInput `pulumi:"databaseConnectionDetails"` + // The name of the Database Management feature. + Feature pulumi.StringInput `pulumi:"feature"` +} + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails)(nil)).Elem() +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput).ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutputWithContext(ctx) +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtr and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs{...} +// +// or: +// +// nil +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput +} + +type autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrType AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs + +func AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtr(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrInput { + return (*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrType)(v) +} + +func (*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails)(nil)).Elem() +} + +func (i *autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrType) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutputWithContext(context.Background()) +} + +func (i *autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrType) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput { + return o.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutputWithContext(context.Background()) +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails { + return &v + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) +} + +// The connector details required to connect to an Oracle cloud database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput) ConnectorDetails() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails { + return v.ConnectorDetails + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) +} + +// The connection details required to connect to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput) DatabaseConnectionDetails() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails { + return v.DatabaseConnectionDetails + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput) +} + +// The name of the Database Management feature. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput) Feature() pulumi.StringOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails) string { + return v.Feature + }).(pulumi.StringOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) Elem() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails { + if v != nil { + return *v + } + var ret AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails + return ret + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput) +} + +// The connector details required to connect to an Oracle cloud database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) ConnectorDetails() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails { + if v == nil { + return nil + } + return v.ConnectorDetails + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) +} + +// The connection details required to connect to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) DatabaseConnectionDetails() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails { + if v == nil { + return nil + } + return v.DatabaseConnectionDetails + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput) +} + +// The name of the Database Management feature. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput) Feature() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails) *string { + if v == nil { + return nil + } + return &v.Feature + }).(pulumi.StringPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails struct { + // The list of supported connection types: + // * PE: Private endpoint + // * MACS: Management agent + // * EXTERNAL: External database connector + // * DIRECT: Direct connection + ConnectorType *string `pulumi:"connectorType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + DatabaseConnectorId *string `pulumi:"databaseConnectorId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + ManagementAgentId *string `pulumi:"managementAgentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + PrivateEndPointId *string `pulumi:"privateEndPointId"` +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs{...} +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs struct { + // The list of supported connection types: + // * PE: Private endpoint + // * MACS: Management agent + // * EXTERNAL: External database connector + // * DIRECT: Direct connection + ConnectorType pulumi.StringPtrInput `pulumi:"connectorType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + DatabaseConnectorId pulumi.StringPtrInput `pulumi:"databaseConnectorId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + ManagementAgentId pulumi.StringPtrInput `pulumi:"managementAgentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + PrivateEndPointId pulumi.StringPtrInput `pulumi:"privateEndPointId"` +} + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails)(nil)).Elem() +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput).ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutputWithContext(ctx) +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtr and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs{...} +// +// or: +// +// nil +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput +} + +type autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrType AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs + +func AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtr(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrInput { + return (*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrType)(v) +} + +func (*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails)(nil)).Elem() +} + +func (i *autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrType) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutputWithContext(context.Background()) +} + +func (i *autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrType) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput { + return o.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutputWithContext(context.Background()) +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails { + return &v + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) +} + +// The list of supported connection types: +// * PE: Private endpoint +// * MACS: Management agent +// * EXTERNAL: External database connector +// * DIRECT: Direct connection +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ConnectorType() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { + return v.ConnectorType + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) DatabaseConnectorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { + return v.DatabaseConnectorId + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ManagementAgentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { + return v.ManagementAgentId + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) PrivateEndPointId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { + return v.PrivateEndPointId + }).(pulumi.StringPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) Elem() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails { + if v != nil { + return *v + } + var ret AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails + return ret + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) +} + +// The list of supported connection types: +// * PE: Private endpoint +// * MACS: Management agent +// * EXTERNAL: External database connector +// * DIRECT: Direct connection +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) ConnectorType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { + if v == nil { + return nil + } + return v.ConnectorType + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) DatabaseConnectorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { + if v == nil { + return nil + } + return v.DatabaseConnectorId + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) ManagementAgentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { + if v == nil { + return nil + } + return v.ManagementAgentId + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) PrivateEndPointId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { + if v == nil { + return nil + } + return v.PrivateEndPointId + }).(pulumi.StringPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails struct { + // The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + ConnectionCredentials *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials `pulumi:"connectionCredentials"` + // The details of the Oracle Database connection string. + ConnectionString *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString `pulumi:"connectionString"` +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs{...} +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs struct { + // The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + ConnectionCredentials AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrInput `pulumi:"connectionCredentials"` + // The details of the Oracle Database connection string. + ConnectionString AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrInput `pulumi:"connectionString"` +} + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails)(nil)).Elem() +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput).ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutputWithContext(ctx) +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtr and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs{...} +// +// or: +// +// nil +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput +} + +type autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrType AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs + +func AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtr(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrInput { + return (*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrType)(v) +} + +func (*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails)(nil)).Elem() +} + +func (i *autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrType) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutputWithContext(context.Background()) +} + +func (i *autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrType) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput { + return o.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutputWithContext(context.Background()) +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails { + return &v + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput) +} + +// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput) ConnectionCredentials() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials { + return v.ConnectionCredentials + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) +} + +// The details of the Oracle Database connection string. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput) ConnectionString() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString { + return v.ConnectionString + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput) Elem() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails { + if v != nil { + return *v + } + var ret AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails + return ret + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput) +} + +// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput) ConnectionCredentials() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials { + if v == nil { + return nil + } + return v.ConnectionCredentials + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) +} + +// The details of the Oracle Database connection string. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput) ConnectionString() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString { + if v == nil { + return nil + } + return v.ConnectionString + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials struct { + // The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + // + // For example: inventorydb.abc112233445566778899 + CredentialName *string `pulumi:"credentialName"` + // The type of credential used to connect to the database. + CredentialType *string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + PasswordSecretId *string `pulumi:"passwordSecretId"` + // The role of the user connecting to the database. + Role *string `pulumi:"role"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + SslSecretId *string `pulumi:"sslSecretId"` + // The user name used to connect to the database. + UserName *string `pulumi:"userName"` +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs{...} +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs struct { + // The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + // + // For example: inventorydb.abc112233445566778899 + CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` + // The type of credential used to connect to the database. + CredentialType pulumi.StringPtrInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + PasswordSecretId pulumi.StringPtrInput `pulumi:"passwordSecretId"` + // The role of the user connecting to the database. + Role pulumi.StringPtrInput `pulumi:"role"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + SslSecretId pulumi.StringPtrInput `pulumi:"sslSecretId"` + // The user name used to connect to the database. + UserName pulumi.StringPtrInput `pulumi:"userName"` +} + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials)(nil)).Elem() +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput).ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutputWithContext(ctx) +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtr and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs{...} +// +// or: +// +// nil +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput +} + +type autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrType AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs + +func AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtr(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrInput { + return (*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrType)(v) +} + +func (*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials)(nil)).Elem() +} + +func (i *autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrType) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutputWithContext(context.Background()) +} + +func (i *autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrType) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput { + return o.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutputWithContext(context.Background()) +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials { + return &v + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) +} + +// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. +// +// For example: inventorydb.abc112233445566778899 +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) CredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + return v.CredentialName + }).(pulumi.StringPtrOutput) +} + +// The type of credential used to connect to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) CredentialType() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + return v.CredentialType + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) PasswordSecretId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + return v.PasswordSecretId + }).(pulumi.StringPtrOutput) +} + +// The role of the user connecting to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) Role() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + return v.Role + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) SslSecretId() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + return v.SslSecretId + }).(pulumi.StringPtrOutput) +} + +// The user name used to connect to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + return v.UserName + }).(pulumi.StringPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) Elem() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials { + if v != nil { + return *v + } + var ret AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials + return ret + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) +} + +// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. +// +// For example: inventorydb.abc112233445566778899 +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) CredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + if v == nil { + return nil + } + return v.CredentialName + }).(pulumi.StringPtrOutput) +} + +// The type of credential used to connect to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) CredentialType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + if v == nil { + return nil + } + return v.CredentialType + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) PasswordSecretId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + if v == nil { + return nil + } + return v.PasswordSecretId + }).(pulumi.StringPtrOutput) +} + +// The role of the user connecting to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) Role() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + if v == nil { + return nil + } + return v.Role + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) SslSecretId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + if v == nil { + return nil + } + return v.SslSecretId + }).(pulumi.StringPtrOutput) +} + +// The user name used to connect to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + if v == nil { + return nil + } + return v.UserName + }).(pulumi.StringPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString struct { + // The list of supported connection types: + // * BASIC: Basic connection details + ConnectionType *string `pulumi:"connectionType"` + // The port number used to connect to the database. + Port *int `pulumi:"port"` + // The protocol used to connect to the database. + Protocol *string `pulumi:"protocol"` + // The service name of the database. + Service *string `pulumi:"service"` +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs{...} +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs struct { + // The list of supported connection types: + // * BASIC: Basic connection details + ConnectionType pulumi.StringPtrInput `pulumi:"connectionType"` + // The port number used to connect to the database. + Port pulumi.IntPtrInput `pulumi:"port"` + // The protocol used to connect to the database. + Protocol pulumi.StringPtrInput `pulumi:"protocol"` + // The service name of the database. + Service pulumi.StringPtrInput `pulumi:"service"` +} + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString)(nil)).Elem() +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput).ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutputWithContext(ctx) +} + +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrInput is an input type that accepts AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtr and AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput values. +// You can construct a concrete instance of `AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrInput` via: +// +// AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs{...} +// +// or: +// +// nil +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrInput interface { + pulumi.Input + + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput + ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutputWithContext(context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput +} + +type autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrType AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs + +func AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtr(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrInput { + return (*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrType)(v) +} + +func (*autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString)(nil)).Elem() +} + +func (i *autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrType) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput { + return i.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutputWithContext(context.Background()) +} + +func (i *autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrType) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput { + return o.ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutputWithContext(context.Background()) +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString) *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString { + return &v + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) +} + +// The list of supported connection types: +// * BASIC: Basic connection details +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) ConnectionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString) *string { + return v.ConnectionType + }).(pulumi.StringPtrOutput) +} + +// The port number used to connect to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString) *int { + return v.Port + }).(pulumi.IntPtrOutput) +} + +// The protocol used to connect to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString) *string { + return v.Protocol + }).(pulumi.StringPtrOutput) +} + +// The service name of the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString) *string { + return v.Service + }).(pulumi.StringPtrOutput) +} + +type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString)(nil)).Elem() +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) ToAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutputWithContext(ctx context.Context) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput { + return o +} + +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) Elem() AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString) AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString { + if v != nil { + return *v + } + var ret AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString + return ret + }).(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput) +} + +// The list of supported connection types: +// * BASIC: Basic connection details +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) ConnectionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString) *string { + if v == nil { + return nil + } + return v.ConnectionType + }).(pulumi.StringPtrOutput) +} + +// The port number used to connect to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString) *int { + if v == nil { + return nil + } + return v.Port + }).(pulumi.IntPtrOutput) +} + +// The protocol used to connect to the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString) *string { + if v == nil { + return nil + } + return v.Protocol + }).(pulumi.StringPtrOutput) +} + +// The service name of the database. +func (o AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString) *string { + if v == nil { + return nil + } + return v.Service + }).(pulumi.StringPtrOutput) +} + type DatabaseDbmFeaturesManagementFeatureDetails struct { // The connector details required to connect to an Oracle cloud database. ConnectorDetails *DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails `pulumi:"connectorDetails"` @@ -235,6 +1252,7 @@ type DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails struct { // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector + // * DIRECT: Direct connection ConnectorType *string `pulumi:"connectorType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. DatabaseConnectorId *string `pulumi:"databaseConnectorId"` @@ -260,6 +1278,7 @@ type DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs struct { // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector + // * DIRECT: Direct connection ConnectorType pulumi.StringPtrInput `pulumi:"connectorType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. DatabaseConnectorId pulumi.StringPtrInput `pulumi:"databaseConnectorId"` @@ -350,6 +1369,7 @@ func (o DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ToDat // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector +// * DIRECT: Direct connection func (o DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ConnectorType() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { return v.ConnectorType }).(pulumi.StringPtrOutput) } @@ -403,6 +1423,7 @@ func (o DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) El // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector +// * DIRECT: Direct connection func (o DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) ConnectorType() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { if v == nil { @@ -609,6 +1630,8 @@ type DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnect CredentialName *string `pulumi:"credentialName"` // The type of credential used to connect to the database. CredentialType *string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId *string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. PasswordSecretId *string `pulumi:"passwordSecretId"` // The role of the user connecting to the database. @@ -637,6 +1660,8 @@ type DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnect CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` // The type of credential used to connect to the database. CredentialType pulumi.StringPtrInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId pulumi.StringPtrInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. PasswordSecretId pulumi.StringPtrInput `pulumi:"passwordSecretId"` // The role of the user connecting to the database. @@ -740,6 +1765,13 @@ func (o DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConn }).(pulumi.StringPtrOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. +func (o DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) NamedCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + return v.NamedCredentialId + }).(pulumi.StringPtrOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. func (o DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) PasswordSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { @@ -814,6 +1846,16 @@ func (o DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConn }).(pulumi.StringPtrOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. +func (o DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) NamedCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + if v == nil { + return nil + } + return v.NamedCredentialId + }).(pulumi.StringPtrOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. func (o DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) PasswordSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { @@ -1709,6 +2751,8 @@ type ExternalDbSystemConnectorConnectionInfoConnectionCredential struct { CredentialName *string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType *string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId *string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId *string `pulumi:"passwordSecretId"` // The role of the database user. @@ -1735,6 +2779,8 @@ type ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs struct { CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringPtrInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringPtrInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringPtrInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -1806,6 +2852,13 @@ func (o ExternalDbSystemConnectorConnectionInfoConnectionCredentialOutput) Crede return o.ApplyT(func(v ExternalDbSystemConnectorConnectionInfoConnectionCredential) *string { return v.CredentialType }).(pulumi.StringPtrOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o ExternalDbSystemConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ExternalDbSystemConnectorConnectionInfoConnectionCredential) *string { + return v.NamedCredentialId + }).(pulumi.StringPtrOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o ExternalDbSystemConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v ExternalDbSystemConnectorConnectionInfoConnectionCredential) *string { return v.PasswordSecretId }).(pulumi.StringPtrOutput) @@ -3459,6 +4512,8 @@ type ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnect CredentialName *string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType *string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId *string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId *string `pulumi:"passwordSecretId"` // The role of the database user. @@ -3485,6 +4540,8 @@ type ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnect CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringPtrInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringPtrInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringPtrInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -3560,6 +4617,13 @@ func (o ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConn }).(pulumi.StringPtrOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential) *string { + return v.NamedCredentialId + }).(pulumi.StringPtrOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential) *string { @@ -4199,6 +5263,8 @@ type ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnecti CredentialName *string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType *string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId *string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId *string `pulumi:"passwordSecretId"` // The role of the database user. @@ -4225,6 +5291,8 @@ type ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnecti CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringPtrInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringPtrInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringPtrInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -4300,6 +5368,13 @@ func (o ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConne }).(pulumi.StringPtrOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential) *string { + return v.NamedCredentialId + }).(pulumi.StringPtrOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential) *string { @@ -5323,6 +6398,8 @@ type ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConne CredentialName *string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType *string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId *string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId *string `pulumi:"passwordSecretId"` // The role of the database user. @@ -5349,6 +6426,8 @@ type ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConne CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringPtrInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringPtrInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringPtrInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -5424,6 +6503,13 @@ func (o ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorCo }).(pulumi.StringPtrOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential) *string { + return v.NamedCredentialId + }).(pulumi.StringPtrOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential) *string { @@ -9077,6 +10163,7 @@ type ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetai // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector + // * DIRECT: Direct connection ConnectorType *string `pulumi:"connectorType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. DatabaseConnectorId *string `pulumi:"databaseConnectorId"` @@ -9102,6 +10189,7 @@ type ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetai // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector + // * DIRECT: Direct connection ConnectorType pulumi.StringPtrInput `pulumi:"connectorType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. DatabaseConnectorId pulumi.StringPtrInput `pulumi:"databaseConnectorId"` @@ -9192,6 +10280,7 @@ func (o ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDe // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector +// * DIRECT: Direct connection func (o ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ConnectorType() pulumi.StringPtrOutput { return o.ApplyT(func(v ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { return v.ConnectorType @@ -9247,6 +10336,7 @@ func (o ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDe // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector +// * DIRECT: Direct connection func (o ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) ConnectorType() pulumi.StringPtrOutput { return o.ApplyT(func(v *ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { if v == nil { @@ -9472,6 +10562,7 @@ type ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatur // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector + // * DIRECT: Direct connection ConnectorType *string `pulumi:"connectorType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. DatabaseConnectorId *string `pulumi:"databaseConnectorId"` @@ -9497,6 +10588,7 @@ type ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatur // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector + // * DIRECT: Direct connection ConnectorType pulumi.StringPtrInput `pulumi:"connectorType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. DatabaseConnectorId pulumi.StringPtrInput `pulumi:"databaseConnectorId"` @@ -9587,6 +10679,7 @@ func (o ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFea // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector +// * DIRECT: Direct connection func (o ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ConnectorType() pulumi.StringPtrOutput { return o.ApplyT(func(v ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { return v.ConnectorType @@ -9642,6 +10735,7 @@ func (o ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFea // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector +// * DIRECT: Direct connection func (o ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) ConnectorType() pulumi.StringPtrOutput { return o.ApplyT(func(v *ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { if v == nil { @@ -9846,6 +10940,7 @@ type ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetai // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector + // * DIRECT: Direct connection ConnectorType *string `pulumi:"connectorType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. DatabaseConnectorId *string `pulumi:"databaseConnectorId"` @@ -9871,6 +10966,7 @@ type ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetai // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector + // * DIRECT: Direct connection ConnectorType pulumi.StringPtrInput `pulumi:"connectorType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. DatabaseConnectorId pulumi.StringPtrInput `pulumi:"databaseConnectorId"` @@ -9961,6 +11057,7 @@ func (o ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDe // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector +// * DIRECT: Direct connection func (o ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ConnectorType() pulumi.StringPtrOutput { return o.ApplyT(func(v ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { return v.ConnectorType @@ -10016,6 +11113,7 @@ func (o ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDe // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector +// * DIRECT: Direct connection func (o ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) ConnectorType() pulumi.StringPtrOutput { return o.ApplyT(func(v *ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { if v == nil { @@ -10055,6 +11153,684 @@ func (o ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDe }).(pulumi.StringPtrOutput) } +type ManagedDatabaseDbmgmtFeatureConfig struct { + // The connector details required to connect to an Oracle cloud database. + ConnectorDetails []ManagedDatabaseDbmgmtFeatureConfigConnectorDetail `pulumi:"connectorDetails"` + // The connection details required to connect to the database. + DatabaseConnectionDetails []ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail `pulumi:"databaseConnectionDetails"` + // The name of the Database Management feature. + Feature *string `pulumi:"feature"` + // The list of statuses for Database Management features. + FeatureStatus *string `pulumi:"featureStatus"` + // The Oracle license model that applies to the external database. + LicenseModel *string `pulumi:"licenseModel"` +} + +// ManagedDatabaseDbmgmtFeatureConfigInput is an input type that accepts ManagedDatabaseDbmgmtFeatureConfigArgs and ManagedDatabaseDbmgmtFeatureConfigOutput values. +// You can construct a concrete instance of `ManagedDatabaseDbmgmtFeatureConfigInput` via: +// +// ManagedDatabaseDbmgmtFeatureConfigArgs{...} +type ManagedDatabaseDbmgmtFeatureConfigInput interface { + pulumi.Input + + ToManagedDatabaseDbmgmtFeatureConfigOutput() ManagedDatabaseDbmgmtFeatureConfigOutput + ToManagedDatabaseDbmgmtFeatureConfigOutputWithContext(context.Context) ManagedDatabaseDbmgmtFeatureConfigOutput +} + +type ManagedDatabaseDbmgmtFeatureConfigArgs struct { + // The connector details required to connect to an Oracle cloud database. + ConnectorDetails ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayInput `pulumi:"connectorDetails"` + // The connection details required to connect to the database. + DatabaseConnectionDetails ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput `pulumi:"databaseConnectionDetails"` + // The name of the Database Management feature. + Feature pulumi.StringPtrInput `pulumi:"feature"` + // The list of statuses for Database Management features. + FeatureStatus pulumi.StringPtrInput `pulumi:"featureStatus"` + // The Oracle license model that applies to the external database. + LicenseModel pulumi.StringPtrInput `pulumi:"licenseModel"` +} + +func (ManagedDatabaseDbmgmtFeatureConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfig)(nil)).Elem() +} + +func (i ManagedDatabaseDbmgmtFeatureConfigArgs) ToManagedDatabaseDbmgmtFeatureConfigOutput() ManagedDatabaseDbmgmtFeatureConfigOutput { + return i.ToManagedDatabaseDbmgmtFeatureConfigOutputWithContext(context.Background()) +} + +func (i ManagedDatabaseDbmgmtFeatureConfigArgs) ToManagedDatabaseDbmgmtFeatureConfigOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(ManagedDatabaseDbmgmtFeatureConfigOutput) +} + +// ManagedDatabaseDbmgmtFeatureConfigArrayInput is an input type that accepts ManagedDatabaseDbmgmtFeatureConfigArray and ManagedDatabaseDbmgmtFeatureConfigArrayOutput values. +// You can construct a concrete instance of `ManagedDatabaseDbmgmtFeatureConfigArrayInput` via: +// +// ManagedDatabaseDbmgmtFeatureConfigArray{ ManagedDatabaseDbmgmtFeatureConfigArgs{...} } +type ManagedDatabaseDbmgmtFeatureConfigArrayInput interface { + pulumi.Input + + ToManagedDatabaseDbmgmtFeatureConfigArrayOutput() ManagedDatabaseDbmgmtFeatureConfigArrayOutput + ToManagedDatabaseDbmgmtFeatureConfigArrayOutputWithContext(context.Context) ManagedDatabaseDbmgmtFeatureConfigArrayOutput +} + +type ManagedDatabaseDbmgmtFeatureConfigArray []ManagedDatabaseDbmgmtFeatureConfigInput + +func (ManagedDatabaseDbmgmtFeatureConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ManagedDatabaseDbmgmtFeatureConfig)(nil)).Elem() +} + +func (i ManagedDatabaseDbmgmtFeatureConfigArray) ToManagedDatabaseDbmgmtFeatureConfigArrayOutput() ManagedDatabaseDbmgmtFeatureConfigArrayOutput { + return i.ToManagedDatabaseDbmgmtFeatureConfigArrayOutputWithContext(context.Background()) +} + +func (i ManagedDatabaseDbmgmtFeatureConfigArray) ToManagedDatabaseDbmgmtFeatureConfigArrayOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ManagedDatabaseDbmgmtFeatureConfigArrayOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigOutput struct{ *pulumi.OutputState } + +func (ManagedDatabaseDbmgmtFeatureConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfig)(nil)).Elem() +} + +func (o ManagedDatabaseDbmgmtFeatureConfigOutput) ToManagedDatabaseDbmgmtFeatureConfigOutput() ManagedDatabaseDbmgmtFeatureConfigOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigOutput) ToManagedDatabaseDbmgmtFeatureConfigOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigOutput { + return o +} + +// The connector details required to connect to an Oracle cloud database. +func (o ManagedDatabaseDbmgmtFeatureConfigOutput) ConnectorDetails() ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfig) []ManagedDatabaseDbmgmtFeatureConfigConnectorDetail { + return v.ConnectorDetails + }).(ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) +} + +// The connection details required to connect to the database. +func (o ManagedDatabaseDbmgmtFeatureConfigOutput) DatabaseConnectionDetails() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfig) []ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail { + return v.DatabaseConnectionDetails + }).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) +} + +// The name of the Database Management feature. +func (o ManagedDatabaseDbmgmtFeatureConfigOutput) Feature() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfig) *string { return v.Feature }).(pulumi.StringPtrOutput) +} + +// The list of statuses for Database Management features. +func (o ManagedDatabaseDbmgmtFeatureConfigOutput) FeatureStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfig) *string { return v.FeatureStatus }).(pulumi.StringPtrOutput) +} + +// The Oracle license model that applies to the external database. +func (o ManagedDatabaseDbmgmtFeatureConfigOutput) LicenseModel() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfig) *string { return v.LicenseModel }).(pulumi.StringPtrOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigArrayOutput struct{ *pulumi.OutputState } + +func (ManagedDatabaseDbmgmtFeatureConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ManagedDatabaseDbmgmtFeatureConfig)(nil)).Elem() +} + +func (o ManagedDatabaseDbmgmtFeatureConfigArrayOutput) ToManagedDatabaseDbmgmtFeatureConfigArrayOutput() ManagedDatabaseDbmgmtFeatureConfigArrayOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigArrayOutput) ToManagedDatabaseDbmgmtFeatureConfigArrayOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigArrayOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigArrayOutput) Index(i pulumi.IntInput) ManagedDatabaseDbmgmtFeatureConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedDatabaseDbmgmtFeatureConfig { + return vs[0].([]ManagedDatabaseDbmgmtFeatureConfig)[vs[1].(int)] + }).(ManagedDatabaseDbmgmtFeatureConfigOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigConnectorDetail struct { + // The list of supported connection types: + // * PE: Private endpoint + // * MACS: Management agent + // * EXTERNAL: External database connector + ConnectorType *string `pulumi:"connectorType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + DatabaseConnectorId *string `pulumi:"databaseConnectorId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + ManagementAgentId *string `pulumi:"managementAgentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + PrivateEndPointId *string `pulumi:"privateEndPointId"` +} + +// ManagedDatabaseDbmgmtFeatureConfigConnectorDetailInput is an input type that accepts ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs and ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput values. +// You can construct a concrete instance of `ManagedDatabaseDbmgmtFeatureConfigConnectorDetailInput` via: +// +// ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs{...} +type ManagedDatabaseDbmgmtFeatureConfigConnectorDetailInput interface { + pulumi.Input + + ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput() ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput + ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutputWithContext(context.Context) ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput +} + +type ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs struct { + // The list of supported connection types: + // * PE: Private endpoint + // * MACS: Management agent + // * EXTERNAL: External database connector + ConnectorType pulumi.StringPtrInput `pulumi:"connectorType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + DatabaseConnectorId pulumi.StringPtrInput `pulumi:"databaseConnectorId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + ManagementAgentId pulumi.StringPtrInput `pulumi:"managementAgentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + PrivateEndPointId pulumi.StringPtrInput `pulumi:"privateEndPointId"` +} + +func (ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (i ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs) ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput() ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput { + return i.ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutputWithContext(context.Background()) +} + +func (i ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs) ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) +} + +// ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayInput is an input type that accepts ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray and ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput values. +// You can construct a concrete instance of `ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayInput` via: +// +// ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray{ ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs{...} } +type ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayInput interface { + pulumi.Input + + ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput() ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput + ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(context.Context) ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput +} + +type ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray []ManagedDatabaseDbmgmtFeatureConfigConnectorDetailInput + +func (ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ManagedDatabaseDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (i ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray) ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput() ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput { + return i.ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(context.Background()) +} + +func (i ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray) ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput struct{ *pulumi.OutputState } + +func (ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (o ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput() ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput { + return o +} + +// The list of supported connection types: +// * PE: Private endpoint +// * MACS: Management agent +// * EXTERNAL: External database connector +func (o ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) ConnectorType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigConnectorDetail) *string { return v.ConnectorType }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. +func (o ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) DatabaseConnectorId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigConnectorDetail) *string { return v.DatabaseConnectorId }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. +func (o ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) ManagementAgentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigConnectorDetail) *string { return v.ManagementAgentId }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. +func (o ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) PrivateEndPointId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigConnectorDetail) *string { return v.PrivateEndPointId }).(pulumi.StringPtrOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput struct{ *pulumi.OutputState } + +func (ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ManagedDatabaseDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (o ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput() ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) ToManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) Index(i pulumi.IntInput) ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedDatabaseDbmgmtFeatureConfigConnectorDetail { + return vs[0].([]ManagedDatabaseDbmgmtFeatureConfigConnectorDetail)[vs[1].(int)] + }).(ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail struct { + // The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + ConnectionCredentials []ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential `pulumi:"connectionCredentials"` + // The details of the Oracle Database connection string. + ConnectionStrings []ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString `pulumi:"connectionStrings"` +} + +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailInput is an input type that accepts ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs and ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput values. +// You can construct a concrete instance of `ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailInput` via: +// +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs{...} +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailInput interface { + pulumi.Input + + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs struct { + // The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + ConnectionCredentials ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput `pulumi:"connectionCredentials"` + // The details of the Oracle Database connection string. + ConnectionStrings ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput `pulumi:"connectionStrings"` +} + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return i.ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(context.Background()) +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) +} + +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput is an input type that accepts ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray and ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput values. +// You can construct a concrete instance of `ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput` via: +// +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray{ ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs{...} } +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput interface { + pulumi.Input + + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray []ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailInput + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return i.ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(context.Background()) +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput struct{ *pulumi.OutputState } + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return o +} + +// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ConnectionCredentials() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail) []ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + return v.ConnectionCredentials + }).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) +} + +// The details of the Oracle Database connection string. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ConnectionStrings() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail) []ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + return v.ConnectionStrings + }).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput struct{ *pulumi.OutputState } + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) Index(i pulumi.IntInput) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail { + return vs[0].([]ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail)[vs[1].(int)] + }).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential struct { + // The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + CredentialName *string `pulumi:"credentialName"` + // The type of credential used to connect to the database. + CredentialType *string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId *string `pulumi:"namedCredentialId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + PasswordSecretId *string `pulumi:"passwordSecretId"` + // The role of the user connecting to the database. + Role *string `pulumi:"role"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + SslSecretId *string `pulumi:"sslSecretId"` + // The user name used to connect to the database. + UserName *string `pulumi:"userName"` +} + +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput is an input type that accepts ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs and ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput values. +// You can construct a concrete instance of `ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput` via: +// +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{...} +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput interface { + pulumi.Input + + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs struct { + // The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` + // The type of credential used to connect to the database. + CredentialType pulumi.StringPtrInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId pulumi.StringPtrInput `pulumi:"namedCredentialId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + PasswordSecretId pulumi.StringPtrInput `pulumi:"passwordSecretId"` + // The role of the user connecting to the database. + Role pulumi.StringPtrInput `pulumi:"role"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + SslSecretId pulumi.StringPtrInput `pulumi:"sslSecretId"` + // The user name used to connect to the database. + UserName pulumi.StringPtrInput `pulumi:"userName"` +} + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return i.ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(context.Background()) +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) +} + +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput is an input type that accepts ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray and ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput values. +// You can construct a concrete instance of `ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput` via: +// +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray{ ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{...} } +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput interface { + pulumi.Input + + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray []ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return i.ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(context.Background()) +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput struct{ *pulumi.OutputState } + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return o +} + +// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) CredentialName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) *string { + return v.CredentialName + }).(pulumi.StringPtrOutput) +} + +// The type of credential used to connect to the database. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) CredentialType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) *string { + return v.CredentialType + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) NamedCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) *string { + return v.NamedCredentialId + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) PasswordSecretId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) *string { + return v.PasswordSecretId + }).(pulumi.StringPtrOutput) +} + +// The role of the user connecting to the database. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) Role() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) *string { + return v.Role + }).(pulumi.StringPtrOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) SslSecretId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) *string { + return v.SslSecretId + }).(pulumi.StringPtrOutput) +} + +// The user name used to connect to the database. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) UserName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) *string { + return v.UserName + }).(pulumi.StringPtrOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput struct{ *pulumi.OutputState } + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) Index(i pulumi.IntInput) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + return vs[0].([]ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)[vs[1].(int)] + }).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString struct { + // The list of supported connection types: + // * BASIC: Basic connection details + ConnectionType *string `pulumi:"connectionType"` + // The port number used to connect to the database. + Port *int `pulumi:"port"` + // The protocol used to connect to the database. + Protocol *string `pulumi:"protocol"` + // The service name of the database. + Service *string `pulumi:"service"` +} + +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput is an input type that accepts ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs and ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput values. +// You can construct a concrete instance of `ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput` via: +// +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{...} +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput interface { + pulumi.Input + + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs struct { + // The list of supported connection types: + // * BASIC: Basic connection details + ConnectionType pulumi.StringPtrInput `pulumi:"connectionType"` + // The port number used to connect to the database. + Port pulumi.IntPtrInput `pulumi:"port"` + // The protocol used to connect to the database. + Protocol pulumi.StringPtrInput `pulumi:"protocol"` + // The service name of the database. + Service pulumi.StringPtrInput `pulumi:"service"` +} + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return i.ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(context.Background()) +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return pulumi.ToOutputWithContext(ctx, i).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) +} + +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput is an input type that accepts ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray and ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput values. +// You can construct a concrete instance of `ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput` via: +// +// ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray{ ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{...} } +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput interface { + pulumi.Input + + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput + ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray []ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return i.ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(context.Background()) +} + +func (i ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput struct{ *pulumi.OutputState } + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return o +} + +// The list of supported connection types: +// * BASIC: Basic connection details +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ConnectionType() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) *string { + return v.ConnectionType + }).(pulumi.StringPtrOutput) +} + +// The port number used to connect to the database. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Port() pulumi.IntPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) *int { return v.Port }).(pulumi.IntPtrOutput) +} + +// The protocol used to connect to the database. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Protocol() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) *string { + return v.Protocol + }).(pulumi.StringPtrOutput) +} + +// The service name of the database. +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Service() pulumi.StringPtrOutput { + return o.ApplyT(func(v ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) *string { + return v.Service + }).(pulumi.StringPtrOutput) +} + +type ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput struct{ *pulumi.OutputState } + +func (ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ToManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(ctx context.Context) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o +} + +func (o ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) Index(i pulumi.IntInput) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + return vs[0].([]ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)[vs[1].(int)] + }).(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) +} + type ManagedDatabaseGroupManagedDatabase struct { // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. CompartmentId *string `pulumi:"compartmentId"` @@ -11772,6 +13548,7 @@ type PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnec // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector + // * DIRECT: Direct connection ConnectorType *string `pulumi:"connectorType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. DatabaseConnectorId *string `pulumi:"databaseConnectorId"` @@ -11797,6 +13574,7 @@ type PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnec // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector + // * DIRECT: Direct connection ConnectorType pulumi.StringPtrInput `pulumi:"connectorType"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. DatabaseConnectorId pulumi.StringPtrInput `pulumi:"databaseConnectorId"` @@ -11887,6 +13665,7 @@ func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsCon // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector +// * DIRECT: Direct connection func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput) ConnectorType() pulumi.StringPtrOutput { return o.ApplyT(func(v PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { return v.ConnectorType @@ -11942,6 +13721,7 @@ func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsCon // * PE: Private endpoint // * MACS: Management agent // * EXTERNAL: External database connector +// * DIRECT: Direct connection func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput) ConnectorType() pulumi.StringPtrOutput { return o.ApplyT(func(v *PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails) *string { if v == nil { @@ -12148,6 +13928,8 @@ type PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDataba CredentialName *string `pulumi:"credentialName"` // The type of credential used to connect to the database. CredentialType *string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId *string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. PasswordSecretId *string `pulumi:"passwordSecretId"` // The role of the user connecting to the database. @@ -12176,6 +13958,8 @@ type PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDataba CredentialName pulumi.StringPtrInput `pulumi:"credentialName"` // The type of credential used to connect to the database. CredentialType pulumi.StringPtrInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId pulumi.StringPtrInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. PasswordSecretId pulumi.StringPtrInput `pulumi:"passwordSecretId"` // The role of the user connecting to the database. @@ -12279,6 +14063,13 @@ func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDat }).(pulumi.StringPtrOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. +func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) NamedCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + return v.NamedCredentialId + }).(pulumi.StringPtrOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput) PasswordSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { @@ -12353,6 +14144,16 @@ func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDat }).(pulumi.StringPtrOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. +func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) NamedCredentialId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { + if v == nil { + return nil + } + return v.NamedCredentialId + }).(pulumi.StringPtrOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. func (o PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput) PasswordSecretId() pulumi.StringPtrOutput { return o.ApplyT(func(v *PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials) *string { @@ -13172,6 +14973,8 @@ type GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem st Id string `pulumi:"id"` // The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. IsCluster bool `pulumi:"isCluster"` + // The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + IsDnsResolutionEnabled bool `pulumi:"isDnsResolutionEnabled"` // A filter to return only resources that match the entire name. Name string `pulumi:"name"` // The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. @@ -13214,6 +15017,8 @@ type GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItemArg Id pulumi.StringInput `pulumi:"id"` // The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. IsCluster pulumi.BoolInput `pulumi:"isCluster"` + // The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + IsDnsResolutionEnabled pulumi.BoolInput `pulumi:"isDnsResolutionEnabled"` // A filter to return only resources that match the entire name. Name pulumi.StringInput `pulumi:"name"` // The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. @@ -13323,6 +15128,13 @@ func (o GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem }).(pulumi.BoolOutput) } +// The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. +func (o GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItemOutput) IsDnsResolutionEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem) bool { + return v.IsDnsResolutionEnabled + }).(pulumi.BoolOutput) +} + // A filter to return only resources that match the entire name. func (o GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItemOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem) string { return v.Name }).(pulumi.StringOutput) @@ -17387,16 +19199,22 @@ func (o GetExternalDatabasesExternalDatabaseCollectionArrayOutput) Index(i pulum type GetExternalDatabasesExternalDatabaseCollectionItem struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` + // The operating system of database. + DatabasePlatformName string `pulumi:"databasePlatformName"` // The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. DatabaseSubType string `pulumi:"databaseSubType"` // The type of Oracle Database installation. DatabaseType string `pulumi:"databaseType"` + // The Oracle database version. + DatabaseVersion string `pulumi:"databaseVersion"` // The configuration of the Database Management service. DbManagementConfigs []GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfig `pulumi:"dbManagementConfigs"` // The basic information about an external DB system. DbSystemInfos []GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfo `pulumi:"dbSystemInfos"` // The `DB_UNIQUE_NAME` of the external database. DbUniqueName string `pulumi:"dbUniqueName"` + // The list of feature configurations + DbmgmtFeatureConfigs []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig `pulumi:"dbmgmtFeatureConfigs"` // 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]string `pulumi:"definedTags"` // A filter to only return the resources that match the entire display name. @@ -17433,16 +19251,22 @@ type GetExternalDatabasesExternalDatabaseCollectionItemInput interface { type GetExternalDatabasesExternalDatabaseCollectionItemArgs struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The operating system of database. + DatabasePlatformName pulumi.StringInput `pulumi:"databasePlatformName"` // The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. DatabaseSubType pulumi.StringInput `pulumi:"databaseSubType"` // The type of Oracle Database installation. DatabaseType pulumi.StringInput `pulumi:"databaseType"` + // The Oracle database version. + DatabaseVersion pulumi.StringInput `pulumi:"databaseVersion"` // The configuration of the Database Management service. DbManagementConfigs GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigArrayInput `pulumi:"dbManagementConfigs"` // The basic information about an external DB system. DbSystemInfos GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoArrayInput `pulumi:"dbSystemInfos"` // The `DB_UNIQUE_NAME` of the external database. DbUniqueName pulumi.StringInput `pulumi:"dbUniqueName"` + // The list of feature configurations + DbmgmtFeatureConfigs GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayInput `pulumi:"dbmgmtFeatureConfigs"` // 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.StringMapInput `pulumi:"definedTags"` // A filter to only return the resources that match the entire display name. @@ -17521,6 +19345,11 @@ func (o GetExternalDatabasesExternalDatabaseCollectionItemOutput) CompartmentId( return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } +// The operating system of database. +func (o GetExternalDatabasesExternalDatabaseCollectionItemOutput) DatabasePlatformName() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItem) string { return v.DatabasePlatformName }).(pulumi.StringOutput) +} + // The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. func (o GetExternalDatabasesExternalDatabaseCollectionItemOutput) DatabaseSubType() pulumi.StringOutput { return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItem) string { return v.DatabaseSubType }).(pulumi.StringOutput) @@ -17531,6 +19360,11 @@ func (o GetExternalDatabasesExternalDatabaseCollectionItemOutput) DatabaseType() return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItem) string { return v.DatabaseType }).(pulumi.StringOutput) } +// The Oracle database version. +func (o GetExternalDatabasesExternalDatabaseCollectionItemOutput) DatabaseVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItem) string { return v.DatabaseVersion }).(pulumi.StringOutput) +} + // The configuration of the Database Management service. func (o GetExternalDatabasesExternalDatabaseCollectionItemOutput) DbManagementConfigs() GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigArrayOutput { return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItem) []GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfig { @@ -17550,6 +19384,13 @@ func (o GetExternalDatabasesExternalDatabaseCollectionItemOutput) DbUniqueName() return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItem) string { return v.DbUniqueName }).(pulumi.StringOutput) } +// The list of feature configurations +func (o GetExternalDatabasesExternalDatabaseCollectionItemOutput) DbmgmtFeatureConfigs() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItem) []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig { + return v.DbmgmtFeatureConfigs + }).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) +} + // 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 GetExternalDatabasesExternalDatabaseCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) @@ -17992,6 +19833,698 @@ func (o GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInf }).(GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoOutput) } +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig struct { + // The connector details required to connect to an Oracle cloud database. + ConnectorDetails []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail `pulumi:"connectorDetails"` + // The connection details required to connect to the database. + DatabaseConnectionDetails []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail `pulumi:"databaseConnectionDetails"` + // The name of the Database Management feature. + Feature string `pulumi:"feature"` + // The list of statuses for Database Management features. + FeatureStatus string `pulumi:"featureStatus"` + // The Oracle license model that applies to the external database. + LicenseModel string `pulumi:"licenseModel"` +} + +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigInput is an input type that accepts GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArgs and GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput values. +// You can construct a concrete instance of `GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigInput` via: +// +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArgs{...} +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigInput interface { + pulumi.Input + + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutputWithContext(context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArgs struct { + // The connector details required to connect to an Oracle cloud database. + ConnectorDetails GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayInput `pulumi:"connectorDetails"` + // The connection details required to connect to the database. + DatabaseConnectionDetails GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput `pulumi:"databaseConnectionDetails"` + // The name of the Database Management feature. + Feature pulumi.StringInput `pulumi:"feature"` + // The list of statuses for Database Management features. + FeatureStatus pulumi.StringInput `pulumi:"featureStatus"` + // The Oracle license model that applies to the external database. + LicenseModel pulumi.StringInput `pulumi:"licenseModel"` +} + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig)(nil)).Elem() +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArgs) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput { + return i.ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutputWithContext(context.Background()) +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArgs) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput) +} + +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayInput is an input type that accepts GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArray and GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput values. +// You can construct a concrete instance of `GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayInput` via: +// +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArray{ GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArgs{...} } +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayInput interface { + pulumi.Input + + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutputWithContext(context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArray []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigInput + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig)(nil)).Elem() +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArray) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput { + return i.ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutputWithContext(context.Background()) +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArray) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput struct{ *pulumi.OutputState } + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig)(nil)).Elem() +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput { + return o +} + +// The connector details required to connect to an Oracle cloud database. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput) ConnectorDetails() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig) []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail { + return v.ConnectorDetails + }).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) +} + +// The connection details required to connect to the database. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput) DatabaseConnectionDetails() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig) []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail { + return v.DatabaseConnectionDetails + }).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) +} + +// The name of the Database Management feature. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput) Feature() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig) string { return v.Feature }).(pulumi.StringOutput) +} + +// The list of statuses for Database Management features. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput) FeatureStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig) string { + return v.FeatureStatus + }).(pulumi.StringOutput) +} + +// The Oracle license model that applies to the external database. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput) LicenseModel() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig) string { + return v.LicenseModel + }).(pulumi.StringOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig)(nil)).Elem() +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) Index(i pulumi.IntInput) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig { + return vs[0].([]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig)[vs[1].(int)] + }).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail struct { + // The list of supported connection types: + // * PE: Private endpoint + // * MACS: Management agent + // * EXTERNAL: External database connector + ConnectorType string `pulumi:"connectorType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + DatabaseConnectorId string `pulumi:"databaseConnectorId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + ManagementAgentId string `pulumi:"managementAgentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + PrivateEndPointId string `pulumi:"privateEndPointId"` +} + +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailInput is an input type that accepts GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs and GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput values. +// You can construct a concrete instance of `GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailInput` via: +// +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs{...} +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailInput interface { + pulumi.Input + + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutputWithContext(context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs struct { + // The list of supported connection types: + // * PE: Private endpoint + // * MACS: Management agent + // * EXTERNAL: External database connector + ConnectorType pulumi.StringInput `pulumi:"connectorType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + DatabaseConnectorId pulumi.StringInput `pulumi:"databaseConnectorId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + ManagementAgentId pulumi.StringInput `pulumi:"managementAgentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + PrivateEndPointId pulumi.StringInput `pulumi:"privateEndPointId"` +} + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput { + return i.ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutputWithContext(context.Background()) +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) +} + +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayInput is an input type that accepts GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray and GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput values. +// You can construct a concrete instance of `GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayInput` via: +// +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray{ GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs{...} } +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayInput interface { + pulumi.Input + + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailInput + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput { + return i.ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(context.Background()) +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput struct{ *pulumi.OutputState } + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput { + return o +} + +// The list of supported connection types: +// * PE: Private endpoint +// * MACS: Management agent +// * EXTERNAL: External database connector +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) ConnectorType() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail) string { + return v.ConnectorType + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) DatabaseConnectorId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail) string { + return v.DatabaseConnectorId + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) ManagementAgentId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail) string { + return v.ManagementAgentId + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) PrivateEndPointId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail) string { + return v.PrivateEndPointId + }).(pulumi.StringOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) Index(i pulumi.IntInput) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail { + return vs[0].([]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail)[vs[1].(int)] + }).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail struct { + // The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + ConnectionCredentials []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential `pulumi:"connectionCredentials"` + // The details of the Oracle Database connection string. + ConnectionStrings []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString `pulumi:"connectionStrings"` +} + +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailInput is an input type that accepts GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs and GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput values. +// You can construct a concrete instance of `GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailInput` via: +// +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs{...} +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailInput interface { + pulumi.Input + + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs struct { + // The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + ConnectionCredentials GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput `pulumi:"connectionCredentials"` + // The details of the Oracle Database connection string. + ConnectionStrings GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput `pulumi:"connectionStrings"` +} + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return i.ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(context.Background()) +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) +} + +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput is an input type that accepts GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray and GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput values. +// You can construct a concrete instance of `GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput` via: +// +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray{ GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs{...} } +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput interface { + pulumi.Input + + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailInput + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return i.ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(context.Background()) +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput struct{ *pulumi.OutputState } + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return o +} + +// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ConnectionCredentials() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail) []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + return v.ConnectionCredentials + }).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) +} + +// The details of the Oracle Database connection string. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ConnectionStrings() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail) []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + return v.ConnectionStrings + }).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) Index(i pulumi.IntInput) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail { + return vs[0].([]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail)[vs[1].(int)] + }).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential struct { + // The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + CredentialName string `pulumi:"credentialName"` + // The type of credential used to connect to the database. + CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + PasswordSecretId string `pulumi:"passwordSecretId"` + // The role of the user connecting to the database. + Role string `pulumi:"role"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + SslSecretId string `pulumi:"sslSecretId"` + // The user name used to connect to the database. + UserName string `pulumi:"userName"` +} + +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput is an input type that accepts GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs and GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput values. +// You can construct a concrete instance of `GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput` via: +// +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{...} +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput interface { + pulumi.Input + + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs struct { + // The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + CredentialName pulumi.StringInput `pulumi:"credentialName"` + // The type of credential used to connect to the database. + CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` + // The role of the user connecting to the database. + Role pulumi.StringInput `pulumi:"role"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + SslSecretId pulumi.StringInput `pulumi:"sslSecretId"` + // The user name used to connect to the database. + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return i.ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(context.Background()) +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) +} + +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput is an input type that accepts GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray and GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput values. +// You can construct a concrete instance of `GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput` via: +// +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray{ GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{...} } +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput interface { + pulumi.Input + + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return i.ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(context.Background()) +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput struct{ *pulumi.OutputState } + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return o +} + +// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) CredentialName() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.CredentialName + }).(pulumi.StringOutput) +} + +// The type of credential used to connect to the database. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) CredentialType() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.CredentialType + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.PasswordSecretId + }).(pulumi.StringOutput) +} + +// The role of the user connecting to the database. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.Role + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) SslSecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.SslSecretId + }).(pulumi.StringOutput) +} + +// The user name used to connect to the database. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.UserName + }).(pulumi.StringOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput struct{ *pulumi.OutputState } + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) Index(i pulumi.IntInput) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + return vs[0].([]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)[vs[1].(int)] + }).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString struct { + // The list of supported connection types: + // * BASIC: Basic connection details + ConnectionType string `pulumi:"connectionType"` + // The port number used to connect to the database. + Port int `pulumi:"port"` + // The protocol used to connect to the database. + Protocol string `pulumi:"protocol"` + // The service name of the database. + Service string `pulumi:"service"` +} + +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput is an input type that accepts GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs and GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput values. +// You can construct a concrete instance of `GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput` via: +// +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{...} +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput interface { + pulumi.Input + + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs struct { + // The list of supported connection types: + // * BASIC: Basic connection details + ConnectionType pulumi.StringInput `pulumi:"connectionType"` + // The port number used to connect to the database. + Port pulumi.IntInput `pulumi:"port"` + // The protocol used to connect to the database. + Protocol pulumi.StringInput `pulumi:"protocol"` + // The service name of the database. + Service pulumi.StringInput `pulumi:"service"` +} + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return i.ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(context.Background()) +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) +} + +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput is an input type that accepts GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray and GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput values. +// You can construct a concrete instance of `GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput` via: +// +// GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray{ GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{...} } +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput interface { + pulumi.Input + + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput + ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray []GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return i.ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(context.Background()) +} + +func (i GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput struct{ *pulumi.OutputState } + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return o +} + +// The list of supported connection types: +// * BASIC: Basic connection details +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ConnectionType() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) string { + return v.ConnectionType + }).(pulumi.StringOutput) +} + +// The port number used to connect to the database. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) int { + return v.Port + }).(pulumi.IntOutput) +} + +// The protocol used to connect to the database. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) string { + return v.Protocol + }).(pulumi.StringOutput) +} + +// The service name of the database. +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) string { + return v.Service + }).(pulumi.StringOutput) +} + +type GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput struct{ *pulumi.OutputState } + +func (GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ToGetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(ctx context.Context) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o +} + +func (o GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) Index(i pulumi.IntInput) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + return vs[0].([]GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)[vs[1].(int)] + }).(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) +} + type GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetail struct { // The name of the host machine. HostName string `pulumi:"hostName"` @@ -19228,6 +21761,8 @@ type GetExternalDbSystemConnectorConnectionInfoConnectionCredential struct { CredentialName string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId string `pulumi:"passwordSecretId"` // The role of the database user. @@ -19254,6 +21789,8 @@ type GetExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs struct { CredentialName pulumi.StringInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -19325,6 +21862,13 @@ func (o GetExternalDbSystemConnectorConnectionInfoConnectionCredentialOutput) Cr return o.ApplyT(func(v GetExternalDbSystemConnectorConnectionInfoConnectionCredential) string { return v.CredentialType }).(pulumi.StringOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o GetExternalDbSystemConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDbSystemConnectorConnectionInfoConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o GetExternalDbSystemConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { return o.ApplyT(func(v GetExternalDbSystemConnectorConnectionInfoConnectionCredential) string { @@ -20146,6 +22690,8 @@ type GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnect CredentialName string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId string `pulumi:"passwordSecretId"` // The role of the database user. @@ -20172,6 +22718,8 @@ type GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnect CredentialName pulumi.StringInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -20247,6 +22795,13 @@ func (o GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConn }).(pulumi.StringOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { return o.ApplyT(func(v GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential) string { @@ -22440,6 +24995,8 @@ type GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscov CredentialName string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId string `pulumi:"passwordSecretId"` // The role of the database user. @@ -22466,6 +25023,8 @@ type GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscov CredentialName pulumi.StringInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -22541,6 +25100,13 @@ func (o GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDis }).(pulumi.StringOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { return o.ApplyT(func(v GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential) string { @@ -23188,6 +25754,8 @@ type GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscov CredentialName string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId string `pulumi:"passwordSecretId"` // The role of the database user. @@ -23214,6 +25782,8 @@ type GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscov CredentialName pulumi.StringInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -23289,6 +25859,13 @@ func (o GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDis }).(pulumi.StringOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { return o.ApplyT(func(v GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredential) string { @@ -24332,6 +26909,8 @@ type GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscov CredentialName string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId string `pulumi:"passwordSecretId"` // The role of the database user. @@ -24358,6 +26937,8 @@ type GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscov CredentialName pulumi.StringInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -24433,6 +27014,13 @@ func (o GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDis }).(pulumi.StringOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { return o.ApplyT(func(v GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential) string { @@ -27140,6 +29728,8 @@ type GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConn CredentialName string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId string `pulumi:"passwordSecretId"` // The role of the database user. @@ -27166,6 +29756,8 @@ type GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConn CredentialName pulumi.StringInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -27241,6 +29833,13 @@ func (o GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorC }).(pulumi.StringOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { return o.ApplyT(func(v GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential) string { @@ -27880,6 +30479,8 @@ type GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConne CredentialName string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId string `pulumi:"passwordSecretId"` // The role of the database user. @@ -27906,6 +30507,8 @@ type GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConne CredentialName pulumi.StringInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -27981,6 +30584,13 @@ func (o GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoCo }).(pulumi.StringOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { return o.ApplyT(func(v GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential) string { @@ -29010,6 +31620,8 @@ type GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorCo CredentialName string `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId string `pulumi:"passwordSecretId"` // The role of the database user. @@ -29036,6 +31648,8 @@ type GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorCo CredentialName pulumi.StringInput `pulumi:"credentialName"` // The type of the credential for tablespace administration tasks. CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` // The role of the database user. @@ -29111,6 +31725,13 @@ func (o GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnecto }).(pulumi.StringOutput) } +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. +func (o GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. func (o GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { return o.ApplyT(func(v GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential) string { @@ -38842,6 +41463,686 @@ func (o GetManagedDatabaseCursorCacheStatementsFilterArrayOutput) Index(i pulumi }).(GetManagedDatabaseCursorCacheStatementsFilterOutput) } +type GetManagedDatabaseDbmgmtFeatureConfig struct { + // The connector details required to connect to an Oracle cloud database. + ConnectorDetails []GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail `pulumi:"connectorDetails"` + // The connection details required to connect to the database. + DatabaseConnectionDetails []GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail `pulumi:"databaseConnectionDetails"` + // The name of the Database Management feature. + Feature string `pulumi:"feature"` + // The list of statuses for Database Management features. + FeatureStatus string `pulumi:"featureStatus"` + // The Oracle license model that applies to the external database. + LicenseModel string `pulumi:"licenseModel"` +} + +// GetManagedDatabaseDbmgmtFeatureConfigInput is an input type that accepts GetManagedDatabaseDbmgmtFeatureConfigArgs and GetManagedDatabaseDbmgmtFeatureConfigOutput values. +// You can construct a concrete instance of `GetManagedDatabaseDbmgmtFeatureConfigInput` via: +// +// GetManagedDatabaseDbmgmtFeatureConfigArgs{...} +type GetManagedDatabaseDbmgmtFeatureConfigInput interface { + pulumi.Input + + ToGetManagedDatabaseDbmgmtFeatureConfigOutput() GetManagedDatabaseDbmgmtFeatureConfigOutput + ToGetManagedDatabaseDbmgmtFeatureConfigOutputWithContext(context.Context) GetManagedDatabaseDbmgmtFeatureConfigOutput +} + +type GetManagedDatabaseDbmgmtFeatureConfigArgs struct { + // The connector details required to connect to an Oracle cloud database. + ConnectorDetails GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayInput `pulumi:"connectorDetails"` + // The connection details required to connect to the database. + DatabaseConnectionDetails GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput `pulumi:"databaseConnectionDetails"` + // The name of the Database Management feature. + Feature pulumi.StringInput `pulumi:"feature"` + // The list of statuses for Database Management features. + FeatureStatus pulumi.StringInput `pulumi:"featureStatus"` + // The Oracle license model that applies to the external database. + LicenseModel pulumi.StringInput `pulumi:"licenseModel"` +} + +func (GetManagedDatabaseDbmgmtFeatureConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfig)(nil)).Elem() +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigArgs) ToGetManagedDatabaseDbmgmtFeatureConfigOutput() GetManagedDatabaseDbmgmtFeatureConfigOutput { + return i.ToGetManagedDatabaseDbmgmtFeatureConfigOutputWithContext(context.Background()) +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigArgs) ToGetManagedDatabaseDbmgmtFeatureConfigOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabaseDbmgmtFeatureConfigOutput) +} + +// GetManagedDatabaseDbmgmtFeatureConfigArrayInput is an input type that accepts GetManagedDatabaseDbmgmtFeatureConfigArray and GetManagedDatabaseDbmgmtFeatureConfigArrayOutput values. +// You can construct a concrete instance of `GetManagedDatabaseDbmgmtFeatureConfigArrayInput` via: +// +// GetManagedDatabaseDbmgmtFeatureConfigArray{ GetManagedDatabaseDbmgmtFeatureConfigArgs{...} } +type GetManagedDatabaseDbmgmtFeatureConfigArrayInput interface { + pulumi.Input + + ToGetManagedDatabaseDbmgmtFeatureConfigArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigArrayOutput + ToGetManagedDatabaseDbmgmtFeatureConfigArrayOutputWithContext(context.Context) GetManagedDatabaseDbmgmtFeatureConfigArrayOutput +} + +type GetManagedDatabaseDbmgmtFeatureConfigArray []GetManagedDatabaseDbmgmtFeatureConfigInput + +func (GetManagedDatabaseDbmgmtFeatureConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabaseDbmgmtFeatureConfig)(nil)).Elem() +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigArray) ToGetManagedDatabaseDbmgmtFeatureConfigArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigArrayOutput { + return i.ToGetManagedDatabaseDbmgmtFeatureConfigArrayOutputWithContext(context.Background()) +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigArray) ToGetManagedDatabaseDbmgmtFeatureConfigArrayOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabaseDbmgmtFeatureConfigArrayOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabaseDbmgmtFeatureConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfig)(nil)).Elem() +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigOutput) ToGetManagedDatabaseDbmgmtFeatureConfigOutput() GetManagedDatabaseDbmgmtFeatureConfigOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigOutput) ToGetManagedDatabaseDbmgmtFeatureConfigOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigOutput { + return o +} + +// The connector details required to connect to an Oracle cloud database. +func (o GetManagedDatabaseDbmgmtFeatureConfigOutput) ConnectorDetails() GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfig) []GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail { + return v.ConnectorDetails + }).(GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) +} + +// The connection details required to connect to the database. +func (o GetManagedDatabaseDbmgmtFeatureConfigOutput) DatabaseConnectionDetails() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfig) []GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail { + return v.DatabaseConnectionDetails + }).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) +} + +// The name of the Database Management feature. +func (o GetManagedDatabaseDbmgmtFeatureConfigOutput) Feature() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfig) string { return v.Feature }).(pulumi.StringOutput) +} + +// The list of statuses for Database Management features. +func (o GetManagedDatabaseDbmgmtFeatureConfigOutput) FeatureStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfig) string { return v.FeatureStatus }).(pulumi.StringOutput) +} + +// The Oracle license model that applies to the external database. +func (o GetManagedDatabaseDbmgmtFeatureConfigOutput) LicenseModel() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfig) string { return v.LicenseModel }).(pulumi.StringOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabaseDbmgmtFeatureConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabaseDbmgmtFeatureConfig)(nil)).Elem() +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigArrayOutput) ToGetManagedDatabaseDbmgmtFeatureConfigArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigArrayOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigArrayOutput) ToGetManagedDatabaseDbmgmtFeatureConfigArrayOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigArrayOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigArrayOutput) Index(i pulumi.IntInput) GetManagedDatabaseDbmgmtFeatureConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetManagedDatabaseDbmgmtFeatureConfig { + return vs[0].([]GetManagedDatabaseDbmgmtFeatureConfig)[vs[1].(int)] + }).(GetManagedDatabaseDbmgmtFeatureConfigOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail struct { + // The list of supported connection types: + // * PE: Private endpoint + // * MACS: Management agent + // * EXTERNAL: External database connector + ConnectorType string `pulumi:"connectorType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + DatabaseConnectorId string `pulumi:"databaseConnectorId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + ManagementAgentId string `pulumi:"managementAgentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + PrivateEndPointId string `pulumi:"privateEndPointId"` +} + +// GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailInput is an input type that accepts GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs and GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput values. +// You can construct a concrete instance of `GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailInput` via: +// +// GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs{...} +type GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailInput interface { + pulumi.Input + + ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput() GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput + ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutputWithContext(context.Context) GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput +} + +type GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs struct { + // The list of supported connection types: + // * PE: Private endpoint + // * MACS: Management agent + // * EXTERNAL: External database connector + ConnectorType pulumi.StringInput `pulumi:"connectorType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + DatabaseConnectorId pulumi.StringInput `pulumi:"databaseConnectorId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + ManagementAgentId pulumi.StringInput `pulumi:"managementAgentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + PrivateEndPointId pulumi.StringInput `pulumi:"privateEndPointId"` +} + +func (GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs) ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput() GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput { + return i.ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutputWithContext(context.Background()) +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs) ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) +} + +// GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayInput is an input type that accepts GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray and GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput values. +// You can construct a concrete instance of `GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayInput` via: +// +// GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray{ GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs{...} } +type GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayInput interface { + pulumi.Input + + ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput + ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(context.Context) GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput +} + +type GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray []GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailInput + +func (GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray) ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput { + return i.ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(context.Background()) +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray) ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput() GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput { + return o +} + +// The list of supported connection types: +// * PE: Private endpoint +// * MACS: Management agent +// * EXTERNAL: External database connector +func (o GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) ConnectorType() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail) string { return v.ConnectorType }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. +func (o GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) DatabaseConnectorId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail) string { return v.DatabaseConnectorId }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. +func (o GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) ManagementAgentId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail) string { return v.ManagementAgentId }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. +func (o GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) PrivateEndPointId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail) string { return v.PrivateEndPointId }).(pulumi.StringOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) ToGetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput) Index(i pulumi.IntInput) GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail { + return vs[0].([]GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail)[vs[1].(int)] + }).(GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail struct { + // The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + ConnectionCredentials []GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential `pulumi:"connectionCredentials"` + // The details of the Oracle Database connection string. + ConnectionStrings []GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString `pulumi:"connectionStrings"` +} + +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailInput is an input type that accepts GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs and GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput values. +// You can construct a concrete instance of `GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailInput` via: +// +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs{...} +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailInput interface { + pulumi.Input + + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs struct { + // The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + ConnectionCredentials GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput `pulumi:"connectionCredentials"` + // The details of the Oracle Database connection string. + ConnectionStrings GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput `pulumi:"connectionStrings"` +} + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return i.ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(context.Background()) +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) +} + +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput is an input type that accepts GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray and GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput values. +// You can construct a concrete instance of `GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput` via: +// +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray{ GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs{...} } +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput interface { + pulumi.Input + + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray []GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailInput + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return i.ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(context.Background()) +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return o +} + +// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ConnectionCredentials() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail) []GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + return v.ConnectionCredentials + }).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) +} + +// The details of the Oracle Database connection string. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ConnectionStrings() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail) []GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + return v.ConnectionStrings + }).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) Index(i pulumi.IntInput) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail { + return vs[0].([]GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail)[vs[1].(int)] + }).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential struct { + // The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + CredentialName string `pulumi:"credentialName"` + // The type of credential used to connect to the database. + CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + PasswordSecretId string `pulumi:"passwordSecretId"` + // The role of the user connecting to the database. + Role string `pulumi:"role"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + SslSecretId string `pulumi:"sslSecretId"` + // The user name used to connect to the database. + UserName string `pulumi:"userName"` +} + +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput is an input type that accepts GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs and GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput values. +// You can construct a concrete instance of `GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput` via: +// +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{...} +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput interface { + pulumi.Input + + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs struct { + // The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + CredentialName pulumi.StringInput `pulumi:"credentialName"` + // The type of credential used to connect to the database. + CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` + // The role of the user connecting to the database. + Role pulumi.StringInput `pulumi:"role"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + SslSecretId pulumi.StringInput `pulumi:"sslSecretId"` + // The user name used to connect to the database. + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return i.ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(context.Background()) +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) +} + +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput is an input type that accepts GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray and GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput values. +// You can construct a concrete instance of `GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput` via: +// +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray{ GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{...} } +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput interface { + pulumi.Input + + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray []GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return i.ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(context.Background()) +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return o +} + +// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) CredentialName() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.CredentialName + }).(pulumi.StringOutput) +} + +// The type of credential used to connect to the database. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) CredentialType() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.CredentialType + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.PasswordSecretId + }).(pulumi.StringOutput) +} + +// The role of the user connecting to the database. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.Role + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) SslSecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.SslSecretId + }).(pulumi.StringOutput) +} + +// The user name used to connect to the database. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.UserName + }).(pulumi.StringOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) Index(i pulumi.IntInput) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + return vs[0].([]GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)[vs[1].(int)] + }).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString struct { + // The list of supported connection types: + // * BASIC: Basic connection details + ConnectionType string `pulumi:"connectionType"` + // The port number used to connect to the database. + Port int `pulumi:"port"` + // The protocol used to connect to the database. + Protocol string `pulumi:"protocol"` + // The service name of the database. + Service string `pulumi:"service"` +} + +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput is an input type that accepts GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs and GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput values. +// You can construct a concrete instance of `GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput` via: +// +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{...} +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput interface { + pulumi.Input + + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs struct { + // The list of supported connection types: + // * BASIC: Basic connection details + ConnectionType pulumi.StringInput `pulumi:"connectionType"` + // The port number used to connect to the database. + Port pulumi.IntInput `pulumi:"port"` + // The protocol used to connect to the database. + Protocol pulumi.StringInput `pulumi:"protocol"` + // The service name of the database. + Service pulumi.StringInput `pulumi:"service"` +} + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return i.ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(context.Background()) +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) +} + +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput is an input type that accepts GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray and GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput values. +// You can construct a concrete instance of `GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput` via: +// +// GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray{ GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{...} } +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput interface { + pulumi.Input + + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput + ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray []GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return i.ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(context.Background()) +} + +func (i GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return o +} + +// The list of supported connection types: +// * BASIC: Basic connection details +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ConnectionType() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) string { + return v.ConnectionType + }).(pulumi.StringOutput) +} + +// The port number used to connect to the database. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) int { + return v.Port + }).(pulumi.IntOutput) +} + +// The protocol used to connect to the database. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) string { + return v.Protocol + }).(pulumi.StringOutput) +} + +// The service name of the database. +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) string { + return v.Service + }).(pulumi.StringOutput) +} + +type GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ToGetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(ctx context.Context) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o +} + +func (o GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) Index(i pulumi.IntInput) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + return vs[0].([]GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)[vs[1].(int)] + }).(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) +} + type GetManagedDatabaseGroupManagedDatabase struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database resides. CompartmentId string `pulumi:"compartmentId"` @@ -53939,6 +57240,8 @@ type GetManagedDatabasesManagedDatabaseCollectionItem struct { AdditionalDetails map[string]string `pulumi:"additionalDetails"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` + // The operating system of database. + DatabasePlatformName string `pulumi:"databasePlatformName"` // The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. DatabaseStatus string `pulumi:"databaseStatus"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. @@ -53949,6 +57252,8 @@ type GetManagedDatabasesManagedDatabaseCollectionItem struct { DatabaseVersion string `pulumi:"databaseVersion"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. DbSystemId string `pulumi:"dbSystemId"` + // The list of feature configurations + DbmgmtFeatureConfigs []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig `pulumi:"dbmgmtFeatureConfigs"` // 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]string `pulumi:"definedTags"` // A filter to return Managed Databases of the specified deployment type. @@ -53969,6 +57274,8 @@ type GetManagedDatabasesManagedDatabaseCollectionItem struct { ParentContainerId string `pulumi:"parentContainerId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system. StorageSystemId string `pulumi:"storageSystemId"` + // 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"}` + SystemTags map[string]string `pulumi:"systemTags"` // The date and time the Managed Database was created. TimeCreated string `pulumi:"timeCreated"` // The workload type of the Autonomous Database. @@ -53991,6 +57298,8 @@ type GetManagedDatabasesManagedDatabaseCollectionItemArgs struct { AdditionalDetails pulumi.StringMapInput `pulumi:"additionalDetails"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The operating system of database. + DatabasePlatformName pulumi.StringInput `pulumi:"databasePlatformName"` // The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. DatabaseStatus pulumi.StringInput `pulumi:"databaseStatus"` // The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. @@ -54001,6 +57310,8 @@ type GetManagedDatabasesManagedDatabaseCollectionItemArgs struct { DatabaseVersion pulumi.StringInput `pulumi:"databaseVersion"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. DbSystemId pulumi.StringInput `pulumi:"dbSystemId"` + // The list of feature configurations + DbmgmtFeatureConfigs GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayInput `pulumi:"dbmgmtFeatureConfigs"` // 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.StringMapInput `pulumi:"definedTags"` // A filter to return Managed Databases of the specified deployment type. @@ -54021,6 +57332,8 @@ type GetManagedDatabasesManagedDatabaseCollectionItemArgs struct { ParentContainerId pulumi.StringInput `pulumi:"parentContainerId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system. StorageSystemId pulumi.StringInput `pulumi:"storageSystemId"` + // 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"}` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` // The date and time the Managed Database was created. TimeCreated pulumi.StringInput `pulumi:"timeCreated"` // The workload type of the Autonomous Database. @@ -54088,6 +57401,11 @@ func (o GetManagedDatabasesManagedDatabaseCollectionItemOutput) CompartmentId() return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } +// The operating system of database. +func (o GetManagedDatabasesManagedDatabaseCollectionItemOutput) DatabasePlatformName() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItem) string { return v.DatabasePlatformName }).(pulumi.StringOutput) +} + // The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. func (o GetManagedDatabasesManagedDatabaseCollectionItemOutput) DatabaseStatus() pulumi.StringOutput { return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItem) string { return v.DatabaseStatus }).(pulumi.StringOutput) @@ -54113,6 +57431,13 @@ func (o GetManagedDatabasesManagedDatabaseCollectionItemOutput) DbSystemId() pul return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItem) string { return v.DbSystemId }).(pulumi.StringOutput) } +// The list of feature configurations +func (o GetManagedDatabasesManagedDatabaseCollectionItemOutput) DbmgmtFeatureConfigs() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItem) []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig { + return v.DbmgmtFeatureConfigs + }).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) +} + // 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 GetManagedDatabasesManagedDatabaseCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) @@ -54165,6 +57490,11 @@ func (o GetManagedDatabasesManagedDatabaseCollectionItemOutput) StorageSystemId( return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItem) string { return v.StorageSystemId }).(pulumi.StringOutput) } +// 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"}` +func (o GetManagedDatabasesManagedDatabaseCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + // The date and time the Managed Database was created. func (o GetManagedDatabasesManagedDatabaseCollectionItemOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) @@ -54195,6 +57525,698 @@ func (o GetManagedDatabasesManagedDatabaseCollectionItemArrayOutput) Index(i pul }).(GetManagedDatabasesManagedDatabaseCollectionItemOutput) } +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig struct { + // The connector details required to connect to an Oracle cloud database. + ConnectorDetails []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail `pulumi:"connectorDetails"` + // The connection details required to connect to the database. + DatabaseConnectionDetails []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail `pulumi:"databaseConnectionDetails"` + // The name of the Database Management feature. + Feature string `pulumi:"feature"` + // The list of statuses for Database Management features. + FeatureStatus string `pulumi:"featureStatus"` + // The Oracle license model that applies to the external database. + LicenseModel string `pulumi:"licenseModel"` +} + +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigInput is an input type that accepts GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArgs and GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput values. +// You can construct a concrete instance of `GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigInput` via: +// +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArgs{...} +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigInput interface { + pulumi.Input + + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutputWithContext(context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArgs struct { + // The connector details required to connect to an Oracle cloud database. + ConnectorDetails GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayInput `pulumi:"connectorDetails"` + // The connection details required to connect to the database. + DatabaseConnectionDetails GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput `pulumi:"databaseConnectionDetails"` + // The name of the Database Management feature. + Feature pulumi.StringInput `pulumi:"feature"` + // The list of statuses for Database Management features. + FeatureStatus pulumi.StringInput `pulumi:"featureStatus"` + // The Oracle license model that applies to the external database. + LicenseModel pulumi.StringInput `pulumi:"licenseModel"` +} + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig)(nil)).Elem() +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArgs) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput { + return i.ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutputWithContext(context.Background()) +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArgs) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput) +} + +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayInput is an input type that accepts GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArray and GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput values. +// You can construct a concrete instance of `GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayInput` via: +// +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArray{ GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArgs{...} } +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayInput interface { + pulumi.Input + + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutputWithContext(context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArray []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigInput + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig)(nil)).Elem() +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArray) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput { + return i.ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutputWithContext(context.Background()) +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArray) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig)(nil)).Elem() +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput { + return o +} + +// The connector details required to connect to an Oracle cloud database. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput) ConnectorDetails() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig) []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail { + return v.ConnectorDetails + }).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) +} + +// The connection details required to connect to the database. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput) DatabaseConnectionDetails() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig) []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail { + return v.DatabaseConnectionDetails + }).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) +} + +// The name of the Database Management feature. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput) Feature() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig) string { return v.Feature }).(pulumi.StringOutput) +} + +// The list of statuses for Database Management features. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput) FeatureStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig) string { + return v.FeatureStatus + }).(pulumi.StringOutput) +} + +// The Oracle license model that applies to the external database. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput) LicenseModel() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig) string { + return v.LicenseModel + }).(pulumi.StringOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig)(nil)).Elem() +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput) Index(i pulumi.IntInput) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig { + return vs[0].([]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig)[vs[1].(int)] + }).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail struct { + // The list of supported connection types: + // * PE: Private endpoint + // * MACS: Management agent + // * EXTERNAL: External database connector + ConnectorType string `pulumi:"connectorType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + DatabaseConnectorId string `pulumi:"databaseConnectorId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + ManagementAgentId string `pulumi:"managementAgentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + PrivateEndPointId string `pulumi:"privateEndPointId"` +} + +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailInput is an input type that accepts GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs and GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput values. +// You can construct a concrete instance of `GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailInput` via: +// +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs{...} +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailInput interface { + pulumi.Input + + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutputWithContext(context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs struct { + // The list of supported connection types: + // * PE: Private endpoint + // * MACS: Management agent + // * EXTERNAL: External database connector + ConnectorType pulumi.StringInput `pulumi:"connectorType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + DatabaseConnectorId pulumi.StringInput `pulumi:"databaseConnectorId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + ManagementAgentId pulumi.StringInput `pulumi:"managementAgentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + PrivateEndPointId pulumi.StringInput `pulumi:"privateEndPointId"` +} + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput { + return i.ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutputWithContext(context.Background()) +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) +} + +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayInput is an input type that accepts GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray and GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput values. +// You can construct a concrete instance of `GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayInput` via: +// +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray{ GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs{...} } +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayInput interface { + pulumi.Input + + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailInput + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput { + return i.ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(context.Background()) +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput { + return o +} + +// The list of supported connection types: +// * PE: Private endpoint +// * MACS: Management agent +// * EXTERNAL: External database connector +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) ConnectorType() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail) string { + return v.ConnectorType + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) DatabaseConnectorId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail) string { + return v.DatabaseConnectorId + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) ManagementAgentId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail) string { + return v.ManagementAgentId + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) PrivateEndPointId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail) string { + return v.PrivateEndPointId + }).(pulumi.StringOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail)(nil)).Elem() +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput) Index(i pulumi.IntInput) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail { + return vs[0].([]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail)[vs[1].(int)] + }).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail struct { + // The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + ConnectionCredentials []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential `pulumi:"connectionCredentials"` + // The details of the Oracle Database connection string. + ConnectionStrings []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString `pulumi:"connectionStrings"` +} + +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailInput is an input type that accepts GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs and GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput values. +// You can construct a concrete instance of `GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailInput` via: +// +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs{...} +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailInput interface { + pulumi.Input + + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs struct { + // The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + ConnectionCredentials GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput `pulumi:"connectionCredentials"` + // The details of the Oracle Database connection string. + ConnectionStrings GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput `pulumi:"connectionStrings"` +} + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return i.ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(context.Background()) +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) +} + +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput is an input type that accepts GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray and GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput values. +// You can construct a concrete instance of `GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput` via: +// +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray{ GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs{...} } +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput interface { + pulumi.Input + + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailInput + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return i.ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(context.Background()) +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return o +} + +// The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ConnectionCredentials() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail) []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + return v.ConnectionCredentials + }).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) +} + +// The details of the Oracle Database connection string. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) ConnectionStrings() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail) []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + return v.ConnectionStrings + }).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail)(nil)).Elem() +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput) Index(i pulumi.IntInput) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail { + return vs[0].([]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail)[vs[1].(int)] + }).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential struct { + // The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + CredentialName string `pulumi:"credentialName"` + // The type of credential used to connect to the database. + CredentialType string `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId string `pulumi:"namedCredentialId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + PasswordSecretId string `pulumi:"passwordSecretId"` + // The role of the user connecting to the database. + Role string `pulumi:"role"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + SslSecretId string `pulumi:"sslSecretId"` + // The user name used to connect to the database. + UserName string `pulumi:"userName"` +} + +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput is an input type that accepts GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs and GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput values. +// You can construct a concrete instance of `GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput` via: +// +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{...} +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput interface { + pulumi.Input + + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs struct { + // The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + CredentialName pulumi.StringInput `pulumi:"credentialName"` + // The type of credential used to connect to the database. + CredentialType pulumi.StringInput `pulumi:"credentialType"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + NamedCredentialId pulumi.StringInput `pulumi:"namedCredentialId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + PasswordSecretId pulumi.StringInput `pulumi:"passwordSecretId"` + // The role of the user connecting to the database. + Role pulumi.StringInput `pulumi:"role"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + SslSecretId pulumi.StringInput `pulumi:"sslSecretId"` + // The user name used to connect to the database. + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return i.ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(context.Background()) +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) +} + +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput is an input type that accepts GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray and GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput values. +// You can construct a concrete instance of `GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput` via: +// +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray{ GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{...} } +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput interface { + pulumi.Input + + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return i.ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(context.Background()) +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return o +} + +// The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) CredentialName() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.CredentialName + }).(pulumi.StringOutput) +} + +// The type of credential used to connect to the database. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) CredentialType() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.CredentialType + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) NamedCredentialId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.NamedCredentialId + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) PasswordSecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.PasswordSecretId + }).(pulumi.StringOutput) +} + +// The role of the user connecting to the database. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) Role() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.Role + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) SslSecretId() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.SslSecretId + }).(pulumi.StringOutput) +} + +// The user name used to connect to the database. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential) string { + return v.UserName + }).(pulumi.StringOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)(nil)).Elem() +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput) Index(i pulumi.IntInput) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + return vs[0].([]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential)[vs[1].(int)] + }).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString struct { + // The list of supported connection types: + // * BASIC: Basic connection details + ConnectionType string `pulumi:"connectionType"` + // The port number used to connect to the database. + Port int `pulumi:"port"` + // The protocol used to connect to the database. + Protocol string `pulumi:"protocol"` + // The service name of the database. + Service string `pulumi:"service"` +} + +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput is an input type that accepts GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs and GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput values. +// You can construct a concrete instance of `GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput` via: +// +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{...} +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput interface { + pulumi.Input + + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs struct { + // The list of supported connection types: + // * BASIC: Basic connection details + ConnectionType pulumi.StringInput `pulumi:"connectionType"` + // The port number used to connect to the database. + Port pulumi.IntInput `pulumi:"port"` + // The protocol used to connect to the database. + Protocol pulumi.StringInput `pulumi:"protocol"` + // The service name of the database. + Service pulumi.StringInput `pulumi:"service"` +} + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return i.ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(context.Background()) +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) +} + +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput is an input type that accepts GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray and GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput values. +// You can construct a concrete instance of `GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput` via: +// +// GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray{ GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{...} } +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput interface { + pulumi.Input + + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput + ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray []GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return i.ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(context.Background()) +} + +func (i GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return o +} + +// The list of supported connection types: +// * BASIC: Basic connection details +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) ConnectionType() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) string { + return v.ConnectionType + }).(pulumi.StringOutput) +} + +// The port number used to connect to the database. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) int { + return v.Port + }).(pulumi.IntOutput) +} + +// The protocol used to connect to the database. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Protocol() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) string { + return v.Protocol + }).(pulumi.StringOutput) +} + +// The service name of the database. +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) Service() pulumi.StringOutput { + return o.ApplyT(func(v GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString) string { + return v.Service + }).(pulumi.StringOutput) +} + +type GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput struct{ *pulumi.OutputState } + +func (GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)(nil)).Elem() +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput() GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) ToGetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutputWithContext(ctx context.Context) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput { + return o +} + +func (o GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput) Index(i pulumi.IntInput) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + return vs[0].([]GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString)[vs[1].(int)] + }).(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput) +} + type GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroup struct { // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. CompartmentId string `pulumi:"compartmentId"` @@ -57650,6 +61672,16 @@ func (o GetNamedCredentialsNamedCredentialCollectionItemContentArrayOutput) Inde } func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrInput)(nil)).Elem(), AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DatabaseDbmFeaturesManagementFeatureDetailsInput)(nil)).Elem(), DatabaseDbmFeaturesManagementFeatureDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DatabaseDbmFeaturesManagementFeatureDetailsPtrInput)(nil)).Elem(), DatabaseDbmFeaturesManagementFeatureDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsInput)(nil)).Elem(), DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs{}) @@ -57768,6 +61800,16 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsPtrInput)(nil)).Elem(), ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsInput)(nil)).Elem(), ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrInput)(nil)).Elem(), ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigInput)(nil)).Elem(), ManagedDatabaseDbmgmtFeatureConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigArrayInput)(nil)).Elem(), ManagedDatabaseDbmgmtFeatureConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigConnectorDetailInput)(nil)).Elem(), ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayInput)(nil)).Elem(), ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailInput)(nil)).Elem(), ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput)(nil)).Elem(), ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput)(nil)).Elem(), ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput)(nil)).Elem(), ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput)(nil)).Elem(), ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput)(nil)).Elem(), ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseGroupManagedDatabaseInput)(nil)).Elem(), ManagedDatabaseGroupManagedDatabaseArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseGroupManagedDatabaseArrayInput)(nil)).Elem(), ManagedDatabaseGroupManagedDatabaseArray{}) pulumi.RegisterInputType(reflect.TypeOf((*ManagedDatabaseManagedDatabaseGroupInput)(nil)).Elem(), ManagedDatabaseManagedDatabaseGroupArgs{}) @@ -57872,6 +61914,16 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoArrayInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoArrayInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailArrayInput)(nil)).Elem(), GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetExternalDatabasesFilterInput)(nil)).Elem(), GetExternalDatabasesFilterArgs{}) @@ -58154,6 +62206,16 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemArrayInput)(nil)).Elem(), GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseCursorCacheStatementsFilterInput)(nil)).Elem(), GetManagedDatabaseCursorCacheStatementsFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseCursorCacheStatementsFilterArrayInput)(nil)).Elem(), GetManagedDatabaseCursorCacheStatementsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigInput)(nil)).Elem(), GetManagedDatabaseDbmgmtFeatureConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigArrayInput)(nil)).Elem(), GetManagedDatabaseDbmgmtFeatureConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailInput)(nil)).Elem(), GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayInput)(nil)).Elem(), GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailInput)(nil)).Elem(), GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput)(nil)).Elem(), GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput)(nil)).Elem(), GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput)(nil)).Elem(), GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput)(nil)).Elem(), GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput)(nil)).Elem(), GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseGroupManagedDatabaseInput)(nil)).Elem(), GetManagedDatabaseGroupManagedDatabaseArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseGroupManagedDatabaseArrayInput)(nil)).Elem(), GetManagedDatabaseGroupManagedDatabaseArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabaseGroupsFilterInput)(nil)).Elem(), GetManagedDatabaseGroupsFilterArgs{}) @@ -58378,6 +62440,16 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionArrayInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemArrayInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroupInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroupArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroupArrayInput)(nil)).Elem(), GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroupArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetManagedDatabasesUserProxyUserItemInput)(nil)).Elem(), GetManagedDatabasesUserProxyUserItemArgs{}) @@ -58428,6 +62500,16 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetNamedCredentialsNamedCredentialCollectionItemArrayInput)(nil)).Elem(), GetNamedCredentialsNamedCredentialCollectionItemArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNamedCredentialsNamedCredentialCollectionItemContentInput)(nil)).Elem(), GetNamedCredentialsNamedCredentialCollectionItemContentArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetNamedCredentialsNamedCredentialCollectionItemContentArrayInput)(nil)).Elem(), GetNamedCredentialsNamedCredentialCollectionItemContentArray{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsPtrOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsPtrOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsPtrOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPtrOutput{}) pulumi.RegisterOutputType(DatabaseDbmFeaturesManagementFeatureDetailsOutput{}) pulumi.RegisterOutputType(DatabaseDbmFeaturesManagementFeatureDetailsPtrOutput{}) pulumi.RegisterOutputType(DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput{}) @@ -58546,6 +62628,16 @@ func init() { pulumi.RegisterOutputType(ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsPtrOutput{}) pulumi.RegisterOutputType(ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsOutput{}) pulumi.RegisterOutputType(ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsPtrOutput{}) + pulumi.RegisterOutputType(ManagedDatabaseDbmgmtFeatureConfigOutput{}) + pulumi.RegisterOutputType(ManagedDatabaseDbmgmtFeatureConfigArrayOutput{}) + pulumi.RegisterOutputType(ManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput{}) + pulumi.RegisterOutputType(ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput{}) + pulumi.RegisterOutputType(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput{}) + pulumi.RegisterOutputType(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput{}) + pulumi.RegisterOutputType(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput{}) + pulumi.RegisterOutputType(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput{}) + pulumi.RegisterOutputType(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput{}) + pulumi.RegisterOutputType(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput{}) pulumi.RegisterOutputType(ManagedDatabaseGroupManagedDatabaseOutput{}) pulumi.RegisterOutputType(ManagedDatabaseGroupManagedDatabaseArrayOutput{}) pulumi.RegisterOutputType(ManagedDatabaseManagedDatabaseGroupOutput{}) @@ -58650,6 +62742,16 @@ func init() { pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoArrayOutput{}) pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoOutput{}) pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoArrayOutput{}) + pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigOutput{}) + pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput{}) + pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput{}) + pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput{}) + pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput{}) + pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput{}) + pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput{}) + pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput{}) + pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput{}) + pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput{}) pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailOutput{}) pulumi.RegisterOutputType(GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailArrayOutput{}) pulumi.RegisterOutputType(GetExternalDatabasesFilterOutput{}) @@ -58932,6 +63034,16 @@ func init() { pulumi.RegisterOutputType(GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemArrayOutput{}) pulumi.RegisterOutputType(GetManagedDatabaseCursorCacheStatementsFilterOutput{}) pulumi.RegisterOutputType(GetManagedDatabaseCursorCacheStatementsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetManagedDatabaseDbmgmtFeatureConfigOutput{}) + pulumi.RegisterOutputType(GetManagedDatabaseDbmgmtFeatureConfigArrayOutput{}) + pulumi.RegisterOutputType(GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailOutput{}) + pulumi.RegisterOutputType(GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArrayOutput{}) + pulumi.RegisterOutputType(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailOutput{}) + pulumi.RegisterOutputType(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput{}) + pulumi.RegisterOutputType(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput{}) + pulumi.RegisterOutputType(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput{}) + pulumi.RegisterOutputType(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput{}) + pulumi.RegisterOutputType(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput{}) pulumi.RegisterOutputType(GetManagedDatabaseGroupManagedDatabaseOutput{}) pulumi.RegisterOutputType(GetManagedDatabaseGroupManagedDatabaseArrayOutput{}) pulumi.RegisterOutputType(GetManagedDatabaseGroupsFilterOutput{}) @@ -59156,6 +63268,16 @@ func init() { pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionArrayOutput{}) pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemOutput{}) pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigOutput{}) + pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArrayOutput{}) + pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailOutput{}) + pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArrayOutput{}) + pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailOutput{}) + pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArrayOutput{}) + pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialOutput{}) + pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArrayOutput{}) + pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringOutput{}) + pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArrayOutput{}) pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroupOutput{}) pulumi.RegisterOutputType(GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroupArrayOutput{}) pulumi.RegisterOutputType(GetManagedDatabasesUserProxyUserItemOutput{}) diff --git a/sdk/go/oci/datasafe/databaseSecurityConfigManagement.go b/sdk/go/oci/datasafe/databaseSecurityConfigManagement.go index 4213125156..3e02d06e92 100644 --- a/sdk/go/oci/datasafe/databaseSecurityConfigManagement.go +++ b/sdk/go/oci/datasafe/databaseSecurityConfigManagement.go @@ -11,23 +11,87 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +// This resource provides the Database Security Config Management resource in Oracle Cloud Infrastructure Data Safe service. +// +// Updates the database security configuration. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataSafe.NewDatabaseSecurityConfigManagement(ctx, "test_database_security_config_management", &DataSafe.DatabaseSecurityConfigManagementArgs{ +// CompartmentId: pulumi.Any(compartmentId), +// TargetId: pulumi.Any(testTargetDatabase.Id), +// DefinedTags: pulumi.StringMap{ +// "Operations.CostCenter": pulumi.String("42"), +// }, +// Description: pulumi.Any(databaseSecurityConfigManagementDescription), +// DisplayName: pulumi.Any(databaseSecurityConfigManagementDisplayName), +// FreeformTags: pulumi.StringMap{ +// "Department": pulumi.String("Finance"), +// }, +// SqlFirewallConfig: &datasafe.DatabaseSecurityConfigManagementSqlFirewallConfigArgs{ +// ExcludeJob: pulumi.Any(databaseSecurityConfigManagementSqlFirewallConfigExcludeJob), +// Status: pulumi.Any(databaseSecurityConfigManagementSqlFirewallConfigStatus), +// ViolationLogAutoPurge: pulumi.Any(databaseSecurityConfigManagementSqlFirewallConfigViolationLogAutoPurge), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Import is not supported for this resource. type DatabaseSecurityConfigManagement struct { pulumi.CustomResourceState - CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` - DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` - Description pulumi.StringOutput `pulumi:"description"` - DisplayName pulumi.StringOutput `pulumi:"displayName"` - FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` - LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` - RefreshTrigger pulumi.BoolPtrOutput `pulumi:"refreshTrigger"` + // (Updatable) The OCID of the compartment containing the database security config. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // (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.StringMapOutput `pulumi:"definedTags"` + // (Updatable) The description of the security policy. + Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + 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.StringMapOutput `pulumi:"freeformTags"` + // Details about the current state of the database security config in Data Safe. + LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` + // (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 + RefreshTrigger pulumi.BoolPtrOutput `pulumi:"refreshTrigger"` + // (Updatable) Details to update the SQL firewall config. SqlFirewallConfig DatabaseSecurityConfigManagementSqlFirewallConfigOutput `pulumi:"sqlFirewallConfig"` - State pulumi.StringOutput `pulumi:"state"` - SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` - TargetId pulumi.StringPtrOutput `pulumi:"targetId"` - TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` - TimeLastRefreshed pulumi.StringOutput `pulumi:"timeLastRefreshed"` - TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` + // The current state of the database security config. + State pulumi.StringOutput `pulumi:"state"` + // 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"}` + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` + // Unique target identifier. + TargetId pulumi.StringPtrOutput `pulumi:"targetId"` + // The time that the database security config was created, in the format defined by RFC3339. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The last date and time the database security config was refreshed, in the format defined by RFC3339. + TimeLastRefreshed pulumi.StringOutput `pulumi:"timeLastRefreshed"` + // The date and time the database security configuration was last updated, in the format defined by RFC3339. + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` } // NewDatabaseSecurityConfigManagement registers a new resource with the given unique name, arguments, and options. @@ -60,37 +124,71 @@ func GetDatabaseSecurityConfigManagement(ctx *pulumi.Context, // Input properties used for looking up and filtering DatabaseSecurityConfigManagement resources. type databaseSecurityConfigManagementState struct { - CompartmentId *string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - Description *string `pulumi:"description"` - DisplayName *string `pulumi:"displayName"` - FreeformTags map[string]string `pulumi:"freeformTags"` - LifecycleDetails *string `pulumi:"lifecycleDetails"` - RefreshTrigger *bool `pulumi:"refreshTrigger"` + // (Updatable) The OCID of the compartment containing the database security config. + CompartmentId *string `pulumi:"compartmentId"` + // (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]string `pulumi:"definedTags"` + // (Updatable) The description of the security policy. + Description *string `pulumi:"description"` + // (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + 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]string `pulumi:"freeformTags"` + // Details about the current state of the database security config in Data Safe. + LifecycleDetails *string `pulumi:"lifecycleDetails"` + // (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 + RefreshTrigger *bool `pulumi:"refreshTrigger"` + // (Updatable) Details to update the SQL firewall config. SqlFirewallConfig *DatabaseSecurityConfigManagementSqlFirewallConfig `pulumi:"sqlFirewallConfig"` - State *string `pulumi:"state"` - SystemTags map[string]string `pulumi:"systemTags"` - TargetId *string `pulumi:"targetId"` - TimeCreated *string `pulumi:"timeCreated"` - TimeLastRefreshed *string `pulumi:"timeLastRefreshed"` - TimeUpdated *string `pulumi:"timeUpdated"` + // The current state of the database security config. + State *string `pulumi:"state"` + // 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"}` + SystemTags map[string]string `pulumi:"systemTags"` + // Unique target identifier. + TargetId *string `pulumi:"targetId"` + // The time that the database security config was created, in the format defined by RFC3339. + TimeCreated *string `pulumi:"timeCreated"` + // The last date and time the database security config was refreshed, in the format defined by RFC3339. + TimeLastRefreshed *string `pulumi:"timeLastRefreshed"` + // The date and time the database security configuration was last updated, in the format defined by RFC3339. + TimeUpdated *string `pulumi:"timeUpdated"` } type DatabaseSecurityConfigManagementState struct { - CompartmentId pulumi.StringPtrInput - DefinedTags pulumi.StringMapInput - Description pulumi.StringPtrInput - DisplayName pulumi.StringPtrInput - FreeformTags pulumi.StringMapInput - LifecycleDetails pulumi.StringPtrInput - RefreshTrigger pulumi.BoolPtrInput + // (Updatable) The OCID of the compartment containing the database security config. + CompartmentId pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) The description of the security policy. + Description pulumi.StringPtrInput + // (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + 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.StringMapInput + // Details about the current state of the database security config in Data Safe. + LifecycleDetails pulumi.StringPtrInput + // (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 + RefreshTrigger pulumi.BoolPtrInput + // (Updatable) Details to update the SQL firewall config. SqlFirewallConfig DatabaseSecurityConfigManagementSqlFirewallConfigPtrInput - State pulumi.StringPtrInput - SystemTags pulumi.StringMapInput - TargetId pulumi.StringPtrInput - TimeCreated pulumi.StringPtrInput + // The current state of the database security config. + State pulumi.StringPtrInput + // 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"}` + SystemTags pulumi.StringMapInput + // Unique target identifier. + TargetId pulumi.StringPtrInput + // The time that the database security config was created, in the format defined by RFC3339. + TimeCreated pulumi.StringPtrInput + // The last date and time the database security config was refreshed, in the format defined by RFC3339. TimeLastRefreshed pulumi.StringPtrInput - TimeUpdated pulumi.StringPtrInput + // The date and time the database security configuration was last updated, in the format defined by RFC3339. + TimeUpdated pulumi.StringPtrInput } func (DatabaseSecurityConfigManagementState) ElementType() reflect.Type { @@ -98,26 +196,48 @@ func (DatabaseSecurityConfigManagementState) ElementType() reflect.Type { } type databaseSecurityConfigManagementArgs struct { - CompartmentId *string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - Description *string `pulumi:"description"` - DisplayName *string `pulumi:"displayName"` - FreeformTags map[string]string `pulumi:"freeformTags"` - RefreshTrigger *bool `pulumi:"refreshTrigger"` + // (Updatable) The OCID of the compartment containing the database security config. + CompartmentId *string `pulumi:"compartmentId"` + // (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]string `pulumi:"definedTags"` + // (Updatable) The description of the security policy. + Description *string `pulumi:"description"` + // (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + 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]string `pulumi:"freeformTags"` + // (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 + RefreshTrigger *bool `pulumi:"refreshTrigger"` + // (Updatable) Details to update the SQL firewall config. SqlFirewallConfig *DatabaseSecurityConfigManagementSqlFirewallConfig `pulumi:"sqlFirewallConfig"` - TargetId *string `pulumi:"targetId"` + // Unique target identifier. + TargetId *string `pulumi:"targetId"` } // The set of arguments for constructing a DatabaseSecurityConfigManagement resource. type DatabaseSecurityConfigManagementArgs struct { - CompartmentId pulumi.StringPtrInput - DefinedTags pulumi.StringMapInput - Description pulumi.StringPtrInput - DisplayName pulumi.StringPtrInput - FreeformTags pulumi.StringMapInput - RefreshTrigger pulumi.BoolPtrInput + // (Updatable) The OCID of the compartment containing the database security config. + CompartmentId pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) The description of the security policy. + Description pulumi.StringPtrInput + // (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + 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.StringMapInput + // (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 + RefreshTrigger pulumi.BoolPtrInput + // (Updatable) Details to update the SQL firewall config. SqlFirewallConfig DatabaseSecurityConfigManagementSqlFirewallConfigPtrInput - TargetId pulumi.StringPtrInput + // Unique target identifier. + TargetId pulumi.StringPtrInput } func (DatabaseSecurityConfigManagementArgs) ElementType() reflect.Type { @@ -207,60 +327,77 @@ func (o DatabaseSecurityConfigManagementOutput) ToDatabaseSecurityConfigManageme return o } +// (Updatable) The OCID of the compartment containing the database security config. func (o DatabaseSecurityConfigManagementOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) } +// (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"}` func (o DatabaseSecurityConfigManagementOutput) DefinedTags() pulumi.StringMapOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) } +// (Updatable) The description of the security policy. func (o DatabaseSecurityConfigManagementOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } +// (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. func (o DatabaseSecurityConfigManagementOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } +// (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 DatabaseSecurityConfigManagementOutput) FreeformTags() pulumi.StringMapOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) } +// Details about the current state of the database security config in Data Safe. func (o DatabaseSecurityConfigManagementOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) } +// (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 DatabaseSecurityConfigManagementOutput) RefreshTrigger() pulumi.BoolPtrOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.BoolPtrOutput { return v.RefreshTrigger }).(pulumi.BoolPtrOutput) } +// (Updatable) Details to update the SQL firewall config. func (o DatabaseSecurityConfigManagementOutput) SqlFirewallConfig() DatabaseSecurityConfigManagementSqlFirewallConfigOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) DatabaseSecurityConfigManagementSqlFirewallConfigOutput { return v.SqlFirewallConfig }).(DatabaseSecurityConfigManagementSqlFirewallConfigOutput) } +// The current state of the database security config. func (o DatabaseSecurityConfigManagementOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// 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"}` func (o DatabaseSecurityConfigManagementOutput) SystemTags() pulumi.StringMapOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) } +// Unique target identifier. func (o DatabaseSecurityConfigManagementOutput) TargetId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringPtrOutput { return v.TargetId }).(pulumi.StringPtrOutput) } +// The time that the database security config was created, in the format defined by RFC3339. func (o DatabaseSecurityConfigManagementOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) } +// The last date and time the database security config was refreshed, in the format defined by RFC3339. func (o DatabaseSecurityConfigManagementOutput) TimeLastRefreshed() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringOutput { return v.TimeLastRefreshed }).(pulumi.StringOutput) } +// The date and time the database security configuration was last updated, in the format defined by RFC3339. func (o DatabaseSecurityConfigManagementOutput) TimeUpdated() pulumi.StringOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagement) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/datasafe/init.go b/sdk/go/oci/datasafe/init.go index c990bbe843..6101d80be5 100644 --- a/sdk/go/oci/datasafe/init.go +++ b/sdk/go/oci/datasafe/init.go @@ -73,6 +73,10 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &MaskingPoliciesMaskingColumn{} case "oci:DataSafe/maskingPolicy:MaskingPolicy": r = &MaskingPolicy{} + case "oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement": + r = &MaskingPolicyHealthReportManagement{} + case "oci:DataSafe/maskingReportManagement:MaskingReportManagement": + r = &MaskingReportManagement{} case "oci:DataSafe/onPremConnector:OnPremConnector": r = &OnPremConnector{} case "oci:DataSafe/report:Report": @@ -101,8 +105,12 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &SensitiveType{} case "oci:DataSafe/setSecurityAssessmentBaseline:SetSecurityAssessmentBaseline": r = &SetSecurityAssessmentBaseline{} + case "oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement": + r = &SetSecurityAssessmentBaselineManagement{} case "oci:DataSafe/setUserAssessmentBaseline:SetUserAssessmentBaseline": r = &SetUserAssessmentBaseline{} + case "oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement": + r = &SetUserAssessmentBaselineManagement{} case "oci:DataSafe/sqlCollection:SqlCollection": r = &SqlCollection{} case "oci:DataSafe/sqlFirewallPolicy:SqlFirewallPolicy": @@ -117,8 +125,12 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &TargetDatabasePeerTargetDatabase{} case "oci:DataSafe/unsetSecurityAssessmentBaseline:UnsetSecurityAssessmentBaseline": r = &UnsetSecurityAssessmentBaseline{} + case "oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement": + r = &UnsetSecurityAssessmentBaselineManagement{} case "oci:DataSafe/unsetUserAssessmentBaseline:UnsetUserAssessmentBaseline": r = &UnsetUserAssessmentBaseline{} + case "oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement": + r = &UnsetUserAssessmentBaselineManagement{} case "oci:DataSafe/userAssessment:UserAssessment": r = &UserAssessment{} default: @@ -264,6 +276,16 @@ func init() { "DataSafe/maskingPolicy", &module{version}, ) + pulumi.RegisterResourceModule( + "oci", + "DataSafe/maskingPolicyHealthReportManagement", + &module{version}, + ) + pulumi.RegisterResourceModule( + "oci", + "DataSafe/maskingReportManagement", + &module{version}, + ) pulumi.RegisterResourceModule( "oci", "DataSafe/onPremConnector", @@ -334,11 +356,21 @@ func init() { "DataSafe/setSecurityAssessmentBaseline", &module{version}, ) + pulumi.RegisterResourceModule( + "oci", + "DataSafe/setSecurityAssessmentBaselineManagement", + &module{version}, + ) pulumi.RegisterResourceModule( "oci", "DataSafe/setUserAssessmentBaseline", &module{version}, ) + pulumi.RegisterResourceModule( + "oci", + "DataSafe/setUserAssessmentBaselineManagement", + &module{version}, + ) pulumi.RegisterResourceModule( "oci", "DataSafe/sqlCollection", @@ -374,11 +406,21 @@ func init() { "DataSafe/unsetSecurityAssessmentBaseline", &module{version}, ) + pulumi.RegisterResourceModule( + "oci", + "DataSafe/unsetSecurityAssessmentBaselineManagement", + &module{version}, + ) pulumi.RegisterResourceModule( "oci", "DataSafe/unsetUserAssessmentBaseline", &module{version}, ) + pulumi.RegisterResourceModule( + "oci", + "DataSafe/unsetUserAssessmentBaselineManagement", + &module{version}, + ) pulumi.RegisterResourceModule( "oci", "DataSafe/userAssessment", diff --git a/sdk/go/oci/datasafe/maskingPolicyHealthReportManagement.go b/sdk/go/oci/datasafe/maskingPolicyHealthReportManagement.go new file mode 100644 index 0000000000..bbd84c9f32 --- /dev/null +++ b/sdk/go/oci/datasafe/maskingPolicyHealthReportManagement.go @@ -0,0 +1,347 @@ +// 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 datasafe + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This resource provides Pre-masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. +// +// Gets the details of the specified pre-masking health report. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataSafe.NewMaskingPolicyHealthReportManagement(ctx, "test_pre_masking_report_management", &DataSafe.MaskingPolicyHealthReportManagementArgs{ +// TargetId: pulumi.Any(testTargetDatabase.Id), +// MaskingPolicyId: pulumi.Any(testMaskingPolicy.Id), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Import is not supported for this resource. +type MaskingPolicyHealthReportManagement struct { + pulumi.CustomResourceState + + // The OCID of the compartment that contains the masking report. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` + // Description for the pre-masking report, + Description pulumi.StringOutput `pulumi:"description"` + // The display name of the pre-masking report, + DisplayName pulumi.StringOutput `pulumi:"displayName"` + FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` + // The OCID of the masking policy. + MaskingPolicyId pulumi.StringOutput `pulumi:"maskingPolicyId"` + // The current state of the pre-masking report. + State pulumi.StringOutput `pulumi:"state"` + // The OCID of the target database masked. + TargetId pulumi.StringOutput `pulumi:"targetId"` + // The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` +} + +// NewMaskingPolicyHealthReportManagement registers a new resource with the given unique name, arguments, and options. +func NewMaskingPolicyHealthReportManagement(ctx *pulumi.Context, + name string, args *MaskingPolicyHealthReportManagementArgs, opts ...pulumi.ResourceOption) (*MaskingPolicyHealthReportManagement, error) { + if args == nil { + args = &MaskingPolicyHealthReportManagementArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + var resource MaskingPolicyHealthReportManagement + err := ctx.RegisterResource("oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMaskingPolicyHealthReportManagement gets an existing MaskingPolicyHealthReportManagement 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 GetMaskingPolicyHealthReportManagement(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MaskingPolicyHealthReportManagementState, opts ...pulumi.ResourceOption) (*MaskingPolicyHealthReportManagement, error) { + var resource MaskingPolicyHealthReportManagement + err := ctx.ReadResource("oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MaskingPolicyHealthReportManagement resources. +type maskingPolicyHealthReportManagementState struct { + // The OCID of the compartment that contains the masking report. + CompartmentId *string `pulumi:"compartmentId"` + DefinedTags map[string]string `pulumi:"definedTags"` + // Description for the pre-masking report, + Description *string `pulumi:"description"` + // The display name of the pre-masking report, + DisplayName *string `pulumi:"displayName"` + FreeformTags map[string]string `pulumi:"freeformTags"` + // The OCID of the masking policy. + MaskingPolicyId *string `pulumi:"maskingPolicyId"` + // The current state of the pre-masking report. + State *string `pulumi:"state"` + // The OCID of the target database masked. + TargetId *string `pulumi:"targetId"` + // The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + TimeCreated *string `pulumi:"timeCreated"` + // The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + TimeUpdated *string `pulumi:"timeUpdated"` +} + +type MaskingPolicyHealthReportManagementState struct { + // The OCID of the compartment that contains the masking report. + CompartmentId pulumi.StringPtrInput + DefinedTags pulumi.StringMapInput + // Description for the pre-masking report, + Description pulumi.StringPtrInput + // The display name of the pre-masking report, + DisplayName pulumi.StringPtrInput + FreeformTags pulumi.StringMapInput + // The OCID of the masking policy. + MaskingPolicyId pulumi.StringPtrInput + // The current state of the pre-masking report. + State pulumi.StringPtrInput + // The OCID of the target database masked. + TargetId pulumi.StringPtrInput + // The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + TimeCreated pulumi.StringPtrInput + // The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + TimeUpdated pulumi.StringPtrInput +} + +func (MaskingPolicyHealthReportManagementState) ElementType() reflect.Type { + return reflect.TypeOf((*maskingPolicyHealthReportManagementState)(nil)).Elem() +} + +type maskingPolicyHealthReportManagementArgs struct { + // The OCID of the compartment that contains the masking report. + CompartmentId *string `pulumi:"compartmentId"` + // The OCID of the masking policy. + MaskingPolicyId *string `pulumi:"maskingPolicyId"` + // The OCID of the target database masked. + TargetId *string `pulumi:"targetId"` +} + +// The set of arguments for constructing a MaskingPolicyHealthReportManagement resource. +type MaskingPolicyHealthReportManagementArgs struct { + // The OCID of the compartment that contains the masking report. + CompartmentId pulumi.StringPtrInput + // The OCID of the masking policy. + MaskingPolicyId pulumi.StringPtrInput + // The OCID of the target database masked. + TargetId pulumi.StringPtrInput +} + +func (MaskingPolicyHealthReportManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*maskingPolicyHealthReportManagementArgs)(nil)).Elem() +} + +type MaskingPolicyHealthReportManagementInput interface { + pulumi.Input + + ToMaskingPolicyHealthReportManagementOutput() MaskingPolicyHealthReportManagementOutput + ToMaskingPolicyHealthReportManagementOutputWithContext(ctx context.Context) MaskingPolicyHealthReportManagementOutput +} + +func (*MaskingPolicyHealthReportManagement) ElementType() reflect.Type { + return reflect.TypeOf((**MaskingPolicyHealthReportManagement)(nil)).Elem() +} + +func (i *MaskingPolicyHealthReportManagement) ToMaskingPolicyHealthReportManagementOutput() MaskingPolicyHealthReportManagementOutput { + return i.ToMaskingPolicyHealthReportManagementOutputWithContext(context.Background()) +} + +func (i *MaskingPolicyHealthReportManagement) ToMaskingPolicyHealthReportManagementOutputWithContext(ctx context.Context) MaskingPolicyHealthReportManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(MaskingPolicyHealthReportManagementOutput) +} + +// MaskingPolicyHealthReportManagementArrayInput is an input type that accepts MaskingPolicyHealthReportManagementArray and MaskingPolicyHealthReportManagementArrayOutput values. +// You can construct a concrete instance of `MaskingPolicyHealthReportManagementArrayInput` via: +// +// MaskingPolicyHealthReportManagementArray{ MaskingPolicyHealthReportManagementArgs{...} } +type MaskingPolicyHealthReportManagementArrayInput interface { + pulumi.Input + + ToMaskingPolicyHealthReportManagementArrayOutput() MaskingPolicyHealthReportManagementArrayOutput + ToMaskingPolicyHealthReportManagementArrayOutputWithContext(context.Context) MaskingPolicyHealthReportManagementArrayOutput +} + +type MaskingPolicyHealthReportManagementArray []MaskingPolicyHealthReportManagementInput + +func (MaskingPolicyHealthReportManagementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MaskingPolicyHealthReportManagement)(nil)).Elem() +} + +func (i MaskingPolicyHealthReportManagementArray) ToMaskingPolicyHealthReportManagementArrayOutput() MaskingPolicyHealthReportManagementArrayOutput { + return i.ToMaskingPolicyHealthReportManagementArrayOutputWithContext(context.Background()) +} + +func (i MaskingPolicyHealthReportManagementArray) ToMaskingPolicyHealthReportManagementArrayOutputWithContext(ctx context.Context) MaskingPolicyHealthReportManagementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MaskingPolicyHealthReportManagementArrayOutput) +} + +// MaskingPolicyHealthReportManagementMapInput is an input type that accepts MaskingPolicyHealthReportManagementMap and MaskingPolicyHealthReportManagementMapOutput values. +// You can construct a concrete instance of `MaskingPolicyHealthReportManagementMapInput` via: +// +// MaskingPolicyHealthReportManagementMap{ "key": MaskingPolicyHealthReportManagementArgs{...} } +type MaskingPolicyHealthReportManagementMapInput interface { + pulumi.Input + + ToMaskingPolicyHealthReportManagementMapOutput() MaskingPolicyHealthReportManagementMapOutput + ToMaskingPolicyHealthReportManagementMapOutputWithContext(context.Context) MaskingPolicyHealthReportManagementMapOutput +} + +type MaskingPolicyHealthReportManagementMap map[string]MaskingPolicyHealthReportManagementInput + +func (MaskingPolicyHealthReportManagementMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MaskingPolicyHealthReportManagement)(nil)).Elem() +} + +func (i MaskingPolicyHealthReportManagementMap) ToMaskingPolicyHealthReportManagementMapOutput() MaskingPolicyHealthReportManagementMapOutput { + return i.ToMaskingPolicyHealthReportManagementMapOutputWithContext(context.Background()) +} + +func (i MaskingPolicyHealthReportManagementMap) ToMaskingPolicyHealthReportManagementMapOutputWithContext(ctx context.Context) MaskingPolicyHealthReportManagementMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(MaskingPolicyHealthReportManagementMapOutput) +} + +type MaskingPolicyHealthReportManagementOutput struct{ *pulumi.OutputState } + +func (MaskingPolicyHealthReportManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MaskingPolicyHealthReportManagement)(nil)).Elem() +} + +func (o MaskingPolicyHealthReportManagementOutput) ToMaskingPolicyHealthReportManagementOutput() MaskingPolicyHealthReportManagementOutput { + return o +} + +func (o MaskingPolicyHealthReportManagementOutput) ToMaskingPolicyHealthReportManagementOutputWithContext(ctx context.Context) MaskingPolicyHealthReportManagementOutput { + return o +} + +// The OCID of the compartment that contains the masking report. +func (o MaskingPolicyHealthReportManagementOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingPolicyHealthReportManagement) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +func (o MaskingPolicyHealthReportManagementOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *MaskingPolicyHealthReportManagement) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// Description for the pre-masking report, +func (o MaskingPolicyHealthReportManagementOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingPolicyHealthReportManagement) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// The display name of the pre-masking report, +func (o MaskingPolicyHealthReportManagementOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingPolicyHealthReportManagement) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +func (o MaskingPolicyHealthReportManagementOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *MaskingPolicyHealthReportManagement) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The OCID of the masking policy. +func (o MaskingPolicyHealthReportManagementOutput) MaskingPolicyId() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingPolicyHealthReportManagement) pulumi.StringOutput { return v.MaskingPolicyId }).(pulumi.StringOutput) +} + +// The current state of the pre-masking report. +func (o MaskingPolicyHealthReportManagementOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingPolicyHealthReportManagement) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// The OCID of the target database masked. +func (o MaskingPolicyHealthReportManagementOutput) TargetId() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingPolicyHealthReportManagement) pulumi.StringOutput { return v.TargetId }).(pulumi.StringOutput) +} + +// The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), +func (o MaskingPolicyHealthReportManagementOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingPolicyHealthReportManagement) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), +func (o MaskingPolicyHealthReportManagementOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingPolicyHealthReportManagement) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type MaskingPolicyHealthReportManagementArrayOutput struct{ *pulumi.OutputState } + +func (MaskingPolicyHealthReportManagementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MaskingPolicyHealthReportManagement)(nil)).Elem() +} + +func (o MaskingPolicyHealthReportManagementArrayOutput) ToMaskingPolicyHealthReportManagementArrayOutput() MaskingPolicyHealthReportManagementArrayOutput { + return o +} + +func (o MaskingPolicyHealthReportManagementArrayOutput) ToMaskingPolicyHealthReportManagementArrayOutputWithContext(ctx context.Context) MaskingPolicyHealthReportManagementArrayOutput { + return o +} + +func (o MaskingPolicyHealthReportManagementArrayOutput) Index(i pulumi.IntInput) MaskingPolicyHealthReportManagementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MaskingPolicyHealthReportManagement { + return vs[0].([]*MaskingPolicyHealthReportManagement)[vs[1].(int)] + }).(MaskingPolicyHealthReportManagementOutput) +} + +type MaskingPolicyHealthReportManagementMapOutput struct{ *pulumi.OutputState } + +func (MaskingPolicyHealthReportManagementMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MaskingPolicyHealthReportManagement)(nil)).Elem() +} + +func (o MaskingPolicyHealthReportManagementMapOutput) ToMaskingPolicyHealthReportManagementMapOutput() MaskingPolicyHealthReportManagementMapOutput { + return o +} + +func (o MaskingPolicyHealthReportManagementMapOutput) ToMaskingPolicyHealthReportManagementMapOutputWithContext(ctx context.Context) MaskingPolicyHealthReportManagementMapOutput { + return o +} + +func (o MaskingPolicyHealthReportManagementMapOutput) MapIndex(k pulumi.StringInput) MaskingPolicyHealthReportManagementOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MaskingPolicyHealthReportManagement { + return vs[0].(map[string]*MaskingPolicyHealthReportManagement)[vs[1].(string)] + }).(MaskingPolicyHealthReportManagementOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MaskingPolicyHealthReportManagementInput)(nil)).Elem(), &MaskingPolicyHealthReportManagement{}) + pulumi.RegisterInputType(reflect.TypeOf((*MaskingPolicyHealthReportManagementArrayInput)(nil)).Elem(), MaskingPolicyHealthReportManagementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MaskingPolicyHealthReportManagementMapInput)(nil)).Elem(), MaskingPolicyHealthReportManagementMap{}) + pulumi.RegisterOutputType(MaskingPolicyHealthReportManagementOutput{}) + pulumi.RegisterOutputType(MaskingPolicyHealthReportManagementArrayOutput{}) + pulumi.RegisterOutputType(MaskingPolicyHealthReportManagementMapOutput{}) +} diff --git a/sdk/go/oci/datasafe/maskingReportManagement.go b/sdk/go/oci/datasafe/maskingReportManagement.go new file mode 100644 index 0000000000..7660ecce75 --- /dev/null +++ b/sdk/go/oci/datasafe/maskingReportManagement.go @@ -0,0 +1,443 @@ +// 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 datasafe + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This resource provides Masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. +// +// Gets the details of the specified masking report. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataSafe.NewMaskingReportManagement(ctx, "test_masking_report_management", &DataSafe.MaskingReportManagementArgs{ +// TargetId: pulumi.Any(testTargetDatabase.Id), +// MaskingPolicyId: pulumi.Any(testMaskingPolicy.Id), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Import is not supported for this resource. +type MaskingReportManagement struct { + pulumi.CustomResourceState + + // The OCID of the compartment that contains the masking report. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // Indicates if the temporary tables created during the masking operation were dropped after masking. + IsDropTempTablesEnabled pulumi.BoolOutput `pulumi:"isDropTempTablesEnabled"` + // Indicates if redo logging was enabled during the masking operation. + IsRedoLoggingEnabled pulumi.BoolOutput `pulumi:"isRedoLoggingEnabled"` + // Indicates if statistics gathering was enabled during the masking operation. + IsRefreshStatsEnabled pulumi.BoolOutput `pulumi:"isRefreshStatsEnabled"` + // The OCID of the masking policy. + MaskingPolicyId pulumi.StringOutput `pulumi:"maskingPolicyId"` + // The OCID of the masking work request that resulted in this masking report. + MaskingWorkRequestId pulumi.StringOutput `pulumi:"maskingWorkRequestId"` + // Indicates if parallel execution was enabled during the masking operation. + ParallelDegree pulumi.StringOutput `pulumi:"parallelDegree"` + // Indicates how invalid objects were recompiled post the masking operation. + Recompile pulumi.StringOutput `pulumi:"recompile"` + // The current state of the masking report. + State pulumi.StringOutput `pulumi:"state"` + // The OCID of the target database masked. + TargetId pulumi.StringOutput `pulumi:"targetId"` + // The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + TimeMaskingFinished pulumi.StringOutput `pulumi:"timeMaskingFinished"` + // The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + TimeMaskingStarted pulumi.StringOutput `pulumi:"timeMaskingStarted"` + // The total number of masked columns. + TotalMaskedColumns pulumi.StringOutput `pulumi:"totalMaskedColumns"` + // The total number of unique objects (tables and editioning views) that contain the masked columns. + TotalMaskedObjects pulumi.StringOutput `pulumi:"totalMaskedObjects"` + // The total number of unique schemas that contain the masked columns. + TotalMaskedSchemas pulumi.StringOutput `pulumi:"totalMaskedSchemas"` + // The total number of unique sensitive types associated with the masked columns. + TotalMaskedSensitiveTypes pulumi.StringOutput `pulumi:"totalMaskedSensitiveTypes"` + // The total number of masked values. + TotalMaskedValues pulumi.StringOutput `pulumi:"totalMaskedValues"` +} + +// NewMaskingReportManagement registers a new resource with the given unique name, arguments, and options. +func NewMaskingReportManagement(ctx *pulumi.Context, + name string, args *MaskingReportManagementArgs, opts ...pulumi.ResourceOption) (*MaskingReportManagement, error) { + if args == nil { + args = &MaskingReportManagementArgs{} + } + + opts = internal.PkgResourceDefaultOpts(opts) + var resource MaskingReportManagement + err := ctx.RegisterResource("oci:DataSafe/maskingReportManagement:MaskingReportManagement", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetMaskingReportManagement gets an existing MaskingReportManagement 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 GetMaskingReportManagement(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *MaskingReportManagementState, opts ...pulumi.ResourceOption) (*MaskingReportManagement, error) { + var resource MaskingReportManagement + err := ctx.ReadResource("oci:DataSafe/maskingReportManagement:MaskingReportManagement", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering MaskingReportManagement resources. +type maskingReportManagementState struct { + // The OCID of the compartment that contains the masking report. + CompartmentId *string `pulumi:"compartmentId"` + // Indicates if the temporary tables created during the masking operation were dropped after masking. + IsDropTempTablesEnabled *bool `pulumi:"isDropTempTablesEnabled"` + // Indicates if redo logging was enabled during the masking operation. + IsRedoLoggingEnabled *bool `pulumi:"isRedoLoggingEnabled"` + // Indicates if statistics gathering was enabled during the masking operation. + IsRefreshStatsEnabled *bool `pulumi:"isRefreshStatsEnabled"` + // The OCID of the masking policy. + MaskingPolicyId *string `pulumi:"maskingPolicyId"` + // The OCID of the masking work request that resulted in this masking report. + MaskingWorkRequestId *string `pulumi:"maskingWorkRequestId"` + // Indicates if parallel execution was enabled during the masking operation. + ParallelDegree *string `pulumi:"parallelDegree"` + // Indicates how invalid objects were recompiled post the masking operation. + Recompile *string `pulumi:"recompile"` + // The current state of the masking report. + State *string `pulumi:"state"` + // The OCID of the target database masked. + TargetId *string `pulumi:"targetId"` + // The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + TimeCreated *string `pulumi:"timeCreated"` + // The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + TimeMaskingFinished *string `pulumi:"timeMaskingFinished"` + // The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + TimeMaskingStarted *string `pulumi:"timeMaskingStarted"` + // The total number of masked columns. + TotalMaskedColumns *string `pulumi:"totalMaskedColumns"` + // The total number of unique objects (tables and editioning views) that contain the masked columns. + TotalMaskedObjects *string `pulumi:"totalMaskedObjects"` + // The total number of unique schemas that contain the masked columns. + TotalMaskedSchemas *string `pulumi:"totalMaskedSchemas"` + // The total number of unique sensitive types associated with the masked columns. + TotalMaskedSensitiveTypes *string `pulumi:"totalMaskedSensitiveTypes"` + // The total number of masked values. + TotalMaskedValues *string `pulumi:"totalMaskedValues"` +} + +type MaskingReportManagementState struct { + // The OCID of the compartment that contains the masking report. + CompartmentId pulumi.StringPtrInput + // Indicates if the temporary tables created during the masking operation were dropped after masking. + IsDropTempTablesEnabled pulumi.BoolPtrInput + // Indicates if redo logging was enabled during the masking operation. + IsRedoLoggingEnabled pulumi.BoolPtrInput + // Indicates if statistics gathering was enabled during the masking operation. + IsRefreshStatsEnabled pulumi.BoolPtrInput + // The OCID of the masking policy. + MaskingPolicyId pulumi.StringPtrInput + // The OCID of the masking work request that resulted in this masking report. + MaskingWorkRequestId pulumi.StringPtrInput + // Indicates if parallel execution was enabled during the masking operation. + ParallelDegree pulumi.StringPtrInput + // Indicates how invalid objects were recompiled post the masking operation. + Recompile pulumi.StringPtrInput + // The current state of the masking report. + State pulumi.StringPtrInput + // The OCID of the target database masked. + TargetId pulumi.StringPtrInput + // The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + TimeCreated pulumi.StringPtrInput + // The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + TimeMaskingFinished pulumi.StringPtrInput + // The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + TimeMaskingStarted pulumi.StringPtrInput + // The total number of masked columns. + TotalMaskedColumns pulumi.StringPtrInput + // The total number of unique objects (tables and editioning views) that contain the masked columns. + TotalMaskedObjects pulumi.StringPtrInput + // The total number of unique schemas that contain the masked columns. + TotalMaskedSchemas pulumi.StringPtrInput + // The total number of unique sensitive types associated with the masked columns. + TotalMaskedSensitiveTypes pulumi.StringPtrInput + // The total number of masked values. + TotalMaskedValues pulumi.StringPtrInput +} + +func (MaskingReportManagementState) ElementType() reflect.Type { + return reflect.TypeOf((*maskingReportManagementState)(nil)).Elem() +} + +type maskingReportManagementArgs struct { + // The OCID of the compartment that contains the masking report. + CompartmentId *string `pulumi:"compartmentId"` + // The OCID of the masking policy. + MaskingPolicyId *string `pulumi:"maskingPolicyId"` + // The OCID of the target database masked. + TargetId *string `pulumi:"targetId"` +} + +// The set of arguments for constructing a MaskingReportManagement resource. +type MaskingReportManagementArgs struct { + // The OCID of the compartment that contains the masking report. + CompartmentId pulumi.StringPtrInput + // The OCID of the masking policy. + MaskingPolicyId pulumi.StringPtrInput + // The OCID of the target database masked. + TargetId pulumi.StringPtrInput +} + +func (MaskingReportManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*maskingReportManagementArgs)(nil)).Elem() +} + +type MaskingReportManagementInput interface { + pulumi.Input + + ToMaskingReportManagementOutput() MaskingReportManagementOutput + ToMaskingReportManagementOutputWithContext(ctx context.Context) MaskingReportManagementOutput +} + +func (*MaskingReportManagement) ElementType() reflect.Type { + return reflect.TypeOf((**MaskingReportManagement)(nil)).Elem() +} + +func (i *MaskingReportManagement) ToMaskingReportManagementOutput() MaskingReportManagementOutput { + return i.ToMaskingReportManagementOutputWithContext(context.Background()) +} + +func (i *MaskingReportManagement) ToMaskingReportManagementOutputWithContext(ctx context.Context) MaskingReportManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(MaskingReportManagementOutput) +} + +// MaskingReportManagementArrayInput is an input type that accepts MaskingReportManagementArray and MaskingReportManagementArrayOutput values. +// You can construct a concrete instance of `MaskingReportManagementArrayInput` via: +// +// MaskingReportManagementArray{ MaskingReportManagementArgs{...} } +type MaskingReportManagementArrayInput interface { + pulumi.Input + + ToMaskingReportManagementArrayOutput() MaskingReportManagementArrayOutput + ToMaskingReportManagementArrayOutputWithContext(context.Context) MaskingReportManagementArrayOutput +} + +type MaskingReportManagementArray []MaskingReportManagementInput + +func (MaskingReportManagementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MaskingReportManagement)(nil)).Elem() +} + +func (i MaskingReportManagementArray) ToMaskingReportManagementArrayOutput() MaskingReportManagementArrayOutput { + return i.ToMaskingReportManagementArrayOutputWithContext(context.Background()) +} + +func (i MaskingReportManagementArray) ToMaskingReportManagementArrayOutputWithContext(ctx context.Context) MaskingReportManagementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MaskingReportManagementArrayOutput) +} + +// MaskingReportManagementMapInput is an input type that accepts MaskingReportManagementMap and MaskingReportManagementMapOutput values. +// You can construct a concrete instance of `MaskingReportManagementMapInput` via: +// +// MaskingReportManagementMap{ "key": MaskingReportManagementArgs{...} } +type MaskingReportManagementMapInput interface { + pulumi.Input + + ToMaskingReportManagementMapOutput() MaskingReportManagementMapOutput + ToMaskingReportManagementMapOutputWithContext(context.Context) MaskingReportManagementMapOutput +} + +type MaskingReportManagementMap map[string]MaskingReportManagementInput + +func (MaskingReportManagementMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MaskingReportManagement)(nil)).Elem() +} + +func (i MaskingReportManagementMap) ToMaskingReportManagementMapOutput() MaskingReportManagementMapOutput { + return i.ToMaskingReportManagementMapOutputWithContext(context.Background()) +} + +func (i MaskingReportManagementMap) ToMaskingReportManagementMapOutputWithContext(ctx context.Context) MaskingReportManagementMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(MaskingReportManagementMapOutput) +} + +type MaskingReportManagementOutput struct{ *pulumi.OutputState } + +func (MaskingReportManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MaskingReportManagement)(nil)).Elem() +} + +func (o MaskingReportManagementOutput) ToMaskingReportManagementOutput() MaskingReportManagementOutput { + return o +} + +func (o MaskingReportManagementOutput) ToMaskingReportManagementOutputWithContext(ctx context.Context) MaskingReportManagementOutput { + return o +} + +// The OCID of the compartment that contains the masking report. +func (o MaskingReportManagementOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Indicates if the temporary tables created during the masking operation were dropped after masking. +func (o MaskingReportManagementOutput) IsDropTempTablesEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.BoolOutput { return v.IsDropTempTablesEnabled }).(pulumi.BoolOutput) +} + +// Indicates if redo logging was enabled during the masking operation. +func (o MaskingReportManagementOutput) IsRedoLoggingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.BoolOutput { return v.IsRedoLoggingEnabled }).(pulumi.BoolOutput) +} + +// Indicates if statistics gathering was enabled during the masking operation. +func (o MaskingReportManagementOutput) IsRefreshStatsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.BoolOutput { return v.IsRefreshStatsEnabled }).(pulumi.BoolOutput) +} + +// The OCID of the masking policy. +func (o MaskingReportManagementOutput) MaskingPolicyId() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.MaskingPolicyId }).(pulumi.StringOutput) +} + +// The OCID of the masking work request that resulted in this masking report. +func (o MaskingReportManagementOutput) MaskingWorkRequestId() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.MaskingWorkRequestId }).(pulumi.StringOutput) +} + +// Indicates if parallel execution was enabled during the masking operation. +func (o MaskingReportManagementOutput) ParallelDegree() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.ParallelDegree }).(pulumi.StringOutput) +} + +// Indicates how invalid objects were recompiled post the masking operation. +func (o MaskingReportManagementOutput) Recompile() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.Recompile }).(pulumi.StringOutput) +} + +// The current state of the masking report. +func (o MaskingReportManagementOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// The OCID of the target database masked. +func (o MaskingReportManagementOutput) TargetId() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.TargetId }).(pulumi.StringOutput) +} + +// The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). +func (o MaskingReportManagementOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) +func (o MaskingReportManagementOutput) TimeMaskingFinished() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.TimeMaskingFinished }).(pulumi.StringOutput) +} + +// The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) +func (o MaskingReportManagementOutput) TimeMaskingStarted() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.TimeMaskingStarted }).(pulumi.StringOutput) +} + +// The total number of masked columns. +func (o MaskingReportManagementOutput) TotalMaskedColumns() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.TotalMaskedColumns }).(pulumi.StringOutput) +} + +// The total number of unique objects (tables and editioning views) that contain the masked columns. +func (o MaskingReportManagementOutput) TotalMaskedObjects() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.TotalMaskedObjects }).(pulumi.StringOutput) +} + +// The total number of unique schemas that contain the masked columns. +func (o MaskingReportManagementOutput) TotalMaskedSchemas() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.TotalMaskedSchemas }).(pulumi.StringOutput) +} + +// The total number of unique sensitive types associated with the masked columns. +func (o MaskingReportManagementOutput) TotalMaskedSensitiveTypes() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.TotalMaskedSensitiveTypes }).(pulumi.StringOutput) +} + +// The total number of masked values. +func (o MaskingReportManagementOutput) TotalMaskedValues() pulumi.StringOutput { + return o.ApplyT(func(v *MaskingReportManagement) pulumi.StringOutput { return v.TotalMaskedValues }).(pulumi.StringOutput) +} + +type MaskingReportManagementArrayOutput struct{ *pulumi.OutputState } + +func (MaskingReportManagementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*MaskingReportManagement)(nil)).Elem() +} + +func (o MaskingReportManagementArrayOutput) ToMaskingReportManagementArrayOutput() MaskingReportManagementArrayOutput { + return o +} + +func (o MaskingReportManagementArrayOutput) ToMaskingReportManagementArrayOutputWithContext(ctx context.Context) MaskingReportManagementArrayOutput { + return o +} + +func (o MaskingReportManagementArrayOutput) Index(i pulumi.IntInput) MaskingReportManagementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MaskingReportManagement { + return vs[0].([]*MaskingReportManagement)[vs[1].(int)] + }).(MaskingReportManagementOutput) +} + +type MaskingReportManagementMapOutput struct{ *pulumi.OutputState } + +func (MaskingReportManagementMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*MaskingReportManagement)(nil)).Elem() +} + +func (o MaskingReportManagementMapOutput) ToMaskingReportManagementMapOutput() MaskingReportManagementMapOutput { + return o +} + +func (o MaskingReportManagementMapOutput) ToMaskingReportManagementMapOutputWithContext(ctx context.Context) MaskingReportManagementMapOutput { + return o +} + +func (o MaskingReportManagementMapOutput) MapIndex(k pulumi.StringInput) MaskingReportManagementOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MaskingReportManagement { + return vs[0].(map[string]*MaskingReportManagement)[vs[1].(string)] + }).(MaskingReportManagementOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*MaskingReportManagementInput)(nil)).Elem(), &MaskingReportManagement{}) + pulumi.RegisterInputType(reflect.TypeOf((*MaskingReportManagementArrayInput)(nil)).Elem(), MaskingReportManagementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MaskingReportManagementMapInput)(nil)).Elem(), MaskingReportManagementMap{}) + pulumi.RegisterOutputType(MaskingReportManagementOutput{}) + pulumi.RegisterOutputType(MaskingReportManagementArrayOutput{}) + pulumi.RegisterOutputType(MaskingReportManagementMapOutput{}) +} diff --git a/sdk/go/oci/datasafe/pulumiTypes.go b/sdk/go/oci/datasafe/pulumiTypes.go index 0140022a74..633c6ad309 100644 --- a/sdk/go/oci/datasafe/pulumiTypes.go +++ b/sdk/go/oci/datasafe/pulumiTypes.go @@ -1670,9 +1670,13 @@ func (o DataSafeConfigurationGlobalSettingArrayOutput) Index(i pulumi.IntInput) } type DatabaseSecurityConfigManagementSqlFirewallConfig struct { - ExcludeJob *string `pulumi:"excludeJob"` - Status *string `pulumi:"status"` - TimeStatusUpdated *string `pulumi:"timeStatusUpdated"` + // (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + ExcludeJob *string `pulumi:"excludeJob"` + // (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + Status *string `pulumi:"status"` + // The most recent time when the firewall status is updated, in the format defined by RFC3339. + TimeStatusUpdated *string `pulumi:"timeStatusUpdated"` + // (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. ViolationLogAutoPurge *string `pulumi:"violationLogAutoPurge"` } @@ -1688,9 +1692,13 @@ type DatabaseSecurityConfigManagementSqlFirewallConfigInput interface { } type DatabaseSecurityConfigManagementSqlFirewallConfigArgs struct { - ExcludeJob pulumi.StringPtrInput `pulumi:"excludeJob"` - Status pulumi.StringPtrInput `pulumi:"status"` - TimeStatusUpdated pulumi.StringPtrInput `pulumi:"timeStatusUpdated"` + // (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + ExcludeJob pulumi.StringPtrInput `pulumi:"excludeJob"` + // (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + Status pulumi.StringPtrInput `pulumi:"status"` + // The most recent time when the firewall status is updated, in the format defined by RFC3339. + TimeStatusUpdated pulumi.StringPtrInput `pulumi:"timeStatusUpdated"` + // (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. ViolationLogAutoPurge pulumi.StringPtrInput `pulumi:"violationLogAutoPurge"` } @@ -1771,18 +1779,22 @@ func (o DatabaseSecurityConfigManagementSqlFirewallConfigOutput) ToDatabaseSecur }).(DatabaseSecurityConfigManagementSqlFirewallConfigPtrOutput) } +// (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. func (o DatabaseSecurityConfigManagementSqlFirewallConfigOutput) ExcludeJob() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseSecurityConfigManagementSqlFirewallConfig) *string { return v.ExcludeJob }).(pulumi.StringPtrOutput) } +// (Updatable) Specifies whether the firewall is enabled or disabled on the target database. func (o DatabaseSecurityConfigManagementSqlFirewallConfigOutput) Status() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseSecurityConfigManagementSqlFirewallConfig) *string { return v.Status }).(pulumi.StringPtrOutput) } +// The most recent time when the firewall status is updated, in the format defined by RFC3339. func (o DatabaseSecurityConfigManagementSqlFirewallConfigOutput) TimeStatusUpdated() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseSecurityConfigManagementSqlFirewallConfig) *string { return v.TimeStatusUpdated }).(pulumi.StringPtrOutput) } +// (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. func (o DatabaseSecurityConfigManagementSqlFirewallConfigOutput) ViolationLogAutoPurge() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseSecurityConfigManagementSqlFirewallConfig) *string { return v.ViolationLogAutoPurge }).(pulumi.StringPtrOutput) } @@ -1811,6 +1823,7 @@ func (o DatabaseSecurityConfigManagementSqlFirewallConfigPtrOutput) Elem() Datab }).(DatabaseSecurityConfigManagementSqlFirewallConfigOutput) } +// (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. func (o DatabaseSecurityConfigManagementSqlFirewallConfigPtrOutput) ExcludeJob() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagementSqlFirewallConfig) *string { if v == nil { @@ -1820,6 +1833,7 @@ func (o DatabaseSecurityConfigManagementSqlFirewallConfigPtrOutput) ExcludeJob() }).(pulumi.StringPtrOutput) } +// (Updatable) Specifies whether the firewall is enabled or disabled on the target database. func (o DatabaseSecurityConfigManagementSqlFirewallConfigPtrOutput) Status() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagementSqlFirewallConfig) *string { if v == nil { @@ -1829,6 +1843,7 @@ func (o DatabaseSecurityConfigManagementSqlFirewallConfigPtrOutput) Status() pul }).(pulumi.StringPtrOutput) } +// The most recent time when the firewall status is updated, in the format defined by RFC3339. func (o DatabaseSecurityConfigManagementSqlFirewallConfigPtrOutput) TimeStatusUpdated() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagementSqlFirewallConfig) *string { if v == nil { @@ -1838,6 +1853,7 @@ func (o DatabaseSecurityConfigManagementSqlFirewallConfigPtrOutput) TimeStatusUp }).(pulumi.StringPtrOutput) } +// (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. func (o DatabaseSecurityConfigManagementSqlFirewallConfigPtrOutput) ViolationLogAutoPurge() pulumi.StringPtrOutput { return o.ApplyT(func(v *DatabaseSecurityConfigManagementSqlFirewallConfig) *string { if v == nil { diff --git a/sdk/go/oci/datasafe/securityPolicyDeploymentManagement.go b/sdk/go/oci/datasafe/securityPolicyDeploymentManagement.go index 22b7f0bdf6..209c0b3f95 100644 --- a/sdk/go/oci/datasafe/securityPolicyDeploymentManagement.go +++ b/sdk/go/oci/datasafe/securityPolicyDeploymentManagement.go @@ -11,21 +11,75 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +// This resource provides the Security Policy Deployment Management resource in Oracle Cloud Infrastructure Data Safe service. +// +// Updates the security policy deployment. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataSafe.NewSecurityPolicyDeploymentManagement(ctx, "test_security_policy_deployment_management", &DataSafe.SecurityPolicyDeploymentManagementArgs{ +// CompartmentId: pulumi.Any(compartmentId), +// TargetId: pulumi.Any(testTargetDatabase.Id), +// DefinedTags: pulumi.StringMap{ +// "Operations.CostCenter": pulumi.String("42"), +// }, +// Description: pulumi.Any(securityPolicyDeploymentManagementDescription), +// DisplayName: pulumi.Any(securityPolicyDeploymentManagementDisplayName), +// FreeformTags: pulumi.StringMap{ +// "Department": pulumi.String("Finance"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Import is not supported for this resource. type SecurityPolicyDeploymentManagement struct { pulumi.CustomResourceState - CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` - DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` - Description pulumi.StringOutput `pulumi:"description"` - DisplayName pulumi.StringOutput `pulumi:"displayName"` - FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` - LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` - SecurityPolicyId pulumi.StringOutput `pulumi:"securityPolicyId"` - State pulumi.StringOutput `pulumi:"state"` - SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` - TargetId pulumi.StringOutput `pulumi:"targetId"` - TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` - TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` + // (Updatable) The OCID of the compartment containing the security policy deployment. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // (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.StringMapOutput `pulumi:"definedTags"` + // (Updatable) The description of the security policy deployment. + Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + 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.StringMapOutput `pulumi:"freeformTags"` + // Details about the current state of the security policy deployment in Data Safe. + LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` + // The OCID of the security policy corresponding to the security policy deployment. + SecurityPolicyId pulumi.StringOutput `pulumi:"securityPolicyId"` + // The current state of the security policy deployment. + State pulumi.StringOutput `pulumi:"state"` + // 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"}` + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` + // Unique target identifier. + TargetId pulumi.StringOutput `pulumi:"targetId"` + // The time that the security policy deployment was created, in the format defined by RFC3339. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The last date and time the security policy deployment was updated, in the format defined by RFC3339. + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` } // NewSecurityPolicyDeploymentManagement registers a new resource with the given unique name, arguments, and options. @@ -58,33 +112,57 @@ func GetSecurityPolicyDeploymentManagement(ctx *pulumi.Context, // Input properties used for looking up and filtering SecurityPolicyDeploymentManagement resources. type securityPolicyDeploymentManagementState struct { - CompartmentId *string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - Description *string `pulumi:"description"` - DisplayName *string `pulumi:"displayName"` - FreeformTags map[string]string `pulumi:"freeformTags"` - LifecycleDetails *string `pulumi:"lifecycleDetails"` - SecurityPolicyId *string `pulumi:"securityPolicyId"` - State *string `pulumi:"state"` - SystemTags map[string]string `pulumi:"systemTags"` - TargetId *string `pulumi:"targetId"` - TimeCreated *string `pulumi:"timeCreated"` - TimeUpdated *string `pulumi:"timeUpdated"` + // (Updatable) The OCID of the compartment containing the security policy deployment. + CompartmentId *string `pulumi:"compartmentId"` + // (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]string `pulumi:"definedTags"` + // (Updatable) The description of the security policy deployment. + Description *string `pulumi:"description"` + // (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + 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]string `pulumi:"freeformTags"` + // Details about the current state of the security policy deployment in Data Safe. + LifecycleDetails *string `pulumi:"lifecycleDetails"` + // The OCID of the security policy corresponding to the security policy deployment. + SecurityPolicyId *string `pulumi:"securityPolicyId"` + // The current state of the security policy deployment. + State *string `pulumi:"state"` + // 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"}` + SystemTags map[string]string `pulumi:"systemTags"` + // Unique target identifier. + TargetId *string `pulumi:"targetId"` + // The time that the security policy deployment was created, in the format defined by RFC3339. + TimeCreated *string `pulumi:"timeCreated"` + // The last date and time the security policy deployment was updated, in the format defined by RFC3339. + TimeUpdated *string `pulumi:"timeUpdated"` } type SecurityPolicyDeploymentManagementState struct { - CompartmentId pulumi.StringPtrInput - DefinedTags pulumi.StringMapInput - Description pulumi.StringPtrInput - DisplayName pulumi.StringPtrInput - FreeformTags pulumi.StringMapInput + // (Updatable) The OCID of the compartment containing the security policy deployment. + CompartmentId pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) The description of the security policy deployment. + Description pulumi.StringPtrInput + // (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + 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.StringMapInput + // Details about the current state of the security policy deployment in Data Safe. LifecycleDetails pulumi.StringPtrInput + // The OCID of the security policy corresponding to the security policy deployment. SecurityPolicyId pulumi.StringPtrInput - State pulumi.StringPtrInput - SystemTags pulumi.StringMapInput - TargetId pulumi.StringPtrInput - TimeCreated pulumi.StringPtrInput - TimeUpdated pulumi.StringPtrInput + // The current state of the security policy deployment. + State pulumi.StringPtrInput + // 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"}` + SystemTags pulumi.StringMapInput + // Unique target identifier. + TargetId pulumi.StringPtrInput + // The time that the security policy deployment was created, in the format defined by RFC3339. + TimeCreated pulumi.StringPtrInput + // The last date and time the security policy deployment was updated, in the format defined by RFC3339. + TimeUpdated pulumi.StringPtrInput } func (SecurityPolicyDeploymentManagementState) ElementType() reflect.Type { @@ -92,22 +170,34 @@ func (SecurityPolicyDeploymentManagementState) ElementType() reflect.Type { } type securityPolicyDeploymentManagementArgs struct { - CompartmentId *string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - Description *string `pulumi:"description"` - DisplayName *string `pulumi:"displayName"` - FreeformTags map[string]string `pulumi:"freeformTags"` - TargetId *string `pulumi:"targetId"` + // (Updatable) The OCID of the compartment containing the security policy deployment. + CompartmentId *string `pulumi:"compartmentId"` + // (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]string `pulumi:"definedTags"` + // (Updatable) The description of the security policy deployment. + Description *string `pulumi:"description"` + // (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + 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]string `pulumi:"freeformTags"` + // Unique target identifier. + TargetId *string `pulumi:"targetId"` } // The set of arguments for constructing a SecurityPolicyDeploymentManagement resource. type SecurityPolicyDeploymentManagementArgs struct { + // (Updatable) The OCID of the compartment containing the security policy deployment. CompartmentId pulumi.StringPtrInput - DefinedTags pulumi.StringMapInput - Description pulumi.StringPtrInput - DisplayName pulumi.StringPtrInput - FreeformTags pulumi.StringMapInput - TargetId pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) The description of the security policy deployment. + Description pulumi.StringPtrInput + // (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + 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.StringMapInput + // Unique target identifier. + TargetId pulumi.StringPtrInput } func (SecurityPolicyDeploymentManagementArgs) ElementType() reflect.Type { @@ -197,50 +287,62 @@ func (o SecurityPolicyDeploymentManagementOutput) ToSecurityPolicyDeploymentMana return o } +// (Updatable) The OCID of the compartment containing the security policy deployment. func (o SecurityPolicyDeploymentManagementOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) } +// (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"}` func (o SecurityPolicyDeploymentManagementOutput) DefinedTags() pulumi.StringMapOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) } +// (Updatable) The description of the security policy deployment. func (o SecurityPolicyDeploymentManagementOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } +// (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. func (o SecurityPolicyDeploymentManagementOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } +// (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 SecurityPolicyDeploymentManagementOutput) FreeformTags() pulumi.StringMapOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) } +// Details about the current state of the security policy deployment in Data Safe. func (o SecurityPolicyDeploymentManagementOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) } +// The OCID of the security policy corresponding to the security policy deployment. func (o SecurityPolicyDeploymentManagementOutput) SecurityPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringOutput { return v.SecurityPolicyId }).(pulumi.StringOutput) } +// The current state of the security policy deployment. func (o SecurityPolicyDeploymentManagementOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// 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"}` func (o SecurityPolicyDeploymentManagementOutput) SystemTags() pulumi.StringMapOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) } +// Unique target identifier. func (o SecurityPolicyDeploymentManagementOutput) TargetId() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringOutput { return v.TargetId }).(pulumi.StringOutput) } +// The time that the security policy deployment was created, in the format defined by RFC3339. func (o SecurityPolicyDeploymentManagementOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) } +// The last date and time the security policy deployment was updated, in the format defined by RFC3339. func (o SecurityPolicyDeploymentManagementOutput) TimeUpdated() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyDeploymentManagement) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/datasafe/securityPolicyManagement.go b/sdk/go/oci/datasafe/securityPolicyManagement.go index bb516ed577..20cec42dc2 100644 --- a/sdk/go/oci/datasafe/securityPolicyManagement.go +++ b/sdk/go/oci/datasafe/securityPolicyManagement.go @@ -11,20 +11,73 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +// This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service. +// +// Updates the security policy. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataSafe.NewSecurityPolicyManagement(ctx, "test_security_policy_management", &DataSafe.SecurityPolicyManagementArgs{ +// CompartmentId: pulumi.Any(compartmentId), +// TargetId: pulumi.Any(testTargetDatabase.Id), +// DefinedTags: pulumi.StringMap{ +// "Operations.CostCenter": pulumi.String("42"), +// }, +// Description: pulumi.Any(securityPolicyManagementDescription), +// DisplayName: pulumi.Any(securityPolicyManagementDisplayName), +// FreeformTags: pulumi.StringMap{ +// "Department": pulumi.String("Finance"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Import is not supported for this resource. type SecurityPolicyManagement struct { pulumi.CustomResourceState - CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` - DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` - Description pulumi.StringOutput `pulumi:"description"` - DisplayName pulumi.StringOutput `pulumi:"displayName"` - FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` - LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` - State pulumi.StringOutput `pulumi:"state"` - SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` - TargetId pulumi.StringOutput `pulumi:"targetId"` - TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` - TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` + // (Updatable) The OCID of the compartment containing the security policy. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // (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.StringMapOutput `pulumi:"definedTags"` + // (Updatable) The description of the security policy. + Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + 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.StringMapOutput `pulumi:"freeformTags"` + // Details about the current state of the security policy in Data Safe. + LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` + // The current state of the security policy. + State pulumi.StringOutput `pulumi:"state"` + // 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"}` + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` + // Unique target identifier. + TargetId pulumi.StringOutput `pulumi:"targetId"` + // The time that the security policy was created, in the format defined by RFC3339. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The last date and time the security policy was updated, in the format defined by RFC3339. + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` } // NewSecurityPolicyManagement registers a new resource with the given unique name, arguments, and options. @@ -57,31 +110,53 @@ func GetSecurityPolicyManagement(ctx *pulumi.Context, // Input properties used for looking up and filtering SecurityPolicyManagement resources. type securityPolicyManagementState struct { - CompartmentId *string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - Description *string `pulumi:"description"` - DisplayName *string `pulumi:"displayName"` - FreeformTags map[string]string `pulumi:"freeformTags"` - LifecycleDetails *string `pulumi:"lifecycleDetails"` - State *string `pulumi:"state"` - SystemTags map[string]string `pulumi:"systemTags"` - TargetId *string `pulumi:"targetId"` - TimeCreated *string `pulumi:"timeCreated"` - TimeUpdated *string `pulumi:"timeUpdated"` + // (Updatable) The OCID of the compartment containing the security policy. + CompartmentId *string `pulumi:"compartmentId"` + // (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]string `pulumi:"definedTags"` + // (Updatable) The description of the security policy. + Description *string `pulumi:"description"` + // (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + 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]string `pulumi:"freeformTags"` + // Details about the current state of the security policy in Data Safe. + LifecycleDetails *string `pulumi:"lifecycleDetails"` + // The current state of the security policy. + State *string `pulumi:"state"` + // 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"}` + SystemTags map[string]string `pulumi:"systemTags"` + // Unique target identifier. + TargetId *string `pulumi:"targetId"` + // The time that the security policy was created, in the format defined by RFC3339. + TimeCreated *string `pulumi:"timeCreated"` + // The last date and time the security policy was updated, in the format defined by RFC3339. + TimeUpdated *string `pulumi:"timeUpdated"` } type SecurityPolicyManagementState struct { - CompartmentId pulumi.StringPtrInput - DefinedTags pulumi.StringMapInput - Description pulumi.StringPtrInput - DisplayName pulumi.StringPtrInput - FreeformTags pulumi.StringMapInput + // (Updatable) The OCID of the compartment containing the security policy. + CompartmentId pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) The description of the security policy. + Description pulumi.StringPtrInput + // (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + 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.StringMapInput + // Details about the current state of the security policy in Data Safe. LifecycleDetails pulumi.StringPtrInput - State pulumi.StringPtrInput - SystemTags pulumi.StringMapInput - TargetId pulumi.StringPtrInput - TimeCreated pulumi.StringPtrInput - TimeUpdated pulumi.StringPtrInput + // The current state of the security policy. + State pulumi.StringPtrInput + // 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"}` + SystemTags pulumi.StringMapInput + // Unique target identifier. + TargetId pulumi.StringPtrInput + // The time that the security policy was created, in the format defined by RFC3339. + TimeCreated pulumi.StringPtrInput + // The last date and time the security policy was updated, in the format defined by RFC3339. + TimeUpdated pulumi.StringPtrInput } func (SecurityPolicyManagementState) ElementType() reflect.Type { @@ -89,22 +164,34 @@ func (SecurityPolicyManagementState) ElementType() reflect.Type { } type securityPolicyManagementArgs struct { - CompartmentId *string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - Description *string `pulumi:"description"` - DisplayName *string `pulumi:"displayName"` - FreeformTags map[string]string `pulumi:"freeformTags"` - TargetId *string `pulumi:"targetId"` + // (Updatable) The OCID of the compartment containing the security policy. + CompartmentId *string `pulumi:"compartmentId"` + // (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]string `pulumi:"definedTags"` + // (Updatable) The description of the security policy. + Description *string `pulumi:"description"` + // (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + 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]string `pulumi:"freeformTags"` + // Unique target identifier. + TargetId *string `pulumi:"targetId"` } // The set of arguments for constructing a SecurityPolicyManagement resource. type SecurityPolicyManagementArgs struct { + // (Updatable) The OCID of the compartment containing the security policy. CompartmentId pulumi.StringPtrInput - DefinedTags pulumi.StringMapInput - Description pulumi.StringPtrInput - DisplayName pulumi.StringPtrInput - FreeformTags pulumi.StringMapInput - TargetId pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) The description of the security policy. + Description pulumi.StringPtrInput + // (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + 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.StringMapInput + // Unique target identifier. + TargetId pulumi.StringPtrInput } func (SecurityPolicyManagementArgs) ElementType() reflect.Type { @@ -194,46 +281,57 @@ func (o SecurityPolicyManagementOutput) ToSecurityPolicyManagementOutputWithCont return o } +// (Updatable) The OCID of the compartment containing the security policy. func (o SecurityPolicyManagementOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) } +// (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"}` func (o SecurityPolicyManagementOutput) DefinedTags() pulumi.StringMapOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) } +// (Updatable) The description of the security policy. func (o SecurityPolicyManagementOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } +// (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. func (o SecurityPolicyManagementOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } +// (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 SecurityPolicyManagementOutput) FreeformTags() pulumi.StringMapOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) } +// Details about the current state of the security policy in Data Safe. func (o SecurityPolicyManagementOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) } +// The current state of the security policy. func (o SecurityPolicyManagementOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// 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"}` func (o SecurityPolicyManagementOutput) SystemTags() pulumi.StringMapOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) } +// Unique target identifier. func (o SecurityPolicyManagementOutput) TargetId() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringOutput { return v.TargetId }).(pulumi.StringOutput) } +// The time that the security policy was created, in the format defined by RFC3339. func (o SecurityPolicyManagementOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) } +// The last date and time the security policy was updated, in the format defined by RFC3339. func (o SecurityPolicyManagementOutput) TimeUpdated() pulumi.StringOutput { return o.ApplyT(func(v *SecurityPolicyManagement) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/datasafe/setSecurityAssessmentBaselineManagement.go b/sdk/go/oci/datasafe/setSecurityAssessmentBaselineManagement.go new file mode 100644 index 0000000000..7f734eb87c --- /dev/null +++ b/sdk/go/oci/datasafe/setSecurityAssessmentBaselineManagement.go @@ -0,0 +1,306 @@ +// 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 datasafe + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. +// +// Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataSafe.NewSetSecurityAssessmentBaselineManagement(ctx, "test_set_security_assessment_baseline_management", &DataSafe.SetSecurityAssessmentBaselineManagementArgs{ +// TargetId: pulumi.Any(testTargetDatabase.Id), +// CompartmentId: pulumi.Any(comaprtmentId), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. +// +// ```sh +// $ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id" +// ``` +type SetSecurityAssessmentBaselineManagement struct { + pulumi.CustomResourceState + + AssessmentIds pulumi.StringArrayOutput `pulumi:"assessmentIds"` + // The compartment OCID of the target. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + SecurityAssessmentId pulumi.StringOutput `pulumi:"securityAssessmentId"` + // The target OCID for which SA needs to be set as baseline. + TargetId pulumi.StringOutput `pulumi:"targetId"` +} + +// NewSetSecurityAssessmentBaselineManagement registers a new resource with the given unique name, arguments, and options. +func NewSetSecurityAssessmentBaselineManagement(ctx *pulumi.Context, + name string, args *SetSecurityAssessmentBaselineManagementArgs, opts ...pulumi.ResourceOption) (*SetSecurityAssessmentBaselineManagement, 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.TargetId == nil { + return nil, errors.New("invalid value for required argument 'TargetId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource SetSecurityAssessmentBaselineManagement + err := ctx.RegisterResource("oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSetSecurityAssessmentBaselineManagement gets an existing SetSecurityAssessmentBaselineManagement 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 GetSetSecurityAssessmentBaselineManagement(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SetSecurityAssessmentBaselineManagementState, opts ...pulumi.ResourceOption) (*SetSecurityAssessmentBaselineManagement, error) { + var resource SetSecurityAssessmentBaselineManagement + err := ctx.ReadResource("oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering SetSecurityAssessmentBaselineManagement resources. +type setSecurityAssessmentBaselineManagementState struct { + AssessmentIds []string `pulumi:"assessmentIds"` + // The compartment OCID of the target. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId *string `pulumi:"compartmentId"` + SecurityAssessmentId *string `pulumi:"securityAssessmentId"` + // The target OCID for which SA needs to be set as baseline. + TargetId *string `pulumi:"targetId"` +} + +type SetSecurityAssessmentBaselineManagementState struct { + AssessmentIds pulumi.StringArrayInput + // The compartment OCID of the target. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringPtrInput + SecurityAssessmentId pulumi.StringPtrInput + // The target OCID for which SA needs to be set as baseline. + TargetId pulumi.StringPtrInput +} + +func (SetSecurityAssessmentBaselineManagementState) ElementType() reflect.Type { + return reflect.TypeOf((*setSecurityAssessmentBaselineManagementState)(nil)).Elem() +} + +type setSecurityAssessmentBaselineManagementArgs struct { + // The compartment OCID of the target. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId string `pulumi:"compartmentId"` + // The target OCID for which SA needs to be set as baseline. + TargetId string `pulumi:"targetId"` +} + +// The set of arguments for constructing a SetSecurityAssessmentBaselineManagement resource. +type SetSecurityAssessmentBaselineManagementArgs struct { + // The compartment OCID of the target. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringInput + // The target OCID for which SA needs to be set as baseline. + TargetId pulumi.StringInput +} + +func (SetSecurityAssessmentBaselineManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*setSecurityAssessmentBaselineManagementArgs)(nil)).Elem() +} + +type SetSecurityAssessmentBaselineManagementInput interface { + pulumi.Input + + ToSetSecurityAssessmentBaselineManagementOutput() SetSecurityAssessmentBaselineManagementOutput + ToSetSecurityAssessmentBaselineManagementOutputWithContext(ctx context.Context) SetSecurityAssessmentBaselineManagementOutput +} + +func (*SetSecurityAssessmentBaselineManagement) ElementType() reflect.Type { + return reflect.TypeOf((**SetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (i *SetSecurityAssessmentBaselineManagement) ToSetSecurityAssessmentBaselineManagementOutput() SetSecurityAssessmentBaselineManagementOutput { + return i.ToSetSecurityAssessmentBaselineManagementOutputWithContext(context.Background()) +} + +func (i *SetSecurityAssessmentBaselineManagement) ToSetSecurityAssessmentBaselineManagementOutputWithContext(ctx context.Context) SetSecurityAssessmentBaselineManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(SetSecurityAssessmentBaselineManagementOutput) +} + +// SetSecurityAssessmentBaselineManagementArrayInput is an input type that accepts SetSecurityAssessmentBaselineManagementArray and SetSecurityAssessmentBaselineManagementArrayOutput values. +// You can construct a concrete instance of `SetSecurityAssessmentBaselineManagementArrayInput` via: +// +// SetSecurityAssessmentBaselineManagementArray{ SetSecurityAssessmentBaselineManagementArgs{...} } +type SetSecurityAssessmentBaselineManagementArrayInput interface { + pulumi.Input + + ToSetSecurityAssessmentBaselineManagementArrayOutput() SetSecurityAssessmentBaselineManagementArrayOutput + ToSetSecurityAssessmentBaselineManagementArrayOutputWithContext(context.Context) SetSecurityAssessmentBaselineManagementArrayOutput +} + +type SetSecurityAssessmentBaselineManagementArray []SetSecurityAssessmentBaselineManagementInput + +func (SetSecurityAssessmentBaselineManagementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (i SetSecurityAssessmentBaselineManagementArray) ToSetSecurityAssessmentBaselineManagementArrayOutput() SetSecurityAssessmentBaselineManagementArrayOutput { + return i.ToSetSecurityAssessmentBaselineManagementArrayOutputWithContext(context.Background()) +} + +func (i SetSecurityAssessmentBaselineManagementArray) ToSetSecurityAssessmentBaselineManagementArrayOutputWithContext(ctx context.Context) SetSecurityAssessmentBaselineManagementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SetSecurityAssessmentBaselineManagementArrayOutput) +} + +// SetSecurityAssessmentBaselineManagementMapInput is an input type that accepts SetSecurityAssessmentBaselineManagementMap and SetSecurityAssessmentBaselineManagementMapOutput values. +// You can construct a concrete instance of `SetSecurityAssessmentBaselineManagementMapInput` via: +// +// SetSecurityAssessmentBaselineManagementMap{ "key": SetSecurityAssessmentBaselineManagementArgs{...} } +type SetSecurityAssessmentBaselineManagementMapInput interface { + pulumi.Input + + ToSetSecurityAssessmentBaselineManagementMapOutput() SetSecurityAssessmentBaselineManagementMapOutput + ToSetSecurityAssessmentBaselineManagementMapOutputWithContext(context.Context) SetSecurityAssessmentBaselineManagementMapOutput +} + +type SetSecurityAssessmentBaselineManagementMap map[string]SetSecurityAssessmentBaselineManagementInput + +func (SetSecurityAssessmentBaselineManagementMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (i SetSecurityAssessmentBaselineManagementMap) ToSetSecurityAssessmentBaselineManagementMapOutput() SetSecurityAssessmentBaselineManagementMapOutput { + return i.ToSetSecurityAssessmentBaselineManagementMapOutputWithContext(context.Background()) +} + +func (i SetSecurityAssessmentBaselineManagementMap) ToSetSecurityAssessmentBaselineManagementMapOutputWithContext(ctx context.Context) SetSecurityAssessmentBaselineManagementMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SetSecurityAssessmentBaselineManagementMapOutput) +} + +type SetSecurityAssessmentBaselineManagementOutput struct{ *pulumi.OutputState } + +func (SetSecurityAssessmentBaselineManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (o SetSecurityAssessmentBaselineManagementOutput) ToSetSecurityAssessmentBaselineManagementOutput() SetSecurityAssessmentBaselineManagementOutput { + return o +} + +func (o SetSecurityAssessmentBaselineManagementOutput) ToSetSecurityAssessmentBaselineManagementOutputWithContext(ctx context.Context) SetSecurityAssessmentBaselineManagementOutput { + return o +} + +func (o SetSecurityAssessmentBaselineManagementOutput) AssessmentIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SetSecurityAssessmentBaselineManagement) pulumi.StringArrayOutput { return v.AssessmentIds }).(pulumi.StringArrayOutput) +} + +// The compartment OCID of the target. +// +// ** IMPORTANT ** +// 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 SetSecurityAssessmentBaselineManagementOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *SetSecurityAssessmentBaselineManagement) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +func (o SetSecurityAssessmentBaselineManagementOutput) SecurityAssessmentId() pulumi.StringOutput { + return o.ApplyT(func(v *SetSecurityAssessmentBaselineManagement) pulumi.StringOutput { return v.SecurityAssessmentId }).(pulumi.StringOutput) +} + +// The target OCID for which SA needs to be set as baseline. +func (o SetSecurityAssessmentBaselineManagementOutput) TargetId() pulumi.StringOutput { + return o.ApplyT(func(v *SetSecurityAssessmentBaselineManagement) pulumi.StringOutput { return v.TargetId }).(pulumi.StringOutput) +} + +type SetSecurityAssessmentBaselineManagementArrayOutput struct{ *pulumi.OutputState } + +func (SetSecurityAssessmentBaselineManagementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (o SetSecurityAssessmentBaselineManagementArrayOutput) ToSetSecurityAssessmentBaselineManagementArrayOutput() SetSecurityAssessmentBaselineManagementArrayOutput { + return o +} + +func (o SetSecurityAssessmentBaselineManagementArrayOutput) ToSetSecurityAssessmentBaselineManagementArrayOutputWithContext(ctx context.Context) SetSecurityAssessmentBaselineManagementArrayOutput { + return o +} + +func (o SetSecurityAssessmentBaselineManagementArrayOutput) Index(i pulumi.IntInput) SetSecurityAssessmentBaselineManagementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SetSecurityAssessmentBaselineManagement { + return vs[0].([]*SetSecurityAssessmentBaselineManagement)[vs[1].(int)] + }).(SetSecurityAssessmentBaselineManagementOutput) +} + +type SetSecurityAssessmentBaselineManagementMapOutput struct{ *pulumi.OutputState } + +func (SetSecurityAssessmentBaselineManagementMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (o SetSecurityAssessmentBaselineManagementMapOutput) ToSetSecurityAssessmentBaselineManagementMapOutput() SetSecurityAssessmentBaselineManagementMapOutput { + return o +} + +func (o SetSecurityAssessmentBaselineManagementMapOutput) ToSetSecurityAssessmentBaselineManagementMapOutputWithContext(ctx context.Context) SetSecurityAssessmentBaselineManagementMapOutput { + return o +} + +func (o SetSecurityAssessmentBaselineManagementMapOutput) MapIndex(k pulumi.StringInput) SetSecurityAssessmentBaselineManagementOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SetSecurityAssessmentBaselineManagement { + return vs[0].(map[string]*SetSecurityAssessmentBaselineManagement)[vs[1].(string)] + }).(SetSecurityAssessmentBaselineManagementOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SetSecurityAssessmentBaselineManagementInput)(nil)).Elem(), &SetSecurityAssessmentBaselineManagement{}) + pulumi.RegisterInputType(reflect.TypeOf((*SetSecurityAssessmentBaselineManagementArrayInput)(nil)).Elem(), SetSecurityAssessmentBaselineManagementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SetSecurityAssessmentBaselineManagementMapInput)(nil)).Elem(), SetSecurityAssessmentBaselineManagementMap{}) + pulumi.RegisterOutputType(SetSecurityAssessmentBaselineManagementOutput{}) + pulumi.RegisterOutputType(SetSecurityAssessmentBaselineManagementArrayOutput{}) + pulumi.RegisterOutputType(SetSecurityAssessmentBaselineManagementMapOutput{}) +} diff --git a/sdk/go/oci/datasafe/setUserAssessmentBaselineManagement.go b/sdk/go/oci/datasafe/setUserAssessmentBaselineManagement.go new file mode 100644 index 0000000000..8431e017ff --- /dev/null +++ b/sdk/go/oci/datasafe/setUserAssessmentBaselineManagement.go @@ -0,0 +1,306 @@ +// 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 datasafe + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This resource provides the Set User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. +// +// Sets the saved user assessment as the baseline in the compartment where the the specified assessment resides. The user assessment needs to be of type 'SAVED'. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataSafe.NewSetUserAssessmentBaselineManagement(ctx, "test_set_user_assessment_baseline_management", &DataSafe.SetUserAssessmentBaselineManagementArgs{ +// TargetId: pulumi.Any(testTargetDatabase.Id), +// CompartmentId: pulumi.Any(comaprtmentId), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// SetUserAssessmentBaselineManagement can be imported using the `id`, e.g. +// +// ```sh +// $ pulumi import oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement test_set_user_assessment_baseline_management "id" +// ``` +type SetUserAssessmentBaselineManagement struct { + pulumi.CustomResourceState + + AssessmentIds pulumi.StringArrayOutput `pulumi:"assessmentIds"` + // The compartment OCID of the target. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // The target OCID for which UA needs to be set as baseline. + TargetId pulumi.StringOutput `pulumi:"targetId"` + UserAssessmentId pulumi.StringOutput `pulumi:"userAssessmentId"` +} + +// NewSetUserAssessmentBaselineManagement registers a new resource with the given unique name, arguments, and options. +func NewSetUserAssessmentBaselineManagement(ctx *pulumi.Context, + name string, args *SetUserAssessmentBaselineManagementArgs, opts ...pulumi.ResourceOption) (*SetUserAssessmentBaselineManagement, 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.TargetId == nil { + return nil, errors.New("invalid value for required argument 'TargetId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource SetUserAssessmentBaselineManagement + err := ctx.RegisterResource("oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetSetUserAssessmentBaselineManagement gets an existing SetUserAssessmentBaselineManagement 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 GetSetUserAssessmentBaselineManagement(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *SetUserAssessmentBaselineManagementState, opts ...pulumi.ResourceOption) (*SetUserAssessmentBaselineManagement, error) { + var resource SetUserAssessmentBaselineManagement + err := ctx.ReadResource("oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering SetUserAssessmentBaselineManagement resources. +type setUserAssessmentBaselineManagementState struct { + AssessmentIds []string `pulumi:"assessmentIds"` + // The compartment OCID of the target. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId *string `pulumi:"compartmentId"` + // The target OCID for which UA needs to be set as baseline. + TargetId *string `pulumi:"targetId"` + UserAssessmentId *string `pulumi:"userAssessmentId"` +} + +type SetUserAssessmentBaselineManagementState struct { + AssessmentIds pulumi.StringArrayInput + // The compartment OCID of the target. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringPtrInput + // The target OCID for which UA needs to be set as baseline. + TargetId pulumi.StringPtrInput + UserAssessmentId pulumi.StringPtrInput +} + +func (SetUserAssessmentBaselineManagementState) ElementType() reflect.Type { + return reflect.TypeOf((*setUserAssessmentBaselineManagementState)(nil)).Elem() +} + +type setUserAssessmentBaselineManagementArgs struct { + // The compartment OCID of the target. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId string `pulumi:"compartmentId"` + // The target OCID for which UA needs to be set as baseline. + TargetId string `pulumi:"targetId"` +} + +// The set of arguments for constructing a SetUserAssessmentBaselineManagement resource. +type SetUserAssessmentBaselineManagementArgs struct { + // The compartment OCID of the target. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringInput + // The target OCID for which UA needs to be set as baseline. + TargetId pulumi.StringInput +} + +func (SetUserAssessmentBaselineManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*setUserAssessmentBaselineManagementArgs)(nil)).Elem() +} + +type SetUserAssessmentBaselineManagementInput interface { + pulumi.Input + + ToSetUserAssessmentBaselineManagementOutput() SetUserAssessmentBaselineManagementOutput + ToSetUserAssessmentBaselineManagementOutputWithContext(ctx context.Context) SetUserAssessmentBaselineManagementOutput +} + +func (*SetUserAssessmentBaselineManagement) ElementType() reflect.Type { + return reflect.TypeOf((**SetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (i *SetUserAssessmentBaselineManagement) ToSetUserAssessmentBaselineManagementOutput() SetUserAssessmentBaselineManagementOutput { + return i.ToSetUserAssessmentBaselineManagementOutputWithContext(context.Background()) +} + +func (i *SetUserAssessmentBaselineManagement) ToSetUserAssessmentBaselineManagementOutputWithContext(ctx context.Context) SetUserAssessmentBaselineManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(SetUserAssessmentBaselineManagementOutput) +} + +// SetUserAssessmentBaselineManagementArrayInput is an input type that accepts SetUserAssessmentBaselineManagementArray and SetUserAssessmentBaselineManagementArrayOutput values. +// You can construct a concrete instance of `SetUserAssessmentBaselineManagementArrayInput` via: +// +// SetUserAssessmentBaselineManagementArray{ SetUserAssessmentBaselineManagementArgs{...} } +type SetUserAssessmentBaselineManagementArrayInput interface { + pulumi.Input + + ToSetUserAssessmentBaselineManagementArrayOutput() SetUserAssessmentBaselineManagementArrayOutput + ToSetUserAssessmentBaselineManagementArrayOutputWithContext(context.Context) SetUserAssessmentBaselineManagementArrayOutput +} + +type SetUserAssessmentBaselineManagementArray []SetUserAssessmentBaselineManagementInput + +func (SetUserAssessmentBaselineManagementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (i SetUserAssessmentBaselineManagementArray) ToSetUserAssessmentBaselineManagementArrayOutput() SetUserAssessmentBaselineManagementArrayOutput { + return i.ToSetUserAssessmentBaselineManagementArrayOutputWithContext(context.Background()) +} + +func (i SetUserAssessmentBaselineManagementArray) ToSetUserAssessmentBaselineManagementArrayOutputWithContext(ctx context.Context) SetUserAssessmentBaselineManagementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(SetUserAssessmentBaselineManagementArrayOutput) +} + +// SetUserAssessmentBaselineManagementMapInput is an input type that accepts SetUserAssessmentBaselineManagementMap and SetUserAssessmentBaselineManagementMapOutput values. +// You can construct a concrete instance of `SetUserAssessmentBaselineManagementMapInput` via: +// +// SetUserAssessmentBaselineManagementMap{ "key": SetUserAssessmentBaselineManagementArgs{...} } +type SetUserAssessmentBaselineManagementMapInput interface { + pulumi.Input + + ToSetUserAssessmentBaselineManagementMapOutput() SetUserAssessmentBaselineManagementMapOutput + ToSetUserAssessmentBaselineManagementMapOutputWithContext(context.Context) SetUserAssessmentBaselineManagementMapOutput +} + +type SetUserAssessmentBaselineManagementMap map[string]SetUserAssessmentBaselineManagementInput + +func (SetUserAssessmentBaselineManagementMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (i SetUserAssessmentBaselineManagementMap) ToSetUserAssessmentBaselineManagementMapOutput() SetUserAssessmentBaselineManagementMapOutput { + return i.ToSetUserAssessmentBaselineManagementMapOutputWithContext(context.Background()) +} + +func (i SetUserAssessmentBaselineManagementMap) ToSetUserAssessmentBaselineManagementMapOutputWithContext(ctx context.Context) SetUserAssessmentBaselineManagementMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(SetUserAssessmentBaselineManagementMapOutput) +} + +type SetUserAssessmentBaselineManagementOutput struct{ *pulumi.OutputState } + +func (SetUserAssessmentBaselineManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((**SetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (o SetUserAssessmentBaselineManagementOutput) ToSetUserAssessmentBaselineManagementOutput() SetUserAssessmentBaselineManagementOutput { + return o +} + +func (o SetUserAssessmentBaselineManagementOutput) ToSetUserAssessmentBaselineManagementOutputWithContext(ctx context.Context) SetUserAssessmentBaselineManagementOutput { + return o +} + +func (o SetUserAssessmentBaselineManagementOutput) AssessmentIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *SetUserAssessmentBaselineManagement) pulumi.StringArrayOutput { return v.AssessmentIds }).(pulumi.StringArrayOutput) +} + +// The compartment OCID of the target. +// +// ** IMPORTANT ** +// 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 SetUserAssessmentBaselineManagementOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *SetUserAssessmentBaselineManagement) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The target OCID for which UA needs to be set as baseline. +func (o SetUserAssessmentBaselineManagementOutput) TargetId() pulumi.StringOutput { + return o.ApplyT(func(v *SetUserAssessmentBaselineManagement) pulumi.StringOutput { return v.TargetId }).(pulumi.StringOutput) +} + +func (o SetUserAssessmentBaselineManagementOutput) UserAssessmentId() pulumi.StringOutput { + return o.ApplyT(func(v *SetUserAssessmentBaselineManagement) pulumi.StringOutput { return v.UserAssessmentId }).(pulumi.StringOutput) +} + +type SetUserAssessmentBaselineManagementArrayOutput struct{ *pulumi.OutputState } + +func (SetUserAssessmentBaselineManagementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*SetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (o SetUserAssessmentBaselineManagementArrayOutput) ToSetUserAssessmentBaselineManagementArrayOutput() SetUserAssessmentBaselineManagementArrayOutput { + return o +} + +func (o SetUserAssessmentBaselineManagementArrayOutput) ToSetUserAssessmentBaselineManagementArrayOutputWithContext(ctx context.Context) SetUserAssessmentBaselineManagementArrayOutput { + return o +} + +func (o SetUserAssessmentBaselineManagementArrayOutput) Index(i pulumi.IntInput) SetUserAssessmentBaselineManagementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SetUserAssessmentBaselineManagement { + return vs[0].([]*SetUserAssessmentBaselineManagement)[vs[1].(int)] + }).(SetUserAssessmentBaselineManagementOutput) +} + +type SetUserAssessmentBaselineManagementMapOutput struct{ *pulumi.OutputState } + +func (SetUserAssessmentBaselineManagementMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*SetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (o SetUserAssessmentBaselineManagementMapOutput) ToSetUserAssessmentBaselineManagementMapOutput() SetUserAssessmentBaselineManagementMapOutput { + return o +} + +func (o SetUserAssessmentBaselineManagementMapOutput) ToSetUserAssessmentBaselineManagementMapOutputWithContext(ctx context.Context) SetUserAssessmentBaselineManagementMapOutput { + return o +} + +func (o SetUserAssessmentBaselineManagementMapOutput) MapIndex(k pulumi.StringInput) SetUserAssessmentBaselineManagementOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SetUserAssessmentBaselineManagement { + return vs[0].(map[string]*SetUserAssessmentBaselineManagement)[vs[1].(string)] + }).(SetUserAssessmentBaselineManagementOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*SetUserAssessmentBaselineManagementInput)(nil)).Elem(), &SetUserAssessmentBaselineManagement{}) + pulumi.RegisterInputType(reflect.TypeOf((*SetUserAssessmentBaselineManagementArrayInput)(nil)).Elem(), SetUserAssessmentBaselineManagementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*SetUserAssessmentBaselineManagementMapInput)(nil)).Elem(), SetUserAssessmentBaselineManagementMap{}) + pulumi.RegisterOutputType(SetUserAssessmentBaselineManagementOutput{}) + pulumi.RegisterOutputType(SetUserAssessmentBaselineManagementArrayOutput{}) + pulumi.RegisterOutputType(SetUserAssessmentBaselineManagementMapOutput{}) +} diff --git a/sdk/go/oci/datasafe/sqlFirewallPolicyManagement.go b/sdk/go/oci/datasafe/sqlFirewallPolicyManagement.go index 608f485b0b..b0c70bac58 100644 --- a/sdk/go/oci/datasafe/sqlFirewallPolicyManagement.go +++ b/sdk/go/oci/datasafe/sqlFirewallPolicyManagement.go @@ -11,31 +11,106 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumi" ) +// This resource provides the Sql Firewall Policy Management resource in Oracle Cloud Infrastructure Data Safe service. +// +// Updates the SQL firewall policy. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataSafe.NewSqlFirewallPolicyManagement(ctx, "test_sql_firewall_policy_management", &DataSafe.SqlFirewallPolicyManagementArgs{ +// CompartmentId: pulumi.Any(compartmentId), +// TargetId: pulumi.Any(testTargetDatabase.Id), +// DbUserName: pulumi.Any(testUser.Name), +// AllowedClientIps: pulumi.Any(sqlFirewallPolicyManagementAllowedClientIps), +// AllowedClientOsUsernames: pulumi.Any(sqlFirewallPolicyManagementAllowedClientOsUsernames), +// AllowedClientPrograms: pulumi.Any(sqlFirewallPolicyManagementAllowedClientPrograms), +// DefinedTags: pulumi.StringMap{ +// "Operations.CostCenter": pulumi.String("42"), +// }, +// Description: pulumi.Any(sqlFirewallPolicyManagementDescription), +// DisplayName: pulumi.Any(sqlFirewallPolicyManagementDisplayName), +// EnforcementScope: pulumi.Any(sqlFirewallPolicyManagementEnforcementScope), +// FreeformTags: pulumi.StringMap{ +// "Department": pulumi.String("Finance"), +// }, +// Status: pulumi.Any(sqlFirewallPolicyManagementStatus), +// ViolationAction: pulumi.Any(sqlFirewallPolicyManagementViolationAction), +// ViolationAudit: pulumi.Any(sqlFirewallPolicyManagementViolationAudit), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// Import is not supported for this resource. type SqlFirewallPolicyManagement struct { pulumi.CustomResourceState - AllowedClientIps pulumi.StringArrayOutput `pulumi:"allowedClientIps"` + // (Updatable) List of allowed ip addresses for the SQL firewall policy. + AllowedClientIps pulumi.StringArrayOutput `pulumi:"allowedClientIps"` + // (Updatable) List of allowed operating system user names for the SQL firewall policy. AllowedClientOsUsernames pulumi.StringArrayOutput `pulumi:"allowedClientOsUsernames"` - AllowedClientPrograms pulumi.StringArrayOutput `pulumi:"allowedClientPrograms"` - CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` - DbUserName pulumi.StringOutput `pulumi:"dbUserName"` - DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` - Description pulumi.StringOutput `pulumi:"description"` - DisplayName pulumi.StringOutput `pulumi:"displayName"` - EnforcementScope pulumi.StringOutput `pulumi:"enforcementScope"` - FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` - LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` - SecurityPolicyId pulumi.StringOutput `pulumi:"securityPolicyId"` - SqlFirewallPolicyId pulumi.StringOutput `pulumi:"sqlFirewallPolicyId"` - SqlLevel pulumi.StringOutput `pulumi:"sqlLevel"` - State pulumi.StringOutput `pulumi:"state"` - Status pulumi.StringOutput `pulumi:"status"` - SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` - TargetId pulumi.StringOutput `pulumi:"targetId"` - TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` - TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` - ViolationAction pulumi.StringOutput `pulumi:"violationAction"` - ViolationAudit pulumi.StringOutput `pulumi:"violationAudit"` + // (Updatable) List of allowed client programs for the SQL firewall policy. + AllowedClientPrograms pulumi.StringArrayOutput `pulumi:"allowedClientPrograms"` + // (Updatable) The OCID of the compartment containing the SQL firewall policy. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // The database user name. + DbUserName pulumi.StringOutput `pulumi:"dbUserName"` + // (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.StringMapOutput `pulumi:"definedTags"` + // (Updatable) The description of the SQL firewall policy. + Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // (Updatable) Specifies the SQL firewall policy enforcement option. + EnforcementScope pulumi.StringOutput `pulumi:"enforcementScope"` + // (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.StringMapOutput `pulumi:"freeformTags"` + // Details about the current state of the SQL firewall policy in Data Safe. + LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` + // The OCID of the security policy corresponding to the SQL firewall policy. + SecurityPolicyId pulumi.StringOutput `pulumi:"securityPolicyId"` + // The OCID of the SQL firewall policy resource. + SqlFirewallPolicyId pulumi.StringOutput `pulumi:"sqlFirewallPolicyId"` + // Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + SqlLevel pulumi.StringOutput `pulumi:"sqlLevel"` + // The current state of the SQL firewall policy. + State pulumi.StringOutput `pulumi:"state"` + // (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + Status pulumi.StringOutput `pulumi:"status"` + // 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"}` + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` + // Unique target identifier. + TargetId pulumi.StringOutput `pulumi:"targetId"` + // The time that the SQL firewall policy was created, in the format defined by RFC3339. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` + // (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + ViolationAction pulumi.StringOutput `pulumi:"violationAction"` + // (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + ViolationAudit pulumi.StringOutput `pulumi:"violationAudit"` } // NewSqlFirewallPolicyManagement registers a new resource with the given unique name, arguments, and options. @@ -68,53 +143,103 @@ func GetSqlFirewallPolicyManagement(ctx *pulumi.Context, // Input properties used for looking up and filtering SqlFirewallPolicyManagement resources. type sqlFirewallPolicyManagementState struct { - AllowedClientIps []string `pulumi:"allowedClientIps"` - AllowedClientOsUsernames []string `pulumi:"allowedClientOsUsernames"` - AllowedClientPrograms []string `pulumi:"allowedClientPrograms"` - CompartmentId *string `pulumi:"compartmentId"` - DbUserName *string `pulumi:"dbUserName"` - DefinedTags map[string]string `pulumi:"definedTags"` - Description *string `pulumi:"description"` - DisplayName *string `pulumi:"displayName"` - EnforcementScope *string `pulumi:"enforcementScope"` - FreeformTags map[string]string `pulumi:"freeformTags"` - LifecycleDetails *string `pulumi:"lifecycleDetails"` - SecurityPolicyId *string `pulumi:"securityPolicyId"` - SqlFirewallPolicyId *string `pulumi:"sqlFirewallPolicyId"` - SqlLevel *string `pulumi:"sqlLevel"` - State *string `pulumi:"state"` - Status *string `pulumi:"status"` - SystemTags map[string]string `pulumi:"systemTags"` - TargetId *string `pulumi:"targetId"` - TimeCreated *string `pulumi:"timeCreated"` - TimeUpdated *string `pulumi:"timeUpdated"` - ViolationAction *string `pulumi:"violationAction"` - ViolationAudit *string `pulumi:"violationAudit"` + // (Updatable) List of allowed ip addresses for the SQL firewall policy. + AllowedClientIps []string `pulumi:"allowedClientIps"` + // (Updatable) List of allowed operating system user names for the SQL firewall policy. + AllowedClientOsUsernames []string `pulumi:"allowedClientOsUsernames"` + // (Updatable) List of allowed client programs for the SQL firewall policy. + AllowedClientPrograms []string `pulumi:"allowedClientPrograms"` + // (Updatable) The OCID of the compartment containing the SQL firewall policy. + CompartmentId *string `pulumi:"compartmentId"` + // The database user name. + DbUserName *string `pulumi:"dbUserName"` + // (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]string `pulumi:"definedTags"` + // (Updatable) The description of the SQL firewall policy. + Description *string `pulumi:"description"` + // (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + DisplayName *string `pulumi:"displayName"` + // (Updatable) Specifies the SQL firewall policy enforcement option. + EnforcementScope *string `pulumi:"enforcementScope"` + // (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]string `pulumi:"freeformTags"` + // Details about the current state of the SQL firewall policy in Data Safe. + LifecycleDetails *string `pulumi:"lifecycleDetails"` + // The OCID of the security policy corresponding to the SQL firewall policy. + SecurityPolicyId *string `pulumi:"securityPolicyId"` + // The OCID of the SQL firewall policy resource. + SqlFirewallPolicyId *string `pulumi:"sqlFirewallPolicyId"` + // Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + SqlLevel *string `pulumi:"sqlLevel"` + // The current state of the SQL firewall policy. + State *string `pulumi:"state"` + // (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + Status *string `pulumi:"status"` + // 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"}` + SystemTags map[string]string `pulumi:"systemTags"` + // Unique target identifier. + TargetId *string `pulumi:"targetId"` + // The time that the SQL firewall policy was created, in the format defined by RFC3339. + TimeCreated *string `pulumi:"timeCreated"` + // The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + TimeUpdated *string `pulumi:"timeUpdated"` + // (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + ViolationAction *string `pulumi:"violationAction"` + // (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + ViolationAudit *string `pulumi:"violationAudit"` } type SqlFirewallPolicyManagementState struct { - AllowedClientIps pulumi.StringArrayInput + // (Updatable) List of allowed ip addresses for the SQL firewall policy. + AllowedClientIps pulumi.StringArrayInput + // (Updatable) List of allowed operating system user names for the SQL firewall policy. AllowedClientOsUsernames pulumi.StringArrayInput - AllowedClientPrograms pulumi.StringArrayInput - CompartmentId pulumi.StringPtrInput - DbUserName pulumi.StringPtrInput - DefinedTags pulumi.StringMapInput - Description pulumi.StringPtrInput - DisplayName pulumi.StringPtrInput - EnforcementScope pulumi.StringPtrInput - FreeformTags pulumi.StringMapInput - LifecycleDetails pulumi.StringPtrInput - SecurityPolicyId pulumi.StringPtrInput - SqlFirewallPolicyId pulumi.StringPtrInput - SqlLevel pulumi.StringPtrInput - State pulumi.StringPtrInput - Status pulumi.StringPtrInput - SystemTags pulumi.StringMapInput - TargetId pulumi.StringPtrInput - TimeCreated pulumi.StringPtrInput - TimeUpdated pulumi.StringPtrInput - ViolationAction pulumi.StringPtrInput - ViolationAudit pulumi.StringPtrInput + // (Updatable) List of allowed client programs for the SQL firewall policy. + AllowedClientPrograms pulumi.StringArrayInput + // (Updatable) The OCID of the compartment containing the SQL firewall policy. + CompartmentId pulumi.StringPtrInput + // The database user name. + DbUserName pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) The description of the SQL firewall policy. + Description pulumi.StringPtrInput + // (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + DisplayName pulumi.StringPtrInput + // (Updatable) Specifies the SQL firewall policy enforcement option. + EnforcementScope 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.StringMapInput + // Details about the current state of the SQL firewall policy in Data Safe. + LifecycleDetails pulumi.StringPtrInput + // The OCID of the security policy corresponding to the SQL firewall policy. + SecurityPolicyId pulumi.StringPtrInput + // The OCID of the SQL firewall policy resource. + SqlFirewallPolicyId pulumi.StringPtrInput + // Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + SqlLevel pulumi.StringPtrInput + // The current state of the SQL firewall policy. + State pulumi.StringPtrInput + // (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + Status pulumi.StringPtrInput + // 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"}` + SystemTags pulumi.StringMapInput + // Unique target identifier. + TargetId pulumi.StringPtrInput + // The time that the SQL firewall policy was created, in the format defined by RFC3339. + TimeCreated pulumi.StringPtrInput + // The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + TimeUpdated pulumi.StringPtrInput + // (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + ViolationAction pulumi.StringPtrInput + // (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + ViolationAudit pulumi.StringPtrInput } func (SqlFirewallPolicyManagementState) ElementType() reflect.Type { @@ -122,42 +247,80 @@ func (SqlFirewallPolicyManagementState) ElementType() reflect.Type { } type sqlFirewallPolicyManagementArgs struct { - AllowedClientIps []string `pulumi:"allowedClientIps"` - AllowedClientOsUsernames []string `pulumi:"allowedClientOsUsernames"` - AllowedClientPrograms []string `pulumi:"allowedClientPrograms"` - CompartmentId *string `pulumi:"compartmentId"` - DbUserName *string `pulumi:"dbUserName"` - DefinedTags map[string]string `pulumi:"definedTags"` - Description *string `pulumi:"description"` - DisplayName *string `pulumi:"displayName"` - EnforcementScope *string `pulumi:"enforcementScope"` - FreeformTags map[string]string `pulumi:"freeformTags"` - SqlFirewallPolicyId *string `pulumi:"sqlFirewallPolicyId"` - State *string `pulumi:"state"` - Status *string `pulumi:"status"` - TargetId *string `pulumi:"targetId"` - ViolationAction *string `pulumi:"violationAction"` - ViolationAudit *string `pulumi:"violationAudit"` + // (Updatable) List of allowed ip addresses for the SQL firewall policy. + AllowedClientIps []string `pulumi:"allowedClientIps"` + // (Updatable) List of allowed operating system user names for the SQL firewall policy. + AllowedClientOsUsernames []string `pulumi:"allowedClientOsUsernames"` + // (Updatable) List of allowed client programs for the SQL firewall policy. + AllowedClientPrograms []string `pulumi:"allowedClientPrograms"` + // (Updatable) The OCID of the compartment containing the SQL firewall policy. + CompartmentId *string `pulumi:"compartmentId"` + // The database user name. + DbUserName *string `pulumi:"dbUserName"` + // (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]string `pulumi:"definedTags"` + // (Updatable) The description of the SQL firewall policy. + Description *string `pulumi:"description"` + // (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + DisplayName *string `pulumi:"displayName"` + // (Updatable) Specifies the SQL firewall policy enforcement option. + EnforcementScope *string `pulumi:"enforcementScope"` + // (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]string `pulumi:"freeformTags"` + // The OCID of the SQL firewall policy resource. + SqlFirewallPolicyId *string `pulumi:"sqlFirewallPolicyId"` + // The current state of the SQL firewall policy. + State *string `pulumi:"state"` + // (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + Status *string `pulumi:"status"` + // Unique target identifier. + TargetId *string `pulumi:"targetId"` + // (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + ViolationAction *string `pulumi:"violationAction"` + // (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + ViolationAudit *string `pulumi:"violationAudit"` } // The set of arguments for constructing a SqlFirewallPolicyManagement resource. type SqlFirewallPolicyManagementArgs struct { - AllowedClientIps pulumi.StringArrayInput + // (Updatable) List of allowed ip addresses for the SQL firewall policy. + AllowedClientIps pulumi.StringArrayInput + // (Updatable) List of allowed operating system user names for the SQL firewall policy. AllowedClientOsUsernames pulumi.StringArrayInput - AllowedClientPrograms pulumi.StringArrayInput - CompartmentId pulumi.StringPtrInput - DbUserName pulumi.StringPtrInput - DefinedTags pulumi.StringMapInput - Description pulumi.StringPtrInput - DisplayName pulumi.StringPtrInput - EnforcementScope pulumi.StringPtrInput - FreeformTags pulumi.StringMapInput - SqlFirewallPolicyId pulumi.StringPtrInput - State pulumi.StringPtrInput - Status pulumi.StringPtrInput - TargetId pulumi.StringPtrInput - ViolationAction pulumi.StringPtrInput - ViolationAudit pulumi.StringPtrInput + // (Updatable) List of allowed client programs for the SQL firewall policy. + AllowedClientPrograms pulumi.StringArrayInput + // (Updatable) The OCID of the compartment containing the SQL firewall policy. + CompartmentId pulumi.StringPtrInput + // The database user name. + DbUserName pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) The description of the SQL firewall policy. + Description pulumi.StringPtrInput + // (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + DisplayName pulumi.StringPtrInput + // (Updatable) Specifies the SQL firewall policy enforcement option. + EnforcementScope 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.StringMapInput + // The OCID of the SQL firewall policy resource. + SqlFirewallPolicyId pulumi.StringPtrInput + // The current state of the SQL firewall policy. + State pulumi.StringPtrInput + // (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + Status pulumi.StringPtrInput + // Unique target identifier. + TargetId pulumi.StringPtrInput + // (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + ViolationAction pulumi.StringPtrInput + // (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + ViolationAudit pulumi.StringPtrInput } func (SqlFirewallPolicyManagementArgs) ElementType() reflect.Type { @@ -247,90 +410,115 @@ func (o SqlFirewallPolicyManagementOutput) ToSqlFirewallPolicyManagementOutputWi return o } +// (Updatable) List of allowed ip addresses for the SQL firewall policy. func (o SqlFirewallPolicyManagementOutput) AllowedClientIps() pulumi.StringArrayOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringArrayOutput { return v.AllowedClientIps }).(pulumi.StringArrayOutput) } +// (Updatable) List of allowed operating system user names for the SQL firewall policy. func (o SqlFirewallPolicyManagementOutput) AllowedClientOsUsernames() pulumi.StringArrayOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringArrayOutput { return v.AllowedClientOsUsernames }).(pulumi.StringArrayOutput) } +// (Updatable) List of allowed client programs for the SQL firewall policy. func (o SqlFirewallPolicyManagementOutput) AllowedClientPrograms() pulumi.StringArrayOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringArrayOutput { return v.AllowedClientPrograms }).(pulumi.StringArrayOutput) } +// (Updatable) The OCID of the compartment containing the SQL firewall policy. func (o SqlFirewallPolicyManagementOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) } +// The database user name. func (o SqlFirewallPolicyManagementOutput) DbUserName() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.DbUserName }).(pulumi.StringOutput) } +// (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"}` func (o SqlFirewallPolicyManagementOutput) DefinedTags() pulumi.StringMapOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) } +// (Updatable) The description of the SQL firewall policy. func (o SqlFirewallPolicyManagementOutput) Description() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) } +// (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. func (o SqlFirewallPolicyManagementOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } +// (Updatable) Specifies the SQL firewall policy enforcement option. func (o SqlFirewallPolicyManagementOutput) EnforcementScope() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.EnforcementScope }).(pulumi.StringOutput) } +// (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 SqlFirewallPolicyManagementOutput) FreeformTags() pulumi.StringMapOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) } +// Details about the current state of the SQL firewall policy in Data Safe. func (o SqlFirewallPolicyManagementOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) } +// The OCID of the security policy corresponding to the SQL firewall policy. func (o SqlFirewallPolicyManagementOutput) SecurityPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.SecurityPolicyId }).(pulumi.StringOutput) } +// The OCID of the SQL firewall policy resource. func (o SqlFirewallPolicyManagementOutput) SqlFirewallPolicyId() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.SqlFirewallPolicyId }).(pulumi.StringOutput) } +// Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. func (o SqlFirewallPolicyManagementOutput) SqlLevel() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.SqlLevel }).(pulumi.StringOutput) } +// The current state of the SQL firewall policy. func (o SqlFirewallPolicyManagementOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. func (o SqlFirewallPolicyManagementOutput) Status() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.Status }).(pulumi.StringOutput) } +// 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"}` func (o SqlFirewallPolicyManagementOutput) SystemTags() pulumi.StringMapOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) } +// Unique target identifier. func (o SqlFirewallPolicyManagementOutput) TargetId() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.TargetId }).(pulumi.StringOutput) } +// The time that the SQL firewall policy was created, in the format defined by RFC3339. func (o SqlFirewallPolicyManagementOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) } +// The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. func (o SqlFirewallPolicyManagementOutput) TimeUpdated() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) } +// (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. func (o SqlFirewallPolicyManagementOutput) ViolationAction() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.ViolationAction }).(pulumi.StringOutput) } +// (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. +// +// ** IMPORTANT ** +// 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 SqlFirewallPolicyManagementOutput) ViolationAudit() pulumi.StringOutput { return o.ApplyT(func(v *SqlFirewallPolicyManagement) pulumi.StringOutput { return v.ViolationAudit }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/datasafe/unsetSecurityAssessmentBaselineManagement.go b/sdk/go/oci/datasafe/unsetSecurityAssessmentBaselineManagement.go new file mode 100644 index 0000000000..1f4a8f0704 --- /dev/null +++ b/sdk/go/oci/datasafe/unsetSecurityAssessmentBaselineManagement.go @@ -0,0 +1,292 @@ +// 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 datasafe + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This resource provides the Unset Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. +// +// Removes the baseline setting for the saved security assessment as the baseline in the compartment where the the specified assessment resides. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataSafe.NewUnsetSecurityAssessmentBaselineManagement(ctx, "test_unset_security_assessment_baseline_management", &DataSafe.UnsetSecurityAssessmentBaselineManagementArgs{ +// SecurityAssessmentId: pulumi.Any(testSetSecurityAssessmentBaselineManagement.SecurityAssessmentId), +// CompartmentId: pulumi.Any(comaprtmentId), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// UnsetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. +// +// ```sh +// $ pulumi import oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement test_unset_security_assessment_baseline_management "id" +// ``` +type UnsetSecurityAssessmentBaselineManagement struct { + pulumi.CustomResourceState + + // The compartment OCID where the assessment resides. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // The OCID of the security assessment. + SecurityAssessmentId pulumi.StringOutput `pulumi:"securityAssessmentId"` +} + +// NewUnsetSecurityAssessmentBaselineManagement registers a new resource with the given unique name, arguments, and options. +func NewUnsetSecurityAssessmentBaselineManagement(ctx *pulumi.Context, + name string, args *UnsetSecurityAssessmentBaselineManagementArgs, opts ...pulumi.ResourceOption) (*UnsetSecurityAssessmentBaselineManagement, 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.SecurityAssessmentId == nil { + return nil, errors.New("invalid value for required argument 'SecurityAssessmentId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource UnsetSecurityAssessmentBaselineManagement + err := ctx.RegisterResource("oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetUnsetSecurityAssessmentBaselineManagement gets an existing UnsetSecurityAssessmentBaselineManagement 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 GetUnsetSecurityAssessmentBaselineManagement(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *UnsetSecurityAssessmentBaselineManagementState, opts ...pulumi.ResourceOption) (*UnsetSecurityAssessmentBaselineManagement, error) { + var resource UnsetSecurityAssessmentBaselineManagement + err := ctx.ReadResource("oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering UnsetSecurityAssessmentBaselineManagement resources. +type unsetSecurityAssessmentBaselineManagementState struct { + // The compartment OCID where the assessment resides. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId *string `pulumi:"compartmentId"` + // The OCID of the security assessment. + SecurityAssessmentId *string `pulumi:"securityAssessmentId"` +} + +type UnsetSecurityAssessmentBaselineManagementState struct { + // The compartment OCID where the assessment resides. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringPtrInput + // The OCID of the security assessment. + SecurityAssessmentId pulumi.StringPtrInput +} + +func (UnsetSecurityAssessmentBaselineManagementState) ElementType() reflect.Type { + return reflect.TypeOf((*unsetSecurityAssessmentBaselineManagementState)(nil)).Elem() +} + +type unsetSecurityAssessmentBaselineManagementArgs struct { + // The compartment OCID where the assessment resides. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId string `pulumi:"compartmentId"` + // The OCID of the security assessment. + SecurityAssessmentId string `pulumi:"securityAssessmentId"` +} + +// The set of arguments for constructing a UnsetSecurityAssessmentBaselineManagement resource. +type UnsetSecurityAssessmentBaselineManagementArgs struct { + // The compartment OCID where the assessment resides. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringInput + // The OCID of the security assessment. + SecurityAssessmentId pulumi.StringInput +} + +func (UnsetSecurityAssessmentBaselineManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*unsetSecurityAssessmentBaselineManagementArgs)(nil)).Elem() +} + +type UnsetSecurityAssessmentBaselineManagementInput interface { + pulumi.Input + + ToUnsetSecurityAssessmentBaselineManagementOutput() UnsetSecurityAssessmentBaselineManagementOutput + ToUnsetSecurityAssessmentBaselineManagementOutputWithContext(ctx context.Context) UnsetSecurityAssessmentBaselineManagementOutput +} + +func (*UnsetSecurityAssessmentBaselineManagement) ElementType() reflect.Type { + return reflect.TypeOf((**UnsetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (i *UnsetSecurityAssessmentBaselineManagement) ToUnsetSecurityAssessmentBaselineManagementOutput() UnsetSecurityAssessmentBaselineManagementOutput { + return i.ToUnsetSecurityAssessmentBaselineManagementOutputWithContext(context.Background()) +} + +func (i *UnsetSecurityAssessmentBaselineManagement) ToUnsetSecurityAssessmentBaselineManagementOutputWithContext(ctx context.Context) UnsetSecurityAssessmentBaselineManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(UnsetSecurityAssessmentBaselineManagementOutput) +} + +// UnsetSecurityAssessmentBaselineManagementArrayInput is an input type that accepts UnsetSecurityAssessmentBaselineManagementArray and UnsetSecurityAssessmentBaselineManagementArrayOutput values. +// You can construct a concrete instance of `UnsetSecurityAssessmentBaselineManagementArrayInput` via: +// +// UnsetSecurityAssessmentBaselineManagementArray{ UnsetSecurityAssessmentBaselineManagementArgs{...} } +type UnsetSecurityAssessmentBaselineManagementArrayInput interface { + pulumi.Input + + ToUnsetSecurityAssessmentBaselineManagementArrayOutput() UnsetSecurityAssessmentBaselineManagementArrayOutput + ToUnsetSecurityAssessmentBaselineManagementArrayOutputWithContext(context.Context) UnsetSecurityAssessmentBaselineManagementArrayOutput +} + +type UnsetSecurityAssessmentBaselineManagementArray []UnsetSecurityAssessmentBaselineManagementInput + +func (UnsetSecurityAssessmentBaselineManagementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*UnsetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (i UnsetSecurityAssessmentBaselineManagementArray) ToUnsetSecurityAssessmentBaselineManagementArrayOutput() UnsetSecurityAssessmentBaselineManagementArrayOutput { + return i.ToUnsetSecurityAssessmentBaselineManagementArrayOutputWithContext(context.Background()) +} + +func (i UnsetSecurityAssessmentBaselineManagementArray) ToUnsetSecurityAssessmentBaselineManagementArrayOutputWithContext(ctx context.Context) UnsetSecurityAssessmentBaselineManagementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(UnsetSecurityAssessmentBaselineManagementArrayOutput) +} + +// UnsetSecurityAssessmentBaselineManagementMapInput is an input type that accepts UnsetSecurityAssessmentBaselineManagementMap and UnsetSecurityAssessmentBaselineManagementMapOutput values. +// You can construct a concrete instance of `UnsetSecurityAssessmentBaselineManagementMapInput` via: +// +// UnsetSecurityAssessmentBaselineManagementMap{ "key": UnsetSecurityAssessmentBaselineManagementArgs{...} } +type UnsetSecurityAssessmentBaselineManagementMapInput interface { + pulumi.Input + + ToUnsetSecurityAssessmentBaselineManagementMapOutput() UnsetSecurityAssessmentBaselineManagementMapOutput + ToUnsetSecurityAssessmentBaselineManagementMapOutputWithContext(context.Context) UnsetSecurityAssessmentBaselineManagementMapOutput +} + +type UnsetSecurityAssessmentBaselineManagementMap map[string]UnsetSecurityAssessmentBaselineManagementInput + +func (UnsetSecurityAssessmentBaselineManagementMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*UnsetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (i UnsetSecurityAssessmentBaselineManagementMap) ToUnsetSecurityAssessmentBaselineManagementMapOutput() UnsetSecurityAssessmentBaselineManagementMapOutput { + return i.ToUnsetSecurityAssessmentBaselineManagementMapOutputWithContext(context.Background()) +} + +func (i UnsetSecurityAssessmentBaselineManagementMap) ToUnsetSecurityAssessmentBaselineManagementMapOutputWithContext(ctx context.Context) UnsetSecurityAssessmentBaselineManagementMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(UnsetSecurityAssessmentBaselineManagementMapOutput) +} + +type UnsetSecurityAssessmentBaselineManagementOutput struct{ *pulumi.OutputState } + +func (UnsetSecurityAssessmentBaselineManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((**UnsetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (o UnsetSecurityAssessmentBaselineManagementOutput) ToUnsetSecurityAssessmentBaselineManagementOutput() UnsetSecurityAssessmentBaselineManagementOutput { + return o +} + +func (o UnsetSecurityAssessmentBaselineManagementOutput) ToUnsetSecurityAssessmentBaselineManagementOutputWithContext(ctx context.Context) UnsetSecurityAssessmentBaselineManagementOutput { + return o +} + +// The compartment OCID where the assessment resides. +// +// ** IMPORTANT ** +// 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 UnsetSecurityAssessmentBaselineManagementOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *UnsetSecurityAssessmentBaselineManagement) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The OCID of the security assessment. +func (o UnsetSecurityAssessmentBaselineManagementOutput) SecurityAssessmentId() pulumi.StringOutput { + return o.ApplyT(func(v *UnsetSecurityAssessmentBaselineManagement) pulumi.StringOutput { return v.SecurityAssessmentId }).(pulumi.StringOutput) +} + +type UnsetSecurityAssessmentBaselineManagementArrayOutput struct{ *pulumi.OutputState } + +func (UnsetSecurityAssessmentBaselineManagementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*UnsetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (o UnsetSecurityAssessmentBaselineManagementArrayOutput) ToUnsetSecurityAssessmentBaselineManagementArrayOutput() UnsetSecurityAssessmentBaselineManagementArrayOutput { + return o +} + +func (o UnsetSecurityAssessmentBaselineManagementArrayOutput) ToUnsetSecurityAssessmentBaselineManagementArrayOutputWithContext(ctx context.Context) UnsetSecurityAssessmentBaselineManagementArrayOutput { + return o +} + +func (o UnsetSecurityAssessmentBaselineManagementArrayOutput) Index(i pulumi.IntInput) UnsetSecurityAssessmentBaselineManagementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *UnsetSecurityAssessmentBaselineManagement { + return vs[0].([]*UnsetSecurityAssessmentBaselineManagement)[vs[1].(int)] + }).(UnsetSecurityAssessmentBaselineManagementOutput) +} + +type UnsetSecurityAssessmentBaselineManagementMapOutput struct{ *pulumi.OutputState } + +func (UnsetSecurityAssessmentBaselineManagementMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*UnsetSecurityAssessmentBaselineManagement)(nil)).Elem() +} + +func (o UnsetSecurityAssessmentBaselineManagementMapOutput) ToUnsetSecurityAssessmentBaselineManagementMapOutput() UnsetSecurityAssessmentBaselineManagementMapOutput { + return o +} + +func (o UnsetSecurityAssessmentBaselineManagementMapOutput) ToUnsetSecurityAssessmentBaselineManagementMapOutputWithContext(ctx context.Context) UnsetSecurityAssessmentBaselineManagementMapOutput { + return o +} + +func (o UnsetSecurityAssessmentBaselineManagementMapOutput) MapIndex(k pulumi.StringInput) UnsetSecurityAssessmentBaselineManagementOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *UnsetSecurityAssessmentBaselineManagement { + return vs[0].(map[string]*UnsetSecurityAssessmentBaselineManagement)[vs[1].(string)] + }).(UnsetSecurityAssessmentBaselineManagementOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*UnsetSecurityAssessmentBaselineManagementInput)(nil)).Elem(), &UnsetSecurityAssessmentBaselineManagement{}) + pulumi.RegisterInputType(reflect.TypeOf((*UnsetSecurityAssessmentBaselineManagementArrayInput)(nil)).Elem(), UnsetSecurityAssessmentBaselineManagementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*UnsetSecurityAssessmentBaselineManagementMapInput)(nil)).Elem(), UnsetSecurityAssessmentBaselineManagementMap{}) + pulumi.RegisterOutputType(UnsetSecurityAssessmentBaselineManagementOutput{}) + pulumi.RegisterOutputType(UnsetSecurityAssessmentBaselineManagementArrayOutput{}) + pulumi.RegisterOutputType(UnsetSecurityAssessmentBaselineManagementMapOutput{}) +} diff --git a/sdk/go/oci/datasafe/unsetUserAssessmentBaselineManagement.go b/sdk/go/oci/datasafe/unsetUserAssessmentBaselineManagement.go new file mode 100644 index 0000000000..37e4a2d9fa --- /dev/null +++ b/sdk/go/oci/datasafe/unsetUserAssessmentBaselineManagement.go @@ -0,0 +1,292 @@ +// 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 datasafe + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This resource provides the Unset User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. +// +// Removes the baseline setting for the saved user assessment as the baseline in the compartment where the the specified assessment resides. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataSafe.NewUnsetUserAssessmentBaselineManagement(ctx, "test_unset_user_assessment_baseline_management", &DataSafe.UnsetUserAssessmentBaselineManagementArgs{ +// UserAssessmentId: pulumi.Any(testSetUserAssessmentBaselineManagement.UserAssessmentId), +// CompartmentId: pulumi.Any(comaprtmentId), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// UnsetUserAssessmentBaselineManagement can be imported using the `id`, e.g. +// +// ```sh +// $ pulumi import oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement test_unset_user_assessment_baseline_management "id" +// ``` +type UnsetUserAssessmentBaselineManagement struct { + pulumi.CustomResourceState + + // The compartment OCID where the assessment resides. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // The OCID of the user assessment. + UserAssessmentId pulumi.StringOutput `pulumi:"userAssessmentId"` +} + +// NewUnsetUserAssessmentBaselineManagement registers a new resource with the given unique name, arguments, and options. +func NewUnsetUserAssessmentBaselineManagement(ctx *pulumi.Context, + name string, args *UnsetUserAssessmentBaselineManagementArgs, opts ...pulumi.ResourceOption) (*UnsetUserAssessmentBaselineManagement, 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.UserAssessmentId == nil { + return nil, errors.New("invalid value for required argument 'UserAssessmentId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource UnsetUserAssessmentBaselineManagement + err := ctx.RegisterResource("oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetUnsetUserAssessmentBaselineManagement gets an existing UnsetUserAssessmentBaselineManagement 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 GetUnsetUserAssessmentBaselineManagement(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *UnsetUserAssessmentBaselineManagementState, opts ...pulumi.ResourceOption) (*UnsetUserAssessmentBaselineManagement, error) { + var resource UnsetUserAssessmentBaselineManagement + err := ctx.ReadResource("oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering UnsetUserAssessmentBaselineManagement resources. +type unsetUserAssessmentBaselineManagementState struct { + // The compartment OCID where the assessment resides. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId *string `pulumi:"compartmentId"` + // The OCID of the user assessment. + UserAssessmentId *string `pulumi:"userAssessmentId"` +} + +type UnsetUserAssessmentBaselineManagementState struct { + // The compartment OCID where the assessment resides. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringPtrInput + // The OCID of the user assessment. + UserAssessmentId pulumi.StringPtrInput +} + +func (UnsetUserAssessmentBaselineManagementState) ElementType() reflect.Type { + return reflect.TypeOf((*unsetUserAssessmentBaselineManagementState)(nil)).Elem() +} + +type unsetUserAssessmentBaselineManagementArgs struct { + // The compartment OCID where the assessment resides. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId string `pulumi:"compartmentId"` + // The OCID of the user assessment. + UserAssessmentId string `pulumi:"userAssessmentId"` +} + +// The set of arguments for constructing a UnsetUserAssessmentBaselineManagement resource. +type UnsetUserAssessmentBaselineManagementArgs struct { + // The compartment OCID where the assessment resides. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + CompartmentId pulumi.StringInput + // The OCID of the user assessment. + UserAssessmentId pulumi.StringInput +} + +func (UnsetUserAssessmentBaselineManagementArgs) ElementType() reflect.Type { + return reflect.TypeOf((*unsetUserAssessmentBaselineManagementArgs)(nil)).Elem() +} + +type UnsetUserAssessmentBaselineManagementInput interface { + pulumi.Input + + ToUnsetUserAssessmentBaselineManagementOutput() UnsetUserAssessmentBaselineManagementOutput + ToUnsetUserAssessmentBaselineManagementOutputWithContext(ctx context.Context) UnsetUserAssessmentBaselineManagementOutput +} + +func (*UnsetUserAssessmentBaselineManagement) ElementType() reflect.Type { + return reflect.TypeOf((**UnsetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (i *UnsetUserAssessmentBaselineManagement) ToUnsetUserAssessmentBaselineManagementOutput() UnsetUserAssessmentBaselineManagementOutput { + return i.ToUnsetUserAssessmentBaselineManagementOutputWithContext(context.Background()) +} + +func (i *UnsetUserAssessmentBaselineManagement) ToUnsetUserAssessmentBaselineManagementOutputWithContext(ctx context.Context) UnsetUserAssessmentBaselineManagementOutput { + return pulumi.ToOutputWithContext(ctx, i).(UnsetUserAssessmentBaselineManagementOutput) +} + +// UnsetUserAssessmentBaselineManagementArrayInput is an input type that accepts UnsetUserAssessmentBaselineManagementArray and UnsetUserAssessmentBaselineManagementArrayOutput values. +// You can construct a concrete instance of `UnsetUserAssessmentBaselineManagementArrayInput` via: +// +// UnsetUserAssessmentBaselineManagementArray{ UnsetUserAssessmentBaselineManagementArgs{...} } +type UnsetUserAssessmentBaselineManagementArrayInput interface { + pulumi.Input + + ToUnsetUserAssessmentBaselineManagementArrayOutput() UnsetUserAssessmentBaselineManagementArrayOutput + ToUnsetUserAssessmentBaselineManagementArrayOutputWithContext(context.Context) UnsetUserAssessmentBaselineManagementArrayOutput +} + +type UnsetUserAssessmentBaselineManagementArray []UnsetUserAssessmentBaselineManagementInput + +func (UnsetUserAssessmentBaselineManagementArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*UnsetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (i UnsetUserAssessmentBaselineManagementArray) ToUnsetUserAssessmentBaselineManagementArrayOutput() UnsetUserAssessmentBaselineManagementArrayOutput { + return i.ToUnsetUserAssessmentBaselineManagementArrayOutputWithContext(context.Background()) +} + +func (i UnsetUserAssessmentBaselineManagementArray) ToUnsetUserAssessmentBaselineManagementArrayOutputWithContext(ctx context.Context) UnsetUserAssessmentBaselineManagementArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(UnsetUserAssessmentBaselineManagementArrayOutput) +} + +// UnsetUserAssessmentBaselineManagementMapInput is an input type that accepts UnsetUserAssessmentBaselineManagementMap and UnsetUserAssessmentBaselineManagementMapOutput values. +// You can construct a concrete instance of `UnsetUserAssessmentBaselineManagementMapInput` via: +// +// UnsetUserAssessmentBaselineManagementMap{ "key": UnsetUserAssessmentBaselineManagementArgs{...} } +type UnsetUserAssessmentBaselineManagementMapInput interface { + pulumi.Input + + ToUnsetUserAssessmentBaselineManagementMapOutput() UnsetUserAssessmentBaselineManagementMapOutput + ToUnsetUserAssessmentBaselineManagementMapOutputWithContext(context.Context) UnsetUserAssessmentBaselineManagementMapOutput +} + +type UnsetUserAssessmentBaselineManagementMap map[string]UnsetUserAssessmentBaselineManagementInput + +func (UnsetUserAssessmentBaselineManagementMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*UnsetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (i UnsetUserAssessmentBaselineManagementMap) ToUnsetUserAssessmentBaselineManagementMapOutput() UnsetUserAssessmentBaselineManagementMapOutput { + return i.ToUnsetUserAssessmentBaselineManagementMapOutputWithContext(context.Background()) +} + +func (i UnsetUserAssessmentBaselineManagementMap) ToUnsetUserAssessmentBaselineManagementMapOutputWithContext(ctx context.Context) UnsetUserAssessmentBaselineManagementMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(UnsetUserAssessmentBaselineManagementMapOutput) +} + +type UnsetUserAssessmentBaselineManagementOutput struct{ *pulumi.OutputState } + +func (UnsetUserAssessmentBaselineManagementOutput) ElementType() reflect.Type { + return reflect.TypeOf((**UnsetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (o UnsetUserAssessmentBaselineManagementOutput) ToUnsetUserAssessmentBaselineManagementOutput() UnsetUserAssessmentBaselineManagementOutput { + return o +} + +func (o UnsetUserAssessmentBaselineManagementOutput) ToUnsetUserAssessmentBaselineManagementOutputWithContext(ctx context.Context) UnsetUserAssessmentBaselineManagementOutput { + return o +} + +// The compartment OCID where the assessment resides. +// +// ** IMPORTANT ** +// 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 UnsetUserAssessmentBaselineManagementOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *UnsetUserAssessmentBaselineManagement) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The OCID of the user assessment. +func (o UnsetUserAssessmentBaselineManagementOutput) UserAssessmentId() pulumi.StringOutput { + return o.ApplyT(func(v *UnsetUserAssessmentBaselineManagement) pulumi.StringOutput { return v.UserAssessmentId }).(pulumi.StringOutput) +} + +type UnsetUserAssessmentBaselineManagementArrayOutput struct{ *pulumi.OutputState } + +func (UnsetUserAssessmentBaselineManagementArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*UnsetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (o UnsetUserAssessmentBaselineManagementArrayOutput) ToUnsetUserAssessmentBaselineManagementArrayOutput() UnsetUserAssessmentBaselineManagementArrayOutput { + return o +} + +func (o UnsetUserAssessmentBaselineManagementArrayOutput) ToUnsetUserAssessmentBaselineManagementArrayOutputWithContext(ctx context.Context) UnsetUserAssessmentBaselineManagementArrayOutput { + return o +} + +func (o UnsetUserAssessmentBaselineManagementArrayOutput) Index(i pulumi.IntInput) UnsetUserAssessmentBaselineManagementOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *UnsetUserAssessmentBaselineManagement { + return vs[0].([]*UnsetUserAssessmentBaselineManagement)[vs[1].(int)] + }).(UnsetUserAssessmentBaselineManagementOutput) +} + +type UnsetUserAssessmentBaselineManagementMapOutput struct{ *pulumi.OutputState } + +func (UnsetUserAssessmentBaselineManagementMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*UnsetUserAssessmentBaselineManagement)(nil)).Elem() +} + +func (o UnsetUserAssessmentBaselineManagementMapOutput) ToUnsetUserAssessmentBaselineManagementMapOutput() UnsetUserAssessmentBaselineManagementMapOutput { + return o +} + +func (o UnsetUserAssessmentBaselineManagementMapOutput) ToUnsetUserAssessmentBaselineManagementMapOutputWithContext(ctx context.Context) UnsetUserAssessmentBaselineManagementMapOutput { + return o +} + +func (o UnsetUserAssessmentBaselineManagementMapOutput) MapIndex(k pulumi.StringInput) UnsetUserAssessmentBaselineManagementOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *UnsetUserAssessmentBaselineManagement { + return vs[0].(map[string]*UnsetUserAssessmentBaselineManagement)[vs[1].(string)] + }).(UnsetUserAssessmentBaselineManagementOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*UnsetUserAssessmentBaselineManagementInput)(nil)).Elem(), &UnsetUserAssessmentBaselineManagement{}) + pulumi.RegisterInputType(reflect.TypeOf((*UnsetUserAssessmentBaselineManagementArrayInput)(nil)).Elem(), UnsetUserAssessmentBaselineManagementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*UnsetUserAssessmentBaselineManagementMapInput)(nil)).Elem(), UnsetUserAssessmentBaselineManagementMap{}) + pulumi.RegisterOutputType(UnsetUserAssessmentBaselineManagementOutput{}) + pulumi.RegisterOutputType(UnsetUserAssessmentBaselineManagementArrayOutput{}) + pulumi.RegisterOutputType(UnsetUserAssessmentBaselineManagementMapOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/delegationControl.go b/sdk/go/oci/delegateaccesscontrol/delegationControl.go new file mode 100644 index 0000000000..7899618fdb --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/delegationControl.go @@ -0,0 +1,585 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This resource provides the Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Creates a Delegation Control. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.NewDelegationControl(ctx, "test_delegation_control", &DelegateAccessControl.DelegationControlArgs{ +// CompartmentId: pulumi.Any(compartmentId), +// DelegationSubscriptionIds: pulumi.Any(delegationControlDelegationSubscriptionIds), +// DisplayName: pulumi.Any(delegationControlDisplayName), +// NotificationMessageFormat: pulumi.Any(delegationControlNotificationMessageFormat), +// NotificationTopicId: pulumi.Any(testNotificationTopic.Id), +// ResourceIds: pulumi.Any(delegationControlResourceIds), +// ResourceType: pulumi.Any(delegationControlResourceType), +// DefinedTags: pulumi.StringMap{ +// "Operations.CostCenter": pulumi.String("42"), +// }, +// Description: pulumi.Any(delegationControlDescription), +// FreeformTags: pulumi.StringMap{ +// "Department": pulumi.String("Finance"), +// }, +// IsAutoApproveDuringMaintenance: pulumi.Any(delegationControlIsAutoApproveDuringMaintenance), +// NumApprovalsRequired: pulumi.Any(delegationControlNumApprovalsRequired), +// PreApprovedServiceProviderActionNames: pulumi.Any(delegationControlPreApprovedServiceProviderActionNames), +// VaultId: pulumi.Any(testVault.Id), +// VaultKeyId: pulumi.Any(testKey.Id), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// DelegationControls can be imported using the `id`, e.g. +// +// ```sh +// $ pulumi import oci:DelegateAccessControl/delegationControl:DelegationControl test_delegation_control "id" +// ``` +type DelegationControl struct { + pulumi.CustomResourceState + + // (Updatable) The OCID of the compartment that contains this Delegation Control. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // (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.StringMapOutput `pulumi:"definedTags"` + // (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + DelegationSubscriptionIds pulumi.StringArrayOutput `pulumi:"delegationSubscriptionIds"` + // (Updatable) Description of the Delegation Control. + Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) Name of the Delegation Control. The name does not need to be unique. + 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.StringMapOutput `pulumi:"freeformTags"` + // (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + IsAutoApproveDuringMaintenance pulumi.BoolOutput `pulumi:"isAutoApproveDuringMaintenance"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails pulumi.StringOutput `pulumi:"lifecycleStateDetails"` + // (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + NotificationMessageFormat pulumi.StringOutput `pulumi:"notificationMessageFormat"` + // (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + NotificationTopicId pulumi.StringOutput `pulumi:"notificationTopicId"` + // (Updatable) number of approvals required. + NumApprovalsRequired pulumi.IntOutput `pulumi:"numApprovalsRequired"` + // (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + PreApprovedServiceProviderActionNames pulumi.StringArrayOutput `pulumi:"preApprovedServiceProviderActionNames"` + // (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + ResourceIds pulumi.StringArrayOutput `pulumi:"resourceIds"` + // Resource type for which the Delegation Control is applicable to. + ResourceType pulumi.StringOutput `pulumi:"resourceType"` + // The current lifecycle state of the Delegation Control. + 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.StringMapOutput `pulumi:"systemTags"` + // Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + TimeDeleted pulumi.StringOutput `pulumi:"timeDeleted"` + // Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` + // The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + VaultId pulumi.StringOutput `pulumi:"vaultId"` + // The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + VaultKeyId pulumi.StringOutput `pulumi:"vaultKeyId"` +} + +// NewDelegationControl registers a new resource with the given unique name, arguments, and options. +func NewDelegationControl(ctx *pulumi.Context, + name string, args *DelegationControlArgs, opts ...pulumi.ResourceOption) (*DelegationControl, 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.DelegationSubscriptionIds == nil { + return nil, errors.New("invalid value for required argument 'DelegationSubscriptionIds'") + } + if args.DisplayName == nil { + return nil, errors.New("invalid value for required argument 'DisplayName'") + } + if args.NotificationMessageFormat == nil { + return nil, errors.New("invalid value for required argument 'NotificationMessageFormat'") + } + if args.NotificationTopicId == nil { + return nil, errors.New("invalid value for required argument 'NotificationTopicId'") + } + if args.ResourceIds == nil { + return nil, errors.New("invalid value for required argument 'ResourceIds'") + } + if args.ResourceType == nil { + return nil, errors.New("invalid value for required argument 'ResourceType'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource DelegationControl + err := ctx.RegisterResource("oci:DelegateAccessControl/delegationControl:DelegationControl", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDelegationControl gets an existing DelegationControl 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 GetDelegationControl(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DelegationControlState, opts ...pulumi.ResourceOption) (*DelegationControl, error) { + var resource DelegationControl + err := ctx.ReadResource("oci:DelegateAccessControl/delegationControl:DelegationControl", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DelegationControl resources. +type delegationControlState struct { + // (Updatable) The OCID of the compartment that contains this Delegation Control. + CompartmentId *string `pulumi:"compartmentId"` + // (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]string `pulumi:"definedTags"` + // (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + DelegationSubscriptionIds []string `pulumi:"delegationSubscriptionIds"` + // (Updatable) Description of the Delegation Control. + Description *string `pulumi:"description"` + // (Updatable) Name of the Delegation Control. The name does not need to be unique. + 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]string `pulumi:"freeformTags"` + // (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + IsAutoApproveDuringMaintenance *bool `pulumi:"isAutoApproveDuringMaintenance"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails *string `pulumi:"lifecycleStateDetails"` + // (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + NotificationMessageFormat *string `pulumi:"notificationMessageFormat"` + // (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + NotificationTopicId *string `pulumi:"notificationTopicId"` + // (Updatable) number of approvals required. + NumApprovalsRequired *int `pulumi:"numApprovalsRequired"` + // (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + PreApprovedServiceProviderActionNames []string `pulumi:"preApprovedServiceProviderActionNames"` + // (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + ResourceIds []string `pulumi:"resourceIds"` + // Resource type for which the Delegation Control is applicable to. + ResourceType *string `pulumi:"resourceType"` + // The current lifecycle state of the Delegation Control. + 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]string `pulumi:"systemTags"` + // Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated *string `pulumi:"timeCreated"` + // Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + TimeDeleted *string `pulumi:"timeDeleted"` + // Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated *string `pulumi:"timeUpdated"` + // The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + VaultId *string `pulumi:"vaultId"` + // The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + VaultKeyId *string `pulumi:"vaultKeyId"` +} + +type DelegationControlState struct { + // (Updatable) The OCID of the compartment that contains this Delegation Control. + CompartmentId pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + DelegationSubscriptionIds pulumi.StringArrayInput + // (Updatable) Description of the Delegation Control. + Description pulumi.StringPtrInput + // (Updatable) Name of the Delegation Control. The name does not need to be unique. + 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.StringMapInput + // (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + IsAutoApproveDuringMaintenance pulumi.BoolPtrInput + // Description of the current lifecycle state in more detail. + LifecycleStateDetails pulumi.StringPtrInput + // (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + NotificationMessageFormat pulumi.StringPtrInput + // (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + NotificationTopicId pulumi.StringPtrInput + // (Updatable) number of approvals required. + NumApprovalsRequired pulumi.IntPtrInput + // (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + PreApprovedServiceProviderActionNames pulumi.StringArrayInput + // (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + ResourceIds pulumi.StringArrayInput + // Resource type for which the Delegation Control is applicable to. + ResourceType pulumi.StringPtrInput + // The current lifecycle state of the Delegation Control. + 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.StringMapInput + // Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated pulumi.StringPtrInput + // Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + TimeDeleted pulumi.StringPtrInput + // Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated pulumi.StringPtrInput + // The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + VaultId pulumi.StringPtrInput + // The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + VaultKeyId pulumi.StringPtrInput +} + +func (DelegationControlState) ElementType() reflect.Type { + return reflect.TypeOf((*delegationControlState)(nil)).Elem() +} + +type delegationControlArgs struct { + // (Updatable) The OCID of the compartment that contains this Delegation Control. + CompartmentId string `pulumi:"compartmentId"` + // (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]string `pulumi:"definedTags"` + // (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + DelegationSubscriptionIds []string `pulumi:"delegationSubscriptionIds"` + // (Updatable) Description of the Delegation Control. + Description *string `pulumi:"description"` + // (Updatable) Name of the Delegation Control. The name does not need to be unique. + 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]string `pulumi:"freeformTags"` + // (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + IsAutoApproveDuringMaintenance *bool `pulumi:"isAutoApproveDuringMaintenance"` + // (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + NotificationMessageFormat string `pulumi:"notificationMessageFormat"` + // (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + NotificationTopicId string `pulumi:"notificationTopicId"` + // (Updatable) number of approvals required. + NumApprovalsRequired *int `pulumi:"numApprovalsRequired"` + // (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + PreApprovedServiceProviderActionNames []string `pulumi:"preApprovedServiceProviderActionNames"` + // (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + ResourceIds []string `pulumi:"resourceIds"` + // Resource type for which the Delegation Control is applicable to. + ResourceType string `pulumi:"resourceType"` + // The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + VaultId *string `pulumi:"vaultId"` + // The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + VaultKeyId *string `pulumi:"vaultKeyId"` +} + +// The set of arguments for constructing a DelegationControl resource. +type DelegationControlArgs struct { + // (Updatable) The OCID of the compartment that contains this Delegation Control. + CompartmentId pulumi.StringInput + // (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.StringMapInput + // (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + DelegationSubscriptionIds pulumi.StringArrayInput + // (Updatable) Description of the Delegation Control. + Description pulumi.StringPtrInput + // (Updatable) Name of the Delegation Control. The name does not need to be unique. + DisplayName pulumi.StringInput + // (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.StringMapInput + // (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + IsAutoApproveDuringMaintenance pulumi.BoolPtrInput + // (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + NotificationMessageFormat pulumi.StringInput + // (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + NotificationTopicId pulumi.StringInput + // (Updatable) number of approvals required. + NumApprovalsRequired pulumi.IntPtrInput + // (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + PreApprovedServiceProviderActionNames pulumi.StringArrayInput + // (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + ResourceIds pulumi.StringArrayInput + // Resource type for which the Delegation Control is applicable to. + ResourceType pulumi.StringInput + // The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + VaultId pulumi.StringPtrInput + // The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + VaultKeyId pulumi.StringPtrInput +} + +func (DelegationControlArgs) ElementType() reflect.Type { + return reflect.TypeOf((*delegationControlArgs)(nil)).Elem() +} + +type DelegationControlInput interface { + pulumi.Input + + ToDelegationControlOutput() DelegationControlOutput + ToDelegationControlOutputWithContext(ctx context.Context) DelegationControlOutput +} + +func (*DelegationControl) ElementType() reflect.Type { + return reflect.TypeOf((**DelegationControl)(nil)).Elem() +} + +func (i *DelegationControl) ToDelegationControlOutput() DelegationControlOutput { + return i.ToDelegationControlOutputWithContext(context.Background()) +} + +func (i *DelegationControl) ToDelegationControlOutputWithContext(ctx context.Context) DelegationControlOutput { + return pulumi.ToOutputWithContext(ctx, i).(DelegationControlOutput) +} + +// DelegationControlArrayInput is an input type that accepts DelegationControlArray and DelegationControlArrayOutput values. +// You can construct a concrete instance of `DelegationControlArrayInput` via: +// +// DelegationControlArray{ DelegationControlArgs{...} } +type DelegationControlArrayInput interface { + pulumi.Input + + ToDelegationControlArrayOutput() DelegationControlArrayOutput + ToDelegationControlArrayOutputWithContext(context.Context) DelegationControlArrayOutput +} + +type DelegationControlArray []DelegationControlInput + +func (DelegationControlArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DelegationControl)(nil)).Elem() +} + +func (i DelegationControlArray) ToDelegationControlArrayOutput() DelegationControlArrayOutput { + return i.ToDelegationControlArrayOutputWithContext(context.Background()) +} + +func (i DelegationControlArray) ToDelegationControlArrayOutputWithContext(ctx context.Context) DelegationControlArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DelegationControlArrayOutput) +} + +// DelegationControlMapInput is an input type that accepts DelegationControlMap and DelegationControlMapOutput values. +// You can construct a concrete instance of `DelegationControlMapInput` via: +// +// DelegationControlMap{ "key": DelegationControlArgs{...} } +type DelegationControlMapInput interface { + pulumi.Input + + ToDelegationControlMapOutput() DelegationControlMapOutput + ToDelegationControlMapOutputWithContext(context.Context) DelegationControlMapOutput +} + +type DelegationControlMap map[string]DelegationControlInput + +func (DelegationControlMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DelegationControl)(nil)).Elem() +} + +func (i DelegationControlMap) ToDelegationControlMapOutput() DelegationControlMapOutput { + return i.ToDelegationControlMapOutputWithContext(context.Background()) +} + +func (i DelegationControlMap) ToDelegationControlMapOutputWithContext(ctx context.Context) DelegationControlMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DelegationControlMapOutput) +} + +type DelegationControlOutput struct{ *pulumi.OutputState } + +func (DelegationControlOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DelegationControl)(nil)).Elem() +} + +func (o DelegationControlOutput) ToDelegationControlOutput() DelegationControlOutput { + return o +} + +func (o DelegationControlOutput) ToDelegationControlOutputWithContext(ctx context.Context) DelegationControlOutput { + return o +} + +// (Updatable) The OCID of the compartment that contains this Delegation Control. +func (o DelegationControlOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// (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"}` +func (o DelegationControlOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. +func (o DelegationControlOutput) DelegationSubscriptionIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringArrayOutput { return v.DelegationSubscriptionIds }).(pulumi.StringArrayOutput) +} + +// (Updatable) Description of the Delegation Control. +func (o DelegationControlOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// (Updatable) Name of the Delegation Control. The name does not need to be unique. +func (o DelegationControlOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// (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 DelegationControlOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. +func (o DelegationControlOutput) IsAutoApproveDuringMaintenance() pulumi.BoolOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.BoolOutput { return v.IsAutoApproveDuringMaintenance }).(pulumi.BoolOutput) +} + +// Description of the current lifecycle state in more detail. +func (o DelegationControlOutput) LifecycleStateDetails() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.LifecycleStateDetails }).(pulumi.StringOutput) +} + +// (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. +func (o DelegationControlOutput) NotificationMessageFormat() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.NotificationMessageFormat }).(pulumi.StringOutput) +} + +// (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. +func (o DelegationControlOutput) NotificationTopicId() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.NotificationTopicId }).(pulumi.StringOutput) +} + +// (Updatable) number of approvals required. +func (o DelegationControlOutput) NumApprovalsRequired() pulumi.IntOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.IntOutput { return v.NumApprovalsRequired }).(pulumi.IntOutput) +} + +// (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. +func (o DelegationControlOutput) PreApprovedServiceProviderActionNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringArrayOutput { return v.PreApprovedServiceProviderActionNames }).(pulumi.StringArrayOutput) +} + +// (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. +func (o DelegationControlOutput) ResourceIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringArrayOutput { return v.ResourceIds }).(pulumi.StringArrayOutput) +} + +// Resource type for which the Delegation Control is applicable to. +func (o DelegationControlOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.ResourceType }).(pulumi.StringOutput) +} + +// The current lifecycle state of the Delegation Control. +func (o DelegationControlOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) 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 DelegationControlOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o DelegationControlOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. +func (o DelegationControlOutput) TimeDeleted() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.TimeDeleted }).(pulumi.StringOutput) +} + +// Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o DelegationControlOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. +func (o DelegationControlOutput) VaultId() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.VaultId }).(pulumi.StringOutput) +} + +// The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. +// +// ** IMPORTANT ** +// 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 DelegationControlOutput) VaultKeyId() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationControl) pulumi.StringOutput { return v.VaultKeyId }).(pulumi.StringOutput) +} + +type DelegationControlArrayOutput struct{ *pulumi.OutputState } + +func (DelegationControlArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DelegationControl)(nil)).Elem() +} + +func (o DelegationControlArrayOutput) ToDelegationControlArrayOutput() DelegationControlArrayOutput { + return o +} + +func (o DelegationControlArrayOutput) ToDelegationControlArrayOutputWithContext(ctx context.Context) DelegationControlArrayOutput { + return o +} + +func (o DelegationControlArrayOutput) Index(i pulumi.IntInput) DelegationControlOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DelegationControl { + return vs[0].([]*DelegationControl)[vs[1].(int)] + }).(DelegationControlOutput) +} + +type DelegationControlMapOutput struct{ *pulumi.OutputState } + +func (DelegationControlMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DelegationControl)(nil)).Elem() +} + +func (o DelegationControlMapOutput) ToDelegationControlMapOutput() DelegationControlMapOutput { + return o +} + +func (o DelegationControlMapOutput) ToDelegationControlMapOutputWithContext(ctx context.Context) DelegationControlMapOutput { + return o +} + +func (o DelegationControlMapOutput) MapIndex(k pulumi.StringInput) DelegationControlOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DelegationControl { + return vs[0].(map[string]*DelegationControl)[vs[1].(string)] + }).(DelegationControlOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DelegationControlInput)(nil)).Elem(), &DelegationControl{}) + pulumi.RegisterInputType(reflect.TypeOf((*DelegationControlArrayInput)(nil)).Elem(), DelegationControlArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DelegationControlMapInput)(nil)).Elem(), DelegationControlMap{}) + pulumi.RegisterOutputType(DelegationControlOutput{}) + pulumi.RegisterOutputType(DelegationControlArrayOutput{}) + pulumi.RegisterOutputType(DelegationControlMapOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/delegationSubscription.go b/sdk/go/oci/delegateaccesscontrol/delegationSubscription.go new file mode 100644 index 0000000000..3e92e58718 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/delegationSubscription.go @@ -0,0 +1,429 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This resource provides the Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Creates Delegation Subscription in Delegation Control. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.NewDelegationSubscription(ctx, "test_delegation_subscription", &DelegateAccessControl.DelegationSubscriptionArgs{ +// CompartmentId: pulumi.Any(compartmentId), +// ServiceProviderId: pulumi.Any(testServiceProvider.Id), +// SubscribedServiceType: pulumi.Any(delegationSubscriptionSubscribedServiceType), +// DefinedTags: pulumi.StringMap{ +// "Operations.CostCenter": pulumi.String("42"), +// }, +// Description: pulumi.Any(delegationSubscriptionDescription), +// FreeformTags: pulumi.StringMap{ +// "Department": pulumi.String("Finance"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// DelegationSubscriptions can be imported using the `id`, e.g. +// +// ```sh +// $ pulumi import oci:DelegateAccessControl/delegationSubscription:DelegationSubscription test_delegation_subscription "id" +// ``` +type DelegationSubscription struct { + pulumi.CustomResourceState + + // (Updatable) The OCID of the compartment that contains the Delegation Control. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // (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.StringMapOutput `pulumi:"definedTags"` + // (Updatable) Description of the Delegation Subscription. + Description pulumi.StringOutput `pulumi:"description"` + // Display name + 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.StringMapOutput `pulumi:"freeformTags"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails pulumi.StringOutput `pulumi:"lifecycleStateDetails"` + // Unique identifier of the Service Provider. + ServiceProviderId pulumi.StringOutput `pulumi:"serviceProviderId"` + // The current lifecycle state of the Service Provider. + State pulumi.StringOutput `pulumi:"state"` + // Subscribed Service Provider Service Type. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + SubscribedServiceType pulumi.StringOutput `pulumi:"subscribedServiceType"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` + // Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` +} + +// NewDelegationSubscription registers a new resource with the given unique name, arguments, and options. +func NewDelegationSubscription(ctx *pulumi.Context, + name string, args *DelegationSubscriptionArgs, opts ...pulumi.ResourceOption) (*DelegationSubscription, 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.ServiceProviderId == nil { + return nil, errors.New("invalid value for required argument 'ServiceProviderId'") + } + if args.SubscribedServiceType == nil { + return nil, errors.New("invalid value for required argument 'SubscribedServiceType'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource DelegationSubscription + err := ctx.RegisterResource("oci:DelegateAccessControl/delegationSubscription:DelegationSubscription", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDelegationSubscription gets an existing DelegationSubscription 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 GetDelegationSubscription(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DelegationSubscriptionState, opts ...pulumi.ResourceOption) (*DelegationSubscription, error) { + var resource DelegationSubscription + err := ctx.ReadResource("oci:DelegateAccessControl/delegationSubscription:DelegationSubscription", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DelegationSubscription resources. +type delegationSubscriptionState struct { + // (Updatable) The OCID of the compartment that contains the Delegation Control. + CompartmentId *string `pulumi:"compartmentId"` + // (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]string `pulumi:"definedTags"` + // (Updatable) Description of the Delegation Subscription. + Description *string `pulumi:"description"` + // Display name + 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]string `pulumi:"freeformTags"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails *string `pulumi:"lifecycleStateDetails"` + // Unique identifier of the Service Provider. + ServiceProviderId *string `pulumi:"serviceProviderId"` + // The current lifecycle state of the Service Provider. + State *string `pulumi:"state"` + // Subscribed Service Provider Service Type. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + SubscribedServiceType *string `pulumi:"subscribedServiceType"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]string `pulumi:"systemTags"` + // Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated *string `pulumi:"timeCreated"` + // Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated *string `pulumi:"timeUpdated"` +} + +type DelegationSubscriptionState struct { + // (Updatable) The OCID of the compartment that contains the Delegation Control. + CompartmentId pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) Description of the Delegation Subscription. + Description pulumi.StringPtrInput + // Display name + 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.StringMapInput + // Description of the current lifecycle state in more detail. + LifecycleStateDetails pulumi.StringPtrInput + // Unique identifier of the Service Provider. + ServiceProviderId pulumi.StringPtrInput + // The current lifecycle state of the Service Provider. + State pulumi.StringPtrInput + // Subscribed Service Provider Service Type. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + SubscribedServiceType 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.StringMapInput + // Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated pulumi.StringPtrInput + // Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated pulumi.StringPtrInput +} + +func (DelegationSubscriptionState) ElementType() reflect.Type { + return reflect.TypeOf((*delegationSubscriptionState)(nil)).Elem() +} + +type delegationSubscriptionArgs struct { + // (Updatable) The OCID of the compartment that contains the Delegation Control. + CompartmentId string `pulumi:"compartmentId"` + // (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]string `pulumi:"definedTags"` + // (Updatable) Description of the Delegation Subscription. + Description *string `pulumi:"description"` + // (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]string `pulumi:"freeformTags"` + // Unique identifier of the Service Provider. + ServiceProviderId string `pulumi:"serviceProviderId"` + // Subscribed Service Provider Service Type. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + SubscribedServiceType string `pulumi:"subscribedServiceType"` +} + +// The set of arguments for constructing a DelegationSubscription resource. +type DelegationSubscriptionArgs struct { + // (Updatable) The OCID of the compartment that contains the Delegation Control. + CompartmentId pulumi.StringInput + // (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.StringMapInput + // (Updatable) Description of the Delegation Subscription. + Description 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.StringMapInput + // Unique identifier of the Service Provider. + ServiceProviderId pulumi.StringInput + // Subscribed Service Provider Service Type. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + SubscribedServiceType pulumi.StringInput +} + +func (DelegationSubscriptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*delegationSubscriptionArgs)(nil)).Elem() +} + +type DelegationSubscriptionInput interface { + pulumi.Input + + ToDelegationSubscriptionOutput() DelegationSubscriptionOutput + ToDelegationSubscriptionOutputWithContext(ctx context.Context) DelegationSubscriptionOutput +} + +func (*DelegationSubscription) ElementType() reflect.Type { + return reflect.TypeOf((**DelegationSubscription)(nil)).Elem() +} + +func (i *DelegationSubscription) ToDelegationSubscriptionOutput() DelegationSubscriptionOutput { + return i.ToDelegationSubscriptionOutputWithContext(context.Background()) +} + +func (i *DelegationSubscription) ToDelegationSubscriptionOutputWithContext(ctx context.Context) DelegationSubscriptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(DelegationSubscriptionOutput) +} + +// DelegationSubscriptionArrayInput is an input type that accepts DelegationSubscriptionArray and DelegationSubscriptionArrayOutput values. +// You can construct a concrete instance of `DelegationSubscriptionArrayInput` via: +// +// DelegationSubscriptionArray{ DelegationSubscriptionArgs{...} } +type DelegationSubscriptionArrayInput interface { + pulumi.Input + + ToDelegationSubscriptionArrayOutput() DelegationSubscriptionArrayOutput + ToDelegationSubscriptionArrayOutputWithContext(context.Context) DelegationSubscriptionArrayOutput +} + +type DelegationSubscriptionArray []DelegationSubscriptionInput + +func (DelegationSubscriptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DelegationSubscription)(nil)).Elem() +} + +func (i DelegationSubscriptionArray) ToDelegationSubscriptionArrayOutput() DelegationSubscriptionArrayOutput { + return i.ToDelegationSubscriptionArrayOutputWithContext(context.Background()) +} + +func (i DelegationSubscriptionArray) ToDelegationSubscriptionArrayOutputWithContext(ctx context.Context) DelegationSubscriptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DelegationSubscriptionArrayOutput) +} + +// DelegationSubscriptionMapInput is an input type that accepts DelegationSubscriptionMap and DelegationSubscriptionMapOutput values. +// You can construct a concrete instance of `DelegationSubscriptionMapInput` via: +// +// DelegationSubscriptionMap{ "key": DelegationSubscriptionArgs{...} } +type DelegationSubscriptionMapInput interface { + pulumi.Input + + ToDelegationSubscriptionMapOutput() DelegationSubscriptionMapOutput + ToDelegationSubscriptionMapOutputWithContext(context.Context) DelegationSubscriptionMapOutput +} + +type DelegationSubscriptionMap map[string]DelegationSubscriptionInput + +func (DelegationSubscriptionMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DelegationSubscription)(nil)).Elem() +} + +func (i DelegationSubscriptionMap) ToDelegationSubscriptionMapOutput() DelegationSubscriptionMapOutput { + return i.ToDelegationSubscriptionMapOutputWithContext(context.Background()) +} + +func (i DelegationSubscriptionMap) ToDelegationSubscriptionMapOutputWithContext(ctx context.Context) DelegationSubscriptionMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DelegationSubscriptionMapOutput) +} + +type DelegationSubscriptionOutput struct{ *pulumi.OutputState } + +func (DelegationSubscriptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DelegationSubscription)(nil)).Elem() +} + +func (o DelegationSubscriptionOutput) ToDelegationSubscriptionOutput() DelegationSubscriptionOutput { + return o +} + +func (o DelegationSubscriptionOutput) ToDelegationSubscriptionOutputWithContext(ctx context.Context) DelegationSubscriptionOutput { + return o +} + +// (Updatable) The OCID of the compartment that contains the Delegation Control. +func (o DelegationSubscriptionOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// (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"}` +func (o DelegationSubscriptionOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// (Updatable) Description of the Delegation Subscription. +func (o DelegationSubscriptionOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// Display name +func (o DelegationSubscriptionOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// (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 DelegationSubscriptionOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// Description of the current lifecycle state in more detail. +func (o DelegationSubscriptionOutput) LifecycleStateDetails() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringOutput { return v.LifecycleStateDetails }).(pulumi.StringOutput) +} + +// Unique identifier of the Service Provider. +func (o DelegationSubscriptionOutput) ServiceProviderId() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringOutput { return v.ServiceProviderId }).(pulumi.StringOutput) +} + +// The current lifecycle state of the Service Provider. +func (o DelegationSubscriptionOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// Subscribed Service Provider Service Type. +// +// ** IMPORTANT ** +// 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 DelegationSubscriptionOutput) SubscribedServiceType() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringOutput { return v.SubscribedServiceType }).(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 DelegationSubscriptionOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o DelegationSubscriptionOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o DelegationSubscriptionOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *DelegationSubscription) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type DelegationSubscriptionArrayOutput struct{ *pulumi.OutputState } + +func (DelegationSubscriptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DelegationSubscription)(nil)).Elem() +} + +func (o DelegationSubscriptionArrayOutput) ToDelegationSubscriptionArrayOutput() DelegationSubscriptionArrayOutput { + return o +} + +func (o DelegationSubscriptionArrayOutput) ToDelegationSubscriptionArrayOutputWithContext(ctx context.Context) DelegationSubscriptionArrayOutput { + return o +} + +func (o DelegationSubscriptionArrayOutput) Index(i pulumi.IntInput) DelegationSubscriptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DelegationSubscription { + return vs[0].([]*DelegationSubscription)[vs[1].(int)] + }).(DelegationSubscriptionOutput) +} + +type DelegationSubscriptionMapOutput struct{ *pulumi.OutputState } + +func (DelegationSubscriptionMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DelegationSubscription)(nil)).Elem() +} + +func (o DelegationSubscriptionMapOutput) ToDelegationSubscriptionMapOutput() DelegationSubscriptionMapOutput { + return o +} + +func (o DelegationSubscriptionMapOutput) ToDelegationSubscriptionMapOutputWithContext(ctx context.Context) DelegationSubscriptionMapOutput { + return o +} + +func (o DelegationSubscriptionMapOutput) MapIndex(k pulumi.StringInput) DelegationSubscriptionOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DelegationSubscription { + return vs[0].(map[string]*DelegationSubscription)[vs[1].(string)] + }).(DelegationSubscriptionOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DelegationSubscriptionInput)(nil)).Elem(), &DelegationSubscription{}) + pulumi.RegisterInputType(reflect.TypeOf((*DelegationSubscriptionArrayInput)(nil)).Elem(), DelegationSubscriptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DelegationSubscriptionMapInput)(nil)).Elem(), DelegationSubscriptionMap{}) + pulumi.RegisterOutputType(DelegationSubscriptionOutput{}) + pulumi.RegisterOutputType(DelegationSubscriptionArrayOutput{}) + pulumi.RegisterOutputType(DelegationSubscriptionMapOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequest.go b/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequest.go new file mode 100644 index 0000000000..31d4548a44 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequest.go @@ -0,0 +1,348 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Gets details of a Delegated Resource Access Request. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetDelegatedResourceAccessRequest(ctx, &delegateaccesscontrol.GetDelegatedResourceAccessRequestArgs{ +// DelegatedResourceAccessRequestId: testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDelegatedResourceAccessRequest(ctx *pulumi.Context, args *GetDelegatedResourceAccessRequestArgs, opts ...pulumi.InvokeOption) (*GetDelegatedResourceAccessRequestResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDelegatedResourceAccessRequestResult + err := ctx.Invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequest:getDelegatedResourceAccessRequest", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDelegatedResourceAccessRequest. +type GetDelegatedResourceAccessRequestArgs struct { + // Unique Delegated Resource Access Request identifier + DelegatedResourceAccessRequestId string `pulumi:"delegatedResourceAccessRequestId"` +} + +// A collection of values returned by getDelegatedResourceAccessRequest. +type GetDelegatedResourceAccessRequestResult struct { + // In case of single approval, this will have only one item. Else, a list of approvals. + ApprovalInfos []GetDelegatedResourceAccessRequestApprovalInfo `pulumi:"approvalInfos"` + // Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + AuditTypes []string `pulumi:"auditTypes"` + // The comment entered by the support operator while closing the request. + ClosureComment string `pulumi:"closureComment"` + // The OCID of the compartment that contains the Delegated Resource Access Request. + CompartmentId string `pulumi:"compartmentId"` + // List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + DatabaseNameLists []string `pulumi:"databaseNameLists"` + // 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]string `pulumi:"definedTags"` + DelegatedResourceAccessRequestId string `pulumi:"delegatedResourceAccessRequestId"` + // The OCID of the Delegation Control governing the target resource. + DelegationControlId string `pulumi:"delegationControlId"` + // List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + DelegationSubscriptionIds []string `pulumi:"delegationSubscriptionIds"` + // Detailed description of this Delegated Resource Access Request. + Description string `pulumi:"description"` + // Display name. This is generated by the system automatically. + DisplayName string `pulumi:"displayName"` + // Duration in hours for which access is sought on the target resource. + DurationInHours int `pulumi:"durationInHours"` + // Duration in hours for which extension access is sought on the target resource. + ExtendDurationInHours int `pulumi:"extendDurationInHours"` + // 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]string `pulumi:"freeformTags"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + IsAutoApproved bool `pulumi:"isAutoApproved"` + // Indicates if the delegated resource access request is waiting on more information from the operator + IsPendingMoreInfo bool `pulumi:"isPendingMoreInfo"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` + // Number of extension approvals that have been obtained so far. + NumExtensionApprovals int `pulumi:"numExtensionApprovals"` + // Number of initial approvals that have been obtained so far. + NumInitialApprovals int `pulumi:"numInitialApprovals"` + // List of Service Provider Service Types being provided by the support operator user. + ProvidedServiceTypes []string `pulumi:"providedServiceTypes"` + // A short description explaining why this Delegated Resource Access Request is needed by the support operator. + ReasonForRequest string `pulumi:"reasonForRequest"` + // The current status of the Delegated Resource Access Request. + RequestStatus string `pulumi:"requestStatus"` + // List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + RequestedActionNames []string `pulumi:"requestedActionNames"` + // Requester type + RequesterType string `pulumi:"requesterType"` + // The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + ResourceId string `pulumi:"resourceId"` + // The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + ResourceName string `pulumi:"resourceName"` + // Resource type for which the associated Delegation Control is applicable to. + ResourceType string `pulumi:"resourceType"` + // Priority assigned to the Delegated Resource Access Request by the support operator + Severity string `pulumi:"severity"` + // The current lifecycle state of the Delegated Resource Access Request. + 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]string `pulumi:"systemTags"` + // A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + TicketNumbers []string `pulumi:"ticketNumbers"` + // Requested access start time in UTC. + TimeAccessRequested string `pulumi:"timeAccessRequested"` + // Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + TimeCreated string `pulumi:"timeCreated"` + // Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func GetDelegatedResourceAccessRequestOutput(ctx *pulumi.Context, args GetDelegatedResourceAccessRequestOutputArgs, opts ...pulumi.InvokeOption) GetDelegatedResourceAccessRequestResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDelegatedResourceAccessRequestResult, error) { + args := v.(GetDelegatedResourceAccessRequestArgs) + r, err := GetDelegatedResourceAccessRequest(ctx, &args, opts...) + var s GetDelegatedResourceAccessRequestResult + if r != nil { + s = *r + } + return s, err + }).(GetDelegatedResourceAccessRequestResultOutput) +} + +// A collection of arguments for invoking getDelegatedResourceAccessRequest. +type GetDelegatedResourceAccessRequestOutputArgs struct { + // Unique Delegated Resource Access Request identifier + DelegatedResourceAccessRequestId pulumi.StringInput `pulumi:"delegatedResourceAccessRequestId"` +} + +func (GetDelegatedResourceAccessRequestOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestArgs)(nil)).Elem() +} + +// A collection of values returned by getDelegatedResourceAccessRequest. +type GetDelegatedResourceAccessRequestResultOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestResult)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestResultOutput) ToGetDelegatedResourceAccessRequestResultOutput() GetDelegatedResourceAccessRequestResultOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestResultOutput) ToGetDelegatedResourceAccessRequestResultOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestResultOutput { + return o +} + +// In case of single approval, this will have only one item. Else, a list of approvals. +func (o GetDelegatedResourceAccessRequestResultOutput) ApprovalInfos() GetDelegatedResourceAccessRequestApprovalInfoArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) []GetDelegatedResourceAccessRequestApprovalInfo { + return v.ApprovalInfos + }).(GetDelegatedResourceAccessRequestApprovalInfoArrayOutput) +} + +// Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. +func (o GetDelegatedResourceAccessRequestResultOutput) AuditTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) []string { return v.AuditTypes }).(pulumi.StringArrayOutput) +} + +// The comment entered by the support operator while closing the request. +func (o GetDelegatedResourceAccessRequestResultOutput) ClosureComment() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.ClosureComment }).(pulumi.StringOutput) +} + +// The OCID of the compartment that contains the Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. +func (o GetDelegatedResourceAccessRequestResultOutput) DatabaseNameLists() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) []string { return v.DatabaseNameLists }).(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). Example: `{"Operations.CostCenter": "42"}` +func (o GetDelegatedResourceAccessRequestResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +func (o GetDelegatedResourceAccessRequestResultOutput) DelegatedResourceAccessRequestId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.DelegatedResourceAccessRequestId }).(pulumi.StringOutput) +} + +// The OCID of the Delegation Control governing the target resource. +func (o GetDelegatedResourceAccessRequestResultOutput) DelegationControlId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.DelegationControlId }).(pulumi.StringOutput) +} + +// List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. +func (o GetDelegatedResourceAccessRequestResultOutput) DelegationSubscriptionIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) []string { return v.DelegationSubscriptionIds }).(pulumi.StringArrayOutput) +} + +// Detailed description of this Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.Description }).(pulumi.StringOutput) +} + +// Display name. This is generated by the system automatically. +func (o GetDelegatedResourceAccessRequestResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Duration in hours for which access is sought on the target resource. +func (o GetDelegatedResourceAccessRequestResultOutput) DurationInHours() pulumi.IntOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) int { return v.DurationInHours }).(pulumi.IntOutput) +} + +// Duration in hours for which extension access is sought on the target resource. +func (o GetDelegatedResourceAccessRequestResultOutput) ExtendDurationInHours() pulumi.IntOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) int { return v.ExtendDurationInHours }).(pulumi.IntOutput) +} + +// 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 GetDelegatedResourceAccessRequestResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDelegatedResourceAccessRequestResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. +func (o GetDelegatedResourceAccessRequestResultOutput) IsAutoApproved() pulumi.BoolOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) bool { return v.IsAutoApproved }).(pulumi.BoolOutput) +} + +// Indicates if the delegated resource access request is waiting on more information from the operator +func (o GetDelegatedResourceAccessRequestResultOutput) IsPendingMoreInfo() pulumi.BoolOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) bool { return v.IsPendingMoreInfo }).(pulumi.BoolOutput) +} + +// Description of the current lifecycle state in more detail. +func (o GetDelegatedResourceAccessRequestResultOutput) LifecycleStateDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.LifecycleStateDetails }).(pulumi.StringOutput) +} + +// Number of extension approvals that have been obtained so far. +func (o GetDelegatedResourceAccessRequestResultOutput) NumExtensionApprovals() pulumi.IntOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) int { return v.NumExtensionApprovals }).(pulumi.IntOutput) +} + +// Number of initial approvals that have been obtained so far. +func (o GetDelegatedResourceAccessRequestResultOutput) NumInitialApprovals() pulumi.IntOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) int { return v.NumInitialApprovals }).(pulumi.IntOutput) +} + +// List of Service Provider Service Types being provided by the support operator user. +func (o GetDelegatedResourceAccessRequestResultOutput) ProvidedServiceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) []string { return v.ProvidedServiceTypes }).(pulumi.StringArrayOutput) +} + +// A short description explaining why this Delegated Resource Access Request is needed by the support operator. +func (o GetDelegatedResourceAccessRequestResultOutput) ReasonForRequest() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.ReasonForRequest }).(pulumi.StringOutput) +} + +// The current status of the Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestResultOutput) RequestStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.RequestStatus }).(pulumi.StringOutput) +} + +// List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. +func (o GetDelegatedResourceAccessRequestResultOutput) RequestedActionNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) []string { return v.RequestedActionNames }).(pulumi.StringArrayOutput) +} + +// Requester type +func (o GetDelegatedResourceAccessRequestResultOutput) RequesterType() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.RequesterType }).(pulumi.StringOutput) +} + +// The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. +func (o GetDelegatedResourceAccessRequestResultOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.ResourceId }).(pulumi.StringOutput) +} + +// The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. +func (o GetDelegatedResourceAccessRequestResultOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.ResourceName }).(pulumi.StringOutput) +} + +// Resource type for which the associated Delegation Control is applicable to. +func (o GetDelegatedResourceAccessRequestResultOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.ResourceType }).(pulumi.StringOutput) +} + +// Priority assigned to the Delegated Resource Access Request by the support operator +func (o GetDelegatedResourceAccessRequestResultOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.Severity }).(pulumi.StringOutput) +} + +// The current lifecycle state of the Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) 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 GetDelegatedResourceAccessRequestResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. +func (o GetDelegatedResourceAccessRequestResultOutput) TicketNumbers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) []string { return v.TicketNumbers }).(pulumi.StringArrayOutput) +} + +// Requested access start time in UTC. +func (o GetDelegatedResourceAccessRequestResultOutput) TimeAccessRequested() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.TimeAccessRequested }).(pulumi.StringOutput) +} + +// Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. +func (o GetDelegatedResourceAccessRequestResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. +func (o GetDelegatedResourceAccessRequestResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequestAuditLogReport.go b/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequestAuditLogReport.go new file mode 100644 index 0000000000..22012e89f1 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequestAuditLogReport.go @@ -0,0 +1,155 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Gets the audit log report for the given Delegated Resource Access Request. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetDelegatedResourceAccessRequestAuditLogReport(ctx, &delegateaccesscontrol.GetDelegatedResourceAccessRequestAuditLogReportArgs{ +// DelegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.Id, +// IsProcessTreeEnabled: pulumi.BoolRef(delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDelegatedResourceAccessRequestAuditLogReport(ctx *pulumi.Context, args *GetDelegatedResourceAccessRequestAuditLogReportArgs, opts ...pulumi.InvokeOption) (*GetDelegatedResourceAccessRequestAuditLogReportResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDelegatedResourceAccessRequestAuditLogReportResult + err := ctx.Invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequestAuditLogReport:getDelegatedResourceAccessRequestAuditLogReport", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDelegatedResourceAccessRequestAuditLogReport. +type GetDelegatedResourceAccessRequestAuditLogReportArgs struct { + // Unique Delegated Resource Access Request identifier + DelegatedResourceAccessRequestId string `pulumi:"delegatedResourceAccessRequestId"` + // Set to true to enable process tree computation in audit report + IsProcessTreeEnabled *bool `pulumi:"isProcessTreeEnabled"` +} + +// A collection of values returned by getDelegatedResourceAccessRequestAuditLogReport. +type GetDelegatedResourceAccessRequestAuditLogReportResult struct { + // Status of the audit report + AuditReportStatus string `pulumi:"auditReportStatus"` + DelegatedResourceAccessRequestId string `pulumi:"delegatedResourceAccessRequestId"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + IsProcessTreeEnabled *bool `pulumi:"isProcessTreeEnabled"` + // The process tree data + ProcessTree string `pulumi:"processTree"` + // Audit log report. + Report string `pulumi:"report"` + // Time when the audit report was generated [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeReportGenerated string `pulumi:"timeReportGenerated"` +} + +func GetDelegatedResourceAccessRequestAuditLogReportOutput(ctx *pulumi.Context, args GetDelegatedResourceAccessRequestAuditLogReportOutputArgs, opts ...pulumi.InvokeOption) GetDelegatedResourceAccessRequestAuditLogReportResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDelegatedResourceAccessRequestAuditLogReportResult, error) { + args := v.(GetDelegatedResourceAccessRequestAuditLogReportArgs) + r, err := GetDelegatedResourceAccessRequestAuditLogReport(ctx, &args, opts...) + var s GetDelegatedResourceAccessRequestAuditLogReportResult + if r != nil { + s = *r + } + return s, err + }).(GetDelegatedResourceAccessRequestAuditLogReportResultOutput) +} + +// A collection of arguments for invoking getDelegatedResourceAccessRequestAuditLogReport. +type GetDelegatedResourceAccessRequestAuditLogReportOutputArgs struct { + // Unique Delegated Resource Access Request identifier + DelegatedResourceAccessRequestId pulumi.StringInput `pulumi:"delegatedResourceAccessRequestId"` + // Set to true to enable process tree computation in audit report + IsProcessTreeEnabled pulumi.BoolPtrInput `pulumi:"isProcessTreeEnabled"` +} + +func (GetDelegatedResourceAccessRequestAuditLogReportOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestAuditLogReportArgs)(nil)).Elem() +} + +// A collection of values returned by getDelegatedResourceAccessRequestAuditLogReport. +type GetDelegatedResourceAccessRequestAuditLogReportResultOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestAuditLogReportResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestAuditLogReportResult)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestAuditLogReportResultOutput) ToGetDelegatedResourceAccessRequestAuditLogReportResultOutput() GetDelegatedResourceAccessRequestAuditLogReportResultOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestAuditLogReportResultOutput) ToGetDelegatedResourceAccessRequestAuditLogReportResultOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestAuditLogReportResultOutput { + return o +} + +// Status of the audit report +func (o GetDelegatedResourceAccessRequestAuditLogReportResultOutput) AuditReportStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestAuditLogReportResult) string { return v.AuditReportStatus }).(pulumi.StringOutput) +} + +func (o GetDelegatedResourceAccessRequestAuditLogReportResultOutput) DelegatedResourceAccessRequestId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestAuditLogReportResult) string { + return v.DelegatedResourceAccessRequestId + }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDelegatedResourceAccessRequestAuditLogReportResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestAuditLogReportResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDelegatedResourceAccessRequestAuditLogReportResultOutput) IsProcessTreeEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestAuditLogReportResult) *bool { return v.IsProcessTreeEnabled }).(pulumi.BoolPtrOutput) +} + +// The process tree data +func (o GetDelegatedResourceAccessRequestAuditLogReportResultOutput) ProcessTree() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestAuditLogReportResult) string { return v.ProcessTree }).(pulumi.StringOutput) +} + +// Audit log report. +func (o GetDelegatedResourceAccessRequestAuditLogReportResultOutput) Report() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestAuditLogReportResult) string { return v.Report }).(pulumi.StringOutput) +} + +// Time when the audit report was generated [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o GetDelegatedResourceAccessRequestAuditLogReportResultOutput) TimeReportGenerated() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestAuditLogReportResult) string { return v.TimeReportGenerated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestAuditLogReportResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequestHistories.go b/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequestHistories.go new file mode 100644 index 0000000000..4e9eab3382 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequestHistories.go @@ -0,0 +1,135 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Returns a history of all status associated with the Delegated Resource Access RequestId. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetDelegatedResourceAccessRequestHistories(ctx, &delegateaccesscontrol.GetDelegatedResourceAccessRequestHistoriesArgs{ +// DelegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDelegatedResourceAccessRequestHistories(ctx *pulumi.Context, args *GetDelegatedResourceAccessRequestHistoriesArgs, opts ...pulumi.InvokeOption) (*GetDelegatedResourceAccessRequestHistoriesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDelegatedResourceAccessRequestHistoriesResult + err := ctx.Invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistories:getDelegatedResourceAccessRequestHistories", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDelegatedResourceAccessRequestHistories. +type GetDelegatedResourceAccessRequestHistoriesArgs struct { + // Unique Delegated Resource Access Request identifier + DelegatedResourceAccessRequestId string `pulumi:"delegatedResourceAccessRequestId"` + Filters []GetDelegatedResourceAccessRequestHistoriesFilter `pulumi:"filters"` +} + +// A collection of values returned by getDelegatedResourceAccessRequestHistories. +type GetDelegatedResourceAccessRequestHistoriesResult struct { + // The list of delegated_resource_access_request_history_collection. + DelegatedResourceAccessRequestHistoryCollections []GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection `pulumi:"delegatedResourceAccessRequestHistoryCollections"` + DelegatedResourceAccessRequestId string `pulumi:"delegatedResourceAccessRequestId"` + Filters []GetDelegatedResourceAccessRequestHistoriesFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` +} + +func GetDelegatedResourceAccessRequestHistoriesOutput(ctx *pulumi.Context, args GetDelegatedResourceAccessRequestHistoriesOutputArgs, opts ...pulumi.InvokeOption) GetDelegatedResourceAccessRequestHistoriesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDelegatedResourceAccessRequestHistoriesResult, error) { + args := v.(GetDelegatedResourceAccessRequestHistoriesArgs) + r, err := GetDelegatedResourceAccessRequestHistories(ctx, &args, opts...) + var s GetDelegatedResourceAccessRequestHistoriesResult + if r != nil { + s = *r + } + return s, err + }).(GetDelegatedResourceAccessRequestHistoriesResultOutput) +} + +// A collection of arguments for invoking getDelegatedResourceAccessRequestHistories. +type GetDelegatedResourceAccessRequestHistoriesOutputArgs struct { + // Unique Delegated Resource Access Request identifier + DelegatedResourceAccessRequestId pulumi.StringInput `pulumi:"delegatedResourceAccessRequestId"` + Filters GetDelegatedResourceAccessRequestHistoriesFilterArrayInput `pulumi:"filters"` +} + +func (GetDelegatedResourceAccessRequestHistoriesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesArgs)(nil)).Elem() +} + +// A collection of values returned by getDelegatedResourceAccessRequestHistories. +type GetDelegatedResourceAccessRequestHistoriesResultOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestHistoriesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesResult)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestHistoriesResultOutput) ToGetDelegatedResourceAccessRequestHistoriesResultOutput() GetDelegatedResourceAccessRequestHistoriesResultOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesResultOutput) ToGetDelegatedResourceAccessRequestHistoriesResultOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesResultOutput { + return o +} + +// The list of delegated_resource_access_request_history_collection. +func (o GetDelegatedResourceAccessRequestHistoriesResultOutput) DelegatedResourceAccessRequestHistoryCollections() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesResult) []GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection { + return v.DelegatedResourceAccessRequestHistoryCollections + }).(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput) +} + +func (o GetDelegatedResourceAccessRequestHistoriesResultOutput) DelegatedResourceAccessRequestId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesResult) string { + return v.DelegatedResourceAccessRequestId + }).(pulumi.StringOutput) +} + +func (o GetDelegatedResourceAccessRequestHistoriesResultOutput) Filters() GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesResult) []GetDelegatedResourceAccessRequestHistoriesFilter { + return v.Filters + }).(GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDelegatedResourceAccessRequestHistoriesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestHistoriesResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequests.go b/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequests.go new file mode 100644 index 0000000000..04be314229 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getDelegatedResourceAccessRequests.go @@ -0,0 +1,203 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetDelegatedResourceAccessRequests(ctx, &delegateaccesscontrol.GetDelegatedResourceAccessRequestsArgs{ +// CompartmentId: compartmentId, +// DelegationControlId: pulumi.StringRef(testDelegationControl.Id), +// RequestStatus: pulumi.StringRef(delegatedResourceAccessRequestRequestStatus), +// ResourceId: pulumi.StringRef(testResource.Id), +// State: pulumi.StringRef(delegatedResourceAccessRequestState), +// TimeEnd: pulumi.StringRef(delegatedResourceAccessRequestTimeEnd), +// TimeStart: pulumi.StringRef(delegatedResourceAccessRequestTimeStart), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDelegatedResourceAccessRequests(ctx *pulumi.Context, args *GetDelegatedResourceAccessRequestsArgs, opts ...pulumi.InvokeOption) (*GetDelegatedResourceAccessRequestsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDelegatedResourceAccessRequestsResult + err := ctx.Invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequests:getDelegatedResourceAccessRequests", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDelegatedResourceAccessRequests. +type GetDelegatedResourceAccessRequestsArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // unique Delegation Control identifier + DelegationControlId *string `pulumi:"delegationControlId"` + Filters []GetDelegatedResourceAccessRequestsFilter `pulumi:"filters"` + // A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + RequestStatus *string `pulumi:"requestStatus"` + // A filter to return only Delegated Resource Access Requests for the given resource identifier. + ResourceId *string `pulumi:"resourceId"` + // A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + State *string `pulumi:"state"` + // Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + TimeEnd *string `pulumi:"timeEnd"` + // Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + TimeStart *string `pulumi:"timeStart"` +} + +// A collection of values returned by getDelegatedResourceAccessRequests. +type GetDelegatedResourceAccessRequestsResult struct { + // The OCID of the compartment that contains the Delegated Resource Access Request. + CompartmentId string `pulumi:"compartmentId"` + // The list of delegated_resource_access_request_summary_collection. + DelegatedResourceAccessRequestSummaryCollections []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection `pulumi:"delegatedResourceAccessRequestSummaryCollections"` + // The OCID of the Delegation Control governing the target resource. + DelegationControlId *string `pulumi:"delegationControlId"` + Filters []GetDelegatedResourceAccessRequestsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The current status of the Delegated Resource Access Request. + RequestStatus *string `pulumi:"requestStatus"` + // The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + ResourceId *string `pulumi:"resourceId"` + // The current lifecycle state of the Delegated Resource Access Request. + State *string `pulumi:"state"` + TimeEnd *string `pulumi:"timeEnd"` + TimeStart *string `pulumi:"timeStart"` +} + +func GetDelegatedResourceAccessRequestsOutput(ctx *pulumi.Context, args GetDelegatedResourceAccessRequestsOutputArgs, opts ...pulumi.InvokeOption) GetDelegatedResourceAccessRequestsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDelegatedResourceAccessRequestsResult, error) { + args := v.(GetDelegatedResourceAccessRequestsArgs) + r, err := GetDelegatedResourceAccessRequests(ctx, &args, opts...) + var s GetDelegatedResourceAccessRequestsResult + if r != nil { + s = *r + } + return s, err + }).(GetDelegatedResourceAccessRequestsResultOutput) +} + +// A collection of arguments for invoking getDelegatedResourceAccessRequests. +type GetDelegatedResourceAccessRequestsOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // unique Delegation Control identifier + DelegationControlId pulumi.StringPtrInput `pulumi:"delegationControlId"` + Filters GetDelegatedResourceAccessRequestsFilterArrayInput `pulumi:"filters"` + // A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + RequestStatus pulumi.StringPtrInput `pulumi:"requestStatus"` + // A filter to return only Delegated Resource Access Requests for the given resource identifier. + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + // A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + State pulumi.StringPtrInput `pulumi:"state"` + // Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + TimeEnd pulumi.StringPtrInput `pulumi:"timeEnd"` + // Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + TimeStart pulumi.StringPtrInput `pulumi:"timeStart"` +} + +func (GetDelegatedResourceAccessRequestsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestsArgs)(nil)).Elem() +} + +// A collection of values returned by getDelegatedResourceAccessRequests. +type GetDelegatedResourceAccessRequestsResultOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestsResult)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestsResultOutput) ToGetDelegatedResourceAccessRequestsResultOutput() GetDelegatedResourceAccessRequestsResultOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsResultOutput) ToGetDelegatedResourceAccessRequestsResultOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsResultOutput { + return o +} + +// The OCID of the compartment that contains the Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The list of delegated_resource_access_request_summary_collection. +func (o GetDelegatedResourceAccessRequestsResultOutput) DelegatedResourceAccessRequestSummaryCollections() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsResult) []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection { + return v.DelegatedResourceAccessRequestSummaryCollections + }).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput) +} + +// The OCID of the Delegation Control governing the target resource. +func (o GetDelegatedResourceAccessRequestsResultOutput) DelegationControlId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsResult) *string { return v.DelegationControlId }).(pulumi.StringPtrOutput) +} + +func (o GetDelegatedResourceAccessRequestsResultOutput) Filters() GetDelegatedResourceAccessRequestsFilterArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsResult) []GetDelegatedResourceAccessRequestsFilter { + return v.Filters + }).(GetDelegatedResourceAccessRequestsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDelegatedResourceAccessRequestsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The current status of the Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestsResultOutput) RequestStatus() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsResult) *string { return v.RequestStatus }).(pulumi.StringPtrOutput) +} + +// The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. +func (o GetDelegatedResourceAccessRequestsResultOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsResult) *string { return v.ResourceId }).(pulumi.StringPtrOutput) +} + +// The current lifecycle state of the Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func (o GetDelegatedResourceAccessRequestsResultOutput) TimeEnd() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsResult) *string { return v.TimeEnd }).(pulumi.StringPtrOutput) +} + +func (o GetDelegatedResourceAccessRequestsResultOutput) TimeStart() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsResult) *string { return v.TimeStart }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestsResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getDelegationControl.go b/sdk/go/oci/delegateaccesscontrol/getDelegationControl.go new file mode 100644 index 0000000000..e98273acc4 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getDelegationControl.go @@ -0,0 +1,262 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Gets the Delegation Control associated with the specified Delegation Control ID. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetDelegationControl(ctx, &delegateaccesscontrol.GetDelegationControlArgs{ +// DelegationControlId: testDelegationControlOciDelegateAccessControlDelegationControl.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupDelegationControl(ctx *pulumi.Context, args *LookupDelegationControlArgs, opts ...pulumi.InvokeOption) (*LookupDelegationControlResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupDelegationControlResult + err := ctx.Invoke("oci:DelegateAccessControl/getDelegationControl:getDelegationControl", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDelegationControl. +type LookupDelegationControlArgs struct { + // unique Delegation Control identifier + DelegationControlId string `pulumi:"delegationControlId"` +} + +// A collection of values returned by getDelegationControl. +type LookupDelegationControlResult struct { + // The OCID of the compartment that contains the Delegation Control. + CompartmentId string `pulumi:"compartmentId"` + // 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]string `pulumi:"definedTags"` + DelegationControlId string `pulumi:"delegationControlId"` + // List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + DelegationSubscriptionIds []string `pulumi:"delegationSubscriptionIds"` + // Description of the Delegation Control. + Description string `pulumi:"description"` + // Name of the Delegation Control. The name does not need to be unique. + 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]string `pulumi:"freeformTags"` + // The OCID of the Delegation Control. + Id string `pulumi:"id"` + // Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + IsAutoApproveDuringMaintenance bool `pulumi:"isAutoApproveDuringMaintenance"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` + // The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + NotificationMessageFormat string `pulumi:"notificationMessageFormat"` + // The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + NotificationTopicId string `pulumi:"notificationTopicId"` + // number of approvals required. + NumApprovalsRequired int `pulumi:"numApprovalsRequired"` + // List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + PreApprovedServiceProviderActionNames []string `pulumi:"preApprovedServiceProviderActionNames"` + // The OCID of the selected resources that this Delegation Control is applicable to. + ResourceIds []string `pulumi:"resourceIds"` + // Resource type for which the Delegation Control is applicable to. + ResourceType string `pulumi:"resourceType"` + // The current lifecycle state of the Delegation Control. + 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]string `pulumi:"systemTags"` + // Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated string `pulumi:"timeCreated"` + // Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + TimeDeleted string `pulumi:"timeDeleted"` + // Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated string `pulumi:"timeUpdated"` + // The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + VaultId string `pulumi:"vaultId"` + // The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + VaultKeyId string `pulumi:"vaultKeyId"` +} + +func LookupDelegationControlOutput(ctx *pulumi.Context, args LookupDelegationControlOutputArgs, opts ...pulumi.InvokeOption) LookupDelegationControlResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupDelegationControlResult, error) { + args := v.(LookupDelegationControlArgs) + r, err := LookupDelegationControl(ctx, &args, opts...) + var s LookupDelegationControlResult + if r != nil { + s = *r + } + return s, err + }).(LookupDelegationControlResultOutput) +} + +// A collection of arguments for invoking getDelegationControl. +type LookupDelegationControlOutputArgs struct { + // unique Delegation Control identifier + DelegationControlId pulumi.StringInput `pulumi:"delegationControlId"` +} + +func (LookupDelegationControlOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDelegationControlArgs)(nil)).Elem() +} + +// A collection of values returned by getDelegationControl. +type LookupDelegationControlResultOutput struct{ *pulumi.OutputState } + +func (LookupDelegationControlResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDelegationControlResult)(nil)).Elem() +} + +func (o LookupDelegationControlResultOutput) ToLookupDelegationControlResultOutput() LookupDelegationControlResultOutput { + return o +} + +func (o LookupDelegationControlResultOutput) ToLookupDelegationControlResultOutputWithContext(ctx context.Context) LookupDelegationControlResultOutput { + return o +} + +// The OCID of the compartment that contains the Delegation Control. +func (o LookupDelegationControlResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.CompartmentId }).(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 LookupDelegationControlResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDelegationControlResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +func (o LookupDelegationControlResultOutput) DelegationControlId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.DelegationControlId }).(pulumi.StringOutput) +} + +// List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. +func (o LookupDelegationControlResultOutput) DelegationSubscriptionIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupDelegationControlResult) []string { return v.DelegationSubscriptionIds }).(pulumi.StringArrayOutput) +} + +// Description of the Delegation Control. +func (o LookupDelegationControlResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.Description }).(pulumi.StringOutput) +} + +// Name of the Delegation Control. The name does not need to be unique. +func (o LookupDelegationControlResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.DisplayName }).(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 LookupDelegationControlResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDelegationControlResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The OCID of the Delegation Control. +func (o LookupDelegationControlResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. +func (o LookupDelegationControlResultOutput) IsAutoApproveDuringMaintenance() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDelegationControlResult) bool { return v.IsAutoApproveDuringMaintenance }).(pulumi.BoolOutput) +} + +// Description of the current lifecycle state in more detail. +func (o LookupDelegationControlResultOutput) LifecycleStateDetails() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.LifecycleStateDetails }).(pulumi.StringOutput) +} + +// The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. +func (o LookupDelegationControlResultOutput) NotificationMessageFormat() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.NotificationMessageFormat }).(pulumi.StringOutput) +} + +// The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. +func (o LookupDelegationControlResultOutput) NotificationTopicId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.NotificationTopicId }).(pulumi.StringOutput) +} + +// number of approvals required. +func (o LookupDelegationControlResultOutput) NumApprovalsRequired() pulumi.IntOutput { + return o.ApplyT(func(v LookupDelegationControlResult) int { return v.NumApprovalsRequired }).(pulumi.IntOutput) +} + +// List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. +func (o LookupDelegationControlResultOutput) PreApprovedServiceProviderActionNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupDelegationControlResult) []string { return v.PreApprovedServiceProviderActionNames }).(pulumi.StringArrayOutput) +} + +// The OCID of the selected resources that this Delegation Control is applicable to. +func (o LookupDelegationControlResultOutput) ResourceIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupDelegationControlResult) []string { return v.ResourceIds }).(pulumi.StringArrayOutput) +} + +// Resource type for which the Delegation Control is applicable to. +func (o LookupDelegationControlResultOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.ResourceType }).(pulumi.StringOutput) +} + +// The current lifecycle state of the Delegation Control. +func (o LookupDelegationControlResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) 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 LookupDelegationControlResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDelegationControlResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o LookupDelegationControlResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. +func (o LookupDelegationControlResultOutput) TimeDeleted() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.TimeDeleted }).(pulumi.StringOutput) +} + +// Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o LookupDelegationControlResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. +func (o LookupDelegationControlResultOutput) VaultId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.VaultId }).(pulumi.StringOutput) +} + +// The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. +func (o LookupDelegationControlResultOutput) VaultKeyId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationControlResult) string { return v.VaultKeyId }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupDelegationControlResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getDelegationControlResources.go b/sdk/go/oci/delegateaccesscontrol/getDelegationControlResources.go new file mode 100644 index 0000000000..ef2fd49583 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getDelegationControlResources.go @@ -0,0 +1,131 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Returns a list of resources associated with the Delegation Control. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetDelegationControlResources(ctx, &delegateaccesscontrol.GetDelegationControlResourcesArgs{ +// DelegationControlId: testDelegationControl.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDelegationControlResources(ctx *pulumi.Context, args *GetDelegationControlResourcesArgs, opts ...pulumi.InvokeOption) (*GetDelegationControlResourcesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDelegationControlResourcesResult + err := ctx.Invoke("oci:DelegateAccessControl/getDelegationControlResources:getDelegationControlResources", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDelegationControlResources. +type GetDelegationControlResourcesArgs struct { + // unique Delegation Control identifier + DelegationControlId string `pulumi:"delegationControlId"` + Filters []GetDelegationControlResourcesFilter `pulumi:"filters"` +} + +// A collection of values returned by getDelegationControlResources. +type GetDelegationControlResourcesResult struct { + DelegationControlId string `pulumi:"delegationControlId"` + // The list of delegation_control_resource_collection. + DelegationControlResourceCollections []GetDelegationControlResourcesDelegationControlResourceCollection `pulumi:"delegationControlResourceCollections"` + Filters []GetDelegationControlResourcesFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` +} + +func GetDelegationControlResourcesOutput(ctx *pulumi.Context, args GetDelegationControlResourcesOutputArgs, opts ...pulumi.InvokeOption) GetDelegationControlResourcesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDelegationControlResourcesResult, error) { + args := v.(GetDelegationControlResourcesArgs) + r, err := GetDelegationControlResources(ctx, &args, opts...) + var s GetDelegationControlResourcesResult + if r != nil { + s = *r + } + return s, err + }).(GetDelegationControlResourcesResultOutput) +} + +// A collection of arguments for invoking getDelegationControlResources. +type GetDelegationControlResourcesOutputArgs struct { + // unique Delegation Control identifier + DelegationControlId pulumi.StringInput `pulumi:"delegationControlId"` + Filters GetDelegationControlResourcesFilterArrayInput `pulumi:"filters"` +} + +func (GetDelegationControlResourcesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlResourcesArgs)(nil)).Elem() +} + +// A collection of values returned by getDelegationControlResources. +type GetDelegationControlResourcesResultOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlResourcesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlResourcesResult)(nil)).Elem() +} + +func (o GetDelegationControlResourcesResultOutput) ToGetDelegationControlResourcesResultOutput() GetDelegationControlResourcesResultOutput { + return o +} + +func (o GetDelegationControlResourcesResultOutput) ToGetDelegationControlResourcesResultOutputWithContext(ctx context.Context) GetDelegationControlResourcesResultOutput { + return o +} + +func (o GetDelegationControlResourcesResultOutput) DelegationControlId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlResourcesResult) string { return v.DelegationControlId }).(pulumi.StringOutput) +} + +// The list of delegation_control_resource_collection. +func (o GetDelegationControlResourcesResultOutput) DelegationControlResourceCollections() GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput { + return o.ApplyT(func(v GetDelegationControlResourcesResult) []GetDelegationControlResourcesDelegationControlResourceCollection { + return v.DelegationControlResourceCollections + }).(GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput) +} + +func (o GetDelegationControlResourcesResultOutput) Filters() GetDelegationControlResourcesFilterArrayOutput { + return o.ApplyT(func(v GetDelegationControlResourcesResult) []GetDelegationControlResourcesFilter { return v.Filters }).(GetDelegationControlResourcesFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDelegationControlResourcesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlResourcesResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDelegationControlResourcesResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getDelegationControls.go b/sdk/go/oci/delegateaccesscontrol/getDelegationControls.go new file mode 100644 index 0000000000..4abbdddce5 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getDelegationControls.go @@ -0,0 +1,179 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Lists the Delegation Controls in the compartment. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetDelegationControls(ctx, &delegateaccesscontrol.GetDelegationControlsArgs{ +// CompartmentId: compartmentId, +// DisplayName: pulumi.StringRef(delegationControlDisplayName), +// ResourceId: pulumi.StringRef(testResource.Id), +// ResourceType: pulumi.StringRef(delegationControlResourceType), +// State: pulumi.StringRef(delegationControlState), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDelegationControls(ctx *pulumi.Context, args *GetDelegationControlsArgs, opts ...pulumi.InvokeOption) (*GetDelegationControlsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDelegationControlsResult + err := ctx.Invoke("oci:DelegateAccessControl/getDelegationControls:getDelegationControls", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDelegationControls. +type GetDelegationControlsArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // A filter to return Delegation Control resources that match the given display name. + DisplayName *string `pulumi:"displayName"` + Filters []GetDelegationControlsFilter `pulumi:"filters"` + // A filter to return Delegation Control resources that match the given resource ID. + ResourceId *string `pulumi:"resourceId"` + // A filter to return only resources that match the given resource type. + ResourceType *string `pulumi:"resourceType"` + // A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + State *string `pulumi:"state"` +} + +// A collection of values returned by getDelegationControls. +type GetDelegationControlsResult struct { + // The OCID of the compartment that contains the Delegation Control. + CompartmentId string `pulumi:"compartmentId"` + // The list of delegation_control_summary_collection. + DelegationControlSummaryCollections []GetDelegationControlsDelegationControlSummaryCollection `pulumi:"delegationControlSummaryCollections"` + // Name of the Delegation Control. The name does not need to be unique. + DisplayName *string `pulumi:"displayName"` + Filters []GetDelegationControlsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + ResourceId *string `pulumi:"resourceId"` + // Resource type for which the Delegation Control is applicable to. + ResourceType *string `pulumi:"resourceType"` + // The current lifecycle state of the Delegation Control. + State *string `pulumi:"state"` +} + +func GetDelegationControlsOutput(ctx *pulumi.Context, args GetDelegationControlsOutputArgs, opts ...pulumi.InvokeOption) GetDelegationControlsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDelegationControlsResult, error) { + args := v.(GetDelegationControlsArgs) + r, err := GetDelegationControls(ctx, &args, opts...) + var s GetDelegationControlsResult + if r != nil { + s = *r + } + return s, err + }).(GetDelegationControlsResultOutput) +} + +// A collection of arguments for invoking getDelegationControls. +type GetDelegationControlsOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // A filter to return Delegation Control resources that match the given display name. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Filters GetDelegationControlsFilterArrayInput `pulumi:"filters"` + // A filter to return Delegation Control resources that match the given resource ID. + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + // A filter to return only resources that match the given resource type. + ResourceType pulumi.StringPtrInput `pulumi:"resourceType"` + // A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetDelegationControlsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlsArgs)(nil)).Elem() +} + +// A collection of values returned by getDelegationControls. +type GetDelegationControlsResultOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlsResult)(nil)).Elem() +} + +func (o GetDelegationControlsResultOutput) ToGetDelegationControlsResultOutput() GetDelegationControlsResultOutput { + return o +} + +func (o GetDelegationControlsResultOutput) ToGetDelegationControlsResultOutputWithContext(ctx context.Context) GetDelegationControlsResultOutput { + return o +} + +// The OCID of the compartment that contains the Delegation Control. +func (o GetDelegationControlsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The list of delegation_control_summary_collection. +func (o GetDelegationControlsResultOutput) DelegationControlSummaryCollections() GetDelegationControlsDelegationControlSummaryCollectionArrayOutput { + return o.ApplyT(func(v GetDelegationControlsResult) []GetDelegationControlsDelegationControlSummaryCollection { + return v.DelegationControlSummaryCollections + }).(GetDelegationControlsDelegationControlSummaryCollectionArrayOutput) +} + +// Name of the Delegation Control. The name does not need to be unique. +func (o GetDelegationControlsResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegationControlsResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetDelegationControlsResultOutput) Filters() GetDelegationControlsFilterArrayOutput { + return o.ApplyT(func(v GetDelegationControlsResult) []GetDelegationControlsFilter { return v.Filters }).(GetDelegationControlsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDelegationControlsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func (o GetDelegationControlsResultOutput) ResourceId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegationControlsResult) *string { return v.ResourceId }).(pulumi.StringPtrOutput) +} + +// Resource type for which the Delegation Control is applicable to. +func (o GetDelegationControlsResultOutput) ResourceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegationControlsResult) *string { return v.ResourceType }).(pulumi.StringPtrOutput) +} + +// The current lifecycle state of the Delegation Control. +func (o GetDelegationControlsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegationControlsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDelegationControlsResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getDelegationSubscription.go b/sdk/go/oci/delegateaccesscontrol/getDelegationSubscription.go new file mode 100644 index 0000000000..8c8de7933e --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getDelegationSubscription.go @@ -0,0 +1,199 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. +// +// # Gets a DelegationSubscription by identifier +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetDelegationSubscription(ctx, &delegateaccesscontrol.GetDelegationSubscriptionArgs{ +// DelegationSubscriptionId: testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupDelegationSubscription(ctx *pulumi.Context, args *LookupDelegationSubscriptionArgs, opts ...pulumi.InvokeOption) (*LookupDelegationSubscriptionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupDelegationSubscriptionResult + err := ctx.Invoke("oci:DelegateAccessControl/getDelegationSubscription:getDelegationSubscription", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDelegationSubscription. +type LookupDelegationSubscriptionArgs struct { + // unique Delegation Subscription identifier + DelegationSubscriptionId string `pulumi:"delegationSubscriptionId"` +} + +// A collection of values returned by getDelegationSubscription. +type LookupDelegationSubscriptionResult struct { + // The OCID of the compartment that contains the Delegation Subscription. + CompartmentId string `pulumi:"compartmentId"` + // 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]string `pulumi:"definedTags"` + DelegationSubscriptionId string `pulumi:"delegationSubscriptionId"` + // Description of the Delegation Subscription. + Description string `pulumi:"description"` + // Display name + 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]string `pulumi:"freeformTags"` + // Unique identifier for the Delegation Subscription. + Id string `pulumi:"id"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` + // Unique identifier of the Service Provider. + ServiceProviderId string `pulumi:"serviceProviderId"` + // The current lifecycle state of the Service Provider. + State string `pulumi:"state"` + // Subscribed Service Provider Service Type. + SubscribedServiceType string `pulumi:"subscribedServiceType"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]string `pulumi:"systemTags"` + // Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated string `pulumi:"timeCreated"` + // Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated string `pulumi:"timeUpdated"` +} + +func LookupDelegationSubscriptionOutput(ctx *pulumi.Context, args LookupDelegationSubscriptionOutputArgs, opts ...pulumi.InvokeOption) LookupDelegationSubscriptionResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupDelegationSubscriptionResult, error) { + args := v.(LookupDelegationSubscriptionArgs) + r, err := LookupDelegationSubscription(ctx, &args, opts...) + var s LookupDelegationSubscriptionResult + if r != nil { + s = *r + } + return s, err + }).(LookupDelegationSubscriptionResultOutput) +} + +// A collection of arguments for invoking getDelegationSubscription. +type LookupDelegationSubscriptionOutputArgs struct { + // unique Delegation Subscription identifier + DelegationSubscriptionId pulumi.StringInput `pulumi:"delegationSubscriptionId"` +} + +func (LookupDelegationSubscriptionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDelegationSubscriptionArgs)(nil)).Elem() +} + +// A collection of values returned by getDelegationSubscription. +type LookupDelegationSubscriptionResultOutput struct{ *pulumi.OutputState } + +func (LookupDelegationSubscriptionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDelegationSubscriptionResult)(nil)).Elem() +} + +func (o LookupDelegationSubscriptionResultOutput) ToLookupDelegationSubscriptionResultOutput() LookupDelegationSubscriptionResultOutput { + return o +} + +func (o LookupDelegationSubscriptionResultOutput) ToLookupDelegationSubscriptionResultOutputWithContext(ctx context.Context) LookupDelegationSubscriptionResultOutput { + return o +} + +// The OCID of the compartment that contains the Delegation Subscription. +func (o LookupDelegationSubscriptionResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.CompartmentId }).(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 LookupDelegationSubscriptionResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +func (o LookupDelegationSubscriptionResultOutput) DelegationSubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.DelegationSubscriptionId }).(pulumi.StringOutput) +} + +// Description of the Delegation Subscription. +func (o LookupDelegationSubscriptionResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.Description }).(pulumi.StringOutput) +} + +// Display name +func (o LookupDelegationSubscriptionResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.DisplayName }).(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 LookupDelegationSubscriptionResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// Unique identifier for the Delegation Subscription. +func (o LookupDelegationSubscriptionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Description of the current lifecycle state in more detail. +func (o LookupDelegationSubscriptionResultOutput) LifecycleStateDetails() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.LifecycleStateDetails }).(pulumi.StringOutput) +} + +// Unique identifier of the Service Provider. +func (o LookupDelegationSubscriptionResultOutput) ServiceProviderId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.ServiceProviderId }).(pulumi.StringOutput) +} + +// The current lifecycle state of the Service Provider. +func (o LookupDelegationSubscriptionResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.State }).(pulumi.StringOutput) +} + +// Subscribed Service Provider Service Type. +func (o LookupDelegationSubscriptionResultOutput) SubscribedServiceType() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.SubscribedServiceType }).(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 LookupDelegationSubscriptionResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o LookupDelegationSubscriptionResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o LookupDelegationSubscriptionResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupDelegationSubscriptionResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupDelegationSubscriptionResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getDelegationSubscriptions.go b/sdk/go/oci/delegateaccesscontrol/getDelegationSubscriptions.go new file mode 100644 index 0000000000..d54d743ba1 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getDelegationSubscriptions.go @@ -0,0 +1,157 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Lists the Delegation Subscriptions in Delegation Control. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetDelegationSubscriptions(ctx, &delegateaccesscontrol.GetDelegationSubscriptionsArgs{ +// CompartmentId: compartmentId, +// DisplayName: pulumi.StringRef(delegationSubscriptionDisplayName), +// State: pulumi.StringRef(delegationSubscriptionState), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDelegationSubscriptions(ctx *pulumi.Context, args *GetDelegationSubscriptionsArgs, opts ...pulumi.InvokeOption) (*GetDelegationSubscriptionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDelegationSubscriptionsResult + err := ctx.Invoke("oci:DelegateAccessControl/getDelegationSubscriptions:getDelegationSubscriptions", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDelegationSubscriptions. +type GetDelegationSubscriptionsArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // A filter to return Delegation Subscription resources that match the given display name. + DisplayName *string `pulumi:"displayName"` + Filters []GetDelegationSubscriptionsFilter `pulumi:"filters"` + // A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + State *string `pulumi:"state"` +} + +// A collection of values returned by getDelegationSubscriptions. +type GetDelegationSubscriptionsResult struct { + // The OCID of the compartment that contains the Delegation Subscription. + CompartmentId string `pulumi:"compartmentId"` + // The list of delegation_subscription_summary_collection. + DelegationSubscriptionSummaryCollections []GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection `pulumi:"delegationSubscriptionSummaryCollections"` + // Display name + DisplayName *string `pulumi:"displayName"` + Filters []GetDelegationSubscriptionsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The current lifecycle state of the Service Provider. + State *string `pulumi:"state"` +} + +func GetDelegationSubscriptionsOutput(ctx *pulumi.Context, args GetDelegationSubscriptionsOutputArgs, opts ...pulumi.InvokeOption) GetDelegationSubscriptionsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDelegationSubscriptionsResult, error) { + args := v.(GetDelegationSubscriptionsArgs) + r, err := GetDelegationSubscriptions(ctx, &args, opts...) + var s GetDelegationSubscriptionsResult + if r != nil { + s = *r + } + return s, err + }).(GetDelegationSubscriptionsResultOutput) +} + +// A collection of arguments for invoking getDelegationSubscriptions. +type GetDelegationSubscriptionsOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // A filter to return Delegation Subscription resources that match the given display name. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Filters GetDelegationSubscriptionsFilterArrayInput `pulumi:"filters"` + // A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetDelegationSubscriptionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationSubscriptionsArgs)(nil)).Elem() +} + +// A collection of values returned by getDelegationSubscriptions. +type GetDelegationSubscriptionsResultOutput struct{ *pulumi.OutputState } + +func (GetDelegationSubscriptionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationSubscriptionsResult)(nil)).Elem() +} + +func (o GetDelegationSubscriptionsResultOutput) ToGetDelegationSubscriptionsResultOutput() GetDelegationSubscriptionsResultOutput { + return o +} + +func (o GetDelegationSubscriptionsResultOutput) ToGetDelegationSubscriptionsResultOutputWithContext(ctx context.Context) GetDelegationSubscriptionsResultOutput { + return o +} + +// The OCID of the compartment that contains the Delegation Subscription. +func (o GetDelegationSubscriptionsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The list of delegation_subscription_summary_collection. +func (o GetDelegationSubscriptionsResultOutput) DelegationSubscriptionSummaryCollections() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsResult) []GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection { + return v.DelegationSubscriptionSummaryCollections + }).(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput) +} + +// Display name +func (o GetDelegationSubscriptionsResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetDelegationSubscriptionsResultOutput) Filters() GetDelegationSubscriptionsFilterArrayOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsResult) []GetDelegationSubscriptionsFilter { return v.Filters }).(GetDelegationSubscriptionsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDelegationSubscriptionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The current lifecycle state of the Service Provider. +func (o GetDelegationSubscriptionsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDelegationSubscriptionsResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getServiceProvider.go b/sdk/go/oci/delegateaccesscontrol/getServiceProvider.go new file mode 100644 index 0000000000..8f5ca29d04 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getServiceProvider.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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. +// +// # Gets a ServiceProvider by identifier +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetServiceProvider(ctx, &delegateaccesscontrol.GetServiceProviderArgs{ +// ServiceProviderId: testServiceProviderOciDelegateAccessControlServiceProvider.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetServiceProvider(ctx *pulumi.Context, args *GetServiceProviderArgs, opts ...pulumi.InvokeOption) (*GetServiceProviderResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetServiceProviderResult + err := ctx.Invoke("oci:DelegateAccessControl/getServiceProvider:getServiceProvider", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getServiceProvider. +type GetServiceProviderArgs struct { + // unique Service Provider identifier + ServiceProviderId string `pulumi:"serviceProviderId"` +} + +// A collection of values returned by getServiceProvider. +type GetServiceProviderResult struct { + // The OCID of the compartment that contains the Delegation Control. + CompartmentId string `pulumi:"compartmentId"` + // 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]string `pulumi:"definedTags"` + // Description of the Service Provider. + Description string `pulumi:"description"` + // 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]string `pulumi:"freeformTags"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` + // Unique name of the Service Provider. + Name string `pulumi:"name"` + ServiceProviderId string `pulumi:"serviceProviderId"` + // Service Provider type. + ServiceProviderType string `pulumi:"serviceProviderType"` + // Types of services offered by this provider. + ServiceTypes []string `pulumi:"serviceTypes"` + // The current lifecycle state of the Service Provider. + State string `pulumi:"state"` + // Resource types for which this provider will provide service. Default to all if not specified. + SupportedResourceTypes []string `pulumi:"supportedResourceTypes"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]string `pulumi:"systemTags"` + // Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated string `pulumi:"timeCreated"` + // Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated string `pulumi:"timeUpdated"` +} + +func GetServiceProviderOutput(ctx *pulumi.Context, args GetServiceProviderOutputArgs, opts ...pulumi.InvokeOption) GetServiceProviderResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetServiceProviderResult, error) { + args := v.(GetServiceProviderArgs) + r, err := GetServiceProvider(ctx, &args, opts...) + var s GetServiceProviderResult + if r != nil { + s = *r + } + return s, err + }).(GetServiceProviderResultOutput) +} + +// A collection of arguments for invoking getServiceProvider. +type GetServiceProviderOutputArgs struct { + // unique Service Provider identifier + ServiceProviderId pulumi.StringInput `pulumi:"serviceProviderId"` +} + +func (GetServiceProviderOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderArgs)(nil)).Elem() +} + +// A collection of values returned by getServiceProvider. +type GetServiceProviderResultOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderResult)(nil)).Elem() +} + +func (o GetServiceProviderResultOutput) ToGetServiceProviderResultOutput() GetServiceProviderResultOutput { + return o +} + +func (o GetServiceProviderResultOutput) ToGetServiceProviderResultOutputWithContext(ctx context.Context) GetServiceProviderResultOutput { + return o +} + +// The OCID of the compartment that contains the Delegation Control. +func (o GetServiceProviderResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderResult) string { return v.CompartmentId }).(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 GetServiceProviderResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetServiceProviderResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// Description of the Service Provider. +func (o GetServiceProviderResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderResult) string { return v.Description }).(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 GetServiceProviderResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetServiceProviderResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetServiceProviderResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Description of the current lifecycle state in more detail. +func (o GetServiceProviderResultOutput) LifecycleStateDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderResult) string { return v.LifecycleStateDetails }).(pulumi.StringOutput) +} + +// Unique name of the Service Provider. +func (o GetServiceProviderResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderResult) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetServiceProviderResultOutput) ServiceProviderId() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderResult) string { return v.ServiceProviderId }).(pulumi.StringOutput) +} + +// Service Provider type. +func (o GetServiceProviderResultOutput) ServiceProviderType() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderResult) string { return v.ServiceProviderType }).(pulumi.StringOutput) +} + +// Types of services offered by this provider. +func (o GetServiceProviderResultOutput) ServiceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServiceProviderResult) []string { return v.ServiceTypes }).(pulumi.StringArrayOutput) +} + +// The current lifecycle state of the Service Provider. +func (o GetServiceProviderResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderResult) string { return v.State }).(pulumi.StringOutput) +} + +// Resource types for which this provider will provide service. Default to all if not specified. +func (o GetServiceProviderResultOutput) SupportedResourceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServiceProviderResult) []string { return v.SupportedResourceTypes }).(pulumi.StringArrayOutput) +} + +// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetServiceProviderResultOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetServiceProviderResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o GetServiceProviderResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o GetServiceProviderResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetServiceProviderResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getServiceProviderAction.go b/sdk/go/oci/delegateaccesscontrol/getServiceProviderAction.go new file mode 100644 index 0000000000..0144ce36a6 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getServiceProviderAction.go @@ -0,0 +1,171 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Gets the Service Provider Action associated with the specified Service Provider Action ID. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetServiceProviderAction(ctx, &delegateaccesscontrol.GetServiceProviderActionArgs{ +// ServiceProviderActionId: testServiceProviderActionOciDelegateAccessControlServiceProviderAction.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetServiceProviderAction(ctx *pulumi.Context, args *GetServiceProviderActionArgs, opts ...pulumi.InvokeOption) (*GetServiceProviderActionResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetServiceProviderActionResult + err := ctx.Invoke("oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getServiceProviderAction. +type GetServiceProviderActionArgs struct { + // Unique Oracle supplied identifier associated with the Service Provider Action. + ServiceProviderActionId string `pulumi:"serviceProviderActionId"` +} + +// A collection of values returned by getServiceProviderAction. +type GetServiceProviderActionResult struct { + // Name of the infrastructure layer associated with the Service Provider Action. + Component string `pulumi:"component"` + // Display Name of the Service Provider Action. + CustomerDisplayName string `pulumi:"customerDisplayName"` + // Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + Description string `pulumi:"description"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Name of the property + Name string `pulumi:"name"` + // Fine grained properties associated with the Delegation Control. + Properties []GetServiceProviderActionProperty `pulumi:"properties"` + // resourceType for which the ServiceProviderAction is applicable + ResourceType string `pulumi:"resourceType"` + ServiceProviderActionId string `pulumi:"serviceProviderActionId"` + // List of Service Provider Service Types that this Service Provider Action is applicable to. + ServiceProviderServiceTypes []string `pulumi:"serviceProviderServiceTypes"` + // The current lifecycle state of the Service Provider Action. + State string `pulumi:"state"` +} + +func GetServiceProviderActionOutput(ctx *pulumi.Context, args GetServiceProviderActionOutputArgs, opts ...pulumi.InvokeOption) GetServiceProviderActionResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetServiceProviderActionResult, error) { + args := v.(GetServiceProviderActionArgs) + r, err := GetServiceProviderAction(ctx, &args, opts...) + var s GetServiceProviderActionResult + if r != nil { + s = *r + } + return s, err + }).(GetServiceProviderActionResultOutput) +} + +// A collection of arguments for invoking getServiceProviderAction. +type GetServiceProviderActionOutputArgs struct { + // Unique Oracle supplied identifier associated with the Service Provider Action. + ServiceProviderActionId pulumi.StringInput `pulumi:"serviceProviderActionId"` +} + +func (GetServiceProviderActionOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionArgs)(nil)).Elem() +} + +// A collection of values returned by getServiceProviderAction. +type GetServiceProviderActionResultOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionResult)(nil)).Elem() +} + +func (o GetServiceProviderActionResultOutput) ToGetServiceProviderActionResultOutput() GetServiceProviderActionResultOutput { + return o +} + +func (o GetServiceProviderActionResultOutput) ToGetServiceProviderActionResultOutputWithContext(ctx context.Context) GetServiceProviderActionResultOutput { + return o +} + +// Name of the infrastructure layer associated with the Service Provider Action. +func (o GetServiceProviderActionResultOutput) Component() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionResult) string { return v.Component }).(pulumi.StringOutput) +} + +// Display Name of the Service Provider Action. +func (o GetServiceProviderActionResultOutput) CustomerDisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionResult) string { return v.CustomerDisplayName }).(pulumi.StringOutput) +} + +// Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. +func (o GetServiceProviderActionResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionResult) string { return v.Description }).(pulumi.StringOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetServiceProviderActionResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Name of the property +func (o GetServiceProviderActionResultOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionResult) string { return v.Name }).(pulumi.StringOutput) +} + +// Fine grained properties associated with the Delegation Control. +func (o GetServiceProviderActionResultOutput) Properties() GetServiceProviderActionPropertyArrayOutput { + return o.ApplyT(func(v GetServiceProviderActionResult) []GetServiceProviderActionProperty { return v.Properties }).(GetServiceProviderActionPropertyArrayOutput) +} + +// resourceType for which the ServiceProviderAction is applicable +func (o GetServiceProviderActionResultOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionResult) string { return v.ResourceType }).(pulumi.StringOutput) +} + +func (o GetServiceProviderActionResultOutput) ServiceProviderActionId() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionResult) string { return v.ServiceProviderActionId }).(pulumi.StringOutput) +} + +// List of Service Provider Service Types that this Service Provider Action is applicable to. +func (o GetServiceProviderActionResultOutput) ServiceProviderServiceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServiceProviderActionResult) []string { return v.ServiceProviderServiceTypes }).(pulumi.StringArrayOutput) +} + +// The current lifecycle state of the Service Provider Action. +func (o GetServiceProviderActionResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionResult) string { return v.State }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetServiceProviderActionResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getServiceProviderActions.go b/sdk/go/oci/delegateaccesscontrol/getServiceProviderActions.go new file mode 100644 index 0000000000..d59643deb8 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getServiceProviderActions.go @@ -0,0 +1,177 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Lists all the ServiceProviderActions available in the system. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetServiceProviderActions(ctx, &delegateaccesscontrol.GetServiceProviderActionsArgs{ +// CompartmentId: compartmentId, +// Name: pulumi.StringRef(serviceProviderActionName), +// ResourceType: pulumi.StringRef(serviceProviderActionResourceType), +// ServiceProviderServiceTypes: serviceProviderActionServiceProviderServiceType, +// State: pulumi.StringRef(serviceProviderActionState), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetServiceProviderActions(ctx *pulumi.Context, args *GetServiceProviderActionsArgs, opts ...pulumi.InvokeOption) (*GetServiceProviderActionsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetServiceProviderActionsResult + err := ctx.Invoke("oci:DelegateAccessControl/getServiceProviderActions:getServiceProviderActions", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getServiceProviderActions. +type GetServiceProviderActionsArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + Filters []GetServiceProviderActionsFilter `pulumi:"filters"` + // A filter to return only resources that match the entire name given. + Name *string `pulumi:"name"` + // A filter to return only resources that match the given resource type. + ResourceType *string `pulumi:"resourceType"` + // A filter to return only resources that match the given Service Provider service type. + ServiceProviderServiceTypes []string `pulumi:"serviceProviderServiceTypes"` + // A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + State *string `pulumi:"state"` +} + +// A collection of values returned by getServiceProviderActions. +type GetServiceProviderActionsResult struct { + CompartmentId string `pulumi:"compartmentId"` + Filters []GetServiceProviderActionsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Name of the property + Name *string `pulumi:"name"` + // resourceType for which the ServiceProviderAction is applicable + ResourceType *string `pulumi:"resourceType"` + // The list of service_provider_action_summary_collection. + ServiceProviderActionSummaryCollections []GetServiceProviderActionsServiceProviderActionSummaryCollection `pulumi:"serviceProviderActionSummaryCollections"` + ServiceProviderServiceTypes []string `pulumi:"serviceProviderServiceTypes"` + // The current lifecycle state of the Service Provider Action. + State *string `pulumi:"state"` +} + +func GetServiceProviderActionsOutput(ctx *pulumi.Context, args GetServiceProviderActionsOutputArgs, opts ...pulumi.InvokeOption) GetServiceProviderActionsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetServiceProviderActionsResult, error) { + args := v.(GetServiceProviderActionsArgs) + r, err := GetServiceProviderActions(ctx, &args, opts...) + var s GetServiceProviderActionsResult + if r != nil { + s = *r + } + return s, err + }).(GetServiceProviderActionsResultOutput) +} + +// A collection of arguments for invoking getServiceProviderActions. +type GetServiceProviderActionsOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + Filters GetServiceProviderActionsFilterArrayInput `pulumi:"filters"` + // A filter to return only resources that match the entire name given. + Name pulumi.StringPtrInput `pulumi:"name"` + // A filter to return only resources that match the given resource type. + ResourceType pulumi.StringPtrInput `pulumi:"resourceType"` + // A filter to return only resources that match the given Service Provider service type. + ServiceProviderServiceTypes pulumi.StringArrayInput `pulumi:"serviceProviderServiceTypes"` + // A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetServiceProviderActionsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionsArgs)(nil)).Elem() +} + +// A collection of values returned by getServiceProviderActions. +type GetServiceProviderActionsResultOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionsResult)(nil)).Elem() +} + +func (o GetServiceProviderActionsResultOutput) ToGetServiceProviderActionsResultOutput() GetServiceProviderActionsResultOutput { + return o +} + +func (o GetServiceProviderActionsResultOutput) ToGetServiceProviderActionsResultOutputWithContext(ctx context.Context) GetServiceProviderActionsResultOutput { + return o +} + +func (o GetServiceProviderActionsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +func (o GetServiceProviderActionsResultOutput) Filters() GetServiceProviderActionsFilterArrayOutput { + return o.ApplyT(func(v GetServiceProviderActionsResult) []GetServiceProviderActionsFilter { return v.Filters }).(GetServiceProviderActionsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetServiceProviderActionsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Name of the property +func (o GetServiceProviderActionsResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServiceProviderActionsResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// resourceType for which the ServiceProviderAction is applicable +func (o GetServiceProviderActionsResultOutput) ResourceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServiceProviderActionsResult) *string { return v.ResourceType }).(pulumi.StringPtrOutput) +} + +// The list of service_provider_action_summary_collection. +func (o GetServiceProviderActionsResultOutput) ServiceProviderActionSummaryCollections() GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput { + return o.ApplyT(func(v GetServiceProviderActionsResult) []GetServiceProviderActionsServiceProviderActionSummaryCollection { + return v.ServiceProviderActionSummaryCollections + }).(GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput) +} + +func (o GetServiceProviderActionsResultOutput) ServiceProviderServiceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServiceProviderActionsResult) []string { return v.ServiceProviderServiceTypes }).(pulumi.StringArrayOutput) +} + +// The current lifecycle state of the Service Provider Action. +func (o GetServiceProviderActionsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServiceProviderActionsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetServiceProviderActionsResultOutput{}) +} diff --git a/sdk/go/oci/delegateaccesscontrol/getServiceProviders.go b/sdk/go/oci/delegateaccesscontrol/getServiceProviders.go new file mode 100644 index 0000000000..30dc4780f0 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/getServiceProviders.go @@ -0,0 +1,179 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. +// +// Lists the Service Providers. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DelegateAccessControl" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DelegateAccessControl.GetServiceProviders(ctx, &delegateaccesscontrol.GetServiceProvidersArgs{ +// CompartmentId: compartmentId, +// Name: pulumi.StringRef(serviceProviderName), +// ServiceProviderType: pulumi.StringRef(serviceProviderServiceProviderType), +// State: pulumi.StringRef(serviceProviderState), +// SupportedResourceType: pulumi.StringRef(serviceProviderSupportedResourceType), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetServiceProviders(ctx *pulumi.Context, args *GetServiceProvidersArgs, opts ...pulumi.InvokeOption) (*GetServiceProvidersResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetServiceProvidersResult + err := ctx.Invoke("oci:DelegateAccessControl/getServiceProviders:getServiceProviders", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getServiceProviders. +type GetServiceProvidersArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + Filters []GetServiceProvidersFilter `pulumi:"filters"` + // A filter to return Service Provider resources that match the given name. + Name *string `pulumi:"name"` + // A filter to return only Service Provider resources whose provider type matches the given provider type. + ServiceProviderType *string `pulumi:"serviceProviderType"` + // A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + State *string `pulumi:"state"` + // A filter to return only Service Provider resources whose supported resource type matches the given resource type. + SupportedResourceType *string `pulumi:"supportedResourceType"` +} + +// A collection of values returned by getServiceProviders. +type GetServiceProvidersResult struct { + // The OCID of the compartment that contains the Delegation Control. + CompartmentId string `pulumi:"compartmentId"` + Filters []GetServiceProvidersFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Unique name of the Service Provider. + Name *string `pulumi:"name"` + // The list of service_provider_summary_collection. + ServiceProviderSummaryCollections []GetServiceProvidersServiceProviderSummaryCollection `pulumi:"serviceProviderSummaryCollections"` + // Service Provider type. + ServiceProviderType *string `pulumi:"serviceProviderType"` + // The current lifecycle state of the Service Provider. + State *string `pulumi:"state"` + SupportedResourceType *string `pulumi:"supportedResourceType"` +} + +func GetServiceProvidersOutput(ctx *pulumi.Context, args GetServiceProvidersOutputArgs, opts ...pulumi.InvokeOption) GetServiceProvidersResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetServiceProvidersResult, error) { + args := v.(GetServiceProvidersArgs) + r, err := GetServiceProviders(ctx, &args, opts...) + var s GetServiceProvidersResult + if r != nil { + s = *r + } + return s, err + }).(GetServiceProvidersResultOutput) +} + +// A collection of arguments for invoking getServiceProviders. +type GetServiceProvidersOutputArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + Filters GetServiceProvidersFilterArrayInput `pulumi:"filters"` + // A filter to return Service Provider resources that match the given name. + Name pulumi.StringPtrInput `pulumi:"name"` + // A filter to return only Service Provider resources whose provider type matches the given provider type. + ServiceProviderType pulumi.StringPtrInput `pulumi:"serviceProviderType"` + // A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + State pulumi.StringPtrInput `pulumi:"state"` + // A filter to return only Service Provider resources whose supported resource type matches the given resource type. + SupportedResourceType pulumi.StringPtrInput `pulumi:"supportedResourceType"` +} + +func (GetServiceProvidersOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProvidersArgs)(nil)).Elem() +} + +// A collection of values returned by getServiceProviders. +type GetServiceProvidersResultOutput struct{ *pulumi.OutputState } + +func (GetServiceProvidersResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProvidersResult)(nil)).Elem() +} + +func (o GetServiceProvidersResultOutput) ToGetServiceProvidersResultOutput() GetServiceProvidersResultOutput { + return o +} + +func (o GetServiceProvidersResultOutput) ToGetServiceProvidersResultOutputWithContext(ctx context.Context) GetServiceProvidersResultOutput { + return o +} + +// The OCID of the compartment that contains the Delegation Control. +func (o GetServiceProvidersResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +func (o GetServiceProvidersResultOutput) Filters() GetServiceProvidersFilterArrayOutput { + return o.ApplyT(func(v GetServiceProvidersResult) []GetServiceProvidersFilter { return v.Filters }).(GetServiceProvidersFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetServiceProvidersResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Unique name of the Service Provider. +func (o GetServiceProvidersResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServiceProvidersResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// The list of service_provider_summary_collection. +func (o GetServiceProvidersResultOutput) ServiceProviderSummaryCollections() GetServiceProvidersServiceProviderSummaryCollectionArrayOutput { + return o.ApplyT(func(v GetServiceProvidersResult) []GetServiceProvidersServiceProviderSummaryCollection { + return v.ServiceProviderSummaryCollections + }).(GetServiceProvidersServiceProviderSummaryCollectionArrayOutput) +} + +// Service Provider type. +func (o GetServiceProvidersResultOutput) ServiceProviderType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServiceProvidersResult) *string { return v.ServiceProviderType }).(pulumi.StringPtrOutput) +} + +// The current lifecycle state of the Service Provider. +func (o GetServiceProvidersResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServiceProvidersResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func (o GetServiceProvidersResultOutput) SupportedResourceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetServiceProvidersResult) *string { return v.SupportedResourceType }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetServiceProvidersResultOutput{}) +} diff --git a/sdk/go/oci/fleetsoftwareupdate/init.go b/sdk/go/oci/delegateaccesscontrol/init.go similarity index 73% rename from sdk/go/oci/fleetsoftwareupdate/init.go rename to sdk/go/oci/delegateaccesscontrol/init.go index 1f927fb2f1..62fa4fa649 100644 --- a/sdk/go/oci/fleetsoftwareupdate/init.go +++ b/sdk/go/oci/delegateaccesscontrol/init.go @@ -1,7 +1,7 @@ // 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 fleetsoftwareupdate +package delegateaccesscontrol import ( "fmt" @@ -21,10 +21,10 @@ 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:FleetSoftwareUpdate/fsuCollection:FsuCollection": - r = &FsuCollection{} - case "oci:FleetSoftwareUpdate/fsuCycle:FsuCycle": - r = &FsuCycle{} + case "oci:DelegateAccessControl/delegationControl:DelegationControl": + r = &DelegationControl{} + case "oci:DelegateAccessControl/delegationSubscription:DelegationSubscription": + r = &DelegationSubscription{} default: return nil, fmt.Errorf("unknown resource type: %s", typ) } @@ -40,12 +40,12 @@ func init() { } pulumi.RegisterResourceModule( "oci", - "FleetSoftwareUpdate/fsuCollection", + "DelegateAccessControl/delegationControl", &module{version}, ) pulumi.RegisterResourceModule( "oci", - "FleetSoftwareUpdate/fsuCycle", + "DelegateAccessControl/delegationSubscription", &module{version}, ) } diff --git a/sdk/go/oci/delegateaccesscontrol/pulumiTypes.go b/sdk/go/oci/delegateaccesscontrol/pulumiTypes.go new file mode 100644 index 0000000000..e3bab5a360 --- /dev/null +++ b/sdk/go/oci/delegateaccesscontrol/pulumiTypes.go @@ -0,0 +1,3698 @@ +// 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 delegateaccesscontrol + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +var _ = internal.GetEnvOrDefault + +type GetDelegatedResourceAccessRequestApprovalInfo struct { + // Indicated whether the request is approved or rejected. + ApprovalAction string `pulumi:"approvalAction"` + // approval type, initial or extension + ApprovalType string `pulumi:"approvalType"` + // Additional message specified by the approver of the request. + ApproverAdditionalMessage string `pulumi:"approverAdditionalMessage"` + // Comment specified by the approver of the request. + ApproverComment string `pulumi:"approverComment"` + // User ID of the approver. + ApproverId string `pulumi:"approverId"` + // Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + TimeApprovedForAccess string `pulumi:"timeApprovedForAccess"` +} + +// GetDelegatedResourceAccessRequestApprovalInfoInput is an input type that accepts GetDelegatedResourceAccessRequestApprovalInfoArgs and GetDelegatedResourceAccessRequestApprovalInfoOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestApprovalInfoInput` via: +// +// GetDelegatedResourceAccessRequestApprovalInfoArgs{...} +type GetDelegatedResourceAccessRequestApprovalInfoInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestApprovalInfoOutput() GetDelegatedResourceAccessRequestApprovalInfoOutput + ToGetDelegatedResourceAccessRequestApprovalInfoOutputWithContext(context.Context) GetDelegatedResourceAccessRequestApprovalInfoOutput +} + +type GetDelegatedResourceAccessRequestApprovalInfoArgs struct { + // Indicated whether the request is approved or rejected. + ApprovalAction pulumi.StringInput `pulumi:"approvalAction"` + // approval type, initial or extension + ApprovalType pulumi.StringInput `pulumi:"approvalType"` + // Additional message specified by the approver of the request. + ApproverAdditionalMessage pulumi.StringInput `pulumi:"approverAdditionalMessage"` + // Comment specified by the approver of the request. + ApproverComment pulumi.StringInput `pulumi:"approverComment"` + // User ID of the approver. + ApproverId pulumi.StringInput `pulumi:"approverId"` + // Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + TimeApprovedForAccess pulumi.StringInput `pulumi:"timeApprovedForAccess"` +} + +func (GetDelegatedResourceAccessRequestApprovalInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestApprovalInfo)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestApprovalInfoArgs) ToGetDelegatedResourceAccessRequestApprovalInfoOutput() GetDelegatedResourceAccessRequestApprovalInfoOutput { + return i.ToGetDelegatedResourceAccessRequestApprovalInfoOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestApprovalInfoArgs) ToGetDelegatedResourceAccessRequestApprovalInfoOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestApprovalInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestApprovalInfoOutput) +} + +// GetDelegatedResourceAccessRequestApprovalInfoArrayInput is an input type that accepts GetDelegatedResourceAccessRequestApprovalInfoArray and GetDelegatedResourceAccessRequestApprovalInfoArrayOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestApprovalInfoArrayInput` via: +// +// GetDelegatedResourceAccessRequestApprovalInfoArray{ GetDelegatedResourceAccessRequestApprovalInfoArgs{...} } +type GetDelegatedResourceAccessRequestApprovalInfoArrayInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestApprovalInfoArrayOutput() GetDelegatedResourceAccessRequestApprovalInfoArrayOutput + ToGetDelegatedResourceAccessRequestApprovalInfoArrayOutputWithContext(context.Context) GetDelegatedResourceAccessRequestApprovalInfoArrayOutput +} + +type GetDelegatedResourceAccessRequestApprovalInfoArray []GetDelegatedResourceAccessRequestApprovalInfoInput + +func (GetDelegatedResourceAccessRequestApprovalInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestApprovalInfo)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestApprovalInfoArray) ToGetDelegatedResourceAccessRequestApprovalInfoArrayOutput() GetDelegatedResourceAccessRequestApprovalInfoArrayOutput { + return i.ToGetDelegatedResourceAccessRequestApprovalInfoArrayOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestApprovalInfoArray) ToGetDelegatedResourceAccessRequestApprovalInfoArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestApprovalInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestApprovalInfoArrayOutput) +} + +type GetDelegatedResourceAccessRequestApprovalInfoOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestApprovalInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestApprovalInfo)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestApprovalInfoOutput) ToGetDelegatedResourceAccessRequestApprovalInfoOutput() GetDelegatedResourceAccessRequestApprovalInfoOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestApprovalInfoOutput) ToGetDelegatedResourceAccessRequestApprovalInfoOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestApprovalInfoOutput { + return o +} + +// Indicated whether the request is approved or rejected. +func (o GetDelegatedResourceAccessRequestApprovalInfoOutput) ApprovalAction() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestApprovalInfo) string { return v.ApprovalAction }).(pulumi.StringOutput) +} + +// approval type, initial or extension +func (o GetDelegatedResourceAccessRequestApprovalInfoOutput) ApprovalType() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestApprovalInfo) string { return v.ApprovalType }).(pulumi.StringOutput) +} + +// Additional message specified by the approver of the request. +func (o GetDelegatedResourceAccessRequestApprovalInfoOutput) ApproverAdditionalMessage() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestApprovalInfo) string { return v.ApproverAdditionalMessage }).(pulumi.StringOutput) +} + +// Comment specified by the approver of the request. +func (o GetDelegatedResourceAccessRequestApprovalInfoOutput) ApproverComment() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestApprovalInfo) string { return v.ApproverComment }).(pulumi.StringOutput) +} + +// User ID of the approver. +func (o GetDelegatedResourceAccessRequestApprovalInfoOutput) ApproverId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestApprovalInfo) string { return v.ApproverId }).(pulumi.StringOutput) +} + +// Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. +func (o GetDelegatedResourceAccessRequestApprovalInfoOutput) TimeApprovedForAccess() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestApprovalInfo) string { return v.TimeApprovedForAccess }).(pulumi.StringOutput) +} + +type GetDelegatedResourceAccessRequestApprovalInfoArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestApprovalInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestApprovalInfo)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestApprovalInfoArrayOutput) ToGetDelegatedResourceAccessRequestApprovalInfoArrayOutput() GetDelegatedResourceAccessRequestApprovalInfoArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestApprovalInfoArrayOutput) ToGetDelegatedResourceAccessRequestApprovalInfoArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestApprovalInfoArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestApprovalInfoArrayOutput) Index(i pulumi.IntInput) GetDelegatedResourceAccessRequestApprovalInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegatedResourceAccessRequestApprovalInfo { + return vs[0].([]GetDelegatedResourceAccessRequestApprovalInfo)[vs[1].(int)] + }).(GetDelegatedResourceAccessRequestApprovalInfoOutput) +} + +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection struct { + // List of DelegatedResourceAccessRequestHistorySummary objects. + Items []GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem `pulumi:"items"` +} + +// GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionInput is an input type that accepts GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArgs and GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionInput` via: +// +// GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArgs{...} +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput + ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutputWithContext(context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput +} + +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArgs struct { + // List of DelegatedResourceAccessRequestHistorySummary objects. + Items GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArgs) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput { + return i.ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArgs) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput) +} + +// GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayInput is an input type that accepts GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArray and GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayInput` via: +// +// GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArray{ GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArgs{...} } +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput + ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutputWithContext(context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput +} + +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArray []GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionInput + +func (GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArray) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput { + return i.ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArray) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput) +} + +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput { + return o +} + +// List of DelegatedResourceAccessRequestHistorySummary objects. +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput) Items() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection) []GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem { + return v.Items + }).(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput) +} + +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput) Index(i pulumi.IntInput) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection { + return vs[0].([]GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection)[vs[1].(int)] + }).(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput) +} + +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem struct { + // Comment about the status change. + Comment string `pulumi:"comment"` + // The current status of the Delegated Resource Access Request. + RequestStatus string `pulumi:"requestStatus"` + // The current lifecycle state of the Delegated Resource Access Request. + State string `pulumi:"state"` + // Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + Timestamp string `pulumi:"timestamp"` + // ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator". + UserId string `pulumi:"userId"` +} + +// GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemInput is an input type that accepts GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArgs and GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemInput` via: +// +// GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArgs{...} +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput + ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutputWithContext(context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput +} + +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArgs struct { + // Comment about the status change. + Comment pulumi.StringInput `pulumi:"comment"` + // The current status of the Delegated Resource Access Request. + RequestStatus pulumi.StringInput `pulumi:"requestStatus"` + // The current lifecycle state of the Delegated Resource Access Request. + State pulumi.StringInput `pulumi:"state"` + // Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + Timestamp pulumi.StringInput `pulumi:"timestamp"` + // ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator". + UserId pulumi.StringInput `pulumi:"userId"` +} + +func (GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArgs) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput { + return i.ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArgs) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput) +} + +// GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayInput is an input type that accepts GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArray and GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayInput` via: +// +// GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArray{ GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArgs{...} } +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput + ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutputWithContext(context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput +} + +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArray []GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemInput + +func (GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArray) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput { + return i.ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArray) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput) +} + +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput { + return o +} + +// Comment about the status change. +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput) Comment() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem) string { + return v.Comment + }).(pulumi.StringOutput) +} + +// The current status of the Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput) RequestStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem) string { + return v.RequestStatus + }).(pulumi.StringOutput) +} + +// The current lifecycle state of the Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem) string { + return v.State + }).(pulumi.StringOutput) +} + +// Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput) Timestamp() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem) string { + return v.Timestamp + }).(pulumi.StringOutput) +} + +// ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator". +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput) UserId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem) string { + return v.UserId + }).(pulumi.StringOutput) +} + +type GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput() GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput) ToGetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem { + return vs[0].([]GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem)[vs[1].(int)] + }).(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput) +} + +type GetDelegatedResourceAccessRequestHistoriesFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDelegatedResourceAccessRequestHistoriesFilterInput is an input type that accepts GetDelegatedResourceAccessRequestHistoriesFilterArgs and GetDelegatedResourceAccessRequestHistoriesFilterOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestHistoriesFilterInput` via: +// +// GetDelegatedResourceAccessRequestHistoriesFilterArgs{...} +type GetDelegatedResourceAccessRequestHistoriesFilterInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestHistoriesFilterOutput() GetDelegatedResourceAccessRequestHistoriesFilterOutput + ToGetDelegatedResourceAccessRequestHistoriesFilterOutputWithContext(context.Context) GetDelegatedResourceAccessRequestHistoriesFilterOutput +} + +type GetDelegatedResourceAccessRequestHistoriesFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDelegatedResourceAccessRequestHistoriesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesFilter)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestHistoriesFilterArgs) ToGetDelegatedResourceAccessRequestHistoriesFilterOutput() GetDelegatedResourceAccessRequestHistoriesFilterOutput { + return i.ToGetDelegatedResourceAccessRequestHistoriesFilterOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestHistoriesFilterArgs) ToGetDelegatedResourceAccessRequestHistoriesFilterOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestHistoriesFilterOutput) +} + +// GetDelegatedResourceAccessRequestHistoriesFilterArrayInput is an input type that accepts GetDelegatedResourceAccessRequestHistoriesFilterArray and GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestHistoriesFilterArrayInput` via: +// +// GetDelegatedResourceAccessRequestHistoriesFilterArray{ GetDelegatedResourceAccessRequestHistoriesFilterArgs{...} } +type GetDelegatedResourceAccessRequestHistoriesFilterArrayInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestHistoriesFilterArrayOutput() GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput + ToGetDelegatedResourceAccessRequestHistoriesFilterArrayOutputWithContext(context.Context) GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput +} + +type GetDelegatedResourceAccessRequestHistoriesFilterArray []GetDelegatedResourceAccessRequestHistoriesFilterInput + +func (GetDelegatedResourceAccessRequestHistoriesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestHistoriesFilter)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestHistoriesFilterArray) ToGetDelegatedResourceAccessRequestHistoriesFilterArrayOutput() GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput { + return i.ToGetDelegatedResourceAccessRequestHistoriesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestHistoriesFilterArray) ToGetDelegatedResourceAccessRequestHistoriesFilterArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput) +} + +type GetDelegatedResourceAccessRequestHistoriesFilterOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestHistoriesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesFilter)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestHistoriesFilterOutput) ToGetDelegatedResourceAccessRequestHistoriesFilterOutput() GetDelegatedResourceAccessRequestHistoriesFilterOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesFilterOutput) ToGetDelegatedResourceAccessRequestHistoriesFilterOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesFilterOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDelegatedResourceAccessRequestHistoriesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDelegatedResourceAccessRequestHistoriesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestHistoriesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestHistoriesFilter)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput) ToGetDelegatedResourceAccessRequestHistoriesFilterArrayOutput() GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput) ToGetDelegatedResourceAccessRequestHistoriesFilterArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput) Index(i pulumi.IntInput) GetDelegatedResourceAccessRequestHistoriesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegatedResourceAccessRequestHistoriesFilter { + return vs[0].([]GetDelegatedResourceAccessRequestHistoriesFilter)[vs[1].(int)] + }).(GetDelegatedResourceAccessRequestHistoriesFilterOutput) +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection struct { + Items []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem `pulumi:"items"` +} + +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionInput is an input type that accepts GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArgs and GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionInput` via: +// +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArgs{...} +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutputWithContext(context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArgs struct { + Items GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArgs) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput { + return i.ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArgs) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput) +} + +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayInput is an input type that accepts GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArray and GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayInput` via: +// +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArray{ GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArgs{...} } +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutputWithContext(context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArray []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionInput + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArray) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput { + return i.ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArray) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput) +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput) Items() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection) []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem { + return v.Items + }).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput) +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput) Index(i pulumi.IntInput) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection { + return vs[0].([]GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection)[vs[1].(int)] + }).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput) +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem struct { + // In case of single approval, this will have only one item. Else, a list of approvals. + ApprovalInfos []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo `pulumi:"approvalInfos"` + // Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + AuditTypes []string `pulumi:"auditTypes"` + // The comment entered by the support operator while closing the request. + ClosureComment string `pulumi:"closureComment"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + DatabaseNameLists []string `pulumi:"databaseNameLists"` + // 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]string `pulumi:"definedTags"` + // unique Delegation Control identifier + DelegationControlId string `pulumi:"delegationControlId"` + // List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + DelegationSubscriptionIds []string `pulumi:"delegationSubscriptionIds"` + // Detailed description of this Delegated Resource Access Request. + Description string `pulumi:"description"` + // Display name. This is generated by the system automatically. + DisplayName string `pulumi:"displayName"` + // Duration in hours for which access is sought on the target resource. + DurationInHours int `pulumi:"durationInHours"` + // Duration in hours for which extension access is sought on the target resource. + ExtendDurationInHours int `pulumi:"extendDurationInHours"` + // 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]string `pulumi:"freeformTags"` + // The OCID of the Delegated Resource Access Request. + Id string `pulumi:"id"` + // Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + IsAutoApproved bool `pulumi:"isAutoApproved"` + // Indicates if the delegated resource access request is waiting on more information from the operator + IsPendingMoreInfo bool `pulumi:"isPendingMoreInfo"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` + // Number of extension approvals that have been obtained so far. + NumExtensionApprovals int `pulumi:"numExtensionApprovals"` + // Number of initial approvals that have been obtained so far. + NumInitialApprovals int `pulumi:"numInitialApprovals"` + // List of Service Provider Service Types being provided by the support operator user. + ProvidedServiceTypes []string `pulumi:"providedServiceTypes"` + // A short description explaining why this Delegated Resource Access Request is needed by the support operator. + ReasonForRequest string `pulumi:"reasonForRequest"` + // A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + RequestStatus string `pulumi:"requestStatus"` + // List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + RequestedActionNames []string `pulumi:"requestedActionNames"` + // Requester type + RequesterType string `pulumi:"requesterType"` + // A filter to return only Delegated Resource Access Requests for the given resource identifier. + ResourceId string `pulumi:"resourceId"` + // The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + ResourceName string `pulumi:"resourceName"` + // Resource type for which the associated Delegation Control is applicable to. + ResourceType string `pulumi:"resourceType"` + // Priority assigned to the Delegated Resource Access Request by the support operator + Severity string `pulumi:"severity"` + // A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request 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]string `pulumi:"systemTags"` + // A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + TicketNumbers []string `pulumi:"ticketNumbers"` + // Requested access start time in UTC. + TimeAccessRequested string `pulumi:"timeAccessRequested"` + // Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + TimeCreated string `pulumi:"timeCreated"` + // Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemInput is an input type that accepts GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArgs and GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemInput` via: +// +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArgs{...} +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutputWithContext(context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArgs struct { + // In case of single approval, this will have only one item. Else, a list of approvals. + ApprovalInfos GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayInput `pulumi:"approvalInfos"` + // Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + AuditTypes pulumi.StringArrayInput `pulumi:"auditTypes"` + // The comment entered by the support operator while closing the request. + ClosureComment pulumi.StringInput `pulumi:"closureComment"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + DatabaseNameLists pulumi.StringArrayInput `pulumi:"databaseNameLists"` + // 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.StringMapInput `pulumi:"definedTags"` + // unique Delegation Control identifier + DelegationControlId pulumi.StringInput `pulumi:"delegationControlId"` + // List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + DelegationSubscriptionIds pulumi.StringArrayInput `pulumi:"delegationSubscriptionIds"` + // Detailed description of this Delegated Resource Access Request. + Description pulumi.StringInput `pulumi:"description"` + // Display name. This is generated by the system automatically. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Duration in hours for which access is sought on the target resource. + DurationInHours pulumi.IntInput `pulumi:"durationInHours"` + // Duration in hours for which extension access is sought on the target resource. + ExtendDurationInHours pulumi.IntInput `pulumi:"extendDurationInHours"` + // 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.StringMapInput `pulumi:"freeformTags"` + // The OCID of the Delegated Resource Access Request. + Id pulumi.StringInput `pulumi:"id"` + // Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + IsAutoApproved pulumi.BoolInput `pulumi:"isAutoApproved"` + // Indicates if the delegated resource access request is waiting on more information from the operator + IsPendingMoreInfo pulumi.BoolInput `pulumi:"isPendingMoreInfo"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails pulumi.StringInput `pulumi:"lifecycleStateDetails"` + // Number of extension approvals that have been obtained so far. + NumExtensionApprovals pulumi.IntInput `pulumi:"numExtensionApprovals"` + // Number of initial approvals that have been obtained so far. + NumInitialApprovals pulumi.IntInput `pulumi:"numInitialApprovals"` + // List of Service Provider Service Types being provided by the support operator user. + ProvidedServiceTypes pulumi.StringArrayInput `pulumi:"providedServiceTypes"` + // A short description explaining why this Delegated Resource Access Request is needed by the support operator. + ReasonForRequest pulumi.StringInput `pulumi:"reasonForRequest"` + // A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + RequestStatus pulumi.StringInput `pulumi:"requestStatus"` + // List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + RequestedActionNames pulumi.StringArrayInput `pulumi:"requestedActionNames"` + // Requester type + RequesterType pulumi.StringInput `pulumi:"requesterType"` + // A filter to return only Delegated Resource Access Requests for the given resource identifier. + ResourceId pulumi.StringInput `pulumi:"resourceId"` + // The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + ResourceName pulumi.StringInput `pulumi:"resourceName"` + // Resource type for which the associated Delegation Control is applicable to. + ResourceType pulumi.StringInput `pulumi:"resourceType"` + // Priority assigned to the Delegated Resource Access Request by the support operator + Severity pulumi.StringInput `pulumi:"severity"` + // A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request 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.StringMapInput `pulumi:"systemTags"` + // A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + TicketNumbers pulumi.StringArrayInput `pulumi:"ticketNumbers"` + // Requested access start time in UTC. + TimeAccessRequested pulumi.StringInput `pulumi:"timeAccessRequested"` + // Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArgs) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput { + return i.ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArgs) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) +} + +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayInput is an input type that accepts GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArray and GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayInput` via: +// +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArray{ GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArgs{...} } +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutputWithContext(context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArray []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemInput + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArray) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput { + return i.ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArray) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput) +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput { + return o +} + +// In case of single approval, this will have only one item. Else, a list of approvals. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ApprovalInfos() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo { + return v.ApprovalInfos + }).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput) +} + +// Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) AuditTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) []string { + return v.AuditTypes + }).(pulumi.StringArrayOutput) +} + +// The comment entered by the support operator while closing the request. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ClosureComment() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.ClosureComment + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.CompartmentId + }).(pulumi.StringOutput) +} + +// List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) DatabaseNameLists() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) []string { + return v.DatabaseNameLists + }).(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). Example: `{"Operations.CostCenter": "42"}` +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) +} + +// unique Delegation Control identifier +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) DelegationControlId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.DelegationControlId + }).(pulumi.StringOutput) +} + +// List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) DelegationSubscriptionIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) []string { + return v.DelegationSubscriptionIds + }).(pulumi.StringArrayOutput) +} + +// Detailed description of this Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.Description + }).(pulumi.StringOutput) +} + +// Display name. This is generated by the system automatically. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.DisplayName + }).(pulumi.StringOutput) +} + +// Duration in hours for which access is sought on the target resource. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) DurationInHours() pulumi.IntOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) int { + return v.DurationInHours + }).(pulumi.IntOutput) +} + +// Duration in hours for which extension access is sought on the target resource. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ExtendDurationInHours() pulumi.IntOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) int { + return v.ExtendDurationInHours + }).(pulumi.IntOutput) +} + +// 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 GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) +} + +// The OCID of the Delegated Resource Access Request. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.Id + }).(pulumi.StringOutput) +} + +// Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) IsAutoApproved() pulumi.BoolOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) bool { + return v.IsAutoApproved + }).(pulumi.BoolOutput) +} + +// Indicates if the delegated resource access request is waiting on more information from the operator +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) IsPendingMoreInfo() pulumi.BoolOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) bool { + return v.IsPendingMoreInfo + }).(pulumi.BoolOutput) +} + +// Description of the current lifecycle state in more detail. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) LifecycleStateDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.LifecycleStateDetails + }).(pulumi.StringOutput) +} + +// Number of extension approvals that have been obtained so far. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) NumExtensionApprovals() pulumi.IntOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) int { + return v.NumExtensionApprovals + }).(pulumi.IntOutput) +} + +// Number of initial approvals that have been obtained so far. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) NumInitialApprovals() pulumi.IntOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) int { + return v.NumInitialApprovals + }).(pulumi.IntOutput) +} + +// List of Service Provider Service Types being provided by the support operator user. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ProvidedServiceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) []string { + return v.ProvidedServiceTypes + }).(pulumi.StringArrayOutput) +} + +// A short description explaining why this Delegated Resource Access Request is needed by the support operator. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ReasonForRequest() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.ReasonForRequest + }).(pulumi.StringOutput) +} + +// A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) RequestStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.RequestStatus + }).(pulumi.StringOutput) +} + +// List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) RequestedActionNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) []string { + return v.RequestedActionNames + }).(pulumi.StringArrayOutput) +} + +// Requester type +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) RequesterType() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.RequesterType + }).(pulumi.StringOutput) +} + +// A filter to return only Delegated Resource Access Requests for the given resource identifier. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ResourceId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.ResourceId + }).(pulumi.StringOutput) +} + +// The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ResourceName() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.ResourceName + }).(pulumi.StringOutput) +} + +// Resource type for which the associated Delegation Control is applicable to. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.ResourceType + }).(pulumi.StringOutput) +} + +// Priority assigned to the Delegated Resource Access Request by the support operator +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) Severity() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.Severity + }).(pulumi.StringOutput) +} + +// A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) 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 GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) +} + +// A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) TicketNumbers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) []string { + return v.TicketNumbers + }).(pulumi.StringArrayOutput) +} + +// Requested access start time in UTC. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) TimeAccessRequested() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.TimeAccessRequested + }).(pulumi.StringOutput) +} + +// Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.TimeCreated + }).(pulumi.StringOutput) +} + +// Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem) string { + return v.TimeUpdated + }).(pulumi.StringOutput) +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem { + return vs[0].([]GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem)[vs[1].(int)] + }).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput) +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo struct { + // Indicated whether the request is approved or rejected. + ApprovalAction string `pulumi:"approvalAction"` + // approval type, initial or extension + ApprovalType string `pulumi:"approvalType"` + // Additional message specified by the approver of the request. + ApproverAdditionalMessage string `pulumi:"approverAdditionalMessage"` + // Comment specified by the approver of the request. + ApproverComment string `pulumi:"approverComment"` + // User ID of the approver. + ApproverId string `pulumi:"approverId"` + // Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + TimeApprovedForAccess string `pulumi:"timeApprovedForAccess"` +} + +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoInput is an input type that accepts GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArgs and GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoInput` via: +// +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArgs{...} +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutputWithContext(context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArgs struct { + // Indicated whether the request is approved or rejected. + ApprovalAction pulumi.StringInput `pulumi:"approvalAction"` + // approval type, initial or extension + ApprovalType pulumi.StringInput `pulumi:"approvalType"` + // Additional message specified by the approver of the request. + ApproverAdditionalMessage pulumi.StringInput `pulumi:"approverAdditionalMessage"` + // Comment specified by the approver of the request. + ApproverComment pulumi.StringInput `pulumi:"approverComment"` + // User ID of the approver. + ApproverId pulumi.StringInput `pulumi:"approverId"` + // Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + TimeApprovedForAccess pulumi.StringInput `pulumi:"timeApprovedForAccess"` +} + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArgs) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput { + return i.ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArgs) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) +} + +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayInput is an input type that accepts GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArray and GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayInput` via: +// +// GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArray{ GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArgs{...} } +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput + ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutputWithContext(context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArray []GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoInput + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArray) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput { + return i.ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArray) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput) +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput { + return o +} + +// Indicated whether the request is approved or rejected. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) ApprovalAction() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo) string { + return v.ApprovalAction + }).(pulumi.StringOutput) +} + +// approval type, initial or extension +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) ApprovalType() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo) string { + return v.ApprovalType + }).(pulumi.StringOutput) +} + +// Additional message specified by the approver of the request. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) ApproverAdditionalMessage() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo) string { + return v.ApproverAdditionalMessage + }).(pulumi.StringOutput) +} + +// Comment specified by the approver of the request. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) ApproverComment() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo) string { + return v.ApproverComment + }).(pulumi.StringOutput) +} + +// User ID of the approver. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) ApproverId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo) string { + return v.ApproverId + }).(pulumi.StringOutput) +} + +// Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) TimeApprovedForAccess() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo) string { + return v.TimeApprovedForAccess + }).(pulumi.StringOutput) +} + +type GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput() GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput) ToGetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput) Index(i pulumi.IntInput) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo { + return vs[0].([]GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo)[vs[1].(int)] + }).(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput) +} + +type GetDelegatedResourceAccessRequestsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDelegatedResourceAccessRequestsFilterInput is an input type that accepts GetDelegatedResourceAccessRequestsFilterArgs and GetDelegatedResourceAccessRequestsFilterOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestsFilterInput` via: +// +// GetDelegatedResourceAccessRequestsFilterArgs{...} +type GetDelegatedResourceAccessRequestsFilterInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestsFilterOutput() GetDelegatedResourceAccessRequestsFilterOutput + ToGetDelegatedResourceAccessRequestsFilterOutputWithContext(context.Context) GetDelegatedResourceAccessRequestsFilterOutput +} + +type GetDelegatedResourceAccessRequestsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDelegatedResourceAccessRequestsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestsFilter)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestsFilterArgs) ToGetDelegatedResourceAccessRequestsFilterOutput() GetDelegatedResourceAccessRequestsFilterOutput { + return i.ToGetDelegatedResourceAccessRequestsFilterOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestsFilterArgs) ToGetDelegatedResourceAccessRequestsFilterOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestsFilterOutput) +} + +// GetDelegatedResourceAccessRequestsFilterArrayInput is an input type that accepts GetDelegatedResourceAccessRequestsFilterArray and GetDelegatedResourceAccessRequestsFilterArrayOutput values. +// You can construct a concrete instance of `GetDelegatedResourceAccessRequestsFilterArrayInput` via: +// +// GetDelegatedResourceAccessRequestsFilterArray{ GetDelegatedResourceAccessRequestsFilterArgs{...} } +type GetDelegatedResourceAccessRequestsFilterArrayInput interface { + pulumi.Input + + ToGetDelegatedResourceAccessRequestsFilterArrayOutput() GetDelegatedResourceAccessRequestsFilterArrayOutput + ToGetDelegatedResourceAccessRequestsFilterArrayOutputWithContext(context.Context) GetDelegatedResourceAccessRequestsFilterArrayOutput +} + +type GetDelegatedResourceAccessRequestsFilterArray []GetDelegatedResourceAccessRequestsFilterInput + +func (GetDelegatedResourceAccessRequestsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestsFilter)(nil)).Elem() +} + +func (i GetDelegatedResourceAccessRequestsFilterArray) ToGetDelegatedResourceAccessRequestsFilterArrayOutput() GetDelegatedResourceAccessRequestsFilterArrayOutput { + return i.ToGetDelegatedResourceAccessRequestsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDelegatedResourceAccessRequestsFilterArray) ToGetDelegatedResourceAccessRequestsFilterArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegatedResourceAccessRequestsFilterArrayOutput) +} + +type GetDelegatedResourceAccessRequestsFilterOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegatedResourceAccessRequestsFilter)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestsFilterOutput) ToGetDelegatedResourceAccessRequestsFilterOutput() GetDelegatedResourceAccessRequestsFilterOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsFilterOutput) ToGetDelegatedResourceAccessRequestsFilterOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsFilterOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDelegatedResourceAccessRequestsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDelegatedResourceAccessRequestsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegatedResourceAccessRequestsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDelegatedResourceAccessRequestsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegatedResourceAccessRequestsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegatedResourceAccessRequestsFilter)(nil)).Elem() +} + +func (o GetDelegatedResourceAccessRequestsFilterArrayOutput) ToGetDelegatedResourceAccessRequestsFilterArrayOutput() GetDelegatedResourceAccessRequestsFilterArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsFilterArrayOutput) ToGetDelegatedResourceAccessRequestsFilterArrayOutputWithContext(ctx context.Context) GetDelegatedResourceAccessRequestsFilterArrayOutput { + return o +} + +func (o GetDelegatedResourceAccessRequestsFilterArrayOutput) Index(i pulumi.IntInput) GetDelegatedResourceAccessRequestsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegatedResourceAccessRequestsFilter { + return vs[0].([]GetDelegatedResourceAccessRequestsFilter)[vs[1].(int)] + }).(GetDelegatedResourceAccessRequestsFilterOutput) +} + +type GetDelegationControlResourcesDelegationControlResourceCollection struct { + // List of DelegationControlResourceSummary objects. + Items []GetDelegationControlResourcesDelegationControlResourceCollectionItem `pulumi:"items"` +} + +// GetDelegationControlResourcesDelegationControlResourceCollectionInput is an input type that accepts GetDelegationControlResourcesDelegationControlResourceCollectionArgs and GetDelegationControlResourcesDelegationControlResourceCollectionOutput values. +// You can construct a concrete instance of `GetDelegationControlResourcesDelegationControlResourceCollectionInput` via: +// +// GetDelegationControlResourcesDelegationControlResourceCollectionArgs{...} +type GetDelegationControlResourcesDelegationControlResourceCollectionInput interface { + pulumi.Input + + ToGetDelegationControlResourcesDelegationControlResourceCollectionOutput() GetDelegationControlResourcesDelegationControlResourceCollectionOutput + ToGetDelegationControlResourcesDelegationControlResourceCollectionOutputWithContext(context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionOutput +} + +type GetDelegationControlResourcesDelegationControlResourceCollectionArgs struct { + // List of DelegationControlResourceSummary objects. + Items GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDelegationControlResourcesDelegationControlResourceCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlResourcesDelegationControlResourceCollection)(nil)).Elem() +} + +func (i GetDelegationControlResourcesDelegationControlResourceCollectionArgs) ToGetDelegationControlResourcesDelegationControlResourceCollectionOutput() GetDelegationControlResourcesDelegationControlResourceCollectionOutput { + return i.ToGetDelegationControlResourcesDelegationControlResourceCollectionOutputWithContext(context.Background()) +} + +func (i GetDelegationControlResourcesDelegationControlResourceCollectionArgs) ToGetDelegationControlResourcesDelegationControlResourceCollectionOutputWithContext(ctx context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlResourcesDelegationControlResourceCollectionOutput) +} + +// GetDelegationControlResourcesDelegationControlResourceCollectionArrayInput is an input type that accepts GetDelegationControlResourcesDelegationControlResourceCollectionArray and GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput values. +// You can construct a concrete instance of `GetDelegationControlResourcesDelegationControlResourceCollectionArrayInput` via: +// +// GetDelegationControlResourcesDelegationControlResourceCollectionArray{ GetDelegationControlResourcesDelegationControlResourceCollectionArgs{...} } +type GetDelegationControlResourcesDelegationControlResourceCollectionArrayInput interface { + pulumi.Input + + ToGetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput() GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput + ToGetDelegationControlResourcesDelegationControlResourceCollectionArrayOutputWithContext(context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput +} + +type GetDelegationControlResourcesDelegationControlResourceCollectionArray []GetDelegationControlResourcesDelegationControlResourceCollectionInput + +func (GetDelegationControlResourcesDelegationControlResourceCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlResourcesDelegationControlResourceCollection)(nil)).Elem() +} + +func (i GetDelegationControlResourcesDelegationControlResourceCollectionArray) ToGetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput() GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput { + return i.ToGetDelegationControlResourcesDelegationControlResourceCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDelegationControlResourcesDelegationControlResourceCollectionArray) ToGetDelegationControlResourcesDelegationControlResourceCollectionArrayOutputWithContext(ctx context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput) +} + +type GetDelegationControlResourcesDelegationControlResourceCollectionOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlResourcesDelegationControlResourceCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlResourcesDelegationControlResourceCollection)(nil)).Elem() +} + +func (o GetDelegationControlResourcesDelegationControlResourceCollectionOutput) ToGetDelegationControlResourcesDelegationControlResourceCollectionOutput() GetDelegationControlResourcesDelegationControlResourceCollectionOutput { + return o +} + +func (o GetDelegationControlResourcesDelegationControlResourceCollectionOutput) ToGetDelegationControlResourcesDelegationControlResourceCollectionOutputWithContext(ctx context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionOutput { + return o +} + +// List of DelegationControlResourceSummary objects. +func (o GetDelegationControlResourcesDelegationControlResourceCollectionOutput) Items() GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput { + return o.ApplyT(func(v GetDelegationControlResourcesDelegationControlResourceCollection) []GetDelegationControlResourcesDelegationControlResourceCollectionItem { + return v.Items + }).(GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput) +} + +type GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlResourcesDelegationControlResourceCollection)(nil)).Elem() +} + +func (o GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput) ToGetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput() GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput { + return o +} + +func (o GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput) ToGetDelegationControlResourcesDelegationControlResourceCollectionArrayOutputWithContext(ctx context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput { + return o +} + +func (o GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput) Index(i pulumi.IntInput) GetDelegationControlResourcesDelegationControlResourceCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegationControlResourcesDelegationControlResourceCollection { + return vs[0].([]GetDelegationControlResourcesDelegationControlResourceCollection)[vs[1].(int)] + }).(GetDelegationControlResourcesDelegationControlResourceCollectionOutput) +} + +type GetDelegationControlResourcesDelegationControlResourceCollectionItem struct { + // OCID of the resource. + Id string `pulumi:"id"` + // The current status of the resource in Delegation Control. + ResourceStatus string `pulumi:"resourceStatus"` +} + +// GetDelegationControlResourcesDelegationControlResourceCollectionItemInput is an input type that accepts GetDelegationControlResourcesDelegationControlResourceCollectionItemArgs and GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput values. +// You can construct a concrete instance of `GetDelegationControlResourcesDelegationControlResourceCollectionItemInput` via: +// +// GetDelegationControlResourcesDelegationControlResourceCollectionItemArgs{...} +type GetDelegationControlResourcesDelegationControlResourceCollectionItemInput interface { + pulumi.Input + + ToGetDelegationControlResourcesDelegationControlResourceCollectionItemOutput() GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput + ToGetDelegationControlResourcesDelegationControlResourceCollectionItemOutputWithContext(context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput +} + +type GetDelegationControlResourcesDelegationControlResourceCollectionItemArgs struct { + // OCID of the resource. + Id pulumi.StringInput `pulumi:"id"` + // The current status of the resource in Delegation Control. + ResourceStatus pulumi.StringInput `pulumi:"resourceStatus"` +} + +func (GetDelegationControlResourcesDelegationControlResourceCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlResourcesDelegationControlResourceCollectionItem)(nil)).Elem() +} + +func (i GetDelegationControlResourcesDelegationControlResourceCollectionItemArgs) ToGetDelegationControlResourcesDelegationControlResourceCollectionItemOutput() GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput { + return i.ToGetDelegationControlResourcesDelegationControlResourceCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDelegationControlResourcesDelegationControlResourceCollectionItemArgs) ToGetDelegationControlResourcesDelegationControlResourceCollectionItemOutputWithContext(ctx context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput) +} + +// GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayInput is an input type that accepts GetDelegationControlResourcesDelegationControlResourceCollectionItemArray and GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayInput` via: +// +// GetDelegationControlResourcesDelegationControlResourceCollectionItemArray{ GetDelegationControlResourcesDelegationControlResourceCollectionItemArgs{...} } +type GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayInput interface { + pulumi.Input + + ToGetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput() GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput + ToGetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutputWithContext(context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput +} + +type GetDelegationControlResourcesDelegationControlResourceCollectionItemArray []GetDelegationControlResourcesDelegationControlResourceCollectionItemInput + +func (GetDelegationControlResourcesDelegationControlResourceCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlResourcesDelegationControlResourceCollectionItem)(nil)).Elem() +} + +func (i GetDelegationControlResourcesDelegationControlResourceCollectionItemArray) ToGetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput() GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput { + return i.ToGetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDelegationControlResourcesDelegationControlResourceCollectionItemArray) ToGetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutputWithContext(ctx context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput) +} + +type GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlResourcesDelegationControlResourceCollectionItem)(nil)).Elem() +} + +func (o GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput) ToGetDelegationControlResourcesDelegationControlResourceCollectionItemOutput() GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput { + return o +} + +func (o GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput) ToGetDelegationControlResourcesDelegationControlResourceCollectionItemOutputWithContext(ctx context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput { + return o +} + +// OCID of the resource. +func (o GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlResourcesDelegationControlResourceCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// The current status of the resource in Delegation Control. +func (o GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput) ResourceStatus() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlResourcesDelegationControlResourceCollectionItem) string { + return v.ResourceStatus + }).(pulumi.StringOutput) +} + +type GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlResourcesDelegationControlResourceCollectionItem)(nil)).Elem() +} + +func (o GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput) ToGetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput() GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput { + return o +} + +func (o GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput) ToGetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutputWithContext(ctx context.Context) GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput { + return o +} + +func (o GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegationControlResourcesDelegationControlResourceCollectionItem { + return vs[0].([]GetDelegationControlResourcesDelegationControlResourceCollectionItem)[vs[1].(int)] + }).(GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput) +} + +type GetDelegationControlResourcesFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDelegationControlResourcesFilterInput is an input type that accepts GetDelegationControlResourcesFilterArgs and GetDelegationControlResourcesFilterOutput values. +// You can construct a concrete instance of `GetDelegationControlResourcesFilterInput` via: +// +// GetDelegationControlResourcesFilterArgs{...} +type GetDelegationControlResourcesFilterInput interface { + pulumi.Input + + ToGetDelegationControlResourcesFilterOutput() GetDelegationControlResourcesFilterOutput + ToGetDelegationControlResourcesFilterOutputWithContext(context.Context) GetDelegationControlResourcesFilterOutput +} + +type GetDelegationControlResourcesFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDelegationControlResourcesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlResourcesFilter)(nil)).Elem() +} + +func (i GetDelegationControlResourcesFilterArgs) ToGetDelegationControlResourcesFilterOutput() GetDelegationControlResourcesFilterOutput { + return i.ToGetDelegationControlResourcesFilterOutputWithContext(context.Background()) +} + +func (i GetDelegationControlResourcesFilterArgs) ToGetDelegationControlResourcesFilterOutputWithContext(ctx context.Context) GetDelegationControlResourcesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlResourcesFilterOutput) +} + +// GetDelegationControlResourcesFilterArrayInput is an input type that accepts GetDelegationControlResourcesFilterArray and GetDelegationControlResourcesFilterArrayOutput values. +// You can construct a concrete instance of `GetDelegationControlResourcesFilterArrayInput` via: +// +// GetDelegationControlResourcesFilterArray{ GetDelegationControlResourcesFilterArgs{...} } +type GetDelegationControlResourcesFilterArrayInput interface { + pulumi.Input + + ToGetDelegationControlResourcesFilterArrayOutput() GetDelegationControlResourcesFilterArrayOutput + ToGetDelegationControlResourcesFilterArrayOutputWithContext(context.Context) GetDelegationControlResourcesFilterArrayOutput +} + +type GetDelegationControlResourcesFilterArray []GetDelegationControlResourcesFilterInput + +func (GetDelegationControlResourcesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlResourcesFilter)(nil)).Elem() +} + +func (i GetDelegationControlResourcesFilterArray) ToGetDelegationControlResourcesFilterArrayOutput() GetDelegationControlResourcesFilterArrayOutput { + return i.ToGetDelegationControlResourcesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDelegationControlResourcesFilterArray) ToGetDelegationControlResourcesFilterArrayOutputWithContext(ctx context.Context) GetDelegationControlResourcesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlResourcesFilterArrayOutput) +} + +type GetDelegationControlResourcesFilterOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlResourcesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlResourcesFilter)(nil)).Elem() +} + +func (o GetDelegationControlResourcesFilterOutput) ToGetDelegationControlResourcesFilterOutput() GetDelegationControlResourcesFilterOutput { + return o +} + +func (o GetDelegationControlResourcesFilterOutput) ToGetDelegationControlResourcesFilterOutputWithContext(ctx context.Context) GetDelegationControlResourcesFilterOutput { + return o +} + +func (o GetDelegationControlResourcesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlResourcesFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDelegationControlResourcesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDelegationControlResourcesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDelegationControlResourcesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegationControlResourcesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDelegationControlResourcesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlResourcesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlResourcesFilter)(nil)).Elem() +} + +func (o GetDelegationControlResourcesFilterArrayOutput) ToGetDelegationControlResourcesFilterArrayOutput() GetDelegationControlResourcesFilterArrayOutput { + return o +} + +func (o GetDelegationControlResourcesFilterArrayOutput) ToGetDelegationControlResourcesFilterArrayOutputWithContext(ctx context.Context) GetDelegationControlResourcesFilterArrayOutput { + return o +} + +func (o GetDelegationControlResourcesFilterArrayOutput) Index(i pulumi.IntInput) GetDelegationControlResourcesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegationControlResourcesFilter { + return vs[0].([]GetDelegationControlResourcesFilter)[vs[1].(int)] + }).(GetDelegationControlResourcesFilterOutput) +} + +type GetDelegationControlsDelegationControlSummaryCollection struct { + Items []GetDelegationControlsDelegationControlSummaryCollectionItem `pulumi:"items"` +} + +// GetDelegationControlsDelegationControlSummaryCollectionInput is an input type that accepts GetDelegationControlsDelegationControlSummaryCollectionArgs and GetDelegationControlsDelegationControlSummaryCollectionOutput values. +// You can construct a concrete instance of `GetDelegationControlsDelegationControlSummaryCollectionInput` via: +// +// GetDelegationControlsDelegationControlSummaryCollectionArgs{...} +type GetDelegationControlsDelegationControlSummaryCollectionInput interface { + pulumi.Input + + ToGetDelegationControlsDelegationControlSummaryCollectionOutput() GetDelegationControlsDelegationControlSummaryCollectionOutput + ToGetDelegationControlsDelegationControlSummaryCollectionOutputWithContext(context.Context) GetDelegationControlsDelegationControlSummaryCollectionOutput +} + +type GetDelegationControlsDelegationControlSummaryCollectionArgs struct { + Items GetDelegationControlsDelegationControlSummaryCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDelegationControlsDelegationControlSummaryCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlsDelegationControlSummaryCollection)(nil)).Elem() +} + +func (i GetDelegationControlsDelegationControlSummaryCollectionArgs) ToGetDelegationControlsDelegationControlSummaryCollectionOutput() GetDelegationControlsDelegationControlSummaryCollectionOutput { + return i.ToGetDelegationControlsDelegationControlSummaryCollectionOutputWithContext(context.Background()) +} + +func (i GetDelegationControlsDelegationControlSummaryCollectionArgs) ToGetDelegationControlsDelegationControlSummaryCollectionOutputWithContext(ctx context.Context) GetDelegationControlsDelegationControlSummaryCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlsDelegationControlSummaryCollectionOutput) +} + +// GetDelegationControlsDelegationControlSummaryCollectionArrayInput is an input type that accepts GetDelegationControlsDelegationControlSummaryCollectionArray and GetDelegationControlsDelegationControlSummaryCollectionArrayOutput values. +// You can construct a concrete instance of `GetDelegationControlsDelegationControlSummaryCollectionArrayInput` via: +// +// GetDelegationControlsDelegationControlSummaryCollectionArray{ GetDelegationControlsDelegationControlSummaryCollectionArgs{...} } +type GetDelegationControlsDelegationControlSummaryCollectionArrayInput interface { + pulumi.Input + + ToGetDelegationControlsDelegationControlSummaryCollectionArrayOutput() GetDelegationControlsDelegationControlSummaryCollectionArrayOutput + ToGetDelegationControlsDelegationControlSummaryCollectionArrayOutputWithContext(context.Context) GetDelegationControlsDelegationControlSummaryCollectionArrayOutput +} + +type GetDelegationControlsDelegationControlSummaryCollectionArray []GetDelegationControlsDelegationControlSummaryCollectionInput + +func (GetDelegationControlsDelegationControlSummaryCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlsDelegationControlSummaryCollection)(nil)).Elem() +} + +func (i GetDelegationControlsDelegationControlSummaryCollectionArray) ToGetDelegationControlsDelegationControlSummaryCollectionArrayOutput() GetDelegationControlsDelegationControlSummaryCollectionArrayOutput { + return i.ToGetDelegationControlsDelegationControlSummaryCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDelegationControlsDelegationControlSummaryCollectionArray) ToGetDelegationControlsDelegationControlSummaryCollectionArrayOutputWithContext(ctx context.Context) GetDelegationControlsDelegationControlSummaryCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlsDelegationControlSummaryCollectionArrayOutput) +} + +type GetDelegationControlsDelegationControlSummaryCollectionOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlsDelegationControlSummaryCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlsDelegationControlSummaryCollection)(nil)).Elem() +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionOutput) ToGetDelegationControlsDelegationControlSummaryCollectionOutput() GetDelegationControlsDelegationControlSummaryCollectionOutput { + return o +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionOutput) ToGetDelegationControlsDelegationControlSummaryCollectionOutputWithContext(ctx context.Context) GetDelegationControlsDelegationControlSummaryCollectionOutput { + return o +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionOutput) Items() GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollection) []GetDelegationControlsDelegationControlSummaryCollectionItem { + return v.Items + }).(GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput) +} + +type GetDelegationControlsDelegationControlSummaryCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlsDelegationControlSummaryCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlsDelegationControlSummaryCollection)(nil)).Elem() +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionArrayOutput) ToGetDelegationControlsDelegationControlSummaryCollectionArrayOutput() GetDelegationControlsDelegationControlSummaryCollectionArrayOutput { + return o +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionArrayOutput) ToGetDelegationControlsDelegationControlSummaryCollectionArrayOutputWithContext(ctx context.Context) GetDelegationControlsDelegationControlSummaryCollectionArrayOutput { + return o +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionArrayOutput) Index(i pulumi.IntInput) GetDelegationControlsDelegationControlSummaryCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegationControlsDelegationControlSummaryCollection { + return vs[0].([]GetDelegationControlsDelegationControlSummaryCollection)[vs[1].(int)] + }).(GetDelegationControlsDelegationControlSummaryCollectionOutput) +} + +type GetDelegationControlsDelegationControlSummaryCollectionItem struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // 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]string `pulumi:"definedTags"` + // List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + DelegationSubscriptionIds []string `pulumi:"delegationSubscriptionIds"` + // Description of the Delegation Control. + Description string `pulumi:"description"` + // A filter to return Delegation Control resources that match the given display name. + 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]string `pulumi:"freeformTags"` + // The OCID of the Delegation Control. + Id string `pulumi:"id"` + // Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + IsAutoApproveDuringMaintenance bool `pulumi:"isAutoApproveDuringMaintenance"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` + // The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + NotificationMessageFormat string `pulumi:"notificationMessageFormat"` + // The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + NotificationTopicId string `pulumi:"notificationTopicId"` + // number of approvals required. + NumApprovalsRequired int `pulumi:"numApprovalsRequired"` + // List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + PreApprovedServiceProviderActionNames []string `pulumi:"preApprovedServiceProviderActionNames"` + // The OCID of the selected resources that this Delegation Control is applicable to. + ResourceIds []string `pulumi:"resourceIds"` + // A filter to return only resources that match the given resource type. + ResourceType string `pulumi:"resourceType"` + // A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + 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]string `pulumi:"systemTags"` + // Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated string `pulumi:"timeCreated"` + // Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + TimeDeleted string `pulumi:"timeDeleted"` + // Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated string `pulumi:"timeUpdated"` + // The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + VaultId string `pulumi:"vaultId"` + // The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + VaultKeyId string `pulumi:"vaultKeyId"` +} + +// GetDelegationControlsDelegationControlSummaryCollectionItemInput is an input type that accepts GetDelegationControlsDelegationControlSummaryCollectionItemArgs and GetDelegationControlsDelegationControlSummaryCollectionItemOutput values. +// You can construct a concrete instance of `GetDelegationControlsDelegationControlSummaryCollectionItemInput` via: +// +// GetDelegationControlsDelegationControlSummaryCollectionItemArgs{...} +type GetDelegationControlsDelegationControlSummaryCollectionItemInput interface { + pulumi.Input + + ToGetDelegationControlsDelegationControlSummaryCollectionItemOutput() GetDelegationControlsDelegationControlSummaryCollectionItemOutput + ToGetDelegationControlsDelegationControlSummaryCollectionItemOutputWithContext(context.Context) GetDelegationControlsDelegationControlSummaryCollectionItemOutput +} + +type GetDelegationControlsDelegationControlSummaryCollectionItemArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // 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.StringMapInput `pulumi:"definedTags"` + // List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + DelegationSubscriptionIds pulumi.StringArrayInput `pulumi:"delegationSubscriptionIds"` + // Description of the Delegation Control. + Description pulumi.StringInput `pulumi:"description"` + // A filter to return Delegation Control resources that match the given display name. + 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.StringMapInput `pulumi:"freeformTags"` + // The OCID of the Delegation Control. + Id pulumi.StringInput `pulumi:"id"` + // Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + IsAutoApproveDuringMaintenance pulumi.BoolInput `pulumi:"isAutoApproveDuringMaintenance"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails pulumi.StringInput `pulumi:"lifecycleStateDetails"` + // The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + NotificationMessageFormat pulumi.StringInput `pulumi:"notificationMessageFormat"` + // The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + NotificationTopicId pulumi.StringInput `pulumi:"notificationTopicId"` + // number of approvals required. + NumApprovalsRequired pulumi.IntInput `pulumi:"numApprovalsRequired"` + // List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + PreApprovedServiceProviderActionNames pulumi.StringArrayInput `pulumi:"preApprovedServiceProviderActionNames"` + // The OCID of the selected resources that this Delegation Control is applicable to. + ResourceIds pulumi.StringArrayInput `pulumi:"resourceIds"` + // A filter to return only resources that match the given resource type. + ResourceType pulumi.StringInput `pulumi:"resourceType"` + // A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + 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.StringMapInput `pulumi:"systemTags"` + // Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + TimeDeleted pulumi.StringInput `pulumi:"timeDeleted"` + // Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + // The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + VaultId pulumi.StringInput `pulumi:"vaultId"` + // The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + VaultKeyId pulumi.StringInput `pulumi:"vaultKeyId"` +} + +func (GetDelegationControlsDelegationControlSummaryCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlsDelegationControlSummaryCollectionItem)(nil)).Elem() +} + +func (i GetDelegationControlsDelegationControlSummaryCollectionItemArgs) ToGetDelegationControlsDelegationControlSummaryCollectionItemOutput() GetDelegationControlsDelegationControlSummaryCollectionItemOutput { + return i.ToGetDelegationControlsDelegationControlSummaryCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDelegationControlsDelegationControlSummaryCollectionItemArgs) ToGetDelegationControlsDelegationControlSummaryCollectionItemOutputWithContext(ctx context.Context) GetDelegationControlsDelegationControlSummaryCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlsDelegationControlSummaryCollectionItemOutput) +} + +// GetDelegationControlsDelegationControlSummaryCollectionItemArrayInput is an input type that accepts GetDelegationControlsDelegationControlSummaryCollectionItemArray and GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDelegationControlsDelegationControlSummaryCollectionItemArrayInput` via: +// +// GetDelegationControlsDelegationControlSummaryCollectionItemArray{ GetDelegationControlsDelegationControlSummaryCollectionItemArgs{...} } +type GetDelegationControlsDelegationControlSummaryCollectionItemArrayInput interface { + pulumi.Input + + ToGetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput() GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput + ToGetDelegationControlsDelegationControlSummaryCollectionItemArrayOutputWithContext(context.Context) GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput +} + +type GetDelegationControlsDelegationControlSummaryCollectionItemArray []GetDelegationControlsDelegationControlSummaryCollectionItemInput + +func (GetDelegationControlsDelegationControlSummaryCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlsDelegationControlSummaryCollectionItem)(nil)).Elem() +} + +func (i GetDelegationControlsDelegationControlSummaryCollectionItemArray) ToGetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput() GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput { + return i.ToGetDelegationControlsDelegationControlSummaryCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDelegationControlsDelegationControlSummaryCollectionItemArray) ToGetDelegationControlsDelegationControlSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput) +} + +type GetDelegationControlsDelegationControlSummaryCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlsDelegationControlSummaryCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlsDelegationControlSummaryCollectionItem)(nil)).Elem() +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) ToGetDelegationControlsDelegationControlSummaryCollectionItemOutput() GetDelegationControlsDelegationControlSummaryCollectionItemOutput { + return o +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) ToGetDelegationControlsDelegationControlSummaryCollectionItemOutputWithContext(ctx context.Context) GetDelegationControlsDelegationControlSummaryCollectionItemOutput { + return o +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { return v.CompartmentId }).(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 GetDelegationControlsDelegationControlSummaryCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) +} + +// List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) DelegationSubscriptionIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) []string { + return v.DelegationSubscriptionIds + }).(pulumi.StringArrayOutput) +} + +// Description of the Delegation Control. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { return v.Description }).(pulumi.StringOutput) +} + +// A filter to return Delegation Control resources that match the given display name. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { return v.DisplayName }).(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 GetDelegationControlsDelegationControlSummaryCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) +} + +// The OCID of the Delegation Control. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) IsAutoApproveDuringMaintenance() pulumi.BoolOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) bool { + return v.IsAutoApproveDuringMaintenance + }).(pulumi.BoolOutput) +} + +// Description of the current lifecycle state in more detail. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) LifecycleStateDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { + return v.LifecycleStateDetails + }).(pulumi.StringOutput) +} + +// The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) NotificationMessageFormat() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { + return v.NotificationMessageFormat + }).(pulumi.StringOutput) +} + +// The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) NotificationTopicId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { + return v.NotificationTopicId + }).(pulumi.StringOutput) +} + +// number of approvals required. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) NumApprovalsRequired() pulumi.IntOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) int { return v.NumApprovalsRequired }).(pulumi.IntOutput) +} + +// List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) PreApprovedServiceProviderActionNames() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) []string { + return v.PreApprovedServiceProviderActionNames + }).(pulumi.StringArrayOutput) +} + +// The OCID of the selected resources that this Delegation Control is applicable to. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) ResourceIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) []string { return v.ResourceIds }).(pulumi.StringArrayOutput) +} + +// A filter to return only resources that match the given resource type. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { return v.ResourceType }).(pulumi.StringOutput) +} + +// A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) 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 GetDelegationControlsDelegationControlSummaryCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) +} + +// Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) TimeDeleted() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { return v.TimeDeleted }).(pulumi.StringOutput) +} + +// Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) VaultId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { return v.VaultId }).(pulumi.StringOutput) +} + +// The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. +func (o GetDelegationControlsDelegationControlSummaryCollectionItemOutput) VaultKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsDelegationControlSummaryCollectionItem) string { return v.VaultKeyId }).(pulumi.StringOutput) +} + +type GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlsDelegationControlSummaryCollectionItem)(nil)).Elem() +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput) ToGetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput() GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput { + return o +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput) ToGetDelegationControlsDelegationControlSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput { + return o +} + +func (o GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDelegationControlsDelegationControlSummaryCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegationControlsDelegationControlSummaryCollectionItem { + return vs[0].([]GetDelegationControlsDelegationControlSummaryCollectionItem)[vs[1].(int)] + }).(GetDelegationControlsDelegationControlSummaryCollectionItemOutput) +} + +type GetDelegationControlsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDelegationControlsFilterInput is an input type that accepts GetDelegationControlsFilterArgs and GetDelegationControlsFilterOutput values. +// You can construct a concrete instance of `GetDelegationControlsFilterInput` via: +// +// GetDelegationControlsFilterArgs{...} +type GetDelegationControlsFilterInput interface { + pulumi.Input + + ToGetDelegationControlsFilterOutput() GetDelegationControlsFilterOutput + ToGetDelegationControlsFilterOutputWithContext(context.Context) GetDelegationControlsFilterOutput +} + +type GetDelegationControlsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDelegationControlsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlsFilter)(nil)).Elem() +} + +func (i GetDelegationControlsFilterArgs) ToGetDelegationControlsFilterOutput() GetDelegationControlsFilterOutput { + return i.ToGetDelegationControlsFilterOutputWithContext(context.Background()) +} + +func (i GetDelegationControlsFilterArgs) ToGetDelegationControlsFilterOutputWithContext(ctx context.Context) GetDelegationControlsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlsFilterOutput) +} + +// GetDelegationControlsFilterArrayInput is an input type that accepts GetDelegationControlsFilterArray and GetDelegationControlsFilterArrayOutput values. +// You can construct a concrete instance of `GetDelegationControlsFilterArrayInput` via: +// +// GetDelegationControlsFilterArray{ GetDelegationControlsFilterArgs{...} } +type GetDelegationControlsFilterArrayInput interface { + pulumi.Input + + ToGetDelegationControlsFilterArrayOutput() GetDelegationControlsFilterArrayOutput + ToGetDelegationControlsFilterArrayOutputWithContext(context.Context) GetDelegationControlsFilterArrayOutput +} + +type GetDelegationControlsFilterArray []GetDelegationControlsFilterInput + +func (GetDelegationControlsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlsFilter)(nil)).Elem() +} + +func (i GetDelegationControlsFilterArray) ToGetDelegationControlsFilterArrayOutput() GetDelegationControlsFilterArrayOutput { + return i.ToGetDelegationControlsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDelegationControlsFilterArray) ToGetDelegationControlsFilterArrayOutputWithContext(ctx context.Context) GetDelegationControlsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationControlsFilterArrayOutput) +} + +type GetDelegationControlsFilterOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationControlsFilter)(nil)).Elem() +} + +func (o GetDelegationControlsFilterOutput) ToGetDelegationControlsFilterOutput() GetDelegationControlsFilterOutput { + return o +} + +func (o GetDelegationControlsFilterOutput) ToGetDelegationControlsFilterOutputWithContext(ctx context.Context) GetDelegationControlsFilterOutput { + return o +} + +func (o GetDelegationControlsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationControlsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDelegationControlsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDelegationControlsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDelegationControlsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegationControlsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDelegationControlsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegationControlsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationControlsFilter)(nil)).Elem() +} + +func (o GetDelegationControlsFilterArrayOutput) ToGetDelegationControlsFilterArrayOutput() GetDelegationControlsFilterArrayOutput { + return o +} + +func (o GetDelegationControlsFilterArrayOutput) ToGetDelegationControlsFilterArrayOutputWithContext(ctx context.Context) GetDelegationControlsFilterArrayOutput { + return o +} + +func (o GetDelegationControlsFilterArrayOutput) Index(i pulumi.IntInput) GetDelegationControlsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegationControlsFilter { + return vs[0].([]GetDelegationControlsFilter)[vs[1].(int)] + }).(GetDelegationControlsFilterOutput) +} + +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection struct { + Items []GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem `pulumi:"items"` +} + +// GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionInput is an input type that accepts GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArgs and GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput values. +// You can construct a concrete instance of `GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionInput` via: +// +// GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArgs{...} +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionInput interface { + pulumi.Input + + ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput + ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutputWithContext(context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput +} + +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArgs struct { + Items GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection)(nil)).Elem() +} + +func (i GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArgs) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput { + return i.ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutputWithContext(context.Background()) +} + +func (i GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArgs) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutputWithContext(ctx context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput) +} + +// GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayInput is an input type that accepts GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArray and GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput values. +// You can construct a concrete instance of `GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayInput` via: +// +// GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArray{ GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArgs{...} } +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayInput interface { + pulumi.Input + + ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput + ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutputWithContext(context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput +} + +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArray []GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionInput + +func (GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection)(nil)).Elem() +} + +func (i GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArray) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput { + return i.ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArray) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutputWithContext(ctx context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput) +} + +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput struct{ *pulumi.OutputState } + +func (GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection)(nil)).Elem() +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput { + return o +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutputWithContext(ctx context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput { + return o +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput) Items() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection) []GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem { + return v.Items + }).(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput) +} + +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection)(nil)).Elem() +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput { + return o +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutputWithContext(ctx context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput { + return o +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput) Index(i pulumi.IntInput) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection { + return vs[0].([]GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection)[vs[1].(int)] + }).(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput) +} + +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // 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]string `pulumi:"definedTags"` + // Description of the Delegation Subscription. + Description string `pulumi:"description"` + // A filter to return Delegation Subscription resources that match the given display name. + 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]string `pulumi:"freeformTags"` + // Unique identifier for the Delegation Subscription. + Id string `pulumi:"id"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` + // Unique identifier of the Service Provider. + ServiceProviderId string `pulumi:"serviceProviderId"` + // A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + State string `pulumi:"state"` + // Subscribed Service Provider Service Type. + SubscribedServiceType string `pulumi:"subscribedServiceType"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]string `pulumi:"systemTags"` + // Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated string `pulumi:"timeCreated"` + // Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemInput is an input type that accepts GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArgs and GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput values. +// You can construct a concrete instance of `GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemInput` via: +// +// GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArgs{...} +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemInput interface { + pulumi.Input + + ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput + ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutputWithContext(context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput +} + +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // 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.StringMapInput `pulumi:"definedTags"` + // Description of the Delegation Subscription. + Description pulumi.StringInput `pulumi:"description"` + // A filter to return Delegation Subscription resources that match the given display name. + 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.StringMapInput `pulumi:"freeformTags"` + // Unique identifier for the Delegation Subscription. + Id pulumi.StringInput `pulumi:"id"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails pulumi.StringInput `pulumi:"lifecycleStateDetails"` + // Unique identifier of the Service Provider. + ServiceProviderId pulumi.StringInput `pulumi:"serviceProviderId"` + // A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + State pulumi.StringInput `pulumi:"state"` + // Subscribed Service Provider Service Type. + SubscribedServiceType pulumi.StringInput `pulumi:"subscribedServiceType"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` + // Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem)(nil)).Elem() +} + +func (i GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArgs) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput { + return i.ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArgs) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutputWithContext(ctx context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) +} + +// GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayInput is an input type that accepts GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArray and GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayInput` via: +// +// GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArray{ GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArgs{...} } +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayInput interface { + pulumi.Input + + ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput + ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutputWithContext(context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput +} + +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArray []GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemInput + +func (GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem)(nil)).Elem() +} + +func (i GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArray) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput { + return i.ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArray) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput) +} + +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem)(nil)).Elem() +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput { + return o +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutputWithContext(ctx context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput { + return o +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) string { + return v.CompartmentId + }).(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 GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) +} + +// Description of the Delegation Subscription. +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) string { + return v.Description + }).(pulumi.StringOutput) +} + +// A filter to return Delegation Subscription resources that match the given display name. +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) string { + return v.DisplayName + }).(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 GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) +} + +// Unique identifier for the Delegation Subscription. +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Description of the current lifecycle state in more detail. +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) LifecycleStateDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) string { + return v.LifecycleStateDetails + }).(pulumi.StringOutput) +} + +// Unique identifier of the Service Provider. +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) ServiceProviderId() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) string { + return v.ServiceProviderId + }).(pulumi.StringOutput) +} + +// A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// Subscribed Service Provider Service Type. +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) SubscribedServiceType() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) string { + return v.SubscribedServiceType + }).(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 GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) map[string]string { + return v.SystemTags + }).(pulumi.StringMapOutput) +} + +// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) string { + return v.TimeCreated + }).(pulumi.StringOutput) +} + +// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem) string { + return v.TimeUpdated + }).(pulumi.StringOutput) +} + +type GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem)(nil)).Elem() +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput() GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput { + return o +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput) ToGetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput { + return o +} + +func (o GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem { + return vs[0].([]GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem)[vs[1].(int)] + }).(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput) +} + +type GetDelegationSubscriptionsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDelegationSubscriptionsFilterInput is an input type that accepts GetDelegationSubscriptionsFilterArgs and GetDelegationSubscriptionsFilterOutput values. +// You can construct a concrete instance of `GetDelegationSubscriptionsFilterInput` via: +// +// GetDelegationSubscriptionsFilterArgs{...} +type GetDelegationSubscriptionsFilterInput interface { + pulumi.Input + + ToGetDelegationSubscriptionsFilterOutput() GetDelegationSubscriptionsFilterOutput + ToGetDelegationSubscriptionsFilterOutputWithContext(context.Context) GetDelegationSubscriptionsFilterOutput +} + +type GetDelegationSubscriptionsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDelegationSubscriptionsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationSubscriptionsFilter)(nil)).Elem() +} + +func (i GetDelegationSubscriptionsFilterArgs) ToGetDelegationSubscriptionsFilterOutput() GetDelegationSubscriptionsFilterOutput { + return i.ToGetDelegationSubscriptionsFilterOutputWithContext(context.Background()) +} + +func (i GetDelegationSubscriptionsFilterArgs) ToGetDelegationSubscriptionsFilterOutputWithContext(ctx context.Context) GetDelegationSubscriptionsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationSubscriptionsFilterOutput) +} + +// GetDelegationSubscriptionsFilterArrayInput is an input type that accepts GetDelegationSubscriptionsFilterArray and GetDelegationSubscriptionsFilterArrayOutput values. +// You can construct a concrete instance of `GetDelegationSubscriptionsFilterArrayInput` via: +// +// GetDelegationSubscriptionsFilterArray{ GetDelegationSubscriptionsFilterArgs{...} } +type GetDelegationSubscriptionsFilterArrayInput interface { + pulumi.Input + + ToGetDelegationSubscriptionsFilterArrayOutput() GetDelegationSubscriptionsFilterArrayOutput + ToGetDelegationSubscriptionsFilterArrayOutputWithContext(context.Context) GetDelegationSubscriptionsFilterArrayOutput +} + +type GetDelegationSubscriptionsFilterArray []GetDelegationSubscriptionsFilterInput + +func (GetDelegationSubscriptionsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationSubscriptionsFilter)(nil)).Elem() +} + +func (i GetDelegationSubscriptionsFilterArray) ToGetDelegationSubscriptionsFilterArrayOutput() GetDelegationSubscriptionsFilterArrayOutput { + return i.ToGetDelegationSubscriptionsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDelegationSubscriptionsFilterArray) ToGetDelegationSubscriptionsFilterArrayOutputWithContext(ctx context.Context) GetDelegationSubscriptionsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDelegationSubscriptionsFilterArrayOutput) +} + +type GetDelegationSubscriptionsFilterOutput struct{ *pulumi.OutputState } + +func (GetDelegationSubscriptionsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDelegationSubscriptionsFilter)(nil)).Elem() +} + +func (o GetDelegationSubscriptionsFilterOutput) ToGetDelegationSubscriptionsFilterOutput() GetDelegationSubscriptionsFilterOutput { + return o +} + +func (o GetDelegationSubscriptionsFilterOutput) ToGetDelegationSubscriptionsFilterOutputWithContext(ctx context.Context) GetDelegationSubscriptionsFilterOutput { + return o +} + +func (o GetDelegationSubscriptionsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDelegationSubscriptionsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDelegationSubscriptionsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDelegationSubscriptionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDelegationSubscriptionsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDelegationSubscriptionsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDelegationSubscriptionsFilter)(nil)).Elem() +} + +func (o GetDelegationSubscriptionsFilterArrayOutput) ToGetDelegationSubscriptionsFilterArrayOutput() GetDelegationSubscriptionsFilterArrayOutput { + return o +} + +func (o GetDelegationSubscriptionsFilterArrayOutput) ToGetDelegationSubscriptionsFilterArrayOutputWithContext(ctx context.Context) GetDelegationSubscriptionsFilterArrayOutput { + return o +} + +func (o GetDelegationSubscriptionsFilterArrayOutput) Index(i pulumi.IntInput) GetDelegationSubscriptionsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDelegationSubscriptionsFilter { + return vs[0].([]GetDelegationSubscriptionsFilter)[vs[1].(int)] + }).(GetDelegationSubscriptionsFilterOutput) +} + +type GetServiceProviderActionProperty struct { + // Name of the property + Name string `pulumi:"name"` + // value of the property + Value string `pulumi:"value"` +} + +// GetServiceProviderActionPropertyInput is an input type that accepts GetServiceProviderActionPropertyArgs and GetServiceProviderActionPropertyOutput values. +// You can construct a concrete instance of `GetServiceProviderActionPropertyInput` via: +// +// GetServiceProviderActionPropertyArgs{...} +type GetServiceProviderActionPropertyInput interface { + pulumi.Input + + ToGetServiceProviderActionPropertyOutput() GetServiceProviderActionPropertyOutput + ToGetServiceProviderActionPropertyOutputWithContext(context.Context) GetServiceProviderActionPropertyOutput +} + +type GetServiceProviderActionPropertyArgs struct { + // Name of the property + Name pulumi.StringInput `pulumi:"name"` + // value of the property + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetServiceProviderActionPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionProperty)(nil)).Elem() +} + +func (i GetServiceProviderActionPropertyArgs) ToGetServiceProviderActionPropertyOutput() GetServiceProviderActionPropertyOutput { + return i.ToGetServiceProviderActionPropertyOutputWithContext(context.Background()) +} + +func (i GetServiceProviderActionPropertyArgs) ToGetServiceProviderActionPropertyOutputWithContext(ctx context.Context) GetServiceProviderActionPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProviderActionPropertyOutput) +} + +// GetServiceProviderActionPropertyArrayInput is an input type that accepts GetServiceProviderActionPropertyArray and GetServiceProviderActionPropertyArrayOutput values. +// You can construct a concrete instance of `GetServiceProviderActionPropertyArrayInput` via: +// +// GetServiceProviderActionPropertyArray{ GetServiceProviderActionPropertyArgs{...} } +type GetServiceProviderActionPropertyArrayInput interface { + pulumi.Input + + ToGetServiceProviderActionPropertyArrayOutput() GetServiceProviderActionPropertyArrayOutput + ToGetServiceProviderActionPropertyArrayOutputWithContext(context.Context) GetServiceProviderActionPropertyArrayOutput +} + +type GetServiceProviderActionPropertyArray []GetServiceProviderActionPropertyInput + +func (GetServiceProviderActionPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProviderActionProperty)(nil)).Elem() +} + +func (i GetServiceProviderActionPropertyArray) ToGetServiceProviderActionPropertyArrayOutput() GetServiceProviderActionPropertyArrayOutput { + return i.ToGetServiceProviderActionPropertyArrayOutputWithContext(context.Background()) +} + +func (i GetServiceProviderActionPropertyArray) ToGetServiceProviderActionPropertyArrayOutputWithContext(ctx context.Context) GetServiceProviderActionPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProviderActionPropertyArrayOutput) +} + +type GetServiceProviderActionPropertyOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionProperty)(nil)).Elem() +} + +func (o GetServiceProviderActionPropertyOutput) ToGetServiceProviderActionPropertyOutput() GetServiceProviderActionPropertyOutput { + return o +} + +func (o GetServiceProviderActionPropertyOutput) ToGetServiceProviderActionPropertyOutputWithContext(ctx context.Context) GetServiceProviderActionPropertyOutput { + return o +} + +// Name of the property +func (o GetServiceProviderActionPropertyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionProperty) string { return v.Name }).(pulumi.StringOutput) +} + +// value of the property +func (o GetServiceProviderActionPropertyOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionProperty) string { return v.Value }).(pulumi.StringOutput) +} + +type GetServiceProviderActionPropertyArrayOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProviderActionProperty)(nil)).Elem() +} + +func (o GetServiceProviderActionPropertyArrayOutput) ToGetServiceProviderActionPropertyArrayOutput() GetServiceProviderActionPropertyArrayOutput { + return o +} + +func (o GetServiceProviderActionPropertyArrayOutput) ToGetServiceProviderActionPropertyArrayOutputWithContext(ctx context.Context) GetServiceProviderActionPropertyArrayOutput { + return o +} + +func (o GetServiceProviderActionPropertyArrayOutput) Index(i pulumi.IntInput) GetServiceProviderActionPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProviderActionProperty { + return vs[0].([]GetServiceProviderActionProperty)[vs[1].(int)] + }).(GetServiceProviderActionPropertyOutput) +} + +type GetServiceProviderActionsFilter struct { + // A filter to return only resources that match the entire name given. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetServiceProviderActionsFilterInput is an input type that accepts GetServiceProviderActionsFilterArgs and GetServiceProviderActionsFilterOutput values. +// You can construct a concrete instance of `GetServiceProviderActionsFilterInput` via: +// +// GetServiceProviderActionsFilterArgs{...} +type GetServiceProviderActionsFilterInput interface { + pulumi.Input + + ToGetServiceProviderActionsFilterOutput() GetServiceProviderActionsFilterOutput + ToGetServiceProviderActionsFilterOutputWithContext(context.Context) GetServiceProviderActionsFilterOutput +} + +type GetServiceProviderActionsFilterArgs struct { + // A filter to return only resources that match the entire name given. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetServiceProviderActionsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionsFilter)(nil)).Elem() +} + +func (i GetServiceProviderActionsFilterArgs) ToGetServiceProviderActionsFilterOutput() GetServiceProviderActionsFilterOutput { + return i.ToGetServiceProviderActionsFilterOutputWithContext(context.Background()) +} + +func (i GetServiceProviderActionsFilterArgs) ToGetServiceProviderActionsFilterOutputWithContext(ctx context.Context) GetServiceProviderActionsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProviderActionsFilterOutput) +} + +// GetServiceProviderActionsFilterArrayInput is an input type that accepts GetServiceProviderActionsFilterArray and GetServiceProviderActionsFilterArrayOutput values. +// You can construct a concrete instance of `GetServiceProviderActionsFilterArrayInput` via: +// +// GetServiceProviderActionsFilterArray{ GetServiceProviderActionsFilterArgs{...} } +type GetServiceProviderActionsFilterArrayInput interface { + pulumi.Input + + ToGetServiceProviderActionsFilterArrayOutput() GetServiceProviderActionsFilterArrayOutput + ToGetServiceProviderActionsFilterArrayOutputWithContext(context.Context) GetServiceProviderActionsFilterArrayOutput +} + +type GetServiceProviderActionsFilterArray []GetServiceProviderActionsFilterInput + +func (GetServiceProviderActionsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProviderActionsFilter)(nil)).Elem() +} + +func (i GetServiceProviderActionsFilterArray) ToGetServiceProviderActionsFilterArrayOutput() GetServiceProviderActionsFilterArrayOutput { + return i.ToGetServiceProviderActionsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetServiceProviderActionsFilterArray) ToGetServiceProviderActionsFilterArrayOutputWithContext(ctx context.Context) GetServiceProviderActionsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProviderActionsFilterArrayOutput) +} + +type GetServiceProviderActionsFilterOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionsFilter)(nil)).Elem() +} + +func (o GetServiceProviderActionsFilterOutput) ToGetServiceProviderActionsFilterOutput() GetServiceProviderActionsFilterOutput { + return o +} + +func (o GetServiceProviderActionsFilterOutput) ToGetServiceProviderActionsFilterOutputWithContext(ctx context.Context) GetServiceProviderActionsFilterOutput { + return o +} + +// A filter to return only resources that match the entire name given. +func (o GetServiceProviderActionsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetServiceProviderActionsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetServiceProviderActionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetServiceProviderActionsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServiceProviderActionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetServiceProviderActionsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProviderActionsFilter)(nil)).Elem() +} + +func (o GetServiceProviderActionsFilterArrayOutput) ToGetServiceProviderActionsFilterArrayOutput() GetServiceProviderActionsFilterArrayOutput { + return o +} + +func (o GetServiceProviderActionsFilterArrayOutput) ToGetServiceProviderActionsFilterArrayOutputWithContext(ctx context.Context) GetServiceProviderActionsFilterArrayOutput { + return o +} + +func (o GetServiceProviderActionsFilterArrayOutput) Index(i pulumi.IntInput) GetServiceProviderActionsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProviderActionsFilter { + return vs[0].([]GetServiceProviderActionsFilter)[vs[1].(int)] + }).(GetServiceProviderActionsFilterOutput) +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollection struct { + Items []GetServiceProviderActionsServiceProviderActionSummaryCollectionItem `pulumi:"items"` +} + +// GetServiceProviderActionsServiceProviderActionSummaryCollectionInput is an input type that accepts GetServiceProviderActionsServiceProviderActionSummaryCollectionArgs and GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput values. +// You can construct a concrete instance of `GetServiceProviderActionsServiceProviderActionSummaryCollectionInput` via: +// +// GetServiceProviderActionsServiceProviderActionSummaryCollectionArgs{...} +type GetServiceProviderActionsServiceProviderActionSummaryCollectionInput interface { + pulumi.Input + + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionOutputWithContext(context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionArgs struct { + Items GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayInput `pulumi:"items"` +} + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollection)(nil)).Elem() +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionArgs) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput { + return i.ToGetServiceProviderActionsServiceProviderActionSummaryCollectionOutputWithContext(context.Background()) +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionArgs) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput) +} + +// GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayInput is an input type that accepts GetServiceProviderActionsServiceProviderActionSummaryCollectionArray and GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput values. +// You can construct a concrete instance of `GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayInput` via: +// +// GetServiceProviderActionsServiceProviderActionSummaryCollectionArray{ GetServiceProviderActionsServiceProviderActionSummaryCollectionArgs{...} } +type GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayInput interface { + pulumi.Input + + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutputWithContext(context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionArray []GetServiceProviderActionsServiceProviderActionSummaryCollectionInput + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProviderActionsServiceProviderActionSummaryCollection)(nil)).Elem() +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionArray) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput { + return i.ToGetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionArray) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput) +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollection)(nil)).Elem() +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput { + return o +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput { + return o +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput) Items() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollection) []GetServiceProviderActionsServiceProviderActionSummaryCollectionItem { + return v.Items + }).(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput) +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProviderActionsServiceProviderActionSummaryCollection)(nil)).Elem() +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput { + return o +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput { + return o +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput) Index(i pulumi.IntInput) GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProviderActionsServiceProviderActionSummaryCollection { + return vs[0].([]GetServiceProviderActionsServiceProviderActionSummaryCollection)[vs[1].(int)] + }).(GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput) +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItem struct { + // Name of the infrastructure layer associated with the Service Provider Action. + Component string `pulumi:"component"` + // Display Name of the Service Provider Action. + CustomerDisplayName string `pulumi:"customerDisplayName"` + // Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + Description string `pulumi:"description"` + // Unique Oracle assigned identifier for the Service Provider Action. + Id string `pulumi:"id"` + // A filter to return only resources that match the entire name given. + Name string `pulumi:"name"` + // Fine grained properties associated with the Delegation Control. + Properties []GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty `pulumi:"properties"` + // A filter to return only resources that match the given resource type. + ResourceType string `pulumi:"resourceType"` + // List of Service Provider Service Types that this Service Provider Action is applicable to. + ServiceProviderServiceTypes []string `pulumi:"serviceProviderServiceTypes"` + // A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + State string `pulumi:"state"` +} + +// GetServiceProviderActionsServiceProviderActionSummaryCollectionItemInput is an input type that accepts GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArgs and GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput values. +// You can construct a concrete instance of `GetServiceProviderActionsServiceProviderActionSummaryCollectionItemInput` via: +// +// GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArgs{...} +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemInput interface { + pulumi.Input + + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutputWithContext(context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArgs struct { + // Name of the infrastructure layer associated with the Service Provider Action. + Component pulumi.StringInput `pulumi:"component"` + // Display Name of the Service Provider Action. + CustomerDisplayName pulumi.StringInput `pulumi:"customerDisplayName"` + // Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + Description pulumi.StringInput `pulumi:"description"` + // Unique Oracle assigned identifier for the Service Provider Action. + Id pulumi.StringInput `pulumi:"id"` + // A filter to return only resources that match the entire name given. + Name pulumi.StringInput `pulumi:"name"` + // Fine grained properties associated with the Delegation Control. + Properties GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayInput `pulumi:"properties"` + // A filter to return only resources that match the given resource type. + ResourceType pulumi.StringInput `pulumi:"resourceType"` + // List of Service Provider Service Types that this Service Provider Action is applicable to. + ServiceProviderServiceTypes pulumi.StringArrayInput `pulumi:"serviceProviderServiceTypes"` + // A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + State pulumi.StringInput `pulumi:"state"` +} + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollectionItem)(nil)).Elem() +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArgs) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput { + return i.ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutputWithContext(context.Background()) +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArgs) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) +} + +// GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayInput is an input type that accepts GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArray and GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayInput` via: +// +// GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArray{ GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArgs{...} } +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayInput interface { + pulumi.Input + + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutputWithContext(context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArray []GetServiceProviderActionsServiceProviderActionSummaryCollectionItemInput + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProviderActionsServiceProviderActionSummaryCollectionItem)(nil)).Elem() +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArray) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput { + return i.ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArray) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput) +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollectionItem)(nil)).Elem() +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput { + return o +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput { + return o +} + +// Name of the infrastructure layer associated with the Service Provider Action. +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) Component() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItem) string { return v.Component }).(pulumi.StringOutput) +} + +// Display Name of the Service Provider Action. +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) CustomerDisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItem) string { + return v.CustomerDisplayName + }).(pulumi.StringOutput) +} + +// Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItem) string { + return v.Description + }).(pulumi.StringOutput) +} + +// Unique Oracle assigned identifier for the Service Provider Action. +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// A filter to return only resources that match the entire name given. +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItem) string { return v.Name }).(pulumi.StringOutput) +} + +// Fine grained properties associated with the Delegation Control. +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) Properties() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItem) []GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty { + return v.Properties + }).(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput) +} + +// A filter to return only resources that match the given resource type. +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) ResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItem) string { + return v.ResourceType + }).(pulumi.StringOutput) +} + +// List of Service Provider Service Types that this Service Provider Action is applicable to. +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) ServiceProviderServiceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItem) []string { + return v.ServiceProviderServiceTypes + }).(pulumi.StringArrayOutput) +} + +// A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProviderActionsServiceProviderActionSummaryCollectionItem)(nil)).Elem() +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput { + return o +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput { + return o +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput) Index(i pulumi.IntInput) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProviderActionsServiceProviderActionSummaryCollectionItem { + return vs[0].([]GetServiceProviderActionsServiceProviderActionSummaryCollectionItem)[vs[1].(int)] + }).(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput) +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty struct { + // A filter to return only resources that match the entire name given. + Name string `pulumi:"name"` + // value of the property + Value string `pulumi:"value"` +} + +// GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyInput is an input type that accepts GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArgs and GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput values. +// You can construct a concrete instance of `GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyInput` via: +// +// GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArgs{...} +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyInput interface { + pulumi.Input + + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutputWithContext(context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArgs struct { + // A filter to return only resources that match the entire name given. + Name pulumi.StringInput `pulumi:"name"` + // value of the property + Value pulumi.StringInput `pulumi:"value"` +} + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty)(nil)).Elem() +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArgs) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput { + return i.ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutputWithContext(context.Background()) +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArgs) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput) +} + +// GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayInput is an input type that accepts GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArray and GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput values. +// You can construct a concrete instance of `GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayInput` via: +// +// GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArray{ GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArgs{...} } +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayInput interface { + pulumi.Input + + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput + ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutputWithContext(context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArray []GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyInput + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty)(nil)).Elem() +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArray) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput { + return i.ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutputWithContext(context.Background()) +} + +func (i GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArray) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput) +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty)(nil)).Elem() +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput { + return o +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput { + return o +} + +// A filter to return only resources that match the entire name given. +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty) string { + return v.Name + }).(pulumi.StringOutput) +} + +// value of the property +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput) Value() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty) string { + return v.Value + }).(pulumi.StringOutput) +} + +type GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput struct{ *pulumi.OutputState } + +func (GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty)(nil)).Elem() +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput() GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput { + return o +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput) ToGetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutputWithContext(ctx context.Context) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput { + return o +} + +func (o GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput) Index(i pulumi.IntInput) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty { + return vs[0].([]GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty)[vs[1].(int)] + }).(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput) +} + +type GetServiceProvidersFilter struct { + // A filter to return Service Provider resources that match the given name. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetServiceProvidersFilterInput is an input type that accepts GetServiceProvidersFilterArgs and GetServiceProvidersFilterOutput values. +// You can construct a concrete instance of `GetServiceProvidersFilterInput` via: +// +// GetServiceProvidersFilterArgs{...} +type GetServiceProvidersFilterInput interface { + pulumi.Input + + ToGetServiceProvidersFilterOutput() GetServiceProvidersFilterOutput + ToGetServiceProvidersFilterOutputWithContext(context.Context) GetServiceProvidersFilterOutput +} + +type GetServiceProvidersFilterArgs struct { + // A filter to return Service Provider resources that match the given name. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetServiceProvidersFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProvidersFilter)(nil)).Elem() +} + +func (i GetServiceProvidersFilterArgs) ToGetServiceProvidersFilterOutput() GetServiceProvidersFilterOutput { + return i.ToGetServiceProvidersFilterOutputWithContext(context.Background()) +} + +func (i GetServiceProvidersFilterArgs) ToGetServiceProvidersFilterOutputWithContext(ctx context.Context) GetServiceProvidersFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProvidersFilterOutput) +} + +// GetServiceProvidersFilterArrayInput is an input type that accepts GetServiceProvidersFilterArray and GetServiceProvidersFilterArrayOutput values. +// You can construct a concrete instance of `GetServiceProvidersFilterArrayInput` via: +// +// GetServiceProvidersFilterArray{ GetServiceProvidersFilterArgs{...} } +type GetServiceProvidersFilterArrayInput interface { + pulumi.Input + + ToGetServiceProvidersFilterArrayOutput() GetServiceProvidersFilterArrayOutput + ToGetServiceProvidersFilterArrayOutputWithContext(context.Context) GetServiceProvidersFilterArrayOutput +} + +type GetServiceProvidersFilterArray []GetServiceProvidersFilterInput + +func (GetServiceProvidersFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProvidersFilter)(nil)).Elem() +} + +func (i GetServiceProvidersFilterArray) ToGetServiceProvidersFilterArrayOutput() GetServiceProvidersFilterArrayOutput { + return i.ToGetServiceProvidersFilterArrayOutputWithContext(context.Background()) +} + +func (i GetServiceProvidersFilterArray) ToGetServiceProvidersFilterArrayOutputWithContext(ctx context.Context) GetServiceProvidersFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProvidersFilterArrayOutput) +} + +type GetServiceProvidersFilterOutput struct{ *pulumi.OutputState } + +func (GetServiceProvidersFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProvidersFilter)(nil)).Elem() +} + +func (o GetServiceProvidersFilterOutput) ToGetServiceProvidersFilterOutput() GetServiceProvidersFilterOutput { + return o +} + +func (o GetServiceProvidersFilterOutput) ToGetServiceProvidersFilterOutputWithContext(ctx context.Context) GetServiceProvidersFilterOutput { + return o +} + +// A filter to return Service Provider resources that match the given name. +func (o GetServiceProvidersFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetServiceProvidersFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetServiceProvidersFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetServiceProvidersFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServiceProvidersFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetServiceProvidersFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetServiceProvidersFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProvidersFilter)(nil)).Elem() +} + +func (o GetServiceProvidersFilterArrayOutput) ToGetServiceProvidersFilterArrayOutput() GetServiceProvidersFilterArrayOutput { + return o +} + +func (o GetServiceProvidersFilterArrayOutput) ToGetServiceProvidersFilterArrayOutputWithContext(ctx context.Context) GetServiceProvidersFilterArrayOutput { + return o +} + +func (o GetServiceProvidersFilterArrayOutput) Index(i pulumi.IntInput) GetServiceProvidersFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProvidersFilter { + return vs[0].([]GetServiceProvidersFilter)[vs[1].(int)] + }).(GetServiceProvidersFilterOutput) +} + +type GetServiceProvidersServiceProviderSummaryCollection struct { + Items []GetServiceProvidersServiceProviderSummaryCollectionItem `pulumi:"items"` +} + +// GetServiceProvidersServiceProviderSummaryCollectionInput is an input type that accepts GetServiceProvidersServiceProviderSummaryCollectionArgs and GetServiceProvidersServiceProviderSummaryCollectionOutput values. +// You can construct a concrete instance of `GetServiceProvidersServiceProviderSummaryCollectionInput` via: +// +// GetServiceProvidersServiceProviderSummaryCollectionArgs{...} +type GetServiceProvidersServiceProviderSummaryCollectionInput interface { + pulumi.Input + + ToGetServiceProvidersServiceProviderSummaryCollectionOutput() GetServiceProvidersServiceProviderSummaryCollectionOutput + ToGetServiceProvidersServiceProviderSummaryCollectionOutputWithContext(context.Context) GetServiceProvidersServiceProviderSummaryCollectionOutput +} + +type GetServiceProvidersServiceProviderSummaryCollectionArgs struct { + Items GetServiceProvidersServiceProviderSummaryCollectionItemArrayInput `pulumi:"items"` +} + +func (GetServiceProvidersServiceProviderSummaryCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProvidersServiceProviderSummaryCollection)(nil)).Elem() +} + +func (i GetServiceProvidersServiceProviderSummaryCollectionArgs) ToGetServiceProvidersServiceProviderSummaryCollectionOutput() GetServiceProvidersServiceProviderSummaryCollectionOutput { + return i.ToGetServiceProvidersServiceProviderSummaryCollectionOutputWithContext(context.Background()) +} + +func (i GetServiceProvidersServiceProviderSummaryCollectionArgs) ToGetServiceProvidersServiceProviderSummaryCollectionOutputWithContext(ctx context.Context) GetServiceProvidersServiceProviderSummaryCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProvidersServiceProviderSummaryCollectionOutput) +} + +// GetServiceProvidersServiceProviderSummaryCollectionArrayInput is an input type that accepts GetServiceProvidersServiceProviderSummaryCollectionArray and GetServiceProvidersServiceProviderSummaryCollectionArrayOutput values. +// You can construct a concrete instance of `GetServiceProvidersServiceProviderSummaryCollectionArrayInput` via: +// +// GetServiceProvidersServiceProviderSummaryCollectionArray{ GetServiceProvidersServiceProviderSummaryCollectionArgs{...} } +type GetServiceProvidersServiceProviderSummaryCollectionArrayInput interface { + pulumi.Input + + ToGetServiceProvidersServiceProviderSummaryCollectionArrayOutput() GetServiceProvidersServiceProviderSummaryCollectionArrayOutput + ToGetServiceProvidersServiceProviderSummaryCollectionArrayOutputWithContext(context.Context) GetServiceProvidersServiceProviderSummaryCollectionArrayOutput +} + +type GetServiceProvidersServiceProviderSummaryCollectionArray []GetServiceProvidersServiceProviderSummaryCollectionInput + +func (GetServiceProvidersServiceProviderSummaryCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProvidersServiceProviderSummaryCollection)(nil)).Elem() +} + +func (i GetServiceProvidersServiceProviderSummaryCollectionArray) ToGetServiceProvidersServiceProviderSummaryCollectionArrayOutput() GetServiceProvidersServiceProviderSummaryCollectionArrayOutput { + return i.ToGetServiceProvidersServiceProviderSummaryCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetServiceProvidersServiceProviderSummaryCollectionArray) ToGetServiceProvidersServiceProviderSummaryCollectionArrayOutputWithContext(ctx context.Context) GetServiceProvidersServiceProviderSummaryCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProvidersServiceProviderSummaryCollectionArrayOutput) +} + +type GetServiceProvidersServiceProviderSummaryCollectionOutput struct{ *pulumi.OutputState } + +func (GetServiceProvidersServiceProviderSummaryCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProvidersServiceProviderSummaryCollection)(nil)).Elem() +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionOutput) ToGetServiceProvidersServiceProviderSummaryCollectionOutput() GetServiceProvidersServiceProviderSummaryCollectionOutput { + return o +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionOutput) ToGetServiceProvidersServiceProviderSummaryCollectionOutputWithContext(ctx context.Context) GetServiceProvidersServiceProviderSummaryCollectionOutput { + return o +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionOutput) Items() GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollection) []GetServiceProvidersServiceProviderSummaryCollectionItem { + return v.Items + }).(GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput) +} + +type GetServiceProvidersServiceProviderSummaryCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetServiceProvidersServiceProviderSummaryCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProvidersServiceProviderSummaryCollection)(nil)).Elem() +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionArrayOutput) ToGetServiceProvidersServiceProviderSummaryCollectionArrayOutput() GetServiceProvidersServiceProviderSummaryCollectionArrayOutput { + return o +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionArrayOutput) ToGetServiceProvidersServiceProviderSummaryCollectionArrayOutputWithContext(ctx context.Context) GetServiceProvidersServiceProviderSummaryCollectionArrayOutput { + return o +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionArrayOutput) Index(i pulumi.IntInput) GetServiceProvidersServiceProviderSummaryCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProvidersServiceProviderSummaryCollection { + return vs[0].([]GetServiceProvidersServiceProviderSummaryCollection)[vs[1].(int)] + }).(GetServiceProvidersServiceProviderSummaryCollectionOutput) +} + +type GetServiceProvidersServiceProviderSummaryCollectionItem struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // 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]string `pulumi:"definedTags"` + // Description of the Service Provider. + Description string `pulumi:"description"` + // 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]string `pulumi:"freeformTags"` + // Unique identifier for the Service Provider. + Id string `pulumi:"id"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` + // A filter to return Service Provider resources that match the given name. + Name string `pulumi:"name"` + // A filter to return only Service Provider resources whose provider type matches the given provider type. + ServiceProviderType string `pulumi:"serviceProviderType"` + // Types of services offered by this provider. + ServiceTypes []string `pulumi:"serviceTypes"` + // A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + State string `pulumi:"state"` + // Resource types for which this provider will provide service. Default to all if not specified. + SupportedResourceTypes []string `pulumi:"supportedResourceTypes"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]string `pulumi:"systemTags"` + // Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated string `pulumi:"timeCreated"` + // Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetServiceProvidersServiceProviderSummaryCollectionItemInput is an input type that accepts GetServiceProvidersServiceProviderSummaryCollectionItemArgs and GetServiceProvidersServiceProviderSummaryCollectionItemOutput values. +// You can construct a concrete instance of `GetServiceProvidersServiceProviderSummaryCollectionItemInput` via: +// +// GetServiceProvidersServiceProviderSummaryCollectionItemArgs{...} +type GetServiceProvidersServiceProviderSummaryCollectionItemInput interface { + pulumi.Input + + ToGetServiceProvidersServiceProviderSummaryCollectionItemOutput() GetServiceProvidersServiceProviderSummaryCollectionItemOutput + ToGetServiceProvidersServiceProviderSummaryCollectionItemOutputWithContext(context.Context) GetServiceProvidersServiceProviderSummaryCollectionItemOutput +} + +type GetServiceProvidersServiceProviderSummaryCollectionItemArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // 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.StringMapInput `pulumi:"definedTags"` + // Description of the Service Provider. + Description pulumi.StringInput `pulumi:"description"` + // 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.StringMapInput `pulumi:"freeformTags"` + // Unique identifier for the Service Provider. + Id pulumi.StringInput `pulumi:"id"` + // Description of the current lifecycle state in more detail. + LifecycleStateDetails pulumi.StringInput `pulumi:"lifecycleStateDetails"` + // A filter to return Service Provider resources that match the given name. + Name pulumi.StringInput `pulumi:"name"` + // A filter to return only Service Provider resources whose provider type matches the given provider type. + ServiceProviderType pulumi.StringInput `pulumi:"serviceProviderType"` + // Types of services offered by this provider. + ServiceTypes pulumi.StringArrayInput `pulumi:"serviceTypes"` + // A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + State pulumi.StringInput `pulumi:"state"` + // Resource types for which this provider will provide service. Default to all if not specified. + SupportedResourceTypes pulumi.StringArrayInput `pulumi:"supportedResourceTypes"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.StringMapInput `pulumi:"systemTags"` + // Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetServiceProvidersServiceProviderSummaryCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProvidersServiceProviderSummaryCollectionItem)(nil)).Elem() +} + +func (i GetServiceProvidersServiceProviderSummaryCollectionItemArgs) ToGetServiceProvidersServiceProviderSummaryCollectionItemOutput() GetServiceProvidersServiceProviderSummaryCollectionItemOutput { + return i.ToGetServiceProvidersServiceProviderSummaryCollectionItemOutputWithContext(context.Background()) +} + +func (i GetServiceProvidersServiceProviderSummaryCollectionItemArgs) ToGetServiceProvidersServiceProviderSummaryCollectionItemOutputWithContext(ctx context.Context) GetServiceProvidersServiceProviderSummaryCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProvidersServiceProviderSummaryCollectionItemOutput) +} + +// GetServiceProvidersServiceProviderSummaryCollectionItemArrayInput is an input type that accepts GetServiceProvidersServiceProviderSummaryCollectionItemArray and GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetServiceProvidersServiceProviderSummaryCollectionItemArrayInput` via: +// +// GetServiceProvidersServiceProviderSummaryCollectionItemArray{ GetServiceProvidersServiceProviderSummaryCollectionItemArgs{...} } +type GetServiceProvidersServiceProviderSummaryCollectionItemArrayInput interface { + pulumi.Input + + ToGetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput() GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput + ToGetServiceProvidersServiceProviderSummaryCollectionItemArrayOutputWithContext(context.Context) GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput +} + +type GetServiceProvidersServiceProviderSummaryCollectionItemArray []GetServiceProvidersServiceProviderSummaryCollectionItemInput + +func (GetServiceProvidersServiceProviderSummaryCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProvidersServiceProviderSummaryCollectionItem)(nil)).Elem() +} + +func (i GetServiceProvidersServiceProviderSummaryCollectionItemArray) ToGetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput() GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput { + return i.ToGetServiceProvidersServiceProviderSummaryCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetServiceProvidersServiceProviderSummaryCollectionItemArray) ToGetServiceProvidersServiceProviderSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput) +} + +type GetServiceProvidersServiceProviderSummaryCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetServiceProvidersServiceProviderSummaryCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetServiceProvidersServiceProviderSummaryCollectionItem)(nil)).Elem() +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) ToGetServiceProvidersServiceProviderSummaryCollectionItemOutput() GetServiceProvidersServiceProviderSummaryCollectionItemOutput { + return o +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) ToGetServiceProvidersServiceProviderSummaryCollectionItemOutputWithContext(ctx context.Context) GetServiceProvidersServiceProviderSummaryCollectionItemOutput { + return o +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) string { return v.CompartmentId }).(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 GetServiceProvidersServiceProviderSummaryCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) map[string]string { + return v.DefinedTags + }).(pulumi.StringMapOutput) +} + +// Description of the Service Provider. +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) string { return v.Description }).(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 GetServiceProvidersServiceProviderSummaryCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) +} + +// Unique identifier for the Service Provider. +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Description of the current lifecycle state in more detail. +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) LifecycleStateDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) string { return v.LifecycleStateDetails }).(pulumi.StringOutput) +} + +// A filter to return Service Provider resources that match the given name. +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) string { return v.Name }).(pulumi.StringOutput) +} + +// A filter to return only Service Provider resources whose provider type matches the given provider type. +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) ServiceProviderType() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) string { return v.ServiceProviderType }).(pulumi.StringOutput) +} + +// Types of services offered by this provider. +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) ServiceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) []string { return v.ServiceTypes }).(pulumi.StringArrayOutput) +} + +// A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// Resource types for which this provider will provide service. Default to all if not specified. +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) SupportedResourceTypes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) []string { + return v.SupportedResourceTypes + }).(pulumi.StringArrayOutput) +} + +// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) SystemTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) +} + +// Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' +func (o GetServiceProvidersServiceProviderSummaryCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetServiceProvidersServiceProviderSummaryCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetServiceProvidersServiceProviderSummaryCollectionItem)(nil)).Elem() +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput) ToGetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput() GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput { + return o +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput) ToGetServiceProvidersServiceProviderSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput { + return o +} + +func (o GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput) Index(i pulumi.IntInput) GetServiceProvidersServiceProviderSummaryCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetServiceProvidersServiceProviderSummaryCollectionItem { + return vs[0].([]GetServiceProvidersServiceProviderSummaryCollectionItem)[vs[1].(int)] + }).(GetServiceProvidersServiceProviderSummaryCollectionItemOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestApprovalInfoInput)(nil)).Elem(), GetDelegatedResourceAccessRequestApprovalInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestApprovalInfoArrayInput)(nil)).Elem(), GetDelegatedResourceAccessRequestApprovalInfoArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionInput)(nil)).Elem(), GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayInput)(nil)).Elem(), GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemInput)(nil)).Elem(), GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayInput)(nil)).Elem(), GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesFilterInput)(nil)).Elem(), GetDelegatedResourceAccessRequestHistoriesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestHistoriesFilterArrayInput)(nil)).Elem(), GetDelegatedResourceAccessRequestHistoriesFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionInput)(nil)).Elem(), GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayInput)(nil)).Elem(), GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemInput)(nil)).Elem(), GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayInput)(nil)).Elem(), GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoInput)(nil)).Elem(), GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayInput)(nil)).Elem(), GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestsFilterInput)(nil)).Elem(), GetDelegatedResourceAccessRequestsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegatedResourceAccessRequestsFilterArrayInput)(nil)).Elem(), GetDelegatedResourceAccessRequestsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlResourcesDelegationControlResourceCollectionInput)(nil)).Elem(), GetDelegationControlResourcesDelegationControlResourceCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlResourcesDelegationControlResourceCollectionArrayInput)(nil)).Elem(), GetDelegationControlResourcesDelegationControlResourceCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlResourcesDelegationControlResourceCollectionItemInput)(nil)).Elem(), GetDelegationControlResourcesDelegationControlResourceCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayInput)(nil)).Elem(), GetDelegationControlResourcesDelegationControlResourceCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlResourcesFilterInput)(nil)).Elem(), GetDelegationControlResourcesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlResourcesFilterArrayInput)(nil)).Elem(), GetDelegationControlResourcesFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlsDelegationControlSummaryCollectionInput)(nil)).Elem(), GetDelegationControlsDelegationControlSummaryCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlsDelegationControlSummaryCollectionArrayInput)(nil)).Elem(), GetDelegationControlsDelegationControlSummaryCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlsDelegationControlSummaryCollectionItemInput)(nil)).Elem(), GetDelegationControlsDelegationControlSummaryCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlsDelegationControlSummaryCollectionItemArrayInput)(nil)).Elem(), GetDelegationControlsDelegationControlSummaryCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlsFilterInput)(nil)).Elem(), GetDelegationControlsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationControlsFilterArrayInput)(nil)).Elem(), GetDelegationControlsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionInput)(nil)).Elem(), GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayInput)(nil)).Elem(), GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemInput)(nil)).Elem(), GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayInput)(nil)).Elem(), GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationSubscriptionsFilterInput)(nil)).Elem(), GetDelegationSubscriptionsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDelegationSubscriptionsFilterArrayInput)(nil)).Elem(), GetDelegationSubscriptionsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProviderActionPropertyInput)(nil)).Elem(), GetServiceProviderActionPropertyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProviderActionPropertyArrayInput)(nil)).Elem(), GetServiceProviderActionPropertyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProviderActionsFilterInput)(nil)).Elem(), GetServiceProviderActionsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProviderActionsFilterArrayInput)(nil)).Elem(), GetServiceProviderActionsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollectionInput)(nil)).Elem(), GetServiceProviderActionsServiceProviderActionSummaryCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayInput)(nil)).Elem(), GetServiceProviderActionsServiceProviderActionSummaryCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollectionItemInput)(nil)).Elem(), GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayInput)(nil)).Elem(), GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyInput)(nil)).Elem(), GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayInput)(nil)).Elem(), GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProvidersFilterInput)(nil)).Elem(), GetServiceProvidersFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProvidersFilterArrayInput)(nil)).Elem(), GetServiceProvidersFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProvidersServiceProviderSummaryCollectionInput)(nil)).Elem(), GetServiceProvidersServiceProviderSummaryCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProvidersServiceProviderSummaryCollectionArrayInput)(nil)).Elem(), GetServiceProvidersServiceProviderSummaryCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProvidersServiceProviderSummaryCollectionItemInput)(nil)).Elem(), GetServiceProvidersServiceProviderSummaryCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetServiceProvidersServiceProviderSummaryCollectionItemArrayInput)(nil)).Elem(), GetServiceProvidersServiceProviderSummaryCollectionItemArray{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestApprovalInfoOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestApprovalInfoArrayOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestHistoriesFilterOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestHistoriesFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArrayOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestsFilterOutput{}) + pulumi.RegisterOutputType(GetDelegatedResourceAccessRequestsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDelegationControlResourcesDelegationControlResourceCollectionOutput{}) + pulumi.RegisterOutputType(GetDelegationControlResourcesDelegationControlResourceCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDelegationControlResourcesDelegationControlResourceCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDelegationControlResourcesDelegationControlResourceCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDelegationControlResourcesFilterOutput{}) + pulumi.RegisterOutputType(GetDelegationControlResourcesFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDelegationControlsDelegationControlSummaryCollectionOutput{}) + pulumi.RegisterOutputType(GetDelegationControlsDelegationControlSummaryCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDelegationControlsDelegationControlSummaryCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDelegationControlsDelegationControlSummaryCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDelegationControlsFilterOutput{}) + pulumi.RegisterOutputType(GetDelegationControlsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionOutput{}) + pulumi.RegisterOutputType(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDelegationSubscriptionsFilterOutput{}) + pulumi.RegisterOutputType(GetDelegationSubscriptionsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetServiceProviderActionPropertyOutput{}) + pulumi.RegisterOutputType(GetServiceProviderActionPropertyArrayOutput{}) + pulumi.RegisterOutputType(GetServiceProviderActionsFilterOutput{}) + pulumi.RegisterOutputType(GetServiceProviderActionsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetServiceProviderActionsServiceProviderActionSummaryCollectionOutput{}) + pulumi.RegisterOutputType(GetServiceProviderActionsServiceProviderActionSummaryCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemOutput{}) + pulumi.RegisterOutputType(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyOutput{}) + pulumi.RegisterOutputType(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArrayOutput{}) + pulumi.RegisterOutputType(GetServiceProvidersFilterOutput{}) + pulumi.RegisterOutputType(GetServiceProvidersFilterArrayOutput{}) + pulumi.RegisterOutputType(GetServiceProvidersServiceProviderSummaryCollectionOutput{}) + pulumi.RegisterOutputType(GetServiceProvidersServiceProviderSummaryCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetServiceProvidersServiceProviderSummaryCollectionItemOutput{}) + pulumi.RegisterOutputType(GetServiceProvidersServiceProviderSummaryCollectionItemArrayOutput{}) +} diff --git a/sdk/go/oci/desktops/desktopPool.go b/sdk/go/oci/desktops/desktopPool.go new file mode 100644 index 0000000000..f0f7be1e06 --- /dev/null +++ b/sdk/go/oci/desktops/desktopPool.go @@ -0,0 +1,695 @@ +// 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 desktops + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This resource provides the Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. +// +// Creates a desktop pool with the given configuration parameters. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Desktops.NewDesktopPool(ctx, "test_desktop_pool", &Desktops.DesktopPoolArgs{ +// ArePrivilegedUsers: pulumi.Any(desktopPoolArePrivilegedUsers), +// AvailabilityDomain: pulumi.Any(desktopPoolAvailabilityDomain), +// AvailabilityPolicy: &desktops.DesktopPoolAvailabilityPolicyArgs{ +// StartSchedule: &desktops.DesktopPoolAvailabilityPolicyStartScheduleArgs{ +// CronExpression: pulumi.String("0 10 8 ? * 2"), +// Timezone: pulumi.String("America/Denver"), +// }, +// StopSchedule: &desktops.DesktopPoolAvailabilityPolicyStopScheduleArgs{ +// CronExpression: pulumi.String("0 20 18 ? * 6"), +// Timezone: pulumi.String("America/Denver"), +// }, +// }, +// CompartmentId: pulumi.Any(compartmentId), +// ContactDetails: pulumi.Any(desktopPoolContactDetails), +// DevicePolicy: &desktops.DesktopPoolDevicePolicyArgs{ +// AudioMode: pulumi.Any(desktopPoolDevicePolicyAudioMode), +// CdmMode: pulumi.Any(desktopPoolDevicePolicyCdmMode), +// ClipboardMode: pulumi.Any(desktopPoolDevicePolicyClipboardMode), +// IsDisplayEnabled: pulumi.Any(desktopPoolDevicePolicyIsDisplayEnabled), +// IsKeyboardEnabled: pulumi.Any(desktopPoolDevicePolicyIsKeyboardEnabled), +// IsPointerEnabled: pulumi.Any(desktopPoolDevicePolicyIsPointerEnabled), +// IsPrintingEnabled: pulumi.Any(desktopPoolDevicePolicyIsPrintingEnabled), +// }, +// DisplayName: pulumi.Any(desktopPoolDisplayName), +// Image: &desktops.DesktopPoolImageArgs{ +// ImageId: pulumi.Any(testImage.Id), +// ImageName: pulumi.Any(desktopPoolImageImageName), +// }, +// IsStorageEnabled: pulumi.Any(desktopPoolIsStorageEnabled), +// MaximumSize: pulumi.Any(desktopPoolMaximumSize), +// NetworkConfiguration: &desktops.DesktopPoolNetworkConfigurationArgs{ +// SubnetId: pulumi.Any(testSubnet.Id), +// VcnId: pulumi.Any(testVcn.Id), +// }, +// ShapeName: pulumi.String("VM.Standard.E4.Flex"), +// StandbySize: pulumi.Any(desktopPoolStandbySize), +// StorageBackupPolicyId: pulumi.String("ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz"), +// StorageSizeInGbs: pulumi.Any(desktopPoolStorageSizeInGbs), +// DefinedTags: pulumi.StringMap{ +// "Operations.CostCenter": pulumi.String("42"), +// }, +// Description: pulumi.Any(desktopPoolDescription), +// FreeformTags: pulumi.StringMap{ +// "Department": pulumi.String("Finance"), +// }, +// NsgIds: pulumi.Any(desktopPoolNsgIds), +// TimeStartScheduled: pulumi.Any(desktopPoolTimeStartScheduled), +// TimeStopScheduled: pulumi.Any(desktopPoolTimeStopScheduled), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// DesktopPools can be imported using the `id`, e.g. +// +// ```sh +// $ pulumi import oci:Desktops/desktopPool:DesktopPool test_desktop_pool "id" +// ``` +type DesktopPool struct { + pulumi.CustomResourceState + + // The number of active desktops in the desktop pool. + ActiveDesktops pulumi.IntOutput `pulumi:"activeDesktops"` + // Indicates whether desktop pool users have administrative privileges on their desktop. + ArePrivilegedUsers pulumi.BoolOutput `pulumi:"arePrivilegedUsers"` + // The availability domain of the desktop pool. + AvailabilityDomain pulumi.StringOutput `pulumi:"availabilityDomain"` + // (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + AvailabilityPolicy DesktopPoolAvailabilityPolicyOutput `pulumi:"availabilityPolicy"` + // (Updatable) The OCID of the compartment which will contain the desktop pool. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + ContactDetails pulumi.StringOutput `pulumi:"contactDetails"` + // (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.StringMapOutput `pulumi:"definedTags"` + // (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + DevicePolicy DesktopPoolDevicePolicyOutput `pulumi:"devicePolicy"` + // (Updatable) A user friendly display name. Avoid entering confidential information. + 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.StringMapOutput `pulumi:"freeformTags"` + // Provides information about the desktop image. + Image DesktopPoolImageOutput `pulumi:"image"` + // Indicates whether storage is enabled for the desktop pool. + IsStorageEnabled pulumi.BoolOutput `pulumi:"isStorageEnabled"` + // (Updatable) The maximum number of desktops permitted in the desktop pool. + MaximumSize pulumi.IntOutput `pulumi:"maximumSize"` + // Provides information about the network configuration of the desktop pool. + NetworkConfiguration DesktopPoolNetworkConfigurationOutput `pulumi:"networkConfiguration"` + // A list of network security groups for the desktop pool. + NsgIds pulumi.StringArrayOutput `pulumi:"nsgIds"` + // The shape of the desktop pool. + ShapeName pulumi.StringOutput `pulumi:"shapeName"` + // (Updatable) The maximum number of standby desktops available in the desktop pool. + StandbySize pulumi.IntOutput `pulumi:"standbySize"` + // The current state of the desktop pool. + State pulumi.StringOutput `pulumi:"state"` + // The backup policy OCID of the storage. + StorageBackupPolicyId pulumi.StringOutput `pulumi:"storageBackupPolicyId"` + // The size in GBs of the storage for the desktop pool. + StorageSizeInGbs pulumi.IntOutput `pulumi:"storageSizeInGbs"` + // The date and time the resource was created. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // (Updatable) The start time of the desktop pool. + TimeStartScheduled pulumi.StringPtrOutput `pulumi:"timeStartScheduled"` + // (Updatable) The stop time of the desktop pool. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + TimeStopScheduled pulumi.StringPtrOutput `pulumi:"timeStopScheduled"` +} + +// NewDesktopPool registers a new resource with the given unique name, arguments, and options. +func NewDesktopPool(ctx *pulumi.Context, + name string, args *DesktopPoolArgs, opts ...pulumi.ResourceOption) (*DesktopPool, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.ArePrivilegedUsers == nil { + return nil, errors.New("invalid value for required argument 'ArePrivilegedUsers'") + } + if args.AvailabilityDomain == nil { + return nil, errors.New("invalid value for required argument 'AvailabilityDomain'") + } + if args.AvailabilityPolicy == nil { + return nil, errors.New("invalid value for required argument 'AvailabilityPolicy'") + } + if args.CompartmentId == nil { + return nil, errors.New("invalid value for required argument 'CompartmentId'") + } + if args.ContactDetails == nil { + return nil, errors.New("invalid value for required argument 'ContactDetails'") + } + if args.DevicePolicy == nil { + return nil, errors.New("invalid value for required argument 'DevicePolicy'") + } + if args.DisplayName == nil { + return nil, errors.New("invalid value for required argument 'DisplayName'") + } + if args.Image == nil { + return nil, errors.New("invalid value for required argument 'Image'") + } + if args.IsStorageEnabled == nil { + return nil, errors.New("invalid value for required argument 'IsStorageEnabled'") + } + if args.MaximumSize == nil { + return nil, errors.New("invalid value for required argument 'MaximumSize'") + } + if args.NetworkConfiguration == nil { + return nil, errors.New("invalid value for required argument 'NetworkConfiguration'") + } + if args.ShapeName == nil { + return nil, errors.New("invalid value for required argument 'ShapeName'") + } + if args.StandbySize == nil { + return nil, errors.New("invalid value for required argument 'StandbySize'") + } + if args.StorageBackupPolicyId == nil { + return nil, errors.New("invalid value for required argument 'StorageBackupPolicyId'") + } + if args.StorageSizeInGbs == nil { + return nil, errors.New("invalid value for required argument 'StorageSizeInGbs'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource DesktopPool + err := ctx.RegisterResource("oci:Desktops/desktopPool:DesktopPool", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetDesktopPool gets an existing DesktopPool 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 GetDesktopPool(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *DesktopPoolState, opts ...pulumi.ResourceOption) (*DesktopPool, error) { + var resource DesktopPool + err := ctx.ReadResource("oci:Desktops/desktopPool:DesktopPool", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering DesktopPool resources. +type desktopPoolState struct { + // The number of active desktops in the desktop pool. + ActiveDesktops *int `pulumi:"activeDesktops"` + // Indicates whether desktop pool users have administrative privileges on their desktop. + ArePrivilegedUsers *bool `pulumi:"arePrivilegedUsers"` + // The availability domain of the desktop pool. + AvailabilityDomain *string `pulumi:"availabilityDomain"` + // (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + AvailabilityPolicy *DesktopPoolAvailabilityPolicy `pulumi:"availabilityPolicy"` + // (Updatable) The OCID of the compartment which will contain the desktop pool. + CompartmentId *string `pulumi:"compartmentId"` + // (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + ContactDetails *string `pulumi:"contactDetails"` + // (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]string `pulumi:"definedTags"` + // (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + Description *string `pulumi:"description"` + // (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + DevicePolicy *DesktopPoolDevicePolicy `pulumi:"devicePolicy"` + // (Updatable) A user friendly display name. 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. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags map[string]string `pulumi:"freeformTags"` + // Provides information about the desktop image. + Image *DesktopPoolImage `pulumi:"image"` + // Indicates whether storage is enabled for the desktop pool. + IsStorageEnabled *bool `pulumi:"isStorageEnabled"` + // (Updatable) The maximum number of desktops permitted in the desktop pool. + MaximumSize *int `pulumi:"maximumSize"` + // Provides information about the network configuration of the desktop pool. + NetworkConfiguration *DesktopPoolNetworkConfiguration `pulumi:"networkConfiguration"` + // A list of network security groups for the desktop pool. + NsgIds []string `pulumi:"nsgIds"` + // The shape of the desktop pool. + ShapeName *string `pulumi:"shapeName"` + // (Updatable) The maximum number of standby desktops available in the desktop pool. + StandbySize *int `pulumi:"standbySize"` + // The current state of the desktop pool. + State *string `pulumi:"state"` + // The backup policy OCID of the storage. + StorageBackupPolicyId *string `pulumi:"storageBackupPolicyId"` + // The size in GBs of the storage for the desktop pool. + StorageSizeInGbs *int `pulumi:"storageSizeInGbs"` + // The date and time the resource was created. + TimeCreated *string `pulumi:"timeCreated"` + // (Updatable) The start time of the desktop pool. + TimeStartScheduled *string `pulumi:"timeStartScheduled"` + // (Updatable) The stop time of the desktop pool. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + TimeStopScheduled *string `pulumi:"timeStopScheduled"` +} + +type DesktopPoolState struct { + // The number of active desktops in the desktop pool. + ActiveDesktops pulumi.IntPtrInput + // Indicates whether desktop pool users have administrative privileges on their desktop. + ArePrivilegedUsers pulumi.BoolPtrInput + // The availability domain of the desktop pool. + AvailabilityDomain pulumi.StringPtrInput + // (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + AvailabilityPolicy DesktopPoolAvailabilityPolicyPtrInput + // (Updatable) The OCID of the compartment which will contain the desktop pool. + CompartmentId pulumi.StringPtrInput + // (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + ContactDetails pulumi.StringPtrInput + // (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.StringMapInput + // (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + Description pulumi.StringPtrInput + // (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + DevicePolicy DesktopPoolDevicePolicyPtrInput + // (Updatable) A user friendly display name. 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.StringMapInput + // Provides information about the desktop image. + Image DesktopPoolImagePtrInput + // Indicates whether storage is enabled for the desktop pool. + IsStorageEnabled pulumi.BoolPtrInput + // (Updatable) The maximum number of desktops permitted in the desktop pool. + MaximumSize pulumi.IntPtrInput + // Provides information about the network configuration of the desktop pool. + NetworkConfiguration DesktopPoolNetworkConfigurationPtrInput + // A list of network security groups for the desktop pool. + NsgIds pulumi.StringArrayInput + // The shape of the desktop pool. + ShapeName pulumi.StringPtrInput + // (Updatable) The maximum number of standby desktops available in the desktop pool. + StandbySize pulumi.IntPtrInput + // The current state of the desktop pool. + State pulumi.StringPtrInput + // The backup policy OCID of the storage. + StorageBackupPolicyId pulumi.StringPtrInput + // The size in GBs of the storage for the desktop pool. + StorageSizeInGbs pulumi.IntPtrInput + // The date and time the resource was created. + TimeCreated pulumi.StringPtrInput + // (Updatable) The start time of the desktop pool. + TimeStartScheduled pulumi.StringPtrInput + // (Updatable) The stop time of the desktop pool. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + TimeStopScheduled pulumi.StringPtrInput +} + +func (DesktopPoolState) ElementType() reflect.Type { + return reflect.TypeOf((*desktopPoolState)(nil)).Elem() +} + +type desktopPoolArgs struct { + // Indicates whether desktop pool users have administrative privileges on their desktop. + ArePrivilegedUsers bool `pulumi:"arePrivilegedUsers"` + // The availability domain of the desktop pool. + AvailabilityDomain string `pulumi:"availabilityDomain"` + // (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + AvailabilityPolicy DesktopPoolAvailabilityPolicy `pulumi:"availabilityPolicy"` + // (Updatable) The OCID of the compartment which will contain the desktop pool. + CompartmentId string `pulumi:"compartmentId"` + // (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + ContactDetails string `pulumi:"contactDetails"` + // (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]string `pulumi:"definedTags"` + // (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + Description *string `pulumi:"description"` + // (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + DevicePolicy DesktopPoolDevicePolicy `pulumi:"devicePolicy"` + // (Updatable) A user friendly display name. 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. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags map[string]string `pulumi:"freeformTags"` + // Provides information about the desktop image. + Image DesktopPoolImage `pulumi:"image"` + // Indicates whether storage is enabled for the desktop pool. + IsStorageEnabled bool `pulumi:"isStorageEnabled"` + // (Updatable) The maximum number of desktops permitted in the desktop pool. + MaximumSize int `pulumi:"maximumSize"` + // Provides information about the network configuration of the desktop pool. + NetworkConfiguration DesktopPoolNetworkConfiguration `pulumi:"networkConfiguration"` + // A list of network security groups for the desktop pool. + NsgIds []string `pulumi:"nsgIds"` + // The shape of the desktop pool. + ShapeName string `pulumi:"shapeName"` + // (Updatable) The maximum number of standby desktops available in the desktop pool. + StandbySize int `pulumi:"standbySize"` + // The backup policy OCID of the storage. + StorageBackupPolicyId string `pulumi:"storageBackupPolicyId"` + // The size in GBs of the storage for the desktop pool. + StorageSizeInGbs int `pulumi:"storageSizeInGbs"` + // (Updatable) The start time of the desktop pool. + TimeStartScheduled *string `pulumi:"timeStartScheduled"` + // (Updatable) The stop time of the desktop pool. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + TimeStopScheduled *string `pulumi:"timeStopScheduled"` +} + +// The set of arguments for constructing a DesktopPool resource. +type DesktopPoolArgs struct { + // Indicates whether desktop pool users have administrative privileges on their desktop. + ArePrivilegedUsers pulumi.BoolInput + // The availability domain of the desktop pool. + AvailabilityDomain pulumi.StringInput + // (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + AvailabilityPolicy DesktopPoolAvailabilityPolicyInput + // (Updatable) The OCID of the compartment which will contain the desktop pool. + CompartmentId pulumi.StringInput + // (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + ContactDetails pulumi.StringInput + // (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.StringMapInput + // (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + Description pulumi.StringPtrInput + // (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + DevicePolicy DesktopPoolDevicePolicyInput + // (Updatable) A user friendly display name. Avoid entering confidential information. + DisplayName pulumi.StringInput + // (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.StringMapInput + // Provides information about the desktop image. + Image DesktopPoolImageInput + // Indicates whether storage is enabled for the desktop pool. + IsStorageEnabled pulumi.BoolInput + // (Updatable) The maximum number of desktops permitted in the desktop pool. + MaximumSize pulumi.IntInput + // Provides information about the network configuration of the desktop pool. + NetworkConfiguration DesktopPoolNetworkConfigurationInput + // A list of network security groups for the desktop pool. + NsgIds pulumi.StringArrayInput + // The shape of the desktop pool. + ShapeName pulumi.StringInput + // (Updatable) The maximum number of standby desktops available in the desktop pool. + StandbySize pulumi.IntInput + // The backup policy OCID of the storage. + StorageBackupPolicyId pulumi.StringInput + // The size in GBs of the storage for the desktop pool. + StorageSizeInGbs pulumi.IntInput + // (Updatable) The start time of the desktop pool. + TimeStartScheduled pulumi.StringPtrInput + // (Updatable) The stop time of the desktop pool. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + TimeStopScheduled pulumi.StringPtrInput +} + +func (DesktopPoolArgs) ElementType() reflect.Type { + return reflect.TypeOf((*desktopPoolArgs)(nil)).Elem() +} + +type DesktopPoolInput interface { + pulumi.Input + + ToDesktopPoolOutput() DesktopPoolOutput + ToDesktopPoolOutputWithContext(ctx context.Context) DesktopPoolOutput +} + +func (*DesktopPool) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPool)(nil)).Elem() +} + +func (i *DesktopPool) ToDesktopPoolOutput() DesktopPoolOutput { + return i.ToDesktopPoolOutputWithContext(context.Background()) +} + +func (i *DesktopPool) ToDesktopPoolOutputWithContext(ctx context.Context) DesktopPoolOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolOutput) +} + +// DesktopPoolArrayInput is an input type that accepts DesktopPoolArray and DesktopPoolArrayOutput values. +// You can construct a concrete instance of `DesktopPoolArrayInput` via: +// +// DesktopPoolArray{ DesktopPoolArgs{...} } +type DesktopPoolArrayInput interface { + pulumi.Input + + ToDesktopPoolArrayOutput() DesktopPoolArrayOutput + ToDesktopPoolArrayOutputWithContext(context.Context) DesktopPoolArrayOutput +} + +type DesktopPoolArray []DesktopPoolInput + +func (DesktopPoolArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DesktopPool)(nil)).Elem() +} + +func (i DesktopPoolArray) ToDesktopPoolArrayOutput() DesktopPoolArrayOutput { + return i.ToDesktopPoolArrayOutputWithContext(context.Background()) +} + +func (i DesktopPoolArray) ToDesktopPoolArrayOutputWithContext(ctx context.Context) DesktopPoolArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolArrayOutput) +} + +// DesktopPoolMapInput is an input type that accepts DesktopPoolMap and DesktopPoolMapOutput values. +// You can construct a concrete instance of `DesktopPoolMapInput` via: +// +// DesktopPoolMap{ "key": DesktopPoolArgs{...} } +type DesktopPoolMapInput interface { + pulumi.Input + + ToDesktopPoolMapOutput() DesktopPoolMapOutput + ToDesktopPoolMapOutputWithContext(context.Context) DesktopPoolMapOutput +} + +type DesktopPoolMap map[string]DesktopPoolInput + +func (DesktopPoolMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DesktopPool)(nil)).Elem() +} + +func (i DesktopPoolMap) ToDesktopPoolMapOutput() DesktopPoolMapOutput { + return i.ToDesktopPoolMapOutputWithContext(context.Background()) +} + +func (i DesktopPoolMap) ToDesktopPoolMapOutputWithContext(ctx context.Context) DesktopPoolMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolMapOutput) +} + +type DesktopPoolOutput struct{ *pulumi.OutputState } + +func (DesktopPoolOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPool)(nil)).Elem() +} + +func (o DesktopPoolOutput) ToDesktopPoolOutput() DesktopPoolOutput { + return o +} + +func (o DesktopPoolOutput) ToDesktopPoolOutputWithContext(ctx context.Context) DesktopPoolOutput { + return o +} + +// The number of active desktops in the desktop pool. +func (o DesktopPoolOutput) ActiveDesktops() pulumi.IntOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.IntOutput { return v.ActiveDesktops }).(pulumi.IntOutput) +} + +// Indicates whether desktop pool users have administrative privileges on their desktop. +func (o DesktopPoolOutput) ArePrivilegedUsers() pulumi.BoolOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.BoolOutput { return v.ArePrivilegedUsers }).(pulumi.BoolOutput) +} + +// The availability domain of the desktop pool. +func (o DesktopPoolOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringOutput { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + +// (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. +func (o DesktopPoolOutput) AvailabilityPolicy() DesktopPoolAvailabilityPolicyOutput { + return o.ApplyT(func(v *DesktopPool) DesktopPoolAvailabilityPolicyOutput { return v.AvailabilityPolicy }).(DesktopPoolAvailabilityPolicyOutput) +} + +// (Updatable) The OCID of the compartment which will contain the desktop pool. +func (o DesktopPoolOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. +func (o DesktopPoolOutput) ContactDetails() pulumi.StringOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringOutput { return v.ContactDetails }).(pulumi.StringOutput) +} + +// (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"}` +func (o DesktopPoolOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. +func (o DesktopPoolOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. +func (o DesktopPoolOutput) DevicePolicy() DesktopPoolDevicePolicyOutput { + return o.ApplyT(func(v *DesktopPool) DesktopPoolDevicePolicyOutput { return v.DevicePolicy }).(DesktopPoolDevicePolicyOutput) +} + +// (Updatable) A user friendly display name. Avoid entering confidential information. +func (o DesktopPoolOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// (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 DesktopPoolOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// Provides information about the desktop image. +func (o DesktopPoolOutput) Image() DesktopPoolImageOutput { + return o.ApplyT(func(v *DesktopPool) DesktopPoolImageOutput { return v.Image }).(DesktopPoolImageOutput) +} + +// Indicates whether storage is enabled for the desktop pool. +func (o DesktopPoolOutput) IsStorageEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.BoolOutput { return v.IsStorageEnabled }).(pulumi.BoolOutput) +} + +// (Updatable) The maximum number of desktops permitted in the desktop pool. +func (o DesktopPoolOutput) MaximumSize() pulumi.IntOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.IntOutput { return v.MaximumSize }).(pulumi.IntOutput) +} + +// Provides information about the network configuration of the desktop pool. +func (o DesktopPoolOutput) NetworkConfiguration() DesktopPoolNetworkConfigurationOutput { + return o.ApplyT(func(v *DesktopPool) DesktopPoolNetworkConfigurationOutput { return v.NetworkConfiguration }).(DesktopPoolNetworkConfigurationOutput) +} + +// A list of network security groups for the desktop pool. +func (o DesktopPoolOutput) NsgIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringArrayOutput { return v.NsgIds }).(pulumi.StringArrayOutput) +} + +// The shape of the desktop pool. +func (o DesktopPoolOutput) ShapeName() pulumi.StringOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringOutput { return v.ShapeName }).(pulumi.StringOutput) +} + +// (Updatable) The maximum number of standby desktops available in the desktop pool. +func (o DesktopPoolOutput) StandbySize() pulumi.IntOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.IntOutput { return v.StandbySize }).(pulumi.IntOutput) +} + +// The current state of the desktop pool. +func (o DesktopPoolOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// The backup policy OCID of the storage. +func (o DesktopPoolOutput) StorageBackupPolicyId() pulumi.StringOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringOutput { return v.StorageBackupPolicyId }).(pulumi.StringOutput) +} + +// The size in GBs of the storage for the desktop pool. +func (o DesktopPoolOutput) StorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.IntOutput { return v.StorageSizeInGbs }).(pulumi.IntOutput) +} + +// The date and time the resource was created. +func (o DesktopPoolOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// (Updatable) The start time of the desktop pool. +func (o DesktopPoolOutput) TimeStartScheduled() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringPtrOutput { return v.TimeStartScheduled }).(pulumi.StringPtrOutput) +} + +// (Updatable) The stop time of the desktop pool. +// +// ** IMPORTANT ** +// 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 DesktopPoolOutput) TimeStopScheduled() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPool) pulumi.StringPtrOutput { return v.TimeStopScheduled }).(pulumi.StringPtrOutput) +} + +type DesktopPoolArrayOutput struct{ *pulumi.OutputState } + +func (DesktopPoolArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*DesktopPool)(nil)).Elem() +} + +func (o DesktopPoolArrayOutput) ToDesktopPoolArrayOutput() DesktopPoolArrayOutput { + return o +} + +func (o DesktopPoolArrayOutput) ToDesktopPoolArrayOutputWithContext(ctx context.Context) DesktopPoolArrayOutput { + return o +} + +func (o DesktopPoolArrayOutput) Index(i pulumi.IntInput) DesktopPoolOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *DesktopPool { + return vs[0].([]*DesktopPool)[vs[1].(int)] + }).(DesktopPoolOutput) +} + +type DesktopPoolMapOutput struct{ *pulumi.OutputState } + +func (DesktopPoolMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*DesktopPool)(nil)).Elem() +} + +func (o DesktopPoolMapOutput) ToDesktopPoolMapOutput() DesktopPoolMapOutput { + return o +} + +func (o DesktopPoolMapOutput) ToDesktopPoolMapOutputWithContext(ctx context.Context) DesktopPoolMapOutput { + return o +} + +func (o DesktopPoolMapOutput) MapIndex(k pulumi.StringInput) DesktopPoolOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *DesktopPool { + return vs[0].(map[string]*DesktopPool)[vs[1].(string)] + }).(DesktopPoolOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolInput)(nil)).Elem(), &DesktopPool{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolArrayInput)(nil)).Elem(), DesktopPoolArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolMapInput)(nil)).Elem(), DesktopPoolMap{}) + pulumi.RegisterOutputType(DesktopPoolOutput{}) + pulumi.RegisterOutputType(DesktopPoolArrayOutput{}) + pulumi.RegisterOutputType(DesktopPoolMapOutput{}) +} diff --git a/sdk/go/oci/desktops/getDesktop.go b/sdk/go/oci/desktops/getDesktop.go new file mode 100644 index 0000000000..c25e833270 --- /dev/null +++ b/sdk/go/oci/desktops/getDesktop.go @@ -0,0 +1,178 @@ +// 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 desktops + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service. +// +// Provides information about the desktop with the specified OCID. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Desktops.GetDesktop(ctx, &desktops.GetDesktopArgs{ +// DesktopId: testDesktopOciDesktopsDesktop.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDesktop(ctx *pulumi.Context, args *GetDesktopArgs, opts ...pulumi.InvokeOption) (*GetDesktopResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDesktopResult + err := ctx.Invoke("oci:Desktops/getDesktop:getDesktop", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDesktop. +type GetDesktopArgs struct { + // The OCID of the desktop. + DesktopId string `pulumi:"desktopId"` +} + +// A collection of values returned by getDesktop. +type GetDesktopResult struct { + // 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]string `pulumi:"definedTags"` + DesktopId string `pulumi:"desktopId"` + // Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + DevicePolicies []GetDesktopDevicePolicy `pulumi:"devicePolicies"` + // A user friendly display name. 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]string `pulumi:"freeformTags"` + // Provides information about where a desktop is hosted. + HostingOptions []GetDesktopHostingOption `pulumi:"hostingOptions"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The OCID of the desktop pool the desktop is a member of. + PoolId string `pulumi:"poolId"` + // The state of the desktop. + State string `pulumi:"state"` + // The date and time the resource was created. + TimeCreated string `pulumi:"timeCreated"` + // The owner of the desktop. + UserName string `pulumi:"userName"` +} + +func GetDesktopOutput(ctx *pulumi.Context, args GetDesktopOutputArgs, opts ...pulumi.InvokeOption) GetDesktopResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDesktopResult, error) { + args := v.(GetDesktopArgs) + r, err := GetDesktop(ctx, &args, opts...) + var s GetDesktopResult + if r != nil { + s = *r + } + return s, err + }).(GetDesktopResultOutput) +} + +// A collection of arguments for invoking getDesktop. +type GetDesktopOutputArgs struct { + // The OCID of the desktop. + DesktopId pulumi.StringInput `pulumi:"desktopId"` +} + +func (GetDesktopOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopArgs)(nil)).Elem() +} + +// A collection of values returned by getDesktop. +type GetDesktopResultOutput struct{ *pulumi.OutputState } + +func (GetDesktopResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopResult)(nil)).Elem() +} + +func (o GetDesktopResultOutput) ToGetDesktopResultOutput() GetDesktopResultOutput { + return o +} + +func (o GetDesktopResultOutput) ToGetDesktopResultOutputWithContext(ctx context.Context) GetDesktopResultOutput { + return o +} + +// 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 GetDesktopResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDesktopResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +func (o GetDesktopResultOutput) DesktopId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopResult) string { return v.DesktopId }).(pulumi.StringOutput) +} + +// Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. +func (o GetDesktopResultOutput) DevicePolicies() GetDesktopDevicePolicyArrayOutput { + return o.ApplyT(func(v GetDesktopResult) []GetDesktopDevicePolicy { return v.DevicePolicies }).(GetDesktopDevicePolicyArrayOutput) +} + +// A user friendly display name. Avoid entering confidential information. +func (o GetDesktopResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopResult) string { return v.DisplayName }).(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 GetDesktopResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDesktopResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// Provides information about where a desktop is hosted. +func (o GetDesktopResultOutput) HostingOptions() GetDesktopHostingOptionArrayOutput { + return o.ApplyT(func(v GetDesktopResult) []GetDesktopHostingOption { return v.HostingOptions }).(GetDesktopHostingOptionArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetDesktopResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The OCID of the desktop pool the desktop is a member of. +func (o GetDesktopResultOutput) PoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopResult) string { return v.PoolId }).(pulumi.StringOutput) +} + +// The state of the desktop. +func (o GetDesktopResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopResult) string { return v.State }).(pulumi.StringOutput) +} + +// The date and time the resource was created. +func (o GetDesktopResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The owner of the desktop. +func (o GetDesktopResultOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopResult) string { return v.UserName }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDesktopResultOutput{}) +} diff --git a/sdk/go/oci/desktops/getDesktopPool.go b/sdk/go/oci/desktops/getDesktopPool.go new file mode 100644 index 0000000000..082a7f5e52 --- /dev/null +++ b/sdk/go/oci/desktops/getDesktopPool.go @@ -0,0 +1,283 @@ +// 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 desktops + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. +// +// Returns information about the desktop pool including all configuration parameters and the current state. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Desktops.GetDesktopPool(ctx, &desktops.GetDesktopPoolArgs{ +// DesktopPoolId: testDesktopPoolOciDesktopsDesktopPool.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupDesktopPool(ctx *pulumi.Context, args *LookupDesktopPoolArgs, opts ...pulumi.InvokeOption) (*LookupDesktopPoolResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupDesktopPoolResult + err := ctx.Invoke("oci:Desktops/getDesktopPool:getDesktopPool", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDesktopPool. +type LookupDesktopPoolArgs struct { + // The OCID of the desktop pool. + DesktopPoolId string `pulumi:"desktopPoolId"` +} + +// A collection of values returned by getDesktopPool. +type LookupDesktopPoolResult struct { + // The number of active desktops in the desktop pool. + ActiveDesktops int `pulumi:"activeDesktops"` + // Indicates whether desktop pool users have administrative privileges on their desktop. + ArePrivilegedUsers bool `pulumi:"arePrivilegedUsers"` + // The availability domain of the desktop pool. + AvailabilityDomain string `pulumi:"availabilityDomain"` + // Provides the start and stop schedule information for desktop availability of the desktop pool. + AvailabilityPolicies []GetDesktopPoolAvailabilityPolicy `pulumi:"availabilityPolicies"` + // The OCID of the compartment of the desktop pool. + CompartmentId string `pulumi:"compartmentId"` + // Contact information of the desktop pool administrator. Avoid entering confidential information. + ContactDetails string `pulumi:"contactDetails"` + // 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]string `pulumi:"definedTags"` + // A user friendly description providing additional information about the resource. Avoid entering confidential information. + Description string `pulumi:"description"` + DesktopPoolId string `pulumi:"desktopPoolId"` + // Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + DevicePolicies []GetDesktopPoolDevicePolicy `pulumi:"devicePolicies"` + // A user friendly display name. 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]string `pulumi:"freeformTags"` + // The OCID of the desktop pool. + Id string `pulumi:"id"` + // Provides information about the desktop image. + Images []GetDesktopPoolImage `pulumi:"images"` + // Indicates whether storage is enabled for the desktop pool. + IsStorageEnabled bool `pulumi:"isStorageEnabled"` + // The maximum number of desktops permitted in the desktop pool. + MaximumSize int `pulumi:"maximumSize"` + // Provides information about the network configuration of the desktop pool. + NetworkConfigurations []GetDesktopPoolNetworkConfiguration `pulumi:"networkConfigurations"` + // A list of network security groups for the desktop pool. + NsgIds []string `pulumi:"nsgIds"` + // The shape of the desktop pool. + ShapeName string `pulumi:"shapeName"` + // The maximum number of standby desktops available in the desktop pool. + StandbySize int `pulumi:"standbySize"` + // The current state of the desktop pool. + State string `pulumi:"state"` + // The backup policy OCID of the storage. + StorageBackupPolicyId string `pulumi:"storageBackupPolicyId"` + // The size in GBs of the storage for the desktop pool. + StorageSizeInGbs int `pulumi:"storageSizeInGbs"` + // The date and time the resource was created. + TimeCreated string `pulumi:"timeCreated"` + // The start time of the desktop pool. + TimeStartScheduled string `pulumi:"timeStartScheduled"` + // The stop time of the desktop pool. + TimeStopScheduled string `pulumi:"timeStopScheduled"` +} + +func LookupDesktopPoolOutput(ctx *pulumi.Context, args LookupDesktopPoolOutputArgs, opts ...pulumi.InvokeOption) LookupDesktopPoolResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupDesktopPoolResult, error) { + args := v.(LookupDesktopPoolArgs) + r, err := LookupDesktopPool(ctx, &args, opts...) + var s LookupDesktopPoolResult + if r != nil { + s = *r + } + return s, err + }).(LookupDesktopPoolResultOutput) +} + +// A collection of arguments for invoking getDesktopPool. +type LookupDesktopPoolOutputArgs struct { + // The OCID of the desktop pool. + DesktopPoolId pulumi.StringInput `pulumi:"desktopPoolId"` +} + +func (LookupDesktopPoolOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDesktopPoolArgs)(nil)).Elem() +} + +// A collection of values returned by getDesktopPool. +type LookupDesktopPoolResultOutput struct{ *pulumi.OutputState } + +func (LookupDesktopPoolResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupDesktopPoolResult)(nil)).Elem() +} + +func (o LookupDesktopPoolResultOutput) ToLookupDesktopPoolResultOutput() LookupDesktopPoolResultOutput { + return o +} + +func (o LookupDesktopPoolResultOutput) ToLookupDesktopPoolResultOutputWithContext(ctx context.Context) LookupDesktopPoolResultOutput { + return o +} + +// The number of active desktops in the desktop pool. +func (o LookupDesktopPoolResultOutput) ActiveDesktops() pulumi.IntOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) int { return v.ActiveDesktops }).(pulumi.IntOutput) +} + +// Indicates whether desktop pool users have administrative privileges on their desktop. +func (o LookupDesktopPoolResultOutput) ArePrivilegedUsers() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) bool { return v.ArePrivilegedUsers }).(pulumi.BoolOutput) +} + +// The availability domain of the desktop pool. +func (o LookupDesktopPoolResultOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + +// Provides the start and stop schedule information for desktop availability of the desktop pool. +func (o LookupDesktopPoolResultOutput) AvailabilityPolicies() GetDesktopPoolAvailabilityPolicyArrayOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) []GetDesktopPoolAvailabilityPolicy { return v.AvailabilityPolicies }).(GetDesktopPoolAvailabilityPolicyArrayOutput) +} + +// The OCID of the compartment of the desktop pool. +func (o LookupDesktopPoolResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Contact information of the desktop pool administrator. Avoid entering confidential information. +func (o LookupDesktopPoolResultOutput) ContactDetails() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.ContactDetails }).(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 LookupDesktopPoolResultOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// A user friendly description providing additional information about the resource. Avoid entering confidential information. +func (o LookupDesktopPoolResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.Description }).(pulumi.StringOutput) +} + +func (o LookupDesktopPoolResultOutput) DesktopPoolId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.DesktopPoolId }).(pulumi.StringOutput) +} + +// Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. +func (o LookupDesktopPoolResultOutput) DevicePolicies() GetDesktopPoolDevicePolicyArrayOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) []GetDesktopPoolDevicePolicy { return v.DevicePolicies }).(GetDesktopPoolDevicePolicyArrayOutput) +} + +// A user friendly display name. Avoid entering confidential information. +func (o LookupDesktopPoolResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.DisplayName }).(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 LookupDesktopPoolResultOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// The OCID of the desktop pool. +func (o LookupDesktopPoolResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Provides information about the desktop image. +func (o LookupDesktopPoolResultOutput) Images() GetDesktopPoolImageArrayOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) []GetDesktopPoolImage { return v.Images }).(GetDesktopPoolImageArrayOutput) +} + +// Indicates whether storage is enabled for the desktop pool. +func (o LookupDesktopPoolResultOutput) IsStorageEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) bool { return v.IsStorageEnabled }).(pulumi.BoolOutput) +} + +// The maximum number of desktops permitted in the desktop pool. +func (o LookupDesktopPoolResultOutput) MaximumSize() pulumi.IntOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) int { return v.MaximumSize }).(pulumi.IntOutput) +} + +// Provides information about the network configuration of the desktop pool. +func (o LookupDesktopPoolResultOutput) NetworkConfigurations() GetDesktopPoolNetworkConfigurationArrayOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) []GetDesktopPoolNetworkConfiguration { return v.NetworkConfigurations }).(GetDesktopPoolNetworkConfigurationArrayOutput) +} + +// A list of network security groups for the desktop pool. +func (o LookupDesktopPoolResultOutput) NsgIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) []string { return v.NsgIds }).(pulumi.StringArrayOutput) +} + +// The shape of the desktop pool. +func (o LookupDesktopPoolResultOutput) ShapeName() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.ShapeName }).(pulumi.StringOutput) +} + +// The maximum number of standby desktops available in the desktop pool. +func (o LookupDesktopPoolResultOutput) StandbySize() pulumi.IntOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) int { return v.StandbySize }).(pulumi.IntOutput) +} + +// The current state of the desktop pool. +func (o LookupDesktopPoolResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.State }).(pulumi.StringOutput) +} + +// The backup policy OCID of the storage. +func (o LookupDesktopPoolResultOutput) StorageBackupPolicyId() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.StorageBackupPolicyId }).(pulumi.StringOutput) +} + +// The size in GBs of the storage for the desktop pool. +func (o LookupDesktopPoolResultOutput) StorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) int { return v.StorageSizeInGbs }).(pulumi.IntOutput) +} + +// The date and time the resource was created. +func (o LookupDesktopPoolResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The start time of the desktop pool. +func (o LookupDesktopPoolResultOutput) TimeStartScheduled() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.TimeStartScheduled }).(pulumi.StringOutput) +} + +// The stop time of the desktop pool. +func (o LookupDesktopPoolResultOutput) TimeStopScheduled() pulumi.StringOutput { + return o.ApplyT(func(v LookupDesktopPoolResult) string { return v.TimeStopScheduled }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupDesktopPoolResultOutput{}) +} diff --git a/sdk/go/oci/desktops/getDesktopPoolDesktops.go b/sdk/go/oci/desktops/getDesktopPoolDesktops.go new file mode 100644 index 0000000000..dca5470952 --- /dev/null +++ b/sdk/go/oci/desktops/getDesktopPoolDesktops.go @@ -0,0 +1,176 @@ +// 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 desktops + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. +// +// Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Desktops.GetDesktopPoolDesktops(ctx, &desktops.GetDesktopPoolDesktopsArgs{ +// CompartmentId: compartmentId, +// DesktopPoolId: testDesktopPool.Id, +// AvailabilityDomain: pulumi.StringRef(desktopPoolDesktopAvailabilityDomain), +// DisplayName: pulumi.StringRef(desktopPoolDesktopDisplayName), +// Id: pulumi.StringRef(desktopPoolDesktopId), +// State: pulumi.StringRef(desktopPoolDesktopState), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDesktopPoolDesktops(ctx *pulumi.Context, args *GetDesktopPoolDesktopsArgs, opts ...pulumi.InvokeOption) (*GetDesktopPoolDesktopsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDesktopPoolDesktopsResult + err := ctx.Invoke("oci:Desktops/getDesktopPoolDesktops:getDesktopPoolDesktops", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDesktopPoolDesktops. +type GetDesktopPoolDesktopsArgs struct { + // The name of the availability domain. + AvailabilityDomain *string `pulumi:"availabilityDomain"` + // The OCID of the compartment of the desktop pool. + CompartmentId string `pulumi:"compartmentId"` + // The OCID of the desktop pool. + DesktopPoolId string `pulumi:"desktopPoolId"` + // A filter to return only results with the given displayName. + DisplayName *string `pulumi:"displayName"` + Filters []GetDesktopPoolDesktopsFilter `pulumi:"filters"` + // A filter to return only results with the given OCID. + Id *string `pulumi:"id"` + // A filter to return only results with the given lifecycleState. + State *string `pulumi:"state"` +} + +// A collection of values returned by getDesktopPoolDesktops. +type GetDesktopPoolDesktopsResult struct { + AvailabilityDomain *string `pulumi:"availabilityDomain"` + CompartmentId string `pulumi:"compartmentId"` + // The list of desktop_pool_desktop_collection. + DesktopPoolDesktopCollections []GetDesktopPoolDesktopsDesktopPoolDesktopCollection `pulumi:"desktopPoolDesktopCollections"` + DesktopPoolId string `pulumi:"desktopPoolId"` + DisplayName *string `pulumi:"displayName"` + Filters []GetDesktopPoolDesktopsFilter `pulumi:"filters"` + Id *string `pulumi:"id"` + // The state of the desktop. + State *string `pulumi:"state"` +} + +func GetDesktopPoolDesktopsOutput(ctx *pulumi.Context, args GetDesktopPoolDesktopsOutputArgs, opts ...pulumi.InvokeOption) GetDesktopPoolDesktopsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDesktopPoolDesktopsResult, error) { + args := v.(GetDesktopPoolDesktopsArgs) + r, err := GetDesktopPoolDesktops(ctx, &args, opts...) + var s GetDesktopPoolDesktopsResult + if r != nil { + s = *r + } + return s, err + }).(GetDesktopPoolDesktopsResultOutput) +} + +// A collection of arguments for invoking getDesktopPoolDesktops. +type GetDesktopPoolDesktopsOutputArgs struct { + // The name of the availability domain. + AvailabilityDomain pulumi.StringPtrInput `pulumi:"availabilityDomain"` + // The OCID of the compartment of the desktop pool. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The OCID of the desktop pool. + DesktopPoolId pulumi.StringInput `pulumi:"desktopPoolId"` + // A filter to return only results with the given displayName. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Filters GetDesktopPoolDesktopsFilterArrayInput `pulumi:"filters"` + // A filter to return only results with the given OCID. + Id pulumi.StringPtrInput `pulumi:"id"` + // A filter to return only results with the given lifecycleState. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetDesktopPoolDesktopsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolDesktopsArgs)(nil)).Elem() +} + +// A collection of values returned by getDesktopPoolDesktops. +type GetDesktopPoolDesktopsResultOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolDesktopsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolDesktopsResult)(nil)).Elem() +} + +func (o GetDesktopPoolDesktopsResultOutput) ToGetDesktopPoolDesktopsResultOutput() GetDesktopPoolDesktopsResultOutput { + return o +} + +func (o GetDesktopPoolDesktopsResultOutput) ToGetDesktopPoolDesktopsResultOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsResultOutput { + return o +} + +func (o GetDesktopPoolDesktopsResultOutput) AvailabilityDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsResult) *string { return v.AvailabilityDomain }).(pulumi.StringPtrOutput) +} + +func (o GetDesktopPoolDesktopsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The list of desktop_pool_desktop_collection. +func (o GetDesktopPoolDesktopsResultOutput) DesktopPoolDesktopCollections() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsResult) []GetDesktopPoolDesktopsDesktopPoolDesktopCollection { + return v.DesktopPoolDesktopCollections + }).(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput) +} + +func (o GetDesktopPoolDesktopsResultOutput) DesktopPoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsResult) string { return v.DesktopPoolId }).(pulumi.StringOutput) +} + +func (o GetDesktopPoolDesktopsResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetDesktopPoolDesktopsResultOutput) Filters() GetDesktopPoolDesktopsFilterArrayOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsResult) []GetDesktopPoolDesktopsFilter { return v.Filters }).(GetDesktopPoolDesktopsFilterArrayOutput) +} + +func (o GetDesktopPoolDesktopsResultOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsResult) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The state of the desktop. +func (o GetDesktopPoolDesktopsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDesktopPoolDesktopsResultOutput{}) +} diff --git a/sdk/go/oci/desktops/getDesktopPoolVolumes.go b/sdk/go/oci/desktops/getDesktopPoolVolumes.go new file mode 100644 index 0000000000..b93b4893cd --- /dev/null +++ b/sdk/go/oci/desktops/getDesktopPoolVolumes.go @@ -0,0 +1,180 @@ +// 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 desktops + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. +// +// Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Desktops.GetDesktopPoolVolumes(ctx, &desktops.GetDesktopPoolVolumesArgs{ +// CompartmentId: compartmentId, +// DesktopPoolId: testDesktopPool.Id, +// AvailabilityDomain: pulumi.StringRef(desktopPoolVolumeAvailabilityDomain), +// DisplayName: pulumi.StringRef(desktopPoolVolumeDisplayName), +// Id: pulumi.StringRef(desktopPoolVolumeId), +// State: pulumi.StringRef(desktopPoolVolumeState), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDesktopPoolVolumes(ctx *pulumi.Context, args *GetDesktopPoolVolumesArgs, opts ...pulumi.InvokeOption) (*GetDesktopPoolVolumesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDesktopPoolVolumesResult + err := ctx.Invoke("oci:Desktops/getDesktopPoolVolumes:getDesktopPoolVolumes", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDesktopPoolVolumes. +type GetDesktopPoolVolumesArgs struct { + // The name of the availability domain. + AvailabilityDomain *string `pulumi:"availabilityDomain"` + // The OCID of the compartment of the desktop pool. + CompartmentId string `pulumi:"compartmentId"` + // The OCID of the desktop pool. + DesktopPoolId string `pulumi:"desktopPoolId"` + // A filter to return only results with the given displayName. + DisplayName *string `pulumi:"displayName"` + Filters []GetDesktopPoolVolumesFilter `pulumi:"filters"` + // A filter to return only results with the given OCID. + Id *string `pulumi:"id"` + // A filter to return only results with the given lifecycleState. + State *string `pulumi:"state"` +} + +// A collection of values returned by getDesktopPoolVolumes. +type GetDesktopPoolVolumesResult struct { + // The availability domain of the desktop pool. + AvailabilityDomain *string `pulumi:"availabilityDomain"` + CompartmentId string `pulumi:"compartmentId"` + DesktopPoolId string `pulumi:"desktopPoolId"` + // The list of desktop_pool_volume_collection. + DesktopPoolVolumeCollections []GetDesktopPoolVolumesDesktopPoolVolumeCollection `pulumi:"desktopPoolVolumeCollections"` + DisplayName *string `pulumi:"displayName"` + Filters []GetDesktopPoolVolumesFilter `pulumi:"filters"` + // The OCID of the desktop pool volume. + Id *string `pulumi:"id"` + // The state of the desktop pool volume. + State *string `pulumi:"state"` +} + +func GetDesktopPoolVolumesOutput(ctx *pulumi.Context, args GetDesktopPoolVolumesOutputArgs, opts ...pulumi.InvokeOption) GetDesktopPoolVolumesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDesktopPoolVolumesResult, error) { + args := v.(GetDesktopPoolVolumesArgs) + r, err := GetDesktopPoolVolumes(ctx, &args, opts...) + var s GetDesktopPoolVolumesResult + if r != nil { + s = *r + } + return s, err + }).(GetDesktopPoolVolumesResultOutput) +} + +// A collection of arguments for invoking getDesktopPoolVolumes. +type GetDesktopPoolVolumesOutputArgs struct { + // The name of the availability domain. + AvailabilityDomain pulumi.StringPtrInput `pulumi:"availabilityDomain"` + // The OCID of the compartment of the desktop pool. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The OCID of the desktop pool. + DesktopPoolId pulumi.StringInput `pulumi:"desktopPoolId"` + // A filter to return only results with the given displayName. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Filters GetDesktopPoolVolumesFilterArrayInput `pulumi:"filters"` + // A filter to return only results with the given OCID. + Id pulumi.StringPtrInput `pulumi:"id"` + // A filter to return only results with the given lifecycleState. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetDesktopPoolVolumesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolVolumesArgs)(nil)).Elem() +} + +// A collection of values returned by getDesktopPoolVolumes. +type GetDesktopPoolVolumesResultOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolVolumesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolVolumesResult)(nil)).Elem() +} + +func (o GetDesktopPoolVolumesResultOutput) ToGetDesktopPoolVolumesResultOutput() GetDesktopPoolVolumesResultOutput { + return o +} + +func (o GetDesktopPoolVolumesResultOutput) ToGetDesktopPoolVolumesResultOutputWithContext(ctx context.Context) GetDesktopPoolVolumesResultOutput { + return o +} + +// The availability domain of the desktop pool. +func (o GetDesktopPoolVolumesResultOutput) AvailabilityDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesResult) *string { return v.AvailabilityDomain }).(pulumi.StringPtrOutput) +} + +func (o GetDesktopPoolVolumesResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +func (o GetDesktopPoolVolumesResultOutput) DesktopPoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesResult) string { return v.DesktopPoolId }).(pulumi.StringOutput) +} + +// The list of desktop_pool_volume_collection. +func (o GetDesktopPoolVolumesResultOutput) DesktopPoolVolumeCollections() GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesResult) []GetDesktopPoolVolumesDesktopPoolVolumeCollection { + return v.DesktopPoolVolumeCollections + }).(GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput) +} + +func (o GetDesktopPoolVolumesResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetDesktopPoolVolumesResultOutput) Filters() GetDesktopPoolVolumesFilterArrayOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesResult) []GetDesktopPoolVolumesFilter { return v.Filters }).(GetDesktopPoolVolumesFilterArrayOutput) +} + +// The OCID of the desktop pool volume. +func (o GetDesktopPoolVolumesResultOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesResult) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The state of the desktop pool volume. +func (o GetDesktopPoolVolumesResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDesktopPoolVolumesResultOutput{}) +} diff --git a/sdk/go/oci/desktops/getDesktopPools.go b/sdk/go/oci/desktops/getDesktopPools.go new file mode 100644 index 0000000000..6aa1cd68a4 --- /dev/null +++ b/sdk/go/oci/desktops/getDesktopPools.go @@ -0,0 +1,172 @@ +// 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 desktops + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service. +// +// Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Desktops.GetDesktopPools(ctx, &desktops.GetDesktopPoolsArgs{ +// CompartmentId: compartmentId, +// AvailabilityDomain: pulumi.StringRef(desktopPoolAvailabilityDomain), +// DisplayName: pulumi.StringRef(desktopPoolDisplayName), +// Id: pulumi.StringRef(desktopPoolId), +// State: pulumi.StringRef(desktopPoolState), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDesktopPools(ctx *pulumi.Context, args *GetDesktopPoolsArgs, opts ...pulumi.InvokeOption) (*GetDesktopPoolsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDesktopPoolsResult + err := ctx.Invoke("oci:Desktops/getDesktopPools:getDesktopPools", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDesktopPools. +type GetDesktopPoolsArgs struct { + // The name of the availability domain. + AvailabilityDomain *string `pulumi:"availabilityDomain"` + // The OCID of the compartment of the desktop pool. + CompartmentId string `pulumi:"compartmentId"` + // A filter to return only results with the given displayName. + DisplayName *string `pulumi:"displayName"` + Filters []GetDesktopPoolsFilter `pulumi:"filters"` + // A filter to return only results with the given OCID. + Id *string `pulumi:"id"` + // A filter to return only results with the given lifecycleState. + State *string `pulumi:"state"` +} + +// A collection of values returned by getDesktopPools. +type GetDesktopPoolsResult struct { + // The availability domain of the desktop pool. + AvailabilityDomain *string `pulumi:"availabilityDomain"` + // The OCID of the compartment of the desktop pool. + CompartmentId string `pulumi:"compartmentId"` + // The list of desktop_pool_collection. + DesktopPoolCollections []GetDesktopPoolsDesktopPoolCollection `pulumi:"desktopPoolCollections"` + // A user friendly display name. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + Filters []GetDesktopPoolsFilter `pulumi:"filters"` + // The OCID of the desktop pool. + Id *string `pulumi:"id"` + // The current state of the desktop pool. + State *string `pulumi:"state"` +} + +func GetDesktopPoolsOutput(ctx *pulumi.Context, args GetDesktopPoolsOutputArgs, opts ...pulumi.InvokeOption) GetDesktopPoolsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDesktopPoolsResult, error) { + args := v.(GetDesktopPoolsArgs) + r, err := GetDesktopPools(ctx, &args, opts...) + var s GetDesktopPoolsResult + if r != nil { + s = *r + } + return s, err + }).(GetDesktopPoolsResultOutput) +} + +// A collection of arguments for invoking getDesktopPools. +type GetDesktopPoolsOutputArgs struct { + // The name of the availability domain. + AvailabilityDomain pulumi.StringPtrInput `pulumi:"availabilityDomain"` + // The OCID of the compartment of the desktop pool. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // A filter to return only results with the given displayName. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Filters GetDesktopPoolsFilterArrayInput `pulumi:"filters"` + // A filter to return only results with the given OCID. + Id pulumi.StringPtrInput `pulumi:"id"` + // A filter to return only results with the given lifecycleState. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetDesktopPoolsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsArgs)(nil)).Elem() +} + +// A collection of values returned by getDesktopPools. +type GetDesktopPoolsResultOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsResult)(nil)).Elem() +} + +func (o GetDesktopPoolsResultOutput) ToGetDesktopPoolsResultOutput() GetDesktopPoolsResultOutput { + return o +} + +func (o GetDesktopPoolsResultOutput) ToGetDesktopPoolsResultOutputWithContext(ctx context.Context) GetDesktopPoolsResultOutput { + return o +} + +// The availability domain of the desktop pool. +func (o GetDesktopPoolsResultOutput) AvailabilityDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolsResult) *string { return v.AvailabilityDomain }).(pulumi.StringPtrOutput) +} + +// The OCID of the compartment of the desktop pool. +func (o GetDesktopPoolsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The list of desktop_pool_collection. +func (o GetDesktopPoolsResultOutput) DesktopPoolCollections() GetDesktopPoolsDesktopPoolCollectionArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsResult) []GetDesktopPoolsDesktopPoolCollection { return v.DesktopPoolCollections }).(GetDesktopPoolsDesktopPoolCollectionArrayOutput) +} + +// A user friendly display name. Avoid entering confidential information. +func (o GetDesktopPoolsResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolsResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetDesktopPoolsResultOutput) Filters() GetDesktopPoolsFilterArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsResult) []GetDesktopPoolsFilter { return v.Filters }).(GetDesktopPoolsFilterArrayOutput) +} + +// The OCID of the desktop pool. +func (o GetDesktopPoolsResultOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolsResult) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The current state of the desktop pool. +func (o GetDesktopPoolsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopPoolsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDesktopPoolsResultOutput{}) +} diff --git a/sdk/go/oci/desktops/getDesktops.go b/sdk/go/oci/desktops/getDesktops.go new file mode 100644 index 0000000000..d4f47a0b48 --- /dev/null +++ b/sdk/go/oci/desktops/getDesktops.go @@ -0,0 +1,178 @@ +// 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 desktops + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. +// +// Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Desktops" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Desktops.GetDesktops(ctx, &desktops.GetDesktopsArgs{ +// CompartmentId: compartmentId, +// AvailabilityDomain: pulumi.StringRef(desktopAvailabilityDomain), +// DesktopPoolId: pulumi.StringRef(testDesktopPool.Id), +// DisplayName: pulumi.StringRef(desktopDisplayName), +// Id: pulumi.StringRef(desktopId), +// State: pulumi.StringRef(desktopState), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetDesktops(ctx *pulumi.Context, args *GetDesktopsArgs, opts ...pulumi.InvokeOption) (*GetDesktopsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDesktopsResult + err := ctx.Invoke("oci:Desktops/getDesktops:getDesktops", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDesktops. +type GetDesktopsArgs struct { + // The name of the availability domain. + AvailabilityDomain *string `pulumi:"availabilityDomain"` + // The OCID of the compartment of the desktop pool. + CompartmentId string `pulumi:"compartmentId"` + // The OCID of the desktop pool. + DesktopPoolId *string `pulumi:"desktopPoolId"` + // A filter to return only results with the given displayName. + DisplayName *string `pulumi:"displayName"` + Filters []GetDesktopsFilter `pulumi:"filters"` + // A filter to return only results with the given OCID. + Id *string `pulumi:"id"` + // A filter to return only results with the given lifecycleState. + State *string `pulumi:"state"` +} + +// A collection of values returned by getDesktops. +type GetDesktopsResult struct { + AvailabilityDomain *string `pulumi:"availabilityDomain"` + CompartmentId string `pulumi:"compartmentId"` + // The list of desktop_collection. + DesktopCollections []GetDesktopsDesktopCollection `pulumi:"desktopCollections"` + DesktopPoolId *string `pulumi:"desktopPoolId"` + // A user friendly display name. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + Filters []GetDesktopsFilter `pulumi:"filters"` + // The OCID of the desktop. + Id *string `pulumi:"id"` + // The state of the desktop. + State *string `pulumi:"state"` +} + +func GetDesktopsOutput(ctx *pulumi.Context, args GetDesktopsOutputArgs, opts ...pulumi.InvokeOption) GetDesktopsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDesktopsResult, error) { + args := v.(GetDesktopsArgs) + r, err := GetDesktops(ctx, &args, opts...) + var s GetDesktopsResult + if r != nil { + s = *r + } + return s, err + }).(GetDesktopsResultOutput) +} + +// A collection of arguments for invoking getDesktops. +type GetDesktopsOutputArgs struct { + // The name of the availability domain. + AvailabilityDomain pulumi.StringPtrInput `pulumi:"availabilityDomain"` + // The OCID of the compartment of the desktop pool. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The OCID of the desktop pool. + DesktopPoolId pulumi.StringPtrInput `pulumi:"desktopPoolId"` + // A filter to return only results with the given displayName. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Filters GetDesktopsFilterArrayInput `pulumi:"filters"` + // A filter to return only results with the given OCID. + Id pulumi.StringPtrInput `pulumi:"id"` + // A filter to return only results with the given lifecycleState. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetDesktopsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopsArgs)(nil)).Elem() +} + +// A collection of values returned by getDesktops. +type GetDesktopsResultOutput struct{ *pulumi.OutputState } + +func (GetDesktopsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopsResult)(nil)).Elem() +} + +func (o GetDesktopsResultOutput) ToGetDesktopsResultOutput() GetDesktopsResultOutput { + return o +} + +func (o GetDesktopsResultOutput) ToGetDesktopsResultOutputWithContext(ctx context.Context) GetDesktopsResultOutput { + return o +} + +func (o GetDesktopsResultOutput) AvailabilityDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopsResult) *string { return v.AvailabilityDomain }).(pulumi.StringPtrOutput) +} + +func (o GetDesktopsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The list of desktop_collection. +func (o GetDesktopsResultOutput) DesktopCollections() GetDesktopsDesktopCollectionArrayOutput { + return o.ApplyT(func(v GetDesktopsResult) []GetDesktopsDesktopCollection { return v.DesktopCollections }).(GetDesktopsDesktopCollectionArrayOutput) +} + +func (o GetDesktopsResultOutput) DesktopPoolId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopsResult) *string { return v.DesktopPoolId }).(pulumi.StringPtrOutput) +} + +// A user friendly display name. Avoid entering confidential information. +func (o GetDesktopsResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopsResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetDesktopsResultOutput) Filters() GetDesktopsFilterArrayOutput { + return o.ApplyT(func(v GetDesktopsResult) []GetDesktopsFilter { return v.Filters }).(GetDesktopsFilterArrayOutput) +} + +// The OCID of the desktop. +func (o GetDesktopsResultOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopsResult) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// The state of the desktop. +func (o GetDesktopsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDesktopsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDesktopsResultOutput{}) +} diff --git a/sdk/go/oci/globallydistributeddatabase/init.go b/sdk/go/oci/desktops/init.go similarity index 68% rename from sdk/go/oci/globallydistributeddatabase/init.go rename to sdk/go/oci/desktops/init.go index 4104e5fd4e..83dda36c82 100644 --- a/sdk/go/oci/globallydistributeddatabase/init.go +++ b/sdk/go/oci/desktops/init.go @@ -1,7 +1,7 @@ // 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 globallydistributeddatabase +package desktops import ( "fmt" @@ -21,10 +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:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint": - r = &PrivateEndpoint{} - case "oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase": - r = &ShardedDatabase{} + case "oci:Desktops/desktopPool:DesktopPool": + r = &DesktopPool{} default: return nil, fmt.Errorf("unknown resource type: %s", typ) } @@ -40,12 +38,7 @@ func init() { } pulumi.RegisterResourceModule( "oci", - "GloballyDistributedDatabase/privateEndpoint", - &module{version}, - ) - pulumi.RegisterResourceModule( - "oci", - "GloballyDistributedDatabase/shardedDatabase", + "Desktops/desktopPool", &module{version}, ) } diff --git a/sdk/go/oci/desktops/pulumiTypes.go b/sdk/go/oci/desktops/pulumiTypes.go new file mode 100644 index 0000000000..e145a34605 --- /dev/null +++ b/sdk/go/oci/desktops/pulumiTypes.go @@ -0,0 +1,4541 @@ +// 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 desktops + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +var _ = internal.GetEnvOrDefault + +type DesktopPoolAvailabilityPolicy struct { + // (Updatable) Provides the schedule information for a desktop. + StartSchedule DesktopPoolAvailabilityPolicyStartSchedule `pulumi:"startSchedule"` + // (Updatable) Provides the schedule information for a desktop. + StopSchedule DesktopPoolAvailabilityPolicyStopSchedule `pulumi:"stopSchedule"` +} + +// DesktopPoolAvailabilityPolicyInput is an input type that accepts DesktopPoolAvailabilityPolicyArgs and DesktopPoolAvailabilityPolicyOutput values. +// You can construct a concrete instance of `DesktopPoolAvailabilityPolicyInput` via: +// +// DesktopPoolAvailabilityPolicyArgs{...} +type DesktopPoolAvailabilityPolicyInput interface { + pulumi.Input + + ToDesktopPoolAvailabilityPolicyOutput() DesktopPoolAvailabilityPolicyOutput + ToDesktopPoolAvailabilityPolicyOutputWithContext(context.Context) DesktopPoolAvailabilityPolicyOutput +} + +type DesktopPoolAvailabilityPolicyArgs struct { + // (Updatable) Provides the schedule information for a desktop. + StartSchedule DesktopPoolAvailabilityPolicyStartScheduleInput `pulumi:"startSchedule"` + // (Updatable) Provides the schedule information for a desktop. + StopSchedule DesktopPoolAvailabilityPolicyStopScheduleInput `pulumi:"stopSchedule"` +} + +func (DesktopPoolAvailabilityPolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolAvailabilityPolicy)(nil)).Elem() +} + +func (i DesktopPoolAvailabilityPolicyArgs) ToDesktopPoolAvailabilityPolicyOutput() DesktopPoolAvailabilityPolicyOutput { + return i.ToDesktopPoolAvailabilityPolicyOutputWithContext(context.Background()) +} + +func (i DesktopPoolAvailabilityPolicyArgs) ToDesktopPoolAvailabilityPolicyOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolAvailabilityPolicyOutput) +} + +func (i DesktopPoolAvailabilityPolicyArgs) ToDesktopPoolAvailabilityPolicyPtrOutput() DesktopPoolAvailabilityPolicyPtrOutput { + return i.ToDesktopPoolAvailabilityPolicyPtrOutputWithContext(context.Background()) +} + +func (i DesktopPoolAvailabilityPolicyArgs) ToDesktopPoolAvailabilityPolicyPtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolAvailabilityPolicyOutput).ToDesktopPoolAvailabilityPolicyPtrOutputWithContext(ctx) +} + +// DesktopPoolAvailabilityPolicyPtrInput is an input type that accepts DesktopPoolAvailabilityPolicyArgs, DesktopPoolAvailabilityPolicyPtr and DesktopPoolAvailabilityPolicyPtrOutput values. +// You can construct a concrete instance of `DesktopPoolAvailabilityPolicyPtrInput` via: +// +// DesktopPoolAvailabilityPolicyArgs{...} +// +// or: +// +// nil +type DesktopPoolAvailabilityPolicyPtrInput interface { + pulumi.Input + + ToDesktopPoolAvailabilityPolicyPtrOutput() DesktopPoolAvailabilityPolicyPtrOutput + ToDesktopPoolAvailabilityPolicyPtrOutputWithContext(context.Context) DesktopPoolAvailabilityPolicyPtrOutput +} + +type desktopPoolAvailabilityPolicyPtrType DesktopPoolAvailabilityPolicyArgs + +func DesktopPoolAvailabilityPolicyPtr(v *DesktopPoolAvailabilityPolicyArgs) DesktopPoolAvailabilityPolicyPtrInput { + return (*desktopPoolAvailabilityPolicyPtrType)(v) +} + +func (*desktopPoolAvailabilityPolicyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolAvailabilityPolicy)(nil)).Elem() +} + +func (i *desktopPoolAvailabilityPolicyPtrType) ToDesktopPoolAvailabilityPolicyPtrOutput() DesktopPoolAvailabilityPolicyPtrOutput { + return i.ToDesktopPoolAvailabilityPolicyPtrOutputWithContext(context.Background()) +} + +func (i *desktopPoolAvailabilityPolicyPtrType) ToDesktopPoolAvailabilityPolicyPtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolAvailabilityPolicyPtrOutput) +} + +type DesktopPoolAvailabilityPolicyOutput struct{ *pulumi.OutputState } + +func (DesktopPoolAvailabilityPolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolAvailabilityPolicy)(nil)).Elem() +} + +func (o DesktopPoolAvailabilityPolicyOutput) ToDesktopPoolAvailabilityPolicyOutput() DesktopPoolAvailabilityPolicyOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyOutput) ToDesktopPoolAvailabilityPolicyOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyOutput) ToDesktopPoolAvailabilityPolicyPtrOutput() DesktopPoolAvailabilityPolicyPtrOutput { + return o.ToDesktopPoolAvailabilityPolicyPtrOutputWithContext(context.Background()) +} + +func (o DesktopPoolAvailabilityPolicyOutput) ToDesktopPoolAvailabilityPolicyPtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DesktopPoolAvailabilityPolicy) *DesktopPoolAvailabilityPolicy { + return &v + }).(DesktopPoolAvailabilityPolicyPtrOutput) +} + +// (Updatable) Provides the schedule information for a desktop. +func (o DesktopPoolAvailabilityPolicyOutput) StartSchedule() DesktopPoolAvailabilityPolicyStartScheduleOutput { + return o.ApplyT(func(v DesktopPoolAvailabilityPolicy) DesktopPoolAvailabilityPolicyStartSchedule { + return v.StartSchedule + }).(DesktopPoolAvailabilityPolicyStartScheduleOutput) +} + +// (Updatable) Provides the schedule information for a desktop. +func (o DesktopPoolAvailabilityPolicyOutput) StopSchedule() DesktopPoolAvailabilityPolicyStopScheduleOutput { + return o.ApplyT(func(v DesktopPoolAvailabilityPolicy) DesktopPoolAvailabilityPolicyStopSchedule { return v.StopSchedule }).(DesktopPoolAvailabilityPolicyStopScheduleOutput) +} + +type DesktopPoolAvailabilityPolicyPtrOutput struct{ *pulumi.OutputState } + +func (DesktopPoolAvailabilityPolicyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolAvailabilityPolicy)(nil)).Elem() +} + +func (o DesktopPoolAvailabilityPolicyPtrOutput) ToDesktopPoolAvailabilityPolicyPtrOutput() DesktopPoolAvailabilityPolicyPtrOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyPtrOutput) ToDesktopPoolAvailabilityPolicyPtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyPtrOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyPtrOutput) Elem() DesktopPoolAvailabilityPolicyOutput { + return o.ApplyT(func(v *DesktopPoolAvailabilityPolicy) DesktopPoolAvailabilityPolicy { + if v != nil { + return *v + } + var ret DesktopPoolAvailabilityPolicy + return ret + }).(DesktopPoolAvailabilityPolicyOutput) +} + +// (Updatable) Provides the schedule information for a desktop. +func (o DesktopPoolAvailabilityPolicyPtrOutput) StartSchedule() DesktopPoolAvailabilityPolicyStartSchedulePtrOutput { + return o.ApplyT(func(v *DesktopPoolAvailabilityPolicy) *DesktopPoolAvailabilityPolicyStartSchedule { + if v == nil { + return nil + } + return &v.StartSchedule + }).(DesktopPoolAvailabilityPolicyStartSchedulePtrOutput) +} + +// (Updatable) Provides the schedule information for a desktop. +func (o DesktopPoolAvailabilityPolicyPtrOutput) StopSchedule() DesktopPoolAvailabilityPolicyStopSchedulePtrOutput { + return o.ApplyT(func(v *DesktopPoolAvailabilityPolicy) *DesktopPoolAvailabilityPolicyStopSchedule { + if v == nil { + return nil + } + return &v.StopSchedule + }).(DesktopPoolAvailabilityPolicyStopSchedulePtrOutput) +} + +type DesktopPoolAvailabilityPolicyStartSchedule struct { + // (Updatable) A cron expression describing the desktop's schedule. + CronExpression string `pulumi:"cronExpression"` + // (Updatable) The timezone of the desktop's schedule. + Timezone string `pulumi:"timezone"` +} + +// DesktopPoolAvailabilityPolicyStartScheduleInput is an input type that accepts DesktopPoolAvailabilityPolicyStartScheduleArgs and DesktopPoolAvailabilityPolicyStartScheduleOutput values. +// You can construct a concrete instance of `DesktopPoolAvailabilityPolicyStartScheduleInput` via: +// +// DesktopPoolAvailabilityPolicyStartScheduleArgs{...} +type DesktopPoolAvailabilityPolicyStartScheduleInput interface { + pulumi.Input + + ToDesktopPoolAvailabilityPolicyStartScheduleOutput() DesktopPoolAvailabilityPolicyStartScheduleOutput + ToDesktopPoolAvailabilityPolicyStartScheduleOutputWithContext(context.Context) DesktopPoolAvailabilityPolicyStartScheduleOutput +} + +type DesktopPoolAvailabilityPolicyStartScheduleArgs struct { + // (Updatable) A cron expression describing the desktop's schedule. + CronExpression pulumi.StringInput `pulumi:"cronExpression"` + // (Updatable) The timezone of the desktop's schedule. + Timezone pulumi.StringInput `pulumi:"timezone"` +} + +func (DesktopPoolAvailabilityPolicyStartScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (i DesktopPoolAvailabilityPolicyStartScheduleArgs) ToDesktopPoolAvailabilityPolicyStartScheduleOutput() DesktopPoolAvailabilityPolicyStartScheduleOutput { + return i.ToDesktopPoolAvailabilityPolicyStartScheduleOutputWithContext(context.Background()) +} + +func (i DesktopPoolAvailabilityPolicyStartScheduleArgs) ToDesktopPoolAvailabilityPolicyStartScheduleOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStartScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolAvailabilityPolicyStartScheduleOutput) +} + +func (i DesktopPoolAvailabilityPolicyStartScheduleArgs) ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutput() DesktopPoolAvailabilityPolicyStartSchedulePtrOutput { + return i.ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutputWithContext(context.Background()) +} + +func (i DesktopPoolAvailabilityPolicyStartScheduleArgs) ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStartSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolAvailabilityPolicyStartScheduleOutput).ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutputWithContext(ctx) +} + +// DesktopPoolAvailabilityPolicyStartSchedulePtrInput is an input type that accepts DesktopPoolAvailabilityPolicyStartScheduleArgs, DesktopPoolAvailabilityPolicyStartSchedulePtr and DesktopPoolAvailabilityPolicyStartSchedulePtrOutput values. +// You can construct a concrete instance of `DesktopPoolAvailabilityPolicyStartSchedulePtrInput` via: +// +// DesktopPoolAvailabilityPolicyStartScheduleArgs{...} +// +// or: +// +// nil +type DesktopPoolAvailabilityPolicyStartSchedulePtrInput interface { + pulumi.Input + + ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutput() DesktopPoolAvailabilityPolicyStartSchedulePtrOutput + ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutputWithContext(context.Context) DesktopPoolAvailabilityPolicyStartSchedulePtrOutput +} + +type desktopPoolAvailabilityPolicyStartSchedulePtrType DesktopPoolAvailabilityPolicyStartScheduleArgs + +func DesktopPoolAvailabilityPolicyStartSchedulePtr(v *DesktopPoolAvailabilityPolicyStartScheduleArgs) DesktopPoolAvailabilityPolicyStartSchedulePtrInput { + return (*desktopPoolAvailabilityPolicyStartSchedulePtrType)(v) +} + +func (*desktopPoolAvailabilityPolicyStartSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (i *desktopPoolAvailabilityPolicyStartSchedulePtrType) ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutput() DesktopPoolAvailabilityPolicyStartSchedulePtrOutput { + return i.ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutputWithContext(context.Background()) +} + +func (i *desktopPoolAvailabilityPolicyStartSchedulePtrType) ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStartSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolAvailabilityPolicyStartSchedulePtrOutput) +} + +type DesktopPoolAvailabilityPolicyStartScheduleOutput struct{ *pulumi.OutputState } + +func (DesktopPoolAvailabilityPolicyStartScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (o DesktopPoolAvailabilityPolicyStartScheduleOutput) ToDesktopPoolAvailabilityPolicyStartScheduleOutput() DesktopPoolAvailabilityPolicyStartScheduleOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyStartScheduleOutput) ToDesktopPoolAvailabilityPolicyStartScheduleOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStartScheduleOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyStartScheduleOutput) ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutput() DesktopPoolAvailabilityPolicyStartSchedulePtrOutput { + return o.ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutputWithContext(context.Background()) +} + +func (o DesktopPoolAvailabilityPolicyStartScheduleOutput) ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStartSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DesktopPoolAvailabilityPolicyStartSchedule) *DesktopPoolAvailabilityPolicyStartSchedule { + return &v + }).(DesktopPoolAvailabilityPolicyStartSchedulePtrOutput) +} + +// (Updatable) A cron expression describing the desktop's schedule. +func (o DesktopPoolAvailabilityPolicyStartScheduleOutput) CronExpression() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolAvailabilityPolicyStartSchedule) string { return v.CronExpression }).(pulumi.StringOutput) +} + +// (Updatable) The timezone of the desktop's schedule. +func (o DesktopPoolAvailabilityPolicyStartScheduleOutput) Timezone() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolAvailabilityPolicyStartSchedule) string { return v.Timezone }).(pulumi.StringOutput) +} + +type DesktopPoolAvailabilityPolicyStartSchedulePtrOutput struct{ *pulumi.OutputState } + +func (DesktopPoolAvailabilityPolicyStartSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (o DesktopPoolAvailabilityPolicyStartSchedulePtrOutput) ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutput() DesktopPoolAvailabilityPolicyStartSchedulePtrOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyStartSchedulePtrOutput) ToDesktopPoolAvailabilityPolicyStartSchedulePtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStartSchedulePtrOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyStartSchedulePtrOutput) Elem() DesktopPoolAvailabilityPolicyStartScheduleOutput { + return o.ApplyT(func(v *DesktopPoolAvailabilityPolicyStartSchedule) DesktopPoolAvailabilityPolicyStartSchedule { + if v != nil { + return *v + } + var ret DesktopPoolAvailabilityPolicyStartSchedule + return ret + }).(DesktopPoolAvailabilityPolicyStartScheduleOutput) +} + +// (Updatable) A cron expression describing the desktop's schedule. +func (o DesktopPoolAvailabilityPolicyStartSchedulePtrOutput) CronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolAvailabilityPolicyStartSchedule) *string { + if v == nil { + return nil + } + return &v.CronExpression + }).(pulumi.StringPtrOutput) +} + +// (Updatable) The timezone of the desktop's schedule. +func (o DesktopPoolAvailabilityPolicyStartSchedulePtrOutput) Timezone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolAvailabilityPolicyStartSchedule) *string { + if v == nil { + return nil + } + return &v.Timezone + }).(pulumi.StringPtrOutput) +} + +type DesktopPoolAvailabilityPolicyStopSchedule struct { + // (Updatable) A cron expression describing the desktop's schedule. + CronExpression string `pulumi:"cronExpression"` + // (Updatable) The timezone of the desktop's schedule. + Timezone string `pulumi:"timezone"` +} + +// DesktopPoolAvailabilityPolicyStopScheduleInput is an input type that accepts DesktopPoolAvailabilityPolicyStopScheduleArgs and DesktopPoolAvailabilityPolicyStopScheduleOutput values. +// You can construct a concrete instance of `DesktopPoolAvailabilityPolicyStopScheduleInput` via: +// +// DesktopPoolAvailabilityPolicyStopScheduleArgs{...} +type DesktopPoolAvailabilityPolicyStopScheduleInput interface { + pulumi.Input + + ToDesktopPoolAvailabilityPolicyStopScheduleOutput() DesktopPoolAvailabilityPolicyStopScheduleOutput + ToDesktopPoolAvailabilityPolicyStopScheduleOutputWithContext(context.Context) DesktopPoolAvailabilityPolicyStopScheduleOutput +} + +type DesktopPoolAvailabilityPolicyStopScheduleArgs struct { + // (Updatable) A cron expression describing the desktop's schedule. + CronExpression pulumi.StringInput `pulumi:"cronExpression"` + // (Updatable) The timezone of the desktop's schedule. + Timezone pulumi.StringInput `pulumi:"timezone"` +} + +func (DesktopPoolAvailabilityPolicyStopScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (i DesktopPoolAvailabilityPolicyStopScheduleArgs) ToDesktopPoolAvailabilityPolicyStopScheduleOutput() DesktopPoolAvailabilityPolicyStopScheduleOutput { + return i.ToDesktopPoolAvailabilityPolicyStopScheduleOutputWithContext(context.Background()) +} + +func (i DesktopPoolAvailabilityPolicyStopScheduleArgs) ToDesktopPoolAvailabilityPolicyStopScheduleOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStopScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolAvailabilityPolicyStopScheduleOutput) +} + +func (i DesktopPoolAvailabilityPolicyStopScheduleArgs) ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutput() DesktopPoolAvailabilityPolicyStopSchedulePtrOutput { + return i.ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutputWithContext(context.Background()) +} + +func (i DesktopPoolAvailabilityPolicyStopScheduleArgs) ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStopSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolAvailabilityPolicyStopScheduleOutput).ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutputWithContext(ctx) +} + +// DesktopPoolAvailabilityPolicyStopSchedulePtrInput is an input type that accepts DesktopPoolAvailabilityPolicyStopScheduleArgs, DesktopPoolAvailabilityPolicyStopSchedulePtr and DesktopPoolAvailabilityPolicyStopSchedulePtrOutput values. +// You can construct a concrete instance of `DesktopPoolAvailabilityPolicyStopSchedulePtrInput` via: +// +// DesktopPoolAvailabilityPolicyStopScheduleArgs{...} +// +// or: +// +// nil +type DesktopPoolAvailabilityPolicyStopSchedulePtrInput interface { + pulumi.Input + + ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutput() DesktopPoolAvailabilityPolicyStopSchedulePtrOutput + ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutputWithContext(context.Context) DesktopPoolAvailabilityPolicyStopSchedulePtrOutput +} + +type desktopPoolAvailabilityPolicyStopSchedulePtrType DesktopPoolAvailabilityPolicyStopScheduleArgs + +func DesktopPoolAvailabilityPolicyStopSchedulePtr(v *DesktopPoolAvailabilityPolicyStopScheduleArgs) DesktopPoolAvailabilityPolicyStopSchedulePtrInput { + return (*desktopPoolAvailabilityPolicyStopSchedulePtrType)(v) +} + +func (*desktopPoolAvailabilityPolicyStopSchedulePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (i *desktopPoolAvailabilityPolicyStopSchedulePtrType) ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutput() DesktopPoolAvailabilityPolicyStopSchedulePtrOutput { + return i.ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutputWithContext(context.Background()) +} + +func (i *desktopPoolAvailabilityPolicyStopSchedulePtrType) ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStopSchedulePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolAvailabilityPolicyStopSchedulePtrOutput) +} + +type DesktopPoolAvailabilityPolicyStopScheduleOutput struct{ *pulumi.OutputState } + +func (DesktopPoolAvailabilityPolicyStopScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (o DesktopPoolAvailabilityPolicyStopScheduleOutput) ToDesktopPoolAvailabilityPolicyStopScheduleOutput() DesktopPoolAvailabilityPolicyStopScheduleOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyStopScheduleOutput) ToDesktopPoolAvailabilityPolicyStopScheduleOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStopScheduleOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyStopScheduleOutput) ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutput() DesktopPoolAvailabilityPolicyStopSchedulePtrOutput { + return o.ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutputWithContext(context.Background()) +} + +func (o DesktopPoolAvailabilityPolicyStopScheduleOutput) ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStopSchedulePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DesktopPoolAvailabilityPolicyStopSchedule) *DesktopPoolAvailabilityPolicyStopSchedule { + return &v + }).(DesktopPoolAvailabilityPolicyStopSchedulePtrOutput) +} + +// (Updatable) A cron expression describing the desktop's schedule. +func (o DesktopPoolAvailabilityPolicyStopScheduleOutput) CronExpression() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolAvailabilityPolicyStopSchedule) string { return v.CronExpression }).(pulumi.StringOutput) +} + +// (Updatable) The timezone of the desktop's schedule. +func (o DesktopPoolAvailabilityPolicyStopScheduleOutput) Timezone() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolAvailabilityPolicyStopSchedule) string { return v.Timezone }).(pulumi.StringOutput) +} + +type DesktopPoolAvailabilityPolicyStopSchedulePtrOutput struct{ *pulumi.OutputState } + +func (DesktopPoolAvailabilityPolicyStopSchedulePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (o DesktopPoolAvailabilityPolicyStopSchedulePtrOutput) ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutput() DesktopPoolAvailabilityPolicyStopSchedulePtrOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyStopSchedulePtrOutput) ToDesktopPoolAvailabilityPolicyStopSchedulePtrOutputWithContext(ctx context.Context) DesktopPoolAvailabilityPolicyStopSchedulePtrOutput { + return o +} + +func (o DesktopPoolAvailabilityPolicyStopSchedulePtrOutput) Elem() DesktopPoolAvailabilityPolicyStopScheduleOutput { + return o.ApplyT(func(v *DesktopPoolAvailabilityPolicyStopSchedule) DesktopPoolAvailabilityPolicyStopSchedule { + if v != nil { + return *v + } + var ret DesktopPoolAvailabilityPolicyStopSchedule + return ret + }).(DesktopPoolAvailabilityPolicyStopScheduleOutput) +} + +// (Updatable) A cron expression describing the desktop's schedule. +func (o DesktopPoolAvailabilityPolicyStopSchedulePtrOutput) CronExpression() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolAvailabilityPolicyStopSchedule) *string { + if v == nil { + return nil + } + return &v.CronExpression + }).(pulumi.StringPtrOutput) +} + +// (Updatable) The timezone of the desktop's schedule. +func (o DesktopPoolAvailabilityPolicyStopSchedulePtrOutput) Timezone() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolAvailabilityPolicyStopSchedule) *string { + if v == nil { + return nil + } + return &v.Timezone + }).(pulumi.StringPtrOutput) +} + +type DesktopPoolDevicePolicy struct { + // (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + AudioMode string `pulumi:"audioMode"` + // (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + CdmMode string `pulumi:"cdmMode"` + // (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + ClipboardMode string `pulumi:"clipboardMode"` + // (Updatable) Indicates whether the display is enabled. + IsDisplayEnabled bool `pulumi:"isDisplayEnabled"` + // (Updatable) Indicates whether the keyboard is enabled. + IsKeyboardEnabled bool `pulumi:"isKeyboardEnabled"` + // (Updatable) Indicates whether the pointer is enabled. + IsPointerEnabled bool `pulumi:"isPointerEnabled"` + // (Updatable) Indicates whether printing is enabled. + IsPrintingEnabled bool `pulumi:"isPrintingEnabled"` +} + +// DesktopPoolDevicePolicyInput is an input type that accepts DesktopPoolDevicePolicyArgs and DesktopPoolDevicePolicyOutput values. +// You can construct a concrete instance of `DesktopPoolDevicePolicyInput` via: +// +// DesktopPoolDevicePolicyArgs{...} +type DesktopPoolDevicePolicyInput interface { + pulumi.Input + + ToDesktopPoolDevicePolicyOutput() DesktopPoolDevicePolicyOutput + ToDesktopPoolDevicePolicyOutputWithContext(context.Context) DesktopPoolDevicePolicyOutput +} + +type DesktopPoolDevicePolicyArgs struct { + // (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + AudioMode pulumi.StringInput `pulumi:"audioMode"` + // (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + CdmMode pulumi.StringInput `pulumi:"cdmMode"` + // (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + ClipboardMode pulumi.StringInput `pulumi:"clipboardMode"` + // (Updatable) Indicates whether the display is enabled. + IsDisplayEnabled pulumi.BoolInput `pulumi:"isDisplayEnabled"` + // (Updatable) Indicates whether the keyboard is enabled. + IsKeyboardEnabled pulumi.BoolInput `pulumi:"isKeyboardEnabled"` + // (Updatable) Indicates whether the pointer is enabled. + IsPointerEnabled pulumi.BoolInput `pulumi:"isPointerEnabled"` + // (Updatable) Indicates whether printing is enabled. + IsPrintingEnabled pulumi.BoolInput `pulumi:"isPrintingEnabled"` +} + +func (DesktopPoolDevicePolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolDevicePolicy)(nil)).Elem() +} + +func (i DesktopPoolDevicePolicyArgs) ToDesktopPoolDevicePolicyOutput() DesktopPoolDevicePolicyOutput { + return i.ToDesktopPoolDevicePolicyOutputWithContext(context.Background()) +} + +func (i DesktopPoolDevicePolicyArgs) ToDesktopPoolDevicePolicyOutputWithContext(ctx context.Context) DesktopPoolDevicePolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolDevicePolicyOutput) +} + +func (i DesktopPoolDevicePolicyArgs) ToDesktopPoolDevicePolicyPtrOutput() DesktopPoolDevicePolicyPtrOutput { + return i.ToDesktopPoolDevicePolicyPtrOutputWithContext(context.Background()) +} + +func (i DesktopPoolDevicePolicyArgs) ToDesktopPoolDevicePolicyPtrOutputWithContext(ctx context.Context) DesktopPoolDevicePolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolDevicePolicyOutput).ToDesktopPoolDevicePolicyPtrOutputWithContext(ctx) +} + +// DesktopPoolDevicePolicyPtrInput is an input type that accepts DesktopPoolDevicePolicyArgs, DesktopPoolDevicePolicyPtr and DesktopPoolDevicePolicyPtrOutput values. +// You can construct a concrete instance of `DesktopPoolDevicePolicyPtrInput` via: +// +// DesktopPoolDevicePolicyArgs{...} +// +// or: +// +// nil +type DesktopPoolDevicePolicyPtrInput interface { + pulumi.Input + + ToDesktopPoolDevicePolicyPtrOutput() DesktopPoolDevicePolicyPtrOutput + ToDesktopPoolDevicePolicyPtrOutputWithContext(context.Context) DesktopPoolDevicePolicyPtrOutput +} + +type desktopPoolDevicePolicyPtrType DesktopPoolDevicePolicyArgs + +func DesktopPoolDevicePolicyPtr(v *DesktopPoolDevicePolicyArgs) DesktopPoolDevicePolicyPtrInput { + return (*desktopPoolDevicePolicyPtrType)(v) +} + +func (*desktopPoolDevicePolicyPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolDevicePolicy)(nil)).Elem() +} + +func (i *desktopPoolDevicePolicyPtrType) ToDesktopPoolDevicePolicyPtrOutput() DesktopPoolDevicePolicyPtrOutput { + return i.ToDesktopPoolDevicePolicyPtrOutputWithContext(context.Background()) +} + +func (i *desktopPoolDevicePolicyPtrType) ToDesktopPoolDevicePolicyPtrOutputWithContext(ctx context.Context) DesktopPoolDevicePolicyPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolDevicePolicyPtrOutput) +} + +type DesktopPoolDevicePolicyOutput struct{ *pulumi.OutputState } + +func (DesktopPoolDevicePolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolDevicePolicy)(nil)).Elem() +} + +func (o DesktopPoolDevicePolicyOutput) ToDesktopPoolDevicePolicyOutput() DesktopPoolDevicePolicyOutput { + return o +} + +func (o DesktopPoolDevicePolicyOutput) ToDesktopPoolDevicePolicyOutputWithContext(ctx context.Context) DesktopPoolDevicePolicyOutput { + return o +} + +func (o DesktopPoolDevicePolicyOutput) ToDesktopPoolDevicePolicyPtrOutput() DesktopPoolDevicePolicyPtrOutput { + return o.ToDesktopPoolDevicePolicyPtrOutputWithContext(context.Background()) +} + +func (o DesktopPoolDevicePolicyOutput) ToDesktopPoolDevicePolicyPtrOutputWithContext(ctx context.Context) DesktopPoolDevicePolicyPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DesktopPoolDevicePolicy) *DesktopPoolDevicePolicy { + return &v + }).(DesktopPoolDevicePolicyPtrOutput) +} + +// (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. +func (o DesktopPoolDevicePolicyOutput) AudioMode() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolDevicePolicy) string { return v.AudioMode }).(pulumi.StringOutput) +} + +// (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. +func (o DesktopPoolDevicePolicyOutput) CdmMode() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolDevicePolicy) string { return v.CdmMode }).(pulumi.StringOutput) +} + +// (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. +func (o DesktopPoolDevicePolicyOutput) ClipboardMode() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolDevicePolicy) string { return v.ClipboardMode }).(pulumi.StringOutput) +} + +// (Updatable) Indicates whether the display is enabled. +func (o DesktopPoolDevicePolicyOutput) IsDisplayEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v DesktopPoolDevicePolicy) bool { return v.IsDisplayEnabled }).(pulumi.BoolOutput) +} + +// (Updatable) Indicates whether the keyboard is enabled. +func (o DesktopPoolDevicePolicyOutput) IsKeyboardEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v DesktopPoolDevicePolicy) bool { return v.IsKeyboardEnabled }).(pulumi.BoolOutput) +} + +// (Updatable) Indicates whether the pointer is enabled. +func (o DesktopPoolDevicePolicyOutput) IsPointerEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v DesktopPoolDevicePolicy) bool { return v.IsPointerEnabled }).(pulumi.BoolOutput) +} + +// (Updatable) Indicates whether printing is enabled. +func (o DesktopPoolDevicePolicyOutput) IsPrintingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v DesktopPoolDevicePolicy) bool { return v.IsPrintingEnabled }).(pulumi.BoolOutput) +} + +type DesktopPoolDevicePolicyPtrOutput struct{ *pulumi.OutputState } + +func (DesktopPoolDevicePolicyPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolDevicePolicy)(nil)).Elem() +} + +func (o DesktopPoolDevicePolicyPtrOutput) ToDesktopPoolDevicePolicyPtrOutput() DesktopPoolDevicePolicyPtrOutput { + return o +} + +func (o DesktopPoolDevicePolicyPtrOutput) ToDesktopPoolDevicePolicyPtrOutputWithContext(ctx context.Context) DesktopPoolDevicePolicyPtrOutput { + return o +} + +func (o DesktopPoolDevicePolicyPtrOutput) Elem() DesktopPoolDevicePolicyOutput { + return o.ApplyT(func(v *DesktopPoolDevicePolicy) DesktopPoolDevicePolicy { + if v != nil { + return *v + } + var ret DesktopPoolDevicePolicy + return ret + }).(DesktopPoolDevicePolicyOutput) +} + +// (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. +func (o DesktopPoolDevicePolicyPtrOutput) AudioMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolDevicePolicy) *string { + if v == nil { + return nil + } + return &v.AudioMode + }).(pulumi.StringPtrOutput) +} + +// (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. +func (o DesktopPoolDevicePolicyPtrOutput) CdmMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolDevicePolicy) *string { + if v == nil { + return nil + } + return &v.CdmMode + }).(pulumi.StringPtrOutput) +} + +// (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. +func (o DesktopPoolDevicePolicyPtrOutput) ClipboardMode() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolDevicePolicy) *string { + if v == nil { + return nil + } + return &v.ClipboardMode + }).(pulumi.StringPtrOutput) +} + +// (Updatable) Indicates whether the display is enabled. +func (o DesktopPoolDevicePolicyPtrOutput) IsDisplayEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DesktopPoolDevicePolicy) *bool { + if v == nil { + return nil + } + return &v.IsDisplayEnabled + }).(pulumi.BoolPtrOutput) +} + +// (Updatable) Indicates whether the keyboard is enabled. +func (o DesktopPoolDevicePolicyPtrOutput) IsKeyboardEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DesktopPoolDevicePolicy) *bool { + if v == nil { + return nil + } + return &v.IsKeyboardEnabled + }).(pulumi.BoolPtrOutput) +} + +// (Updatable) Indicates whether the pointer is enabled. +func (o DesktopPoolDevicePolicyPtrOutput) IsPointerEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DesktopPoolDevicePolicy) *bool { + if v == nil { + return nil + } + return &v.IsPointerEnabled + }).(pulumi.BoolPtrOutput) +} + +// (Updatable) Indicates whether printing is enabled. +func (o DesktopPoolDevicePolicyPtrOutput) IsPrintingEnabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DesktopPoolDevicePolicy) *bool { + if v == nil { + return nil + } + return &v.IsPrintingEnabled + }).(pulumi.BoolPtrOutput) +} + +type DesktopPoolImage struct { + // The OCID of the desktop image. + ImageId string `pulumi:"imageId"` + // The name of the desktop image. + ImageName string `pulumi:"imageName"` +} + +// DesktopPoolImageInput is an input type that accepts DesktopPoolImageArgs and DesktopPoolImageOutput values. +// You can construct a concrete instance of `DesktopPoolImageInput` via: +// +// DesktopPoolImageArgs{...} +type DesktopPoolImageInput interface { + pulumi.Input + + ToDesktopPoolImageOutput() DesktopPoolImageOutput + ToDesktopPoolImageOutputWithContext(context.Context) DesktopPoolImageOutput +} + +type DesktopPoolImageArgs struct { + // The OCID of the desktop image. + ImageId pulumi.StringInput `pulumi:"imageId"` + // The name of the desktop image. + ImageName pulumi.StringInput `pulumi:"imageName"` +} + +func (DesktopPoolImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolImage)(nil)).Elem() +} + +func (i DesktopPoolImageArgs) ToDesktopPoolImageOutput() DesktopPoolImageOutput { + return i.ToDesktopPoolImageOutputWithContext(context.Background()) +} + +func (i DesktopPoolImageArgs) ToDesktopPoolImageOutputWithContext(ctx context.Context) DesktopPoolImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolImageOutput) +} + +func (i DesktopPoolImageArgs) ToDesktopPoolImagePtrOutput() DesktopPoolImagePtrOutput { + return i.ToDesktopPoolImagePtrOutputWithContext(context.Background()) +} + +func (i DesktopPoolImageArgs) ToDesktopPoolImagePtrOutputWithContext(ctx context.Context) DesktopPoolImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolImageOutput).ToDesktopPoolImagePtrOutputWithContext(ctx) +} + +// DesktopPoolImagePtrInput is an input type that accepts DesktopPoolImageArgs, DesktopPoolImagePtr and DesktopPoolImagePtrOutput values. +// You can construct a concrete instance of `DesktopPoolImagePtrInput` via: +// +// DesktopPoolImageArgs{...} +// +// or: +// +// nil +type DesktopPoolImagePtrInput interface { + pulumi.Input + + ToDesktopPoolImagePtrOutput() DesktopPoolImagePtrOutput + ToDesktopPoolImagePtrOutputWithContext(context.Context) DesktopPoolImagePtrOutput +} + +type desktopPoolImagePtrType DesktopPoolImageArgs + +func DesktopPoolImagePtr(v *DesktopPoolImageArgs) DesktopPoolImagePtrInput { + return (*desktopPoolImagePtrType)(v) +} + +func (*desktopPoolImagePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolImage)(nil)).Elem() +} + +func (i *desktopPoolImagePtrType) ToDesktopPoolImagePtrOutput() DesktopPoolImagePtrOutput { + return i.ToDesktopPoolImagePtrOutputWithContext(context.Background()) +} + +func (i *desktopPoolImagePtrType) ToDesktopPoolImagePtrOutputWithContext(ctx context.Context) DesktopPoolImagePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolImagePtrOutput) +} + +type DesktopPoolImageOutput struct{ *pulumi.OutputState } + +func (DesktopPoolImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolImage)(nil)).Elem() +} + +func (o DesktopPoolImageOutput) ToDesktopPoolImageOutput() DesktopPoolImageOutput { + return o +} + +func (o DesktopPoolImageOutput) ToDesktopPoolImageOutputWithContext(ctx context.Context) DesktopPoolImageOutput { + return o +} + +func (o DesktopPoolImageOutput) ToDesktopPoolImagePtrOutput() DesktopPoolImagePtrOutput { + return o.ToDesktopPoolImagePtrOutputWithContext(context.Background()) +} + +func (o DesktopPoolImageOutput) ToDesktopPoolImagePtrOutputWithContext(ctx context.Context) DesktopPoolImagePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DesktopPoolImage) *DesktopPoolImage { + return &v + }).(DesktopPoolImagePtrOutput) +} + +// The OCID of the desktop image. +func (o DesktopPoolImageOutput) ImageId() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolImage) string { return v.ImageId }).(pulumi.StringOutput) +} + +// The name of the desktop image. +func (o DesktopPoolImageOutput) ImageName() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolImage) string { return v.ImageName }).(pulumi.StringOutput) +} + +type DesktopPoolImagePtrOutput struct{ *pulumi.OutputState } + +func (DesktopPoolImagePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolImage)(nil)).Elem() +} + +func (o DesktopPoolImagePtrOutput) ToDesktopPoolImagePtrOutput() DesktopPoolImagePtrOutput { + return o +} + +func (o DesktopPoolImagePtrOutput) ToDesktopPoolImagePtrOutputWithContext(ctx context.Context) DesktopPoolImagePtrOutput { + return o +} + +func (o DesktopPoolImagePtrOutput) Elem() DesktopPoolImageOutput { + return o.ApplyT(func(v *DesktopPoolImage) DesktopPoolImage { + if v != nil { + return *v + } + var ret DesktopPoolImage + return ret + }).(DesktopPoolImageOutput) +} + +// The OCID of the desktop image. +func (o DesktopPoolImagePtrOutput) ImageId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolImage) *string { + if v == nil { + return nil + } + return &v.ImageId + }).(pulumi.StringPtrOutput) +} + +// The name of the desktop image. +func (o DesktopPoolImagePtrOutput) ImageName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolImage) *string { + if v == nil { + return nil + } + return &v.ImageName + }).(pulumi.StringPtrOutput) +} + +type DesktopPoolNetworkConfiguration struct { + // The OCID of the subnet to use for the desktop pool. + SubnetId string `pulumi:"subnetId"` + // The OCID of the VCN used by the desktop pool. + VcnId string `pulumi:"vcnId"` +} + +// DesktopPoolNetworkConfigurationInput is an input type that accepts DesktopPoolNetworkConfigurationArgs and DesktopPoolNetworkConfigurationOutput values. +// You can construct a concrete instance of `DesktopPoolNetworkConfigurationInput` via: +// +// DesktopPoolNetworkConfigurationArgs{...} +type DesktopPoolNetworkConfigurationInput interface { + pulumi.Input + + ToDesktopPoolNetworkConfigurationOutput() DesktopPoolNetworkConfigurationOutput + ToDesktopPoolNetworkConfigurationOutputWithContext(context.Context) DesktopPoolNetworkConfigurationOutput +} + +type DesktopPoolNetworkConfigurationArgs struct { + // The OCID of the subnet to use for the desktop pool. + SubnetId pulumi.StringInput `pulumi:"subnetId"` + // The OCID of the VCN used by the desktop pool. + VcnId pulumi.StringInput `pulumi:"vcnId"` +} + +func (DesktopPoolNetworkConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolNetworkConfiguration)(nil)).Elem() +} + +func (i DesktopPoolNetworkConfigurationArgs) ToDesktopPoolNetworkConfigurationOutput() DesktopPoolNetworkConfigurationOutput { + return i.ToDesktopPoolNetworkConfigurationOutputWithContext(context.Background()) +} + +func (i DesktopPoolNetworkConfigurationArgs) ToDesktopPoolNetworkConfigurationOutputWithContext(ctx context.Context) DesktopPoolNetworkConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolNetworkConfigurationOutput) +} + +func (i DesktopPoolNetworkConfigurationArgs) ToDesktopPoolNetworkConfigurationPtrOutput() DesktopPoolNetworkConfigurationPtrOutput { + return i.ToDesktopPoolNetworkConfigurationPtrOutputWithContext(context.Background()) +} + +func (i DesktopPoolNetworkConfigurationArgs) ToDesktopPoolNetworkConfigurationPtrOutputWithContext(ctx context.Context) DesktopPoolNetworkConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolNetworkConfigurationOutput).ToDesktopPoolNetworkConfigurationPtrOutputWithContext(ctx) +} + +// DesktopPoolNetworkConfigurationPtrInput is an input type that accepts DesktopPoolNetworkConfigurationArgs, DesktopPoolNetworkConfigurationPtr and DesktopPoolNetworkConfigurationPtrOutput values. +// You can construct a concrete instance of `DesktopPoolNetworkConfigurationPtrInput` via: +// +// DesktopPoolNetworkConfigurationArgs{...} +// +// or: +// +// nil +type DesktopPoolNetworkConfigurationPtrInput interface { + pulumi.Input + + ToDesktopPoolNetworkConfigurationPtrOutput() DesktopPoolNetworkConfigurationPtrOutput + ToDesktopPoolNetworkConfigurationPtrOutputWithContext(context.Context) DesktopPoolNetworkConfigurationPtrOutput +} + +type desktopPoolNetworkConfigurationPtrType DesktopPoolNetworkConfigurationArgs + +func DesktopPoolNetworkConfigurationPtr(v *DesktopPoolNetworkConfigurationArgs) DesktopPoolNetworkConfigurationPtrInput { + return (*desktopPoolNetworkConfigurationPtrType)(v) +} + +func (*desktopPoolNetworkConfigurationPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolNetworkConfiguration)(nil)).Elem() +} + +func (i *desktopPoolNetworkConfigurationPtrType) ToDesktopPoolNetworkConfigurationPtrOutput() DesktopPoolNetworkConfigurationPtrOutput { + return i.ToDesktopPoolNetworkConfigurationPtrOutputWithContext(context.Background()) +} + +func (i *desktopPoolNetworkConfigurationPtrType) ToDesktopPoolNetworkConfigurationPtrOutputWithContext(ctx context.Context) DesktopPoolNetworkConfigurationPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(DesktopPoolNetworkConfigurationPtrOutput) +} + +type DesktopPoolNetworkConfigurationOutput struct{ *pulumi.OutputState } + +func (DesktopPoolNetworkConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*DesktopPoolNetworkConfiguration)(nil)).Elem() +} + +func (o DesktopPoolNetworkConfigurationOutput) ToDesktopPoolNetworkConfigurationOutput() DesktopPoolNetworkConfigurationOutput { + return o +} + +func (o DesktopPoolNetworkConfigurationOutput) ToDesktopPoolNetworkConfigurationOutputWithContext(ctx context.Context) DesktopPoolNetworkConfigurationOutput { + return o +} + +func (o DesktopPoolNetworkConfigurationOutput) ToDesktopPoolNetworkConfigurationPtrOutput() DesktopPoolNetworkConfigurationPtrOutput { + return o.ToDesktopPoolNetworkConfigurationPtrOutputWithContext(context.Background()) +} + +func (o DesktopPoolNetworkConfigurationOutput) ToDesktopPoolNetworkConfigurationPtrOutputWithContext(ctx context.Context) DesktopPoolNetworkConfigurationPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v DesktopPoolNetworkConfiguration) *DesktopPoolNetworkConfiguration { + return &v + }).(DesktopPoolNetworkConfigurationPtrOutput) +} + +// The OCID of the subnet to use for the desktop pool. +func (o DesktopPoolNetworkConfigurationOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolNetworkConfiguration) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// The OCID of the VCN used by the desktop pool. +func (o DesktopPoolNetworkConfigurationOutput) VcnId() pulumi.StringOutput { + return o.ApplyT(func(v DesktopPoolNetworkConfiguration) string { return v.VcnId }).(pulumi.StringOutput) +} + +type DesktopPoolNetworkConfigurationPtrOutput struct{ *pulumi.OutputState } + +func (DesktopPoolNetworkConfigurationPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**DesktopPoolNetworkConfiguration)(nil)).Elem() +} + +func (o DesktopPoolNetworkConfigurationPtrOutput) ToDesktopPoolNetworkConfigurationPtrOutput() DesktopPoolNetworkConfigurationPtrOutput { + return o +} + +func (o DesktopPoolNetworkConfigurationPtrOutput) ToDesktopPoolNetworkConfigurationPtrOutputWithContext(ctx context.Context) DesktopPoolNetworkConfigurationPtrOutput { + return o +} + +func (o DesktopPoolNetworkConfigurationPtrOutput) Elem() DesktopPoolNetworkConfigurationOutput { + return o.ApplyT(func(v *DesktopPoolNetworkConfiguration) DesktopPoolNetworkConfiguration { + if v != nil { + return *v + } + var ret DesktopPoolNetworkConfiguration + return ret + }).(DesktopPoolNetworkConfigurationOutput) +} + +// The OCID of the subnet to use for the desktop pool. +func (o DesktopPoolNetworkConfigurationPtrOutput) SubnetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolNetworkConfiguration) *string { + if v == nil { + return nil + } + return &v.SubnetId + }).(pulumi.StringPtrOutput) +} + +// The OCID of the VCN used by the desktop pool. +func (o DesktopPoolNetworkConfigurationPtrOutput) VcnId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DesktopPoolNetworkConfiguration) *string { + if v == nil { + return nil + } + return &v.VcnId + }).(pulumi.StringPtrOutput) +} + +type GetDesktopDevicePolicy struct { + // The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + AudioMode string `pulumi:"audioMode"` + // The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + CdmMode string `pulumi:"cdmMode"` + // The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + ClipboardMode string `pulumi:"clipboardMode"` + // Indicates whether the display is enabled. + IsDisplayEnabled bool `pulumi:"isDisplayEnabled"` + // Indicates whether the keyboard is enabled. + IsKeyboardEnabled bool `pulumi:"isKeyboardEnabled"` + // Indicates whether the pointer is enabled. + IsPointerEnabled bool `pulumi:"isPointerEnabled"` + // Indicates whether printing is enabled. + IsPrintingEnabled bool `pulumi:"isPrintingEnabled"` +} + +// GetDesktopDevicePolicyInput is an input type that accepts GetDesktopDevicePolicyArgs and GetDesktopDevicePolicyOutput values. +// You can construct a concrete instance of `GetDesktopDevicePolicyInput` via: +// +// GetDesktopDevicePolicyArgs{...} +type GetDesktopDevicePolicyInput interface { + pulumi.Input + + ToGetDesktopDevicePolicyOutput() GetDesktopDevicePolicyOutput + ToGetDesktopDevicePolicyOutputWithContext(context.Context) GetDesktopDevicePolicyOutput +} + +type GetDesktopDevicePolicyArgs struct { + // The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + AudioMode pulumi.StringInput `pulumi:"audioMode"` + // The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + CdmMode pulumi.StringInput `pulumi:"cdmMode"` + // The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + ClipboardMode pulumi.StringInput `pulumi:"clipboardMode"` + // Indicates whether the display is enabled. + IsDisplayEnabled pulumi.BoolInput `pulumi:"isDisplayEnabled"` + // Indicates whether the keyboard is enabled. + IsKeyboardEnabled pulumi.BoolInput `pulumi:"isKeyboardEnabled"` + // Indicates whether the pointer is enabled. + IsPointerEnabled pulumi.BoolInput `pulumi:"isPointerEnabled"` + // Indicates whether printing is enabled. + IsPrintingEnabled pulumi.BoolInput `pulumi:"isPrintingEnabled"` +} + +func (GetDesktopDevicePolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopDevicePolicy)(nil)).Elem() +} + +func (i GetDesktopDevicePolicyArgs) ToGetDesktopDevicePolicyOutput() GetDesktopDevicePolicyOutput { + return i.ToGetDesktopDevicePolicyOutputWithContext(context.Background()) +} + +func (i GetDesktopDevicePolicyArgs) ToGetDesktopDevicePolicyOutputWithContext(ctx context.Context) GetDesktopDevicePolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopDevicePolicyOutput) +} + +// GetDesktopDevicePolicyArrayInput is an input type that accepts GetDesktopDevicePolicyArray and GetDesktopDevicePolicyArrayOutput values. +// You can construct a concrete instance of `GetDesktopDevicePolicyArrayInput` via: +// +// GetDesktopDevicePolicyArray{ GetDesktopDevicePolicyArgs{...} } +type GetDesktopDevicePolicyArrayInput interface { + pulumi.Input + + ToGetDesktopDevicePolicyArrayOutput() GetDesktopDevicePolicyArrayOutput + ToGetDesktopDevicePolicyArrayOutputWithContext(context.Context) GetDesktopDevicePolicyArrayOutput +} + +type GetDesktopDevicePolicyArray []GetDesktopDevicePolicyInput + +func (GetDesktopDevicePolicyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopDevicePolicy)(nil)).Elem() +} + +func (i GetDesktopDevicePolicyArray) ToGetDesktopDevicePolicyArrayOutput() GetDesktopDevicePolicyArrayOutput { + return i.ToGetDesktopDevicePolicyArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopDevicePolicyArray) ToGetDesktopDevicePolicyArrayOutputWithContext(ctx context.Context) GetDesktopDevicePolicyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopDevicePolicyArrayOutput) +} + +type GetDesktopDevicePolicyOutput struct{ *pulumi.OutputState } + +func (GetDesktopDevicePolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopDevicePolicy)(nil)).Elem() +} + +func (o GetDesktopDevicePolicyOutput) ToGetDesktopDevicePolicyOutput() GetDesktopDevicePolicyOutput { + return o +} + +func (o GetDesktopDevicePolicyOutput) ToGetDesktopDevicePolicyOutputWithContext(ctx context.Context) GetDesktopDevicePolicyOutput { + return o +} + +// The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. +func (o GetDesktopDevicePolicyOutput) AudioMode() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopDevicePolicy) string { return v.AudioMode }).(pulumi.StringOutput) +} + +// The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. +func (o GetDesktopDevicePolicyOutput) CdmMode() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopDevicePolicy) string { return v.CdmMode }).(pulumi.StringOutput) +} + +// The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. +func (o GetDesktopDevicePolicyOutput) ClipboardMode() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopDevicePolicy) string { return v.ClipboardMode }).(pulumi.StringOutput) +} + +// Indicates whether the display is enabled. +func (o GetDesktopDevicePolicyOutput) IsDisplayEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopDevicePolicy) bool { return v.IsDisplayEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether the keyboard is enabled. +func (o GetDesktopDevicePolicyOutput) IsKeyboardEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopDevicePolicy) bool { return v.IsKeyboardEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether the pointer is enabled. +func (o GetDesktopDevicePolicyOutput) IsPointerEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopDevicePolicy) bool { return v.IsPointerEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether printing is enabled. +func (o GetDesktopDevicePolicyOutput) IsPrintingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopDevicePolicy) bool { return v.IsPrintingEnabled }).(pulumi.BoolOutput) +} + +type GetDesktopDevicePolicyArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopDevicePolicyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopDevicePolicy)(nil)).Elem() +} + +func (o GetDesktopDevicePolicyArrayOutput) ToGetDesktopDevicePolicyArrayOutput() GetDesktopDevicePolicyArrayOutput { + return o +} + +func (o GetDesktopDevicePolicyArrayOutput) ToGetDesktopDevicePolicyArrayOutputWithContext(ctx context.Context) GetDesktopDevicePolicyArrayOutput { + return o +} + +func (o GetDesktopDevicePolicyArrayOutput) Index(i pulumi.IntInput) GetDesktopDevicePolicyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopDevicePolicy { + return vs[0].([]GetDesktopDevicePolicy)[vs[1].(int)] + }).(GetDesktopDevicePolicyOutput) +} + +type GetDesktopHostingOption struct { + // The connection address of the desktop. + ConnectAddress string `pulumi:"connectAddress"` + // Provides information about the desktop image. + Images []GetDesktopHostingOptionImage `pulumi:"images"` +} + +// GetDesktopHostingOptionInput is an input type that accepts GetDesktopHostingOptionArgs and GetDesktopHostingOptionOutput values. +// You can construct a concrete instance of `GetDesktopHostingOptionInput` via: +// +// GetDesktopHostingOptionArgs{...} +type GetDesktopHostingOptionInput interface { + pulumi.Input + + ToGetDesktopHostingOptionOutput() GetDesktopHostingOptionOutput + ToGetDesktopHostingOptionOutputWithContext(context.Context) GetDesktopHostingOptionOutput +} + +type GetDesktopHostingOptionArgs struct { + // The connection address of the desktop. + ConnectAddress pulumi.StringInput `pulumi:"connectAddress"` + // Provides information about the desktop image. + Images GetDesktopHostingOptionImageArrayInput `pulumi:"images"` +} + +func (GetDesktopHostingOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopHostingOption)(nil)).Elem() +} + +func (i GetDesktopHostingOptionArgs) ToGetDesktopHostingOptionOutput() GetDesktopHostingOptionOutput { + return i.ToGetDesktopHostingOptionOutputWithContext(context.Background()) +} + +func (i GetDesktopHostingOptionArgs) ToGetDesktopHostingOptionOutputWithContext(ctx context.Context) GetDesktopHostingOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopHostingOptionOutput) +} + +// GetDesktopHostingOptionArrayInput is an input type that accepts GetDesktopHostingOptionArray and GetDesktopHostingOptionArrayOutput values. +// You can construct a concrete instance of `GetDesktopHostingOptionArrayInput` via: +// +// GetDesktopHostingOptionArray{ GetDesktopHostingOptionArgs{...} } +type GetDesktopHostingOptionArrayInput interface { + pulumi.Input + + ToGetDesktopHostingOptionArrayOutput() GetDesktopHostingOptionArrayOutput + ToGetDesktopHostingOptionArrayOutputWithContext(context.Context) GetDesktopHostingOptionArrayOutput +} + +type GetDesktopHostingOptionArray []GetDesktopHostingOptionInput + +func (GetDesktopHostingOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopHostingOption)(nil)).Elem() +} + +func (i GetDesktopHostingOptionArray) ToGetDesktopHostingOptionArrayOutput() GetDesktopHostingOptionArrayOutput { + return i.ToGetDesktopHostingOptionArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopHostingOptionArray) ToGetDesktopHostingOptionArrayOutputWithContext(ctx context.Context) GetDesktopHostingOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopHostingOptionArrayOutput) +} + +type GetDesktopHostingOptionOutput struct{ *pulumi.OutputState } + +func (GetDesktopHostingOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopHostingOption)(nil)).Elem() +} + +func (o GetDesktopHostingOptionOutput) ToGetDesktopHostingOptionOutput() GetDesktopHostingOptionOutput { + return o +} + +func (o GetDesktopHostingOptionOutput) ToGetDesktopHostingOptionOutputWithContext(ctx context.Context) GetDesktopHostingOptionOutput { + return o +} + +// The connection address of the desktop. +func (o GetDesktopHostingOptionOutput) ConnectAddress() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopHostingOption) string { return v.ConnectAddress }).(pulumi.StringOutput) +} + +// Provides information about the desktop image. +func (o GetDesktopHostingOptionOutput) Images() GetDesktopHostingOptionImageArrayOutput { + return o.ApplyT(func(v GetDesktopHostingOption) []GetDesktopHostingOptionImage { return v.Images }).(GetDesktopHostingOptionImageArrayOutput) +} + +type GetDesktopHostingOptionArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopHostingOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopHostingOption)(nil)).Elem() +} + +func (o GetDesktopHostingOptionArrayOutput) ToGetDesktopHostingOptionArrayOutput() GetDesktopHostingOptionArrayOutput { + return o +} + +func (o GetDesktopHostingOptionArrayOutput) ToGetDesktopHostingOptionArrayOutputWithContext(ctx context.Context) GetDesktopHostingOptionArrayOutput { + return o +} + +func (o GetDesktopHostingOptionArrayOutput) Index(i pulumi.IntInput) GetDesktopHostingOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopHostingOption { + return vs[0].([]GetDesktopHostingOption)[vs[1].(int)] + }).(GetDesktopHostingOptionOutput) +} + +type GetDesktopHostingOptionImage struct { + // The OCID of the desktop image. + ImageId string `pulumi:"imageId"` + // The name of the desktop image. + ImageName string `pulumi:"imageName"` +} + +// GetDesktopHostingOptionImageInput is an input type that accepts GetDesktopHostingOptionImageArgs and GetDesktopHostingOptionImageOutput values. +// You can construct a concrete instance of `GetDesktopHostingOptionImageInput` via: +// +// GetDesktopHostingOptionImageArgs{...} +type GetDesktopHostingOptionImageInput interface { + pulumi.Input + + ToGetDesktopHostingOptionImageOutput() GetDesktopHostingOptionImageOutput + ToGetDesktopHostingOptionImageOutputWithContext(context.Context) GetDesktopHostingOptionImageOutput +} + +type GetDesktopHostingOptionImageArgs struct { + // The OCID of the desktop image. + ImageId pulumi.StringInput `pulumi:"imageId"` + // The name of the desktop image. + ImageName pulumi.StringInput `pulumi:"imageName"` +} + +func (GetDesktopHostingOptionImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopHostingOptionImage)(nil)).Elem() +} + +func (i GetDesktopHostingOptionImageArgs) ToGetDesktopHostingOptionImageOutput() GetDesktopHostingOptionImageOutput { + return i.ToGetDesktopHostingOptionImageOutputWithContext(context.Background()) +} + +func (i GetDesktopHostingOptionImageArgs) ToGetDesktopHostingOptionImageOutputWithContext(ctx context.Context) GetDesktopHostingOptionImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopHostingOptionImageOutput) +} + +// GetDesktopHostingOptionImageArrayInput is an input type that accepts GetDesktopHostingOptionImageArray and GetDesktopHostingOptionImageArrayOutput values. +// You can construct a concrete instance of `GetDesktopHostingOptionImageArrayInput` via: +// +// GetDesktopHostingOptionImageArray{ GetDesktopHostingOptionImageArgs{...} } +type GetDesktopHostingOptionImageArrayInput interface { + pulumi.Input + + ToGetDesktopHostingOptionImageArrayOutput() GetDesktopHostingOptionImageArrayOutput + ToGetDesktopHostingOptionImageArrayOutputWithContext(context.Context) GetDesktopHostingOptionImageArrayOutput +} + +type GetDesktopHostingOptionImageArray []GetDesktopHostingOptionImageInput + +func (GetDesktopHostingOptionImageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopHostingOptionImage)(nil)).Elem() +} + +func (i GetDesktopHostingOptionImageArray) ToGetDesktopHostingOptionImageArrayOutput() GetDesktopHostingOptionImageArrayOutput { + return i.ToGetDesktopHostingOptionImageArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopHostingOptionImageArray) ToGetDesktopHostingOptionImageArrayOutputWithContext(ctx context.Context) GetDesktopHostingOptionImageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopHostingOptionImageArrayOutput) +} + +type GetDesktopHostingOptionImageOutput struct{ *pulumi.OutputState } + +func (GetDesktopHostingOptionImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopHostingOptionImage)(nil)).Elem() +} + +func (o GetDesktopHostingOptionImageOutput) ToGetDesktopHostingOptionImageOutput() GetDesktopHostingOptionImageOutput { + return o +} + +func (o GetDesktopHostingOptionImageOutput) ToGetDesktopHostingOptionImageOutputWithContext(ctx context.Context) GetDesktopHostingOptionImageOutput { + return o +} + +// The OCID of the desktop image. +func (o GetDesktopHostingOptionImageOutput) ImageId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopHostingOptionImage) string { return v.ImageId }).(pulumi.StringOutput) +} + +// The name of the desktop image. +func (o GetDesktopHostingOptionImageOutput) ImageName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopHostingOptionImage) string { return v.ImageName }).(pulumi.StringOutput) +} + +type GetDesktopHostingOptionImageArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopHostingOptionImageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopHostingOptionImage)(nil)).Elem() +} + +func (o GetDesktopHostingOptionImageArrayOutput) ToGetDesktopHostingOptionImageArrayOutput() GetDesktopHostingOptionImageArrayOutput { + return o +} + +func (o GetDesktopHostingOptionImageArrayOutput) ToGetDesktopHostingOptionImageArrayOutputWithContext(ctx context.Context) GetDesktopHostingOptionImageArrayOutput { + return o +} + +func (o GetDesktopHostingOptionImageArrayOutput) Index(i pulumi.IntInput) GetDesktopHostingOptionImageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopHostingOptionImage { + return vs[0].([]GetDesktopHostingOptionImage)[vs[1].(int)] + }).(GetDesktopHostingOptionImageOutput) +} + +type GetDesktopPoolAvailabilityPolicy struct { + // Provides the schedule information for a desktop. + StartSchedules []GetDesktopPoolAvailabilityPolicyStartSchedule `pulumi:"startSchedules"` + // Provides the schedule information for a desktop. + StopSchedules []GetDesktopPoolAvailabilityPolicyStopSchedule `pulumi:"stopSchedules"` +} + +// GetDesktopPoolAvailabilityPolicyInput is an input type that accepts GetDesktopPoolAvailabilityPolicyArgs and GetDesktopPoolAvailabilityPolicyOutput values. +// You can construct a concrete instance of `GetDesktopPoolAvailabilityPolicyInput` via: +// +// GetDesktopPoolAvailabilityPolicyArgs{...} +type GetDesktopPoolAvailabilityPolicyInput interface { + pulumi.Input + + ToGetDesktopPoolAvailabilityPolicyOutput() GetDesktopPoolAvailabilityPolicyOutput + ToGetDesktopPoolAvailabilityPolicyOutputWithContext(context.Context) GetDesktopPoolAvailabilityPolicyOutput +} + +type GetDesktopPoolAvailabilityPolicyArgs struct { + // Provides the schedule information for a desktop. + StartSchedules GetDesktopPoolAvailabilityPolicyStartScheduleArrayInput `pulumi:"startSchedules"` + // Provides the schedule information for a desktop. + StopSchedules GetDesktopPoolAvailabilityPolicyStopScheduleArrayInput `pulumi:"stopSchedules"` +} + +func (GetDesktopPoolAvailabilityPolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolAvailabilityPolicy)(nil)).Elem() +} + +func (i GetDesktopPoolAvailabilityPolicyArgs) ToGetDesktopPoolAvailabilityPolicyOutput() GetDesktopPoolAvailabilityPolicyOutput { + return i.ToGetDesktopPoolAvailabilityPolicyOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolAvailabilityPolicyArgs) ToGetDesktopPoolAvailabilityPolicyOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolAvailabilityPolicyOutput) +} + +// GetDesktopPoolAvailabilityPolicyArrayInput is an input type that accepts GetDesktopPoolAvailabilityPolicyArray and GetDesktopPoolAvailabilityPolicyArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolAvailabilityPolicyArrayInput` via: +// +// GetDesktopPoolAvailabilityPolicyArray{ GetDesktopPoolAvailabilityPolicyArgs{...} } +type GetDesktopPoolAvailabilityPolicyArrayInput interface { + pulumi.Input + + ToGetDesktopPoolAvailabilityPolicyArrayOutput() GetDesktopPoolAvailabilityPolicyArrayOutput + ToGetDesktopPoolAvailabilityPolicyArrayOutputWithContext(context.Context) GetDesktopPoolAvailabilityPolicyArrayOutput +} + +type GetDesktopPoolAvailabilityPolicyArray []GetDesktopPoolAvailabilityPolicyInput + +func (GetDesktopPoolAvailabilityPolicyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolAvailabilityPolicy)(nil)).Elem() +} + +func (i GetDesktopPoolAvailabilityPolicyArray) ToGetDesktopPoolAvailabilityPolicyArrayOutput() GetDesktopPoolAvailabilityPolicyArrayOutput { + return i.ToGetDesktopPoolAvailabilityPolicyArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolAvailabilityPolicyArray) ToGetDesktopPoolAvailabilityPolicyArrayOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolAvailabilityPolicyArrayOutput) +} + +type GetDesktopPoolAvailabilityPolicyOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolAvailabilityPolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolAvailabilityPolicy)(nil)).Elem() +} + +func (o GetDesktopPoolAvailabilityPolicyOutput) ToGetDesktopPoolAvailabilityPolicyOutput() GetDesktopPoolAvailabilityPolicyOutput { + return o +} + +func (o GetDesktopPoolAvailabilityPolicyOutput) ToGetDesktopPoolAvailabilityPolicyOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyOutput { + return o +} + +// Provides the schedule information for a desktop. +func (o GetDesktopPoolAvailabilityPolicyOutput) StartSchedules() GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput { + return o.ApplyT(func(v GetDesktopPoolAvailabilityPolicy) []GetDesktopPoolAvailabilityPolicyStartSchedule { + return v.StartSchedules + }).(GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput) +} + +// Provides the schedule information for a desktop. +func (o GetDesktopPoolAvailabilityPolicyOutput) StopSchedules() GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput { + return o.ApplyT(func(v GetDesktopPoolAvailabilityPolicy) []GetDesktopPoolAvailabilityPolicyStopSchedule { + return v.StopSchedules + }).(GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput) +} + +type GetDesktopPoolAvailabilityPolicyArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolAvailabilityPolicyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolAvailabilityPolicy)(nil)).Elem() +} + +func (o GetDesktopPoolAvailabilityPolicyArrayOutput) ToGetDesktopPoolAvailabilityPolicyArrayOutput() GetDesktopPoolAvailabilityPolicyArrayOutput { + return o +} + +func (o GetDesktopPoolAvailabilityPolicyArrayOutput) ToGetDesktopPoolAvailabilityPolicyArrayOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyArrayOutput { + return o +} + +func (o GetDesktopPoolAvailabilityPolicyArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolAvailabilityPolicyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolAvailabilityPolicy { + return vs[0].([]GetDesktopPoolAvailabilityPolicy)[vs[1].(int)] + }).(GetDesktopPoolAvailabilityPolicyOutput) +} + +type GetDesktopPoolAvailabilityPolicyStartSchedule struct { + // A cron expression describing the desktop's schedule. + CronExpression string `pulumi:"cronExpression"` + // The timezone of the desktop's schedule. + Timezone string `pulumi:"timezone"` +} + +// GetDesktopPoolAvailabilityPolicyStartScheduleInput is an input type that accepts GetDesktopPoolAvailabilityPolicyStartScheduleArgs and GetDesktopPoolAvailabilityPolicyStartScheduleOutput values. +// You can construct a concrete instance of `GetDesktopPoolAvailabilityPolicyStartScheduleInput` via: +// +// GetDesktopPoolAvailabilityPolicyStartScheduleArgs{...} +type GetDesktopPoolAvailabilityPolicyStartScheduleInput interface { + pulumi.Input + + ToGetDesktopPoolAvailabilityPolicyStartScheduleOutput() GetDesktopPoolAvailabilityPolicyStartScheduleOutput + ToGetDesktopPoolAvailabilityPolicyStartScheduleOutputWithContext(context.Context) GetDesktopPoolAvailabilityPolicyStartScheduleOutput +} + +type GetDesktopPoolAvailabilityPolicyStartScheduleArgs struct { + // A cron expression describing the desktop's schedule. + CronExpression pulumi.StringInput `pulumi:"cronExpression"` + // The timezone of the desktop's schedule. + Timezone pulumi.StringInput `pulumi:"timezone"` +} + +func (GetDesktopPoolAvailabilityPolicyStartScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (i GetDesktopPoolAvailabilityPolicyStartScheduleArgs) ToGetDesktopPoolAvailabilityPolicyStartScheduleOutput() GetDesktopPoolAvailabilityPolicyStartScheduleOutput { + return i.ToGetDesktopPoolAvailabilityPolicyStartScheduleOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolAvailabilityPolicyStartScheduleArgs) ToGetDesktopPoolAvailabilityPolicyStartScheduleOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyStartScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolAvailabilityPolicyStartScheduleOutput) +} + +// GetDesktopPoolAvailabilityPolicyStartScheduleArrayInput is an input type that accepts GetDesktopPoolAvailabilityPolicyStartScheduleArray and GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolAvailabilityPolicyStartScheduleArrayInput` via: +// +// GetDesktopPoolAvailabilityPolicyStartScheduleArray{ GetDesktopPoolAvailabilityPolicyStartScheduleArgs{...} } +type GetDesktopPoolAvailabilityPolicyStartScheduleArrayInput interface { + pulumi.Input + + ToGetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput() GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput + ToGetDesktopPoolAvailabilityPolicyStartScheduleArrayOutputWithContext(context.Context) GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput +} + +type GetDesktopPoolAvailabilityPolicyStartScheduleArray []GetDesktopPoolAvailabilityPolicyStartScheduleInput + +func (GetDesktopPoolAvailabilityPolicyStartScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (i GetDesktopPoolAvailabilityPolicyStartScheduleArray) ToGetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput() GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput { + return i.ToGetDesktopPoolAvailabilityPolicyStartScheduleArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolAvailabilityPolicyStartScheduleArray) ToGetDesktopPoolAvailabilityPolicyStartScheduleArrayOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput) +} + +type GetDesktopPoolAvailabilityPolicyStartScheduleOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolAvailabilityPolicyStartScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (o GetDesktopPoolAvailabilityPolicyStartScheduleOutput) ToGetDesktopPoolAvailabilityPolicyStartScheduleOutput() GetDesktopPoolAvailabilityPolicyStartScheduleOutput { + return o +} + +func (o GetDesktopPoolAvailabilityPolicyStartScheduleOutput) ToGetDesktopPoolAvailabilityPolicyStartScheduleOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyStartScheduleOutput { + return o +} + +// A cron expression describing the desktop's schedule. +func (o GetDesktopPoolAvailabilityPolicyStartScheduleOutput) CronExpression() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolAvailabilityPolicyStartSchedule) string { return v.CronExpression }).(pulumi.StringOutput) +} + +// The timezone of the desktop's schedule. +func (o GetDesktopPoolAvailabilityPolicyStartScheduleOutput) Timezone() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolAvailabilityPolicyStartSchedule) string { return v.Timezone }).(pulumi.StringOutput) +} + +type GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (o GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput) ToGetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput() GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput { + return o +} + +func (o GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput) ToGetDesktopPoolAvailabilityPolicyStartScheduleArrayOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput { + return o +} + +func (o GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolAvailabilityPolicyStartScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolAvailabilityPolicyStartSchedule { + return vs[0].([]GetDesktopPoolAvailabilityPolicyStartSchedule)[vs[1].(int)] + }).(GetDesktopPoolAvailabilityPolicyStartScheduleOutput) +} + +type GetDesktopPoolAvailabilityPolicyStopSchedule struct { + // A cron expression describing the desktop's schedule. + CronExpression string `pulumi:"cronExpression"` + // The timezone of the desktop's schedule. + Timezone string `pulumi:"timezone"` +} + +// GetDesktopPoolAvailabilityPolicyStopScheduleInput is an input type that accepts GetDesktopPoolAvailabilityPolicyStopScheduleArgs and GetDesktopPoolAvailabilityPolicyStopScheduleOutput values. +// You can construct a concrete instance of `GetDesktopPoolAvailabilityPolicyStopScheduleInput` via: +// +// GetDesktopPoolAvailabilityPolicyStopScheduleArgs{...} +type GetDesktopPoolAvailabilityPolicyStopScheduleInput interface { + pulumi.Input + + ToGetDesktopPoolAvailabilityPolicyStopScheduleOutput() GetDesktopPoolAvailabilityPolicyStopScheduleOutput + ToGetDesktopPoolAvailabilityPolicyStopScheduleOutputWithContext(context.Context) GetDesktopPoolAvailabilityPolicyStopScheduleOutput +} + +type GetDesktopPoolAvailabilityPolicyStopScheduleArgs struct { + // A cron expression describing the desktop's schedule. + CronExpression pulumi.StringInput `pulumi:"cronExpression"` + // The timezone of the desktop's schedule. + Timezone pulumi.StringInput `pulumi:"timezone"` +} + +func (GetDesktopPoolAvailabilityPolicyStopScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (i GetDesktopPoolAvailabilityPolicyStopScheduleArgs) ToGetDesktopPoolAvailabilityPolicyStopScheduleOutput() GetDesktopPoolAvailabilityPolicyStopScheduleOutput { + return i.ToGetDesktopPoolAvailabilityPolicyStopScheduleOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolAvailabilityPolicyStopScheduleArgs) ToGetDesktopPoolAvailabilityPolicyStopScheduleOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyStopScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolAvailabilityPolicyStopScheduleOutput) +} + +// GetDesktopPoolAvailabilityPolicyStopScheduleArrayInput is an input type that accepts GetDesktopPoolAvailabilityPolicyStopScheduleArray and GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolAvailabilityPolicyStopScheduleArrayInput` via: +// +// GetDesktopPoolAvailabilityPolicyStopScheduleArray{ GetDesktopPoolAvailabilityPolicyStopScheduleArgs{...} } +type GetDesktopPoolAvailabilityPolicyStopScheduleArrayInput interface { + pulumi.Input + + ToGetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput() GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput + ToGetDesktopPoolAvailabilityPolicyStopScheduleArrayOutputWithContext(context.Context) GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput +} + +type GetDesktopPoolAvailabilityPolicyStopScheduleArray []GetDesktopPoolAvailabilityPolicyStopScheduleInput + +func (GetDesktopPoolAvailabilityPolicyStopScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (i GetDesktopPoolAvailabilityPolicyStopScheduleArray) ToGetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput() GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput { + return i.ToGetDesktopPoolAvailabilityPolicyStopScheduleArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolAvailabilityPolicyStopScheduleArray) ToGetDesktopPoolAvailabilityPolicyStopScheduleArrayOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput) +} + +type GetDesktopPoolAvailabilityPolicyStopScheduleOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolAvailabilityPolicyStopScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (o GetDesktopPoolAvailabilityPolicyStopScheduleOutput) ToGetDesktopPoolAvailabilityPolicyStopScheduleOutput() GetDesktopPoolAvailabilityPolicyStopScheduleOutput { + return o +} + +func (o GetDesktopPoolAvailabilityPolicyStopScheduleOutput) ToGetDesktopPoolAvailabilityPolicyStopScheduleOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyStopScheduleOutput { + return o +} + +// A cron expression describing the desktop's schedule. +func (o GetDesktopPoolAvailabilityPolicyStopScheduleOutput) CronExpression() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolAvailabilityPolicyStopSchedule) string { return v.CronExpression }).(pulumi.StringOutput) +} + +// The timezone of the desktop's schedule. +func (o GetDesktopPoolAvailabilityPolicyStopScheduleOutput) Timezone() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolAvailabilityPolicyStopSchedule) string { return v.Timezone }).(pulumi.StringOutput) +} + +type GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (o GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput) ToGetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput() GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput { + return o +} + +func (o GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput) ToGetDesktopPoolAvailabilityPolicyStopScheduleArrayOutputWithContext(ctx context.Context) GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput { + return o +} + +func (o GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolAvailabilityPolicyStopScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolAvailabilityPolicyStopSchedule { + return vs[0].([]GetDesktopPoolAvailabilityPolicyStopSchedule)[vs[1].(int)] + }).(GetDesktopPoolAvailabilityPolicyStopScheduleOutput) +} + +type GetDesktopPoolDesktopsDesktopPoolDesktopCollection struct { + // A list of desktops. + Items []GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem `pulumi:"items"` +} + +// GetDesktopPoolDesktopsDesktopPoolDesktopCollectionInput is an input type that accepts GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArgs and GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput values. +// You can construct a concrete instance of `GetDesktopPoolDesktopsDesktopPoolDesktopCollectionInput` via: +// +// GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArgs{...} +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionInput interface { + pulumi.Input + + ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput + ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutputWithContext(context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput +} + +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArgs struct { + // A list of desktops. + Items GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolDesktopsDesktopPoolDesktopCollection)(nil)).Elem() +} + +func (i GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArgs) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput { + return i.ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArgs) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput) +} + +// GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayInput is an input type that accepts GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArray and GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayInput` via: +// +// GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArray{ GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArgs{...} } +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayInput interface { + pulumi.Input + + ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput + ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutputWithContext(context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput +} + +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArray []GetDesktopPoolDesktopsDesktopPoolDesktopCollectionInput + +func (GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolDesktopsDesktopPoolDesktopCollection)(nil)).Elem() +} + +func (i GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArray) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput { + return i.ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArray) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput) +} + +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolDesktopsDesktopPoolDesktopCollection)(nil)).Elem() +} + +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput { + return o +} + +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput { + return o +} + +// A list of desktops. +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput) Items() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsDesktopPoolDesktopCollection) []GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem { + return v.Items + }).(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput) +} + +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolDesktopsDesktopPoolDesktopCollection)(nil)).Elem() +} + +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput { + return o +} + +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput { + return o +} + +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolDesktopsDesktopPoolDesktopCollection { + return vs[0].([]GetDesktopPoolDesktopsDesktopPoolDesktopCollection)[vs[1].(int)] + }).(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput) +} + +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem struct { + // 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]string `pulumi:"definedTags"` + // The OCID of the desktop. + DesktopId string `pulumi:"desktopId"` + // 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]string `pulumi:"freeformTags"` + // The OCID of the compute resource used by this desktop. + InstanceId string `pulumi:"instanceId"` + // Indicates whether the desktop is assigned to a user. + IsAssigned bool `pulumi:"isAssigned"` + // A filter to return only results with the given lifecycleState. + State string `pulumi:"state"` + // The date and time the resource was created. + TimeCreated string `pulumi:"timeCreated"` + // The owner of the desktop. + UserName string `pulumi:"userName"` +} + +// GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemInput is an input type that accepts GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArgs and GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput values. +// You can construct a concrete instance of `GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemInput` via: +// +// GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArgs{...} +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemInput interface { + pulumi.Input + + ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput + ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutputWithContext(context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput +} + +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArgs struct { + // 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.StringMapInput `pulumi:"definedTags"` + // The OCID of the desktop. + DesktopId pulumi.StringInput `pulumi:"desktopId"` + // 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.StringMapInput `pulumi:"freeformTags"` + // The OCID of the compute resource used by this desktop. + InstanceId pulumi.StringInput `pulumi:"instanceId"` + // Indicates whether the desktop is assigned to a user. + IsAssigned pulumi.BoolInput `pulumi:"isAssigned"` + // A filter to return only results with the given lifecycleState. + State pulumi.StringInput `pulumi:"state"` + // The date and time the resource was created. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The owner of the desktop. + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem)(nil)).Elem() +} + +func (i GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArgs) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput { + return i.ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArgs) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) +} + +// GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayInput is an input type that accepts GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArray and GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayInput` via: +// +// GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArray{ GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArgs{...} } +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayInput interface { + pulumi.Input + + ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput + ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutputWithContext(context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput +} + +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArray []GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemInput + +func (GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem)(nil)).Elem() +} + +func (i GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArray) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput { + return i.ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArray) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput) +} + +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem)(nil)).Elem() +} + +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput { + return o +} + +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput { + return o +} + +// 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 GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// The OCID of the desktop. +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) DesktopId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem) string { return v.DesktopId }).(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 GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem) map[string]string { + return v.FreeformTags + }).(pulumi.StringMapOutput) +} + +// The OCID of the compute resource used by this desktop. +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) InstanceId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem) string { return v.InstanceId }).(pulumi.StringOutput) +} + +// Indicates whether the desktop is assigned to a user. +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) IsAssigned() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem) bool { return v.IsAssigned }).(pulumi.BoolOutput) +} + +// A filter to return only results with the given lifecycleState. +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// The date and time the resource was created. +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The owner of the desktop. +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem) string { return v.UserName }).(pulumi.StringOutput) +} + +type GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem)(nil)).Elem() +} + +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput() GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput { + return o +} + +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput) ToGetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput { + return o +} + +func (o GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem { + return vs[0].([]GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem)[vs[1].(int)] + }).(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput) +} + +type GetDesktopPoolDesktopsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDesktopPoolDesktopsFilterInput is an input type that accepts GetDesktopPoolDesktopsFilterArgs and GetDesktopPoolDesktopsFilterOutput values. +// You can construct a concrete instance of `GetDesktopPoolDesktopsFilterInput` via: +// +// GetDesktopPoolDesktopsFilterArgs{...} +type GetDesktopPoolDesktopsFilterInput interface { + pulumi.Input + + ToGetDesktopPoolDesktopsFilterOutput() GetDesktopPoolDesktopsFilterOutput + ToGetDesktopPoolDesktopsFilterOutputWithContext(context.Context) GetDesktopPoolDesktopsFilterOutput +} + +type GetDesktopPoolDesktopsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDesktopPoolDesktopsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolDesktopsFilter)(nil)).Elem() +} + +func (i GetDesktopPoolDesktopsFilterArgs) ToGetDesktopPoolDesktopsFilterOutput() GetDesktopPoolDesktopsFilterOutput { + return i.ToGetDesktopPoolDesktopsFilterOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolDesktopsFilterArgs) ToGetDesktopPoolDesktopsFilterOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolDesktopsFilterOutput) +} + +// GetDesktopPoolDesktopsFilterArrayInput is an input type that accepts GetDesktopPoolDesktopsFilterArray and GetDesktopPoolDesktopsFilterArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolDesktopsFilterArrayInput` via: +// +// GetDesktopPoolDesktopsFilterArray{ GetDesktopPoolDesktopsFilterArgs{...} } +type GetDesktopPoolDesktopsFilterArrayInput interface { + pulumi.Input + + ToGetDesktopPoolDesktopsFilterArrayOutput() GetDesktopPoolDesktopsFilterArrayOutput + ToGetDesktopPoolDesktopsFilterArrayOutputWithContext(context.Context) GetDesktopPoolDesktopsFilterArrayOutput +} + +type GetDesktopPoolDesktopsFilterArray []GetDesktopPoolDesktopsFilterInput + +func (GetDesktopPoolDesktopsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolDesktopsFilter)(nil)).Elem() +} + +func (i GetDesktopPoolDesktopsFilterArray) ToGetDesktopPoolDesktopsFilterArrayOutput() GetDesktopPoolDesktopsFilterArrayOutput { + return i.ToGetDesktopPoolDesktopsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolDesktopsFilterArray) ToGetDesktopPoolDesktopsFilterArrayOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolDesktopsFilterArrayOutput) +} + +type GetDesktopPoolDesktopsFilterOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolDesktopsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolDesktopsFilter)(nil)).Elem() +} + +func (o GetDesktopPoolDesktopsFilterOutput) ToGetDesktopPoolDesktopsFilterOutput() GetDesktopPoolDesktopsFilterOutput { + return o +} + +func (o GetDesktopPoolDesktopsFilterOutput) ToGetDesktopPoolDesktopsFilterOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsFilterOutput { + return o +} + +func (o GetDesktopPoolDesktopsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDesktopPoolDesktopsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDesktopPoolDesktopsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDesktopPoolDesktopsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDesktopPoolDesktopsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolDesktopsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolDesktopsFilter)(nil)).Elem() +} + +func (o GetDesktopPoolDesktopsFilterArrayOutput) ToGetDesktopPoolDesktopsFilterArrayOutput() GetDesktopPoolDesktopsFilterArrayOutput { + return o +} + +func (o GetDesktopPoolDesktopsFilterArrayOutput) ToGetDesktopPoolDesktopsFilterArrayOutputWithContext(ctx context.Context) GetDesktopPoolDesktopsFilterArrayOutput { + return o +} + +func (o GetDesktopPoolDesktopsFilterArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolDesktopsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolDesktopsFilter { + return vs[0].([]GetDesktopPoolDesktopsFilter)[vs[1].(int)] + }).(GetDesktopPoolDesktopsFilterOutput) +} + +type GetDesktopPoolDevicePolicy struct { + // The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + AudioMode string `pulumi:"audioMode"` + // The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + CdmMode string `pulumi:"cdmMode"` + // The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + ClipboardMode string `pulumi:"clipboardMode"` + // Indicates whether the display is enabled. + IsDisplayEnabled bool `pulumi:"isDisplayEnabled"` + // Indicates whether the keyboard is enabled. + IsKeyboardEnabled bool `pulumi:"isKeyboardEnabled"` + // Indicates whether the pointer is enabled. + IsPointerEnabled bool `pulumi:"isPointerEnabled"` + // Indicates whether printing is enabled. + IsPrintingEnabled bool `pulumi:"isPrintingEnabled"` +} + +// GetDesktopPoolDevicePolicyInput is an input type that accepts GetDesktopPoolDevicePolicyArgs and GetDesktopPoolDevicePolicyOutput values. +// You can construct a concrete instance of `GetDesktopPoolDevicePolicyInput` via: +// +// GetDesktopPoolDevicePolicyArgs{...} +type GetDesktopPoolDevicePolicyInput interface { + pulumi.Input + + ToGetDesktopPoolDevicePolicyOutput() GetDesktopPoolDevicePolicyOutput + ToGetDesktopPoolDevicePolicyOutputWithContext(context.Context) GetDesktopPoolDevicePolicyOutput +} + +type GetDesktopPoolDevicePolicyArgs struct { + // The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + AudioMode pulumi.StringInput `pulumi:"audioMode"` + // The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + CdmMode pulumi.StringInput `pulumi:"cdmMode"` + // The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + ClipboardMode pulumi.StringInput `pulumi:"clipboardMode"` + // Indicates whether the display is enabled. + IsDisplayEnabled pulumi.BoolInput `pulumi:"isDisplayEnabled"` + // Indicates whether the keyboard is enabled. + IsKeyboardEnabled pulumi.BoolInput `pulumi:"isKeyboardEnabled"` + // Indicates whether the pointer is enabled. + IsPointerEnabled pulumi.BoolInput `pulumi:"isPointerEnabled"` + // Indicates whether printing is enabled. + IsPrintingEnabled pulumi.BoolInput `pulumi:"isPrintingEnabled"` +} + +func (GetDesktopPoolDevicePolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolDevicePolicy)(nil)).Elem() +} + +func (i GetDesktopPoolDevicePolicyArgs) ToGetDesktopPoolDevicePolicyOutput() GetDesktopPoolDevicePolicyOutput { + return i.ToGetDesktopPoolDevicePolicyOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolDevicePolicyArgs) ToGetDesktopPoolDevicePolicyOutputWithContext(ctx context.Context) GetDesktopPoolDevicePolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolDevicePolicyOutput) +} + +// GetDesktopPoolDevicePolicyArrayInput is an input type that accepts GetDesktopPoolDevicePolicyArray and GetDesktopPoolDevicePolicyArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolDevicePolicyArrayInput` via: +// +// GetDesktopPoolDevicePolicyArray{ GetDesktopPoolDevicePolicyArgs{...} } +type GetDesktopPoolDevicePolicyArrayInput interface { + pulumi.Input + + ToGetDesktopPoolDevicePolicyArrayOutput() GetDesktopPoolDevicePolicyArrayOutput + ToGetDesktopPoolDevicePolicyArrayOutputWithContext(context.Context) GetDesktopPoolDevicePolicyArrayOutput +} + +type GetDesktopPoolDevicePolicyArray []GetDesktopPoolDevicePolicyInput + +func (GetDesktopPoolDevicePolicyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolDevicePolicy)(nil)).Elem() +} + +func (i GetDesktopPoolDevicePolicyArray) ToGetDesktopPoolDevicePolicyArrayOutput() GetDesktopPoolDevicePolicyArrayOutput { + return i.ToGetDesktopPoolDevicePolicyArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolDevicePolicyArray) ToGetDesktopPoolDevicePolicyArrayOutputWithContext(ctx context.Context) GetDesktopPoolDevicePolicyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolDevicePolicyArrayOutput) +} + +type GetDesktopPoolDevicePolicyOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolDevicePolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolDevicePolicy)(nil)).Elem() +} + +func (o GetDesktopPoolDevicePolicyOutput) ToGetDesktopPoolDevicePolicyOutput() GetDesktopPoolDevicePolicyOutput { + return o +} + +func (o GetDesktopPoolDevicePolicyOutput) ToGetDesktopPoolDevicePolicyOutputWithContext(ctx context.Context) GetDesktopPoolDevicePolicyOutput { + return o +} + +// The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. +func (o GetDesktopPoolDevicePolicyOutput) AudioMode() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDevicePolicy) string { return v.AudioMode }).(pulumi.StringOutput) +} + +// The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. +func (o GetDesktopPoolDevicePolicyOutput) CdmMode() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDevicePolicy) string { return v.CdmMode }).(pulumi.StringOutput) +} + +// The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. +func (o GetDesktopPoolDevicePolicyOutput) ClipboardMode() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolDevicePolicy) string { return v.ClipboardMode }).(pulumi.StringOutput) +} + +// Indicates whether the display is enabled. +func (o GetDesktopPoolDevicePolicyOutput) IsDisplayEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolDevicePolicy) bool { return v.IsDisplayEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether the keyboard is enabled. +func (o GetDesktopPoolDevicePolicyOutput) IsKeyboardEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolDevicePolicy) bool { return v.IsKeyboardEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether the pointer is enabled. +func (o GetDesktopPoolDevicePolicyOutput) IsPointerEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolDevicePolicy) bool { return v.IsPointerEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether printing is enabled. +func (o GetDesktopPoolDevicePolicyOutput) IsPrintingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolDevicePolicy) bool { return v.IsPrintingEnabled }).(pulumi.BoolOutput) +} + +type GetDesktopPoolDevicePolicyArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolDevicePolicyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolDevicePolicy)(nil)).Elem() +} + +func (o GetDesktopPoolDevicePolicyArrayOutput) ToGetDesktopPoolDevicePolicyArrayOutput() GetDesktopPoolDevicePolicyArrayOutput { + return o +} + +func (o GetDesktopPoolDevicePolicyArrayOutput) ToGetDesktopPoolDevicePolicyArrayOutputWithContext(ctx context.Context) GetDesktopPoolDevicePolicyArrayOutput { + return o +} + +func (o GetDesktopPoolDevicePolicyArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolDevicePolicyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolDevicePolicy { + return vs[0].([]GetDesktopPoolDevicePolicy)[vs[1].(int)] + }).(GetDesktopPoolDevicePolicyOutput) +} + +type GetDesktopPoolImage struct { + // The OCID of the desktop image. + ImageId string `pulumi:"imageId"` + // The name of the desktop image. + ImageName string `pulumi:"imageName"` +} + +// GetDesktopPoolImageInput is an input type that accepts GetDesktopPoolImageArgs and GetDesktopPoolImageOutput values. +// You can construct a concrete instance of `GetDesktopPoolImageInput` via: +// +// GetDesktopPoolImageArgs{...} +type GetDesktopPoolImageInput interface { + pulumi.Input + + ToGetDesktopPoolImageOutput() GetDesktopPoolImageOutput + ToGetDesktopPoolImageOutputWithContext(context.Context) GetDesktopPoolImageOutput +} + +type GetDesktopPoolImageArgs struct { + // The OCID of the desktop image. + ImageId pulumi.StringInput `pulumi:"imageId"` + // The name of the desktop image. + ImageName pulumi.StringInput `pulumi:"imageName"` +} + +func (GetDesktopPoolImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolImage)(nil)).Elem() +} + +func (i GetDesktopPoolImageArgs) ToGetDesktopPoolImageOutput() GetDesktopPoolImageOutput { + return i.ToGetDesktopPoolImageOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolImageArgs) ToGetDesktopPoolImageOutputWithContext(ctx context.Context) GetDesktopPoolImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolImageOutput) +} + +// GetDesktopPoolImageArrayInput is an input type that accepts GetDesktopPoolImageArray and GetDesktopPoolImageArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolImageArrayInput` via: +// +// GetDesktopPoolImageArray{ GetDesktopPoolImageArgs{...} } +type GetDesktopPoolImageArrayInput interface { + pulumi.Input + + ToGetDesktopPoolImageArrayOutput() GetDesktopPoolImageArrayOutput + ToGetDesktopPoolImageArrayOutputWithContext(context.Context) GetDesktopPoolImageArrayOutput +} + +type GetDesktopPoolImageArray []GetDesktopPoolImageInput + +func (GetDesktopPoolImageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolImage)(nil)).Elem() +} + +func (i GetDesktopPoolImageArray) ToGetDesktopPoolImageArrayOutput() GetDesktopPoolImageArrayOutput { + return i.ToGetDesktopPoolImageArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolImageArray) ToGetDesktopPoolImageArrayOutputWithContext(ctx context.Context) GetDesktopPoolImageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolImageArrayOutput) +} + +type GetDesktopPoolImageOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolImage)(nil)).Elem() +} + +func (o GetDesktopPoolImageOutput) ToGetDesktopPoolImageOutput() GetDesktopPoolImageOutput { + return o +} + +func (o GetDesktopPoolImageOutput) ToGetDesktopPoolImageOutputWithContext(ctx context.Context) GetDesktopPoolImageOutput { + return o +} + +// The OCID of the desktop image. +func (o GetDesktopPoolImageOutput) ImageId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolImage) string { return v.ImageId }).(pulumi.StringOutput) +} + +// The name of the desktop image. +func (o GetDesktopPoolImageOutput) ImageName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolImage) string { return v.ImageName }).(pulumi.StringOutput) +} + +type GetDesktopPoolImageArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolImageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolImage)(nil)).Elem() +} + +func (o GetDesktopPoolImageArrayOutput) ToGetDesktopPoolImageArrayOutput() GetDesktopPoolImageArrayOutput { + return o +} + +func (o GetDesktopPoolImageArrayOutput) ToGetDesktopPoolImageArrayOutputWithContext(ctx context.Context) GetDesktopPoolImageArrayOutput { + return o +} + +func (o GetDesktopPoolImageArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolImageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolImage { + return vs[0].([]GetDesktopPoolImage)[vs[1].(int)] + }).(GetDesktopPoolImageOutput) +} + +type GetDesktopPoolNetworkConfiguration struct { + // The OCID of the subnet to use for the desktop pool. + SubnetId string `pulumi:"subnetId"` + // The OCID of the VCN used by the desktop pool. + VcnId string `pulumi:"vcnId"` +} + +// GetDesktopPoolNetworkConfigurationInput is an input type that accepts GetDesktopPoolNetworkConfigurationArgs and GetDesktopPoolNetworkConfigurationOutput values. +// You can construct a concrete instance of `GetDesktopPoolNetworkConfigurationInput` via: +// +// GetDesktopPoolNetworkConfigurationArgs{...} +type GetDesktopPoolNetworkConfigurationInput interface { + pulumi.Input + + ToGetDesktopPoolNetworkConfigurationOutput() GetDesktopPoolNetworkConfigurationOutput + ToGetDesktopPoolNetworkConfigurationOutputWithContext(context.Context) GetDesktopPoolNetworkConfigurationOutput +} + +type GetDesktopPoolNetworkConfigurationArgs struct { + // The OCID of the subnet to use for the desktop pool. + SubnetId pulumi.StringInput `pulumi:"subnetId"` + // The OCID of the VCN used by the desktop pool. + VcnId pulumi.StringInput `pulumi:"vcnId"` +} + +func (GetDesktopPoolNetworkConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolNetworkConfiguration)(nil)).Elem() +} + +func (i GetDesktopPoolNetworkConfigurationArgs) ToGetDesktopPoolNetworkConfigurationOutput() GetDesktopPoolNetworkConfigurationOutput { + return i.ToGetDesktopPoolNetworkConfigurationOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolNetworkConfigurationArgs) ToGetDesktopPoolNetworkConfigurationOutputWithContext(ctx context.Context) GetDesktopPoolNetworkConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolNetworkConfigurationOutput) +} + +// GetDesktopPoolNetworkConfigurationArrayInput is an input type that accepts GetDesktopPoolNetworkConfigurationArray and GetDesktopPoolNetworkConfigurationArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolNetworkConfigurationArrayInput` via: +// +// GetDesktopPoolNetworkConfigurationArray{ GetDesktopPoolNetworkConfigurationArgs{...} } +type GetDesktopPoolNetworkConfigurationArrayInput interface { + pulumi.Input + + ToGetDesktopPoolNetworkConfigurationArrayOutput() GetDesktopPoolNetworkConfigurationArrayOutput + ToGetDesktopPoolNetworkConfigurationArrayOutputWithContext(context.Context) GetDesktopPoolNetworkConfigurationArrayOutput +} + +type GetDesktopPoolNetworkConfigurationArray []GetDesktopPoolNetworkConfigurationInput + +func (GetDesktopPoolNetworkConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolNetworkConfiguration)(nil)).Elem() +} + +func (i GetDesktopPoolNetworkConfigurationArray) ToGetDesktopPoolNetworkConfigurationArrayOutput() GetDesktopPoolNetworkConfigurationArrayOutput { + return i.ToGetDesktopPoolNetworkConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolNetworkConfigurationArray) ToGetDesktopPoolNetworkConfigurationArrayOutputWithContext(ctx context.Context) GetDesktopPoolNetworkConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolNetworkConfigurationArrayOutput) +} + +type GetDesktopPoolNetworkConfigurationOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolNetworkConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolNetworkConfiguration)(nil)).Elem() +} + +func (o GetDesktopPoolNetworkConfigurationOutput) ToGetDesktopPoolNetworkConfigurationOutput() GetDesktopPoolNetworkConfigurationOutput { + return o +} + +func (o GetDesktopPoolNetworkConfigurationOutput) ToGetDesktopPoolNetworkConfigurationOutputWithContext(ctx context.Context) GetDesktopPoolNetworkConfigurationOutput { + return o +} + +// The OCID of the subnet to use for the desktop pool. +func (o GetDesktopPoolNetworkConfigurationOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolNetworkConfiguration) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// The OCID of the VCN used by the desktop pool. +func (o GetDesktopPoolNetworkConfigurationOutput) VcnId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolNetworkConfiguration) string { return v.VcnId }).(pulumi.StringOutput) +} + +type GetDesktopPoolNetworkConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolNetworkConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolNetworkConfiguration)(nil)).Elem() +} + +func (o GetDesktopPoolNetworkConfigurationArrayOutput) ToGetDesktopPoolNetworkConfigurationArrayOutput() GetDesktopPoolNetworkConfigurationArrayOutput { + return o +} + +func (o GetDesktopPoolNetworkConfigurationArrayOutput) ToGetDesktopPoolNetworkConfigurationArrayOutputWithContext(ctx context.Context) GetDesktopPoolNetworkConfigurationArrayOutput { + return o +} + +func (o GetDesktopPoolNetworkConfigurationArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolNetworkConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolNetworkConfiguration { + return vs[0].([]GetDesktopPoolNetworkConfiguration)[vs[1].(int)] + }).(GetDesktopPoolNetworkConfigurationOutput) +} + +type GetDesktopPoolVolumesDesktopPoolVolumeCollection struct { + // A list of desktop pool volumes. + Items []GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem `pulumi:"items"` +} + +// GetDesktopPoolVolumesDesktopPoolVolumeCollectionInput is an input type that accepts GetDesktopPoolVolumesDesktopPoolVolumeCollectionArgs and GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput values. +// You can construct a concrete instance of `GetDesktopPoolVolumesDesktopPoolVolumeCollectionInput` via: +// +// GetDesktopPoolVolumesDesktopPoolVolumeCollectionArgs{...} +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionInput interface { + pulumi.Input + + ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput + ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionOutputWithContext(context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput +} + +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionArgs struct { + // A list of desktop pool volumes. + Items GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDesktopPoolVolumesDesktopPoolVolumeCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolVolumesDesktopPoolVolumeCollection)(nil)).Elem() +} + +func (i GetDesktopPoolVolumesDesktopPoolVolumeCollectionArgs) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput { + return i.ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolVolumesDesktopPoolVolumeCollectionArgs) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionOutputWithContext(ctx context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput) +} + +// GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayInput is an input type that accepts GetDesktopPoolVolumesDesktopPoolVolumeCollectionArray and GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayInput` via: +// +// GetDesktopPoolVolumesDesktopPoolVolumeCollectionArray{ GetDesktopPoolVolumesDesktopPoolVolumeCollectionArgs{...} } +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayInput interface { + pulumi.Input + + ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput + ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutputWithContext(context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput +} + +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionArray []GetDesktopPoolVolumesDesktopPoolVolumeCollectionInput + +func (GetDesktopPoolVolumesDesktopPoolVolumeCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolVolumesDesktopPoolVolumeCollection)(nil)).Elem() +} + +func (i GetDesktopPoolVolumesDesktopPoolVolumeCollectionArray) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput { + return i.ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolVolumesDesktopPoolVolumeCollectionArray) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutputWithContext(ctx context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput) +} + +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolVolumesDesktopPoolVolumeCollection)(nil)).Elem() +} + +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput { + return o +} + +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionOutputWithContext(ctx context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput { + return o +} + +// A list of desktop pool volumes. +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput) Items() GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesDesktopPoolVolumeCollection) []GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem { + return v.Items + }).(GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput) +} + +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolVolumesDesktopPoolVolumeCollection)(nil)).Elem() +} + +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput { + return o +} + +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutputWithContext(ctx context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput { + return o +} + +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolVolumesDesktopPoolVolumeCollection { + return vs[0].([]GetDesktopPoolVolumesDesktopPoolVolumeCollection)[vs[1].(int)] + }).(GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput) +} + +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem struct { + // The name of the availability domain. + AvailabilityDomain string `pulumi:"availabilityDomain"` + // 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]string `pulumi:"definedTags"` + // 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]string `pulumi:"freeformTags"` + // A filter to return only results with the given OCID. + Id string `pulumi:"id"` + // The name of the desktop pool volume. + Name string `pulumi:"name"` + // The OCID of the desktop pool to which this volume belongs. + PoolId string `pulumi:"poolId"` + // A filter to return only results with the given lifecycleState. + State string `pulumi:"state"` + // The owner of the desktop pool volume. + UserName string `pulumi:"userName"` +} + +// GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemInput is an input type that accepts GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArgs and GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput values. +// You can construct a concrete instance of `GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemInput` via: +// +// GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArgs{...} +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemInput interface { + pulumi.Input + + ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput + ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutputWithContext(context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput +} + +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArgs struct { + // The name of the availability domain. + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` + // 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.StringMapInput `pulumi:"definedTags"` + // 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.StringMapInput `pulumi:"freeformTags"` + // A filter to return only results with the given OCID. + Id pulumi.StringInput `pulumi:"id"` + // The name of the desktop pool volume. + Name pulumi.StringInput `pulumi:"name"` + // The OCID of the desktop pool to which this volume belongs. + PoolId pulumi.StringInput `pulumi:"poolId"` + // A filter to return only results with the given lifecycleState. + State pulumi.StringInput `pulumi:"state"` + // The owner of the desktop pool volume. + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem)(nil)).Elem() +} + +func (i GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArgs) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput { + return i.ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArgs) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutputWithContext(ctx context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) +} + +// GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayInput is an input type that accepts GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArray and GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayInput` via: +// +// GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArray{ GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArgs{...} } +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayInput interface { + pulumi.Input + + ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput + ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutputWithContext(context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput +} + +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArray []GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemInput + +func (GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem)(nil)).Elem() +} + +func (i GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArray) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput { + return i.ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArray) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutputWithContext(ctx context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput) +} + +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem)(nil)).Elem() +} + +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput { + return o +} + +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutputWithContext(ctx context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput { + return o +} + +// The name of the availability domain. +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem) string { return v.AvailabilityDomain }).(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 GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// 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 GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// A filter to return only results with the given OCID. +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// The name of the desktop pool volume. +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem) string { return v.Name }).(pulumi.StringOutput) +} + +// The OCID of the desktop pool to which this volume belongs. +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) PoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem) string { return v.PoolId }).(pulumi.StringOutput) +} + +// A filter to return only results with the given lifecycleState. +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// The owner of the desktop pool volume. +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem) string { return v.UserName }).(pulumi.StringOutput) +} + +type GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem)(nil)).Elem() +} + +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput() GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput { + return o +} + +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput) ToGetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutputWithContext(ctx context.Context) GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput { + return o +} + +func (o GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem { + return vs[0].([]GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem)[vs[1].(int)] + }).(GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput) +} + +type GetDesktopPoolVolumesFilter struct { + // The name of the desktop pool volume. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDesktopPoolVolumesFilterInput is an input type that accepts GetDesktopPoolVolumesFilterArgs and GetDesktopPoolVolumesFilterOutput values. +// You can construct a concrete instance of `GetDesktopPoolVolumesFilterInput` via: +// +// GetDesktopPoolVolumesFilterArgs{...} +type GetDesktopPoolVolumesFilterInput interface { + pulumi.Input + + ToGetDesktopPoolVolumesFilterOutput() GetDesktopPoolVolumesFilterOutput + ToGetDesktopPoolVolumesFilterOutputWithContext(context.Context) GetDesktopPoolVolumesFilterOutput +} + +type GetDesktopPoolVolumesFilterArgs struct { + // The name of the desktop pool volume. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDesktopPoolVolumesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolVolumesFilter)(nil)).Elem() +} + +func (i GetDesktopPoolVolumesFilterArgs) ToGetDesktopPoolVolumesFilterOutput() GetDesktopPoolVolumesFilterOutput { + return i.ToGetDesktopPoolVolumesFilterOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolVolumesFilterArgs) ToGetDesktopPoolVolumesFilterOutputWithContext(ctx context.Context) GetDesktopPoolVolumesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolVolumesFilterOutput) +} + +// GetDesktopPoolVolumesFilterArrayInput is an input type that accepts GetDesktopPoolVolumesFilterArray and GetDesktopPoolVolumesFilterArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolVolumesFilterArrayInput` via: +// +// GetDesktopPoolVolumesFilterArray{ GetDesktopPoolVolumesFilterArgs{...} } +type GetDesktopPoolVolumesFilterArrayInput interface { + pulumi.Input + + ToGetDesktopPoolVolumesFilterArrayOutput() GetDesktopPoolVolumesFilterArrayOutput + ToGetDesktopPoolVolumesFilterArrayOutputWithContext(context.Context) GetDesktopPoolVolumesFilterArrayOutput +} + +type GetDesktopPoolVolumesFilterArray []GetDesktopPoolVolumesFilterInput + +func (GetDesktopPoolVolumesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolVolumesFilter)(nil)).Elem() +} + +func (i GetDesktopPoolVolumesFilterArray) ToGetDesktopPoolVolumesFilterArrayOutput() GetDesktopPoolVolumesFilterArrayOutput { + return i.ToGetDesktopPoolVolumesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolVolumesFilterArray) ToGetDesktopPoolVolumesFilterArrayOutputWithContext(ctx context.Context) GetDesktopPoolVolumesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolVolumesFilterArrayOutput) +} + +type GetDesktopPoolVolumesFilterOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolVolumesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolVolumesFilter)(nil)).Elem() +} + +func (o GetDesktopPoolVolumesFilterOutput) ToGetDesktopPoolVolumesFilterOutput() GetDesktopPoolVolumesFilterOutput { + return o +} + +func (o GetDesktopPoolVolumesFilterOutput) ToGetDesktopPoolVolumesFilterOutputWithContext(ctx context.Context) GetDesktopPoolVolumesFilterOutput { + return o +} + +// The name of the desktop pool volume. +func (o GetDesktopPoolVolumesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDesktopPoolVolumesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDesktopPoolVolumesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDesktopPoolVolumesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDesktopPoolVolumesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolVolumesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolVolumesFilter)(nil)).Elem() +} + +func (o GetDesktopPoolVolumesFilterArrayOutput) ToGetDesktopPoolVolumesFilterArrayOutput() GetDesktopPoolVolumesFilterArrayOutput { + return o +} + +func (o GetDesktopPoolVolumesFilterArrayOutput) ToGetDesktopPoolVolumesFilterArrayOutputWithContext(ctx context.Context) GetDesktopPoolVolumesFilterArrayOutput { + return o +} + +func (o GetDesktopPoolVolumesFilterArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolVolumesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolVolumesFilter { + return vs[0].([]GetDesktopPoolVolumesFilter)[vs[1].(int)] + }).(GetDesktopPoolVolumesFilterOutput) +} + +type GetDesktopPoolsDesktopPoolCollection struct { + Items []GetDesktopPoolsDesktopPoolCollectionItem `pulumi:"items"` +} + +// GetDesktopPoolsDesktopPoolCollectionInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionArgs and GetDesktopPoolsDesktopPoolCollectionOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionArgs{...} +type GetDesktopPoolsDesktopPoolCollectionInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionOutput() GetDesktopPoolsDesktopPoolCollectionOutput + ToGetDesktopPoolsDesktopPoolCollectionOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionOutput +} + +type GetDesktopPoolsDesktopPoolCollectionArgs struct { + Items GetDesktopPoolsDesktopPoolCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDesktopPoolsDesktopPoolCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollection)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionArgs) ToGetDesktopPoolsDesktopPoolCollectionOutput() GetDesktopPoolsDesktopPoolCollectionOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionArgs) ToGetDesktopPoolsDesktopPoolCollectionOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionOutput) +} + +// GetDesktopPoolsDesktopPoolCollectionArrayInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionArray and GetDesktopPoolsDesktopPoolCollectionArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionArrayInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionArray{ GetDesktopPoolsDesktopPoolCollectionArgs{...} } +type GetDesktopPoolsDesktopPoolCollectionArrayInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionArrayOutput() GetDesktopPoolsDesktopPoolCollectionArrayOutput + ToGetDesktopPoolsDesktopPoolCollectionArrayOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionArrayOutput +} + +type GetDesktopPoolsDesktopPoolCollectionArray []GetDesktopPoolsDesktopPoolCollectionInput + +func (GetDesktopPoolsDesktopPoolCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollection)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionArray) ToGetDesktopPoolsDesktopPoolCollectionArrayOutput() GetDesktopPoolsDesktopPoolCollectionArrayOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionArray) ToGetDesktopPoolsDesktopPoolCollectionArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionArrayOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollection)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionOutput) ToGetDesktopPoolsDesktopPoolCollectionOutput() GetDesktopPoolsDesktopPoolCollectionOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionOutput) ToGetDesktopPoolsDesktopPoolCollectionOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionOutput) Items() GetDesktopPoolsDesktopPoolCollectionItemArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollection) []GetDesktopPoolsDesktopPoolCollectionItem { + return v.Items + }).(GetDesktopPoolsDesktopPoolCollectionItemArrayOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollection)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionArrayOutput() GetDesktopPoolsDesktopPoolCollectionArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolsDesktopPoolCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolsDesktopPoolCollection { + return vs[0].([]GetDesktopPoolsDesktopPoolCollection)[vs[1].(int)] + }).(GetDesktopPoolsDesktopPoolCollectionOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItem struct { + // The number of active desktops in the desktop pool. + ActiveDesktops int `pulumi:"activeDesktops"` + // Indicates whether desktop pool users have administrative privileges on their desktop. + ArePrivilegedUsers bool `pulumi:"arePrivilegedUsers"` + // The name of the availability domain. + AvailabilityDomain string `pulumi:"availabilityDomain"` + // Provides the start and stop schedule information for desktop availability of the desktop pool. + AvailabilityPolicies []GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy `pulumi:"availabilityPolicies"` + // The OCID of the compartment of the desktop pool. + CompartmentId string `pulumi:"compartmentId"` + // Contact information of the desktop pool administrator. Avoid entering confidential information. + ContactDetails string `pulumi:"contactDetails"` + // 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]string `pulumi:"definedTags"` + // A user friendly description providing additional information about the resource. Avoid entering confidential information. + Description string `pulumi:"description"` + // Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + DevicePolicies []GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy `pulumi:"devicePolicies"` + // A filter to return only results with the given displayName. + 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]string `pulumi:"freeformTags"` + // A filter to return only results with the given OCID. + Id string `pulumi:"id"` + // Provides information about the desktop image. + Images []GetDesktopPoolsDesktopPoolCollectionItemImage `pulumi:"images"` + // Indicates whether storage is enabled for the desktop pool. + IsStorageEnabled bool `pulumi:"isStorageEnabled"` + // The maximum number of desktops permitted in the desktop pool. + MaximumSize int `pulumi:"maximumSize"` + // Provides information about the network configuration of the desktop pool. + NetworkConfigurations []GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration `pulumi:"networkConfigurations"` + // A list of network security groups for the desktop pool. + NsgIds []string `pulumi:"nsgIds"` + // The shape of the desktop pool. + ShapeName string `pulumi:"shapeName"` + // The maximum number of standby desktops available in the desktop pool. + StandbySize int `pulumi:"standbySize"` + // A filter to return only results with the given lifecycleState. + State string `pulumi:"state"` + // The backup policy OCID of the storage. + StorageBackupPolicyId string `pulumi:"storageBackupPolicyId"` + // The size in GBs of the storage for the desktop pool. + StorageSizeInGbs int `pulumi:"storageSizeInGbs"` + // The date and time the resource was created. + TimeCreated string `pulumi:"timeCreated"` + // The start time of the desktop pool. + TimeStartScheduled string `pulumi:"timeStartScheduled"` + // The stop time of the desktop pool. + TimeStopScheduled string `pulumi:"timeStopScheduled"` +} + +// GetDesktopPoolsDesktopPoolCollectionItemInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemArgs and GetDesktopPoolsDesktopPoolCollectionItemOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemArgs{...} +type GetDesktopPoolsDesktopPoolCollectionItemInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemOutput() GetDesktopPoolsDesktopPoolCollectionItemOutput + ToGetDesktopPoolsDesktopPoolCollectionItemOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemArgs struct { + // The number of active desktops in the desktop pool. + ActiveDesktops pulumi.IntInput `pulumi:"activeDesktops"` + // Indicates whether desktop pool users have administrative privileges on their desktop. + ArePrivilegedUsers pulumi.BoolInput `pulumi:"arePrivilegedUsers"` + // The name of the availability domain. + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` + // Provides the start and stop schedule information for desktop availability of the desktop pool. + AvailabilityPolicies GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayInput `pulumi:"availabilityPolicies"` + // The OCID of the compartment of the desktop pool. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Contact information of the desktop pool administrator. Avoid entering confidential information. + ContactDetails pulumi.StringInput `pulumi:"contactDetails"` + // 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.StringMapInput `pulumi:"definedTags"` + // A user friendly description providing additional information about the resource. Avoid entering confidential information. + Description pulumi.StringInput `pulumi:"description"` + // Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + DevicePolicies GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayInput `pulumi:"devicePolicies"` + // A filter to return only results with the given displayName. + 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.StringMapInput `pulumi:"freeformTags"` + // A filter to return only results with the given OCID. + Id pulumi.StringInput `pulumi:"id"` + // Provides information about the desktop image. + Images GetDesktopPoolsDesktopPoolCollectionItemImageArrayInput `pulumi:"images"` + // Indicates whether storage is enabled for the desktop pool. + IsStorageEnabled pulumi.BoolInput `pulumi:"isStorageEnabled"` + // The maximum number of desktops permitted in the desktop pool. + MaximumSize pulumi.IntInput `pulumi:"maximumSize"` + // Provides information about the network configuration of the desktop pool. + NetworkConfigurations GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayInput `pulumi:"networkConfigurations"` + // A list of network security groups for the desktop pool. + NsgIds pulumi.StringArrayInput `pulumi:"nsgIds"` + // The shape of the desktop pool. + ShapeName pulumi.StringInput `pulumi:"shapeName"` + // The maximum number of standby desktops available in the desktop pool. + StandbySize pulumi.IntInput `pulumi:"standbySize"` + // A filter to return only results with the given lifecycleState. + State pulumi.StringInput `pulumi:"state"` + // The backup policy OCID of the storage. + StorageBackupPolicyId pulumi.StringInput `pulumi:"storageBackupPolicyId"` + // The size in GBs of the storage for the desktop pool. + StorageSizeInGbs pulumi.IntInput `pulumi:"storageSizeInGbs"` + // The date and time the resource was created. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The start time of the desktop pool. + TimeStartScheduled pulumi.StringInput `pulumi:"timeStartScheduled"` + // The stop time of the desktop pool. + TimeStopScheduled pulumi.StringInput `pulumi:"timeStopScheduled"` +} + +func (GetDesktopPoolsDesktopPoolCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItem)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemArgs) ToGetDesktopPoolsDesktopPoolCollectionItemOutput() GetDesktopPoolsDesktopPoolCollectionItemOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemArgs) ToGetDesktopPoolsDesktopPoolCollectionItemOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemOutput) +} + +// GetDesktopPoolsDesktopPoolCollectionItemArrayInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemArray and GetDesktopPoolsDesktopPoolCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemArrayInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemArray{ GetDesktopPoolsDesktopPoolCollectionItemArgs{...} } +type GetDesktopPoolsDesktopPoolCollectionItemArrayInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemArrayOutput + ToGetDesktopPoolsDesktopPoolCollectionItemArrayOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemArrayOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemArray []GetDesktopPoolsDesktopPoolCollectionItemInput + +func (GetDesktopPoolsDesktopPoolCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItem)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemArray) ToGetDesktopPoolsDesktopPoolCollectionItemArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemArrayOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemArray) ToGetDesktopPoolsDesktopPoolCollectionItemArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemArrayOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItem)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) ToGetDesktopPoolsDesktopPoolCollectionItemOutput() GetDesktopPoolsDesktopPoolCollectionItemOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) ToGetDesktopPoolsDesktopPoolCollectionItemOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemOutput { + return o +} + +// The number of active desktops in the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) ActiveDesktops() pulumi.IntOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) int { return v.ActiveDesktops }).(pulumi.IntOutput) +} + +// Indicates whether desktop pool users have administrative privileges on their desktop. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) ArePrivilegedUsers() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) bool { return v.ArePrivilegedUsers }).(pulumi.BoolOutput) +} + +// The name of the availability domain. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + +// Provides the start and stop schedule information for desktop availability of the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) AvailabilityPolicies() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) []GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy { + return v.AvailabilityPolicies + }).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput) +} + +// The OCID of the compartment of the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Contact information of the desktop pool administrator. Avoid entering confidential information. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) ContactDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.ContactDetails }).(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 GetDesktopPoolsDesktopPoolCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// A user friendly description providing additional information about the resource. Avoid entering confidential information. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.Description }).(pulumi.StringOutput) +} + +// Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) DevicePolicies() GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) []GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy { + return v.DevicePolicies + }).(GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput) +} + +// A filter to return only results with the given displayName. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.DisplayName }).(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 GetDesktopPoolsDesktopPoolCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// A filter to return only results with the given OCID. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Provides information about the desktop image. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) Images() GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) []GetDesktopPoolsDesktopPoolCollectionItemImage { + return v.Images + }).(GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput) +} + +// Indicates whether storage is enabled for the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) IsStorageEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) bool { return v.IsStorageEnabled }).(pulumi.BoolOutput) +} + +// The maximum number of desktops permitted in the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) MaximumSize() pulumi.IntOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) int { return v.MaximumSize }).(pulumi.IntOutput) +} + +// Provides information about the network configuration of the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) NetworkConfigurations() GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) []GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration { + return v.NetworkConfigurations + }).(GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput) +} + +// A list of network security groups for the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) NsgIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) []string { return v.NsgIds }).(pulumi.StringArrayOutput) +} + +// The shape of the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) ShapeName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.ShapeName }).(pulumi.StringOutput) +} + +// The maximum number of standby desktops available in the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) StandbySize() pulumi.IntOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) int { return v.StandbySize }).(pulumi.IntOutput) +} + +// A filter to return only results with the given lifecycleState. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// The backup policy OCID of the storage. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) StorageBackupPolicyId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.StorageBackupPolicyId }).(pulumi.StringOutput) +} + +// The size in GBs of the storage for the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) StorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) int { return v.StorageSizeInGbs }).(pulumi.IntOutput) +} + +// The date and time the resource was created. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The start time of the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) TimeStartScheduled() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.TimeStartScheduled }).(pulumi.StringOutput) +} + +// The stop time of the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemOutput) TimeStopScheduled() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItem) string { return v.TimeStopScheduled }).(pulumi.StringOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItem)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolsDesktopPoolCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolsDesktopPoolCollectionItem { + return vs[0].([]GetDesktopPoolsDesktopPoolCollectionItem)[vs[1].(int)] + }).(GetDesktopPoolsDesktopPoolCollectionItemOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy struct { + // Provides the schedule information for a desktop. + StartSchedules []GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule `pulumi:"startSchedules"` + // Provides the schedule information for a desktop. + StopSchedules []GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule `pulumi:"stopSchedules"` +} + +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArgs and GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArgs{...} +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArgs struct { + // Provides the schedule information for a desktop. + StartSchedules GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayInput `pulumi:"startSchedules"` + // Provides the schedule information for a desktop. + StopSchedules GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayInput `pulumi:"stopSchedules"` +} + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArgs) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArgs) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput) +} + +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArray and GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArray{ GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArgs{...} } +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArray []GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyInput + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArray) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArray) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput { + return o +} + +// Provides the schedule information for a desktop. +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput) StartSchedules() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy) []GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule { + return v.StartSchedules + }).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput) +} + +// Provides the schedule information for a desktop. +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput) StopSchedules() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy) []GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule { + return v.StopSchedules + }).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy { + return vs[0].([]GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy)[vs[1].(int)] + }).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule struct { + // A cron expression describing the desktop's schedule. + CronExpression string `pulumi:"cronExpression"` + // The timezone of the desktop's schedule. + Timezone string `pulumi:"timezone"` +} + +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArgs and GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArgs{...} +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArgs struct { + // A cron expression describing the desktop's schedule. + CronExpression pulumi.StringInput `pulumi:"cronExpression"` + // The timezone of the desktop's schedule. + Timezone pulumi.StringInput `pulumi:"timezone"` +} + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArgs) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArgs) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput) +} + +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArray and GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArray{ GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArgs{...} } +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArray []GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleInput + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArray) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArray) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput { + return o +} + +// A cron expression describing the desktop's schedule. +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput) CronExpression() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule) string { + return v.CronExpression + }).(pulumi.StringOutput) +} + +// The timezone of the desktop's schedule. +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput) Timezone() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule) string { + return v.Timezone + }).(pulumi.StringOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule { + return vs[0].([]GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule)[vs[1].(int)] + }).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule struct { + // A cron expression describing the desktop's schedule. + CronExpression string `pulumi:"cronExpression"` + // The timezone of the desktop's schedule. + Timezone string `pulumi:"timezone"` +} + +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArgs and GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArgs{...} +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArgs struct { + // A cron expression describing the desktop's schedule. + CronExpression pulumi.StringInput `pulumi:"cronExpression"` + // The timezone of the desktop's schedule. + Timezone pulumi.StringInput `pulumi:"timezone"` +} + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArgs) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArgs) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput) +} + +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArray and GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArray{ GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArgs{...} } +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput + ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArray []GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleInput + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArray) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArray) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput { + return o +} + +// A cron expression describing the desktop's schedule. +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput) CronExpression() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule) string { + return v.CronExpression + }).(pulumi.StringOutput) +} + +// The timezone of the desktop's schedule. +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput) Timezone() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule) string { + return v.Timezone + }).(pulumi.StringOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule { + return vs[0].([]GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule)[vs[1].(int)] + }).(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy struct { + // The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + AudioMode string `pulumi:"audioMode"` + // The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + CdmMode string `pulumi:"cdmMode"` + // The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + ClipboardMode string `pulumi:"clipboardMode"` + // Indicates whether the display is enabled. + IsDisplayEnabled bool `pulumi:"isDisplayEnabled"` + // Indicates whether the keyboard is enabled. + IsKeyboardEnabled bool `pulumi:"isKeyboardEnabled"` + // Indicates whether the pointer is enabled. + IsPointerEnabled bool `pulumi:"isPointerEnabled"` + // Indicates whether printing is enabled. + IsPrintingEnabled bool `pulumi:"isPrintingEnabled"` +} + +// GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArgs and GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArgs{...} +type GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput() GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput + ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArgs struct { + // The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + AudioMode pulumi.StringInput `pulumi:"audioMode"` + // The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + CdmMode pulumi.StringInput `pulumi:"cdmMode"` + // The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + ClipboardMode pulumi.StringInput `pulumi:"clipboardMode"` + // Indicates whether the display is enabled. + IsDisplayEnabled pulumi.BoolInput `pulumi:"isDisplayEnabled"` + // Indicates whether the keyboard is enabled. + IsKeyboardEnabled pulumi.BoolInput `pulumi:"isKeyboardEnabled"` + // Indicates whether the pointer is enabled. + IsPointerEnabled pulumi.BoolInput `pulumi:"isPointerEnabled"` + // Indicates whether printing is enabled. + IsPrintingEnabled pulumi.BoolInput `pulumi:"isPrintingEnabled"` +} + +func (GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArgs) ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput() GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArgs) ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) +} + +// GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArray and GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArray{ GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArgs{...} } +type GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput + ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArray []GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyInput + +func (GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArray) ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArray) ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput() GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput { + return o +} + +// The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) AudioMode() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy) string { return v.AudioMode }).(pulumi.StringOutput) +} + +// The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) CdmMode() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy) string { return v.CdmMode }).(pulumi.StringOutput) +} + +// The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) ClipboardMode() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy) string { return v.ClipboardMode }).(pulumi.StringOutput) +} + +// Indicates whether the display is enabled. +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) IsDisplayEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy) bool { return v.IsDisplayEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether the keyboard is enabled. +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) IsKeyboardEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy) bool { return v.IsKeyboardEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether the pointer is enabled. +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) IsPointerEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy) bool { return v.IsPointerEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether printing is enabled. +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) IsPrintingEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy) bool { return v.IsPrintingEnabled }).(pulumi.BoolOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy { + return vs[0].([]GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy)[vs[1].(int)] + }).(GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemImage struct { + // The OCID of the desktop image. + ImageId string `pulumi:"imageId"` + // The name of the desktop image. + ImageName string `pulumi:"imageName"` +} + +// GetDesktopPoolsDesktopPoolCollectionItemImageInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemImageArgs and GetDesktopPoolsDesktopPoolCollectionItemImageOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemImageInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemImageArgs{...} +type GetDesktopPoolsDesktopPoolCollectionItemImageInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemImageOutput() GetDesktopPoolsDesktopPoolCollectionItemImageOutput + ToGetDesktopPoolsDesktopPoolCollectionItemImageOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemImageOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemImageArgs struct { + // The OCID of the desktop image. + ImageId pulumi.StringInput `pulumi:"imageId"` + // The name of the desktop image. + ImageName pulumi.StringInput `pulumi:"imageName"` +} + +func (GetDesktopPoolsDesktopPoolCollectionItemImageArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemImage)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemImageArgs) ToGetDesktopPoolsDesktopPoolCollectionItemImageOutput() GetDesktopPoolsDesktopPoolCollectionItemImageOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemImageOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemImageArgs) ToGetDesktopPoolsDesktopPoolCollectionItemImageOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemImageOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemImageOutput) +} + +// GetDesktopPoolsDesktopPoolCollectionItemImageArrayInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemImageArray and GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemImageArrayInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemImageArray{ GetDesktopPoolsDesktopPoolCollectionItemImageArgs{...} } +type GetDesktopPoolsDesktopPoolCollectionItemImageArrayInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput + ToGetDesktopPoolsDesktopPoolCollectionItemImageArrayOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemImageArray []GetDesktopPoolsDesktopPoolCollectionItemImageInput + +func (GetDesktopPoolsDesktopPoolCollectionItemImageArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemImage)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemImageArray) ToGetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemImageArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemImageArray) ToGetDesktopPoolsDesktopPoolCollectionItemImageArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemImageOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemImageOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemImage)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemImageOutput) ToGetDesktopPoolsDesktopPoolCollectionItemImageOutput() GetDesktopPoolsDesktopPoolCollectionItemImageOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemImageOutput) ToGetDesktopPoolsDesktopPoolCollectionItemImageOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemImageOutput { + return o +} + +// The OCID of the desktop image. +func (o GetDesktopPoolsDesktopPoolCollectionItemImageOutput) ImageId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemImage) string { return v.ImageId }).(pulumi.StringOutput) +} + +// The name of the desktop image. +func (o GetDesktopPoolsDesktopPoolCollectionItemImageOutput) ImageName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemImage) string { return v.ImageName }).(pulumi.StringOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemImage)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemImageArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolsDesktopPoolCollectionItemImageOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolsDesktopPoolCollectionItemImage { + return vs[0].([]GetDesktopPoolsDesktopPoolCollectionItemImage)[vs[1].(int)] + }).(GetDesktopPoolsDesktopPoolCollectionItemImageOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration struct { + // The OCID of the subnet to use for the desktop pool. + SubnetId string `pulumi:"subnetId"` + // The OCID of the VCN used by the desktop pool. + VcnId string `pulumi:"vcnId"` +} + +// GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArgs and GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArgs{...} +type GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput() GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput + ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArgs struct { + // The OCID of the subnet to use for the desktop pool. + SubnetId pulumi.StringInput `pulumi:"subnetId"` + // The OCID of the VCN used by the desktop pool. + VcnId pulumi.StringInput `pulumi:"vcnId"` +} + +func (GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArgs) ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput() GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArgs) ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput) +} + +// GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayInput is an input type that accepts GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArray and GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayInput` via: +// +// GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArray{ GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArgs{...} } +type GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayInput interface { + pulumi.Input + + ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput + ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutputWithContext(context.Context) GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput +} + +type GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArray []GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationInput + +func (GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration)(nil)).Elem() +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArray) ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput { + return i.ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArray) ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput) ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput() GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput) ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput { + return o +} + +// The OCID of the subnet to use for the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// The OCID of the VCN used by the desktop pool. +func (o GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput) VcnId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration) string { return v.VcnId }).(pulumi.StringOutput) +} + +type GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration)(nil)).Elem() +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput() GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput) ToGetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutputWithContext(ctx context.Context) GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput { + return o +} + +func (o GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration { + return vs[0].([]GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration)[vs[1].(int)] + }).(GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput) +} + +type GetDesktopPoolsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDesktopPoolsFilterInput is an input type that accepts GetDesktopPoolsFilterArgs and GetDesktopPoolsFilterOutput values. +// You can construct a concrete instance of `GetDesktopPoolsFilterInput` via: +// +// GetDesktopPoolsFilterArgs{...} +type GetDesktopPoolsFilterInput interface { + pulumi.Input + + ToGetDesktopPoolsFilterOutput() GetDesktopPoolsFilterOutput + ToGetDesktopPoolsFilterOutputWithContext(context.Context) GetDesktopPoolsFilterOutput +} + +type GetDesktopPoolsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDesktopPoolsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsFilter)(nil)).Elem() +} + +func (i GetDesktopPoolsFilterArgs) ToGetDesktopPoolsFilterOutput() GetDesktopPoolsFilterOutput { + return i.ToGetDesktopPoolsFilterOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsFilterArgs) ToGetDesktopPoolsFilterOutputWithContext(ctx context.Context) GetDesktopPoolsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsFilterOutput) +} + +// GetDesktopPoolsFilterArrayInput is an input type that accepts GetDesktopPoolsFilterArray and GetDesktopPoolsFilterArrayOutput values. +// You can construct a concrete instance of `GetDesktopPoolsFilterArrayInput` via: +// +// GetDesktopPoolsFilterArray{ GetDesktopPoolsFilterArgs{...} } +type GetDesktopPoolsFilterArrayInput interface { + pulumi.Input + + ToGetDesktopPoolsFilterArrayOutput() GetDesktopPoolsFilterArrayOutput + ToGetDesktopPoolsFilterArrayOutputWithContext(context.Context) GetDesktopPoolsFilterArrayOutput +} + +type GetDesktopPoolsFilterArray []GetDesktopPoolsFilterInput + +func (GetDesktopPoolsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsFilter)(nil)).Elem() +} + +func (i GetDesktopPoolsFilterArray) ToGetDesktopPoolsFilterArrayOutput() GetDesktopPoolsFilterArrayOutput { + return i.ToGetDesktopPoolsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopPoolsFilterArray) ToGetDesktopPoolsFilterArrayOutputWithContext(ctx context.Context) GetDesktopPoolsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopPoolsFilterArrayOutput) +} + +type GetDesktopPoolsFilterOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopPoolsFilter)(nil)).Elem() +} + +func (o GetDesktopPoolsFilterOutput) ToGetDesktopPoolsFilterOutput() GetDesktopPoolsFilterOutput { + return o +} + +func (o GetDesktopPoolsFilterOutput) ToGetDesktopPoolsFilterOutputWithContext(ctx context.Context) GetDesktopPoolsFilterOutput { + return o +} + +func (o GetDesktopPoolsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopPoolsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDesktopPoolsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDesktopPoolsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDesktopPoolsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDesktopPoolsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDesktopPoolsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopPoolsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopPoolsFilter)(nil)).Elem() +} + +func (o GetDesktopPoolsFilterArrayOutput) ToGetDesktopPoolsFilterArrayOutput() GetDesktopPoolsFilterArrayOutput { + return o +} + +func (o GetDesktopPoolsFilterArrayOutput) ToGetDesktopPoolsFilterArrayOutputWithContext(ctx context.Context) GetDesktopPoolsFilterArrayOutput { + return o +} + +func (o GetDesktopPoolsFilterArrayOutput) Index(i pulumi.IntInput) GetDesktopPoolsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopPoolsFilter { + return vs[0].([]GetDesktopPoolsFilter)[vs[1].(int)] + }).(GetDesktopPoolsFilterOutput) +} + +type GetDesktopsDesktopCollection struct { + Items []GetDesktopsDesktopCollectionItem `pulumi:"items"` +} + +// GetDesktopsDesktopCollectionInput is an input type that accepts GetDesktopsDesktopCollectionArgs and GetDesktopsDesktopCollectionOutput values. +// You can construct a concrete instance of `GetDesktopsDesktopCollectionInput` via: +// +// GetDesktopsDesktopCollectionArgs{...} +type GetDesktopsDesktopCollectionInput interface { + pulumi.Input + + ToGetDesktopsDesktopCollectionOutput() GetDesktopsDesktopCollectionOutput + ToGetDesktopsDesktopCollectionOutputWithContext(context.Context) GetDesktopsDesktopCollectionOutput +} + +type GetDesktopsDesktopCollectionArgs struct { + Items GetDesktopsDesktopCollectionItemArrayInput `pulumi:"items"` +} + +func (GetDesktopsDesktopCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopsDesktopCollection)(nil)).Elem() +} + +func (i GetDesktopsDesktopCollectionArgs) ToGetDesktopsDesktopCollectionOutput() GetDesktopsDesktopCollectionOutput { + return i.ToGetDesktopsDesktopCollectionOutputWithContext(context.Background()) +} + +func (i GetDesktopsDesktopCollectionArgs) ToGetDesktopsDesktopCollectionOutputWithContext(ctx context.Context) GetDesktopsDesktopCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopsDesktopCollectionOutput) +} + +// GetDesktopsDesktopCollectionArrayInput is an input type that accepts GetDesktopsDesktopCollectionArray and GetDesktopsDesktopCollectionArrayOutput values. +// You can construct a concrete instance of `GetDesktopsDesktopCollectionArrayInput` via: +// +// GetDesktopsDesktopCollectionArray{ GetDesktopsDesktopCollectionArgs{...} } +type GetDesktopsDesktopCollectionArrayInput interface { + pulumi.Input + + ToGetDesktopsDesktopCollectionArrayOutput() GetDesktopsDesktopCollectionArrayOutput + ToGetDesktopsDesktopCollectionArrayOutputWithContext(context.Context) GetDesktopsDesktopCollectionArrayOutput +} + +type GetDesktopsDesktopCollectionArray []GetDesktopsDesktopCollectionInput + +func (GetDesktopsDesktopCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopsDesktopCollection)(nil)).Elem() +} + +func (i GetDesktopsDesktopCollectionArray) ToGetDesktopsDesktopCollectionArrayOutput() GetDesktopsDesktopCollectionArrayOutput { + return i.ToGetDesktopsDesktopCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopsDesktopCollectionArray) ToGetDesktopsDesktopCollectionArrayOutputWithContext(ctx context.Context) GetDesktopsDesktopCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopsDesktopCollectionArrayOutput) +} + +type GetDesktopsDesktopCollectionOutput struct{ *pulumi.OutputState } + +func (GetDesktopsDesktopCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopsDesktopCollection)(nil)).Elem() +} + +func (o GetDesktopsDesktopCollectionOutput) ToGetDesktopsDesktopCollectionOutput() GetDesktopsDesktopCollectionOutput { + return o +} + +func (o GetDesktopsDesktopCollectionOutput) ToGetDesktopsDesktopCollectionOutputWithContext(ctx context.Context) GetDesktopsDesktopCollectionOutput { + return o +} + +func (o GetDesktopsDesktopCollectionOutput) Items() GetDesktopsDesktopCollectionItemArrayOutput { + return o.ApplyT(func(v GetDesktopsDesktopCollection) []GetDesktopsDesktopCollectionItem { return v.Items }).(GetDesktopsDesktopCollectionItemArrayOutput) +} + +type GetDesktopsDesktopCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopsDesktopCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopsDesktopCollection)(nil)).Elem() +} + +func (o GetDesktopsDesktopCollectionArrayOutput) ToGetDesktopsDesktopCollectionArrayOutput() GetDesktopsDesktopCollectionArrayOutput { + return o +} + +func (o GetDesktopsDesktopCollectionArrayOutput) ToGetDesktopsDesktopCollectionArrayOutputWithContext(ctx context.Context) GetDesktopsDesktopCollectionArrayOutput { + return o +} + +func (o GetDesktopsDesktopCollectionArrayOutput) Index(i pulumi.IntInput) GetDesktopsDesktopCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopsDesktopCollection { + return vs[0].([]GetDesktopsDesktopCollection)[vs[1].(int)] + }).(GetDesktopsDesktopCollectionOutput) +} + +type GetDesktopsDesktopCollectionItem struct { + // 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]string `pulumi:"definedTags"` + // A filter to return only results with the given displayName. + 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]string `pulumi:"freeformTags"` + // A filter to return only results with the given OCID. + Id string `pulumi:"id"` + // The OCID of the desktop pool the desktop is a member of. + PoolId string `pulumi:"poolId"` + // A filter to return only results with the given lifecycleState. + State string `pulumi:"state"` + // The date and time the resource was created. + TimeCreated string `pulumi:"timeCreated"` + // The owner of the desktop. + UserName string `pulumi:"userName"` +} + +// GetDesktopsDesktopCollectionItemInput is an input type that accepts GetDesktopsDesktopCollectionItemArgs and GetDesktopsDesktopCollectionItemOutput values. +// You can construct a concrete instance of `GetDesktopsDesktopCollectionItemInput` via: +// +// GetDesktopsDesktopCollectionItemArgs{...} +type GetDesktopsDesktopCollectionItemInput interface { + pulumi.Input + + ToGetDesktopsDesktopCollectionItemOutput() GetDesktopsDesktopCollectionItemOutput + ToGetDesktopsDesktopCollectionItemOutputWithContext(context.Context) GetDesktopsDesktopCollectionItemOutput +} + +type GetDesktopsDesktopCollectionItemArgs struct { + // 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.StringMapInput `pulumi:"definedTags"` + // A filter to return only results with the given displayName. + 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.StringMapInput `pulumi:"freeformTags"` + // A filter to return only results with the given OCID. + Id pulumi.StringInput `pulumi:"id"` + // The OCID of the desktop pool the desktop is a member of. + PoolId pulumi.StringInput `pulumi:"poolId"` + // A filter to return only results with the given lifecycleState. + State pulumi.StringInput `pulumi:"state"` + // The date and time the resource was created. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The owner of the desktop. + UserName pulumi.StringInput `pulumi:"userName"` +} + +func (GetDesktopsDesktopCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopsDesktopCollectionItem)(nil)).Elem() +} + +func (i GetDesktopsDesktopCollectionItemArgs) ToGetDesktopsDesktopCollectionItemOutput() GetDesktopsDesktopCollectionItemOutput { + return i.ToGetDesktopsDesktopCollectionItemOutputWithContext(context.Background()) +} + +func (i GetDesktopsDesktopCollectionItemArgs) ToGetDesktopsDesktopCollectionItemOutputWithContext(ctx context.Context) GetDesktopsDesktopCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopsDesktopCollectionItemOutput) +} + +// GetDesktopsDesktopCollectionItemArrayInput is an input type that accepts GetDesktopsDesktopCollectionItemArray and GetDesktopsDesktopCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetDesktopsDesktopCollectionItemArrayInput` via: +// +// GetDesktopsDesktopCollectionItemArray{ GetDesktopsDesktopCollectionItemArgs{...} } +type GetDesktopsDesktopCollectionItemArrayInput interface { + pulumi.Input + + ToGetDesktopsDesktopCollectionItemArrayOutput() GetDesktopsDesktopCollectionItemArrayOutput + ToGetDesktopsDesktopCollectionItemArrayOutputWithContext(context.Context) GetDesktopsDesktopCollectionItemArrayOutput +} + +type GetDesktopsDesktopCollectionItemArray []GetDesktopsDesktopCollectionItemInput + +func (GetDesktopsDesktopCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopsDesktopCollectionItem)(nil)).Elem() +} + +func (i GetDesktopsDesktopCollectionItemArray) ToGetDesktopsDesktopCollectionItemArrayOutput() GetDesktopsDesktopCollectionItemArrayOutput { + return i.ToGetDesktopsDesktopCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopsDesktopCollectionItemArray) ToGetDesktopsDesktopCollectionItemArrayOutputWithContext(ctx context.Context) GetDesktopsDesktopCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopsDesktopCollectionItemArrayOutput) +} + +type GetDesktopsDesktopCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetDesktopsDesktopCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopsDesktopCollectionItem)(nil)).Elem() +} + +func (o GetDesktopsDesktopCollectionItemOutput) ToGetDesktopsDesktopCollectionItemOutput() GetDesktopsDesktopCollectionItemOutput { + return o +} + +func (o GetDesktopsDesktopCollectionItemOutput) ToGetDesktopsDesktopCollectionItemOutputWithContext(ctx context.Context) GetDesktopsDesktopCollectionItemOutput { + return o +} + +// 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 GetDesktopsDesktopCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDesktopsDesktopCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) +} + +// A filter to return only results with the given displayName. +func (o GetDesktopsDesktopCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopsDesktopCollectionItem) string { return v.DisplayName }).(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 GetDesktopsDesktopCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { + return o.ApplyT(func(v GetDesktopsDesktopCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) +} + +// A filter to return only results with the given OCID. +func (o GetDesktopsDesktopCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopsDesktopCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// The OCID of the desktop pool the desktop is a member of. +func (o GetDesktopsDesktopCollectionItemOutput) PoolId() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopsDesktopCollectionItem) string { return v.PoolId }).(pulumi.StringOutput) +} + +// A filter to return only results with the given lifecycleState. +func (o GetDesktopsDesktopCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopsDesktopCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// The date and time the resource was created. +func (o GetDesktopsDesktopCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopsDesktopCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The owner of the desktop. +func (o GetDesktopsDesktopCollectionItemOutput) UserName() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopsDesktopCollectionItem) string { return v.UserName }).(pulumi.StringOutput) +} + +type GetDesktopsDesktopCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopsDesktopCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopsDesktopCollectionItem)(nil)).Elem() +} + +func (o GetDesktopsDesktopCollectionItemArrayOutput) ToGetDesktopsDesktopCollectionItemArrayOutput() GetDesktopsDesktopCollectionItemArrayOutput { + return o +} + +func (o GetDesktopsDesktopCollectionItemArrayOutput) ToGetDesktopsDesktopCollectionItemArrayOutputWithContext(ctx context.Context) GetDesktopsDesktopCollectionItemArrayOutput { + return o +} + +func (o GetDesktopsDesktopCollectionItemArrayOutput) Index(i pulumi.IntInput) GetDesktopsDesktopCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopsDesktopCollectionItem { + return vs[0].([]GetDesktopsDesktopCollectionItem)[vs[1].(int)] + }).(GetDesktopsDesktopCollectionItemOutput) +} + +type GetDesktopsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetDesktopsFilterInput is an input type that accepts GetDesktopsFilterArgs and GetDesktopsFilterOutput values. +// You can construct a concrete instance of `GetDesktopsFilterInput` via: +// +// GetDesktopsFilterArgs{...} +type GetDesktopsFilterInput interface { + pulumi.Input + + ToGetDesktopsFilterOutput() GetDesktopsFilterOutput + ToGetDesktopsFilterOutputWithContext(context.Context) GetDesktopsFilterOutput +} + +type GetDesktopsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetDesktopsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopsFilter)(nil)).Elem() +} + +func (i GetDesktopsFilterArgs) ToGetDesktopsFilterOutput() GetDesktopsFilterOutput { + return i.ToGetDesktopsFilterOutputWithContext(context.Background()) +} + +func (i GetDesktopsFilterArgs) ToGetDesktopsFilterOutputWithContext(ctx context.Context) GetDesktopsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopsFilterOutput) +} + +// GetDesktopsFilterArrayInput is an input type that accepts GetDesktopsFilterArray and GetDesktopsFilterArrayOutput values. +// You can construct a concrete instance of `GetDesktopsFilterArrayInput` via: +// +// GetDesktopsFilterArray{ GetDesktopsFilterArgs{...} } +type GetDesktopsFilterArrayInput interface { + pulumi.Input + + ToGetDesktopsFilterArrayOutput() GetDesktopsFilterArrayOutput + ToGetDesktopsFilterArrayOutputWithContext(context.Context) GetDesktopsFilterArrayOutput +} + +type GetDesktopsFilterArray []GetDesktopsFilterInput + +func (GetDesktopsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopsFilter)(nil)).Elem() +} + +func (i GetDesktopsFilterArray) ToGetDesktopsFilterArrayOutput() GetDesktopsFilterArrayOutput { + return i.ToGetDesktopsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetDesktopsFilterArray) ToGetDesktopsFilterArrayOutputWithContext(ctx context.Context) GetDesktopsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDesktopsFilterArrayOutput) +} + +type GetDesktopsFilterOutput struct{ *pulumi.OutputState } + +func (GetDesktopsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDesktopsFilter)(nil)).Elem() +} + +func (o GetDesktopsFilterOutput) ToGetDesktopsFilterOutput() GetDesktopsFilterOutput { + return o +} + +func (o GetDesktopsFilterOutput) ToGetDesktopsFilterOutputWithContext(ctx context.Context) GetDesktopsFilterOutput { + return o +} + +func (o GetDesktopsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDesktopsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetDesktopsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDesktopsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetDesktopsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDesktopsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetDesktopsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetDesktopsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDesktopsFilter)(nil)).Elem() +} + +func (o GetDesktopsFilterArrayOutput) ToGetDesktopsFilterArrayOutput() GetDesktopsFilterArrayOutput { + return o +} + +func (o GetDesktopsFilterArrayOutput) ToGetDesktopsFilterArrayOutputWithContext(ctx context.Context) GetDesktopsFilterArrayOutput { + return o +} + +func (o GetDesktopsFilterArrayOutput) Index(i pulumi.IntInput) GetDesktopsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDesktopsFilter { + return vs[0].([]GetDesktopsFilter)[vs[1].(int)] + }).(GetDesktopsFilterOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolAvailabilityPolicyInput)(nil)).Elem(), DesktopPoolAvailabilityPolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolAvailabilityPolicyPtrInput)(nil)).Elem(), DesktopPoolAvailabilityPolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolAvailabilityPolicyStartScheduleInput)(nil)).Elem(), DesktopPoolAvailabilityPolicyStartScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolAvailabilityPolicyStartSchedulePtrInput)(nil)).Elem(), DesktopPoolAvailabilityPolicyStartScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolAvailabilityPolicyStopScheduleInput)(nil)).Elem(), DesktopPoolAvailabilityPolicyStopScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolAvailabilityPolicyStopSchedulePtrInput)(nil)).Elem(), DesktopPoolAvailabilityPolicyStopScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolDevicePolicyInput)(nil)).Elem(), DesktopPoolDevicePolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolDevicePolicyPtrInput)(nil)).Elem(), DesktopPoolDevicePolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolImageInput)(nil)).Elem(), DesktopPoolImageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolImagePtrInput)(nil)).Elem(), DesktopPoolImageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolNetworkConfigurationInput)(nil)).Elem(), DesktopPoolNetworkConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*DesktopPoolNetworkConfigurationPtrInput)(nil)).Elem(), DesktopPoolNetworkConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopDevicePolicyInput)(nil)).Elem(), GetDesktopDevicePolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopDevicePolicyArrayInput)(nil)).Elem(), GetDesktopDevicePolicyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopHostingOptionInput)(nil)).Elem(), GetDesktopHostingOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopHostingOptionArrayInput)(nil)).Elem(), GetDesktopHostingOptionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopHostingOptionImageInput)(nil)).Elem(), GetDesktopHostingOptionImageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopHostingOptionImageArrayInput)(nil)).Elem(), GetDesktopHostingOptionImageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolAvailabilityPolicyInput)(nil)).Elem(), GetDesktopPoolAvailabilityPolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolAvailabilityPolicyArrayInput)(nil)).Elem(), GetDesktopPoolAvailabilityPolicyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolAvailabilityPolicyStartScheduleInput)(nil)).Elem(), GetDesktopPoolAvailabilityPolicyStartScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolAvailabilityPolicyStartScheduleArrayInput)(nil)).Elem(), GetDesktopPoolAvailabilityPolicyStartScheduleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolAvailabilityPolicyStopScheduleInput)(nil)).Elem(), GetDesktopPoolAvailabilityPolicyStopScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolAvailabilityPolicyStopScheduleArrayInput)(nil)).Elem(), GetDesktopPoolAvailabilityPolicyStopScheduleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolDesktopsDesktopPoolDesktopCollectionInput)(nil)).Elem(), GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayInput)(nil)).Elem(), GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemInput)(nil)).Elem(), GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayInput)(nil)).Elem(), GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolDesktopsFilterInput)(nil)).Elem(), GetDesktopPoolDesktopsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolDesktopsFilterArrayInput)(nil)).Elem(), GetDesktopPoolDesktopsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolDevicePolicyInput)(nil)).Elem(), GetDesktopPoolDevicePolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolDevicePolicyArrayInput)(nil)).Elem(), GetDesktopPoolDevicePolicyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolImageInput)(nil)).Elem(), GetDesktopPoolImageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolImageArrayInput)(nil)).Elem(), GetDesktopPoolImageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolNetworkConfigurationInput)(nil)).Elem(), GetDesktopPoolNetworkConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolNetworkConfigurationArrayInput)(nil)).Elem(), GetDesktopPoolNetworkConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolVolumesDesktopPoolVolumeCollectionInput)(nil)).Elem(), GetDesktopPoolVolumesDesktopPoolVolumeCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayInput)(nil)).Elem(), GetDesktopPoolVolumesDesktopPoolVolumeCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemInput)(nil)).Elem(), GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayInput)(nil)).Elem(), GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolVolumesFilterInput)(nil)).Elem(), GetDesktopPoolVolumesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolVolumesFilterArrayInput)(nil)).Elem(), GetDesktopPoolVolumesFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionArrayInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemArrayInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemImageInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemImageArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemImageArrayInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemImageArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayInput)(nil)).Elem(), GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsFilterInput)(nil)).Elem(), GetDesktopPoolsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopPoolsFilterArrayInput)(nil)).Elem(), GetDesktopPoolsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopsDesktopCollectionInput)(nil)).Elem(), GetDesktopsDesktopCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopsDesktopCollectionArrayInput)(nil)).Elem(), GetDesktopsDesktopCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopsDesktopCollectionItemInput)(nil)).Elem(), GetDesktopsDesktopCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopsDesktopCollectionItemArrayInput)(nil)).Elem(), GetDesktopsDesktopCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopsFilterInput)(nil)).Elem(), GetDesktopsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDesktopsFilterArrayInput)(nil)).Elem(), GetDesktopsFilterArray{}) + pulumi.RegisterOutputType(DesktopPoolAvailabilityPolicyOutput{}) + pulumi.RegisterOutputType(DesktopPoolAvailabilityPolicyPtrOutput{}) + pulumi.RegisterOutputType(DesktopPoolAvailabilityPolicyStartScheduleOutput{}) + pulumi.RegisterOutputType(DesktopPoolAvailabilityPolicyStartSchedulePtrOutput{}) + pulumi.RegisterOutputType(DesktopPoolAvailabilityPolicyStopScheduleOutput{}) + pulumi.RegisterOutputType(DesktopPoolAvailabilityPolicyStopSchedulePtrOutput{}) + pulumi.RegisterOutputType(DesktopPoolDevicePolicyOutput{}) + pulumi.RegisterOutputType(DesktopPoolDevicePolicyPtrOutput{}) + pulumi.RegisterOutputType(DesktopPoolImageOutput{}) + pulumi.RegisterOutputType(DesktopPoolImagePtrOutput{}) + pulumi.RegisterOutputType(DesktopPoolNetworkConfigurationOutput{}) + pulumi.RegisterOutputType(DesktopPoolNetworkConfigurationPtrOutput{}) + pulumi.RegisterOutputType(GetDesktopDevicePolicyOutput{}) + pulumi.RegisterOutputType(GetDesktopDevicePolicyArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopHostingOptionOutput{}) + pulumi.RegisterOutputType(GetDesktopHostingOptionArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopHostingOptionImageOutput{}) + pulumi.RegisterOutputType(GetDesktopHostingOptionImageArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolAvailabilityPolicyOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolAvailabilityPolicyArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolAvailabilityPolicyStartScheduleOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolAvailabilityPolicyStartScheduleArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolAvailabilityPolicyStopScheduleOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolAvailabilityPolicyStopScheduleArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolDesktopsFilterOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolDesktopsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolDevicePolicyOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolDevicePolicyArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolImageOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolImageArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolNetworkConfigurationOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolNetworkConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolVolumesDesktopPoolVolumeCollectionOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolVolumesDesktopPoolVolumeCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolVolumesFilterOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolVolumesFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemImageOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemImageArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsFilterOutput{}) + pulumi.RegisterOutputType(GetDesktopPoolsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopsDesktopCollectionOutput{}) + pulumi.RegisterOutputType(GetDesktopsDesktopCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopsDesktopCollectionItemOutput{}) + pulumi.RegisterOutputType(GetDesktopsDesktopCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetDesktopsFilterOutput{}) + pulumi.RegisterOutputType(GetDesktopsFilterArrayOutput{}) +} diff --git a/sdk/go/oci/filestorage/mountTarget.go b/sdk/go/oci/filestorage/mountTarget.go index 440806e1ad..ab45a3153b 100644 --- a/sdk/go/oci/filestorage/mountTarget.go +++ b/sdk/go/oci/filestorage/mountTarget.go @@ -92,7 +92,8 @@ import ( // SchemaType: pulumi.Any(mountTargetLdapIdmapSchemaType), // UserSearchBase: pulumi.Any(mountTargetLdapIdmapUserSearchBase), // }, -// NsgIds: pulumi.Any(mountTargetNsgIds), +// NsgIds: pulumi.Any(mountTargetNsgIds), +// RequestedThroughput: pulumi.Any(mountTargetRequestedThroughput), // }) // if err != nil { // return err @@ -135,11 +136,7 @@ type MountTarget struct { HostnameLabel pulumi.StringOutput `pulumi:"hostnameLabel"` // (Updatable) The method used to map a Unix UID to secondary groups, if any. IdmapType pulumi.StringOutput `pulumi:"idmapType"` - // A private IP 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 a private IP address from the subnet. - // - // Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - // - // Example: `10.0.3.3` + // A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // (Updatable) Kerberos details needed to create configuration. Kerberos MountTargetKerberosPtrOutput `pulumi:"kerberos"` @@ -149,8 +146,14 @@ type MountTarget struct { LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` // (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). NsgIds pulumi.StringArrayOutput `pulumi:"nsgIds"` + // Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + ObservedThroughput pulumi.StringOutput `pulumi:"observedThroughput"` // The OCIDs of the private IP addresses associated with this mount target. PrivateIpIds pulumi.StringArrayOutput `pulumi:"privateIpIds"` + // (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + RequestedThroughput pulumi.StringOutput `pulumi:"requestedThroughput"` + // * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + ReservedStorageCapacity pulumi.StringOutput `pulumi:"reservedStorageCapacity"` // The current state of the mount target. State pulumi.StringOutput `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. @@ -158,6 +161,8 @@ type MountTarget struct { // ** IMPORTANT ** // 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 the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + TimeBillingCycleEnd pulumi.StringOutput `pulumi:"timeBillingCycleEnd"` // 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` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` } @@ -223,11 +228,7 @@ type mountTargetState struct { HostnameLabel *string `pulumi:"hostnameLabel"` // (Updatable) The method used to map a Unix UID to secondary groups, if any. IdmapType *string `pulumi:"idmapType"` - // A private IP 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 a private IP address from the subnet. - // - // Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - // - // Example: `10.0.3.3` + // A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` IpAddress *string `pulumi:"ipAddress"` // (Updatable) Kerberos details needed to create configuration. Kerberos *MountTargetKerberos `pulumi:"kerberos"` @@ -237,8 +238,14 @@ type mountTargetState struct { LifecycleDetails *string `pulumi:"lifecycleDetails"` // (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). NsgIds []string `pulumi:"nsgIds"` + // Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + ObservedThroughput *string `pulumi:"observedThroughput"` // The OCIDs of the private IP addresses associated with this mount target. PrivateIpIds []string `pulumi:"privateIpIds"` + // (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + RequestedThroughput *string `pulumi:"requestedThroughput"` + // * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + ReservedStorageCapacity *string `pulumi:"reservedStorageCapacity"` // The current state of the mount target. State *string `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. @@ -246,6 +253,8 @@ type mountTargetState struct { // ** IMPORTANT ** // 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 the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + TimeBillingCycleEnd *string `pulumi:"timeBillingCycleEnd"` // 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` TimeCreated *string `pulumi:"timeCreated"` } @@ -273,11 +282,7 @@ type MountTargetState struct { HostnameLabel pulumi.StringPtrInput // (Updatable) The method used to map a Unix UID to secondary groups, if any. IdmapType pulumi.StringPtrInput - // A private IP 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 a private IP address from the subnet. - // - // Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - // - // Example: `10.0.3.3` + // A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` IpAddress pulumi.StringPtrInput // (Updatable) Kerberos details needed to create configuration. Kerberos MountTargetKerberosPtrInput @@ -287,8 +292,14 @@ type MountTargetState struct { LifecycleDetails pulumi.StringPtrInput // (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). NsgIds pulumi.StringArrayInput + // Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + ObservedThroughput pulumi.StringPtrInput // The OCIDs of the private IP addresses associated with this mount target. PrivateIpIds pulumi.StringArrayInput + // (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + RequestedThroughput pulumi.StringPtrInput + // * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + ReservedStorageCapacity pulumi.StringPtrInput // The current state of the mount target. State pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. @@ -296,6 +307,8 @@ type MountTargetState struct { // ** IMPORTANT ** // 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 the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + TimeBillingCycleEnd pulumi.StringPtrInput // 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` TimeCreated pulumi.StringPtrInput } @@ -325,11 +338,7 @@ type mountTargetArgs struct { HostnameLabel *string `pulumi:"hostnameLabel"` // (Updatable) The method used to map a Unix UID to secondary groups, if any. IdmapType *string `pulumi:"idmapType"` - // A private IP 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 a private IP address from the subnet. - // - // Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - // - // Example: `10.0.3.3` + // A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` IpAddress *string `pulumi:"ipAddress"` // (Updatable) Kerberos details needed to create configuration. Kerberos *MountTargetKerberos `pulumi:"kerberos"` @@ -337,6 +346,8 @@ type mountTargetArgs struct { LdapIdmap *MountTargetLdapIdmap `pulumi:"ldapIdmap"` // (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). NsgIds []string `pulumi:"nsgIds"` + // (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + RequestedThroughput *string `pulumi:"requestedThroughput"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. // // ** IMPORTANT ** @@ -366,11 +377,7 @@ type MountTargetArgs struct { HostnameLabel pulumi.StringPtrInput // (Updatable) The method used to map a Unix UID to secondary groups, if any. IdmapType pulumi.StringPtrInput - // A private IP 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 a private IP address from the subnet. - // - // Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - // - // Example: `10.0.3.3` + // A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` IpAddress pulumi.StringPtrInput // (Updatable) Kerberos details needed to create configuration. Kerberos MountTargetKerberosPtrInput @@ -378,6 +385,8 @@ type MountTargetArgs struct { LdapIdmap MountTargetLdapIdmapPtrInput // (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). NsgIds pulumi.StringArrayInput + // (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + RequestedThroughput pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. // // ** IMPORTANT ** @@ -518,11 +527,7 @@ func (o MountTargetOutput) IdmapType() pulumi.StringOutput { return o.ApplyT(func(v *MountTarget) pulumi.StringOutput { return v.IdmapType }).(pulumi.StringOutput) } -// A private IP 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 a private IP address from the subnet. -// -// Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. -// -// Example: `10.0.3.3` +// A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` func (o MountTargetOutput) IpAddress() pulumi.StringOutput { return o.ApplyT(func(v *MountTarget) pulumi.StringOutput { return v.IpAddress }).(pulumi.StringOutput) } @@ -547,11 +552,26 @@ func (o MountTargetOutput) NsgIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *MountTarget) pulumi.StringArrayOutput { return v.NsgIds }).(pulumi.StringArrayOutput) } +// Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). +func (o MountTargetOutput) ObservedThroughput() pulumi.StringOutput { + return o.ApplyT(func(v *MountTarget) pulumi.StringOutput { return v.ObservedThroughput }).(pulumi.StringOutput) +} + // The OCIDs of the private IP addresses associated with this mount target. func (o MountTargetOutput) PrivateIpIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *MountTarget) pulumi.StringArrayOutput { return v.PrivateIpIds }).(pulumi.StringArrayOutput) } +// (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). +func (o MountTargetOutput) RequestedThroughput() pulumi.StringOutput { + return o.ApplyT(func(v *MountTarget) pulumi.StringOutput { return v.RequestedThroughput }).(pulumi.StringOutput) +} + +// * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). +func (o MountTargetOutput) ReservedStorageCapacity() pulumi.StringOutput { + return o.ApplyT(func(v *MountTarget) pulumi.StringOutput { return v.ReservedStorageCapacity }).(pulumi.StringOutput) +} + // The current state of the mount target. func (o MountTargetOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *MountTarget) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) @@ -565,6 +585,11 @@ func (o MountTargetOutput) SubnetId() pulumi.StringOutput { return o.ApplyT(func(v *MountTarget) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) } +// The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` +func (o MountTargetOutput) TimeBillingCycleEnd() pulumi.StringOutput { + return o.ApplyT(func(v *MountTarget) pulumi.StringOutput { return v.TimeBillingCycleEnd }).(pulumi.StringOutput) +} + // 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` func (o MountTargetOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *MountTarget) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/filestorage/pulumiTypes.go b/sdk/go/oci/filestorage/pulumiTypes.go index 996d52c5e9..80ec0bae23 100644 --- a/sdk/go/oci/filestorage/pulumiTypes.go +++ b/sdk/go/oci/filestorage/pulumiTypes.go @@ -2997,12 +2997,20 @@ type GetMountTargetsMountTarget struct { LifecycleDetails string `pulumi:"lifecycleDetails"` // 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). NsgIds []string `pulumi:"nsgIds"` + // Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + ObservedThroughput string `pulumi:"observedThroughput"` // The OCIDs of the private IP addresses associated with this mount target. PrivateIpIds []string `pulumi:"privateIpIds"` + // * New throughput for mount target at the end of billing cycle in Gbps. + RequestedThroughput string `pulumi:"requestedThroughput"` + // * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + ReservedStorageCapacity string `pulumi:"reservedStorageCapacity"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State string `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in. SubnetId string `pulumi:"subnetId"` + // The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + TimeBillingCycleEnd string `pulumi:"timeBillingCycleEnd"` // 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` TimeCreated string `pulumi:"timeCreated"` } @@ -3045,12 +3053,20 @@ type GetMountTargetsMountTargetArgs struct { LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` // 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). NsgIds pulumi.StringArrayInput `pulumi:"nsgIds"` + // Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + ObservedThroughput pulumi.StringInput `pulumi:"observedThroughput"` // The OCIDs of the private IP addresses associated with this mount target. PrivateIpIds pulumi.StringArrayInput `pulumi:"privateIpIds"` + // * New throughput for mount target at the end of billing cycle in Gbps. + RequestedThroughput pulumi.StringInput `pulumi:"requestedThroughput"` + // * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + ReservedStorageCapacity pulumi.StringInput `pulumi:"reservedStorageCapacity"` // Filter results by the specified lifecycle state. Must be a valid state for the resource type. State pulumi.StringInput `pulumi:"state"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in. SubnetId pulumi.StringInput `pulumi:"subnetId"` + // The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + TimeBillingCycleEnd pulumi.StringInput `pulumi:"timeBillingCycleEnd"` // 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` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` } @@ -3174,11 +3190,26 @@ func (o GetMountTargetsMountTargetOutput) NsgIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GetMountTargetsMountTarget) []string { return v.NsgIds }).(pulumi.StringArrayOutput) } +// Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). +func (o GetMountTargetsMountTargetOutput) ObservedThroughput() pulumi.StringOutput { + return o.ApplyT(func(v GetMountTargetsMountTarget) string { return v.ObservedThroughput }).(pulumi.StringOutput) +} + // The OCIDs of the private IP addresses associated with this mount target. func (o GetMountTargetsMountTargetOutput) PrivateIpIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GetMountTargetsMountTarget) []string { return v.PrivateIpIds }).(pulumi.StringArrayOutput) } +// * New throughput for mount target at the end of billing cycle in Gbps. +func (o GetMountTargetsMountTargetOutput) RequestedThroughput() pulumi.StringOutput { + return o.ApplyT(func(v GetMountTargetsMountTarget) string { return v.RequestedThroughput }).(pulumi.StringOutput) +} + +// * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). +func (o GetMountTargetsMountTargetOutput) ReservedStorageCapacity() pulumi.StringOutput { + return o.ApplyT(func(v GetMountTargetsMountTarget) string { return v.ReservedStorageCapacity }).(pulumi.StringOutput) +} + // Filter results by the specified lifecycle state. Must be a valid state for the resource type. func (o GetMountTargetsMountTargetOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetMountTargetsMountTarget) string { return v.State }).(pulumi.StringOutput) @@ -3189,6 +3220,11 @@ func (o GetMountTargetsMountTargetOutput) SubnetId() pulumi.StringOutput { return o.ApplyT(func(v GetMountTargetsMountTarget) string { return v.SubnetId }).(pulumi.StringOutput) } +// The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` +func (o GetMountTargetsMountTargetOutput) TimeBillingCycleEnd() pulumi.StringOutput { + return o.ApplyT(func(v GetMountTargetsMountTarget) string { return v.TimeBillingCycleEnd }).(pulumi.StringOutput) +} + // 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` func (o GetMountTargetsMountTargetOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v GetMountTargetsMountTarget) string { return v.TimeCreated }).(pulumi.StringOutput) diff --git a/sdk/go/oci/fleetsoftwareupdate/fsuCollection.go b/sdk/go/oci/fleetsoftwareupdate/fsuCollection.go deleted file mode 100644 index 576e8a2a49..0000000000 --- a/sdk/go/oci/fleetsoftwareupdate/fsuCollection.go +++ /dev/null @@ -1,333 +0,0 @@ -// 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 fleetsoftwareupdate - -import ( - "context" - "reflect" - - "errors" - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type FsuCollection struct { - pulumi.CustomResourceState - - ActiveFsuCycles FsuCollectionActiveFsuCycleArrayOutput `pulumi:"activeFsuCycles"` - CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` - DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` - DisplayName pulumi.StringOutput `pulumi:"displayName"` - FleetDiscovery FsuCollectionFleetDiscoveryOutput `pulumi:"fleetDiscovery"` - FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` - LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` - ServiceType pulumi.StringOutput `pulumi:"serviceType"` - SourceMajorVersion pulumi.StringOutput `pulumi:"sourceMajorVersion"` - State pulumi.StringOutput `pulumi:"state"` - SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` - TargetCount pulumi.IntOutput `pulumi:"targetCount"` - TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` - TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` - Type pulumi.StringOutput `pulumi:"type"` -} - -// NewFsuCollection registers a new resource with the given unique name, arguments, and options. -func NewFsuCollection(ctx *pulumi.Context, - name string, args *FsuCollectionArgs, opts ...pulumi.ResourceOption) (*FsuCollection, 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.ServiceType == nil { - return nil, errors.New("invalid value for required argument 'ServiceType'") - } - if args.SourceMajorVersion == nil { - return nil, errors.New("invalid value for required argument 'SourceMajorVersion'") - } - if args.Type == nil { - return nil, errors.New("invalid value for required argument 'Type'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource FsuCollection - err := ctx.RegisterResource("oci:FleetSoftwareUpdate/fsuCollection:FsuCollection", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetFsuCollection gets an existing FsuCollection 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 GetFsuCollection(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *FsuCollectionState, opts ...pulumi.ResourceOption) (*FsuCollection, error) { - var resource FsuCollection - err := ctx.ReadResource("oci:FleetSoftwareUpdate/fsuCollection:FsuCollection", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering FsuCollection resources. -type fsuCollectionState struct { - ActiveFsuCycles []FsuCollectionActiveFsuCycle `pulumi:"activeFsuCycles"` - CompartmentId *string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - DisplayName *string `pulumi:"displayName"` - FleetDiscovery *FsuCollectionFleetDiscovery `pulumi:"fleetDiscovery"` - FreeformTags map[string]string `pulumi:"freeformTags"` - LifecycleDetails *string `pulumi:"lifecycleDetails"` - ServiceType *string `pulumi:"serviceType"` - SourceMajorVersion *string `pulumi:"sourceMajorVersion"` - State *string `pulumi:"state"` - SystemTags map[string]string `pulumi:"systemTags"` - TargetCount *int `pulumi:"targetCount"` - TimeCreated *string `pulumi:"timeCreated"` - TimeUpdated *string `pulumi:"timeUpdated"` - Type *string `pulumi:"type"` -} - -type FsuCollectionState struct { - ActiveFsuCycles FsuCollectionActiveFsuCycleArrayInput - CompartmentId pulumi.StringPtrInput - DefinedTags pulumi.StringMapInput - DisplayName pulumi.StringPtrInput - FleetDiscovery FsuCollectionFleetDiscoveryPtrInput - FreeformTags pulumi.StringMapInput - LifecycleDetails pulumi.StringPtrInput - ServiceType pulumi.StringPtrInput - SourceMajorVersion pulumi.StringPtrInput - State pulumi.StringPtrInput - SystemTags pulumi.StringMapInput - TargetCount pulumi.IntPtrInput - TimeCreated pulumi.StringPtrInput - TimeUpdated pulumi.StringPtrInput - Type pulumi.StringPtrInput -} - -func (FsuCollectionState) ElementType() reflect.Type { - return reflect.TypeOf((*fsuCollectionState)(nil)).Elem() -} - -type fsuCollectionArgs struct { - CompartmentId string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - DisplayName *string `pulumi:"displayName"` - FleetDiscovery *FsuCollectionFleetDiscovery `pulumi:"fleetDiscovery"` - FreeformTags map[string]string `pulumi:"freeformTags"` - ServiceType string `pulumi:"serviceType"` - SourceMajorVersion string `pulumi:"sourceMajorVersion"` - Type string `pulumi:"type"` -} - -// The set of arguments for constructing a FsuCollection resource. -type FsuCollectionArgs struct { - CompartmentId pulumi.StringInput - DefinedTags pulumi.StringMapInput - DisplayName pulumi.StringPtrInput - FleetDiscovery FsuCollectionFleetDiscoveryPtrInput - FreeformTags pulumi.StringMapInput - ServiceType pulumi.StringInput - SourceMajorVersion pulumi.StringInput - Type pulumi.StringInput -} - -func (FsuCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*fsuCollectionArgs)(nil)).Elem() -} - -type FsuCollectionInput interface { - pulumi.Input - - ToFsuCollectionOutput() FsuCollectionOutput - ToFsuCollectionOutputWithContext(ctx context.Context) FsuCollectionOutput -} - -func (*FsuCollection) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCollection)(nil)).Elem() -} - -func (i *FsuCollection) ToFsuCollectionOutput() FsuCollectionOutput { - return i.ToFsuCollectionOutputWithContext(context.Background()) -} - -func (i *FsuCollection) ToFsuCollectionOutputWithContext(ctx context.Context) FsuCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionOutput) -} - -// FsuCollectionArrayInput is an input type that accepts FsuCollectionArray and FsuCollectionArrayOutput values. -// You can construct a concrete instance of `FsuCollectionArrayInput` via: -// -// FsuCollectionArray{ FsuCollectionArgs{...} } -type FsuCollectionArrayInput interface { - pulumi.Input - - ToFsuCollectionArrayOutput() FsuCollectionArrayOutput - ToFsuCollectionArrayOutputWithContext(context.Context) FsuCollectionArrayOutput -} - -type FsuCollectionArray []FsuCollectionInput - -func (FsuCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*FsuCollection)(nil)).Elem() -} - -func (i FsuCollectionArray) ToFsuCollectionArrayOutput() FsuCollectionArrayOutput { - return i.ToFsuCollectionArrayOutputWithContext(context.Background()) -} - -func (i FsuCollectionArray) ToFsuCollectionArrayOutputWithContext(ctx context.Context) FsuCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionArrayOutput) -} - -// FsuCollectionMapInput is an input type that accepts FsuCollectionMap and FsuCollectionMapOutput values. -// You can construct a concrete instance of `FsuCollectionMapInput` via: -// -// FsuCollectionMap{ "key": FsuCollectionArgs{...} } -type FsuCollectionMapInput interface { - pulumi.Input - - ToFsuCollectionMapOutput() FsuCollectionMapOutput - ToFsuCollectionMapOutputWithContext(context.Context) FsuCollectionMapOutput -} - -type FsuCollectionMap map[string]FsuCollectionInput - -func (FsuCollectionMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*FsuCollection)(nil)).Elem() -} - -func (i FsuCollectionMap) ToFsuCollectionMapOutput() FsuCollectionMapOutput { - return i.ToFsuCollectionMapOutputWithContext(context.Background()) -} - -func (i FsuCollectionMap) ToFsuCollectionMapOutputWithContext(ctx context.Context) FsuCollectionMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionMapOutput) -} - -type FsuCollectionOutput struct{ *pulumi.OutputState } - -func (FsuCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCollection)(nil)).Elem() -} - -func (o FsuCollectionOutput) ToFsuCollectionOutput() FsuCollectionOutput { - return o -} - -func (o FsuCollectionOutput) ToFsuCollectionOutputWithContext(ctx context.Context) FsuCollectionOutput { - return o -} - -func (o FsuCollectionOutput) ActiveFsuCycles() FsuCollectionActiveFsuCycleArrayOutput { - return o.ApplyT(func(v *FsuCollection) FsuCollectionActiveFsuCycleArrayOutput { return v.ActiveFsuCycles }).(FsuCollectionActiveFsuCycleArrayOutput) -} - -func (o FsuCollectionOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o FsuCollectionOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -func (o FsuCollectionOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) -} - -func (o FsuCollectionOutput) FleetDiscovery() FsuCollectionFleetDiscoveryOutput { - return o.ApplyT(func(v *FsuCollection) FsuCollectionFleetDiscoveryOutput { return v.FleetDiscovery }).(FsuCollectionFleetDiscoveryOutput) -} - -func (o FsuCollectionOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -func (o FsuCollectionOutput) LifecycleDetails() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) -} - -func (o FsuCollectionOutput) ServiceType() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringOutput { return v.ServiceType }).(pulumi.StringOutput) -} - -func (o FsuCollectionOutput) SourceMajorVersion() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringOutput { return v.SourceMajorVersion }).(pulumi.StringOutput) -} - -func (o FsuCollectionOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -func (o FsuCollectionOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) -} - -func (o FsuCollectionOutput) TargetCount() pulumi.IntOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.IntOutput { return v.TargetCount }).(pulumi.IntOutput) -} - -func (o FsuCollectionOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) -} - -func (o FsuCollectionOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) -} - -func (o FsuCollectionOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCollection) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -type FsuCollectionArrayOutput struct{ *pulumi.OutputState } - -func (FsuCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*FsuCollection)(nil)).Elem() -} - -func (o FsuCollectionArrayOutput) ToFsuCollectionArrayOutput() FsuCollectionArrayOutput { - return o -} - -func (o FsuCollectionArrayOutput) ToFsuCollectionArrayOutputWithContext(ctx context.Context) FsuCollectionArrayOutput { - return o -} - -func (o FsuCollectionArrayOutput) Index(i pulumi.IntInput) FsuCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *FsuCollection { - return vs[0].([]*FsuCollection)[vs[1].(int)] - }).(FsuCollectionOutput) -} - -type FsuCollectionMapOutput struct{ *pulumi.OutputState } - -func (FsuCollectionMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*FsuCollection)(nil)).Elem() -} - -func (o FsuCollectionMapOutput) ToFsuCollectionMapOutput() FsuCollectionMapOutput { - return o -} - -func (o FsuCollectionMapOutput) ToFsuCollectionMapOutputWithContext(ctx context.Context) FsuCollectionMapOutput { - return o -} - -func (o FsuCollectionMapOutput) MapIndex(k pulumi.StringInput) FsuCollectionOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *FsuCollection { - return vs[0].(map[string]*FsuCollection)[vs[1].(string)] - }).(FsuCollectionOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionInput)(nil)).Elem(), &FsuCollection{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionArrayInput)(nil)).Elem(), FsuCollectionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionMapInput)(nil)).Elem(), FsuCollectionMap{}) - pulumi.RegisterOutputType(FsuCollectionOutput{}) - pulumi.RegisterOutputType(FsuCollectionArrayOutput{}) - pulumi.RegisterOutputType(FsuCollectionMapOutput{}) -} diff --git a/sdk/go/oci/fleetsoftwareupdate/fsuCycle.go b/sdk/go/oci/fleetsoftwareupdate/fsuCycle.go deleted file mode 100644 index 67b8e606f0..0000000000 --- a/sdk/go/oci/fleetsoftwareupdate/fsuCycle.go +++ /dev/null @@ -1,417 +0,0 @@ -// 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 fleetsoftwareupdate - -import ( - "context" - "reflect" - - "errors" - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -type FsuCycle struct { - pulumi.CustomResourceState - - ApplyActionSchedule FsuCycleApplyActionScheduleOutput `pulumi:"applyActionSchedule"` - BatchingStrategy FsuCycleBatchingStrategyOutput `pulumi:"batchingStrategy"` - CollectionType pulumi.StringOutput `pulumi:"collectionType"` - CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` - DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` - DiagnosticsCollection FsuCycleDiagnosticsCollectionOutput `pulumi:"diagnosticsCollection"` - DisplayName pulumi.StringOutput `pulumi:"displayName"` - ExecutingFsuActionId pulumi.StringOutput `pulumi:"executingFsuActionId"` - FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` - FsuCollectionId pulumi.StringOutput `pulumi:"fsuCollectionId"` - GoalVersionDetails FsuCycleGoalVersionDetailsOutput `pulumi:"goalVersionDetails"` - IsIgnoreMissingPatches pulumi.StringArrayOutput `pulumi:"isIgnoreMissingPatches"` - IsIgnorePatches pulumi.BoolOutput `pulumi:"isIgnorePatches"` - IsKeepPlacement pulumi.BoolOutput `pulumi:"isKeepPlacement"` - LastCompletedAction pulumi.StringOutput `pulumi:"lastCompletedAction"` - LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` - MaxDrainTimeoutInSeconds pulumi.IntOutput `pulumi:"maxDrainTimeoutInSeconds"` - NextActionToExecutes FsuCycleNextActionToExecuteArrayOutput `pulumi:"nextActionToExecutes"` - StageActionSchedule FsuCycleStageActionScheduleOutput `pulumi:"stageActionSchedule"` - State pulumi.StringOutput `pulumi:"state"` - SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` - TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` - TimeFinished pulumi.StringOutput `pulumi:"timeFinished"` - TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` - Type pulumi.StringOutput `pulumi:"type"` -} - -// NewFsuCycle registers a new resource with the given unique name, arguments, and options. -func NewFsuCycle(ctx *pulumi.Context, - name string, args *FsuCycleArgs, opts ...pulumi.ResourceOption) (*FsuCycle, 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.FsuCollectionId == nil { - return nil, errors.New("invalid value for required argument 'FsuCollectionId'") - } - if args.GoalVersionDetails == nil { - return nil, errors.New("invalid value for required argument 'GoalVersionDetails'") - } - if args.Type == nil { - return nil, errors.New("invalid value for required argument 'Type'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource FsuCycle - err := ctx.RegisterResource("oci:FleetSoftwareUpdate/fsuCycle:FsuCycle", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetFsuCycle gets an existing FsuCycle 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 GetFsuCycle(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *FsuCycleState, opts ...pulumi.ResourceOption) (*FsuCycle, error) { - var resource FsuCycle - err := ctx.ReadResource("oci:FleetSoftwareUpdate/fsuCycle:FsuCycle", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering FsuCycle resources. -type fsuCycleState struct { - ApplyActionSchedule *FsuCycleApplyActionSchedule `pulumi:"applyActionSchedule"` - BatchingStrategy *FsuCycleBatchingStrategy `pulumi:"batchingStrategy"` - CollectionType *string `pulumi:"collectionType"` - CompartmentId *string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - DiagnosticsCollection *FsuCycleDiagnosticsCollection `pulumi:"diagnosticsCollection"` - DisplayName *string `pulumi:"displayName"` - ExecutingFsuActionId *string `pulumi:"executingFsuActionId"` - FreeformTags map[string]string `pulumi:"freeformTags"` - FsuCollectionId *string `pulumi:"fsuCollectionId"` - GoalVersionDetails *FsuCycleGoalVersionDetails `pulumi:"goalVersionDetails"` - IsIgnoreMissingPatches []string `pulumi:"isIgnoreMissingPatches"` - IsIgnorePatches *bool `pulumi:"isIgnorePatches"` - IsKeepPlacement *bool `pulumi:"isKeepPlacement"` - LastCompletedAction *string `pulumi:"lastCompletedAction"` - LifecycleDetails *string `pulumi:"lifecycleDetails"` - MaxDrainTimeoutInSeconds *int `pulumi:"maxDrainTimeoutInSeconds"` - NextActionToExecutes []FsuCycleNextActionToExecute `pulumi:"nextActionToExecutes"` - StageActionSchedule *FsuCycleStageActionSchedule `pulumi:"stageActionSchedule"` - State *string `pulumi:"state"` - SystemTags map[string]string `pulumi:"systemTags"` - TimeCreated *string `pulumi:"timeCreated"` - TimeFinished *string `pulumi:"timeFinished"` - TimeUpdated *string `pulumi:"timeUpdated"` - Type *string `pulumi:"type"` -} - -type FsuCycleState struct { - ApplyActionSchedule FsuCycleApplyActionSchedulePtrInput - BatchingStrategy FsuCycleBatchingStrategyPtrInput - CollectionType pulumi.StringPtrInput - CompartmentId pulumi.StringPtrInput - DefinedTags pulumi.StringMapInput - DiagnosticsCollection FsuCycleDiagnosticsCollectionPtrInput - DisplayName pulumi.StringPtrInput - ExecutingFsuActionId pulumi.StringPtrInput - FreeformTags pulumi.StringMapInput - FsuCollectionId pulumi.StringPtrInput - GoalVersionDetails FsuCycleGoalVersionDetailsPtrInput - IsIgnoreMissingPatches pulumi.StringArrayInput - IsIgnorePatches pulumi.BoolPtrInput - IsKeepPlacement pulumi.BoolPtrInput - LastCompletedAction pulumi.StringPtrInput - LifecycleDetails pulumi.StringPtrInput - MaxDrainTimeoutInSeconds pulumi.IntPtrInput - NextActionToExecutes FsuCycleNextActionToExecuteArrayInput - StageActionSchedule FsuCycleStageActionSchedulePtrInput - State pulumi.StringPtrInput - SystemTags pulumi.StringMapInput - TimeCreated pulumi.StringPtrInput - TimeFinished pulumi.StringPtrInput - TimeUpdated pulumi.StringPtrInput - Type pulumi.StringPtrInput -} - -func (FsuCycleState) ElementType() reflect.Type { - return reflect.TypeOf((*fsuCycleState)(nil)).Elem() -} - -type fsuCycleArgs struct { - ApplyActionSchedule *FsuCycleApplyActionSchedule `pulumi:"applyActionSchedule"` - BatchingStrategy *FsuCycleBatchingStrategy `pulumi:"batchingStrategy"` - CompartmentId string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - DiagnosticsCollection *FsuCycleDiagnosticsCollection `pulumi:"diagnosticsCollection"` - DisplayName *string `pulumi:"displayName"` - FreeformTags map[string]string `pulumi:"freeformTags"` - FsuCollectionId string `pulumi:"fsuCollectionId"` - GoalVersionDetails FsuCycleGoalVersionDetails `pulumi:"goalVersionDetails"` - IsIgnoreMissingPatches []string `pulumi:"isIgnoreMissingPatches"` - IsIgnorePatches *bool `pulumi:"isIgnorePatches"` - IsKeepPlacement *bool `pulumi:"isKeepPlacement"` - MaxDrainTimeoutInSeconds *int `pulumi:"maxDrainTimeoutInSeconds"` - StageActionSchedule *FsuCycleStageActionSchedule `pulumi:"stageActionSchedule"` - Type string `pulumi:"type"` -} - -// The set of arguments for constructing a FsuCycle resource. -type FsuCycleArgs struct { - ApplyActionSchedule FsuCycleApplyActionSchedulePtrInput - BatchingStrategy FsuCycleBatchingStrategyPtrInput - CompartmentId pulumi.StringInput - DefinedTags pulumi.StringMapInput - DiagnosticsCollection FsuCycleDiagnosticsCollectionPtrInput - DisplayName pulumi.StringPtrInput - FreeformTags pulumi.StringMapInput - FsuCollectionId pulumi.StringInput - GoalVersionDetails FsuCycleGoalVersionDetailsInput - IsIgnoreMissingPatches pulumi.StringArrayInput - IsIgnorePatches pulumi.BoolPtrInput - IsKeepPlacement pulumi.BoolPtrInput - MaxDrainTimeoutInSeconds pulumi.IntPtrInput - StageActionSchedule FsuCycleStageActionSchedulePtrInput - Type pulumi.StringInput -} - -func (FsuCycleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*fsuCycleArgs)(nil)).Elem() -} - -type FsuCycleInput interface { - pulumi.Input - - ToFsuCycleOutput() FsuCycleOutput - ToFsuCycleOutputWithContext(ctx context.Context) FsuCycleOutput -} - -func (*FsuCycle) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycle)(nil)).Elem() -} - -func (i *FsuCycle) ToFsuCycleOutput() FsuCycleOutput { - return i.ToFsuCycleOutputWithContext(context.Background()) -} - -func (i *FsuCycle) ToFsuCycleOutputWithContext(ctx context.Context) FsuCycleOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleOutput) -} - -// FsuCycleArrayInput is an input type that accepts FsuCycleArray and FsuCycleArrayOutput values. -// You can construct a concrete instance of `FsuCycleArrayInput` via: -// -// FsuCycleArray{ FsuCycleArgs{...} } -type FsuCycleArrayInput interface { - pulumi.Input - - ToFsuCycleArrayOutput() FsuCycleArrayOutput - ToFsuCycleArrayOutputWithContext(context.Context) FsuCycleArrayOutput -} - -type FsuCycleArray []FsuCycleInput - -func (FsuCycleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*FsuCycle)(nil)).Elem() -} - -func (i FsuCycleArray) ToFsuCycleArrayOutput() FsuCycleArrayOutput { - return i.ToFsuCycleArrayOutputWithContext(context.Background()) -} - -func (i FsuCycleArray) ToFsuCycleArrayOutputWithContext(ctx context.Context) FsuCycleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleArrayOutput) -} - -// FsuCycleMapInput is an input type that accepts FsuCycleMap and FsuCycleMapOutput values. -// You can construct a concrete instance of `FsuCycleMapInput` via: -// -// FsuCycleMap{ "key": FsuCycleArgs{...} } -type FsuCycleMapInput interface { - pulumi.Input - - ToFsuCycleMapOutput() FsuCycleMapOutput - ToFsuCycleMapOutputWithContext(context.Context) FsuCycleMapOutput -} - -type FsuCycleMap map[string]FsuCycleInput - -func (FsuCycleMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*FsuCycle)(nil)).Elem() -} - -func (i FsuCycleMap) ToFsuCycleMapOutput() FsuCycleMapOutput { - return i.ToFsuCycleMapOutputWithContext(context.Background()) -} - -func (i FsuCycleMap) ToFsuCycleMapOutputWithContext(ctx context.Context) FsuCycleMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleMapOutput) -} - -type FsuCycleOutput struct{ *pulumi.OutputState } - -func (FsuCycleOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycle)(nil)).Elem() -} - -func (o FsuCycleOutput) ToFsuCycleOutput() FsuCycleOutput { - return o -} - -func (o FsuCycleOutput) ToFsuCycleOutputWithContext(ctx context.Context) FsuCycleOutput { - return o -} - -func (o FsuCycleOutput) ApplyActionSchedule() FsuCycleApplyActionScheduleOutput { - return o.ApplyT(func(v *FsuCycle) FsuCycleApplyActionScheduleOutput { return v.ApplyActionSchedule }).(FsuCycleApplyActionScheduleOutput) -} - -func (o FsuCycleOutput) BatchingStrategy() FsuCycleBatchingStrategyOutput { - return o.ApplyT(func(v *FsuCycle) FsuCycleBatchingStrategyOutput { return v.BatchingStrategy }).(FsuCycleBatchingStrategyOutput) -} - -func (o FsuCycleOutput) CollectionType() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.CollectionType }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -func (o FsuCycleOutput) DiagnosticsCollection() FsuCycleDiagnosticsCollectionOutput { - return o.ApplyT(func(v *FsuCycle) FsuCycleDiagnosticsCollectionOutput { return v.DiagnosticsCollection }).(FsuCycleDiagnosticsCollectionOutput) -} - -func (o FsuCycleOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) ExecutingFsuActionId() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.ExecutingFsuActionId }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -func (o FsuCycleOutput) FsuCollectionId() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.FsuCollectionId }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) GoalVersionDetails() FsuCycleGoalVersionDetailsOutput { - return o.ApplyT(func(v *FsuCycle) FsuCycleGoalVersionDetailsOutput { return v.GoalVersionDetails }).(FsuCycleGoalVersionDetailsOutput) -} - -func (o FsuCycleOutput) IsIgnoreMissingPatches() pulumi.StringArrayOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringArrayOutput { return v.IsIgnoreMissingPatches }).(pulumi.StringArrayOutput) -} - -func (o FsuCycleOutput) IsIgnorePatches() pulumi.BoolOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.BoolOutput { return v.IsIgnorePatches }).(pulumi.BoolOutput) -} - -func (o FsuCycleOutput) IsKeepPlacement() pulumi.BoolOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.BoolOutput { return v.IsKeepPlacement }).(pulumi.BoolOutput) -} - -func (o FsuCycleOutput) LastCompletedAction() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.LastCompletedAction }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) LifecycleDetails() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) MaxDrainTimeoutInSeconds() pulumi.IntOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.IntOutput { return v.MaxDrainTimeoutInSeconds }).(pulumi.IntOutput) -} - -func (o FsuCycleOutput) NextActionToExecutes() FsuCycleNextActionToExecuteArrayOutput { - return o.ApplyT(func(v *FsuCycle) FsuCycleNextActionToExecuteArrayOutput { return v.NextActionToExecutes }).(FsuCycleNextActionToExecuteArrayOutput) -} - -func (o FsuCycleOutput) StageActionSchedule() FsuCycleStageActionScheduleOutput { - return o.ApplyT(func(v *FsuCycle) FsuCycleStageActionScheduleOutput { return v.StageActionSchedule }).(FsuCycleStageActionScheduleOutput) -} - -func (o FsuCycleOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) -} - -func (o FsuCycleOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) TimeFinished() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.TimeFinished }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) -} - -func (o FsuCycleOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v *FsuCycle) pulumi.StringOutput { return v.Type }).(pulumi.StringOutput) -} - -type FsuCycleArrayOutput struct{ *pulumi.OutputState } - -func (FsuCycleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*FsuCycle)(nil)).Elem() -} - -func (o FsuCycleArrayOutput) ToFsuCycleArrayOutput() FsuCycleArrayOutput { - return o -} - -func (o FsuCycleArrayOutput) ToFsuCycleArrayOutputWithContext(ctx context.Context) FsuCycleArrayOutput { - return o -} - -func (o FsuCycleArrayOutput) Index(i pulumi.IntInput) FsuCycleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *FsuCycle { - return vs[0].([]*FsuCycle)[vs[1].(int)] - }).(FsuCycleOutput) -} - -type FsuCycleMapOutput struct{ *pulumi.OutputState } - -func (FsuCycleMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*FsuCycle)(nil)).Elem() -} - -func (o FsuCycleMapOutput) ToFsuCycleMapOutput() FsuCycleMapOutput { - return o -} - -func (o FsuCycleMapOutput) ToFsuCycleMapOutputWithContext(ctx context.Context) FsuCycleMapOutput { - return o -} - -func (o FsuCycleMapOutput) MapIndex(k pulumi.StringInput) FsuCycleOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *FsuCycle { - return vs[0].(map[string]*FsuCycle)[vs[1].(string)] - }).(FsuCycleOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleInput)(nil)).Elem(), &FsuCycle{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleArrayInput)(nil)).Elem(), FsuCycleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleMapInput)(nil)).Elem(), FsuCycleMap{}) - pulumi.RegisterOutputType(FsuCycleOutput{}) - pulumi.RegisterOutputType(FsuCycleArrayOutput{}) - pulumi.RegisterOutputType(FsuCycleMapOutput{}) -} diff --git a/sdk/go/oci/fleetsoftwareupdate/getFsuCollection.go b/sdk/go/oci/fleetsoftwareupdate/getFsuCollection.go deleted file mode 100644 index 8a4f16a3e9..0000000000 --- a/sdk/go/oci/fleetsoftwareupdate/getFsuCollection.go +++ /dev/null @@ -1,157 +0,0 @@ -// 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 fleetsoftwareupdate - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupFsuCollection(ctx *pulumi.Context, args *LookupFsuCollectionArgs, opts ...pulumi.InvokeOption) (*LookupFsuCollectionResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupFsuCollectionResult - err := ctx.Invoke("oci:FleetSoftwareUpdate/getFsuCollection:getFsuCollection", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getFsuCollection. -type LookupFsuCollectionArgs struct { - FsuCollectionId string `pulumi:"fsuCollectionId"` -} - -// A collection of values returned by getFsuCollection. -type LookupFsuCollectionResult struct { - ActiveFsuCycles []GetFsuCollectionActiveFsuCycle `pulumi:"activeFsuCycles"` - CompartmentId string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - DisplayName string `pulumi:"displayName"` - FleetDiscoveries []GetFsuCollectionFleetDiscovery `pulumi:"fleetDiscoveries"` - FreeformTags map[string]string `pulumi:"freeformTags"` - FsuCollectionId string `pulumi:"fsuCollectionId"` - Id string `pulumi:"id"` - LifecycleDetails string `pulumi:"lifecycleDetails"` - ServiceType string `pulumi:"serviceType"` - SourceMajorVersion string `pulumi:"sourceMajorVersion"` - State string `pulumi:"state"` - SystemTags map[string]string `pulumi:"systemTags"` - TargetCount int `pulumi:"targetCount"` - TimeCreated string `pulumi:"timeCreated"` - TimeUpdated string `pulumi:"timeUpdated"` - Type string `pulumi:"type"` -} - -func LookupFsuCollectionOutput(ctx *pulumi.Context, args LookupFsuCollectionOutputArgs, opts ...pulumi.InvokeOption) LookupFsuCollectionResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupFsuCollectionResult, error) { - args := v.(LookupFsuCollectionArgs) - r, err := LookupFsuCollection(ctx, &args, opts...) - var s LookupFsuCollectionResult - if r != nil { - s = *r - } - return s, err - }).(LookupFsuCollectionResultOutput) -} - -// A collection of arguments for invoking getFsuCollection. -type LookupFsuCollectionOutputArgs struct { - FsuCollectionId pulumi.StringInput `pulumi:"fsuCollectionId"` -} - -func (LookupFsuCollectionOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupFsuCollectionArgs)(nil)).Elem() -} - -// A collection of values returned by getFsuCollection. -type LookupFsuCollectionResultOutput struct{ *pulumi.OutputState } - -func (LookupFsuCollectionResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupFsuCollectionResult)(nil)).Elem() -} - -func (o LookupFsuCollectionResultOutput) ToLookupFsuCollectionResultOutput() LookupFsuCollectionResultOutput { - return o -} - -func (o LookupFsuCollectionResultOutput) ToLookupFsuCollectionResultOutputWithContext(ctx context.Context) LookupFsuCollectionResultOutput { - return o -} - -func (o LookupFsuCollectionResultOutput) ActiveFsuCycles() GetFsuCollectionActiveFsuCycleArrayOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) []GetFsuCollectionActiveFsuCycle { return v.ActiveFsuCycles }).(GetFsuCollectionActiveFsuCycleArrayOutput) -} - -func (o LookupFsuCollectionResultOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o LookupFsuCollectionResultOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -func (o LookupFsuCollectionResultOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.DisplayName }).(pulumi.StringOutput) -} - -func (o LookupFsuCollectionResultOutput) FleetDiscoveries() GetFsuCollectionFleetDiscoveryArrayOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) []GetFsuCollectionFleetDiscovery { return v.FleetDiscoveries }).(GetFsuCollectionFleetDiscoveryArrayOutput) -} - -func (o LookupFsuCollectionResultOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -func (o LookupFsuCollectionResultOutput) FsuCollectionId() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.FsuCollectionId }).(pulumi.StringOutput) -} - -func (o LookupFsuCollectionResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupFsuCollectionResultOutput) LifecycleDetails() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.LifecycleDetails }).(pulumi.StringOutput) -} - -func (o LookupFsuCollectionResultOutput) ServiceType() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.ServiceType }).(pulumi.StringOutput) -} - -func (o LookupFsuCollectionResultOutput) SourceMajorVersion() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.SourceMajorVersion }).(pulumi.StringOutput) -} - -func (o LookupFsuCollectionResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.State }).(pulumi.StringOutput) -} - -func (o LookupFsuCollectionResultOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) -} - -func (o LookupFsuCollectionResultOutput) TargetCount() pulumi.IntOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) int { return v.TargetCount }).(pulumi.IntOutput) -} - -func (o LookupFsuCollectionResultOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -func (o LookupFsuCollectionResultOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -func (o LookupFsuCollectionResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCollectionResult) string { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupFsuCollectionResultOutput{}) -} diff --git a/sdk/go/oci/fleetsoftwareupdate/getFsuCollections.go b/sdk/go/oci/fleetsoftwareupdate/getFsuCollections.go deleted file mode 100644 index 6fa29b912a..0000000000 --- a/sdk/go/oci/fleetsoftwareupdate/getFsuCollections.go +++ /dev/null @@ -1,119 +0,0 @@ -// 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 fleetsoftwareupdate - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func GetFsuCollections(ctx *pulumi.Context, args *GetFsuCollectionsArgs, opts ...pulumi.InvokeOption) (*GetFsuCollectionsResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetFsuCollectionsResult - err := ctx.Invoke("oci:FleetSoftwareUpdate/getFsuCollections:getFsuCollections", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getFsuCollections. -type GetFsuCollectionsArgs struct { - CompartmentId string `pulumi:"compartmentId"` - DisplayName *string `pulumi:"displayName"` - Filters []GetFsuCollectionsFilter `pulumi:"filters"` - State *string `pulumi:"state"` - Type *string `pulumi:"type"` -} - -// A collection of values returned by getFsuCollections. -type GetFsuCollectionsResult struct { - CompartmentId string `pulumi:"compartmentId"` - DisplayName *string `pulumi:"displayName"` - Filters []GetFsuCollectionsFilter `pulumi:"filters"` - FsuCollectionSummaryCollections []GetFsuCollectionsFsuCollectionSummaryCollection `pulumi:"fsuCollectionSummaryCollections"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - State *string `pulumi:"state"` - Type *string `pulumi:"type"` -} - -func GetFsuCollectionsOutput(ctx *pulumi.Context, args GetFsuCollectionsOutputArgs, opts ...pulumi.InvokeOption) GetFsuCollectionsResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetFsuCollectionsResult, error) { - args := v.(GetFsuCollectionsArgs) - r, err := GetFsuCollections(ctx, &args, opts...) - var s GetFsuCollectionsResult - if r != nil { - s = *r - } - return s, err - }).(GetFsuCollectionsResultOutput) -} - -// A collection of arguments for invoking getFsuCollections. -type GetFsuCollectionsOutputArgs struct { - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` - Filters GetFsuCollectionsFilterArrayInput `pulumi:"filters"` - State pulumi.StringPtrInput `pulumi:"state"` - Type pulumi.StringPtrInput `pulumi:"type"` -} - -func (GetFsuCollectionsOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsArgs)(nil)).Elem() -} - -// A collection of values returned by getFsuCollections. -type GetFsuCollectionsResultOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsResult)(nil)).Elem() -} - -func (o GetFsuCollectionsResultOutput) ToGetFsuCollectionsResultOutput() GetFsuCollectionsResultOutput { - return o -} - -func (o GetFsuCollectionsResultOutput) ToGetFsuCollectionsResultOutputWithContext(ctx context.Context) GetFsuCollectionsResultOutput { - return o -} - -func (o GetFsuCollectionsResultOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsResult) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsResultOutput) DisplayName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFsuCollectionsResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) -} - -func (o GetFsuCollectionsResultOutput) Filters() GetFsuCollectionsFilterArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsResult) []GetFsuCollectionsFilter { return v.Filters }).(GetFsuCollectionsFilterArrayOutput) -} - -func (o GetFsuCollectionsResultOutput) FsuCollectionSummaryCollections() GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsResult) []GetFsuCollectionsFsuCollectionSummaryCollection { - return v.FsuCollectionSummaryCollections - }).(GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetFsuCollectionsResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsResultOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFsuCollectionsResult) *string { return v.State }).(pulumi.StringPtrOutput) -} - -func (o GetFsuCollectionsResultOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFsuCollectionsResult) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(GetFsuCollectionsResultOutput{}) -} diff --git a/sdk/go/oci/fleetsoftwareupdate/getFsuCycle.go b/sdk/go/oci/fleetsoftwareupdate/getFsuCycle.go deleted file mode 100644 index 2f0e6cefb3..0000000000 --- a/sdk/go/oci/fleetsoftwareupdate/getFsuCycle.go +++ /dev/null @@ -1,207 +0,0 @@ -// 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 fleetsoftwareupdate - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func LookupFsuCycle(ctx *pulumi.Context, args *LookupFsuCycleArgs, opts ...pulumi.InvokeOption) (*LookupFsuCycleResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupFsuCycleResult - err := ctx.Invoke("oci:FleetSoftwareUpdate/getFsuCycle:getFsuCycle", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getFsuCycle. -type LookupFsuCycleArgs struct { - FsuCycleId string `pulumi:"fsuCycleId"` -} - -// A collection of values returned by getFsuCycle. -type LookupFsuCycleResult struct { - ApplyActionSchedules []GetFsuCycleApplyActionSchedule `pulumi:"applyActionSchedules"` - BatchingStrategies []GetFsuCycleBatchingStrategy `pulumi:"batchingStrategies"` - CollectionType string `pulumi:"collectionType"` - CompartmentId string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - DiagnosticsCollections []GetFsuCycleDiagnosticsCollection `pulumi:"diagnosticsCollections"` - DisplayName string `pulumi:"displayName"` - ExecutingFsuActionId string `pulumi:"executingFsuActionId"` - FreeformTags map[string]string `pulumi:"freeformTags"` - FsuCollectionId string `pulumi:"fsuCollectionId"` - FsuCycleId string `pulumi:"fsuCycleId"` - GoalVersionDetails []GetFsuCycleGoalVersionDetail `pulumi:"goalVersionDetails"` - Id string `pulumi:"id"` - IsIgnoreMissingPatches []string `pulumi:"isIgnoreMissingPatches"` - IsIgnorePatches bool `pulumi:"isIgnorePatches"` - IsKeepPlacement bool `pulumi:"isKeepPlacement"` - LastCompletedAction string `pulumi:"lastCompletedAction"` - LifecycleDetails string `pulumi:"lifecycleDetails"` - MaxDrainTimeoutInSeconds int `pulumi:"maxDrainTimeoutInSeconds"` - NextActionToExecutes []GetFsuCycleNextActionToExecute `pulumi:"nextActionToExecutes"` - StageActionSchedules []GetFsuCycleStageActionSchedule `pulumi:"stageActionSchedules"` - State string `pulumi:"state"` - SystemTags map[string]string `pulumi:"systemTags"` - TimeCreated string `pulumi:"timeCreated"` - TimeFinished string `pulumi:"timeFinished"` - TimeUpdated string `pulumi:"timeUpdated"` - Type string `pulumi:"type"` -} - -func LookupFsuCycleOutput(ctx *pulumi.Context, args LookupFsuCycleOutputArgs, opts ...pulumi.InvokeOption) LookupFsuCycleResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupFsuCycleResult, error) { - args := v.(LookupFsuCycleArgs) - r, err := LookupFsuCycle(ctx, &args, opts...) - var s LookupFsuCycleResult - if r != nil { - s = *r - } - return s, err - }).(LookupFsuCycleResultOutput) -} - -// A collection of arguments for invoking getFsuCycle. -type LookupFsuCycleOutputArgs struct { - FsuCycleId pulumi.StringInput `pulumi:"fsuCycleId"` -} - -func (LookupFsuCycleOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupFsuCycleArgs)(nil)).Elem() -} - -// A collection of values returned by getFsuCycle. -type LookupFsuCycleResultOutput struct{ *pulumi.OutputState } - -func (LookupFsuCycleResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupFsuCycleResult)(nil)).Elem() -} - -func (o LookupFsuCycleResultOutput) ToLookupFsuCycleResultOutput() LookupFsuCycleResultOutput { - return o -} - -func (o LookupFsuCycleResultOutput) ToLookupFsuCycleResultOutputWithContext(ctx context.Context) LookupFsuCycleResultOutput { - return o -} - -func (o LookupFsuCycleResultOutput) ApplyActionSchedules() GetFsuCycleApplyActionScheduleArrayOutput { - return o.ApplyT(func(v LookupFsuCycleResult) []GetFsuCycleApplyActionSchedule { return v.ApplyActionSchedules }).(GetFsuCycleApplyActionScheduleArrayOutput) -} - -func (o LookupFsuCycleResultOutput) BatchingStrategies() GetFsuCycleBatchingStrategyArrayOutput { - return o.ApplyT(func(v LookupFsuCycleResult) []GetFsuCycleBatchingStrategy { return v.BatchingStrategies }).(GetFsuCycleBatchingStrategyArrayOutput) -} - -func (o LookupFsuCycleResultOutput) CollectionType() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.CollectionType }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupFsuCycleResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -func (o LookupFsuCycleResultOutput) DiagnosticsCollections() GetFsuCycleDiagnosticsCollectionArrayOutput { - return o.ApplyT(func(v LookupFsuCycleResult) []GetFsuCycleDiagnosticsCollection { return v.DiagnosticsCollections }).(GetFsuCycleDiagnosticsCollectionArrayOutput) -} - -func (o LookupFsuCycleResultOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.DisplayName }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) ExecutingFsuActionId() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.ExecutingFsuActionId }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupFsuCycleResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -func (o LookupFsuCycleResultOutput) FsuCollectionId() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.FsuCollectionId }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) FsuCycleId() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.FsuCycleId }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) GoalVersionDetails() GetFsuCycleGoalVersionDetailArrayOutput { - return o.ApplyT(func(v LookupFsuCycleResult) []GetFsuCycleGoalVersionDetail { return v.GoalVersionDetails }).(GetFsuCycleGoalVersionDetailArrayOutput) -} - -func (o LookupFsuCycleResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) IsIgnoreMissingPatches() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupFsuCycleResult) []string { return v.IsIgnoreMissingPatches }).(pulumi.StringArrayOutput) -} - -func (o LookupFsuCycleResultOutput) IsIgnorePatches() pulumi.BoolOutput { - return o.ApplyT(func(v LookupFsuCycleResult) bool { return v.IsIgnorePatches }).(pulumi.BoolOutput) -} - -func (o LookupFsuCycleResultOutput) IsKeepPlacement() pulumi.BoolOutput { - return o.ApplyT(func(v LookupFsuCycleResult) bool { return v.IsKeepPlacement }).(pulumi.BoolOutput) -} - -func (o LookupFsuCycleResultOutput) LastCompletedAction() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.LastCompletedAction }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) LifecycleDetails() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.LifecycleDetails }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) MaxDrainTimeoutInSeconds() pulumi.IntOutput { - return o.ApplyT(func(v LookupFsuCycleResult) int { return v.MaxDrainTimeoutInSeconds }).(pulumi.IntOutput) -} - -func (o LookupFsuCycleResultOutput) NextActionToExecutes() GetFsuCycleNextActionToExecuteArrayOutput { - return o.ApplyT(func(v LookupFsuCycleResult) []GetFsuCycleNextActionToExecute { return v.NextActionToExecutes }).(GetFsuCycleNextActionToExecuteArrayOutput) -} - -func (o LookupFsuCycleResultOutput) StageActionSchedules() GetFsuCycleStageActionScheduleArrayOutput { - return o.ApplyT(func(v LookupFsuCycleResult) []GetFsuCycleStageActionSchedule { return v.StageActionSchedules }).(GetFsuCycleStageActionScheduleArrayOutput) -} - -func (o LookupFsuCycleResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.State }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupFsuCycleResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) -} - -func (o LookupFsuCycleResultOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) TimeFinished() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.TimeFinished }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -func (o LookupFsuCycleResultOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v LookupFsuCycleResult) string { return v.Type }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupFsuCycleResultOutput{}) -} diff --git a/sdk/go/oci/fleetsoftwareupdate/getFsuCycles.go b/sdk/go/oci/fleetsoftwareupdate/getFsuCycles.go deleted file mode 100644 index 2a88990078..0000000000 --- a/sdk/go/oci/fleetsoftwareupdate/getFsuCycles.go +++ /dev/null @@ -1,133 +0,0 @@ -// 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 fleetsoftwareupdate - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -func GetFsuCycles(ctx *pulumi.Context, args *GetFsuCyclesArgs, opts ...pulumi.InvokeOption) (*GetFsuCyclesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetFsuCyclesResult - err := ctx.Invoke("oci:FleetSoftwareUpdate/getFsuCycles:getFsuCycles", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getFsuCycles. -type GetFsuCyclesArgs struct { - CollectionType *string `pulumi:"collectionType"` - CompartmentId string `pulumi:"compartmentId"` - DisplayName *string `pulumi:"displayName"` - Filters []GetFsuCyclesFilter `pulumi:"filters"` - FsuCollectionId *string `pulumi:"fsuCollectionId"` - State *string `pulumi:"state"` - TargetVersion *string `pulumi:"targetVersion"` -} - -// A collection of values returned by getFsuCycles. -type GetFsuCyclesResult struct { - CollectionType *string `pulumi:"collectionType"` - CompartmentId string `pulumi:"compartmentId"` - DisplayName *string `pulumi:"displayName"` - Filters []GetFsuCyclesFilter `pulumi:"filters"` - FsuCollectionId *string `pulumi:"fsuCollectionId"` - FsuCycleSummaryCollections []GetFsuCyclesFsuCycleSummaryCollection `pulumi:"fsuCycleSummaryCollections"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - State *string `pulumi:"state"` - TargetVersion *string `pulumi:"targetVersion"` -} - -func GetFsuCyclesOutput(ctx *pulumi.Context, args GetFsuCyclesOutputArgs, opts ...pulumi.InvokeOption) GetFsuCyclesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetFsuCyclesResult, error) { - args := v.(GetFsuCyclesArgs) - r, err := GetFsuCycles(ctx, &args, opts...) - var s GetFsuCyclesResult - if r != nil { - s = *r - } - return s, err - }).(GetFsuCyclesResultOutput) -} - -// A collection of arguments for invoking getFsuCycles. -type GetFsuCyclesOutputArgs struct { - CollectionType pulumi.StringPtrInput `pulumi:"collectionType"` - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` - Filters GetFsuCyclesFilterArrayInput `pulumi:"filters"` - FsuCollectionId pulumi.StringPtrInput `pulumi:"fsuCollectionId"` - State pulumi.StringPtrInput `pulumi:"state"` - TargetVersion pulumi.StringPtrInput `pulumi:"targetVersion"` -} - -func (GetFsuCyclesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesArgs)(nil)).Elem() -} - -// A collection of values returned by getFsuCycles. -type GetFsuCyclesResultOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesResult)(nil)).Elem() -} - -func (o GetFsuCyclesResultOutput) ToGetFsuCyclesResultOutput() GetFsuCyclesResultOutput { - return o -} - -func (o GetFsuCyclesResultOutput) ToGetFsuCyclesResultOutputWithContext(ctx context.Context) GetFsuCyclesResultOutput { - return o -} - -func (o GetFsuCyclesResultOutput) CollectionType() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFsuCyclesResult) *string { return v.CollectionType }).(pulumi.StringPtrOutput) -} - -func (o GetFsuCyclesResultOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesResult) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesResultOutput) DisplayName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFsuCyclesResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) -} - -func (o GetFsuCyclesResultOutput) Filters() GetFsuCyclesFilterArrayOutput { - return o.ApplyT(func(v GetFsuCyclesResult) []GetFsuCyclesFilter { return v.Filters }).(GetFsuCyclesFilterArrayOutput) -} - -func (o GetFsuCyclesResultOutput) FsuCollectionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFsuCyclesResult) *string { return v.FsuCollectionId }).(pulumi.StringPtrOutput) -} - -func (o GetFsuCyclesResultOutput) FsuCycleSummaryCollections() GetFsuCyclesFsuCycleSummaryCollectionArrayOutput { - return o.ApplyT(func(v GetFsuCyclesResult) []GetFsuCyclesFsuCycleSummaryCollection { - return v.FsuCycleSummaryCollections - }).(GetFsuCyclesFsuCycleSummaryCollectionArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetFsuCyclesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesResultOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFsuCyclesResult) *string { return v.State }).(pulumi.StringPtrOutput) -} - -func (o GetFsuCyclesResultOutput) TargetVersion() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetFsuCyclesResult) *string { return v.TargetVersion }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(GetFsuCyclesResultOutput{}) -} diff --git a/sdk/go/oci/fleetsoftwareupdate/pulumiTypes.go b/sdk/go/oci/fleetsoftwareupdate/pulumiTypes.go deleted file mode 100644 index 6bec5fd1f6..0000000000 --- a/sdk/go/oci/fleetsoftwareupdate/pulumiTypes.go +++ /dev/null @@ -1,4636 +0,0 @@ -// 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 fleetsoftwareupdate - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -var _ = internal.GetEnvOrDefault - -type FsuCollectionActiveFsuCycle struct { - DisplayName *string `pulumi:"displayName"` - Id *string `pulumi:"id"` -} - -// FsuCollectionActiveFsuCycleInput is an input type that accepts FsuCollectionActiveFsuCycleArgs and FsuCollectionActiveFsuCycleOutput values. -// You can construct a concrete instance of `FsuCollectionActiveFsuCycleInput` via: -// -// FsuCollectionActiveFsuCycleArgs{...} -type FsuCollectionActiveFsuCycleInput interface { - pulumi.Input - - ToFsuCollectionActiveFsuCycleOutput() FsuCollectionActiveFsuCycleOutput - ToFsuCollectionActiveFsuCycleOutputWithContext(context.Context) FsuCollectionActiveFsuCycleOutput -} - -type FsuCollectionActiveFsuCycleArgs struct { - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` - Id pulumi.StringPtrInput `pulumi:"id"` -} - -func (FsuCollectionActiveFsuCycleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCollectionActiveFsuCycle)(nil)).Elem() -} - -func (i FsuCollectionActiveFsuCycleArgs) ToFsuCollectionActiveFsuCycleOutput() FsuCollectionActiveFsuCycleOutput { - return i.ToFsuCollectionActiveFsuCycleOutputWithContext(context.Background()) -} - -func (i FsuCollectionActiveFsuCycleArgs) ToFsuCollectionActiveFsuCycleOutputWithContext(ctx context.Context) FsuCollectionActiveFsuCycleOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionActiveFsuCycleOutput) -} - -// FsuCollectionActiveFsuCycleArrayInput is an input type that accepts FsuCollectionActiveFsuCycleArray and FsuCollectionActiveFsuCycleArrayOutput values. -// You can construct a concrete instance of `FsuCollectionActiveFsuCycleArrayInput` via: -// -// FsuCollectionActiveFsuCycleArray{ FsuCollectionActiveFsuCycleArgs{...} } -type FsuCollectionActiveFsuCycleArrayInput interface { - pulumi.Input - - ToFsuCollectionActiveFsuCycleArrayOutput() FsuCollectionActiveFsuCycleArrayOutput - ToFsuCollectionActiveFsuCycleArrayOutputWithContext(context.Context) FsuCollectionActiveFsuCycleArrayOutput -} - -type FsuCollectionActiveFsuCycleArray []FsuCollectionActiveFsuCycleInput - -func (FsuCollectionActiveFsuCycleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]FsuCollectionActiveFsuCycle)(nil)).Elem() -} - -func (i FsuCollectionActiveFsuCycleArray) ToFsuCollectionActiveFsuCycleArrayOutput() FsuCollectionActiveFsuCycleArrayOutput { - return i.ToFsuCollectionActiveFsuCycleArrayOutputWithContext(context.Background()) -} - -func (i FsuCollectionActiveFsuCycleArray) ToFsuCollectionActiveFsuCycleArrayOutputWithContext(ctx context.Context) FsuCollectionActiveFsuCycleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionActiveFsuCycleArrayOutput) -} - -type FsuCollectionActiveFsuCycleOutput struct{ *pulumi.OutputState } - -func (FsuCollectionActiveFsuCycleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCollectionActiveFsuCycle)(nil)).Elem() -} - -func (o FsuCollectionActiveFsuCycleOutput) ToFsuCollectionActiveFsuCycleOutput() FsuCollectionActiveFsuCycleOutput { - return o -} - -func (o FsuCollectionActiveFsuCycleOutput) ToFsuCollectionActiveFsuCycleOutputWithContext(ctx context.Context) FsuCollectionActiveFsuCycleOutput { - return o -} - -func (o FsuCollectionActiveFsuCycleOutput) DisplayName() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCollectionActiveFsuCycle) *string { return v.DisplayName }).(pulumi.StringPtrOutput) -} - -func (o FsuCollectionActiveFsuCycleOutput) Id() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCollectionActiveFsuCycle) *string { return v.Id }).(pulumi.StringPtrOutput) -} - -type FsuCollectionActiveFsuCycleArrayOutput struct{ *pulumi.OutputState } - -func (FsuCollectionActiveFsuCycleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]FsuCollectionActiveFsuCycle)(nil)).Elem() -} - -func (o FsuCollectionActiveFsuCycleArrayOutput) ToFsuCollectionActiveFsuCycleArrayOutput() FsuCollectionActiveFsuCycleArrayOutput { - return o -} - -func (o FsuCollectionActiveFsuCycleArrayOutput) ToFsuCollectionActiveFsuCycleArrayOutputWithContext(ctx context.Context) FsuCollectionActiveFsuCycleArrayOutput { - return o -} - -func (o FsuCollectionActiveFsuCycleArrayOutput) Index(i pulumi.IntInput) FsuCollectionActiveFsuCycleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) FsuCollectionActiveFsuCycle { - return vs[0].([]FsuCollectionActiveFsuCycle)[vs[1].(int)] - }).(FsuCollectionActiveFsuCycleOutput) -} - -type FsuCollectionFleetDiscovery struct { - Filters []FsuCollectionFleetDiscoveryFilter `pulumi:"filters"` - FsuDiscoveryId *string `pulumi:"fsuDiscoveryId"` - Query *string `pulumi:"query"` - Strategy string `pulumi:"strategy"` - Targets []string `pulumi:"targets"` -} - -// FsuCollectionFleetDiscoveryInput is an input type that accepts FsuCollectionFleetDiscoveryArgs and FsuCollectionFleetDiscoveryOutput values. -// You can construct a concrete instance of `FsuCollectionFleetDiscoveryInput` via: -// -// FsuCollectionFleetDiscoveryArgs{...} -type FsuCollectionFleetDiscoveryInput interface { - pulumi.Input - - ToFsuCollectionFleetDiscoveryOutput() FsuCollectionFleetDiscoveryOutput - ToFsuCollectionFleetDiscoveryOutputWithContext(context.Context) FsuCollectionFleetDiscoveryOutput -} - -type FsuCollectionFleetDiscoveryArgs struct { - Filters FsuCollectionFleetDiscoveryFilterArrayInput `pulumi:"filters"` - FsuDiscoveryId pulumi.StringPtrInput `pulumi:"fsuDiscoveryId"` - Query pulumi.StringPtrInput `pulumi:"query"` - Strategy pulumi.StringInput `pulumi:"strategy"` - Targets pulumi.StringArrayInput `pulumi:"targets"` -} - -func (FsuCollectionFleetDiscoveryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCollectionFleetDiscovery)(nil)).Elem() -} - -func (i FsuCollectionFleetDiscoveryArgs) ToFsuCollectionFleetDiscoveryOutput() FsuCollectionFleetDiscoveryOutput { - return i.ToFsuCollectionFleetDiscoveryOutputWithContext(context.Background()) -} - -func (i FsuCollectionFleetDiscoveryArgs) ToFsuCollectionFleetDiscoveryOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionFleetDiscoveryOutput) -} - -func (i FsuCollectionFleetDiscoveryArgs) ToFsuCollectionFleetDiscoveryPtrOutput() FsuCollectionFleetDiscoveryPtrOutput { - return i.ToFsuCollectionFleetDiscoveryPtrOutputWithContext(context.Background()) -} - -func (i FsuCollectionFleetDiscoveryArgs) ToFsuCollectionFleetDiscoveryPtrOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionFleetDiscoveryOutput).ToFsuCollectionFleetDiscoveryPtrOutputWithContext(ctx) -} - -// FsuCollectionFleetDiscoveryPtrInput is an input type that accepts FsuCollectionFleetDiscoveryArgs, FsuCollectionFleetDiscoveryPtr and FsuCollectionFleetDiscoveryPtrOutput values. -// You can construct a concrete instance of `FsuCollectionFleetDiscoveryPtrInput` via: -// -// FsuCollectionFleetDiscoveryArgs{...} -// -// or: -// -// nil -type FsuCollectionFleetDiscoveryPtrInput interface { - pulumi.Input - - ToFsuCollectionFleetDiscoveryPtrOutput() FsuCollectionFleetDiscoveryPtrOutput - ToFsuCollectionFleetDiscoveryPtrOutputWithContext(context.Context) FsuCollectionFleetDiscoveryPtrOutput -} - -type fsuCollectionFleetDiscoveryPtrType FsuCollectionFleetDiscoveryArgs - -func FsuCollectionFleetDiscoveryPtr(v *FsuCollectionFleetDiscoveryArgs) FsuCollectionFleetDiscoveryPtrInput { - return (*fsuCollectionFleetDiscoveryPtrType)(v) -} - -func (*fsuCollectionFleetDiscoveryPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCollectionFleetDiscovery)(nil)).Elem() -} - -func (i *fsuCollectionFleetDiscoveryPtrType) ToFsuCollectionFleetDiscoveryPtrOutput() FsuCollectionFleetDiscoveryPtrOutput { - return i.ToFsuCollectionFleetDiscoveryPtrOutputWithContext(context.Background()) -} - -func (i *fsuCollectionFleetDiscoveryPtrType) ToFsuCollectionFleetDiscoveryPtrOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionFleetDiscoveryPtrOutput) -} - -type FsuCollectionFleetDiscoveryOutput struct{ *pulumi.OutputState } - -func (FsuCollectionFleetDiscoveryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCollectionFleetDiscovery)(nil)).Elem() -} - -func (o FsuCollectionFleetDiscoveryOutput) ToFsuCollectionFleetDiscoveryOutput() FsuCollectionFleetDiscoveryOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryOutput) ToFsuCollectionFleetDiscoveryOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryOutput) ToFsuCollectionFleetDiscoveryPtrOutput() FsuCollectionFleetDiscoveryPtrOutput { - return o.ToFsuCollectionFleetDiscoveryPtrOutputWithContext(context.Background()) -} - -func (o FsuCollectionFleetDiscoveryOutput) ToFsuCollectionFleetDiscoveryPtrOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v FsuCollectionFleetDiscovery) *FsuCollectionFleetDiscovery { - return &v - }).(FsuCollectionFleetDiscoveryPtrOutput) -} - -func (o FsuCollectionFleetDiscoveryOutput) Filters() FsuCollectionFleetDiscoveryFilterArrayOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscovery) []FsuCollectionFleetDiscoveryFilter { return v.Filters }).(FsuCollectionFleetDiscoveryFilterArrayOutput) -} - -func (o FsuCollectionFleetDiscoveryOutput) FsuDiscoveryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscovery) *string { return v.FsuDiscoveryId }).(pulumi.StringPtrOutput) -} - -func (o FsuCollectionFleetDiscoveryOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscovery) *string { return v.Query }).(pulumi.StringPtrOutput) -} - -func (o FsuCollectionFleetDiscoveryOutput) Strategy() pulumi.StringOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscovery) string { return v.Strategy }).(pulumi.StringOutput) -} - -func (o FsuCollectionFleetDiscoveryOutput) Targets() pulumi.StringArrayOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscovery) []string { return v.Targets }).(pulumi.StringArrayOutput) -} - -type FsuCollectionFleetDiscoveryPtrOutput struct{ *pulumi.OutputState } - -func (FsuCollectionFleetDiscoveryPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCollectionFleetDiscovery)(nil)).Elem() -} - -func (o FsuCollectionFleetDiscoveryPtrOutput) ToFsuCollectionFleetDiscoveryPtrOutput() FsuCollectionFleetDiscoveryPtrOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryPtrOutput) ToFsuCollectionFleetDiscoveryPtrOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryPtrOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryPtrOutput) Elem() FsuCollectionFleetDiscoveryOutput { - return o.ApplyT(func(v *FsuCollectionFleetDiscovery) FsuCollectionFleetDiscovery { - if v != nil { - return *v - } - var ret FsuCollectionFleetDiscovery - return ret - }).(FsuCollectionFleetDiscoveryOutput) -} - -func (o FsuCollectionFleetDiscoveryPtrOutput) Filters() FsuCollectionFleetDiscoveryFilterArrayOutput { - return o.ApplyT(func(v *FsuCollectionFleetDiscovery) []FsuCollectionFleetDiscoveryFilter { - if v == nil { - return nil - } - return v.Filters - }).(FsuCollectionFleetDiscoveryFilterArrayOutput) -} - -func (o FsuCollectionFleetDiscoveryPtrOutput) FsuDiscoveryId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCollectionFleetDiscovery) *string { - if v == nil { - return nil - } - return v.FsuDiscoveryId - }).(pulumi.StringPtrOutput) -} - -func (o FsuCollectionFleetDiscoveryPtrOutput) Query() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCollectionFleetDiscovery) *string { - if v == nil { - return nil - } - return v.Query - }).(pulumi.StringPtrOutput) -} - -func (o FsuCollectionFleetDiscoveryPtrOutput) Strategy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCollectionFleetDiscovery) *string { - if v == nil { - return nil - } - return &v.Strategy - }).(pulumi.StringPtrOutput) -} - -func (o FsuCollectionFleetDiscoveryPtrOutput) Targets() pulumi.StringArrayOutput { - return o.ApplyT(func(v *FsuCollectionFleetDiscovery) []string { - if v == nil { - return nil - } - return v.Targets - }).(pulumi.StringArrayOutput) -} - -type FsuCollectionFleetDiscoveryFilter struct { - EntityType *string `pulumi:"entityType"` - Identifiers []string `pulumi:"identifiers"` - Mode *string `pulumi:"mode"` - Names []string `pulumi:"names"` - Operator *string `pulumi:"operator"` - Tags []FsuCollectionFleetDiscoveryFilterTag `pulumi:"tags"` - Type string `pulumi:"type"` - Versions []string `pulumi:"versions"` -} - -// FsuCollectionFleetDiscoveryFilterInput is an input type that accepts FsuCollectionFleetDiscoveryFilterArgs and FsuCollectionFleetDiscoveryFilterOutput values. -// You can construct a concrete instance of `FsuCollectionFleetDiscoveryFilterInput` via: -// -// FsuCollectionFleetDiscoveryFilterArgs{...} -type FsuCollectionFleetDiscoveryFilterInput interface { - pulumi.Input - - ToFsuCollectionFleetDiscoveryFilterOutput() FsuCollectionFleetDiscoveryFilterOutput - ToFsuCollectionFleetDiscoveryFilterOutputWithContext(context.Context) FsuCollectionFleetDiscoveryFilterOutput -} - -type FsuCollectionFleetDiscoveryFilterArgs struct { - EntityType pulumi.StringPtrInput `pulumi:"entityType"` - Identifiers pulumi.StringArrayInput `pulumi:"identifiers"` - Mode pulumi.StringPtrInput `pulumi:"mode"` - Names pulumi.StringArrayInput `pulumi:"names"` - Operator pulumi.StringPtrInput `pulumi:"operator"` - Tags FsuCollectionFleetDiscoveryFilterTagArrayInput `pulumi:"tags"` - Type pulumi.StringInput `pulumi:"type"` - Versions pulumi.StringArrayInput `pulumi:"versions"` -} - -func (FsuCollectionFleetDiscoveryFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCollectionFleetDiscoveryFilter)(nil)).Elem() -} - -func (i FsuCollectionFleetDiscoveryFilterArgs) ToFsuCollectionFleetDiscoveryFilterOutput() FsuCollectionFleetDiscoveryFilterOutput { - return i.ToFsuCollectionFleetDiscoveryFilterOutputWithContext(context.Background()) -} - -func (i FsuCollectionFleetDiscoveryFilterArgs) ToFsuCollectionFleetDiscoveryFilterOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionFleetDiscoveryFilterOutput) -} - -// FsuCollectionFleetDiscoveryFilterArrayInput is an input type that accepts FsuCollectionFleetDiscoveryFilterArray and FsuCollectionFleetDiscoveryFilterArrayOutput values. -// You can construct a concrete instance of `FsuCollectionFleetDiscoveryFilterArrayInput` via: -// -// FsuCollectionFleetDiscoveryFilterArray{ FsuCollectionFleetDiscoveryFilterArgs{...} } -type FsuCollectionFleetDiscoveryFilterArrayInput interface { - pulumi.Input - - ToFsuCollectionFleetDiscoveryFilterArrayOutput() FsuCollectionFleetDiscoveryFilterArrayOutput - ToFsuCollectionFleetDiscoveryFilterArrayOutputWithContext(context.Context) FsuCollectionFleetDiscoveryFilterArrayOutput -} - -type FsuCollectionFleetDiscoveryFilterArray []FsuCollectionFleetDiscoveryFilterInput - -func (FsuCollectionFleetDiscoveryFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]FsuCollectionFleetDiscoveryFilter)(nil)).Elem() -} - -func (i FsuCollectionFleetDiscoveryFilterArray) ToFsuCollectionFleetDiscoveryFilterArrayOutput() FsuCollectionFleetDiscoveryFilterArrayOutput { - return i.ToFsuCollectionFleetDiscoveryFilterArrayOutputWithContext(context.Background()) -} - -func (i FsuCollectionFleetDiscoveryFilterArray) ToFsuCollectionFleetDiscoveryFilterArrayOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionFleetDiscoveryFilterArrayOutput) -} - -type FsuCollectionFleetDiscoveryFilterOutput struct{ *pulumi.OutputState } - -func (FsuCollectionFleetDiscoveryFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCollectionFleetDiscoveryFilter)(nil)).Elem() -} - -func (o FsuCollectionFleetDiscoveryFilterOutput) ToFsuCollectionFleetDiscoveryFilterOutput() FsuCollectionFleetDiscoveryFilterOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryFilterOutput) ToFsuCollectionFleetDiscoveryFilterOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryFilterOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryFilterOutput) EntityType() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilter) *string { return v.EntityType }).(pulumi.StringPtrOutput) -} - -func (o FsuCollectionFleetDiscoveryFilterOutput) Identifiers() pulumi.StringArrayOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilter) []string { return v.Identifiers }).(pulumi.StringArrayOutput) -} - -func (o FsuCollectionFleetDiscoveryFilterOutput) Mode() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilter) *string { return v.Mode }).(pulumi.StringPtrOutput) -} - -func (o FsuCollectionFleetDiscoveryFilterOutput) Names() pulumi.StringArrayOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilter) []string { return v.Names }).(pulumi.StringArrayOutput) -} - -func (o FsuCollectionFleetDiscoveryFilterOutput) Operator() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilter) *string { return v.Operator }).(pulumi.StringPtrOutput) -} - -func (o FsuCollectionFleetDiscoveryFilterOutput) Tags() FsuCollectionFleetDiscoveryFilterTagArrayOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilter) []FsuCollectionFleetDiscoveryFilterTag { return v.Tags }).(FsuCollectionFleetDiscoveryFilterTagArrayOutput) -} - -func (o FsuCollectionFleetDiscoveryFilterOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilter) string { return v.Type }).(pulumi.StringOutput) -} - -func (o FsuCollectionFleetDiscoveryFilterOutput) Versions() pulumi.StringArrayOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilter) []string { return v.Versions }).(pulumi.StringArrayOutput) -} - -type FsuCollectionFleetDiscoveryFilterArrayOutput struct{ *pulumi.OutputState } - -func (FsuCollectionFleetDiscoveryFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]FsuCollectionFleetDiscoveryFilter)(nil)).Elem() -} - -func (o FsuCollectionFleetDiscoveryFilterArrayOutput) ToFsuCollectionFleetDiscoveryFilterArrayOutput() FsuCollectionFleetDiscoveryFilterArrayOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryFilterArrayOutput) ToFsuCollectionFleetDiscoveryFilterArrayOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryFilterArrayOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryFilterArrayOutput) Index(i pulumi.IntInput) FsuCollectionFleetDiscoveryFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) FsuCollectionFleetDiscoveryFilter { - return vs[0].([]FsuCollectionFleetDiscoveryFilter)[vs[1].(int)] - }).(FsuCollectionFleetDiscoveryFilterOutput) -} - -type FsuCollectionFleetDiscoveryFilterTag struct { - Key string `pulumi:"key"` - Namespace *string `pulumi:"namespace"` - Value string `pulumi:"value"` -} - -// FsuCollectionFleetDiscoveryFilterTagInput is an input type that accepts FsuCollectionFleetDiscoveryFilterTagArgs and FsuCollectionFleetDiscoveryFilterTagOutput values. -// You can construct a concrete instance of `FsuCollectionFleetDiscoveryFilterTagInput` via: -// -// FsuCollectionFleetDiscoveryFilterTagArgs{...} -type FsuCollectionFleetDiscoveryFilterTagInput interface { - pulumi.Input - - ToFsuCollectionFleetDiscoveryFilterTagOutput() FsuCollectionFleetDiscoveryFilterTagOutput - ToFsuCollectionFleetDiscoveryFilterTagOutputWithContext(context.Context) FsuCollectionFleetDiscoveryFilterTagOutput -} - -type FsuCollectionFleetDiscoveryFilterTagArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Namespace pulumi.StringPtrInput `pulumi:"namespace"` - Value pulumi.StringInput `pulumi:"value"` -} - -func (FsuCollectionFleetDiscoveryFilterTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCollectionFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (i FsuCollectionFleetDiscoveryFilterTagArgs) ToFsuCollectionFleetDiscoveryFilterTagOutput() FsuCollectionFleetDiscoveryFilterTagOutput { - return i.ToFsuCollectionFleetDiscoveryFilterTagOutputWithContext(context.Background()) -} - -func (i FsuCollectionFleetDiscoveryFilterTagArgs) ToFsuCollectionFleetDiscoveryFilterTagOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryFilterTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionFleetDiscoveryFilterTagOutput) -} - -// FsuCollectionFleetDiscoveryFilterTagArrayInput is an input type that accepts FsuCollectionFleetDiscoveryFilterTagArray and FsuCollectionFleetDiscoveryFilterTagArrayOutput values. -// You can construct a concrete instance of `FsuCollectionFleetDiscoveryFilterTagArrayInput` via: -// -// FsuCollectionFleetDiscoveryFilterTagArray{ FsuCollectionFleetDiscoveryFilterTagArgs{...} } -type FsuCollectionFleetDiscoveryFilterTagArrayInput interface { - pulumi.Input - - ToFsuCollectionFleetDiscoveryFilterTagArrayOutput() FsuCollectionFleetDiscoveryFilterTagArrayOutput - ToFsuCollectionFleetDiscoveryFilterTagArrayOutputWithContext(context.Context) FsuCollectionFleetDiscoveryFilterTagArrayOutput -} - -type FsuCollectionFleetDiscoveryFilterTagArray []FsuCollectionFleetDiscoveryFilterTagInput - -func (FsuCollectionFleetDiscoveryFilterTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]FsuCollectionFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (i FsuCollectionFleetDiscoveryFilterTagArray) ToFsuCollectionFleetDiscoveryFilterTagArrayOutput() FsuCollectionFleetDiscoveryFilterTagArrayOutput { - return i.ToFsuCollectionFleetDiscoveryFilterTagArrayOutputWithContext(context.Background()) -} - -func (i FsuCollectionFleetDiscoveryFilterTagArray) ToFsuCollectionFleetDiscoveryFilterTagArrayOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryFilterTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCollectionFleetDiscoveryFilterTagArrayOutput) -} - -type FsuCollectionFleetDiscoveryFilterTagOutput struct{ *pulumi.OutputState } - -func (FsuCollectionFleetDiscoveryFilterTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCollectionFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (o FsuCollectionFleetDiscoveryFilterTagOutput) ToFsuCollectionFleetDiscoveryFilterTagOutput() FsuCollectionFleetDiscoveryFilterTagOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryFilterTagOutput) ToFsuCollectionFleetDiscoveryFilterTagOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryFilterTagOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryFilterTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilterTag) string { return v.Key }).(pulumi.StringOutput) -} - -func (o FsuCollectionFleetDiscoveryFilterTagOutput) Namespace() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilterTag) *string { return v.Namespace }).(pulumi.StringPtrOutput) -} - -func (o FsuCollectionFleetDiscoveryFilterTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v FsuCollectionFleetDiscoveryFilterTag) string { return v.Value }).(pulumi.StringOutput) -} - -type FsuCollectionFleetDiscoveryFilterTagArrayOutput struct{ *pulumi.OutputState } - -func (FsuCollectionFleetDiscoveryFilterTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]FsuCollectionFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (o FsuCollectionFleetDiscoveryFilterTagArrayOutput) ToFsuCollectionFleetDiscoveryFilterTagArrayOutput() FsuCollectionFleetDiscoveryFilterTagArrayOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryFilterTagArrayOutput) ToFsuCollectionFleetDiscoveryFilterTagArrayOutputWithContext(ctx context.Context) FsuCollectionFleetDiscoveryFilterTagArrayOutput { - return o -} - -func (o FsuCollectionFleetDiscoveryFilterTagArrayOutput) Index(i pulumi.IntInput) FsuCollectionFleetDiscoveryFilterTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) FsuCollectionFleetDiscoveryFilterTag { - return vs[0].([]FsuCollectionFleetDiscoveryFilterTag)[vs[1].(int)] - }).(FsuCollectionFleetDiscoveryFilterTagOutput) -} - -type FsuCycleApplyActionSchedule struct { - TimeToStart string `pulumi:"timeToStart"` - Type string `pulumi:"type"` -} - -// FsuCycleApplyActionScheduleInput is an input type that accepts FsuCycleApplyActionScheduleArgs and FsuCycleApplyActionScheduleOutput values. -// You can construct a concrete instance of `FsuCycleApplyActionScheduleInput` via: -// -// FsuCycleApplyActionScheduleArgs{...} -type FsuCycleApplyActionScheduleInput interface { - pulumi.Input - - ToFsuCycleApplyActionScheduleOutput() FsuCycleApplyActionScheduleOutput - ToFsuCycleApplyActionScheduleOutputWithContext(context.Context) FsuCycleApplyActionScheduleOutput -} - -type FsuCycleApplyActionScheduleArgs struct { - TimeToStart pulumi.StringInput `pulumi:"timeToStart"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (FsuCycleApplyActionScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleApplyActionSchedule)(nil)).Elem() -} - -func (i FsuCycleApplyActionScheduleArgs) ToFsuCycleApplyActionScheduleOutput() FsuCycleApplyActionScheduleOutput { - return i.ToFsuCycleApplyActionScheduleOutputWithContext(context.Background()) -} - -func (i FsuCycleApplyActionScheduleArgs) ToFsuCycleApplyActionScheduleOutputWithContext(ctx context.Context) FsuCycleApplyActionScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleApplyActionScheduleOutput) -} - -func (i FsuCycleApplyActionScheduleArgs) ToFsuCycleApplyActionSchedulePtrOutput() FsuCycleApplyActionSchedulePtrOutput { - return i.ToFsuCycleApplyActionSchedulePtrOutputWithContext(context.Background()) -} - -func (i FsuCycleApplyActionScheduleArgs) ToFsuCycleApplyActionSchedulePtrOutputWithContext(ctx context.Context) FsuCycleApplyActionSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleApplyActionScheduleOutput).ToFsuCycleApplyActionSchedulePtrOutputWithContext(ctx) -} - -// FsuCycleApplyActionSchedulePtrInput is an input type that accepts FsuCycleApplyActionScheduleArgs, FsuCycleApplyActionSchedulePtr and FsuCycleApplyActionSchedulePtrOutput values. -// You can construct a concrete instance of `FsuCycleApplyActionSchedulePtrInput` via: -// -// FsuCycleApplyActionScheduleArgs{...} -// -// or: -// -// nil -type FsuCycleApplyActionSchedulePtrInput interface { - pulumi.Input - - ToFsuCycleApplyActionSchedulePtrOutput() FsuCycleApplyActionSchedulePtrOutput - ToFsuCycleApplyActionSchedulePtrOutputWithContext(context.Context) FsuCycleApplyActionSchedulePtrOutput -} - -type fsuCycleApplyActionSchedulePtrType FsuCycleApplyActionScheduleArgs - -func FsuCycleApplyActionSchedulePtr(v *FsuCycleApplyActionScheduleArgs) FsuCycleApplyActionSchedulePtrInput { - return (*fsuCycleApplyActionSchedulePtrType)(v) -} - -func (*fsuCycleApplyActionSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycleApplyActionSchedule)(nil)).Elem() -} - -func (i *fsuCycleApplyActionSchedulePtrType) ToFsuCycleApplyActionSchedulePtrOutput() FsuCycleApplyActionSchedulePtrOutput { - return i.ToFsuCycleApplyActionSchedulePtrOutputWithContext(context.Background()) -} - -func (i *fsuCycleApplyActionSchedulePtrType) ToFsuCycleApplyActionSchedulePtrOutputWithContext(ctx context.Context) FsuCycleApplyActionSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleApplyActionSchedulePtrOutput) -} - -type FsuCycleApplyActionScheduleOutput struct{ *pulumi.OutputState } - -func (FsuCycleApplyActionScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleApplyActionSchedule)(nil)).Elem() -} - -func (o FsuCycleApplyActionScheduleOutput) ToFsuCycleApplyActionScheduleOutput() FsuCycleApplyActionScheduleOutput { - return o -} - -func (o FsuCycleApplyActionScheduleOutput) ToFsuCycleApplyActionScheduleOutputWithContext(ctx context.Context) FsuCycleApplyActionScheduleOutput { - return o -} - -func (o FsuCycleApplyActionScheduleOutput) ToFsuCycleApplyActionSchedulePtrOutput() FsuCycleApplyActionSchedulePtrOutput { - return o.ToFsuCycleApplyActionSchedulePtrOutputWithContext(context.Background()) -} - -func (o FsuCycleApplyActionScheduleOutput) ToFsuCycleApplyActionSchedulePtrOutputWithContext(ctx context.Context) FsuCycleApplyActionSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v FsuCycleApplyActionSchedule) *FsuCycleApplyActionSchedule { - return &v - }).(FsuCycleApplyActionSchedulePtrOutput) -} - -func (o FsuCycleApplyActionScheduleOutput) TimeToStart() pulumi.StringOutput { - return o.ApplyT(func(v FsuCycleApplyActionSchedule) string { return v.TimeToStart }).(pulumi.StringOutput) -} - -func (o FsuCycleApplyActionScheduleOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v FsuCycleApplyActionSchedule) string { return v.Type }).(pulumi.StringOutput) -} - -type FsuCycleApplyActionSchedulePtrOutput struct{ *pulumi.OutputState } - -func (FsuCycleApplyActionSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycleApplyActionSchedule)(nil)).Elem() -} - -func (o FsuCycleApplyActionSchedulePtrOutput) ToFsuCycleApplyActionSchedulePtrOutput() FsuCycleApplyActionSchedulePtrOutput { - return o -} - -func (o FsuCycleApplyActionSchedulePtrOutput) ToFsuCycleApplyActionSchedulePtrOutputWithContext(ctx context.Context) FsuCycleApplyActionSchedulePtrOutput { - return o -} - -func (o FsuCycleApplyActionSchedulePtrOutput) Elem() FsuCycleApplyActionScheduleOutput { - return o.ApplyT(func(v *FsuCycleApplyActionSchedule) FsuCycleApplyActionSchedule { - if v != nil { - return *v - } - var ret FsuCycleApplyActionSchedule - return ret - }).(FsuCycleApplyActionScheduleOutput) -} - -func (o FsuCycleApplyActionSchedulePtrOutput) TimeToStart() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleApplyActionSchedule) *string { - if v == nil { - return nil - } - return &v.TimeToStart - }).(pulumi.StringPtrOutput) -} - -func (o FsuCycleApplyActionSchedulePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleApplyActionSchedule) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) -} - -type FsuCycleBatchingStrategy struct { - IsForceRolling *bool `pulumi:"isForceRolling"` - IsWaitForBatchResume *bool `pulumi:"isWaitForBatchResume"` - Percentage *int `pulumi:"percentage"` - Type *string `pulumi:"type"` -} - -// FsuCycleBatchingStrategyInput is an input type that accepts FsuCycleBatchingStrategyArgs and FsuCycleBatchingStrategyOutput values. -// You can construct a concrete instance of `FsuCycleBatchingStrategyInput` via: -// -// FsuCycleBatchingStrategyArgs{...} -type FsuCycleBatchingStrategyInput interface { - pulumi.Input - - ToFsuCycleBatchingStrategyOutput() FsuCycleBatchingStrategyOutput - ToFsuCycleBatchingStrategyOutputWithContext(context.Context) FsuCycleBatchingStrategyOutput -} - -type FsuCycleBatchingStrategyArgs struct { - IsForceRolling pulumi.BoolPtrInput `pulumi:"isForceRolling"` - IsWaitForBatchResume pulumi.BoolPtrInput `pulumi:"isWaitForBatchResume"` - Percentage pulumi.IntPtrInput `pulumi:"percentage"` - Type pulumi.StringPtrInput `pulumi:"type"` -} - -func (FsuCycleBatchingStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleBatchingStrategy)(nil)).Elem() -} - -func (i FsuCycleBatchingStrategyArgs) ToFsuCycleBatchingStrategyOutput() FsuCycleBatchingStrategyOutput { - return i.ToFsuCycleBatchingStrategyOutputWithContext(context.Background()) -} - -func (i FsuCycleBatchingStrategyArgs) ToFsuCycleBatchingStrategyOutputWithContext(ctx context.Context) FsuCycleBatchingStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleBatchingStrategyOutput) -} - -func (i FsuCycleBatchingStrategyArgs) ToFsuCycleBatchingStrategyPtrOutput() FsuCycleBatchingStrategyPtrOutput { - return i.ToFsuCycleBatchingStrategyPtrOutputWithContext(context.Background()) -} - -func (i FsuCycleBatchingStrategyArgs) ToFsuCycleBatchingStrategyPtrOutputWithContext(ctx context.Context) FsuCycleBatchingStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleBatchingStrategyOutput).ToFsuCycleBatchingStrategyPtrOutputWithContext(ctx) -} - -// FsuCycleBatchingStrategyPtrInput is an input type that accepts FsuCycleBatchingStrategyArgs, FsuCycleBatchingStrategyPtr and FsuCycleBatchingStrategyPtrOutput values. -// You can construct a concrete instance of `FsuCycleBatchingStrategyPtrInput` via: -// -// FsuCycleBatchingStrategyArgs{...} -// -// or: -// -// nil -type FsuCycleBatchingStrategyPtrInput interface { - pulumi.Input - - ToFsuCycleBatchingStrategyPtrOutput() FsuCycleBatchingStrategyPtrOutput - ToFsuCycleBatchingStrategyPtrOutputWithContext(context.Context) FsuCycleBatchingStrategyPtrOutput -} - -type fsuCycleBatchingStrategyPtrType FsuCycleBatchingStrategyArgs - -func FsuCycleBatchingStrategyPtr(v *FsuCycleBatchingStrategyArgs) FsuCycleBatchingStrategyPtrInput { - return (*fsuCycleBatchingStrategyPtrType)(v) -} - -func (*fsuCycleBatchingStrategyPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycleBatchingStrategy)(nil)).Elem() -} - -func (i *fsuCycleBatchingStrategyPtrType) ToFsuCycleBatchingStrategyPtrOutput() FsuCycleBatchingStrategyPtrOutput { - return i.ToFsuCycleBatchingStrategyPtrOutputWithContext(context.Background()) -} - -func (i *fsuCycleBatchingStrategyPtrType) ToFsuCycleBatchingStrategyPtrOutputWithContext(ctx context.Context) FsuCycleBatchingStrategyPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleBatchingStrategyPtrOutput) -} - -type FsuCycleBatchingStrategyOutput struct{ *pulumi.OutputState } - -func (FsuCycleBatchingStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleBatchingStrategy)(nil)).Elem() -} - -func (o FsuCycleBatchingStrategyOutput) ToFsuCycleBatchingStrategyOutput() FsuCycleBatchingStrategyOutput { - return o -} - -func (o FsuCycleBatchingStrategyOutput) ToFsuCycleBatchingStrategyOutputWithContext(ctx context.Context) FsuCycleBatchingStrategyOutput { - return o -} - -func (o FsuCycleBatchingStrategyOutput) ToFsuCycleBatchingStrategyPtrOutput() FsuCycleBatchingStrategyPtrOutput { - return o.ToFsuCycleBatchingStrategyPtrOutputWithContext(context.Background()) -} - -func (o FsuCycleBatchingStrategyOutput) ToFsuCycleBatchingStrategyPtrOutputWithContext(ctx context.Context) FsuCycleBatchingStrategyPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v FsuCycleBatchingStrategy) *FsuCycleBatchingStrategy { - return &v - }).(FsuCycleBatchingStrategyPtrOutput) -} - -func (o FsuCycleBatchingStrategyOutput) IsForceRolling() pulumi.BoolPtrOutput { - return o.ApplyT(func(v FsuCycleBatchingStrategy) *bool { return v.IsForceRolling }).(pulumi.BoolPtrOutput) -} - -func (o FsuCycleBatchingStrategyOutput) IsWaitForBatchResume() pulumi.BoolPtrOutput { - return o.ApplyT(func(v FsuCycleBatchingStrategy) *bool { return v.IsWaitForBatchResume }).(pulumi.BoolPtrOutput) -} - -func (o FsuCycleBatchingStrategyOutput) Percentage() pulumi.IntPtrOutput { - return o.ApplyT(func(v FsuCycleBatchingStrategy) *int { return v.Percentage }).(pulumi.IntPtrOutput) -} - -func (o FsuCycleBatchingStrategyOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCycleBatchingStrategy) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -type FsuCycleBatchingStrategyPtrOutput struct{ *pulumi.OutputState } - -func (FsuCycleBatchingStrategyPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycleBatchingStrategy)(nil)).Elem() -} - -func (o FsuCycleBatchingStrategyPtrOutput) ToFsuCycleBatchingStrategyPtrOutput() FsuCycleBatchingStrategyPtrOutput { - return o -} - -func (o FsuCycleBatchingStrategyPtrOutput) ToFsuCycleBatchingStrategyPtrOutputWithContext(ctx context.Context) FsuCycleBatchingStrategyPtrOutput { - return o -} - -func (o FsuCycleBatchingStrategyPtrOutput) Elem() FsuCycleBatchingStrategyOutput { - return o.ApplyT(func(v *FsuCycleBatchingStrategy) FsuCycleBatchingStrategy { - if v != nil { - return *v - } - var ret FsuCycleBatchingStrategy - return ret - }).(FsuCycleBatchingStrategyOutput) -} - -func (o FsuCycleBatchingStrategyPtrOutput) IsForceRolling() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *FsuCycleBatchingStrategy) *bool { - if v == nil { - return nil - } - return v.IsForceRolling - }).(pulumi.BoolPtrOutput) -} - -func (o FsuCycleBatchingStrategyPtrOutput) IsWaitForBatchResume() pulumi.BoolPtrOutput { - return o.ApplyT(func(v *FsuCycleBatchingStrategy) *bool { - if v == nil { - return nil - } - return v.IsWaitForBatchResume - }).(pulumi.BoolPtrOutput) -} - -func (o FsuCycleBatchingStrategyPtrOutput) Percentage() pulumi.IntPtrOutput { - return o.ApplyT(func(v *FsuCycleBatchingStrategy) *int { - if v == nil { - return nil - } - return v.Percentage - }).(pulumi.IntPtrOutput) -} - -func (o FsuCycleBatchingStrategyPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleBatchingStrategy) *string { - if v == nil { - return nil - } - return v.Type - }).(pulumi.StringPtrOutput) -} - -type FsuCycleDiagnosticsCollection struct { - LogCollectionMode *string `pulumi:"logCollectionMode"` -} - -// FsuCycleDiagnosticsCollectionInput is an input type that accepts FsuCycleDiagnosticsCollectionArgs and FsuCycleDiagnosticsCollectionOutput values. -// You can construct a concrete instance of `FsuCycleDiagnosticsCollectionInput` via: -// -// FsuCycleDiagnosticsCollectionArgs{...} -type FsuCycleDiagnosticsCollectionInput interface { - pulumi.Input - - ToFsuCycleDiagnosticsCollectionOutput() FsuCycleDiagnosticsCollectionOutput - ToFsuCycleDiagnosticsCollectionOutputWithContext(context.Context) FsuCycleDiagnosticsCollectionOutput -} - -type FsuCycleDiagnosticsCollectionArgs struct { - LogCollectionMode pulumi.StringPtrInput `pulumi:"logCollectionMode"` -} - -func (FsuCycleDiagnosticsCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleDiagnosticsCollection)(nil)).Elem() -} - -func (i FsuCycleDiagnosticsCollectionArgs) ToFsuCycleDiagnosticsCollectionOutput() FsuCycleDiagnosticsCollectionOutput { - return i.ToFsuCycleDiagnosticsCollectionOutputWithContext(context.Background()) -} - -func (i FsuCycleDiagnosticsCollectionArgs) ToFsuCycleDiagnosticsCollectionOutputWithContext(ctx context.Context) FsuCycleDiagnosticsCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleDiagnosticsCollectionOutput) -} - -func (i FsuCycleDiagnosticsCollectionArgs) ToFsuCycleDiagnosticsCollectionPtrOutput() FsuCycleDiagnosticsCollectionPtrOutput { - return i.ToFsuCycleDiagnosticsCollectionPtrOutputWithContext(context.Background()) -} - -func (i FsuCycleDiagnosticsCollectionArgs) ToFsuCycleDiagnosticsCollectionPtrOutputWithContext(ctx context.Context) FsuCycleDiagnosticsCollectionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleDiagnosticsCollectionOutput).ToFsuCycleDiagnosticsCollectionPtrOutputWithContext(ctx) -} - -// FsuCycleDiagnosticsCollectionPtrInput is an input type that accepts FsuCycleDiagnosticsCollectionArgs, FsuCycleDiagnosticsCollectionPtr and FsuCycleDiagnosticsCollectionPtrOutput values. -// You can construct a concrete instance of `FsuCycleDiagnosticsCollectionPtrInput` via: -// -// FsuCycleDiagnosticsCollectionArgs{...} -// -// or: -// -// nil -type FsuCycleDiagnosticsCollectionPtrInput interface { - pulumi.Input - - ToFsuCycleDiagnosticsCollectionPtrOutput() FsuCycleDiagnosticsCollectionPtrOutput - ToFsuCycleDiagnosticsCollectionPtrOutputWithContext(context.Context) FsuCycleDiagnosticsCollectionPtrOutput -} - -type fsuCycleDiagnosticsCollectionPtrType FsuCycleDiagnosticsCollectionArgs - -func FsuCycleDiagnosticsCollectionPtr(v *FsuCycleDiagnosticsCollectionArgs) FsuCycleDiagnosticsCollectionPtrInput { - return (*fsuCycleDiagnosticsCollectionPtrType)(v) -} - -func (*fsuCycleDiagnosticsCollectionPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycleDiagnosticsCollection)(nil)).Elem() -} - -func (i *fsuCycleDiagnosticsCollectionPtrType) ToFsuCycleDiagnosticsCollectionPtrOutput() FsuCycleDiagnosticsCollectionPtrOutput { - return i.ToFsuCycleDiagnosticsCollectionPtrOutputWithContext(context.Background()) -} - -func (i *fsuCycleDiagnosticsCollectionPtrType) ToFsuCycleDiagnosticsCollectionPtrOutputWithContext(ctx context.Context) FsuCycleDiagnosticsCollectionPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleDiagnosticsCollectionPtrOutput) -} - -type FsuCycleDiagnosticsCollectionOutput struct{ *pulumi.OutputState } - -func (FsuCycleDiagnosticsCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleDiagnosticsCollection)(nil)).Elem() -} - -func (o FsuCycleDiagnosticsCollectionOutput) ToFsuCycleDiagnosticsCollectionOutput() FsuCycleDiagnosticsCollectionOutput { - return o -} - -func (o FsuCycleDiagnosticsCollectionOutput) ToFsuCycleDiagnosticsCollectionOutputWithContext(ctx context.Context) FsuCycleDiagnosticsCollectionOutput { - return o -} - -func (o FsuCycleDiagnosticsCollectionOutput) ToFsuCycleDiagnosticsCollectionPtrOutput() FsuCycleDiagnosticsCollectionPtrOutput { - return o.ToFsuCycleDiagnosticsCollectionPtrOutputWithContext(context.Background()) -} - -func (o FsuCycleDiagnosticsCollectionOutput) ToFsuCycleDiagnosticsCollectionPtrOutputWithContext(ctx context.Context) FsuCycleDiagnosticsCollectionPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v FsuCycleDiagnosticsCollection) *FsuCycleDiagnosticsCollection { - return &v - }).(FsuCycleDiagnosticsCollectionPtrOutput) -} - -func (o FsuCycleDiagnosticsCollectionOutput) LogCollectionMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCycleDiagnosticsCollection) *string { return v.LogCollectionMode }).(pulumi.StringPtrOutput) -} - -type FsuCycleDiagnosticsCollectionPtrOutput struct{ *pulumi.OutputState } - -func (FsuCycleDiagnosticsCollectionPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycleDiagnosticsCollection)(nil)).Elem() -} - -func (o FsuCycleDiagnosticsCollectionPtrOutput) ToFsuCycleDiagnosticsCollectionPtrOutput() FsuCycleDiagnosticsCollectionPtrOutput { - return o -} - -func (o FsuCycleDiagnosticsCollectionPtrOutput) ToFsuCycleDiagnosticsCollectionPtrOutputWithContext(ctx context.Context) FsuCycleDiagnosticsCollectionPtrOutput { - return o -} - -func (o FsuCycleDiagnosticsCollectionPtrOutput) Elem() FsuCycleDiagnosticsCollectionOutput { - return o.ApplyT(func(v *FsuCycleDiagnosticsCollection) FsuCycleDiagnosticsCollection { - if v != nil { - return *v - } - var ret FsuCycleDiagnosticsCollection - return ret - }).(FsuCycleDiagnosticsCollectionOutput) -} - -func (o FsuCycleDiagnosticsCollectionPtrOutput) LogCollectionMode() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleDiagnosticsCollection) *string { - if v == nil { - return nil - } - return v.LogCollectionMode - }).(pulumi.StringPtrOutput) -} - -type FsuCycleGoalVersionDetails struct { - HomePolicy *string `pulumi:"homePolicy"` - NewHomePrefix *string `pulumi:"newHomePrefix"` - SoftwareImageId *string `pulumi:"softwareImageId"` - Type string `pulumi:"type"` - Version *string `pulumi:"version"` -} - -// FsuCycleGoalVersionDetailsInput is an input type that accepts FsuCycleGoalVersionDetailsArgs and FsuCycleGoalVersionDetailsOutput values. -// You can construct a concrete instance of `FsuCycleGoalVersionDetailsInput` via: -// -// FsuCycleGoalVersionDetailsArgs{...} -type FsuCycleGoalVersionDetailsInput interface { - pulumi.Input - - ToFsuCycleGoalVersionDetailsOutput() FsuCycleGoalVersionDetailsOutput - ToFsuCycleGoalVersionDetailsOutputWithContext(context.Context) FsuCycleGoalVersionDetailsOutput -} - -type FsuCycleGoalVersionDetailsArgs struct { - HomePolicy pulumi.StringPtrInput `pulumi:"homePolicy"` - NewHomePrefix pulumi.StringPtrInput `pulumi:"newHomePrefix"` - SoftwareImageId pulumi.StringPtrInput `pulumi:"softwareImageId"` - Type pulumi.StringInput `pulumi:"type"` - Version pulumi.StringPtrInput `pulumi:"version"` -} - -func (FsuCycleGoalVersionDetailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleGoalVersionDetails)(nil)).Elem() -} - -func (i FsuCycleGoalVersionDetailsArgs) ToFsuCycleGoalVersionDetailsOutput() FsuCycleGoalVersionDetailsOutput { - return i.ToFsuCycleGoalVersionDetailsOutputWithContext(context.Background()) -} - -func (i FsuCycleGoalVersionDetailsArgs) ToFsuCycleGoalVersionDetailsOutputWithContext(ctx context.Context) FsuCycleGoalVersionDetailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleGoalVersionDetailsOutput) -} - -func (i FsuCycleGoalVersionDetailsArgs) ToFsuCycleGoalVersionDetailsPtrOutput() FsuCycleGoalVersionDetailsPtrOutput { - return i.ToFsuCycleGoalVersionDetailsPtrOutputWithContext(context.Background()) -} - -func (i FsuCycleGoalVersionDetailsArgs) ToFsuCycleGoalVersionDetailsPtrOutputWithContext(ctx context.Context) FsuCycleGoalVersionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleGoalVersionDetailsOutput).ToFsuCycleGoalVersionDetailsPtrOutputWithContext(ctx) -} - -// FsuCycleGoalVersionDetailsPtrInput is an input type that accepts FsuCycleGoalVersionDetailsArgs, FsuCycleGoalVersionDetailsPtr and FsuCycleGoalVersionDetailsPtrOutput values. -// You can construct a concrete instance of `FsuCycleGoalVersionDetailsPtrInput` via: -// -// FsuCycleGoalVersionDetailsArgs{...} -// -// or: -// -// nil -type FsuCycleGoalVersionDetailsPtrInput interface { - pulumi.Input - - ToFsuCycleGoalVersionDetailsPtrOutput() FsuCycleGoalVersionDetailsPtrOutput - ToFsuCycleGoalVersionDetailsPtrOutputWithContext(context.Context) FsuCycleGoalVersionDetailsPtrOutput -} - -type fsuCycleGoalVersionDetailsPtrType FsuCycleGoalVersionDetailsArgs - -func FsuCycleGoalVersionDetailsPtr(v *FsuCycleGoalVersionDetailsArgs) FsuCycleGoalVersionDetailsPtrInput { - return (*fsuCycleGoalVersionDetailsPtrType)(v) -} - -func (*fsuCycleGoalVersionDetailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycleGoalVersionDetails)(nil)).Elem() -} - -func (i *fsuCycleGoalVersionDetailsPtrType) ToFsuCycleGoalVersionDetailsPtrOutput() FsuCycleGoalVersionDetailsPtrOutput { - return i.ToFsuCycleGoalVersionDetailsPtrOutputWithContext(context.Background()) -} - -func (i *fsuCycleGoalVersionDetailsPtrType) ToFsuCycleGoalVersionDetailsPtrOutputWithContext(ctx context.Context) FsuCycleGoalVersionDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleGoalVersionDetailsPtrOutput) -} - -type FsuCycleGoalVersionDetailsOutput struct{ *pulumi.OutputState } - -func (FsuCycleGoalVersionDetailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleGoalVersionDetails)(nil)).Elem() -} - -func (o FsuCycleGoalVersionDetailsOutput) ToFsuCycleGoalVersionDetailsOutput() FsuCycleGoalVersionDetailsOutput { - return o -} - -func (o FsuCycleGoalVersionDetailsOutput) ToFsuCycleGoalVersionDetailsOutputWithContext(ctx context.Context) FsuCycleGoalVersionDetailsOutput { - return o -} - -func (o FsuCycleGoalVersionDetailsOutput) ToFsuCycleGoalVersionDetailsPtrOutput() FsuCycleGoalVersionDetailsPtrOutput { - return o.ToFsuCycleGoalVersionDetailsPtrOutputWithContext(context.Background()) -} - -func (o FsuCycleGoalVersionDetailsOutput) ToFsuCycleGoalVersionDetailsPtrOutputWithContext(ctx context.Context) FsuCycleGoalVersionDetailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v FsuCycleGoalVersionDetails) *FsuCycleGoalVersionDetails { - return &v - }).(FsuCycleGoalVersionDetailsPtrOutput) -} - -func (o FsuCycleGoalVersionDetailsOutput) HomePolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCycleGoalVersionDetails) *string { return v.HomePolicy }).(pulumi.StringPtrOutput) -} - -func (o FsuCycleGoalVersionDetailsOutput) NewHomePrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCycleGoalVersionDetails) *string { return v.NewHomePrefix }).(pulumi.StringPtrOutput) -} - -func (o FsuCycleGoalVersionDetailsOutput) SoftwareImageId() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCycleGoalVersionDetails) *string { return v.SoftwareImageId }).(pulumi.StringPtrOutput) -} - -func (o FsuCycleGoalVersionDetailsOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v FsuCycleGoalVersionDetails) string { return v.Type }).(pulumi.StringOutput) -} - -func (o FsuCycleGoalVersionDetailsOutput) Version() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCycleGoalVersionDetails) *string { return v.Version }).(pulumi.StringPtrOutput) -} - -type FsuCycleGoalVersionDetailsPtrOutput struct{ *pulumi.OutputState } - -func (FsuCycleGoalVersionDetailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycleGoalVersionDetails)(nil)).Elem() -} - -func (o FsuCycleGoalVersionDetailsPtrOutput) ToFsuCycleGoalVersionDetailsPtrOutput() FsuCycleGoalVersionDetailsPtrOutput { - return o -} - -func (o FsuCycleGoalVersionDetailsPtrOutput) ToFsuCycleGoalVersionDetailsPtrOutputWithContext(ctx context.Context) FsuCycleGoalVersionDetailsPtrOutput { - return o -} - -func (o FsuCycleGoalVersionDetailsPtrOutput) Elem() FsuCycleGoalVersionDetailsOutput { - return o.ApplyT(func(v *FsuCycleGoalVersionDetails) FsuCycleGoalVersionDetails { - if v != nil { - return *v - } - var ret FsuCycleGoalVersionDetails - return ret - }).(FsuCycleGoalVersionDetailsOutput) -} - -func (o FsuCycleGoalVersionDetailsPtrOutput) HomePolicy() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleGoalVersionDetails) *string { - if v == nil { - return nil - } - return v.HomePolicy - }).(pulumi.StringPtrOutput) -} - -func (o FsuCycleGoalVersionDetailsPtrOutput) NewHomePrefix() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleGoalVersionDetails) *string { - if v == nil { - return nil - } - return v.NewHomePrefix - }).(pulumi.StringPtrOutput) -} - -func (o FsuCycleGoalVersionDetailsPtrOutput) SoftwareImageId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleGoalVersionDetails) *string { - if v == nil { - return nil - } - return v.SoftwareImageId - }).(pulumi.StringPtrOutput) -} - -func (o FsuCycleGoalVersionDetailsPtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleGoalVersionDetails) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) -} - -func (o FsuCycleGoalVersionDetailsPtrOutput) Version() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleGoalVersionDetails) *string { - if v == nil { - return nil - } - return v.Version - }).(pulumi.StringPtrOutput) -} - -type FsuCycleNextActionToExecute struct { - TimeToStart *string `pulumi:"timeToStart"` - Type *string `pulumi:"type"` -} - -// FsuCycleNextActionToExecuteInput is an input type that accepts FsuCycleNextActionToExecuteArgs and FsuCycleNextActionToExecuteOutput values. -// You can construct a concrete instance of `FsuCycleNextActionToExecuteInput` via: -// -// FsuCycleNextActionToExecuteArgs{...} -type FsuCycleNextActionToExecuteInput interface { - pulumi.Input - - ToFsuCycleNextActionToExecuteOutput() FsuCycleNextActionToExecuteOutput - ToFsuCycleNextActionToExecuteOutputWithContext(context.Context) FsuCycleNextActionToExecuteOutput -} - -type FsuCycleNextActionToExecuteArgs struct { - TimeToStart pulumi.StringPtrInput `pulumi:"timeToStart"` - Type pulumi.StringPtrInput `pulumi:"type"` -} - -func (FsuCycleNextActionToExecuteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleNextActionToExecute)(nil)).Elem() -} - -func (i FsuCycleNextActionToExecuteArgs) ToFsuCycleNextActionToExecuteOutput() FsuCycleNextActionToExecuteOutput { - return i.ToFsuCycleNextActionToExecuteOutputWithContext(context.Background()) -} - -func (i FsuCycleNextActionToExecuteArgs) ToFsuCycleNextActionToExecuteOutputWithContext(ctx context.Context) FsuCycleNextActionToExecuteOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleNextActionToExecuteOutput) -} - -// FsuCycleNextActionToExecuteArrayInput is an input type that accepts FsuCycleNextActionToExecuteArray and FsuCycleNextActionToExecuteArrayOutput values. -// You can construct a concrete instance of `FsuCycleNextActionToExecuteArrayInput` via: -// -// FsuCycleNextActionToExecuteArray{ FsuCycleNextActionToExecuteArgs{...} } -type FsuCycleNextActionToExecuteArrayInput interface { - pulumi.Input - - ToFsuCycleNextActionToExecuteArrayOutput() FsuCycleNextActionToExecuteArrayOutput - ToFsuCycleNextActionToExecuteArrayOutputWithContext(context.Context) FsuCycleNextActionToExecuteArrayOutput -} - -type FsuCycleNextActionToExecuteArray []FsuCycleNextActionToExecuteInput - -func (FsuCycleNextActionToExecuteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]FsuCycleNextActionToExecute)(nil)).Elem() -} - -func (i FsuCycleNextActionToExecuteArray) ToFsuCycleNextActionToExecuteArrayOutput() FsuCycleNextActionToExecuteArrayOutput { - return i.ToFsuCycleNextActionToExecuteArrayOutputWithContext(context.Background()) -} - -func (i FsuCycleNextActionToExecuteArray) ToFsuCycleNextActionToExecuteArrayOutputWithContext(ctx context.Context) FsuCycleNextActionToExecuteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleNextActionToExecuteArrayOutput) -} - -type FsuCycleNextActionToExecuteOutput struct{ *pulumi.OutputState } - -func (FsuCycleNextActionToExecuteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleNextActionToExecute)(nil)).Elem() -} - -func (o FsuCycleNextActionToExecuteOutput) ToFsuCycleNextActionToExecuteOutput() FsuCycleNextActionToExecuteOutput { - return o -} - -func (o FsuCycleNextActionToExecuteOutput) ToFsuCycleNextActionToExecuteOutputWithContext(ctx context.Context) FsuCycleNextActionToExecuteOutput { - return o -} - -func (o FsuCycleNextActionToExecuteOutput) TimeToStart() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCycleNextActionToExecute) *string { return v.TimeToStart }).(pulumi.StringPtrOutput) -} - -func (o FsuCycleNextActionToExecuteOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v FsuCycleNextActionToExecute) *string { return v.Type }).(pulumi.StringPtrOutput) -} - -type FsuCycleNextActionToExecuteArrayOutput struct{ *pulumi.OutputState } - -func (FsuCycleNextActionToExecuteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]FsuCycleNextActionToExecute)(nil)).Elem() -} - -func (o FsuCycleNextActionToExecuteArrayOutput) ToFsuCycleNextActionToExecuteArrayOutput() FsuCycleNextActionToExecuteArrayOutput { - return o -} - -func (o FsuCycleNextActionToExecuteArrayOutput) ToFsuCycleNextActionToExecuteArrayOutputWithContext(ctx context.Context) FsuCycleNextActionToExecuteArrayOutput { - return o -} - -func (o FsuCycleNextActionToExecuteArrayOutput) Index(i pulumi.IntInput) FsuCycleNextActionToExecuteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) FsuCycleNextActionToExecute { - return vs[0].([]FsuCycleNextActionToExecute)[vs[1].(int)] - }).(FsuCycleNextActionToExecuteOutput) -} - -type FsuCycleStageActionSchedule struct { - TimeToStart string `pulumi:"timeToStart"` - Type string `pulumi:"type"` -} - -// FsuCycleStageActionScheduleInput is an input type that accepts FsuCycleStageActionScheduleArgs and FsuCycleStageActionScheduleOutput values. -// You can construct a concrete instance of `FsuCycleStageActionScheduleInput` via: -// -// FsuCycleStageActionScheduleArgs{...} -type FsuCycleStageActionScheduleInput interface { - pulumi.Input - - ToFsuCycleStageActionScheduleOutput() FsuCycleStageActionScheduleOutput - ToFsuCycleStageActionScheduleOutputWithContext(context.Context) FsuCycleStageActionScheduleOutput -} - -type FsuCycleStageActionScheduleArgs struct { - TimeToStart pulumi.StringInput `pulumi:"timeToStart"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (FsuCycleStageActionScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleStageActionSchedule)(nil)).Elem() -} - -func (i FsuCycleStageActionScheduleArgs) ToFsuCycleStageActionScheduleOutput() FsuCycleStageActionScheduleOutput { - return i.ToFsuCycleStageActionScheduleOutputWithContext(context.Background()) -} - -func (i FsuCycleStageActionScheduleArgs) ToFsuCycleStageActionScheduleOutputWithContext(ctx context.Context) FsuCycleStageActionScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleStageActionScheduleOutput) -} - -func (i FsuCycleStageActionScheduleArgs) ToFsuCycleStageActionSchedulePtrOutput() FsuCycleStageActionSchedulePtrOutput { - return i.ToFsuCycleStageActionSchedulePtrOutputWithContext(context.Background()) -} - -func (i FsuCycleStageActionScheduleArgs) ToFsuCycleStageActionSchedulePtrOutputWithContext(ctx context.Context) FsuCycleStageActionSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleStageActionScheduleOutput).ToFsuCycleStageActionSchedulePtrOutputWithContext(ctx) -} - -// FsuCycleStageActionSchedulePtrInput is an input type that accepts FsuCycleStageActionScheduleArgs, FsuCycleStageActionSchedulePtr and FsuCycleStageActionSchedulePtrOutput values. -// You can construct a concrete instance of `FsuCycleStageActionSchedulePtrInput` via: -// -// FsuCycleStageActionScheduleArgs{...} -// -// or: -// -// nil -type FsuCycleStageActionSchedulePtrInput interface { - pulumi.Input - - ToFsuCycleStageActionSchedulePtrOutput() FsuCycleStageActionSchedulePtrOutput - ToFsuCycleStageActionSchedulePtrOutputWithContext(context.Context) FsuCycleStageActionSchedulePtrOutput -} - -type fsuCycleStageActionSchedulePtrType FsuCycleStageActionScheduleArgs - -func FsuCycleStageActionSchedulePtr(v *FsuCycleStageActionScheduleArgs) FsuCycleStageActionSchedulePtrInput { - return (*fsuCycleStageActionSchedulePtrType)(v) -} - -func (*fsuCycleStageActionSchedulePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycleStageActionSchedule)(nil)).Elem() -} - -func (i *fsuCycleStageActionSchedulePtrType) ToFsuCycleStageActionSchedulePtrOutput() FsuCycleStageActionSchedulePtrOutput { - return i.ToFsuCycleStageActionSchedulePtrOutputWithContext(context.Background()) -} - -func (i *fsuCycleStageActionSchedulePtrType) ToFsuCycleStageActionSchedulePtrOutputWithContext(ctx context.Context) FsuCycleStageActionSchedulePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(FsuCycleStageActionSchedulePtrOutput) -} - -type FsuCycleStageActionScheduleOutput struct{ *pulumi.OutputState } - -func (FsuCycleStageActionScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*FsuCycleStageActionSchedule)(nil)).Elem() -} - -func (o FsuCycleStageActionScheduleOutput) ToFsuCycleStageActionScheduleOutput() FsuCycleStageActionScheduleOutput { - return o -} - -func (o FsuCycleStageActionScheduleOutput) ToFsuCycleStageActionScheduleOutputWithContext(ctx context.Context) FsuCycleStageActionScheduleOutput { - return o -} - -func (o FsuCycleStageActionScheduleOutput) ToFsuCycleStageActionSchedulePtrOutput() FsuCycleStageActionSchedulePtrOutput { - return o.ToFsuCycleStageActionSchedulePtrOutputWithContext(context.Background()) -} - -func (o FsuCycleStageActionScheduleOutput) ToFsuCycleStageActionSchedulePtrOutputWithContext(ctx context.Context) FsuCycleStageActionSchedulePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v FsuCycleStageActionSchedule) *FsuCycleStageActionSchedule { - return &v - }).(FsuCycleStageActionSchedulePtrOutput) -} - -func (o FsuCycleStageActionScheduleOutput) TimeToStart() pulumi.StringOutput { - return o.ApplyT(func(v FsuCycleStageActionSchedule) string { return v.TimeToStart }).(pulumi.StringOutput) -} - -func (o FsuCycleStageActionScheduleOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v FsuCycleStageActionSchedule) string { return v.Type }).(pulumi.StringOutput) -} - -type FsuCycleStageActionSchedulePtrOutput struct{ *pulumi.OutputState } - -func (FsuCycleStageActionSchedulePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**FsuCycleStageActionSchedule)(nil)).Elem() -} - -func (o FsuCycleStageActionSchedulePtrOutput) ToFsuCycleStageActionSchedulePtrOutput() FsuCycleStageActionSchedulePtrOutput { - return o -} - -func (o FsuCycleStageActionSchedulePtrOutput) ToFsuCycleStageActionSchedulePtrOutputWithContext(ctx context.Context) FsuCycleStageActionSchedulePtrOutput { - return o -} - -func (o FsuCycleStageActionSchedulePtrOutput) Elem() FsuCycleStageActionScheduleOutput { - return o.ApplyT(func(v *FsuCycleStageActionSchedule) FsuCycleStageActionSchedule { - if v != nil { - return *v - } - var ret FsuCycleStageActionSchedule - return ret - }).(FsuCycleStageActionScheduleOutput) -} - -func (o FsuCycleStageActionSchedulePtrOutput) TimeToStart() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleStageActionSchedule) *string { - if v == nil { - return nil - } - return &v.TimeToStart - }).(pulumi.StringPtrOutput) -} - -func (o FsuCycleStageActionSchedulePtrOutput) Type() pulumi.StringPtrOutput { - return o.ApplyT(func(v *FsuCycleStageActionSchedule) *string { - if v == nil { - return nil - } - return &v.Type - }).(pulumi.StringPtrOutput) -} - -type GetFsuCollectionActiveFsuCycle struct { - DisplayName string `pulumi:"displayName"` - Id string `pulumi:"id"` -} - -// GetFsuCollectionActiveFsuCycleInput is an input type that accepts GetFsuCollectionActiveFsuCycleArgs and GetFsuCollectionActiveFsuCycleOutput values. -// You can construct a concrete instance of `GetFsuCollectionActiveFsuCycleInput` via: -// -// GetFsuCollectionActiveFsuCycleArgs{...} -type GetFsuCollectionActiveFsuCycleInput interface { - pulumi.Input - - ToGetFsuCollectionActiveFsuCycleOutput() GetFsuCollectionActiveFsuCycleOutput - ToGetFsuCollectionActiveFsuCycleOutputWithContext(context.Context) GetFsuCollectionActiveFsuCycleOutput -} - -type GetFsuCollectionActiveFsuCycleArgs struct { - DisplayName pulumi.StringInput `pulumi:"displayName"` - Id pulumi.StringInput `pulumi:"id"` -} - -func (GetFsuCollectionActiveFsuCycleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionActiveFsuCycle)(nil)).Elem() -} - -func (i GetFsuCollectionActiveFsuCycleArgs) ToGetFsuCollectionActiveFsuCycleOutput() GetFsuCollectionActiveFsuCycleOutput { - return i.ToGetFsuCollectionActiveFsuCycleOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionActiveFsuCycleArgs) ToGetFsuCollectionActiveFsuCycleOutputWithContext(ctx context.Context) GetFsuCollectionActiveFsuCycleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionActiveFsuCycleOutput) -} - -// GetFsuCollectionActiveFsuCycleArrayInput is an input type that accepts GetFsuCollectionActiveFsuCycleArray and GetFsuCollectionActiveFsuCycleArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionActiveFsuCycleArrayInput` via: -// -// GetFsuCollectionActiveFsuCycleArray{ GetFsuCollectionActiveFsuCycleArgs{...} } -type GetFsuCollectionActiveFsuCycleArrayInput interface { - pulumi.Input - - ToGetFsuCollectionActiveFsuCycleArrayOutput() GetFsuCollectionActiveFsuCycleArrayOutput - ToGetFsuCollectionActiveFsuCycleArrayOutputWithContext(context.Context) GetFsuCollectionActiveFsuCycleArrayOutput -} - -type GetFsuCollectionActiveFsuCycleArray []GetFsuCollectionActiveFsuCycleInput - -func (GetFsuCollectionActiveFsuCycleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionActiveFsuCycle)(nil)).Elem() -} - -func (i GetFsuCollectionActiveFsuCycleArray) ToGetFsuCollectionActiveFsuCycleArrayOutput() GetFsuCollectionActiveFsuCycleArrayOutput { - return i.ToGetFsuCollectionActiveFsuCycleArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionActiveFsuCycleArray) ToGetFsuCollectionActiveFsuCycleArrayOutputWithContext(ctx context.Context) GetFsuCollectionActiveFsuCycleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionActiveFsuCycleArrayOutput) -} - -type GetFsuCollectionActiveFsuCycleOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionActiveFsuCycleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionActiveFsuCycle)(nil)).Elem() -} - -func (o GetFsuCollectionActiveFsuCycleOutput) ToGetFsuCollectionActiveFsuCycleOutput() GetFsuCollectionActiveFsuCycleOutput { - return o -} - -func (o GetFsuCollectionActiveFsuCycleOutput) ToGetFsuCollectionActiveFsuCycleOutputWithContext(ctx context.Context) GetFsuCollectionActiveFsuCycleOutput { - return o -} - -func (o GetFsuCollectionActiveFsuCycleOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionActiveFsuCycle) string { return v.DisplayName }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionActiveFsuCycleOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionActiveFsuCycle) string { return v.Id }).(pulumi.StringOutput) -} - -type GetFsuCollectionActiveFsuCycleArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionActiveFsuCycleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionActiveFsuCycle)(nil)).Elem() -} - -func (o GetFsuCollectionActiveFsuCycleArrayOutput) ToGetFsuCollectionActiveFsuCycleArrayOutput() GetFsuCollectionActiveFsuCycleArrayOutput { - return o -} - -func (o GetFsuCollectionActiveFsuCycleArrayOutput) ToGetFsuCollectionActiveFsuCycleArrayOutputWithContext(ctx context.Context) GetFsuCollectionActiveFsuCycleArrayOutput { - return o -} - -func (o GetFsuCollectionActiveFsuCycleArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionActiveFsuCycleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionActiveFsuCycle { - return vs[0].([]GetFsuCollectionActiveFsuCycle)[vs[1].(int)] - }).(GetFsuCollectionActiveFsuCycleOutput) -} - -type GetFsuCollectionFleetDiscovery struct { - Filters []GetFsuCollectionFleetDiscoveryFilter `pulumi:"filters"` - FsuDiscoveryId string `pulumi:"fsuDiscoveryId"` - Query string `pulumi:"query"` - Strategy string `pulumi:"strategy"` - Targets []string `pulumi:"targets"` -} - -// GetFsuCollectionFleetDiscoveryInput is an input type that accepts GetFsuCollectionFleetDiscoveryArgs and GetFsuCollectionFleetDiscoveryOutput values. -// You can construct a concrete instance of `GetFsuCollectionFleetDiscoveryInput` via: -// -// GetFsuCollectionFleetDiscoveryArgs{...} -type GetFsuCollectionFleetDiscoveryInput interface { - pulumi.Input - - ToGetFsuCollectionFleetDiscoveryOutput() GetFsuCollectionFleetDiscoveryOutput - ToGetFsuCollectionFleetDiscoveryOutputWithContext(context.Context) GetFsuCollectionFleetDiscoveryOutput -} - -type GetFsuCollectionFleetDiscoveryArgs struct { - Filters GetFsuCollectionFleetDiscoveryFilterArrayInput `pulumi:"filters"` - FsuDiscoveryId pulumi.StringInput `pulumi:"fsuDiscoveryId"` - Query pulumi.StringInput `pulumi:"query"` - Strategy pulumi.StringInput `pulumi:"strategy"` - Targets pulumi.StringArrayInput `pulumi:"targets"` -} - -func (GetFsuCollectionFleetDiscoveryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionFleetDiscovery)(nil)).Elem() -} - -func (i GetFsuCollectionFleetDiscoveryArgs) ToGetFsuCollectionFleetDiscoveryOutput() GetFsuCollectionFleetDiscoveryOutput { - return i.ToGetFsuCollectionFleetDiscoveryOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionFleetDiscoveryArgs) ToGetFsuCollectionFleetDiscoveryOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionFleetDiscoveryOutput) -} - -// GetFsuCollectionFleetDiscoveryArrayInput is an input type that accepts GetFsuCollectionFleetDiscoveryArray and GetFsuCollectionFleetDiscoveryArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionFleetDiscoveryArrayInput` via: -// -// GetFsuCollectionFleetDiscoveryArray{ GetFsuCollectionFleetDiscoveryArgs{...} } -type GetFsuCollectionFleetDiscoveryArrayInput interface { - pulumi.Input - - ToGetFsuCollectionFleetDiscoveryArrayOutput() GetFsuCollectionFleetDiscoveryArrayOutput - ToGetFsuCollectionFleetDiscoveryArrayOutputWithContext(context.Context) GetFsuCollectionFleetDiscoveryArrayOutput -} - -type GetFsuCollectionFleetDiscoveryArray []GetFsuCollectionFleetDiscoveryInput - -func (GetFsuCollectionFleetDiscoveryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionFleetDiscovery)(nil)).Elem() -} - -func (i GetFsuCollectionFleetDiscoveryArray) ToGetFsuCollectionFleetDiscoveryArrayOutput() GetFsuCollectionFleetDiscoveryArrayOutput { - return i.ToGetFsuCollectionFleetDiscoveryArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionFleetDiscoveryArray) ToGetFsuCollectionFleetDiscoveryArrayOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionFleetDiscoveryArrayOutput) -} - -type GetFsuCollectionFleetDiscoveryOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionFleetDiscoveryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionFleetDiscovery)(nil)).Elem() -} - -func (o GetFsuCollectionFleetDiscoveryOutput) ToGetFsuCollectionFleetDiscoveryOutput() GetFsuCollectionFleetDiscoveryOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryOutput) ToGetFsuCollectionFleetDiscoveryOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryOutput) Filters() GetFsuCollectionFleetDiscoveryFilterArrayOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscovery) []GetFsuCollectionFleetDiscoveryFilter { return v.Filters }).(GetFsuCollectionFleetDiscoveryFilterArrayOutput) -} - -func (o GetFsuCollectionFleetDiscoveryOutput) FsuDiscoveryId() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscovery) string { return v.FsuDiscoveryId }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionFleetDiscoveryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscovery) string { return v.Query }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionFleetDiscoveryOutput) Strategy() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscovery) string { return v.Strategy }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionFleetDiscoveryOutput) Targets() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscovery) []string { return v.Targets }).(pulumi.StringArrayOutput) -} - -type GetFsuCollectionFleetDiscoveryArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionFleetDiscoveryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionFleetDiscovery)(nil)).Elem() -} - -func (o GetFsuCollectionFleetDiscoveryArrayOutput) ToGetFsuCollectionFleetDiscoveryArrayOutput() GetFsuCollectionFleetDiscoveryArrayOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryArrayOutput) ToGetFsuCollectionFleetDiscoveryArrayOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryArrayOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionFleetDiscoveryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionFleetDiscovery { - return vs[0].([]GetFsuCollectionFleetDiscovery)[vs[1].(int)] - }).(GetFsuCollectionFleetDiscoveryOutput) -} - -type GetFsuCollectionFleetDiscoveryFilter struct { - EntityType string `pulumi:"entityType"` - Identifiers []string `pulumi:"identifiers"` - Mode string `pulumi:"mode"` - Names []string `pulumi:"names"` - Operator string `pulumi:"operator"` - Tags []GetFsuCollectionFleetDiscoveryFilterTag `pulumi:"tags"` - Type string `pulumi:"type"` - Versions []string `pulumi:"versions"` -} - -// GetFsuCollectionFleetDiscoveryFilterInput is an input type that accepts GetFsuCollectionFleetDiscoveryFilterArgs and GetFsuCollectionFleetDiscoveryFilterOutput values. -// You can construct a concrete instance of `GetFsuCollectionFleetDiscoveryFilterInput` via: -// -// GetFsuCollectionFleetDiscoveryFilterArgs{...} -type GetFsuCollectionFleetDiscoveryFilterInput interface { - pulumi.Input - - ToGetFsuCollectionFleetDiscoveryFilterOutput() GetFsuCollectionFleetDiscoveryFilterOutput - ToGetFsuCollectionFleetDiscoveryFilterOutputWithContext(context.Context) GetFsuCollectionFleetDiscoveryFilterOutput -} - -type GetFsuCollectionFleetDiscoveryFilterArgs struct { - EntityType pulumi.StringInput `pulumi:"entityType"` - Identifiers pulumi.StringArrayInput `pulumi:"identifiers"` - Mode pulumi.StringInput `pulumi:"mode"` - Names pulumi.StringArrayInput `pulumi:"names"` - Operator pulumi.StringInput `pulumi:"operator"` - Tags GetFsuCollectionFleetDiscoveryFilterTagArrayInput `pulumi:"tags"` - Type pulumi.StringInput `pulumi:"type"` - Versions pulumi.StringArrayInput `pulumi:"versions"` -} - -func (GetFsuCollectionFleetDiscoveryFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionFleetDiscoveryFilter)(nil)).Elem() -} - -func (i GetFsuCollectionFleetDiscoveryFilterArgs) ToGetFsuCollectionFleetDiscoveryFilterOutput() GetFsuCollectionFleetDiscoveryFilterOutput { - return i.ToGetFsuCollectionFleetDiscoveryFilterOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionFleetDiscoveryFilterArgs) ToGetFsuCollectionFleetDiscoveryFilterOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionFleetDiscoveryFilterOutput) -} - -// GetFsuCollectionFleetDiscoveryFilterArrayInput is an input type that accepts GetFsuCollectionFleetDiscoveryFilterArray and GetFsuCollectionFleetDiscoveryFilterArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionFleetDiscoveryFilterArrayInput` via: -// -// GetFsuCollectionFleetDiscoveryFilterArray{ GetFsuCollectionFleetDiscoveryFilterArgs{...} } -type GetFsuCollectionFleetDiscoveryFilterArrayInput interface { - pulumi.Input - - ToGetFsuCollectionFleetDiscoveryFilterArrayOutput() GetFsuCollectionFleetDiscoveryFilterArrayOutput - ToGetFsuCollectionFleetDiscoveryFilterArrayOutputWithContext(context.Context) GetFsuCollectionFleetDiscoveryFilterArrayOutput -} - -type GetFsuCollectionFleetDiscoveryFilterArray []GetFsuCollectionFleetDiscoveryFilterInput - -func (GetFsuCollectionFleetDiscoveryFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionFleetDiscoveryFilter)(nil)).Elem() -} - -func (i GetFsuCollectionFleetDiscoveryFilterArray) ToGetFsuCollectionFleetDiscoveryFilterArrayOutput() GetFsuCollectionFleetDiscoveryFilterArrayOutput { - return i.ToGetFsuCollectionFleetDiscoveryFilterArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionFleetDiscoveryFilterArray) ToGetFsuCollectionFleetDiscoveryFilterArrayOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionFleetDiscoveryFilterArrayOutput) -} - -type GetFsuCollectionFleetDiscoveryFilterOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionFleetDiscoveryFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionFleetDiscoveryFilter)(nil)).Elem() -} - -func (o GetFsuCollectionFleetDiscoveryFilterOutput) ToGetFsuCollectionFleetDiscoveryFilterOutput() GetFsuCollectionFleetDiscoveryFilterOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryFilterOutput) ToGetFsuCollectionFleetDiscoveryFilterOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryFilterOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryFilterOutput) EntityType() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilter) string { return v.EntityType }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionFleetDiscoveryFilterOutput) Identifiers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilter) []string { return v.Identifiers }).(pulumi.StringArrayOutput) -} - -func (o GetFsuCollectionFleetDiscoveryFilterOutput) Mode() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilter) string { return v.Mode }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionFleetDiscoveryFilterOutput) Names() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilter) []string { return v.Names }).(pulumi.StringArrayOutput) -} - -func (o GetFsuCollectionFleetDiscoveryFilterOutput) Operator() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilter) string { return v.Operator }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionFleetDiscoveryFilterOutput) Tags() GetFsuCollectionFleetDiscoveryFilterTagArrayOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilter) []GetFsuCollectionFleetDiscoveryFilterTag { return v.Tags }).(GetFsuCollectionFleetDiscoveryFilterTagArrayOutput) -} - -func (o GetFsuCollectionFleetDiscoveryFilterOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilter) string { return v.Type }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionFleetDiscoveryFilterOutput) Versions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilter) []string { return v.Versions }).(pulumi.StringArrayOutput) -} - -type GetFsuCollectionFleetDiscoveryFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionFleetDiscoveryFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionFleetDiscoveryFilter)(nil)).Elem() -} - -func (o GetFsuCollectionFleetDiscoveryFilterArrayOutput) ToGetFsuCollectionFleetDiscoveryFilterArrayOutput() GetFsuCollectionFleetDiscoveryFilterArrayOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryFilterArrayOutput) ToGetFsuCollectionFleetDiscoveryFilterArrayOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryFilterArrayOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryFilterArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionFleetDiscoveryFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionFleetDiscoveryFilter { - return vs[0].([]GetFsuCollectionFleetDiscoveryFilter)[vs[1].(int)] - }).(GetFsuCollectionFleetDiscoveryFilterOutput) -} - -type GetFsuCollectionFleetDiscoveryFilterTag struct { - Key string `pulumi:"key"` - Namespace string `pulumi:"namespace"` - Value string `pulumi:"value"` -} - -// GetFsuCollectionFleetDiscoveryFilterTagInput is an input type that accepts GetFsuCollectionFleetDiscoveryFilterTagArgs and GetFsuCollectionFleetDiscoveryFilterTagOutput values. -// You can construct a concrete instance of `GetFsuCollectionFleetDiscoveryFilterTagInput` via: -// -// GetFsuCollectionFleetDiscoveryFilterTagArgs{...} -type GetFsuCollectionFleetDiscoveryFilterTagInput interface { - pulumi.Input - - ToGetFsuCollectionFleetDiscoveryFilterTagOutput() GetFsuCollectionFleetDiscoveryFilterTagOutput - ToGetFsuCollectionFleetDiscoveryFilterTagOutputWithContext(context.Context) GetFsuCollectionFleetDiscoveryFilterTagOutput -} - -type GetFsuCollectionFleetDiscoveryFilterTagArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Namespace pulumi.StringInput `pulumi:"namespace"` - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetFsuCollectionFleetDiscoveryFilterTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (i GetFsuCollectionFleetDiscoveryFilterTagArgs) ToGetFsuCollectionFleetDiscoveryFilterTagOutput() GetFsuCollectionFleetDiscoveryFilterTagOutput { - return i.ToGetFsuCollectionFleetDiscoveryFilterTagOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionFleetDiscoveryFilterTagArgs) ToGetFsuCollectionFleetDiscoveryFilterTagOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryFilterTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionFleetDiscoveryFilterTagOutput) -} - -// GetFsuCollectionFleetDiscoveryFilterTagArrayInput is an input type that accepts GetFsuCollectionFleetDiscoveryFilterTagArray and GetFsuCollectionFleetDiscoveryFilterTagArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionFleetDiscoveryFilterTagArrayInput` via: -// -// GetFsuCollectionFleetDiscoveryFilterTagArray{ GetFsuCollectionFleetDiscoveryFilterTagArgs{...} } -type GetFsuCollectionFleetDiscoveryFilterTagArrayInput interface { - pulumi.Input - - ToGetFsuCollectionFleetDiscoveryFilterTagArrayOutput() GetFsuCollectionFleetDiscoveryFilterTagArrayOutput - ToGetFsuCollectionFleetDiscoveryFilterTagArrayOutputWithContext(context.Context) GetFsuCollectionFleetDiscoveryFilterTagArrayOutput -} - -type GetFsuCollectionFleetDiscoveryFilterTagArray []GetFsuCollectionFleetDiscoveryFilterTagInput - -func (GetFsuCollectionFleetDiscoveryFilterTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (i GetFsuCollectionFleetDiscoveryFilterTagArray) ToGetFsuCollectionFleetDiscoveryFilterTagArrayOutput() GetFsuCollectionFleetDiscoveryFilterTagArrayOutput { - return i.ToGetFsuCollectionFleetDiscoveryFilterTagArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionFleetDiscoveryFilterTagArray) ToGetFsuCollectionFleetDiscoveryFilterTagArrayOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryFilterTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionFleetDiscoveryFilterTagArrayOutput) -} - -type GetFsuCollectionFleetDiscoveryFilterTagOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionFleetDiscoveryFilterTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (o GetFsuCollectionFleetDiscoveryFilterTagOutput) ToGetFsuCollectionFleetDiscoveryFilterTagOutput() GetFsuCollectionFleetDiscoveryFilterTagOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryFilterTagOutput) ToGetFsuCollectionFleetDiscoveryFilterTagOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryFilterTagOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryFilterTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilterTag) string { return v.Key }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionFleetDiscoveryFilterTagOutput) Namespace() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilterTag) string { return v.Namespace }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionFleetDiscoveryFilterTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionFleetDiscoveryFilterTag) string { return v.Value }).(pulumi.StringOutput) -} - -type GetFsuCollectionFleetDiscoveryFilterTagArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionFleetDiscoveryFilterTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (o GetFsuCollectionFleetDiscoveryFilterTagArrayOutput) ToGetFsuCollectionFleetDiscoveryFilterTagArrayOutput() GetFsuCollectionFleetDiscoveryFilterTagArrayOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryFilterTagArrayOutput) ToGetFsuCollectionFleetDiscoveryFilterTagArrayOutputWithContext(ctx context.Context) GetFsuCollectionFleetDiscoveryFilterTagArrayOutput { - return o -} - -func (o GetFsuCollectionFleetDiscoveryFilterTagArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionFleetDiscoveryFilterTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionFleetDiscoveryFilterTag { - return vs[0].([]GetFsuCollectionFleetDiscoveryFilterTag)[vs[1].(int)] - }).(GetFsuCollectionFleetDiscoveryFilterTagOutput) -} - -type GetFsuCollectionsFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` -} - -// GetFsuCollectionsFilterInput is an input type that accepts GetFsuCollectionsFilterArgs and GetFsuCollectionsFilterOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFilterInput` via: -// -// GetFsuCollectionsFilterArgs{...} -type GetFsuCollectionsFilterInput interface { - pulumi.Input - - ToGetFsuCollectionsFilterOutput() GetFsuCollectionsFilterOutput - ToGetFsuCollectionsFilterOutputWithContext(context.Context) GetFsuCollectionsFilterOutput -} - -type GetFsuCollectionsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetFsuCollectionsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFilter)(nil)).Elem() -} - -func (i GetFsuCollectionsFilterArgs) ToGetFsuCollectionsFilterOutput() GetFsuCollectionsFilterOutput { - return i.ToGetFsuCollectionsFilterOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFilterArgs) ToGetFsuCollectionsFilterOutputWithContext(ctx context.Context) GetFsuCollectionsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFilterOutput) -} - -// GetFsuCollectionsFilterArrayInput is an input type that accepts GetFsuCollectionsFilterArray and GetFsuCollectionsFilterArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFilterArrayInput` via: -// -// GetFsuCollectionsFilterArray{ GetFsuCollectionsFilterArgs{...} } -type GetFsuCollectionsFilterArrayInput interface { - pulumi.Input - - ToGetFsuCollectionsFilterArrayOutput() GetFsuCollectionsFilterArrayOutput - ToGetFsuCollectionsFilterArrayOutputWithContext(context.Context) GetFsuCollectionsFilterArrayOutput -} - -type GetFsuCollectionsFilterArray []GetFsuCollectionsFilterInput - -func (GetFsuCollectionsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFilter)(nil)).Elem() -} - -func (i GetFsuCollectionsFilterArray) ToGetFsuCollectionsFilterArrayOutput() GetFsuCollectionsFilterArrayOutput { - return i.ToGetFsuCollectionsFilterArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFilterArray) ToGetFsuCollectionsFilterArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFilterArrayOutput) -} - -type GetFsuCollectionsFilterOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFilter)(nil)).Elem() -} - -func (o GetFsuCollectionsFilterOutput) ToGetFsuCollectionsFilterOutput() GetFsuCollectionsFilterOutput { - return o -} - -func (o GetFsuCollectionsFilterOutput) ToGetFsuCollectionsFilterOutputWithContext(ctx context.Context) GetFsuCollectionsFilterOutput { - return o -} - -func (o GetFsuCollectionsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetFsuCollectionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) -} - -func (o GetFsuCollectionsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetFsuCollectionsFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFilter)(nil)).Elem() -} - -func (o GetFsuCollectionsFilterArrayOutput) ToGetFsuCollectionsFilterArrayOutput() GetFsuCollectionsFilterArrayOutput { - return o -} - -func (o GetFsuCollectionsFilterArrayOutput) ToGetFsuCollectionsFilterArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFilterArrayOutput { - return o -} - -func (o GetFsuCollectionsFilterArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionsFilter { - return vs[0].([]GetFsuCollectionsFilter)[vs[1].(int)] - }).(GetFsuCollectionsFilterOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollection struct { - Items []GetFsuCollectionsFsuCollectionSummaryCollectionItem `pulumi:"items"` -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionArgs and GetFsuCollectionsFsuCollectionSummaryCollectionOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionArgs{...} -type GetFsuCollectionsFsuCollectionSummaryCollectionInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionOutput() GetFsuCollectionsFsuCollectionSummaryCollectionOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionArgs struct { - Items GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayInput `pulumi:"items"` -} - -func (GetFsuCollectionsFsuCollectionSummaryCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollection)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionOutput() GetFsuCollectionsFsuCollectionSummaryCollectionOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionOutput) -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionArrayInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionArray and GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionArrayInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionArray{ GetFsuCollectionsFsuCollectionSummaryCollectionArgs{...} } -type GetFsuCollectionsFsuCollectionSummaryCollectionArrayInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionArrayOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionArray []GetFsuCollectionsFsuCollectionSummaryCollectionInput - -func (GetFsuCollectionsFsuCollectionSummaryCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollection)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollection)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionOutput() GetFsuCollectionsFsuCollectionSummaryCollectionOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionOutput) Items() GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollection) []GetFsuCollectionsFsuCollectionSummaryCollectionItem { - return v.Items - }).(GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollection)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionsFsuCollectionSummaryCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionsFsuCollectionSummaryCollection { - return vs[0].([]GetFsuCollectionsFsuCollectionSummaryCollection)[vs[1].(int)] - }).(GetFsuCollectionsFsuCollectionSummaryCollectionOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItem struct { - ActiveFsuCycles []GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle `pulumi:"activeFsuCycles"` - CompartmentId string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - DisplayName string `pulumi:"displayName"` - FleetDiscoveries []GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery `pulumi:"fleetDiscoveries"` - FreeformTags map[string]string `pulumi:"freeformTags"` - Id string `pulumi:"id"` - LifecycleDetails string `pulumi:"lifecycleDetails"` - ServiceType string `pulumi:"serviceType"` - SourceMajorVersion string `pulumi:"sourceMajorVersion"` - State string `pulumi:"state"` - SystemTags map[string]string `pulumi:"systemTags"` - TargetCount int `pulumi:"targetCount"` - TimeCreated string `pulumi:"timeCreated"` - TimeUpdated string `pulumi:"timeUpdated"` - Type string `pulumi:"type"` -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionItemInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionItemArgs and GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionItemInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionItemArgs{...} -type GetFsuCollectionsFsuCollectionSummaryCollectionItemInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemArgs struct { - ActiveFsuCycles GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayInput `pulumi:"activeFsuCycles"` - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` - DisplayName pulumi.StringInput `pulumi:"displayName"` - FleetDiscoveries GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayInput `pulumi:"fleetDiscoveries"` - FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` - Id pulumi.StringInput `pulumi:"id"` - LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` - ServiceType pulumi.StringInput `pulumi:"serviceType"` - SourceMajorVersion pulumi.StringInput `pulumi:"sourceMajorVersion"` - State pulumi.StringInput `pulumi:"state"` - SystemTags pulumi.StringMapInput `pulumi:"systemTags"` - TargetCount pulumi.IntInput `pulumi:"targetCount"` - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItem)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionItemOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionItemArray and GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionItemArray{ GetFsuCollectionsFsuCollectionSummaryCollectionItemArgs{...} } -type GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemArray []GetFsuCollectionsFsuCollectionSummaryCollectionItemInput - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollectionItem)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItem)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) ActiveFsuCycles() GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) []GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle { - return v.ActiveFsuCycles - }).(GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) FleetDiscoveries() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) []GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery { - return v.FleetDiscoveries - }).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) LifecycleDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) string { return v.LifecycleDetails }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) ServiceType() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) string { return v.ServiceType }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) SourceMajorVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) string { return v.SourceMajorVersion }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) string { return v.State }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) TargetCount() pulumi.IntOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) int { return v.TargetCount }).(pulumi.IntOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItem) string { return v.Type }).(pulumi.StringOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollectionItem)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionsFsuCollectionSummaryCollectionItem { - return vs[0].([]GetFsuCollectionsFsuCollectionSummaryCollectionItem)[vs[1].(int)] - }).(GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle struct { - DisplayName string `pulumi:"displayName"` - Id string `pulumi:"id"` -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArgs and GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArgs{...} -type GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArgs struct { - DisplayName pulumi.StringInput `pulumi:"displayName"` - Id pulumi.StringInput `pulumi:"id"` -} - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput) -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArray and GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArray{ GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArgs{...} } -type GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArray []GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleInput - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle) string { return v.DisplayName }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle) string { return v.Id }).(pulumi.StringOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle { - return vs[0].([]GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle)[vs[1].(int)] - }).(GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery struct { - Filters []GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter `pulumi:"filters"` - FsuDiscoveryId string `pulumi:"fsuDiscoveryId"` - Query string `pulumi:"query"` - Strategy string `pulumi:"strategy"` - Targets []string `pulumi:"targets"` -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArgs and GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArgs{...} -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArgs struct { - Filters GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayInput `pulumi:"filters"` - FsuDiscoveryId pulumi.StringInput `pulumi:"fsuDiscoveryId"` - Query pulumi.StringInput `pulumi:"query"` - Strategy pulumi.StringInput `pulumi:"strategy"` - Targets pulumi.StringArrayInput `pulumi:"targets"` -} - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput) -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArray and GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArray{ GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArgs{...} } -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArray []GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryInput - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput) Filters() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery) []GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter { - return v.Filters - }).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput) FsuDiscoveryId() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery) string { - return v.FsuDiscoveryId - }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput) Query() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery) string { return v.Query }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput) Strategy() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery) string { return v.Strategy }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput) Targets() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery) []string { return v.Targets }).(pulumi.StringArrayOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery { - return vs[0].([]GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery)[vs[1].(int)] - }).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter struct { - EntityType string `pulumi:"entityType"` - Identifiers []string `pulumi:"identifiers"` - Mode string `pulumi:"mode"` - Names []string `pulumi:"names"` - Operator string `pulumi:"operator"` - Tags []GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag `pulumi:"tags"` - Type string `pulumi:"type"` - Versions []string `pulumi:"versions"` -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArgs and GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArgs{...} -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArgs struct { - EntityType pulumi.StringInput `pulumi:"entityType"` - Identifiers pulumi.StringArrayInput `pulumi:"identifiers"` - Mode pulumi.StringInput `pulumi:"mode"` - Names pulumi.StringArrayInput `pulumi:"names"` - Operator pulumi.StringInput `pulumi:"operator"` - Tags GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayInput `pulumi:"tags"` - Type pulumi.StringInput `pulumi:"type"` - Versions pulumi.StringArrayInput `pulumi:"versions"` -} - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArray and GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArray{ GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArgs{...} } -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArray []GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterInput - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) EntityType() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter) string { - return v.EntityType - }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) Identifiers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter) []string { - return v.Identifiers - }).(pulumi.StringArrayOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) Mode() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter) string { return v.Mode }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) Names() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter) []string { - return v.Names - }).(pulumi.StringArrayOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) Operator() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter) string { - return v.Operator - }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) Tags() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter) []GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag { - return v.Tags - }).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter) string { return v.Type }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) Versions() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter) []string { - return v.Versions - }).(pulumi.StringArrayOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter { - return vs[0].([]GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter)[vs[1].(int)] - }).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag struct { - Key string `pulumi:"key"` - Namespace string `pulumi:"namespace"` - Value string `pulumi:"value"` -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArgs and GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArgs{...} -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArgs struct { - Key pulumi.StringInput `pulumi:"key"` - Namespace pulumi.StringInput `pulumi:"namespace"` - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArgs) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput) -} - -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayInput is an input type that accepts GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArray and GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput values. -// You can construct a concrete instance of `GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayInput` via: -// -// GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArray{ GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArgs{...} } -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayInput interface { - pulumi.Input - - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput - ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutputWithContext(context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArray []GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagInput - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput { - return i.ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArray) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput) Key() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag) string { - return v.Key - }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput) Namespace() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag) string { - return v.Namespace - }).(pulumi.StringOutput) -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag) string { - return v.Value - }).(pulumi.StringOutput) -} - -type GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag)(nil)).Elem() -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput() GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput) ToGetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutputWithContext(ctx context.Context) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput { - return o -} - -func (o GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput) Index(i pulumi.IntInput) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag { - return vs[0].([]GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag)[vs[1].(int)] - }).(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput) -} - -type GetFsuCycleApplyActionSchedule struct { - TimeToStart string `pulumi:"timeToStart"` - Type string `pulumi:"type"` -} - -// GetFsuCycleApplyActionScheduleInput is an input type that accepts GetFsuCycleApplyActionScheduleArgs and GetFsuCycleApplyActionScheduleOutput values. -// You can construct a concrete instance of `GetFsuCycleApplyActionScheduleInput` via: -// -// GetFsuCycleApplyActionScheduleArgs{...} -type GetFsuCycleApplyActionScheduleInput interface { - pulumi.Input - - ToGetFsuCycleApplyActionScheduleOutput() GetFsuCycleApplyActionScheduleOutput - ToGetFsuCycleApplyActionScheduleOutputWithContext(context.Context) GetFsuCycleApplyActionScheduleOutput -} - -type GetFsuCycleApplyActionScheduleArgs struct { - TimeToStart pulumi.StringInput `pulumi:"timeToStart"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (GetFsuCycleApplyActionScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleApplyActionSchedule)(nil)).Elem() -} - -func (i GetFsuCycleApplyActionScheduleArgs) ToGetFsuCycleApplyActionScheduleOutput() GetFsuCycleApplyActionScheduleOutput { - return i.ToGetFsuCycleApplyActionScheduleOutputWithContext(context.Background()) -} - -func (i GetFsuCycleApplyActionScheduleArgs) ToGetFsuCycleApplyActionScheduleOutputWithContext(ctx context.Context) GetFsuCycleApplyActionScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleApplyActionScheduleOutput) -} - -// GetFsuCycleApplyActionScheduleArrayInput is an input type that accepts GetFsuCycleApplyActionScheduleArray and GetFsuCycleApplyActionScheduleArrayOutput values. -// You can construct a concrete instance of `GetFsuCycleApplyActionScheduleArrayInput` via: -// -// GetFsuCycleApplyActionScheduleArray{ GetFsuCycleApplyActionScheduleArgs{...} } -type GetFsuCycleApplyActionScheduleArrayInput interface { - pulumi.Input - - ToGetFsuCycleApplyActionScheduleArrayOutput() GetFsuCycleApplyActionScheduleArrayOutput - ToGetFsuCycleApplyActionScheduleArrayOutputWithContext(context.Context) GetFsuCycleApplyActionScheduleArrayOutput -} - -type GetFsuCycleApplyActionScheduleArray []GetFsuCycleApplyActionScheduleInput - -func (GetFsuCycleApplyActionScheduleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleApplyActionSchedule)(nil)).Elem() -} - -func (i GetFsuCycleApplyActionScheduleArray) ToGetFsuCycleApplyActionScheduleArrayOutput() GetFsuCycleApplyActionScheduleArrayOutput { - return i.ToGetFsuCycleApplyActionScheduleArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCycleApplyActionScheduleArray) ToGetFsuCycleApplyActionScheduleArrayOutputWithContext(ctx context.Context) GetFsuCycleApplyActionScheduleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleApplyActionScheduleArrayOutput) -} - -type GetFsuCycleApplyActionScheduleOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleApplyActionScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleApplyActionSchedule)(nil)).Elem() -} - -func (o GetFsuCycleApplyActionScheduleOutput) ToGetFsuCycleApplyActionScheduleOutput() GetFsuCycleApplyActionScheduleOutput { - return o -} - -func (o GetFsuCycleApplyActionScheduleOutput) ToGetFsuCycleApplyActionScheduleOutputWithContext(ctx context.Context) GetFsuCycleApplyActionScheduleOutput { - return o -} - -func (o GetFsuCycleApplyActionScheduleOutput) TimeToStart() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleApplyActionSchedule) string { return v.TimeToStart }).(pulumi.StringOutput) -} - -func (o GetFsuCycleApplyActionScheduleOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleApplyActionSchedule) string { return v.Type }).(pulumi.StringOutput) -} - -type GetFsuCycleApplyActionScheduleArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleApplyActionScheduleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleApplyActionSchedule)(nil)).Elem() -} - -func (o GetFsuCycleApplyActionScheduleArrayOutput) ToGetFsuCycleApplyActionScheduleArrayOutput() GetFsuCycleApplyActionScheduleArrayOutput { - return o -} - -func (o GetFsuCycleApplyActionScheduleArrayOutput) ToGetFsuCycleApplyActionScheduleArrayOutputWithContext(ctx context.Context) GetFsuCycleApplyActionScheduleArrayOutput { - return o -} - -func (o GetFsuCycleApplyActionScheduleArrayOutput) Index(i pulumi.IntInput) GetFsuCycleApplyActionScheduleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCycleApplyActionSchedule { - return vs[0].([]GetFsuCycleApplyActionSchedule)[vs[1].(int)] - }).(GetFsuCycleApplyActionScheduleOutput) -} - -type GetFsuCycleBatchingStrategy struct { - IsForceRolling bool `pulumi:"isForceRolling"` - IsWaitForBatchResume bool `pulumi:"isWaitForBatchResume"` - Percentage int `pulumi:"percentage"` - Type string `pulumi:"type"` -} - -// GetFsuCycleBatchingStrategyInput is an input type that accepts GetFsuCycleBatchingStrategyArgs and GetFsuCycleBatchingStrategyOutput values. -// You can construct a concrete instance of `GetFsuCycleBatchingStrategyInput` via: -// -// GetFsuCycleBatchingStrategyArgs{...} -type GetFsuCycleBatchingStrategyInput interface { - pulumi.Input - - ToGetFsuCycleBatchingStrategyOutput() GetFsuCycleBatchingStrategyOutput - ToGetFsuCycleBatchingStrategyOutputWithContext(context.Context) GetFsuCycleBatchingStrategyOutput -} - -type GetFsuCycleBatchingStrategyArgs struct { - IsForceRolling pulumi.BoolInput `pulumi:"isForceRolling"` - IsWaitForBatchResume pulumi.BoolInput `pulumi:"isWaitForBatchResume"` - Percentage pulumi.IntInput `pulumi:"percentage"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (GetFsuCycleBatchingStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleBatchingStrategy)(nil)).Elem() -} - -func (i GetFsuCycleBatchingStrategyArgs) ToGetFsuCycleBatchingStrategyOutput() GetFsuCycleBatchingStrategyOutput { - return i.ToGetFsuCycleBatchingStrategyOutputWithContext(context.Background()) -} - -func (i GetFsuCycleBatchingStrategyArgs) ToGetFsuCycleBatchingStrategyOutputWithContext(ctx context.Context) GetFsuCycleBatchingStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleBatchingStrategyOutput) -} - -// GetFsuCycleBatchingStrategyArrayInput is an input type that accepts GetFsuCycleBatchingStrategyArray and GetFsuCycleBatchingStrategyArrayOutput values. -// You can construct a concrete instance of `GetFsuCycleBatchingStrategyArrayInput` via: -// -// GetFsuCycleBatchingStrategyArray{ GetFsuCycleBatchingStrategyArgs{...} } -type GetFsuCycleBatchingStrategyArrayInput interface { - pulumi.Input - - ToGetFsuCycleBatchingStrategyArrayOutput() GetFsuCycleBatchingStrategyArrayOutput - ToGetFsuCycleBatchingStrategyArrayOutputWithContext(context.Context) GetFsuCycleBatchingStrategyArrayOutput -} - -type GetFsuCycleBatchingStrategyArray []GetFsuCycleBatchingStrategyInput - -func (GetFsuCycleBatchingStrategyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleBatchingStrategy)(nil)).Elem() -} - -func (i GetFsuCycleBatchingStrategyArray) ToGetFsuCycleBatchingStrategyArrayOutput() GetFsuCycleBatchingStrategyArrayOutput { - return i.ToGetFsuCycleBatchingStrategyArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCycleBatchingStrategyArray) ToGetFsuCycleBatchingStrategyArrayOutputWithContext(ctx context.Context) GetFsuCycleBatchingStrategyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleBatchingStrategyArrayOutput) -} - -type GetFsuCycleBatchingStrategyOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleBatchingStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleBatchingStrategy)(nil)).Elem() -} - -func (o GetFsuCycleBatchingStrategyOutput) ToGetFsuCycleBatchingStrategyOutput() GetFsuCycleBatchingStrategyOutput { - return o -} - -func (o GetFsuCycleBatchingStrategyOutput) ToGetFsuCycleBatchingStrategyOutputWithContext(ctx context.Context) GetFsuCycleBatchingStrategyOutput { - return o -} - -func (o GetFsuCycleBatchingStrategyOutput) IsForceRolling() pulumi.BoolOutput { - return o.ApplyT(func(v GetFsuCycleBatchingStrategy) bool { return v.IsForceRolling }).(pulumi.BoolOutput) -} - -func (o GetFsuCycleBatchingStrategyOutput) IsWaitForBatchResume() pulumi.BoolOutput { - return o.ApplyT(func(v GetFsuCycleBatchingStrategy) bool { return v.IsWaitForBatchResume }).(pulumi.BoolOutput) -} - -func (o GetFsuCycleBatchingStrategyOutput) Percentage() pulumi.IntOutput { - return o.ApplyT(func(v GetFsuCycleBatchingStrategy) int { return v.Percentage }).(pulumi.IntOutput) -} - -func (o GetFsuCycleBatchingStrategyOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleBatchingStrategy) string { return v.Type }).(pulumi.StringOutput) -} - -type GetFsuCycleBatchingStrategyArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleBatchingStrategyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleBatchingStrategy)(nil)).Elem() -} - -func (o GetFsuCycleBatchingStrategyArrayOutput) ToGetFsuCycleBatchingStrategyArrayOutput() GetFsuCycleBatchingStrategyArrayOutput { - return o -} - -func (o GetFsuCycleBatchingStrategyArrayOutput) ToGetFsuCycleBatchingStrategyArrayOutputWithContext(ctx context.Context) GetFsuCycleBatchingStrategyArrayOutput { - return o -} - -func (o GetFsuCycleBatchingStrategyArrayOutput) Index(i pulumi.IntInput) GetFsuCycleBatchingStrategyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCycleBatchingStrategy { - return vs[0].([]GetFsuCycleBatchingStrategy)[vs[1].(int)] - }).(GetFsuCycleBatchingStrategyOutput) -} - -type GetFsuCycleDiagnosticsCollection struct { - LogCollectionMode string `pulumi:"logCollectionMode"` -} - -// GetFsuCycleDiagnosticsCollectionInput is an input type that accepts GetFsuCycleDiagnosticsCollectionArgs and GetFsuCycleDiagnosticsCollectionOutput values. -// You can construct a concrete instance of `GetFsuCycleDiagnosticsCollectionInput` via: -// -// GetFsuCycleDiagnosticsCollectionArgs{...} -type GetFsuCycleDiagnosticsCollectionInput interface { - pulumi.Input - - ToGetFsuCycleDiagnosticsCollectionOutput() GetFsuCycleDiagnosticsCollectionOutput - ToGetFsuCycleDiagnosticsCollectionOutputWithContext(context.Context) GetFsuCycleDiagnosticsCollectionOutput -} - -type GetFsuCycleDiagnosticsCollectionArgs struct { - LogCollectionMode pulumi.StringInput `pulumi:"logCollectionMode"` -} - -func (GetFsuCycleDiagnosticsCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleDiagnosticsCollection)(nil)).Elem() -} - -func (i GetFsuCycleDiagnosticsCollectionArgs) ToGetFsuCycleDiagnosticsCollectionOutput() GetFsuCycleDiagnosticsCollectionOutput { - return i.ToGetFsuCycleDiagnosticsCollectionOutputWithContext(context.Background()) -} - -func (i GetFsuCycleDiagnosticsCollectionArgs) ToGetFsuCycleDiagnosticsCollectionOutputWithContext(ctx context.Context) GetFsuCycleDiagnosticsCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleDiagnosticsCollectionOutput) -} - -// GetFsuCycleDiagnosticsCollectionArrayInput is an input type that accepts GetFsuCycleDiagnosticsCollectionArray and GetFsuCycleDiagnosticsCollectionArrayOutput values. -// You can construct a concrete instance of `GetFsuCycleDiagnosticsCollectionArrayInput` via: -// -// GetFsuCycleDiagnosticsCollectionArray{ GetFsuCycleDiagnosticsCollectionArgs{...} } -type GetFsuCycleDiagnosticsCollectionArrayInput interface { - pulumi.Input - - ToGetFsuCycleDiagnosticsCollectionArrayOutput() GetFsuCycleDiagnosticsCollectionArrayOutput - ToGetFsuCycleDiagnosticsCollectionArrayOutputWithContext(context.Context) GetFsuCycleDiagnosticsCollectionArrayOutput -} - -type GetFsuCycleDiagnosticsCollectionArray []GetFsuCycleDiagnosticsCollectionInput - -func (GetFsuCycleDiagnosticsCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleDiagnosticsCollection)(nil)).Elem() -} - -func (i GetFsuCycleDiagnosticsCollectionArray) ToGetFsuCycleDiagnosticsCollectionArrayOutput() GetFsuCycleDiagnosticsCollectionArrayOutput { - return i.ToGetFsuCycleDiagnosticsCollectionArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCycleDiagnosticsCollectionArray) ToGetFsuCycleDiagnosticsCollectionArrayOutputWithContext(ctx context.Context) GetFsuCycleDiagnosticsCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleDiagnosticsCollectionArrayOutput) -} - -type GetFsuCycleDiagnosticsCollectionOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleDiagnosticsCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleDiagnosticsCollection)(nil)).Elem() -} - -func (o GetFsuCycleDiagnosticsCollectionOutput) ToGetFsuCycleDiagnosticsCollectionOutput() GetFsuCycleDiagnosticsCollectionOutput { - return o -} - -func (o GetFsuCycleDiagnosticsCollectionOutput) ToGetFsuCycleDiagnosticsCollectionOutputWithContext(ctx context.Context) GetFsuCycleDiagnosticsCollectionOutput { - return o -} - -func (o GetFsuCycleDiagnosticsCollectionOutput) LogCollectionMode() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleDiagnosticsCollection) string { return v.LogCollectionMode }).(pulumi.StringOutput) -} - -type GetFsuCycleDiagnosticsCollectionArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleDiagnosticsCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleDiagnosticsCollection)(nil)).Elem() -} - -func (o GetFsuCycleDiagnosticsCollectionArrayOutput) ToGetFsuCycleDiagnosticsCollectionArrayOutput() GetFsuCycleDiagnosticsCollectionArrayOutput { - return o -} - -func (o GetFsuCycleDiagnosticsCollectionArrayOutput) ToGetFsuCycleDiagnosticsCollectionArrayOutputWithContext(ctx context.Context) GetFsuCycleDiagnosticsCollectionArrayOutput { - return o -} - -func (o GetFsuCycleDiagnosticsCollectionArrayOutput) Index(i pulumi.IntInput) GetFsuCycleDiagnosticsCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCycleDiagnosticsCollection { - return vs[0].([]GetFsuCycleDiagnosticsCollection)[vs[1].(int)] - }).(GetFsuCycleDiagnosticsCollectionOutput) -} - -type GetFsuCycleGoalVersionDetail struct { - HomePolicy string `pulumi:"homePolicy"` - NewHomePrefix string `pulumi:"newHomePrefix"` - SoftwareImageId string `pulumi:"softwareImageId"` - Type string `pulumi:"type"` - Version string `pulumi:"version"` -} - -// GetFsuCycleGoalVersionDetailInput is an input type that accepts GetFsuCycleGoalVersionDetailArgs and GetFsuCycleGoalVersionDetailOutput values. -// You can construct a concrete instance of `GetFsuCycleGoalVersionDetailInput` via: -// -// GetFsuCycleGoalVersionDetailArgs{...} -type GetFsuCycleGoalVersionDetailInput interface { - pulumi.Input - - ToGetFsuCycleGoalVersionDetailOutput() GetFsuCycleGoalVersionDetailOutput - ToGetFsuCycleGoalVersionDetailOutputWithContext(context.Context) GetFsuCycleGoalVersionDetailOutput -} - -type GetFsuCycleGoalVersionDetailArgs struct { - HomePolicy pulumi.StringInput `pulumi:"homePolicy"` - NewHomePrefix pulumi.StringInput `pulumi:"newHomePrefix"` - SoftwareImageId pulumi.StringInput `pulumi:"softwareImageId"` - Type pulumi.StringInput `pulumi:"type"` - Version pulumi.StringInput `pulumi:"version"` -} - -func (GetFsuCycleGoalVersionDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleGoalVersionDetail)(nil)).Elem() -} - -func (i GetFsuCycleGoalVersionDetailArgs) ToGetFsuCycleGoalVersionDetailOutput() GetFsuCycleGoalVersionDetailOutput { - return i.ToGetFsuCycleGoalVersionDetailOutputWithContext(context.Background()) -} - -func (i GetFsuCycleGoalVersionDetailArgs) ToGetFsuCycleGoalVersionDetailOutputWithContext(ctx context.Context) GetFsuCycleGoalVersionDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleGoalVersionDetailOutput) -} - -// GetFsuCycleGoalVersionDetailArrayInput is an input type that accepts GetFsuCycleGoalVersionDetailArray and GetFsuCycleGoalVersionDetailArrayOutput values. -// You can construct a concrete instance of `GetFsuCycleGoalVersionDetailArrayInput` via: -// -// GetFsuCycleGoalVersionDetailArray{ GetFsuCycleGoalVersionDetailArgs{...} } -type GetFsuCycleGoalVersionDetailArrayInput interface { - pulumi.Input - - ToGetFsuCycleGoalVersionDetailArrayOutput() GetFsuCycleGoalVersionDetailArrayOutput - ToGetFsuCycleGoalVersionDetailArrayOutputWithContext(context.Context) GetFsuCycleGoalVersionDetailArrayOutput -} - -type GetFsuCycleGoalVersionDetailArray []GetFsuCycleGoalVersionDetailInput - -func (GetFsuCycleGoalVersionDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleGoalVersionDetail)(nil)).Elem() -} - -func (i GetFsuCycleGoalVersionDetailArray) ToGetFsuCycleGoalVersionDetailArrayOutput() GetFsuCycleGoalVersionDetailArrayOutput { - return i.ToGetFsuCycleGoalVersionDetailArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCycleGoalVersionDetailArray) ToGetFsuCycleGoalVersionDetailArrayOutputWithContext(ctx context.Context) GetFsuCycleGoalVersionDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleGoalVersionDetailArrayOutput) -} - -type GetFsuCycleGoalVersionDetailOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleGoalVersionDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleGoalVersionDetail)(nil)).Elem() -} - -func (o GetFsuCycleGoalVersionDetailOutput) ToGetFsuCycleGoalVersionDetailOutput() GetFsuCycleGoalVersionDetailOutput { - return o -} - -func (o GetFsuCycleGoalVersionDetailOutput) ToGetFsuCycleGoalVersionDetailOutputWithContext(ctx context.Context) GetFsuCycleGoalVersionDetailOutput { - return o -} - -func (o GetFsuCycleGoalVersionDetailOutput) HomePolicy() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleGoalVersionDetail) string { return v.HomePolicy }).(pulumi.StringOutput) -} - -func (o GetFsuCycleGoalVersionDetailOutput) NewHomePrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleGoalVersionDetail) string { return v.NewHomePrefix }).(pulumi.StringOutput) -} - -func (o GetFsuCycleGoalVersionDetailOutput) SoftwareImageId() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleGoalVersionDetail) string { return v.SoftwareImageId }).(pulumi.StringOutput) -} - -func (o GetFsuCycleGoalVersionDetailOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleGoalVersionDetail) string { return v.Type }).(pulumi.StringOutput) -} - -func (o GetFsuCycleGoalVersionDetailOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleGoalVersionDetail) string { return v.Version }).(pulumi.StringOutput) -} - -type GetFsuCycleGoalVersionDetailArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleGoalVersionDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleGoalVersionDetail)(nil)).Elem() -} - -func (o GetFsuCycleGoalVersionDetailArrayOutput) ToGetFsuCycleGoalVersionDetailArrayOutput() GetFsuCycleGoalVersionDetailArrayOutput { - return o -} - -func (o GetFsuCycleGoalVersionDetailArrayOutput) ToGetFsuCycleGoalVersionDetailArrayOutputWithContext(ctx context.Context) GetFsuCycleGoalVersionDetailArrayOutput { - return o -} - -func (o GetFsuCycleGoalVersionDetailArrayOutput) Index(i pulumi.IntInput) GetFsuCycleGoalVersionDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCycleGoalVersionDetail { - return vs[0].([]GetFsuCycleGoalVersionDetail)[vs[1].(int)] - }).(GetFsuCycleGoalVersionDetailOutput) -} - -type GetFsuCycleNextActionToExecute struct { - TimeToStart string `pulumi:"timeToStart"` - Type string `pulumi:"type"` -} - -// GetFsuCycleNextActionToExecuteInput is an input type that accepts GetFsuCycleNextActionToExecuteArgs and GetFsuCycleNextActionToExecuteOutput values. -// You can construct a concrete instance of `GetFsuCycleNextActionToExecuteInput` via: -// -// GetFsuCycleNextActionToExecuteArgs{...} -type GetFsuCycleNextActionToExecuteInput interface { - pulumi.Input - - ToGetFsuCycleNextActionToExecuteOutput() GetFsuCycleNextActionToExecuteOutput - ToGetFsuCycleNextActionToExecuteOutputWithContext(context.Context) GetFsuCycleNextActionToExecuteOutput -} - -type GetFsuCycleNextActionToExecuteArgs struct { - TimeToStart pulumi.StringInput `pulumi:"timeToStart"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (GetFsuCycleNextActionToExecuteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleNextActionToExecute)(nil)).Elem() -} - -func (i GetFsuCycleNextActionToExecuteArgs) ToGetFsuCycleNextActionToExecuteOutput() GetFsuCycleNextActionToExecuteOutput { - return i.ToGetFsuCycleNextActionToExecuteOutputWithContext(context.Background()) -} - -func (i GetFsuCycleNextActionToExecuteArgs) ToGetFsuCycleNextActionToExecuteOutputWithContext(ctx context.Context) GetFsuCycleNextActionToExecuteOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleNextActionToExecuteOutput) -} - -// GetFsuCycleNextActionToExecuteArrayInput is an input type that accepts GetFsuCycleNextActionToExecuteArray and GetFsuCycleNextActionToExecuteArrayOutput values. -// You can construct a concrete instance of `GetFsuCycleNextActionToExecuteArrayInput` via: -// -// GetFsuCycleNextActionToExecuteArray{ GetFsuCycleNextActionToExecuteArgs{...} } -type GetFsuCycleNextActionToExecuteArrayInput interface { - pulumi.Input - - ToGetFsuCycleNextActionToExecuteArrayOutput() GetFsuCycleNextActionToExecuteArrayOutput - ToGetFsuCycleNextActionToExecuteArrayOutputWithContext(context.Context) GetFsuCycleNextActionToExecuteArrayOutput -} - -type GetFsuCycleNextActionToExecuteArray []GetFsuCycleNextActionToExecuteInput - -func (GetFsuCycleNextActionToExecuteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleNextActionToExecute)(nil)).Elem() -} - -func (i GetFsuCycleNextActionToExecuteArray) ToGetFsuCycleNextActionToExecuteArrayOutput() GetFsuCycleNextActionToExecuteArrayOutput { - return i.ToGetFsuCycleNextActionToExecuteArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCycleNextActionToExecuteArray) ToGetFsuCycleNextActionToExecuteArrayOutputWithContext(ctx context.Context) GetFsuCycleNextActionToExecuteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleNextActionToExecuteArrayOutput) -} - -type GetFsuCycleNextActionToExecuteOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleNextActionToExecuteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleNextActionToExecute)(nil)).Elem() -} - -func (o GetFsuCycleNextActionToExecuteOutput) ToGetFsuCycleNextActionToExecuteOutput() GetFsuCycleNextActionToExecuteOutput { - return o -} - -func (o GetFsuCycleNextActionToExecuteOutput) ToGetFsuCycleNextActionToExecuteOutputWithContext(ctx context.Context) GetFsuCycleNextActionToExecuteOutput { - return o -} - -func (o GetFsuCycleNextActionToExecuteOutput) TimeToStart() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleNextActionToExecute) string { return v.TimeToStart }).(pulumi.StringOutput) -} - -func (o GetFsuCycleNextActionToExecuteOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleNextActionToExecute) string { return v.Type }).(pulumi.StringOutput) -} - -type GetFsuCycleNextActionToExecuteArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleNextActionToExecuteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleNextActionToExecute)(nil)).Elem() -} - -func (o GetFsuCycleNextActionToExecuteArrayOutput) ToGetFsuCycleNextActionToExecuteArrayOutput() GetFsuCycleNextActionToExecuteArrayOutput { - return o -} - -func (o GetFsuCycleNextActionToExecuteArrayOutput) ToGetFsuCycleNextActionToExecuteArrayOutputWithContext(ctx context.Context) GetFsuCycleNextActionToExecuteArrayOutput { - return o -} - -func (o GetFsuCycleNextActionToExecuteArrayOutput) Index(i pulumi.IntInput) GetFsuCycleNextActionToExecuteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCycleNextActionToExecute { - return vs[0].([]GetFsuCycleNextActionToExecute)[vs[1].(int)] - }).(GetFsuCycleNextActionToExecuteOutput) -} - -type GetFsuCycleStageActionSchedule struct { - TimeToStart string `pulumi:"timeToStart"` - Type string `pulumi:"type"` -} - -// GetFsuCycleStageActionScheduleInput is an input type that accepts GetFsuCycleStageActionScheduleArgs and GetFsuCycleStageActionScheduleOutput values. -// You can construct a concrete instance of `GetFsuCycleStageActionScheduleInput` via: -// -// GetFsuCycleStageActionScheduleArgs{...} -type GetFsuCycleStageActionScheduleInput interface { - pulumi.Input - - ToGetFsuCycleStageActionScheduleOutput() GetFsuCycleStageActionScheduleOutput - ToGetFsuCycleStageActionScheduleOutputWithContext(context.Context) GetFsuCycleStageActionScheduleOutput -} - -type GetFsuCycleStageActionScheduleArgs struct { - TimeToStart pulumi.StringInput `pulumi:"timeToStart"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (GetFsuCycleStageActionScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleStageActionSchedule)(nil)).Elem() -} - -func (i GetFsuCycleStageActionScheduleArgs) ToGetFsuCycleStageActionScheduleOutput() GetFsuCycleStageActionScheduleOutput { - return i.ToGetFsuCycleStageActionScheduleOutputWithContext(context.Background()) -} - -func (i GetFsuCycleStageActionScheduleArgs) ToGetFsuCycleStageActionScheduleOutputWithContext(ctx context.Context) GetFsuCycleStageActionScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleStageActionScheduleOutput) -} - -// GetFsuCycleStageActionScheduleArrayInput is an input type that accepts GetFsuCycleStageActionScheduleArray and GetFsuCycleStageActionScheduleArrayOutput values. -// You can construct a concrete instance of `GetFsuCycleStageActionScheduleArrayInput` via: -// -// GetFsuCycleStageActionScheduleArray{ GetFsuCycleStageActionScheduleArgs{...} } -type GetFsuCycleStageActionScheduleArrayInput interface { - pulumi.Input - - ToGetFsuCycleStageActionScheduleArrayOutput() GetFsuCycleStageActionScheduleArrayOutput - ToGetFsuCycleStageActionScheduleArrayOutputWithContext(context.Context) GetFsuCycleStageActionScheduleArrayOutput -} - -type GetFsuCycleStageActionScheduleArray []GetFsuCycleStageActionScheduleInput - -func (GetFsuCycleStageActionScheduleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleStageActionSchedule)(nil)).Elem() -} - -func (i GetFsuCycleStageActionScheduleArray) ToGetFsuCycleStageActionScheduleArrayOutput() GetFsuCycleStageActionScheduleArrayOutput { - return i.ToGetFsuCycleStageActionScheduleArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCycleStageActionScheduleArray) ToGetFsuCycleStageActionScheduleArrayOutputWithContext(ctx context.Context) GetFsuCycleStageActionScheduleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCycleStageActionScheduleArrayOutput) -} - -type GetFsuCycleStageActionScheduleOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleStageActionScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCycleStageActionSchedule)(nil)).Elem() -} - -func (o GetFsuCycleStageActionScheduleOutput) ToGetFsuCycleStageActionScheduleOutput() GetFsuCycleStageActionScheduleOutput { - return o -} - -func (o GetFsuCycleStageActionScheduleOutput) ToGetFsuCycleStageActionScheduleOutputWithContext(ctx context.Context) GetFsuCycleStageActionScheduleOutput { - return o -} - -func (o GetFsuCycleStageActionScheduleOutput) TimeToStart() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleStageActionSchedule) string { return v.TimeToStart }).(pulumi.StringOutput) -} - -func (o GetFsuCycleStageActionScheduleOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCycleStageActionSchedule) string { return v.Type }).(pulumi.StringOutput) -} - -type GetFsuCycleStageActionScheduleArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCycleStageActionScheduleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCycleStageActionSchedule)(nil)).Elem() -} - -func (o GetFsuCycleStageActionScheduleArrayOutput) ToGetFsuCycleStageActionScheduleArrayOutput() GetFsuCycleStageActionScheduleArrayOutput { - return o -} - -func (o GetFsuCycleStageActionScheduleArrayOutput) ToGetFsuCycleStageActionScheduleArrayOutputWithContext(ctx context.Context) GetFsuCycleStageActionScheduleArrayOutput { - return o -} - -func (o GetFsuCycleStageActionScheduleArrayOutput) Index(i pulumi.IntInput) GetFsuCycleStageActionScheduleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCycleStageActionSchedule { - return vs[0].([]GetFsuCycleStageActionSchedule)[vs[1].(int)] - }).(GetFsuCycleStageActionScheduleOutput) -} - -type GetFsuCyclesFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` -} - -// GetFsuCyclesFilterInput is an input type that accepts GetFsuCyclesFilterArgs and GetFsuCyclesFilterOutput values. -// You can construct a concrete instance of `GetFsuCyclesFilterInput` via: -// -// GetFsuCyclesFilterArgs{...} -type GetFsuCyclesFilterInput interface { - pulumi.Input - - ToGetFsuCyclesFilterOutput() GetFsuCyclesFilterOutput - ToGetFsuCyclesFilterOutputWithContext(context.Context) GetFsuCyclesFilterOutput -} - -type GetFsuCyclesFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetFsuCyclesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFilter)(nil)).Elem() -} - -func (i GetFsuCyclesFilterArgs) ToGetFsuCyclesFilterOutput() GetFsuCyclesFilterOutput { - return i.ToGetFsuCyclesFilterOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFilterArgs) ToGetFsuCyclesFilterOutputWithContext(ctx context.Context) GetFsuCyclesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFilterOutput) -} - -// GetFsuCyclesFilterArrayInput is an input type that accepts GetFsuCyclesFilterArray and GetFsuCyclesFilterArrayOutput values. -// You can construct a concrete instance of `GetFsuCyclesFilterArrayInput` via: -// -// GetFsuCyclesFilterArray{ GetFsuCyclesFilterArgs{...} } -type GetFsuCyclesFilterArrayInput interface { - pulumi.Input - - ToGetFsuCyclesFilterArrayOutput() GetFsuCyclesFilterArrayOutput - ToGetFsuCyclesFilterArrayOutputWithContext(context.Context) GetFsuCyclesFilterArrayOutput -} - -type GetFsuCyclesFilterArray []GetFsuCyclesFilterInput - -func (GetFsuCyclesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFilter)(nil)).Elem() -} - -func (i GetFsuCyclesFilterArray) ToGetFsuCyclesFilterArrayOutput() GetFsuCyclesFilterArrayOutput { - return i.ToGetFsuCyclesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFilterArray) ToGetFsuCyclesFilterArrayOutputWithContext(ctx context.Context) GetFsuCyclesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFilterArrayOutput) -} - -type GetFsuCyclesFilterOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFilter)(nil)).Elem() -} - -func (o GetFsuCyclesFilterOutput) ToGetFsuCyclesFilterOutput() GetFsuCyclesFilterOutput { - return o -} - -func (o GetFsuCyclesFilterOutput) ToGetFsuCyclesFilterOutputWithContext(ctx context.Context) GetFsuCyclesFilterOutput { - return o -} - -func (o GetFsuCyclesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetFsuCyclesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) -} - -func (o GetFsuCyclesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCyclesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetFsuCyclesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFilter)(nil)).Elem() -} - -func (o GetFsuCyclesFilterArrayOutput) ToGetFsuCyclesFilterArrayOutput() GetFsuCyclesFilterArrayOutput { - return o -} - -func (o GetFsuCyclesFilterArrayOutput) ToGetFsuCyclesFilterArrayOutputWithContext(ctx context.Context) GetFsuCyclesFilterArrayOutput { - return o -} - -func (o GetFsuCyclesFilterArrayOutput) Index(i pulumi.IntInput) GetFsuCyclesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCyclesFilter { - return vs[0].([]GetFsuCyclesFilter)[vs[1].(int)] - }).(GetFsuCyclesFilterOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollection struct { - Items []GetFsuCyclesFsuCycleSummaryCollectionItem `pulumi:"items"` -} - -// GetFsuCyclesFsuCycleSummaryCollectionInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionArgs and GetFsuCyclesFsuCycleSummaryCollectionOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionArgs{...} -type GetFsuCyclesFsuCycleSummaryCollectionInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionOutput() GetFsuCyclesFsuCycleSummaryCollectionOutput - ToGetFsuCyclesFsuCycleSummaryCollectionOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionArgs struct { - Items GetFsuCyclesFsuCycleSummaryCollectionItemArrayInput `pulumi:"items"` -} - -func (GetFsuCyclesFsuCycleSummaryCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollection)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionArgs) ToGetFsuCyclesFsuCycleSummaryCollectionOutput() GetFsuCyclesFsuCycleSummaryCollectionOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionArgs) ToGetFsuCyclesFsuCycleSummaryCollectionOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionOutput) -} - -// GetFsuCyclesFsuCycleSummaryCollectionArrayInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionArray and GetFsuCyclesFsuCycleSummaryCollectionArrayOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionArrayInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionArray{ GetFsuCyclesFsuCycleSummaryCollectionArgs{...} } -type GetFsuCyclesFsuCycleSummaryCollectionArrayInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionArrayOutput - ToGetFsuCyclesFsuCycleSummaryCollectionArrayOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionArrayOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionArray []GetFsuCyclesFsuCycleSummaryCollectionInput - -func (GetFsuCyclesFsuCycleSummaryCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollection)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionArray) ToGetFsuCyclesFsuCycleSummaryCollectionArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionArrayOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionArray) ToGetFsuCyclesFsuCycleSummaryCollectionArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionArrayOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollection)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionOutput) ToGetFsuCyclesFsuCycleSummaryCollectionOutput() GetFsuCyclesFsuCycleSummaryCollectionOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionOutput) ToGetFsuCyclesFsuCycleSummaryCollectionOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionOutput) Items() GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollection) []GetFsuCyclesFsuCycleSummaryCollectionItem { - return v.Items - }).(GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollection)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionArrayOutput) Index(i pulumi.IntInput) GetFsuCyclesFsuCycleSummaryCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCyclesFsuCycleSummaryCollection { - return vs[0].([]GetFsuCyclesFsuCycleSummaryCollection)[vs[1].(int)] - }).(GetFsuCyclesFsuCycleSummaryCollectionOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItem struct { - ApplyActionSchedules []GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule `pulumi:"applyActionSchedules"` - BatchingStrategies []GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy `pulumi:"batchingStrategies"` - CollectionType string `pulumi:"collectionType"` - CompartmentId string `pulumi:"compartmentId"` - DefinedTags map[string]string `pulumi:"definedTags"` - DiagnosticsCollections []GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection `pulumi:"diagnosticsCollections"` - DisplayName string `pulumi:"displayName"` - ExecutingFsuActionId string `pulumi:"executingFsuActionId"` - FreeformTags map[string]string `pulumi:"freeformTags"` - FsuCollectionId string `pulumi:"fsuCollectionId"` - GoalVersionDetails []GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail `pulumi:"goalVersionDetails"` - Id string `pulumi:"id"` - IsIgnoreMissingPatches []string `pulumi:"isIgnoreMissingPatches"` - IsIgnorePatches bool `pulumi:"isIgnorePatches"` - IsKeepPlacement bool `pulumi:"isKeepPlacement"` - LastCompletedAction string `pulumi:"lastCompletedAction"` - LifecycleDetails string `pulumi:"lifecycleDetails"` - MaxDrainTimeoutInSeconds int `pulumi:"maxDrainTimeoutInSeconds"` - NextActionToExecutes []GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute `pulumi:"nextActionToExecutes"` - StageActionSchedules []GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule `pulumi:"stageActionSchedules"` - State string `pulumi:"state"` - SystemTags map[string]string `pulumi:"systemTags"` - TimeCreated string `pulumi:"timeCreated"` - TimeFinished string `pulumi:"timeFinished"` - TimeUpdated string `pulumi:"timeUpdated"` - Type string `pulumi:"type"` -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemArgs and GetFsuCyclesFsuCycleSummaryCollectionItemOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemArgs{...} -type GetFsuCyclesFsuCycleSummaryCollectionItemInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemOutput() GetFsuCyclesFsuCycleSummaryCollectionItemOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemArgs struct { - ApplyActionSchedules GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayInput `pulumi:"applyActionSchedules"` - BatchingStrategies GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayInput `pulumi:"batchingStrategies"` - CollectionType pulumi.StringInput `pulumi:"collectionType"` - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` - DiagnosticsCollections GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayInput `pulumi:"diagnosticsCollections"` - DisplayName pulumi.StringInput `pulumi:"displayName"` - ExecutingFsuActionId pulumi.StringInput `pulumi:"executingFsuActionId"` - FreeformTags pulumi.StringMapInput `pulumi:"freeformTags"` - FsuCollectionId pulumi.StringInput `pulumi:"fsuCollectionId"` - GoalVersionDetails GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayInput `pulumi:"goalVersionDetails"` - Id pulumi.StringInput `pulumi:"id"` - IsIgnoreMissingPatches pulumi.StringArrayInput `pulumi:"isIgnoreMissingPatches"` - IsIgnorePatches pulumi.BoolInput `pulumi:"isIgnorePatches"` - IsKeepPlacement pulumi.BoolInput `pulumi:"isKeepPlacement"` - LastCompletedAction pulumi.StringInput `pulumi:"lastCompletedAction"` - LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` - MaxDrainTimeoutInSeconds pulumi.IntInput `pulumi:"maxDrainTimeoutInSeconds"` - NextActionToExecutes GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayInput `pulumi:"nextActionToExecutes"` - StageActionSchedules GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayInput `pulumi:"stageActionSchedules"` - State pulumi.StringInput `pulumi:"state"` - SystemTags pulumi.StringMapInput `pulumi:"systemTags"` - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - TimeFinished pulumi.StringInput `pulumi:"timeFinished"` - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (GetFsuCyclesFsuCycleSummaryCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItem)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemOutput() GetFsuCyclesFsuCycleSummaryCollectionItemOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemOutput) -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemArrayInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemArray and GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemArrayInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemArray{ GetFsuCyclesFsuCycleSummaryCollectionItemArgs{...} } -type GetFsuCyclesFsuCycleSummaryCollectionItemArrayInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemArrayOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemArray []GetFsuCyclesFsuCycleSummaryCollectionItemInput - -func (GetFsuCyclesFsuCycleSummaryCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItem)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItem)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemOutput() GetFsuCyclesFsuCycleSummaryCollectionItemOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) ApplyActionSchedules() GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) []GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule { - return v.ApplyActionSchedules - }).(GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) BatchingStrategies() GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) []GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy { - return v.BatchingStrategies - }).(GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) CollectionType() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.CollectionType }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) DiagnosticsCollections() GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) []GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection { - return v.DiagnosticsCollections - }).(GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) ExecutingFsuActionId() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.ExecutingFsuActionId }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) FsuCollectionId() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.FsuCollectionId }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) GoalVersionDetails() GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) []GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail { - return v.GoalVersionDetails - }).(GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) IsIgnoreMissingPatches() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) []string { return v.IsIgnoreMissingPatches }).(pulumi.StringArrayOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) IsIgnorePatches() pulumi.BoolOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) bool { return v.IsIgnorePatches }).(pulumi.BoolOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) IsKeepPlacement() pulumi.BoolOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) bool { return v.IsKeepPlacement }).(pulumi.BoolOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) LastCompletedAction() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.LastCompletedAction }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) LifecycleDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.LifecycleDetails }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) MaxDrainTimeoutInSeconds() pulumi.IntOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) int { return v.MaxDrainTimeoutInSeconds }).(pulumi.IntOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) NextActionToExecutes() GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) []GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute { - return v.NextActionToExecutes - }).(GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) StageActionSchedules() GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) []GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule { - return v.StageActionSchedules - }).(GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.State }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) TimeFinished() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.TimeFinished }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItem) string { return v.Type }).(pulumi.StringOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItem)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput) Index(i pulumi.IntInput) GetFsuCyclesFsuCycleSummaryCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCyclesFsuCycleSummaryCollectionItem { - return vs[0].([]GetFsuCyclesFsuCycleSummaryCollectionItem)[vs[1].(int)] - }).(GetFsuCyclesFsuCycleSummaryCollectionItemOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule struct { - TimeToStart string `pulumi:"timeToStart"` - Type string `pulumi:"type"` -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArgs and GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArgs{...} -type GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput() GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArgs struct { - TimeToStart pulumi.StringInput `pulumi:"timeToStart"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput() GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput) -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArray and GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArray{ GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArgs{...} } -type GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArray []GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleInput - -func (GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput() GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput) TimeToStart() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule) string { return v.TimeToStart }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule) string { return v.Type }).(pulumi.StringOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput) Index(i pulumi.IntInput) GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule { - return vs[0].([]GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule)[vs[1].(int)] - }).(GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy struct { - IsForceRolling bool `pulumi:"isForceRolling"` - IsWaitForBatchResume bool `pulumi:"isWaitForBatchResume"` - Percentage int `pulumi:"percentage"` - Type string `pulumi:"type"` -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArgs and GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArgs{...} -type GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput() GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArgs struct { - IsForceRolling pulumi.BoolInput `pulumi:"isForceRolling"` - IsWaitForBatchResume pulumi.BoolInput `pulumi:"isWaitForBatchResume"` - Percentage pulumi.IntInput `pulumi:"percentage"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput() GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput) -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArray and GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArray{ GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArgs{...} } -type GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArray []GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyInput - -func (GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput() GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput) IsForceRolling() pulumi.BoolOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy) bool { return v.IsForceRolling }).(pulumi.BoolOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput) IsWaitForBatchResume() pulumi.BoolOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy) bool { return v.IsWaitForBatchResume }).(pulumi.BoolOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput) Percentage() pulumi.IntOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy) int { return v.Percentage }).(pulumi.IntOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy) string { return v.Type }).(pulumi.StringOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput) Index(i pulumi.IntInput) GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy { - return vs[0].([]GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy)[vs[1].(int)] - }).(GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection struct { - LogCollectionMode string `pulumi:"logCollectionMode"` -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArgs and GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArgs{...} -type GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput() GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArgs struct { - LogCollectionMode pulumi.StringInput `pulumi:"logCollectionMode"` -} - -func (GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput() GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput) -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArray and GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArray{ GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArgs{...} } -type GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArray []GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionInput - -func (GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput() GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput) LogCollectionMode() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection) string { - return v.LogCollectionMode - }).(pulumi.StringOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput) Index(i pulumi.IntInput) GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection { - return vs[0].([]GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection)[vs[1].(int)] - }).(GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail struct { - HomePolicy string `pulumi:"homePolicy"` - NewHomePrefix string `pulumi:"newHomePrefix"` - SoftwareImageId string `pulumi:"softwareImageId"` - Type string `pulumi:"type"` - Version string `pulumi:"version"` -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArgs and GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArgs{...} -type GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput() GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArgs struct { - HomePolicy pulumi.StringInput `pulumi:"homePolicy"` - NewHomePrefix pulumi.StringInput `pulumi:"newHomePrefix"` - SoftwareImageId pulumi.StringInput `pulumi:"softwareImageId"` - Type pulumi.StringInput `pulumi:"type"` - Version pulumi.StringInput `pulumi:"version"` -} - -func (GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput() GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput) -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArray and GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArray{ GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArgs{...} } -type GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArray []GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailInput - -func (GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput() GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput) HomePolicy() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail) string { return v.HomePolicy }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput) NewHomePrefix() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail) string { return v.NewHomePrefix }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput) SoftwareImageId() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail) string { return v.SoftwareImageId }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail) string { return v.Type }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput) Version() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail) string { return v.Version }).(pulumi.StringOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput) Index(i pulumi.IntInput) GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail { - return vs[0].([]GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail)[vs[1].(int)] - }).(GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute struct { - TimeToStart string `pulumi:"timeToStart"` - Type string `pulumi:"type"` -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArgs and GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArgs{...} -type GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput() GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArgs struct { - TimeToStart pulumi.StringInput `pulumi:"timeToStart"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput() GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput) -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArray and GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArray{ GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArgs{...} } -type GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArray []GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteInput - -func (GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput() GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput) TimeToStart() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute) string { return v.TimeToStart }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute) string { return v.Type }).(pulumi.StringOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput) Index(i pulumi.IntInput) GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute { - return vs[0].([]GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute)[vs[1].(int)] - }).(GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule struct { - TimeToStart string `pulumi:"timeToStart"` - Type string `pulumi:"type"` -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArgs and GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArgs{...} -type GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput() GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArgs struct { - TimeToStart pulumi.StringInput `pulumi:"timeToStart"` - Type pulumi.StringInput `pulumi:"type"` -} - -func (GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput() GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArgs) ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput) -} - -// GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayInput is an input type that accepts GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArray and GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput values. -// You can construct a concrete instance of `GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayInput` via: -// -// GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArray{ GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArgs{...} } -type GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayInput interface { - pulumi.Input - - ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput - ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutputWithContext(context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArray []GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleInput - -func (GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule)(nil)).Elem() -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput { - return i.ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutputWithContext(context.Background()) -} - -func (i GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArray) ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput() GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput) TimeToStart() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule) string { return v.TimeToStart }).(pulumi.StringOutput) -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput) Type() pulumi.StringOutput { - return o.ApplyT(func(v GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule) string { return v.Type }).(pulumi.StringOutput) -} - -type GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput struct{ *pulumi.OutputState } - -func (GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule)(nil)).Elem() -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput() GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput) ToGetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutputWithContext(ctx context.Context) GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput { - return o -} - -func (o GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput) Index(i pulumi.IntInput) GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule { - return vs[0].([]GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule)[vs[1].(int)] - }).(GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionActiveFsuCycleInput)(nil)).Elem(), FsuCollectionActiveFsuCycleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionActiveFsuCycleArrayInput)(nil)).Elem(), FsuCollectionActiveFsuCycleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionFleetDiscoveryInput)(nil)).Elem(), FsuCollectionFleetDiscoveryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionFleetDiscoveryPtrInput)(nil)).Elem(), FsuCollectionFleetDiscoveryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionFleetDiscoveryFilterInput)(nil)).Elem(), FsuCollectionFleetDiscoveryFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionFleetDiscoveryFilterArrayInput)(nil)).Elem(), FsuCollectionFleetDiscoveryFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionFleetDiscoveryFilterTagInput)(nil)).Elem(), FsuCollectionFleetDiscoveryFilterTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCollectionFleetDiscoveryFilterTagArrayInput)(nil)).Elem(), FsuCollectionFleetDiscoveryFilterTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleApplyActionScheduleInput)(nil)).Elem(), FsuCycleApplyActionScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleApplyActionSchedulePtrInput)(nil)).Elem(), FsuCycleApplyActionScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleBatchingStrategyInput)(nil)).Elem(), FsuCycleBatchingStrategyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleBatchingStrategyPtrInput)(nil)).Elem(), FsuCycleBatchingStrategyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleDiagnosticsCollectionInput)(nil)).Elem(), FsuCycleDiagnosticsCollectionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleDiagnosticsCollectionPtrInput)(nil)).Elem(), FsuCycleDiagnosticsCollectionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleGoalVersionDetailsInput)(nil)).Elem(), FsuCycleGoalVersionDetailsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleGoalVersionDetailsPtrInput)(nil)).Elem(), FsuCycleGoalVersionDetailsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleNextActionToExecuteInput)(nil)).Elem(), FsuCycleNextActionToExecuteArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleNextActionToExecuteArrayInput)(nil)).Elem(), FsuCycleNextActionToExecuteArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleStageActionScheduleInput)(nil)).Elem(), FsuCycleStageActionScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*FsuCycleStageActionSchedulePtrInput)(nil)).Elem(), FsuCycleStageActionScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionActiveFsuCycleInput)(nil)).Elem(), GetFsuCollectionActiveFsuCycleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionActiveFsuCycleArrayInput)(nil)).Elem(), GetFsuCollectionActiveFsuCycleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionFleetDiscoveryInput)(nil)).Elem(), GetFsuCollectionFleetDiscoveryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionFleetDiscoveryArrayInput)(nil)).Elem(), GetFsuCollectionFleetDiscoveryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionFleetDiscoveryFilterInput)(nil)).Elem(), GetFsuCollectionFleetDiscoveryFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionFleetDiscoveryFilterArrayInput)(nil)).Elem(), GetFsuCollectionFleetDiscoveryFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionFleetDiscoveryFilterTagInput)(nil)).Elem(), GetFsuCollectionFleetDiscoveryFilterTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionFleetDiscoveryFilterTagArrayInput)(nil)).Elem(), GetFsuCollectionFleetDiscoveryFilterTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFilterInput)(nil)).Elem(), GetFsuCollectionsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFilterArrayInput)(nil)).Elem(), GetFsuCollectionsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionArrayInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionItemArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionItemArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayInput)(nil)).Elem(), GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleApplyActionScheduleInput)(nil)).Elem(), GetFsuCycleApplyActionScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleApplyActionScheduleArrayInput)(nil)).Elem(), GetFsuCycleApplyActionScheduleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleBatchingStrategyInput)(nil)).Elem(), GetFsuCycleBatchingStrategyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleBatchingStrategyArrayInput)(nil)).Elem(), GetFsuCycleBatchingStrategyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleDiagnosticsCollectionInput)(nil)).Elem(), GetFsuCycleDiagnosticsCollectionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleDiagnosticsCollectionArrayInput)(nil)).Elem(), GetFsuCycleDiagnosticsCollectionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleGoalVersionDetailInput)(nil)).Elem(), GetFsuCycleGoalVersionDetailArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleGoalVersionDetailArrayInput)(nil)).Elem(), GetFsuCycleGoalVersionDetailArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleNextActionToExecuteInput)(nil)).Elem(), GetFsuCycleNextActionToExecuteArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleNextActionToExecuteArrayInput)(nil)).Elem(), GetFsuCycleNextActionToExecuteArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleStageActionScheduleInput)(nil)).Elem(), GetFsuCycleStageActionScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCycleStageActionScheduleArrayInput)(nil)).Elem(), GetFsuCycleStageActionScheduleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFilterInput)(nil)).Elem(), GetFsuCyclesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFilterArrayInput)(nil)).Elem(), GetFsuCyclesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionArrayInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemArrayInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayInput)(nil)).Elem(), GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArray{}) - pulumi.RegisterOutputType(FsuCollectionActiveFsuCycleOutput{}) - pulumi.RegisterOutputType(FsuCollectionActiveFsuCycleArrayOutput{}) - pulumi.RegisterOutputType(FsuCollectionFleetDiscoveryOutput{}) - pulumi.RegisterOutputType(FsuCollectionFleetDiscoveryPtrOutput{}) - pulumi.RegisterOutputType(FsuCollectionFleetDiscoveryFilterOutput{}) - pulumi.RegisterOutputType(FsuCollectionFleetDiscoveryFilterArrayOutput{}) - pulumi.RegisterOutputType(FsuCollectionFleetDiscoveryFilterTagOutput{}) - pulumi.RegisterOutputType(FsuCollectionFleetDiscoveryFilterTagArrayOutput{}) - pulumi.RegisterOutputType(FsuCycleApplyActionScheduleOutput{}) - pulumi.RegisterOutputType(FsuCycleApplyActionSchedulePtrOutput{}) - pulumi.RegisterOutputType(FsuCycleBatchingStrategyOutput{}) - pulumi.RegisterOutputType(FsuCycleBatchingStrategyPtrOutput{}) - pulumi.RegisterOutputType(FsuCycleDiagnosticsCollectionOutput{}) - pulumi.RegisterOutputType(FsuCycleDiagnosticsCollectionPtrOutput{}) - pulumi.RegisterOutputType(FsuCycleGoalVersionDetailsOutput{}) - pulumi.RegisterOutputType(FsuCycleGoalVersionDetailsPtrOutput{}) - pulumi.RegisterOutputType(FsuCycleNextActionToExecuteOutput{}) - pulumi.RegisterOutputType(FsuCycleNextActionToExecuteArrayOutput{}) - pulumi.RegisterOutputType(FsuCycleStageActionScheduleOutput{}) - pulumi.RegisterOutputType(FsuCycleStageActionSchedulePtrOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionActiveFsuCycleOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionActiveFsuCycleArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionFleetDiscoveryOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionFleetDiscoveryArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionFleetDiscoveryFilterOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionFleetDiscoveryFilterArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionFleetDiscoveryFilterTagOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionFleetDiscoveryFilterTagArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFilterOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionItemOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionItemArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagOutput{}) - pulumi.RegisterOutputType(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCycleApplyActionScheduleOutput{}) - pulumi.RegisterOutputType(GetFsuCycleApplyActionScheduleArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCycleBatchingStrategyOutput{}) - pulumi.RegisterOutputType(GetFsuCycleBatchingStrategyArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCycleDiagnosticsCollectionOutput{}) - pulumi.RegisterOutputType(GetFsuCycleDiagnosticsCollectionArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCycleGoalVersionDetailOutput{}) - pulumi.RegisterOutputType(GetFsuCycleGoalVersionDetailArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCycleNextActionToExecuteOutput{}) - pulumi.RegisterOutputType(GetFsuCycleNextActionToExecuteArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCycleStageActionScheduleOutput{}) - pulumi.RegisterOutputType(GetFsuCycleStageActionScheduleArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFilterOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteArrayOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleOutput{}) - pulumi.RegisterOutputType(GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleArrayOutput{}) -} diff --git a/sdk/go/oci/globallydistributeddatabase/getPrivateEndpoint.go b/sdk/go/oci/globallydistributeddatabase/getPrivateEndpoint.go deleted file mode 100644 index 04a171f808..0000000000 --- a/sdk/go/oci/globallydistributeddatabase/getPrivateEndpoint.go +++ /dev/null @@ -1,220 +0,0 @@ -// 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 globallydistributeddatabase - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. -// -// Get the PrivateEndpoint resource. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GloballyDistributedDatabase" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := GloballyDistributedDatabase.GetPrivateEndpoint(ctx, &globallydistributeddatabase.GetPrivateEndpointArgs{ -// PrivateEndpointId: testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.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:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getPrivateEndpoint. -type LookupPrivateEndpointArgs struct { - // Oracle Sharded Database PrivateEndpoint identifier - PrivateEndpointId string `pulumi:"privateEndpointId"` -} - -// A collection of values returned by getPrivateEndpoint. -type LookupPrivateEndpointResult struct { - // Identifier of the compartment in which private endpoint exists. - 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]string `pulumi:"definedTags"` - // PrivateEndpoint description. - Description string `pulumi:"description"` - // PrivateEndpoint display name. - 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]string `pulumi:"freeformTags"` - // The identifier of the Private Endpoint. - Id string `pulumi:"id"` - // Detailed message for the lifecycle state. - LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` - // The OCIDs of the network security groups that the private endpoint belongs to. - NsgIds []string `pulumi:"nsgIds"` - PrivateEndpointId string `pulumi:"privateEndpointId"` - // IP address of the Private Endpoint. - PrivateIp string `pulumi:"privateIp"` - // The OCIDs of sharded databases that consumes the given private endpoint. - ShardedDatabases []string `pulumi:"shardedDatabases"` - // Lifecycle states for private endpoint. - State string `pulumi:"state"` - // Identifier of the subnet in which private endpoint exists. - SubnetId string `pulumi:"subnetId"` - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags map[string]string `pulumi:"systemTags"` - // The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - TimeCreated string `pulumi:"timeCreated"` - // The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - TimeUpdated string `pulumi:"timeUpdated"` - // Identifier of the VCN in which subnet exists. - VcnId string `pulumi:"vcnId"` -} - -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 { - // Oracle Sharded Database PrivateEndpoint identifier - PrivateEndpointId pulumi.StringInput `pulumi:"privateEndpointId"` -} - -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 -} - -// Identifier of the compartment in which private endpoint exists. -func (o LookupPrivateEndpointResultOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) 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 LookupPrivateEndpointResultOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -// PrivateEndpoint description. -func (o LookupPrivateEndpointResultOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.Description }).(pulumi.StringOutput) -} - -// PrivateEndpoint display name. -func (o LookupPrivateEndpointResultOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) 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 LookupPrivateEndpointResultOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -// The identifier of the Private Endpoint. -func (o LookupPrivateEndpointResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.Id }).(pulumi.StringOutput) -} - -// Detailed message for the lifecycle state. -func (o LookupPrivateEndpointResultOutput) LifecycleStateDetails() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.LifecycleStateDetails }).(pulumi.StringOutput) -} - -// The OCIDs of the network security groups that the private endpoint belongs to. -func (o LookupPrivateEndpointResultOutput) NsgIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) []string { return v.NsgIds }).(pulumi.StringArrayOutput) -} - -func (o LookupPrivateEndpointResultOutput) PrivateEndpointId() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.PrivateEndpointId }).(pulumi.StringOutput) -} - -// IP address of the Private Endpoint. -func (o LookupPrivateEndpointResultOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The OCIDs of sharded databases that consumes the given private endpoint. -func (o LookupPrivateEndpointResultOutput) ShardedDatabases() pulumi.StringArrayOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) []string { return v.ShardedDatabases }).(pulumi.StringArrayOutput) -} - -// Lifecycle states for private endpoint. -func (o LookupPrivateEndpointResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.State }).(pulumi.StringOutput) -} - -// Identifier of the subnet in which private endpoint exists. -func (o LookupPrivateEndpointResultOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.SubnetId }).(pulumi.StringOutput) -} - -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o LookupPrivateEndpointResultOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) -} - -// The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string -func (o LookupPrivateEndpointResultOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -// The time the Private Endpoint was last updated. An RFC3339 formatted datetime string -func (o LookupPrivateEndpointResultOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -// Identifier of the VCN in which subnet exists. -func (o LookupPrivateEndpointResultOutput) VcnId() pulumi.StringOutput { - return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.VcnId }).(pulumi.StringOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupPrivateEndpointResultOutput{}) -} diff --git a/sdk/go/oci/globallydistributeddatabase/getPrivateEndpoints.go b/sdk/go/oci/globallydistributeddatabase/getPrivateEndpoints.go deleted file mode 100644 index bc43fa0032..0000000000 --- a/sdk/go/oci/globallydistributeddatabase/getPrivateEndpoints.go +++ /dev/null @@ -1,157 +0,0 @@ -// 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 globallydistributeddatabase - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. -// -// List of PrivateEndpoints. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GloballyDistributedDatabase" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := GloballyDistributedDatabase.GetPrivateEndpoints(ctx, &globallydistributeddatabase.GetPrivateEndpointsArgs{ -// CompartmentId: compartmentId, -// DisplayName: pulumi.StringRef(privateEndpointDisplayName), -// State: pulumi.StringRef(privateEndpointState), -// }, 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:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getPrivateEndpoints. -type GetPrivateEndpointsArgs struct { - // The ID of the compartment in which to list resources. - CompartmentId string `pulumi:"compartmentId"` - // A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - DisplayName *string `pulumi:"displayName"` - Filters []GetPrivateEndpointsFilter `pulumi:"filters"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - State *string `pulumi:"state"` -} - -// A collection of values returned by getPrivateEndpoints. -type GetPrivateEndpointsResult struct { - // Identifier of the compartment in which private endpoint exists. - CompartmentId string `pulumi:"compartmentId"` - // PrivateEndpoint display name. - DisplayName *string `pulumi:"displayName"` - Filters []GetPrivateEndpointsFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The list of private_endpoint_collection. - PrivateEndpointCollections []GetPrivateEndpointsPrivateEndpointCollection `pulumi:"privateEndpointCollections"` - // Lifecycle states for 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 { - // The ID of the compartment in which to list resources. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` - Filters GetPrivateEndpointsFilterArrayInput `pulumi:"filters"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - 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 -} - -// Identifier of the compartment in which private endpoint exists. -func (o GetPrivateEndpointsResultOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsResult) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -// PrivateEndpoint display name. -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) -} - -// The list of private_endpoint_collection. -func (o GetPrivateEndpointsResultOutput) PrivateEndpointCollections() GetPrivateEndpointsPrivateEndpointCollectionArrayOutput { - return o.ApplyT(func(v GetPrivateEndpointsResult) []GetPrivateEndpointsPrivateEndpointCollection { - return v.PrivateEndpointCollections - }).(GetPrivateEndpointsPrivateEndpointCollectionArrayOutput) -} - -// Lifecycle states for 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/globallydistributeddatabase/getShardedDatabase.go b/sdk/go/oci/globallydistributeddatabase/getShardedDatabase.go deleted file mode 100644 index 07eaad1eb7..0000000000 --- a/sdk/go/oci/globallydistributeddatabase/getShardedDatabase.go +++ /dev/null @@ -1,383 +0,0 @@ -// 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 globallydistributeddatabase - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. -// -// Gets the details of the Sharded database identified by given id. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GloballyDistributedDatabase" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := GloballyDistributedDatabase.GetShardedDatabase(ctx, &globallydistributeddatabase.GetShardedDatabaseArgs{ -// ShardedDatabaseId: testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.Id, -// Metadata: pulumi.StringRef(shardedDatabaseMetadata), -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func LookupShardedDatabase(ctx *pulumi.Context, args *LookupShardedDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupShardedDatabaseResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv LookupShardedDatabaseResult - err := ctx.Invoke("oci:GloballyDistributedDatabase/getShardedDatabase:getShardedDatabase", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getShardedDatabase. -type LookupShardedDatabaseArgs struct { - // Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - Metadata *string `pulumi:"metadata"` - // Sharded Database identifier - ShardedDatabaseId string `pulumi:"shardedDatabaseId"` -} - -// A collection of values returned by getShardedDatabase. -type LookupShardedDatabaseResult struct { - // Details of ATP-D based catalogs. - CatalogDetails []GetShardedDatabaseCatalogDetail `pulumi:"catalogDetails"` - // The character set for the database. - CharacterSet string `pulumi:"characterSet"` - // The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - Chunks int `pulumi:"chunks"` - // The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - ClusterCertificateCommonName string `pulumi:"clusterCertificateCommonName"` - // Identifier of the compartment in which sharded database exists. - CompartmentId string `pulumi:"compartmentId"` - ConfigureGsmsTrigger int `pulumi:"configureGsmsTrigger"` - ConfigureShardingTrigger int `pulumi:"configureShardingTrigger"` - // Details of sharded database connection String. - ConnectionStrings []GetShardedDatabaseConnectionString `pulumi:"connectionStrings"` - // The database deployment type. - DbDeploymentType string `pulumi:"dbDeploymentType"` - // Oracle Database version number. - DbVersion string `pulumi:"dbVersion"` - // Possible workload types. - DbWorkload string `pulumi:"dbWorkload"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - DefinedTags map[string]string `pulumi:"definedTags"` - // Oracle sharded database display name. - DisplayName string `pulumi:"displayName"` - DownloadGsmCertificateSigningRequestTrigger int `pulumi:"downloadGsmCertificateSigningRequestTrigger"` - // 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]string `pulumi:"freeformTags"` - GenerateGsmCertificateSigningRequestTrigger int `pulumi:"generateGsmCertificateSigningRequestTrigger"` - GenerateWalletTrigger int `pulumi:"generateWalletTrigger"` - GetConnectionStringTrigger int `pulumi:"getConnectionStringTrigger"` - // Details of GSM instances for the sharded database. - Gsms []GetShardedDatabaseGsm `pulumi:"gsms"` - // Sharded Database identifier - Id string `pulumi:"id"` - LifecycleState string `pulumi:"lifecycleState"` - // Detailed message for the lifecycle state. - LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` - // The GSM listener port number. - ListenerPort int `pulumi:"listenerPort"` - // The TLS listener port number for sharded database. - ListenerPortTls int `pulumi:"listenerPortTls"` - // Additional metadata related to shard's underlying supporting resource. - Metadata *string `pulumi:"metadata"` - // The national character set for the database. - NcharacterSet string `pulumi:"ncharacterSet"` - // Ons local port number. - OnsPortLocal int `pulumi:"onsPortLocal"` - // Ons remote port number. - OnsPortRemote int `pulumi:"onsPortRemote"` - PatchOperations []GetShardedDatabasePatchOperation `pulumi:"patchOperations"` - // Unique prefix for the sharded database. - Prefix string `pulumi:"prefix"` - // The OCID of private endpoint being used by the sharded database. - PrivateEndpoint string `pulumi:"privateEndpoint"` - // Details of ATP-D based shards. - ShardDetails []GetShardedDatabaseShardDetail `pulumi:"shardDetails"` - ShardedDatabaseId string `pulumi:"shardedDatabaseId"` - // Sharding Method. - ShardingMethod string `pulumi:"shardingMethod"` - StartDatabaseTrigger int `pulumi:"startDatabaseTrigger"` - // Lifecycle states for sharded databases. - State string `pulumi:"state"` - StopDatabaseTrigger int `pulumi:"stopDatabaseTrigger"` - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags map[string]string `pulumi:"systemTags"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated string `pulumi:"timeCreated"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated string `pulumi:"timeUpdated"` - // Timezone associated with the sharded database. - TimeZone string `pulumi:"timeZone"` - UploadSignedCertificateAndGenerateWalletTrigger int `pulumi:"uploadSignedCertificateAndGenerateWalletTrigger"` - ValidateNetworkTrigger int `pulumi:"validateNetworkTrigger"` -} - -func LookupShardedDatabaseOutput(ctx *pulumi.Context, args LookupShardedDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupShardedDatabaseResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (LookupShardedDatabaseResult, error) { - args := v.(LookupShardedDatabaseArgs) - r, err := LookupShardedDatabase(ctx, &args, opts...) - var s LookupShardedDatabaseResult - if r != nil { - s = *r - } - return s, err - }).(LookupShardedDatabaseResultOutput) -} - -// A collection of arguments for invoking getShardedDatabase. -type LookupShardedDatabaseOutputArgs struct { - // Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - Metadata pulumi.StringPtrInput `pulumi:"metadata"` - // Sharded Database identifier - ShardedDatabaseId pulumi.StringInput `pulumi:"shardedDatabaseId"` -} - -func (LookupShardedDatabaseOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*LookupShardedDatabaseArgs)(nil)).Elem() -} - -// A collection of values returned by getShardedDatabase. -type LookupShardedDatabaseResultOutput struct{ *pulumi.OutputState } - -func (LookupShardedDatabaseResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*LookupShardedDatabaseResult)(nil)).Elem() -} - -func (o LookupShardedDatabaseResultOutput) ToLookupShardedDatabaseResultOutput() LookupShardedDatabaseResultOutput { - return o -} - -func (o LookupShardedDatabaseResultOutput) ToLookupShardedDatabaseResultOutputWithContext(ctx context.Context) LookupShardedDatabaseResultOutput { - return o -} - -// Details of ATP-D based catalogs. -func (o LookupShardedDatabaseResultOutput) CatalogDetails() GetShardedDatabaseCatalogDetailArrayOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) []GetShardedDatabaseCatalogDetail { return v.CatalogDetails }).(GetShardedDatabaseCatalogDetailArrayOutput) -} - -// The character set for the database. -func (o LookupShardedDatabaseResultOutput) CharacterSet() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.CharacterSet }).(pulumi.StringOutput) -} - -// The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. -func (o LookupShardedDatabaseResultOutput) Chunks() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.Chunks }).(pulumi.IntOutput) -} - -// The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. -func (o LookupShardedDatabaseResultOutput) ClusterCertificateCommonName() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.ClusterCertificateCommonName }).(pulumi.StringOutput) -} - -// Identifier of the compartment in which sharded database exists. -func (o LookupShardedDatabaseResultOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o LookupShardedDatabaseResultOutput) ConfigureGsmsTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.ConfigureGsmsTrigger }).(pulumi.IntOutput) -} - -func (o LookupShardedDatabaseResultOutput) ConfigureShardingTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.ConfigureShardingTrigger }).(pulumi.IntOutput) -} - -// Details of sharded database connection String. -func (o LookupShardedDatabaseResultOutput) ConnectionStrings() GetShardedDatabaseConnectionStringArrayOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) []GetShardedDatabaseConnectionString { return v.ConnectionStrings }).(GetShardedDatabaseConnectionStringArrayOutput) -} - -// The database deployment type. -func (o LookupShardedDatabaseResultOutput) DbDeploymentType() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.DbDeploymentType }).(pulumi.StringOutput) -} - -// Oracle Database version number. -func (o LookupShardedDatabaseResultOutput) DbVersion() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.DbVersion }).(pulumi.StringOutput) -} - -// Possible workload types. -func (o LookupShardedDatabaseResultOutput) DbWorkload() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.DbWorkload }).(pulumi.StringOutput) -} - -// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` -func (o LookupShardedDatabaseResultOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -// Oracle sharded database display name. -func (o LookupShardedDatabaseResultOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.DisplayName }).(pulumi.StringOutput) -} - -func (o LookupShardedDatabaseResultOutput) DownloadGsmCertificateSigningRequestTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.DownloadGsmCertificateSigningRequestTrigger }).(pulumi.IntOutput) -} - -// 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 LookupShardedDatabaseResultOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -func (o LookupShardedDatabaseResultOutput) GenerateGsmCertificateSigningRequestTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.GenerateGsmCertificateSigningRequestTrigger }).(pulumi.IntOutput) -} - -func (o LookupShardedDatabaseResultOutput) GenerateWalletTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.GenerateWalletTrigger }).(pulumi.IntOutput) -} - -func (o LookupShardedDatabaseResultOutput) GetConnectionStringTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.GetConnectionStringTrigger }).(pulumi.IntOutput) -} - -// Details of GSM instances for the sharded database. -func (o LookupShardedDatabaseResultOutput) Gsms() GetShardedDatabaseGsmArrayOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) []GetShardedDatabaseGsm { return v.Gsms }).(GetShardedDatabaseGsmArrayOutput) -} - -// Sharded Database identifier -func (o LookupShardedDatabaseResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.Id }).(pulumi.StringOutput) -} - -func (o LookupShardedDatabaseResultOutput) LifecycleState() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.LifecycleState }).(pulumi.StringOutput) -} - -// Detailed message for the lifecycle state. -func (o LookupShardedDatabaseResultOutput) LifecycleStateDetails() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.LifecycleStateDetails }).(pulumi.StringOutput) -} - -// The GSM listener port number. -func (o LookupShardedDatabaseResultOutput) ListenerPort() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.ListenerPort }).(pulumi.IntOutput) -} - -// The TLS listener port number for sharded database. -func (o LookupShardedDatabaseResultOutput) ListenerPortTls() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.ListenerPortTls }).(pulumi.IntOutput) -} - -// Additional metadata related to shard's underlying supporting resource. -func (o LookupShardedDatabaseResultOutput) Metadata() pulumi.StringPtrOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) *string { return v.Metadata }).(pulumi.StringPtrOutput) -} - -// The national character set for the database. -func (o LookupShardedDatabaseResultOutput) NcharacterSet() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.NcharacterSet }).(pulumi.StringOutput) -} - -// Ons local port number. -func (o LookupShardedDatabaseResultOutput) OnsPortLocal() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.OnsPortLocal }).(pulumi.IntOutput) -} - -// Ons remote port number. -func (o LookupShardedDatabaseResultOutput) OnsPortRemote() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.OnsPortRemote }).(pulumi.IntOutput) -} - -func (o LookupShardedDatabaseResultOutput) PatchOperations() GetShardedDatabasePatchOperationArrayOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) []GetShardedDatabasePatchOperation { return v.PatchOperations }).(GetShardedDatabasePatchOperationArrayOutput) -} - -// Unique prefix for the sharded database. -func (o LookupShardedDatabaseResultOutput) Prefix() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.Prefix }).(pulumi.StringOutput) -} - -// The OCID of private endpoint being used by the sharded database. -func (o LookupShardedDatabaseResultOutput) PrivateEndpoint() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.PrivateEndpoint }).(pulumi.StringOutput) -} - -// Details of ATP-D based shards. -func (o LookupShardedDatabaseResultOutput) ShardDetails() GetShardedDatabaseShardDetailArrayOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) []GetShardedDatabaseShardDetail { return v.ShardDetails }).(GetShardedDatabaseShardDetailArrayOutput) -} - -func (o LookupShardedDatabaseResultOutput) ShardedDatabaseId() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.ShardedDatabaseId }).(pulumi.StringOutput) -} - -// Sharding Method. -func (o LookupShardedDatabaseResultOutput) ShardingMethod() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.ShardingMethod }).(pulumi.StringOutput) -} - -func (o LookupShardedDatabaseResultOutput) StartDatabaseTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.StartDatabaseTrigger }).(pulumi.IntOutput) -} - -// Lifecycle states for sharded databases. -func (o LookupShardedDatabaseResultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.State }).(pulumi.StringOutput) -} - -func (o LookupShardedDatabaseResultOutput) StopDatabaseTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.StopDatabaseTrigger }).(pulumi.IntOutput) -} - -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o LookupShardedDatabaseResultOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) -} - -// The time the the Sharded Database was created. An RFC3339 formatted datetime string -func (o LookupShardedDatabaseResultOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -// The time the Sharded Database was last updated. An RFC3339 formatted datetime string -func (o LookupShardedDatabaseResultOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -// Timezone associated with the sharded database. -func (o LookupShardedDatabaseResultOutput) TimeZone() pulumi.StringOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) string { return v.TimeZone }).(pulumi.StringOutput) -} - -func (o LookupShardedDatabaseResultOutput) UploadSignedCertificateAndGenerateWalletTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.UploadSignedCertificateAndGenerateWalletTrigger }).(pulumi.IntOutput) -} - -func (o LookupShardedDatabaseResultOutput) ValidateNetworkTrigger() pulumi.IntOutput { - return o.ApplyT(func(v LookupShardedDatabaseResult) int { return v.ValidateNetworkTrigger }).(pulumi.IntOutput) -} - -func init() { - pulumi.RegisterOutputType(LookupShardedDatabaseResultOutput{}) -} diff --git a/sdk/go/oci/globallydistributeddatabase/getShardedDatabases.go b/sdk/go/oci/globallydistributeddatabase/getShardedDatabases.go deleted file mode 100644 index 9e2a2892fc..0000000000 --- a/sdk/go/oci/globallydistributeddatabase/getShardedDatabases.go +++ /dev/null @@ -1,157 +0,0 @@ -// 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 globallydistributeddatabase - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. -// -// List of Sharded databases. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GloballyDistributedDatabase" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := GloballyDistributedDatabase.GetShardedDatabases(ctx, &globallydistributeddatabase.GetShardedDatabasesArgs{ -// CompartmentId: compartmentId, -// DisplayName: pulumi.StringRef(shardedDatabaseDisplayName), -// State: pulumi.StringRef(shardedDatabaseState), -// }, nil) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -func GetShardedDatabases(ctx *pulumi.Context, args *GetShardedDatabasesArgs, opts ...pulumi.InvokeOption) (*GetShardedDatabasesResult, error) { - opts = internal.PkgInvokeDefaultOpts(opts) - var rv GetShardedDatabasesResult - err := ctx.Invoke("oci:GloballyDistributedDatabase/getShardedDatabases:getShardedDatabases", args, &rv, opts...) - if err != nil { - return nil, err - } - return &rv, nil -} - -// A collection of arguments for invoking getShardedDatabases. -type GetShardedDatabasesArgs struct { - // The ID of the compartment in which to list resources. - CompartmentId string `pulumi:"compartmentId"` - // A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - DisplayName *string `pulumi:"displayName"` - Filters []GetShardedDatabasesFilter `pulumi:"filters"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - State *string `pulumi:"state"` -} - -// A collection of values returned by getShardedDatabases. -type GetShardedDatabasesResult struct { - // Identifier of the compartment in which sharded database exists. - CompartmentId string `pulumi:"compartmentId"` - // Oracle sharded database display name. - DisplayName *string `pulumi:"displayName"` - Filters []GetShardedDatabasesFilter `pulumi:"filters"` - // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - // The list of sharded_database_collection. - ShardedDatabaseCollections []GetShardedDatabasesShardedDatabaseCollection `pulumi:"shardedDatabaseCollections"` - // Lifecycle states for sharded databases. - State *string `pulumi:"state"` -} - -func GetShardedDatabasesOutput(ctx *pulumi.Context, args GetShardedDatabasesOutputArgs, opts ...pulumi.InvokeOption) GetShardedDatabasesResultOutput { - return pulumi.ToOutputWithContext(context.Background(), args). - ApplyT(func(v interface{}) (GetShardedDatabasesResult, error) { - args := v.(GetShardedDatabasesArgs) - r, err := GetShardedDatabases(ctx, &args, opts...) - var s GetShardedDatabasesResult - if r != nil { - s = *r - } - return s, err - }).(GetShardedDatabasesResultOutput) -} - -// A collection of arguments for invoking getShardedDatabases. -type GetShardedDatabasesOutputArgs struct { - // The ID of the compartment in which to list resources. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` - Filters GetShardedDatabasesFilterArrayInput `pulumi:"filters"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - State pulumi.StringPtrInput `pulumi:"state"` -} - -func (GetShardedDatabasesOutputArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabasesArgs)(nil)).Elem() -} - -// A collection of values returned by getShardedDatabases. -type GetShardedDatabasesResultOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabasesResultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabasesResult)(nil)).Elem() -} - -func (o GetShardedDatabasesResultOutput) ToGetShardedDatabasesResultOutput() GetShardedDatabasesResultOutput { - return o -} - -func (o GetShardedDatabasesResultOutput) ToGetShardedDatabasesResultOutputWithContext(ctx context.Context) GetShardedDatabasesResultOutput { - return o -} - -// Identifier of the compartment in which sharded database exists. -func (o GetShardedDatabasesResultOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesResult) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -// Oracle sharded database display name. -func (o GetShardedDatabasesResultOutput) DisplayName() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetShardedDatabasesResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) -} - -func (o GetShardedDatabasesResultOutput) Filters() GetShardedDatabasesFilterArrayOutput { - return o.ApplyT(func(v GetShardedDatabasesResult) []GetShardedDatabasesFilter { return v.Filters }).(GetShardedDatabasesFilterArrayOutput) -} - -// The provider-assigned unique ID for this managed resource. -func (o GetShardedDatabasesResultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesResult) string { return v.Id }).(pulumi.StringOutput) -} - -// The list of sharded_database_collection. -func (o GetShardedDatabasesResultOutput) ShardedDatabaseCollections() GetShardedDatabasesShardedDatabaseCollectionArrayOutput { - return o.ApplyT(func(v GetShardedDatabasesResult) []GetShardedDatabasesShardedDatabaseCollection { - return v.ShardedDatabaseCollections - }).(GetShardedDatabasesShardedDatabaseCollectionArrayOutput) -} - -// Lifecycle states for sharded databases. -func (o GetShardedDatabasesResultOutput) State() pulumi.StringPtrOutput { - return o.ApplyT(func(v GetShardedDatabasesResult) *string { return v.State }).(pulumi.StringPtrOutput) -} - -func init() { - pulumi.RegisterOutputType(GetShardedDatabasesResultOutput{}) -} diff --git a/sdk/go/oci/globallydistributeddatabase/privateEndpoint.go b/sdk/go/oci/globallydistributeddatabase/privateEndpoint.go deleted file mode 100644 index 029fa7cd3d..0000000000 --- a/sdk/go/oci/globallydistributeddatabase/privateEndpoint.go +++ /dev/null @@ -1,467 +0,0 @@ -// 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 globallydistributeddatabase - -import ( - "context" - "reflect" - - "errors" - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// This resource provides the Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. -// -// Creates a PrivateEndpoint. -// -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/GloballyDistributedDatabase" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := GloballyDistributedDatabase.NewPrivateEndpoint(ctx, "test_private_endpoint", &GloballyDistributedDatabase.PrivateEndpointArgs{ -// CompartmentId: pulumi.Any(compartmentId), -// DisplayName: pulumi.Any(privateEndpointDisplayName), -// SubnetId: pulumi.Any(testSubnet.Id), -// DefinedTags: pulumi.StringMap{ -// "foo-namespace.bar-key": pulumi.String("value"), -// }, -// Description: pulumi.Any(privateEndpointDescription), -// FreeformTags: pulumi.StringMap{ -// "bar-key": pulumi.String("value"), -// }, -// NsgIds: pulumi.Any(privateEndpointNsgIds), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// -// ## Import -// -// PrivateEndpoints can be imported using the `id`, e.g. -// -// ```sh -// $ pulumi import oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint test_private_endpoint "id" -// ``` -type PrivateEndpoint struct { - pulumi.CustomResourceState - - // (Updatable) Identifier of the compartment where private endpoint is to be created. - 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.StringMapOutput `pulumi:"definedTags"` - // (Updatable) PrivateEndpoint description. - Description pulumi.StringOutput `pulumi:"description"` - // (Updatable) Private endpoint display name. - 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.StringMapOutput `pulumi:"freeformTags"` - // Detailed message for the lifecycle state. - LifecycleStateDetails pulumi.StringOutput `pulumi:"lifecycleStateDetails"` - // (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - NsgIds pulumi.StringArrayOutput `pulumi:"nsgIds"` - // IP address of the Private Endpoint. - PrivateIp pulumi.StringOutput `pulumi:"privateIp"` - // The OCIDs of sharded databases that consumes the given private endpoint. - ShardedDatabases pulumi.StringArrayOutput `pulumi:"shardedDatabases"` - // Lifecycle states for private endpoint. - State pulumi.StringOutput `pulumi:"state"` - // Identifier of the customer subnet against which 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"` - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` - // The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` - // The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` - // Identifier of the VCN in which subnet exists. - VcnId pulumi.StringOutput `pulumi:"vcnId"` -} - -// 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.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 PrivateEndpoint - err := ctx.RegisterResource("oci:GloballyDistributedDatabase/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:GloballyDistributedDatabase/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) Identifier of the compartment where private endpoint is to be created. - 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]string `pulumi:"definedTags"` - // (Updatable) PrivateEndpoint description. - Description *string `pulumi:"description"` - // (Updatable) Private endpoint display name. - 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]string `pulumi:"freeformTags"` - // Detailed message for the lifecycle state. - LifecycleStateDetails *string `pulumi:"lifecycleStateDetails"` - // (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - NsgIds []string `pulumi:"nsgIds"` - // IP address of the Private Endpoint. - PrivateIp *string `pulumi:"privateIp"` - // The OCIDs of sharded databases that consumes the given private endpoint. - ShardedDatabases []string `pulumi:"shardedDatabases"` - // Lifecycle states for private endpoint. - State *string `pulumi:"state"` - // Identifier of the customer subnet against which 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"` - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags map[string]string `pulumi:"systemTags"` - // The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - TimeCreated *string `pulumi:"timeCreated"` - // The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - TimeUpdated *string `pulumi:"timeUpdated"` - // Identifier of the VCN in which subnet exists. - VcnId *string `pulumi:"vcnId"` -} - -type PrivateEndpointState struct { - // (Updatable) Identifier of the compartment where private endpoint is to be created. - 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.StringMapInput - // (Updatable) PrivateEndpoint description. - Description pulumi.StringPtrInput - // (Updatable) Private endpoint display name. - 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.StringMapInput - // Detailed message for the lifecycle state. - LifecycleStateDetails pulumi.StringPtrInput - // (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - NsgIds pulumi.StringArrayInput - // IP address of the Private Endpoint. - PrivateIp pulumi.StringPtrInput - // The OCIDs of sharded databases that consumes the given private endpoint. - ShardedDatabases pulumi.StringArrayInput - // Lifecycle states for private endpoint. - State pulumi.StringPtrInput - // Identifier of the customer subnet against which 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 - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags pulumi.StringMapInput - // The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringPtrInput - // The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringPtrInput - // Identifier of the VCN in which subnet exists. - VcnId pulumi.StringPtrInput -} - -func (PrivateEndpointState) ElementType() reflect.Type { - return reflect.TypeOf((*privateEndpointState)(nil)).Elem() -} - -type privateEndpointArgs struct { - // (Updatable) Identifier of the compartment where private endpoint is to be created. - 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]string `pulumi:"definedTags"` - // (Updatable) PrivateEndpoint description. - Description *string `pulumi:"description"` - // (Updatable) Private endpoint display name. - 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]string `pulumi:"freeformTags"` - // (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - NsgIds []string `pulumi:"nsgIds"` - // Identifier of the customer subnet against which 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 PrivateEndpoint resource. -type PrivateEndpointArgs struct { - // (Updatable) Identifier of the compartment where private endpoint is to be created. - 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.StringMapInput - // (Updatable) PrivateEndpoint description. - Description pulumi.StringPtrInput - // (Updatable) Private endpoint display name. - 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.StringMapInput - // (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - NsgIds pulumi.StringArrayInput - // Identifier of the customer subnet against which 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 (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) -} - -// 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) -} - -// 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) -} - -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 -} - -// (Updatable) Identifier of the compartment where private endpoint is to be created. -func (o PrivateEndpointOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v *PrivateEndpoint) 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 PrivateEndpointOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -// (Updatable) PrivateEndpoint description. -func (o PrivateEndpointOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) -} - -// (Updatable) Private endpoint display name. -func (o PrivateEndpointOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v *PrivateEndpoint) 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 PrivateEndpointOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -// Detailed message for the lifecycle state. -func (o PrivateEndpointOutput) LifecycleStateDetails() pulumi.StringOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.LifecycleStateDetails }).(pulumi.StringOutput) -} - -// (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. -func (o PrivateEndpointOutput) NsgIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringArrayOutput { return v.NsgIds }).(pulumi.StringArrayOutput) -} - -// IP address of the Private Endpoint. -func (o PrivateEndpointOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The OCIDs of sharded databases that consumes the given private endpoint. -func (o PrivateEndpointOutput) ShardedDatabases() pulumi.StringArrayOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringArrayOutput { return v.ShardedDatabases }).(pulumi.StringArrayOutput) -} - -// Lifecycle states for private endpoint. -func (o PrivateEndpointOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// Identifier of the customer subnet against which 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 PrivateEndpointOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) -} - -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o PrivateEndpointOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) -} - -// The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string -func (o PrivateEndpointOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) -} - -// The time the Private Endpoint was last updated. An RFC3339 formatted datetime string -func (o PrivateEndpointOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) -} - -// Identifier of the VCN in which subnet exists. -func (o PrivateEndpointOutput) VcnId() pulumi.StringOutput { - return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.VcnId }).(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) 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) 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/globallydistributeddatabase/pulumiTypes.go b/sdk/go/oci/globallydistributeddatabase/pulumiTypes.go deleted file mode 100644 index b30dbda78d..0000000000 --- a/sdk/go/oci/globallydistributeddatabase/pulumiTypes.go +++ /dev/null @@ -1,3366 +0,0 @@ -// 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 globallydistributeddatabase - -import ( - "context" - "reflect" - - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -var _ = internal.GetEnvOrDefault - -type ShardedDatabaseCatalogDetail struct { - // Admin password for the catalog database. - AdminPassword string `pulumi:"adminPassword"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - CloudAutonomousVmClusterId string `pulumi:"cloudAutonomousVmClusterId"` - // The compute count for the catalog database. It has to be in multiple of 2. - ComputeCount float64 `pulumi:"computeCount"` - // Identifier of the underlying container database. - ContainerDatabaseId *string `pulumi:"containerDatabaseId"` - // Identifier of the underlying container database parent. - ContainerDatabaseParentId *string `pulumi:"containerDatabaseParentId"` - // The data disk group size to be allocated in GBs for the catalog database. - DataStorageSizeInGbs float64 `pulumi:"dataStorageSizeInGbs"` - // Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - EncryptionKeyDetails *ShardedDatabaseCatalogDetailEncryptionKeyDetails `pulumi:"encryptionKeyDetails"` - // Determines the auto-scaling mode for the catalog database. - IsAutoScalingEnabled bool `pulumi:"isAutoScalingEnabled"` - // Additional metadata related to shard's underlying supporting resource. - Metadata map[string]string `pulumi:"metadata"` - // Name of the shard. - Name *string `pulumi:"name"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - PeerCloudAutonomousVmClusterId *string `pulumi:"peerCloudAutonomousVmClusterId"` - // Name of the shard-group to which the shard belongs. - ShardGroup *string `pulumi:"shardGroup"` - // Status of shard or catalog or gsm for the sharded database. - Status *string `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId *string `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated *string `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires *string `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated *string `pulumi:"timeUpdated"` -} - -// ShardedDatabaseCatalogDetailInput is an input type that accepts ShardedDatabaseCatalogDetailArgs and ShardedDatabaseCatalogDetailOutput values. -// You can construct a concrete instance of `ShardedDatabaseCatalogDetailInput` via: -// -// ShardedDatabaseCatalogDetailArgs{...} -type ShardedDatabaseCatalogDetailInput interface { - pulumi.Input - - ToShardedDatabaseCatalogDetailOutput() ShardedDatabaseCatalogDetailOutput - ToShardedDatabaseCatalogDetailOutputWithContext(context.Context) ShardedDatabaseCatalogDetailOutput -} - -type ShardedDatabaseCatalogDetailArgs struct { - // Admin password for the catalog database. - AdminPassword pulumi.StringInput `pulumi:"adminPassword"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - CloudAutonomousVmClusterId pulumi.StringInput `pulumi:"cloudAutonomousVmClusterId"` - // The compute count for the catalog database. It has to be in multiple of 2. - ComputeCount pulumi.Float64Input `pulumi:"computeCount"` - // Identifier of the underlying container database. - ContainerDatabaseId pulumi.StringPtrInput `pulumi:"containerDatabaseId"` - // Identifier of the underlying container database parent. - ContainerDatabaseParentId pulumi.StringPtrInput `pulumi:"containerDatabaseParentId"` - // The data disk group size to be allocated in GBs for the catalog database. - DataStorageSizeInGbs pulumi.Float64Input `pulumi:"dataStorageSizeInGbs"` - // Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - EncryptionKeyDetails ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrInput `pulumi:"encryptionKeyDetails"` - // Determines the auto-scaling mode for the catalog database. - IsAutoScalingEnabled pulumi.BoolInput `pulumi:"isAutoScalingEnabled"` - // Additional metadata related to shard's underlying supporting resource. - Metadata pulumi.StringMapInput `pulumi:"metadata"` - // Name of the shard. - Name pulumi.StringPtrInput `pulumi:"name"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - PeerCloudAutonomousVmClusterId pulumi.StringPtrInput `pulumi:"peerCloudAutonomousVmClusterId"` - // Name of the shard-group to which the shard belongs. - ShardGroup pulumi.StringPtrInput `pulumi:"shardGroup"` - // Status of shard or catalog or gsm for the sharded database. - Status pulumi.StringPtrInput `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId pulumi.StringPtrInput `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringPtrInput `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires pulumi.StringPtrInput `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringPtrInput `pulumi:"timeUpdated"` -} - -func (ShardedDatabaseCatalogDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseCatalogDetail)(nil)).Elem() -} - -func (i ShardedDatabaseCatalogDetailArgs) ToShardedDatabaseCatalogDetailOutput() ShardedDatabaseCatalogDetailOutput { - return i.ToShardedDatabaseCatalogDetailOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseCatalogDetailArgs) ToShardedDatabaseCatalogDetailOutputWithContext(ctx context.Context) ShardedDatabaseCatalogDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseCatalogDetailOutput) -} - -// ShardedDatabaseCatalogDetailArrayInput is an input type that accepts ShardedDatabaseCatalogDetailArray and ShardedDatabaseCatalogDetailArrayOutput values. -// You can construct a concrete instance of `ShardedDatabaseCatalogDetailArrayInput` via: -// -// ShardedDatabaseCatalogDetailArray{ ShardedDatabaseCatalogDetailArgs{...} } -type ShardedDatabaseCatalogDetailArrayInput interface { - pulumi.Input - - ToShardedDatabaseCatalogDetailArrayOutput() ShardedDatabaseCatalogDetailArrayOutput - ToShardedDatabaseCatalogDetailArrayOutputWithContext(context.Context) ShardedDatabaseCatalogDetailArrayOutput -} - -type ShardedDatabaseCatalogDetailArray []ShardedDatabaseCatalogDetailInput - -func (ShardedDatabaseCatalogDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShardedDatabaseCatalogDetail)(nil)).Elem() -} - -func (i ShardedDatabaseCatalogDetailArray) ToShardedDatabaseCatalogDetailArrayOutput() ShardedDatabaseCatalogDetailArrayOutput { - return i.ToShardedDatabaseCatalogDetailArrayOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseCatalogDetailArray) ToShardedDatabaseCatalogDetailArrayOutputWithContext(ctx context.Context) ShardedDatabaseCatalogDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseCatalogDetailArrayOutput) -} - -type ShardedDatabaseCatalogDetailOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseCatalogDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseCatalogDetail)(nil)).Elem() -} - -func (o ShardedDatabaseCatalogDetailOutput) ToShardedDatabaseCatalogDetailOutput() ShardedDatabaseCatalogDetailOutput { - return o -} - -func (o ShardedDatabaseCatalogDetailOutput) ToShardedDatabaseCatalogDetailOutputWithContext(ctx context.Context) ShardedDatabaseCatalogDetailOutput { - return o -} - -// Admin password for the catalog database. -func (o ShardedDatabaseCatalogDetailOutput) AdminPassword() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) string { return v.AdminPassword }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. -func (o ShardedDatabaseCatalogDetailOutput) CloudAutonomousVmClusterId() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) string { return v.CloudAutonomousVmClusterId }).(pulumi.StringOutput) -} - -// The compute count for the catalog database. It has to be in multiple of 2. -func (o ShardedDatabaseCatalogDetailOutput) ComputeCount() pulumi.Float64Output { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) float64 { return v.ComputeCount }).(pulumi.Float64Output) -} - -// Identifier of the underlying container database. -func (o ShardedDatabaseCatalogDetailOutput) ContainerDatabaseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *string { return v.ContainerDatabaseId }).(pulumi.StringPtrOutput) -} - -// Identifier of the underlying container database parent. -func (o ShardedDatabaseCatalogDetailOutput) ContainerDatabaseParentId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *string { return v.ContainerDatabaseParentId }).(pulumi.StringPtrOutput) -} - -// The data disk group size to be allocated in GBs for the catalog database. -func (o ShardedDatabaseCatalogDetailOutput) DataStorageSizeInGbs() pulumi.Float64Output { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) float64 { return v.DataStorageSizeInGbs }).(pulumi.Float64Output) -} - -// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). -func (o ShardedDatabaseCatalogDetailOutput) EncryptionKeyDetails() ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *ShardedDatabaseCatalogDetailEncryptionKeyDetails { - return v.EncryptionKeyDetails - }).(ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput) -} - -// Determines the auto-scaling mode for the catalog database. -func (o ShardedDatabaseCatalogDetailOutput) IsAutoScalingEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) bool { return v.IsAutoScalingEnabled }).(pulumi.BoolOutput) -} - -// Additional metadata related to shard's underlying supporting resource. -func (o ShardedDatabaseCatalogDetailOutput) Metadata() pulumi.StringMapOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) map[string]string { return v.Metadata }).(pulumi.StringMapOutput) -} - -// Name of the shard. -func (o ShardedDatabaseCatalogDetailOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. -func (o ShardedDatabaseCatalogDetailOutput) PeerCloudAutonomousVmClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *string { return v.PeerCloudAutonomousVmClusterId }).(pulumi.StringPtrOutput) -} - -// Name of the shard-group to which the shard belongs. -func (o ShardedDatabaseCatalogDetailOutput) ShardGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *string { return v.ShardGroup }).(pulumi.StringPtrOutput) -} - -// Status of shard or catalog or gsm for the sharded database. -func (o ShardedDatabaseCatalogDetailOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *string { return v.Status }).(pulumi.StringPtrOutput) -} - -// Identifier of the underlying supporting resource. -func (o ShardedDatabaseCatalogDetailOutput) SupportingResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *string { return v.SupportingResourceId }).(pulumi.StringPtrOutput) -} - -// The time the the Sharded Database was created. An RFC3339 formatted datetime string -func (o ShardedDatabaseCatalogDetailOutput) TimeCreated() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *string { return v.TimeCreated }).(pulumi.StringPtrOutput) -} - -// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string -func (o ShardedDatabaseCatalogDetailOutput) TimeSslCertificateExpires() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *string { return v.TimeSslCertificateExpires }).(pulumi.StringPtrOutput) -} - -// The time the Sharded Database was last updated. An RFC3339 formatted datetime string -func (o ShardedDatabaseCatalogDetailOutput) TimeUpdated() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetail) *string { return v.TimeUpdated }).(pulumi.StringPtrOutput) -} - -type ShardedDatabaseCatalogDetailArrayOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseCatalogDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShardedDatabaseCatalogDetail)(nil)).Elem() -} - -func (o ShardedDatabaseCatalogDetailArrayOutput) ToShardedDatabaseCatalogDetailArrayOutput() ShardedDatabaseCatalogDetailArrayOutput { - return o -} - -func (o ShardedDatabaseCatalogDetailArrayOutput) ToShardedDatabaseCatalogDetailArrayOutputWithContext(ctx context.Context) ShardedDatabaseCatalogDetailArrayOutput { - return o -} - -func (o ShardedDatabaseCatalogDetailArrayOutput) Index(i pulumi.IntInput) ShardedDatabaseCatalogDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShardedDatabaseCatalogDetail { - return vs[0].([]ShardedDatabaseCatalogDetail)[vs[1].(int)] - }).(ShardedDatabaseCatalogDetailOutput) -} - -type ShardedDatabaseCatalogDetailEncryptionKeyDetails struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - KmsKeyId string `pulumi:"kmsKeyId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - KmsKeyVersionId *string `pulumi:"kmsKeyVersionId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - VaultId string `pulumi:"vaultId"` -} - -// ShardedDatabaseCatalogDetailEncryptionKeyDetailsInput is an input type that accepts ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs and ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput values. -// You can construct a concrete instance of `ShardedDatabaseCatalogDetailEncryptionKeyDetailsInput` via: -// -// ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs{...} -type ShardedDatabaseCatalogDetailEncryptionKeyDetailsInput interface { - pulumi.Input - - ToShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput() ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput - ToShardedDatabaseCatalogDetailEncryptionKeyDetailsOutputWithContext(context.Context) ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput -} - -type ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - KmsKeyVersionId pulumi.StringPtrInput `pulumi:"kmsKeyVersionId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - VaultId pulumi.StringInput `pulumi:"vaultId"` -} - -func (ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseCatalogDetailEncryptionKeyDetails)(nil)).Elem() -} - -func (i ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput() ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput { - return i.ToShardedDatabaseCatalogDetailEncryptionKeyDetailsOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsOutputWithContext(ctx context.Context) ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput) -} - -func (i ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput() ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput { - return i.ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutputWithContext(ctx context.Context) ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput).ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutputWithContext(ctx) -} - -// ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrInput is an input type that accepts ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs, ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtr and ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput values. -// You can construct a concrete instance of `ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrInput` via: -// -// ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs{...} -// -// or: -// -// nil -type ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrInput interface { - pulumi.Input - - ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput() ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput - ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutputWithContext(context.Context) ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput -} - -type shardedDatabaseCatalogDetailEncryptionKeyDetailsPtrType ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs - -func ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtr(v *ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs) ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrInput { - return (*shardedDatabaseCatalogDetailEncryptionKeyDetailsPtrType)(v) -} - -func (*shardedDatabaseCatalogDetailEncryptionKeyDetailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ShardedDatabaseCatalogDetailEncryptionKeyDetails)(nil)).Elem() -} - -func (i *shardedDatabaseCatalogDetailEncryptionKeyDetailsPtrType) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput() ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput { - return i.ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutputWithContext(context.Background()) -} - -func (i *shardedDatabaseCatalogDetailEncryptionKeyDetailsPtrType) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutputWithContext(ctx context.Context) ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput) -} - -type ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseCatalogDetailEncryptionKeyDetails)(nil)).Elem() -} - -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput() ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput { - return o -} - -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsOutputWithContext(ctx context.Context) ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput { - return o -} - -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput() ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput { - return o.ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutputWithContext(context.Background()) -} - -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutputWithContext(ctx context.Context) ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ShardedDatabaseCatalogDetailEncryptionKeyDetails) *ShardedDatabaseCatalogDetailEncryptionKeyDetails { - return &v - }).(ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput) KmsKeyId() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetailEncryptionKeyDetails) string { return v.KmsKeyId }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput) KmsKeyVersionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetailEncryptionKeyDetails) *string { return v.KmsKeyVersionId }).(pulumi.StringPtrOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput) VaultId() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabaseCatalogDetailEncryptionKeyDetails) string { return v.VaultId }).(pulumi.StringOutput) -} - -type ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ShardedDatabaseCatalogDetailEncryptionKeyDetails)(nil)).Elem() -} - -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput() ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput { - return o -} - -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput) ToShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutputWithContext(ctx context.Context) ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput { - return o -} - -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput) Elem() ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput { - return o.ApplyT(func(v *ShardedDatabaseCatalogDetailEncryptionKeyDetails) ShardedDatabaseCatalogDetailEncryptionKeyDetails { - if v != nil { - return *v - } - var ret ShardedDatabaseCatalogDetailEncryptionKeyDetails - return ret - }).(ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput) KmsKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ShardedDatabaseCatalogDetailEncryptionKeyDetails) *string { - if v == nil { - return nil - } - return &v.KmsKeyId - }).(pulumi.StringPtrOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput) KmsKeyVersionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ShardedDatabaseCatalogDetailEncryptionKeyDetails) *string { - if v == nil { - return nil - } - return v.KmsKeyVersionId - }).(pulumi.StringPtrOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. -func (o ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput) VaultId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ShardedDatabaseCatalogDetailEncryptionKeyDetails) *string { - if v == nil { - return nil - } - return &v.VaultId - }).(pulumi.StringPtrOutput) -} - -type ShardedDatabaseConnectionString struct { - // Collection of connection strings. - AllConnectionStrings map[string]string `pulumi:"allConnectionStrings"` -} - -// ShardedDatabaseConnectionStringInput is an input type that accepts ShardedDatabaseConnectionStringArgs and ShardedDatabaseConnectionStringOutput values. -// You can construct a concrete instance of `ShardedDatabaseConnectionStringInput` via: -// -// ShardedDatabaseConnectionStringArgs{...} -type ShardedDatabaseConnectionStringInput interface { - pulumi.Input - - ToShardedDatabaseConnectionStringOutput() ShardedDatabaseConnectionStringOutput - ToShardedDatabaseConnectionStringOutputWithContext(context.Context) ShardedDatabaseConnectionStringOutput -} - -type ShardedDatabaseConnectionStringArgs struct { - // Collection of connection strings. - AllConnectionStrings pulumi.StringMapInput `pulumi:"allConnectionStrings"` -} - -func (ShardedDatabaseConnectionStringArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseConnectionString)(nil)).Elem() -} - -func (i ShardedDatabaseConnectionStringArgs) ToShardedDatabaseConnectionStringOutput() ShardedDatabaseConnectionStringOutput { - return i.ToShardedDatabaseConnectionStringOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseConnectionStringArgs) ToShardedDatabaseConnectionStringOutputWithContext(ctx context.Context) ShardedDatabaseConnectionStringOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseConnectionStringOutput) -} - -// ShardedDatabaseConnectionStringArrayInput is an input type that accepts ShardedDatabaseConnectionStringArray and ShardedDatabaseConnectionStringArrayOutput values. -// You can construct a concrete instance of `ShardedDatabaseConnectionStringArrayInput` via: -// -// ShardedDatabaseConnectionStringArray{ ShardedDatabaseConnectionStringArgs{...} } -type ShardedDatabaseConnectionStringArrayInput interface { - pulumi.Input - - ToShardedDatabaseConnectionStringArrayOutput() ShardedDatabaseConnectionStringArrayOutput - ToShardedDatabaseConnectionStringArrayOutputWithContext(context.Context) ShardedDatabaseConnectionStringArrayOutput -} - -type ShardedDatabaseConnectionStringArray []ShardedDatabaseConnectionStringInput - -func (ShardedDatabaseConnectionStringArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShardedDatabaseConnectionString)(nil)).Elem() -} - -func (i ShardedDatabaseConnectionStringArray) ToShardedDatabaseConnectionStringArrayOutput() ShardedDatabaseConnectionStringArrayOutput { - return i.ToShardedDatabaseConnectionStringArrayOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseConnectionStringArray) ToShardedDatabaseConnectionStringArrayOutputWithContext(ctx context.Context) ShardedDatabaseConnectionStringArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseConnectionStringArrayOutput) -} - -type ShardedDatabaseConnectionStringOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseConnectionStringOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseConnectionString)(nil)).Elem() -} - -func (o ShardedDatabaseConnectionStringOutput) ToShardedDatabaseConnectionStringOutput() ShardedDatabaseConnectionStringOutput { - return o -} - -func (o ShardedDatabaseConnectionStringOutput) ToShardedDatabaseConnectionStringOutputWithContext(ctx context.Context) ShardedDatabaseConnectionStringOutput { - return o -} - -// Collection of connection strings. -func (o ShardedDatabaseConnectionStringOutput) AllConnectionStrings() pulumi.StringMapOutput { - return o.ApplyT(func(v ShardedDatabaseConnectionString) map[string]string { return v.AllConnectionStrings }).(pulumi.StringMapOutput) -} - -type ShardedDatabaseConnectionStringArrayOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseConnectionStringArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShardedDatabaseConnectionString)(nil)).Elem() -} - -func (o ShardedDatabaseConnectionStringArrayOutput) ToShardedDatabaseConnectionStringArrayOutput() ShardedDatabaseConnectionStringArrayOutput { - return o -} - -func (o ShardedDatabaseConnectionStringArrayOutput) ToShardedDatabaseConnectionStringArrayOutputWithContext(ctx context.Context) ShardedDatabaseConnectionStringArrayOutput { - return o -} - -func (o ShardedDatabaseConnectionStringArrayOutput) Index(i pulumi.IntInput) ShardedDatabaseConnectionStringOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShardedDatabaseConnectionString { - return vs[0].([]ShardedDatabaseConnectionString)[vs[1].(int)] - }).(ShardedDatabaseConnectionStringOutput) -} - -type ShardedDatabaseGsm struct { - // The compute amount available to the underlying autonomous database associated with shard. - ComputeCount *float64 `pulumi:"computeCount"` - // The data disk group size to be allocated in GBs. - DataStorageSizeInGbs *float64 `pulumi:"dataStorageSizeInGbs"` - // Additional metadata related to shard's underlying supporting resource. - Metadata map[string]string `pulumi:"metadata"` - // Name of the shard. - Name *string `pulumi:"name"` - // Status of shard or catalog or gsm for the sharded database. - Status *string `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId *string `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated *string `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires *string `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated *string `pulumi:"timeUpdated"` -} - -// ShardedDatabaseGsmInput is an input type that accepts ShardedDatabaseGsmArgs and ShardedDatabaseGsmOutput values. -// You can construct a concrete instance of `ShardedDatabaseGsmInput` via: -// -// ShardedDatabaseGsmArgs{...} -type ShardedDatabaseGsmInput interface { - pulumi.Input - - ToShardedDatabaseGsmOutput() ShardedDatabaseGsmOutput - ToShardedDatabaseGsmOutputWithContext(context.Context) ShardedDatabaseGsmOutput -} - -type ShardedDatabaseGsmArgs struct { - // The compute amount available to the underlying autonomous database associated with shard. - ComputeCount pulumi.Float64PtrInput `pulumi:"computeCount"` - // The data disk group size to be allocated in GBs. - DataStorageSizeInGbs pulumi.Float64PtrInput `pulumi:"dataStorageSizeInGbs"` - // Additional metadata related to shard's underlying supporting resource. - Metadata pulumi.StringMapInput `pulumi:"metadata"` - // Name of the shard. - Name pulumi.StringPtrInput `pulumi:"name"` - // Status of shard or catalog or gsm for the sharded database. - Status pulumi.StringPtrInput `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId pulumi.StringPtrInput `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringPtrInput `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires pulumi.StringPtrInput `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringPtrInput `pulumi:"timeUpdated"` -} - -func (ShardedDatabaseGsmArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseGsm)(nil)).Elem() -} - -func (i ShardedDatabaseGsmArgs) ToShardedDatabaseGsmOutput() ShardedDatabaseGsmOutput { - return i.ToShardedDatabaseGsmOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseGsmArgs) ToShardedDatabaseGsmOutputWithContext(ctx context.Context) ShardedDatabaseGsmOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseGsmOutput) -} - -// ShardedDatabaseGsmArrayInput is an input type that accepts ShardedDatabaseGsmArray and ShardedDatabaseGsmArrayOutput values. -// You can construct a concrete instance of `ShardedDatabaseGsmArrayInput` via: -// -// ShardedDatabaseGsmArray{ ShardedDatabaseGsmArgs{...} } -type ShardedDatabaseGsmArrayInput interface { - pulumi.Input - - ToShardedDatabaseGsmArrayOutput() ShardedDatabaseGsmArrayOutput - ToShardedDatabaseGsmArrayOutputWithContext(context.Context) ShardedDatabaseGsmArrayOutput -} - -type ShardedDatabaseGsmArray []ShardedDatabaseGsmInput - -func (ShardedDatabaseGsmArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShardedDatabaseGsm)(nil)).Elem() -} - -func (i ShardedDatabaseGsmArray) ToShardedDatabaseGsmArrayOutput() ShardedDatabaseGsmArrayOutput { - return i.ToShardedDatabaseGsmArrayOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseGsmArray) ToShardedDatabaseGsmArrayOutputWithContext(ctx context.Context) ShardedDatabaseGsmArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseGsmArrayOutput) -} - -type ShardedDatabaseGsmOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseGsmOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseGsm)(nil)).Elem() -} - -func (o ShardedDatabaseGsmOutput) ToShardedDatabaseGsmOutput() ShardedDatabaseGsmOutput { - return o -} - -func (o ShardedDatabaseGsmOutput) ToShardedDatabaseGsmOutputWithContext(ctx context.Context) ShardedDatabaseGsmOutput { - return o -} - -// The compute amount available to the underlying autonomous database associated with shard. -func (o ShardedDatabaseGsmOutput) ComputeCount() pulumi.Float64PtrOutput { - return o.ApplyT(func(v ShardedDatabaseGsm) *float64 { return v.ComputeCount }).(pulumi.Float64PtrOutput) -} - -// The data disk group size to be allocated in GBs. -func (o ShardedDatabaseGsmOutput) DataStorageSizeInGbs() pulumi.Float64PtrOutput { - return o.ApplyT(func(v ShardedDatabaseGsm) *float64 { return v.DataStorageSizeInGbs }).(pulumi.Float64PtrOutput) -} - -// Additional metadata related to shard's underlying supporting resource. -func (o ShardedDatabaseGsmOutput) Metadata() pulumi.StringMapOutput { - return o.ApplyT(func(v ShardedDatabaseGsm) map[string]string { return v.Metadata }).(pulumi.StringMapOutput) -} - -// Name of the shard. -func (o ShardedDatabaseGsmOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseGsm) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// Status of shard or catalog or gsm for the sharded database. -func (o ShardedDatabaseGsmOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseGsm) *string { return v.Status }).(pulumi.StringPtrOutput) -} - -// Identifier of the underlying supporting resource. -func (o ShardedDatabaseGsmOutput) SupportingResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseGsm) *string { return v.SupportingResourceId }).(pulumi.StringPtrOutput) -} - -// The time the the Sharded Database was created. An RFC3339 formatted datetime string -func (o ShardedDatabaseGsmOutput) TimeCreated() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseGsm) *string { return v.TimeCreated }).(pulumi.StringPtrOutput) -} - -// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string -func (o ShardedDatabaseGsmOutput) TimeSslCertificateExpires() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseGsm) *string { return v.TimeSslCertificateExpires }).(pulumi.StringPtrOutput) -} - -// The time the Sharded Database was last updated. An RFC3339 formatted datetime string -func (o ShardedDatabaseGsmOutput) TimeUpdated() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseGsm) *string { return v.TimeUpdated }).(pulumi.StringPtrOutput) -} - -type ShardedDatabaseGsmArrayOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseGsmArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShardedDatabaseGsm)(nil)).Elem() -} - -func (o ShardedDatabaseGsmArrayOutput) ToShardedDatabaseGsmArrayOutput() ShardedDatabaseGsmArrayOutput { - return o -} - -func (o ShardedDatabaseGsmArrayOutput) ToShardedDatabaseGsmArrayOutputWithContext(ctx context.Context) ShardedDatabaseGsmArrayOutput { - return o -} - -func (o ShardedDatabaseGsmArrayOutput) Index(i pulumi.IntInput) ShardedDatabaseGsmOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShardedDatabaseGsm { - return vs[0].([]ShardedDatabaseGsm)[vs[1].(int)] - }).(ShardedDatabaseGsmOutput) -} - -type ShardedDatabasePatchOperation struct { - // (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - Operation string `pulumi:"operation"` - // (Updatable) - Selection string `pulumi:"selection"` - // (Updatable) - Value string `pulumi:"value"` -} - -// ShardedDatabasePatchOperationInput is an input type that accepts ShardedDatabasePatchOperationArgs and ShardedDatabasePatchOperationOutput values. -// You can construct a concrete instance of `ShardedDatabasePatchOperationInput` via: -// -// ShardedDatabasePatchOperationArgs{...} -type ShardedDatabasePatchOperationInput interface { - pulumi.Input - - ToShardedDatabasePatchOperationOutput() ShardedDatabasePatchOperationOutput - ToShardedDatabasePatchOperationOutputWithContext(context.Context) ShardedDatabasePatchOperationOutput -} - -type ShardedDatabasePatchOperationArgs struct { - // (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - Operation pulumi.StringInput `pulumi:"operation"` - // (Updatable) - Selection pulumi.StringInput `pulumi:"selection"` - // (Updatable) - Value pulumi.StringInput `pulumi:"value"` -} - -func (ShardedDatabasePatchOperationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabasePatchOperation)(nil)).Elem() -} - -func (i ShardedDatabasePatchOperationArgs) ToShardedDatabasePatchOperationOutput() ShardedDatabasePatchOperationOutput { - return i.ToShardedDatabasePatchOperationOutputWithContext(context.Background()) -} - -func (i ShardedDatabasePatchOperationArgs) ToShardedDatabasePatchOperationOutputWithContext(ctx context.Context) ShardedDatabasePatchOperationOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabasePatchOperationOutput) -} - -// ShardedDatabasePatchOperationArrayInput is an input type that accepts ShardedDatabasePatchOperationArray and ShardedDatabasePatchOperationArrayOutput values. -// You can construct a concrete instance of `ShardedDatabasePatchOperationArrayInput` via: -// -// ShardedDatabasePatchOperationArray{ ShardedDatabasePatchOperationArgs{...} } -type ShardedDatabasePatchOperationArrayInput interface { - pulumi.Input - - ToShardedDatabasePatchOperationArrayOutput() ShardedDatabasePatchOperationArrayOutput - ToShardedDatabasePatchOperationArrayOutputWithContext(context.Context) ShardedDatabasePatchOperationArrayOutput -} - -type ShardedDatabasePatchOperationArray []ShardedDatabasePatchOperationInput - -func (ShardedDatabasePatchOperationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShardedDatabasePatchOperation)(nil)).Elem() -} - -func (i ShardedDatabasePatchOperationArray) ToShardedDatabasePatchOperationArrayOutput() ShardedDatabasePatchOperationArrayOutput { - return i.ToShardedDatabasePatchOperationArrayOutputWithContext(context.Background()) -} - -func (i ShardedDatabasePatchOperationArray) ToShardedDatabasePatchOperationArrayOutputWithContext(ctx context.Context) ShardedDatabasePatchOperationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabasePatchOperationArrayOutput) -} - -type ShardedDatabasePatchOperationOutput struct{ *pulumi.OutputState } - -func (ShardedDatabasePatchOperationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabasePatchOperation)(nil)).Elem() -} - -func (o ShardedDatabasePatchOperationOutput) ToShardedDatabasePatchOperationOutput() ShardedDatabasePatchOperationOutput { - return o -} - -func (o ShardedDatabasePatchOperationOutput) ToShardedDatabasePatchOperationOutputWithContext(ctx context.Context) ShardedDatabasePatchOperationOutput { - return o -} - -// (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` -func (o ShardedDatabasePatchOperationOutput) Operation() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabasePatchOperation) string { return v.Operation }).(pulumi.StringOutput) -} - -// (Updatable) -func (o ShardedDatabasePatchOperationOutput) Selection() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabasePatchOperation) string { return v.Selection }).(pulumi.StringOutput) -} - -// (Updatable) -func (o ShardedDatabasePatchOperationOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabasePatchOperation) string { return v.Value }).(pulumi.StringOutput) -} - -type ShardedDatabasePatchOperationArrayOutput struct{ *pulumi.OutputState } - -func (ShardedDatabasePatchOperationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShardedDatabasePatchOperation)(nil)).Elem() -} - -func (o ShardedDatabasePatchOperationArrayOutput) ToShardedDatabasePatchOperationArrayOutput() ShardedDatabasePatchOperationArrayOutput { - return o -} - -func (o ShardedDatabasePatchOperationArrayOutput) ToShardedDatabasePatchOperationArrayOutputWithContext(ctx context.Context) ShardedDatabasePatchOperationArrayOutput { - return o -} - -func (o ShardedDatabasePatchOperationArrayOutput) Index(i pulumi.IntInput) ShardedDatabasePatchOperationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShardedDatabasePatchOperation { - return vs[0].([]ShardedDatabasePatchOperation)[vs[1].(int)] - }).(ShardedDatabasePatchOperationOutput) -} - -type ShardedDatabaseShardDetail struct { - // Admin password for shard database. - AdminPassword string `pulumi:"adminPassword"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - CloudAutonomousVmClusterId string `pulumi:"cloudAutonomousVmClusterId"` - // The compute count for the shard database. It has to be in multiples of 2. - ComputeCount float64 `pulumi:"computeCount"` - // Identifier of the underlying container database. - ContainerDatabaseId *string `pulumi:"containerDatabaseId"` - // Identifier of the underlying container database parent. - ContainerDatabaseParentId *string `pulumi:"containerDatabaseParentId"` - // The data disk group size to be allocated in GBs for the shard database. - DataStorageSizeInGbs float64 `pulumi:"dataStorageSizeInGbs"` - // Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - EncryptionKeyDetails *ShardedDatabaseShardDetailEncryptionKeyDetails `pulumi:"encryptionKeyDetails"` - // Determines the auto-scaling mode for the shard database. - IsAutoScalingEnabled bool `pulumi:"isAutoScalingEnabled"` - // Additional metadata related to shard's underlying supporting resource. - Metadata map[string]string `pulumi:"metadata"` - // Name of the shard. - Name *string `pulumi:"name"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - PeerCloudAutonomousVmClusterId *string `pulumi:"peerCloudAutonomousVmClusterId"` - // Name of the shard-group to which the shard belongs. - ShardGroup *string `pulumi:"shardGroup"` - // The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - ShardSpace *string `pulumi:"shardSpace"` - // Status of shard or catalog or gsm for the sharded database. - Status *string `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId *string `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated *string `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires *string `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated *string `pulumi:"timeUpdated"` -} - -// ShardedDatabaseShardDetailInput is an input type that accepts ShardedDatabaseShardDetailArgs and ShardedDatabaseShardDetailOutput values. -// You can construct a concrete instance of `ShardedDatabaseShardDetailInput` via: -// -// ShardedDatabaseShardDetailArgs{...} -type ShardedDatabaseShardDetailInput interface { - pulumi.Input - - ToShardedDatabaseShardDetailOutput() ShardedDatabaseShardDetailOutput - ToShardedDatabaseShardDetailOutputWithContext(context.Context) ShardedDatabaseShardDetailOutput -} - -type ShardedDatabaseShardDetailArgs struct { - // Admin password for shard database. - AdminPassword pulumi.StringInput `pulumi:"adminPassword"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - CloudAutonomousVmClusterId pulumi.StringInput `pulumi:"cloudAutonomousVmClusterId"` - // The compute count for the shard database. It has to be in multiples of 2. - ComputeCount pulumi.Float64Input `pulumi:"computeCount"` - // Identifier of the underlying container database. - ContainerDatabaseId pulumi.StringPtrInput `pulumi:"containerDatabaseId"` - // Identifier of the underlying container database parent. - ContainerDatabaseParentId pulumi.StringPtrInput `pulumi:"containerDatabaseParentId"` - // The data disk group size to be allocated in GBs for the shard database. - DataStorageSizeInGbs pulumi.Float64Input `pulumi:"dataStorageSizeInGbs"` - // Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - EncryptionKeyDetails ShardedDatabaseShardDetailEncryptionKeyDetailsPtrInput `pulumi:"encryptionKeyDetails"` - // Determines the auto-scaling mode for the shard database. - IsAutoScalingEnabled pulumi.BoolInput `pulumi:"isAutoScalingEnabled"` - // Additional metadata related to shard's underlying supporting resource. - Metadata pulumi.StringMapInput `pulumi:"metadata"` - // Name of the shard. - Name pulumi.StringPtrInput `pulumi:"name"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - PeerCloudAutonomousVmClusterId pulumi.StringPtrInput `pulumi:"peerCloudAutonomousVmClusterId"` - // Name of the shard-group to which the shard belongs. - ShardGroup pulumi.StringPtrInput `pulumi:"shardGroup"` - // The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - ShardSpace pulumi.StringPtrInput `pulumi:"shardSpace"` - // Status of shard or catalog or gsm for the sharded database. - Status pulumi.StringPtrInput `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId pulumi.StringPtrInput `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringPtrInput `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires pulumi.StringPtrInput `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringPtrInput `pulumi:"timeUpdated"` -} - -func (ShardedDatabaseShardDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseShardDetail)(nil)).Elem() -} - -func (i ShardedDatabaseShardDetailArgs) ToShardedDatabaseShardDetailOutput() ShardedDatabaseShardDetailOutput { - return i.ToShardedDatabaseShardDetailOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseShardDetailArgs) ToShardedDatabaseShardDetailOutputWithContext(ctx context.Context) ShardedDatabaseShardDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseShardDetailOutput) -} - -// ShardedDatabaseShardDetailArrayInput is an input type that accepts ShardedDatabaseShardDetailArray and ShardedDatabaseShardDetailArrayOutput values. -// You can construct a concrete instance of `ShardedDatabaseShardDetailArrayInput` via: -// -// ShardedDatabaseShardDetailArray{ ShardedDatabaseShardDetailArgs{...} } -type ShardedDatabaseShardDetailArrayInput interface { - pulumi.Input - - ToShardedDatabaseShardDetailArrayOutput() ShardedDatabaseShardDetailArrayOutput - ToShardedDatabaseShardDetailArrayOutputWithContext(context.Context) ShardedDatabaseShardDetailArrayOutput -} - -type ShardedDatabaseShardDetailArray []ShardedDatabaseShardDetailInput - -func (ShardedDatabaseShardDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShardedDatabaseShardDetail)(nil)).Elem() -} - -func (i ShardedDatabaseShardDetailArray) ToShardedDatabaseShardDetailArrayOutput() ShardedDatabaseShardDetailArrayOutput { - return i.ToShardedDatabaseShardDetailArrayOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseShardDetailArray) ToShardedDatabaseShardDetailArrayOutputWithContext(ctx context.Context) ShardedDatabaseShardDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseShardDetailArrayOutput) -} - -type ShardedDatabaseShardDetailOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseShardDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseShardDetail)(nil)).Elem() -} - -func (o ShardedDatabaseShardDetailOutput) ToShardedDatabaseShardDetailOutput() ShardedDatabaseShardDetailOutput { - return o -} - -func (o ShardedDatabaseShardDetailOutput) ToShardedDatabaseShardDetailOutputWithContext(ctx context.Context) ShardedDatabaseShardDetailOutput { - return o -} - -// Admin password for shard database. -func (o ShardedDatabaseShardDetailOutput) AdminPassword() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) string { return v.AdminPassword }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. -func (o ShardedDatabaseShardDetailOutput) CloudAutonomousVmClusterId() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) string { return v.CloudAutonomousVmClusterId }).(pulumi.StringOutput) -} - -// The compute count for the shard database. It has to be in multiples of 2. -func (o ShardedDatabaseShardDetailOutput) ComputeCount() pulumi.Float64Output { - return o.ApplyT(func(v ShardedDatabaseShardDetail) float64 { return v.ComputeCount }).(pulumi.Float64Output) -} - -// Identifier of the underlying container database. -func (o ShardedDatabaseShardDetailOutput) ContainerDatabaseId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.ContainerDatabaseId }).(pulumi.StringPtrOutput) -} - -// Identifier of the underlying container database parent. -func (o ShardedDatabaseShardDetailOutput) ContainerDatabaseParentId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.ContainerDatabaseParentId }).(pulumi.StringPtrOutput) -} - -// The data disk group size to be allocated in GBs for the shard database. -func (o ShardedDatabaseShardDetailOutput) DataStorageSizeInGbs() pulumi.Float64Output { - return o.ApplyT(func(v ShardedDatabaseShardDetail) float64 { return v.DataStorageSizeInGbs }).(pulumi.Float64Output) -} - -// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). -func (o ShardedDatabaseShardDetailOutput) EncryptionKeyDetails() ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *ShardedDatabaseShardDetailEncryptionKeyDetails { - return v.EncryptionKeyDetails - }).(ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput) -} - -// Determines the auto-scaling mode for the shard database. -func (o ShardedDatabaseShardDetailOutput) IsAutoScalingEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) bool { return v.IsAutoScalingEnabled }).(pulumi.BoolOutput) -} - -// Additional metadata related to shard's underlying supporting resource. -func (o ShardedDatabaseShardDetailOutput) Metadata() pulumi.StringMapOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) map[string]string { return v.Metadata }).(pulumi.StringMapOutput) -} - -// Name of the shard. -func (o ShardedDatabaseShardDetailOutput) Name() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.Name }).(pulumi.StringPtrOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. -func (o ShardedDatabaseShardDetailOutput) PeerCloudAutonomousVmClusterId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.PeerCloudAutonomousVmClusterId }).(pulumi.StringPtrOutput) -} - -// Name of the shard-group to which the shard belongs. -func (o ShardedDatabaseShardDetailOutput) ShardGroup() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.ShardGroup }).(pulumi.StringPtrOutput) -} - -// The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. -func (o ShardedDatabaseShardDetailOutput) ShardSpace() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.ShardSpace }).(pulumi.StringPtrOutput) -} - -// Status of shard or catalog or gsm for the sharded database. -func (o ShardedDatabaseShardDetailOutput) Status() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.Status }).(pulumi.StringPtrOutput) -} - -// Identifier of the underlying supporting resource. -func (o ShardedDatabaseShardDetailOutput) SupportingResourceId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.SupportingResourceId }).(pulumi.StringPtrOutput) -} - -// The time the the Sharded Database was created. An RFC3339 formatted datetime string -func (o ShardedDatabaseShardDetailOutput) TimeCreated() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.TimeCreated }).(pulumi.StringPtrOutput) -} - -// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string -func (o ShardedDatabaseShardDetailOutput) TimeSslCertificateExpires() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.TimeSslCertificateExpires }).(pulumi.StringPtrOutput) -} - -// The time the Sharded Database was last updated. An RFC3339 formatted datetime string -func (o ShardedDatabaseShardDetailOutput) TimeUpdated() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetail) *string { return v.TimeUpdated }).(pulumi.StringPtrOutput) -} - -type ShardedDatabaseShardDetailArrayOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseShardDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]ShardedDatabaseShardDetail)(nil)).Elem() -} - -func (o ShardedDatabaseShardDetailArrayOutput) ToShardedDatabaseShardDetailArrayOutput() ShardedDatabaseShardDetailArrayOutput { - return o -} - -func (o ShardedDatabaseShardDetailArrayOutput) ToShardedDatabaseShardDetailArrayOutputWithContext(ctx context.Context) ShardedDatabaseShardDetailArrayOutput { - return o -} - -func (o ShardedDatabaseShardDetailArrayOutput) Index(i pulumi.IntInput) ShardedDatabaseShardDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) ShardedDatabaseShardDetail { - return vs[0].([]ShardedDatabaseShardDetail)[vs[1].(int)] - }).(ShardedDatabaseShardDetailOutput) -} - -type ShardedDatabaseShardDetailEncryptionKeyDetails struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - KmsKeyId string `pulumi:"kmsKeyId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - KmsKeyVersionId *string `pulumi:"kmsKeyVersionId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - VaultId string `pulumi:"vaultId"` -} - -// ShardedDatabaseShardDetailEncryptionKeyDetailsInput is an input type that accepts ShardedDatabaseShardDetailEncryptionKeyDetailsArgs and ShardedDatabaseShardDetailEncryptionKeyDetailsOutput values. -// You can construct a concrete instance of `ShardedDatabaseShardDetailEncryptionKeyDetailsInput` via: -// -// ShardedDatabaseShardDetailEncryptionKeyDetailsArgs{...} -type ShardedDatabaseShardDetailEncryptionKeyDetailsInput interface { - pulumi.Input - - ToShardedDatabaseShardDetailEncryptionKeyDetailsOutput() ShardedDatabaseShardDetailEncryptionKeyDetailsOutput - ToShardedDatabaseShardDetailEncryptionKeyDetailsOutputWithContext(context.Context) ShardedDatabaseShardDetailEncryptionKeyDetailsOutput -} - -type ShardedDatabaseShardDetailEncryptionKeyDetailsArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - KmsKeyVersionId pulumi.StringPtrInput `pulumi:"kmsKeyVersionId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - VaultId pulumi.StringInput `pulumi:"vaultId"` -} - -func (ShardedDatabaseShardDetailEncryptionKeyDetailsArgs) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseShardDetailEncryptionKeyDetails)(nil)).Elem() -} - -func (i ShardedDatabaseShardDetailEncryptionKeyDetailsArgs) ToShardedDatabaseShardDetailEncryptionKeyDetailsOutput() ShardedDatabaseShardDetailEncryptionKeyDetailsOutput { - return i.ToShardedDatabaseShardDetailEncryptionKeyDetailsOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseShardDetailEncryptionKeyDetailsArgs) ToShardedDatabaseShardDetailEncryptionKeyDetailsOutputWithContext(ctx context.Context) ShardedDatabaseShardDetailEncryptionKeyDetailsOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseShardDetailEncryptionKeyDetailsOutput) -} - -func (i ShardedDatabaseShardDetailEncryptionKeyDetailsArgs) ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput() ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput { - return i.ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseShardDetailEncryptionKeyDetailsArgs) ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutputWithContext(ctx context.Context) ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseShardDetailEncryptionKeyDetailsOutput).ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutputWithContext(ctx) -} - -// ShardedDatabaseShardDetailEncryptionKeyDetailsPtrInput is an input type that accepts ShardedDatabaseShardDetailEncryptionKeyDetailsArgs, ShardedDatabaseShardDetailEncryptionKeyDetailsPtr and ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput values. -// You can construct a concrete instance of `ShardedDatabaseShardDetailEncryptionKeyDetailsPtrInput` via: -// -// ShardedDatabaseShardDetailEncryptionKeyDetailsArgs{...} -// -// or: -// -// nil -type ShardedDatabaseShardDetailEncryptionKeyDetailsPtrInput interface { - pulumi.Input - - ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput() ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput - ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutputWithContext(context.Context) ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput -} - -type shardedDatabaseShardDetailEncryptionKeyDetailsPtrType ShardedDatabaseShardDetailEncryptionKeyDetailsArgs - -func ShardedDatabaseShardDetailEncryptionKeyDetailsPtr(v *ShardedDatabaseShardDetailEncryptionKeyDetailsArgs) ShardedDatabaseShardDetailEncryptionKeyDetailsPtrInput { - return (*shardedDatabaseShardDetailEncryptionKeyDetailsPtrType)(v) -} - -func (*shardedDatabaseShardDetailEncryptionKeyDetailsPtrType) ElementType() reflect.Type { - return reflect.TypeOf((**ShardedDatabaseShardDetailEncryptionKeyDetails)(nil)).Elem() -} - -func (i *shardedDatabaseShardDetailEncryptionKeyDetailsPtrType) ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput() ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput { - return i.ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutputWithContext(context.Background()) -} - -func (i *shardedDatabaseShardDetailEncryptionKeyDetailsPtrType) ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutputWithContext(ctx context.Context) ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput) -} - -type ShardedDatabaseShardDetailEncryptionKeyDetailsOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseShardDetailEncryptionKeyDetailsOutput) ElementType() reflect.Type { - return reflect.TypeOf((*ShardedDatabaseShardDetailEncryptionKeyDetails)(nil)).Elem() -} - -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsOutput) ToShardedDatabaseShardDetailEncryptionKeyDetailsOutput() ShardedDatabaseShardDetailEncryptionKeyDetailsOutput { - return o -} - -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsOutput) ToShardedDatabaseShardDetailEncryptionKeyDetailsOutputWithContext(ctx context.Context) ShardedDatabaseShardDetailEncryptionKeyDetailsOutput { - return o -} - -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsOutput) ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput() ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput { - return o.ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutputWithContext(context.Background()) -} - -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsOutput) ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutputWithContext(ctx context.Context) ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v ShardedDatabaseShardDetailEncryptionKeyDetails) *ShardedDatabaseShardDetailEncryptionKeyDetails { - return &v - }).(ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsOutput) KmsKeyId() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetailEncryptionKeyDetails) string { return v.KmsKeyId }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsOutput) KmsKeyVersionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetailEncryptionKeyDetails) *string { return v.KmsKeyVersionId }).(pulumi.StringPtrOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsOutput) VaultId() pulumi.StringOutput { - return o.ApplyT(func(v ShardedDatabaseShardDetailEncryptionKeyDetails) string { return v.VaultId }).(pulumi.StringOutput) -} - -type ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ShardedDatabaseShardDetailEncryptionKeyDetails)(nil)).Elem() -} - -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput) ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput() ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput { - return o -} - -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput) ToShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutputWithContext(ctx context.Context) ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput { - return o -} - -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput) Elem() ShardedDatabaseShardDetailEncryptionKeyDetailsOutput { - return o.ApplyT(func(v *ShardedDatabaseShardDetailEncryptionKeyDetails) ShardedDatabaseShardDetailEncryptionKeyDetails { - if v != nil { - return *v - } - var ret ShardedDatabaseShardDetailEncryptionKeyDetails - return ret - }).(ShardedDatabaseShardDetailEncryptionKeyDetailsOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput) KmsKeyId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ShardedDatabaseShardDetailEncryptionKeyDetails) *string { - if v == nil { - return nil - } - return &v.KmsKeyId - }).(pulumi.StringPtrOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput) KmsKeyVersionId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ShardedDatabaseShardDetailEncryptionKeyDetails) *string { - if v == nil { - return nil - } - return v.KmsKeyVersionId - }).(pulumi.StringPtrOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. -func (o ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput) VaultId() pulumi.StringPtrOutput { - return o.ApplyT(func(v *ShardedDatabaseShardDetailEncryptionKeyDetails) *string { - if v == nil { - return nil - } - return &v.VaultId - }).(pulumi.StringPtrOutput) -} - -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) -} - -// 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) -} - -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) 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) Index(i pulumi.IntInput) GetPrivateEndpointsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateEndpointsFilter { - return vs[0].([]GetPrivateEndpointsFilter)[vs[1].(int)] - }).(GetPrivateEndpointsFilterOutput) -} - -type GetPrivateEndpointsPrivateEndpointCollection struct { - Items []GetPrivateEndpointsPrivateEndpointCollectionItem `pulumi:"items"` -} - -// GetPrivateEndpointsPrivateEndpointCollectionInput is an input type that accepts GetPrivateEndpointsPrivateEndpointCollectionArgs and GetPrivateEndpointsPrivateEndpointCollectionOutput values. -// You can construct a concrete instance of `GetPrivateEndpointsPrivateEndpointCollectionInput` via: -// -// GetPrivateEndpointsPrivateEndpointCollectionArgs{...} -type GetPrivateEndpointsPrivateEndpointCollectionInput interface { - pulumi.Input - - ToGetPrivateEndpointsPrivateEndpointCollectionOutput() GetPrivateEndpointsPrivateEndpointCollectionOutput - ToGetPrivateEndpointsPrivateEndpointCollectionOutputWithContext(context.Context) GetPrivateEndpointsPrivateEndpointCollectionOutput -} - -type GetPrivateEndpointsPrivateEndpointCollectionArgs struct { - Items GetPrivateEndpointsPrivateEndpointCollectionItemArrayInput `pulumi:"items"` -} - -func (GetPrivateEndpointsPrivateEndpointCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateEndpointsPrivateEndpointCollection)(nil)).Elem() -} - -func (i GetPrivateEndpointsPrivateEndpointCollectionArgs) ToGetPrivateEndpointsPrivateEndpointCollectionOutput() GetPrivateEndpointsPrivateEndpointCollectionOutput { - return i.ToGetPrivateEndpointsPrivateEndpointCollectionOutputWithContext(context.Background()) -} - -func (i GetPrivateEndpointsPrivateEndpointCollectionArgs) ToGetPrivateEndpointsPrivateEndpointCollectionOutputWithContext(ctx context.Context) GetPrivateEndpointsPrivateEndpointCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateEndpointsPrivateEndpointCollectionOutput) -} - -// GetPrivateEndpointsPrivateEndpointCollectionArrayInput is an input type that accepts GetPrivateEndpointsPrivateEndpointCollectionArray and GetPrivateEndpointsPrivateEndpointCollectionArrayOutput values. -// You can construct a concrete instance of `GetPrivateEndpointsPrivateEndpointCollectionArrayInput` via: -// -// GetPrivateEndpointsPrivateEndpointCollectionArray{ GetPrivateEndpointsPrivateEndpointCollectionArgs{...} } -type GetPrivateEndpointsPrivateEndpointCollectionArrayInput interface { - pulumi.Input - - ToGetPrivateEndpointsPrivateEndpointCollectionArrayOutput() GetPrivateEndpointsPrivateEndpointCollectionArrayOutput - ToGetPrivateEndpointsPrivateEndpointCollectionArrayOutputWithContext(context.Context) GetPrivateEndpointsPrivateEndpointCollectionArrayOutput -} - -type GetPrivateEndpointsPrivateEndpointCollectionArray []GetPrivateEndpointsPrivateEndpointCollectionInput - -func (GetPrivateEndpointsPrivateEndpointCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateEndpointsPrivateEndpointCollection)(nil)).Elem() -} - -func (i GetPrivateEndpointsPrivateEndpointCollectionArray) ToGetPrivateEndpointsPrivateEndpointCollectionArrayOutput() GetPrivateEndpointsPrivateEndpointCollectionArrayOutput { - return i.ToGetPrivateEndpointsPrivateEndpointCollectionArrayOutputWithContext(context.Background()) -} - -func (i GetPrivateEndpointsPrivateEndpointCollectionArray) ToGetPrivateEndpointsPrivateEndpointCollectionArrayOutputWithContext(ctx context.Context) GetPrivateEndpointsPrivateEndpointCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateEndpointsPrivateEndpointCollectionArrayOutput) -} - -type GetPrivateEndpointsPrivateEndpointCollectionOutput struct{ *pulumi.OutputState } - -func (GetPrivateEndpointsPrivateEndpointCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateEndpointsPrivateEndpointCollection)(nil)).Elem() -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionOutput) ToGetPrivateEndpointsPrivateEndpointCollectionOutput() GetPrivateEndpointsPrivateEndpointCollectionOutput { - return o -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionOutput) ToGetPrivateEndpointsPrivateEndpointCollectionOutputWithContext(ctx context.Context) GetPrivateEndpointsPrivateEndpointCollectionOutput { - return o -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionOutput) Items() GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollection) []GetPrivateEndpointsPrivateEndpointCollectionItem { - return v.Items - }).(GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput) -} - -type GetPrivateEndpointsPrivateEndpointCollectionArrayOutput struct{ *pulumi.OutputState } - -func (GetPrivateEndpointsPrivateEndpointCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateEndpointsPrivateEndpointCollection)(nil)).Elem() -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionArrayOutput) ToGetPrivateEndpointsPrivateEndpointCollectionArrayOutput() GetPrivateEndpointsPrivateEndpointCollectionArrayOutput { - return o -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionArrayOutput) ToGetPrivateEndpointsPrivateEndpointCollectionArrayOutputWithContext(ctx context.Context) GetPrivateEndpointsPrivateEndpointCollectionArrayOutput { - return o -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionArrayOutput) Index(i pulumi.IntInput) GetPrivateEndpointsPrivateEndpointCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateEndpointsPrivateEndpointCollection { - return vs[0].([]GetPrivateEndpointsPrivateEndpointCollection)[vs[1].(int)] - }).(GetPrivateEndpointsPrivateEndpointCollectionOutput) -} - -type GetPrivateEndpointsPrivateEndpointCollectionItem struct { - // The ID 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]string `pulumi:"definedTags"` - // PrivateEndpoint description. - Description string `pulumi:"description"` - // A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - 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]string `pulumi:"freeformTags"` - // The identifier of the Private Endpoint. - Id string `pulumi:"id"` - // Detailed message for the lifecycle state. - LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` - // The OCIDs of the network security groups that the private endpoint belongs to. - NsgIds []string `pulumi:"nsgIds"` - // IP address of the Private Endpoint. - PrivateIp string `pulumi:"privateIp"` - // The OCIDs of sharded databases that consumes the given private endpoint. - ShardedDatabases []string `pulumi:"shardedDatabases"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - State string `pulumi:"state"` - // Identifier of the subnet in which private endpoint exists. - SubnetId string `pulumi:"subnetId"` - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags map[string]string `pulumi:"systemTags"` - // The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - TimeCreated string `pulumi:"timeCreated"` - // The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - TimeUpdated string `pulumi:"timeUpdated"` - // Identifier of the VCN in which subnet exists. - VcnId string `pulumi:"vcnId"` -} - -// GetPrivateEndpointsPrivateEndpointCollectionItemInput is an input type that accepts GetPrivateEndpointsPrivateEndpointCollectionItemArgs and GetPrivateEndpointsPrivateEndpointCollectionItemOutput values. -// You can construct a concrete instance of `GetPrivateEndpointsPrivateEndpointCollectionItemInput` via: -// -// GetPrivateEndpointsPrivateEndpointCollectionItemArgs{...} -type GetPrivateEndpointsPrivateEndpointCollectionItemInput interface { - pulumi.Input - - ToGetPrivateEndpointsPrivateEndpointCollectionItemOutput() GetPrivateEndpointsPrivateEndpointCollectionItemOutput - ToGetPrivateEndpointsPrivateEndpointCollectionItemOutputWithContext(context.Context) GetPrivateEndpointsPrivateEndpointCollectionItemOutput -} - -type GetPrivateEndpointsPrivateEndpointCollectionItemArgs struct { - // The ID 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.StringMapInput `pulumi:"definedTags"` - // PrivateEndpoint description. - Description pulumi.StringInput `pulumi:"description"` - // A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - 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.StringMapInput `pulumi:"freeformTags"` - // The identifier of the Private Endpoint. - Id pulumi.StringInput `pulumi:"id"` - // Detailed message for the lifecycle state. - LifecycleStateDetails pulumi.StringInput `pulumi:"lifecycleStateDetails"` - // The OCIDs of the network security groups that the private endpoint belongs to. - NsgIds pulumi.StringArrayInput `pulumi:"nsgIds"` - // IP address of the Private Endpoint. - PrivateIp pulumi.StringInput `pulumi:"privateIp"` - // The OCIDs of sharded databases that consumes the given private endpoint. - ShardedDatabases pulumi.StringArrayInput `pulumi:"shardedDatabases"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - State pulumi.StringInput `pulumi:"state"` - // Identifier of the subnet in which private endpoint exists. - SubnetId pulumi.StringInput `pulumi:"subnetId"` - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags pulumi.StringMapInput `pulumi:"systemTags"` - // The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` - // Identifier of the VCN in which subnet exists. - VcnId pulumi.StringInput `pulumi:"vcnId"` -} - -func (GetPrivateEndpointsPrivateEndpointCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateEndpointsPrivateEndpointCollectionItem)(nil)).Elem() -} - -func (i GetPrivateEndpointsPrivateEndpointCollectionItemArgs) ToGetPrivateEndpointsPrivateEndpointCollectionItemOutput() GetPrivateEndpointsPrivateEndpointCollectionItemOutput { - return i.ToGetPrivateEndpointsPrivateEndpointCollectionItemOutputWithContext(context.Background()) -} - -func (i GetPrivateEndpointsPrivateEndpointCollectionItemArgs) ToGetPrivateEndpointsPrivateEndpointCollectionItemOutputWithContext(ctx context.Context) GetPrivateEndpointsPrivateEndpointCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateEndpointsPrivateEndpointCollectionItemOutput) -} - -// GetPrivateEndpointsPrivateEndpointCollectionItemArrayInput is an input type that accepts GetPrivateEndpointsPrivateEndpointCollectionItemArray and GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetPrivateEndpointsPrivateEndpointCollectionItemArrayInput` via: -// -// GetPrivateEndpointsPrivateEndpointCollectionItemArray{ GetPrivateEndpointsPrivateEndpointCollectionItemArgs{...} } -type GetPrivateEndpointsPrivateEndpointCollectionItemArrayInput interface { - pulumi.Input - - ToGetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput() GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput - ToGetPrivateEndpointsPrivateEndpointCollectionItemArrayOutputWithContext(context.Context) GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput -} - -type GetPrivateEndpointsPrivateEndpointCollectionItemArray []GetPrivateEndpointsPrivateEndpointCollectionItemInput - -func (GetPrivateEndpointsPrivateEndpointCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateEndpointsPrivateEndpointCollectionItem)(nil)).Elem() -} - -func (i GetPrivateEndpointsPrivateEndpointCollectionItemArray) ToGetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput() GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput { - return i.ToGetPrivateEndpointsPrivateEndpointCollectionItemArrayOutputWithContext(context.Background()) -} - -func (i GetPrivateEndpointsPrivateEndpointCollectionItemArray) ToGetPrivateEndpointsPrivateEndpointCollectionItemArrayOutputWithContext(ctx context.Context) GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput) -} - -type GetPrivateEndpointsPrivateEndpointCollectionItemOutput struct{ *pulumi.OutputState } - -func (GetPrivateEndpointsPrivateEndpointCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetPrivateEndpointsPrivateEndpointCollectionItem)(nil)).Elem() -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) ToGetPrivateEndpointsPrivateEndpointCollectionItemOutput() GetPrivateEndpointsPrivateEndpointCollectionItemOutput { - return o -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) ToGetPrivateEndpointsPrivateEndpointCollectionItemOutputWithContext(ctx context.Context) GetPrivateEndpointsPrivateEndpointCollectionItemOutput { - return o -} - -// The ID of the compartment in which to list resources. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) 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 GetPrivateEndpointsPrivateEndpointCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -// PrivateEndpoint description. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) Description() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) string { return v.Description }).(pulumi.StringOutput) -} - -// A filter to return only private endpoint that match the entire name given. The match is not case sensitive. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) 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 GetPrivateEndpointsPrivateEndpointCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -// The identifier of the Private Endpoint. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) string { return v.Id }).(pulumi.StringOutput) -} - -// Detailed message for the lifecycle state. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) LifecycleStateDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) string { return v.LifecycleStateDetails }).(pulumi.StringOutput) -} - -// The OCIDs of the network security groups that the private endpoint belongs to. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) NsgIds() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) []string { return v.NsgIds }).(pulumi.StringArrayOutput) -} - -// IP address of the Private Endpoint. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) PrivateIp() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) string { return v.PrivateIp }).(pulumi.StringOutput) -} - -// The OCIDs of sharded databases that consumes the given private endpoint. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) ShardedDatabases() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) []string { return v.ShardedDatabases }).(pulumi.StringArrayOutput) -} - -// A filter to return only resources their lifecycleState matches the given lifecycleState. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) string { return v.State }).(pulumi.StringOutput) -} - -// Identifier of the subnet in which private endpoint exists. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) SubnetId() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) string { return v.SubnetId }).(pulumi.StringOutput) -} - -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) -} - -// The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -// The time the Private Endpoint was last updated. An RFC3339 formatted datetime string -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -// Identifier of the VCN in which subnet exists. -func (o GetPrivateEndpointsPrivateEndpointCollectionItemOutput) VcnId() pulumi.StringOutput { - return o.ApplyT(func(v GetPrivateEndpointsPrivateEndpointCollectionItem) string { return v.VcnId }).(pulumi.StringOutput) -} - -type GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput struct{ *pulumi.OutputState } - -func (GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetPrivateEndpointsPrivateEndpointCollectionItem)(nil)).Elem() -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput) ToGetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput() GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput { - return o -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput) ToGetPrivateEndpointsPrivateEndpointCollectionItemArrayOutputWithContext(ctx context.Context) GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput { - return o -} - -func (o GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput) Index(i pulumi.IntInput) GetPrivateEndpointsPrivateEndpointCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateEndpointsPrivateEndpointCollectionItem { - return vs[0].([]GetPrivateEndpointsPrivateEndpointCollectionItem)[vs[1].(int)] - }).(GetPrivateEndpointsPrivateEndpointCollectionItemOutput) -} - -type GetShardedDatabaseCatalogDetail struct { - AdminPassword string `pulumi:"adminPassword"` - // Identifier of the primary cloudAutonomousVmCluster for the shard. - CloudAutonomousVmClusterId string `pulumi:"cloudAutonomousVmClusterId"` - // The compute amount available to the underlying autonomous database associated with shard. - ComputeCount float64 `pulumi:"computeCount"` - // Identifier of the underlying container database. - ContainerDatabaseId string `pulumi:"containerDatabaseId"` - // Identifier of the underlying container database parent. - ContainerDatabaseParentId string `pulumi:"containerDatabaseParentId"` - // The data disk group size to be allocated in GBs. - DataStorageSizeInGbs float64 `pulumi:"dataStorageSizeInGbs"` - // Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - EncryptionKeyDetails []GetShardedDatabaseCatalogDetailEncryptionKeyDetail `pulumi:"encryptionKeyDetails"` - // Determines the auto-scaling mode. - IsAutoScalingEnabled bool `pulumi:"isAutoScalingEnabled"` - // Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - Metadata map[string]string `pulumi:"metadata"` - // Name of the shard. - Name string `pulumi:"name"` - // Identifier of the peer cloudAutonomousVmCluster for the shard. - PeerCloudAutonomousVmClusterId string `pulumi:"peerCloudAutonomousVmClusterId"` - // Name of the shard-group to which the shard belongs. - ShardGroup string `pulumi:"shardGroup"` - // Status of shard or catalog or gsm for the sharded database. - Status string `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId string `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated string `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires string `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated string `pulumi:"timeUpdated"` -} - -// GetShardedDatabaseCatalogDetailInput is an input type that accepts GetShardedDatabaseCatalogDetailArgs and GetShardedDatabaseCatalogDetailOutput values. -// You can construct a concrete instance of `GetShardedDatabaseCatalogDetailInput` via: -// -// GetShardedDatabaseCatalogDetailArgs{...} -type GetShardedDatabaseCatalogDetailInput interface { - pulumi.Input - - ToGetShardedDatabaseCatalogDetailOutput() GetShardedDatabaseCatalogDetailOutput - ToGetShardedDatabaseCatalogDetailOutputWithContext(context.Context) GetShardedDatabaseCatalogDetailOutput -} - -type GetShardedDatabaseCatalogDetailArgs struct { - AdminPassword pulumi.StringInput `pulumi:"adminPassword"` - // Identifier of the primary cloudAutonomousVmCluster for the shard. - CloudAutonomousVmClusterId pulumi.StringInput `pulumi:"cloudAutonomousVmClusterId"` - // The compute amount available to the underlying autonomous database associated with shard. - ComputeCount pulumi.Float64Input `pulumi:"computeCount"` - // Identifier of the underlying container database. - ContainerDatabaseId pulumi.StringInput `pulumi:"containerDatabaseId"` - // Identifier of the underlying container database parent. - ContainerDatabaseParentId pulumi.StringInput `pulumi:"containerDatabaseParentId"` - // The data disk group size to be allocated in GBs. - DataStorageSizeInGbs pulumi.Float64Input `pulumi:"dataStorageSizeInGbs"` - // Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - EncryptionKeyDetails GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayInput `pulumi:"encryptionKeyDetails"` - // Determines the auto-scaling mode. - IsAutoScalingEnabled pulumi.BoolInput `pulumi:"isAutoScalingEnabled"` - // Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - Metadata pulumi.StringMapInput `pulumi:"metadata"` - // Name of the shard. - Name pulumi.StringInput `pulumi:"name"` - // Identifier of the peer cloudAutonomousVmCluster for the shard. - PeerCloudAutonomousVmClusterId pulumi.StringInput `pulumi:"peerCloudAutonomousVmClusterId"` - // Name of the shard-group to which the shard belongs. - ShardGroup pulumi.StringInput `pulumi:"shardGroup"` - // Status of shard or catalog or gsm for the sharded database. - Status pulumi.StringInput `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId pulumi.StringInput `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires pulumi.StringInput `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` -} - -func (GetShardedDatabaseCatalogDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseCatalogDetail)(nil)).Elem() -} - -func (i GetShardedDatabaseCatalogDetailArgs) ToGetShardedDatabaseCatalogDetailOutput() GetShardedDatabaseCatalogDetailOutput { - return i.ToGetShardedDatabaseCatalogDetailOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseCatalogDetailArgs) ToGetShardedDatabaseCatalogDetailOutputWithContext(ctx context.Context) GetShardedDatabaseCatalogDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseCatalogDetailOutput) -} - -// GetShardedDatabaseCatalogDetailArrayInput is an input type that accepts GetShardedDatabaseCatalogDetailArray and GetShardedDatabaseCatalogDetailArrayOutput values. -// You can construct a concrete instance of `GetShardedDatabaseCatalogDetailArrayInput` via: -// -// GetShardedDatabaseCatalogDetailArray{ GetShardedDatabaseCatalogDetailArgs{...} } -type GetShardedDatabaseCatalogDetailArrayInput interface { - pulumi.Input - - ToGetShardedDatabaseCatalogDetailArrayOutput() GetShardedDatabaseCatalogDetailArrayOutput - ToGetShardedDatabaseCatalogDetailArrayOutputWithContext(context.Context) GetShardedDatabaseCatalogDetailArrayOutput -} - -type GetShardedDatabaseCatalogDetailArray []GetShardedDatabaseCatalogDetailInput - -func (GetShardedDatabaseCatalogDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseCatalogDetail)(nil)).Elem() -} - -func (i GetShardedDatabaseCatalogDetailArray) ToGetShardedDatabaseCatalogDetailArrayOutput() GetShardedDatabaseCatalogDetailArrayOutput { - return i.ToGetShardedDatabaseCatalogDetailArrayOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseCatalogDetailArray) ToGetShardedDatabaseCatalogDetailArrayOutputWithContext(ctx context.Context) GetShardedDatabaseCatalogDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseCatalogDetailArrayOutput) -} - -type GetShardedDatabaseCatalogDetailOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseCatalogDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseCatalogDetail)(nil)).Elem() -} - -func (o GetShardedDatabaseCatalogDetailOutput) ToGetShardedDatabaseCatalogDetailOutput() GetShardedDatabaseCatalogDetailOutput { - return o -} - -func (o GetShardedDatabaseCatalogDetailOutput) ToGetShardedDatabaseCatalogDetailOutputWithContext(ctx context.Context) GetShardedDatabaseCatalogDetailOutput { - return o -} - -func (o GetShardedDatabaseCatalogDetailOutput) AdminPassword() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.AdminPassword }).(pulumi.StringOutput) -} - -// Identifier of the primary cloudAutonomousVmCluster for the shard. -func (o GetShardedDatabaseCatalogDetailOutput) CloudAutonomousVmClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.CloudAutonomousVmClusterId }).(pulumi.StringOutput) -} - -// The compute amount available to the underlying autonomous database associated with shard. -func (o GetShardedDatabaseCatalogDetailOutput) ComputeCount() pulumi.Float64Output { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) float64 { return v.ComputeCount }).(pulumi.Float64Output) -} - -// Identifier of the underlying container database. -func (o GetShardedDatabaseCatalogDetailOutput) ContainerDatabaseId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.ContainerDatabaseId }).(pulumi.StringOutput) -} - -// Identifier of the underlying container database parent. -func (o GetShardedDatabaseCatalogDetailOutput) ContainerDatabaseParentId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.ContainerDatabaseParentId }).(pulumi.StringOutput) -} - -// The data disk group size to be allocated in GBs. -func (o GetShardedDatabaseCatalogDetailOutput) DataStorageSizeInGbs() pulumi.Float64Output { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) float64 { return v.DataStorageSizeInGbs }).(pulumi.Float64Output) -} - -// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). -func (o GetShardedDatabaseCatalogDetailOutput) EncryptionKeyDetails() GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) []GetShardedDatabaseCatalogDetailEncryptionKeyDetail { - return v.EncryptionKeyDetails - }).(GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput) -} - -// Determines the auto-scaling mode. -func (o GetShardedDatabaseCatalogDetailOutput) IsAutoScalingEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) bool { return v.IsAutoScalingEnabled }).(pulumi.BoolOutput) -} - -// Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. -func (o GetShardedDatabaseCatalogDetailOutput) Metadata() pulumi.StringMapOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) map[string]string { return v.Metadata }).(pulumi.StringMapOutput) -} - -// Name of the shard. -func (o GetShardedDatabaseCatalogDetailOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.Name }).(pulumi.StringOutput) -} - -// Identifier of the peer cloudAutonomousVmCluster for the shard. -func (o GetShardedDatabaseCatalogDetailOutput) PeerCloudAutonomousVmClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.PeerCloudAutonomousVmClusterId }).(pulumi.StringOutput) -} - -// Name of the shard-group to which the shard belongs. -func (o GetShardedDatabaseCatalogDetailOutput) ShardGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.ShardGroup }).(pulumi.StringOutput) -} - -// Status of shard or catalog or gsm for the sharded database. -func (o GetShardedDatabaseCatalogDetailOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.Status }).(pulumi.StringOutput) -} - -// Identifier of the underlying supporting resource. -func (o GetShardedDatabaseCatalogDetailOutput) SupportingResourceId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.SupportingResourceId }).(pulumi.StringOutput) -} - -// The time the the Sharded Database was created. An RFC3339 formatted datetime string -func (o GetShardedDatabaseCatalogDetailOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string -func (o GetShardedDatabaseCatalogDetailOutput) TimeSslCertificateExpires() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.TimeSslCertificateExpires }).(pulumi.StringOutput) -} - -// The time the Sharded Database was last updated. An RFC3339 formatted datetime string -func (o GetShardedDatabaseCatalogDetailOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetail) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -type GetShardedDatabaseCatalogDetailArrayOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseCatalogDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseCatalogDetail)(nil)).Elem() -} - -func (o GetShardedDatabaseCatalogDetailArrayOutput) ToGetShardedDatabaseCatalogDetailArrayOutput() GetShardedDatabaseCatalogDetailArrayOutput { - return o -} - -func (o GetShardedDatabaseCatalogDetailArrayOutput) ToGetShardedDatabaseCatalogDetailArrayOutputWithContext(ctx context.Context) GetShardedDatabaseCatalogDetailArrayOutput { - return o -} - -func (o GetShardedDatabaseCatalogDetailArrayOutput) Index(i pulumi.IntInput) GetShardedDatabaseCatalogDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShardedDatabaseCatalogDetail { - return vs[0].([]GetShardedDatabaseCatalogDetail)[vs[1].(int)] - }).(GetShardedDatabaseCatalogDetailOutput) -} - -type GetShardedDatabaseCatalogDetailEncryptionKeyDetail struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - KmsKeyId string `pulumi:"kmsKeyId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - KmsKeyVersionId string `pulumi:"kmsKeyVersionId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - VaultId string `pulumi:"vaultId"` -} - -// GetShardedDatabaseCatalogDetailEncryptionKeyDetailInput is an input type that accepts GetShardedDatabaseCatalogDetailEncryptionKeyDetailArgs and GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput values. -// You can construct a concrete instance of `GetShardedDatabaseCatalogDetailEncryptionKeyDetailInput` via: -// -// GetShardedDatabaseCatalogDetailEncryptionKeyDetailArgs{...} -type GetShardedDatabaseCatalogDetailEncryptionKeyDetailInput interface { - pulumi.Input - - ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput() GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput - ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailOutputWithContext(context.Context) GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput -} - -type GetShardedDatabaseCatalogDetailEncryptionKeyDetailArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - KmsKeyVersionId pulumi.StringInput `pulumi:"kmsKeyVersionId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - VaultId pulumi.StringInput `pulumi:"vaultId"` -} - -func (GetShardedDatabaseCatalogDetailEncryptionKeyDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseCatalogDetailEncryptionKeyDetail)(nil)).Elem() -} - -func (i GetShardedDatabaseCatalogDetailEncryptionKeyDetailArgs) ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput() GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput { - return i.ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseCatalogDetailEncryptionKeyDetailArgs) ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailOutputWithContext(ctx context.Context) GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput) -} - -// GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayInput is an input type that accepts GetShardedDatabaseCatalogDetailEncryptionKeyDetailArray and GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput values. -// You can construct a concrete instance of `GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayInput` via: -// -// GetShardedDatabaseCatalogDetailEncryptionKeyDetailArray{ GetShardedDatabaseCatalogDetailEncryptionKeyDetailArgs{...} } -type GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayInput interface { - pulumi.Input - - ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput() GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput - ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutputWithContext(context.Context) GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput -} - -type GetShardedDatabaseCatalogDetailEncryptionKeyDetailArray []GetShardedDatabaseCatalogDetailEncryptionKeyDetailInput - -func (GetShardedDatabaseCatalogDetailEncryptionKeyDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseCatalogDetailEncryptionKeyDetail)(nil)).Elem() -} - -func (i GetShardedDatabaseCatalogDetailEncryptionKeyDetailArray) ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput() GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput { - return i.ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseCatalogDetailEncryptionKeyDetailArray) ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutputWithContext(ctx context.Context) GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput) -} - -type GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseCatalogDetailEncryptionKeyDetail)(nil)).Elem() -} - -func (o GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput) ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput() GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput { - return o -} - -func (o GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput) ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailOutputWithContext(ctx context.Context) GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput { - return o -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. -func (o GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput) KmsKeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetailEncryptionKeyDetail) string { return v.KmsKeyId }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. -func (o GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput) KmsKeyVersionId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetailEncryptionKeyDetail) string { return v.KmsKeyVersionId }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. -func (o GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput) VaultId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseCatalogDetailEncryptionKeyDetail) string { return v.VaultId }).(pulumi.StringOutput) -} - -type GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseCatalogDetailEncryptionKeyDetail)(nil)).Elem() -} - -func (o GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput) ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput() GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput { - return o -} - -func (o GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput) ToGetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutputWithContext(ctx context.Context) GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput { - return o -} - -func (o GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput) Index(i pulumi.IntInput) GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShardedDatabaseCatalogDetailEncryptionKeyDetail { - return vs[0].([]GetShardedDatabaseCatalogDetailEncryptionKeyDetail)[vs[1].(int)] - }).(GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput) -} - -type GetShardedDatabaseConnectionString struct { - // Collection of connection strings. - AllConnectionStrings map[string]string `pulumi:"allConnectionStrings"` -} - -// GetShardedDatabaseConnectionStringInput is an input type that accepts GetShardedDatabaseConnectionStringArgs and GetShardedDatabaseConnectionStringOutput values. -// You can construct a concrete instance of `GetShardedDatabaseConnectionStringInput` via: -// -// GetShardedDatabaseConnectionStringArgs{...} -type GetShardedDatabaseConnectionStringInput interface { - pulumi.Input - - ToGetShardedDatabaseConnectionStringOutput() GetShardedDatabaseConnectionStringOutput - ToGetShardedDatabaseConnectionStringOutputWithContext(context.Context) GetShardedDatabaseConnectionStringOutput -} - -type GetShardedDatabaseConnectionStringArgs struct { - // Collection of connection strings. - AllConnectionStrings pulumi.StringMapInput `pulumi:"allConnectionStrings"` -} - -func (GetShardedDatabaseConnectionStringArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseConnectionString)(nil)).Elem() -} - -func (i GetShardedDatabaseConnectionStringArgs) ToGetShardedDatabaseConnectionStringOutput() GetShardedDatabaseConnectionStringOutput { - return i.ToGetShardedDatabaseConnectionStringOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseConnectionStringArgs) ToGetShardedDatabaseConnectionStringOutputWithContext(ctx context.Context) GetShardedDatabaseConnectionStringOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseConnectionStringOutput) -} - -// GetShardedDatabaseConnectionStringArrayInput is an input type that accepts GetShardedDatabaseConnectionStringArray and GetShardedDatabaseConnectionStringArrayOutput values. -// You can construct a concrete instance of `GetShardedDatabaseConnectionStringArrayInput` via: -// -// GetShardedDatabaseConnectionStringArray{ GetShardedDatabaseConnectionStringArgs{...} } -type GetShardedDatabaseConnectionStringArrayInput interface { - pulumi.Input - - ToGetShardedDatabaseConnectionStringArrayOutput() GetShardedDatabaseConnectionStringArrayOutput - ToGetShardedDatabaseConnectionStringArrayOutputWithContext(context.Context) GetShardedDatabaseConnectionStringArrayOutput -} - -type GetShardedDatabaseConnectionStringArray []GetShardedDatabaseConnectionStringInput - -func (GetShardedDatabaseConnectionStringArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseConnectionString)(nil)).Elem() -} - -func (i GetShardedDatabaseConnectionStringArray) ToGetShardedDatabaseConnectionStringArrayOutput() GetShardedDatabaseConnectionStringArrayOutput { - return i.ToGetShardedDatabaseConnectionStringArrayOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseConnectionStringArray) ToGetShardedDatabaseConnectionStringArrayOutputWithContext(ctx context.Context) GetShardedDatabaseConnectionStringArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseConnectionStringArrayOutput) -} - -type GetShardedDatabaseConnectionStringOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseConnectionStringOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseConnectionString)(nil)).Elem() -} - -func (o GetShardedDatabaseConnectionStringOutput) ToGetShardedDatabaseConnectionStringOutput() GetShardedDatabaseConnectionStringOutput { - return o -} - -func (o GetShardedDatabaseConnectionStringOutput) ToGetShardedDatabaseConnectionStringOutputWithContext(ctx context.Context) GetShardedDatabaseConnectionStringOutput { - return o -} - -// Collection of connection strings. -func (o GetShardedDatabaseConnectionStringOutput) AllConnectionStrings() pulumi.StringMapOutput { - return o.ApplyT(func(v GetShardedDatabaseConnectionString) map[string]string { return v.AllConnectionStrings }).(pulumi.StringMapOutput) -} - -type GetShardedDatabaseConnectionStringArrayOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseConnectionStringArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseConnectionString)(nil)).Elem() -} - -func (o GetShardedDatabaseConnectionStringArrayOutput) ToGetShardedDatabaseConnectionStringArrayOutput() GetShardedDatabaseConnectionStringArrayOutput { - return o -} - -func (o GetShardedDatabaseConnectionStringArrayOutput) ToGetShardedDatabaseConnectionStringArrayOutputWithContext(ctx context.Context) GetShardedDatabaseConnectionStringArrayOutput { - return o -} - -func (o GetShardedDatabaseConnectionStringArrayOutput) Index(i pulumi.IntInput) GetShardedDatabaseConnectionStringOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShardedDatabaseConnectionString { - return vs[0].([]GetShardedDatabaseConnectionString)[vs[1].(int)] - }).(GetShardedDatabaseConnectionStringOutput) -} - -type GetShardedDatabaseGsm struct { - // The compute amount available to the underlying autonomous database associated with shard. - ComputeCount float64 `pulumi:"computeCount"` - // The data disk group size to be allocated in GBs. - DataStorageSizeInGbs float64 `pulumi:"dataStorageSizeInGbs"` - // Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - Metadata map[string]string `pulumi:"metadata"` - // Name of the shard. - Name string `pulumi:"name"` - // Status of shard or catalog or gsm for the sharded database. - Status string `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId string `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated string `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires string `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated string `pulumi:"timeUpdated"` -} - -// GetShardedDatabaseGsmInput is an input type that accepts GetShardedDatabaseGsmArgs and GetShardedDatabaseGsmOutput values. -// You can construct a concrete instance of `GetShardedDatabaseGsmInput` via: -// -// GetShardedDatabaseGsmArgs{...} -type GetShardedDatabaseGsmInput interface { - pulumi.Input - - ToGetShardedDatabaseGsmOutput() GetShardedDatabaseGsmOutput - ToGetShardedDatabaseGsmOutputWithContext(context.Context) GetShardedDatabaseGsmOutput -} - -type GetShardedDatabaseGsmArgs struct { - // The compute amount available to the underlying autonomous database associated with shard. - ComputeCount pulumi.Float64Input `pulumi:"computeCount"` - // The data disk group size to be allocated in GBs. - DataStorageSizeInGbs pulumi.Float64Input `pulumi:"dataStorageSizeInGbs"` - // Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - Metadata pulumi.StringMapInput `pulumi:"metadata"` - // Name of the shard. - Name pulumi.StringInput `pulumi:"name"` - // Status of shard or catalog or gsm for the sharded database. - Status pulumi.StringInput `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId pulumi.StringInput `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires pulumi.StringInput `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` -} - -func (GetShardedDatabaseGsmArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseGsm)(nil)).Elem() -} - -func (i GetShardedDatabaseGsmArgs) ToGetShardedDatabaseGsmOutput() GetShardedDatabaseGsmOutput { - return i.ToGetShardedDatabaseGsmOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseGsmArgs) ToGetShardedDatabaseGsmOutputWithContext(ctx context.Context) GetShardedDatabaseGsmOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseGsmOutput) -} - -// GetShardedDatabaseGsmArrayInput is an input type that accepts GetShardedDatabaseGsmArray and GetShardedDatabaseGsmArrayOutput values. -// You can construct a concrete instance of `GetShardedDatabaseGsmArrayInput` via: -// -// GetShardedDatabaseGsmArray{ GetShardedDatabaseGsmArgs{...} } -type GetShardedDatabaseGsmArrayInput interface { - pulumi.Input - - ToGetShardedDatabaseGsmArrayOutput() GetShardedDatabaseGsmArrayOutput - ToGetShardedDatabaseGsmArrayOutputWithContext(context.Context) GetShardedDatabaseGsmArrayOutput -} - -type GetShardedDatabaseGsmArray []GetShardedDatabaseGsmInput - -func (GetShardedDatabaseGsmArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseGsm)(nil)).Elem() -} - -func (i GetShardedDatabaseGsmArray) ToGetShardedDatabaseGsmArrayOutput() GetShardedDatabaseGsmArrayOutput { - return i.ToGetShardedDatabaseGsmArrayOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseGsmArray) ToGetShardedDatabaseGsmArrayOutputWithContext(ctx context.Context) GetShardedDatabaseGsmArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseGsmArrayOutput) -} - -type GetShardedDatabaseGsmOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseGsmOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseGsm)(nil)).Elem() -} - -func (o GetShardedDatabaseGsmOutput) ToGetShardedDatabaseGsmOutput() GetShardedDatabaseGsmOutput { - return o -} - -func (o GetShardedDatabaseGsmOutput) ToGetShardedDatabaseGsmOutputWithContext(ctx context.Context) GetShardedDatabaseGsmOutput { - return o -} - -// The compute amount available to the underlying autonomous database associated with shard. -func (o GetShardedDatabaseGsmOutput) ComputeCount() pulumi.Float64Output { - return o.ApplyT(func(v GetShardedDatabaseGsm) float64 { return v.ComputeCount }).(pulumi.Float64Output) -} - -// The data disk group size to be allocated in GBs. -func (o GetShardedDatabaseGsmOutput) DataStorageSizeInGbs() pulumi.Float64Output { - return o.ApplyT(func(v GetShardedDatabaseGsm) float64 { return v.DataStorageSizeInGbs }).(pulumi.Float64Output) -} - -// Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. -func (o GetShardedDatabaseGsmOutput) Metadata() pulumi.StringMapOutput { - return o.ApplyT(func(v GetShardedDatabaseGsm) map[string]string { return v.Metadata }).(pulumi.StringMapOutput) -} - -// Name of the shard. -func (o GetShardedDatabaseGsmOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseGsm) string { return v.Name }).(pulumi.StringOutput) -} - -// Status of shard or catalog or gsm for the sharded database. -func (o GetShardedDatabaseGsmOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseGsm) string { return v.Status }).(pulumi.StringOutput) -} - -// Identifier of the underlying supporting resource. -func (o GetShardedDatabaseGsmOutput) SupportingResourceId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseGsm) string { return v.SupportingResourceId }).(pulumi.StringOutput) -} - -// The time the the Sharded Database was created. An RFC3339 formatted datetime string -func (o GetShardedDatabaseGsmOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseGsm) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string -func (o GetShardedDatabaseGsmOutput) TimeSslCertificateExpires() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseGsm) string { return v.TimeSslCertificateExpires }).(pulumi.StringOutput) -} - -// The time the Sharded Database was last updated. An RFC3339 formatted datetime string -func (o GetShardedDatabaseGsmOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseGsm) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -type GetShardedDatabaseGsmArrayOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseGsmArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseGsm)(nil)).Elem() -} - -func (o GetShardedDatabaseGsmArrayOutput) ToGetShardedDatabaseGsmArrayOutput() GetShardedDatabaseGsmArrayOutput { - return o -} - -func (o GetShardedDatabaseGsmArrayOutput) ToGetShardedDatabaseGsmArrayOutputWithContext(ctx context.Context) GetShardedDatabaseGsmArrayOutput { - return o -} - -func (o GetShardedDatabaseGsmArrayOutput) Index(i pulumi.IntInput) GetShardedDatabaseGsmOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShardedDatabaseGsm { - return vs[0].([]GetShardedDatabaseGsm)[vs[1].(int)] - }).(GetShardedDatabaseGsmOutput) -} - -type GetShardedDatabasePatchOperation struct { - Operation string `pulumi:"operation"` - Selection string `pulumi:"selection"` - Value string `pulumi:"value"` -} - -// GetShardedDatabasePatchOperationInput is an input type that accepts GetShardedDatabasePatchOperationArgs and GetShardedDatabasePatchOperationOutput values. -// You can construct a concrete instance of `GetShardedDatabasePatchOperationInput` via: -// -// GetShardedDatabasePatchOperationArgs{...} -type GetShardedDatabasePatchOperationInput interface { - pulumi.Input - - ToGetShardedDatabasePatchOperationOutput() GetShardedDatabasePatchOperationOutput - ToGetShardedDatabasePatchOperationOutputWithContext(context.Context) GetShardedDatabasePatchOperationOutput -} - -type GetShardedDatabasePatchOperationArgs struct { - Operation pulumi.StringInput `pulumi:"operation"` - Selection pulumi.StringInput `pulumi:"selection"` - Value pulumi.StringInput `pulumi:"value"` -} - -func (GetShardedDatabasePatchOperationArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabasePatchOperation)(nil)).Elem() -} - -func (i GetShardedDatabasePatchOperationArgs) ToGetShardedDatabasePatchOperationOutput() GetShardedDatabasePatchOperationOutput { - return i.ToGetShardedDatabasePatchOperationOutputWithContext(context.Background()) -} - -func (i GetShardedDatabasePatchOperationArgs) ToGetShardedDatabasePatchOperationOutputWithContext(ctx context.Context) GetShardedDatabasePatchOperationOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabasePatchOperationOutput) -} - -// GetShardedDatabasePatchOperationArrayInput is an input type that accepts GetShardedDatabasePatchOperationArray and GetShardedDatabasePatchOperationArrayOutput values. -// You can construct a concrete instance of `GetShardedDatabasePatchOperationArrayInput` via: -// -// GetShardedDatabasePatchOperationArray{ GetShardedDatabasePatchOperationArgs{...} } -type GetShardedDatabasePatchOperationArrayInput interface { - pulumi.Input - - ToGetShardedDatabasePatchOperationArrayOutput() GetShardedDatabasePatchOperationArrayOutput - ToGetShardedDatabasePatchOperationArrayOutputWithContext(context.Context) GetShardedDatabasePatchOperationArrayOutput -} - -type GetShardedDatabasePatchOperationArray []GetShardedDatabasePatchOperationInput - -func (GetShardedDatabasePatchOperationArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabasePatchOperation)(nil)).Elem() -} - -func (i GetShardedDatabasePatchOperationArray) ToGetShardedDatabasePatchOperationArrayOutput() GetShardedDatabasePatchOperationArrayOutput { - return i.ToGetShardedDatabasePatchOperationArrayOutputWithContext(context.Background()) -} - -func (i GetShardedDatabasePatchOperationArray) ToGetShardedDatabasePatchOperationArrayOutputWithContext(ctx context.Context) GetShardedDatabasePatchOperationArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabasePatchOperationArrayOutput) -} - -type GetShardedDatabasePatchOperationOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabasePatchOperationOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabasePatchOperation)(nil)).Elem() -} - -func (o GetShardedDatabasePatchOperationOutput) ToGetShardedDatabasePatchOperationOutput() GetShardedDatabasePatchOperationOutput { - return o -} - -func (o GetShardedDatabasePatchOperationOutput) ToGetShardedDatabasePatchOperationOutputWithContext(ctx context.Context) GetShardedDatabasePatchOperationOutput { - return o -} - -func (o GetShardedDatabasePatchOperationOutput) Operation() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasePatchOperation) string { return v.Operation }).(pulumi.StringOutput) -} - -func (o GetShardedDatabasePatchOperationOutput) Selection() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasePatchOperation) string { return v.Selection }).(pulumi.StringOutput) -} - -func (o GetShardedDatabasePatchOperationOutput) Value() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasePatchOperation) string { return v.Value }).(pulumi.StringOutput) -} - -type GetShardedDatabasePatchOperationArrayOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabasePatchOperationArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabasePatchOperation)(nil)).Elem() -} - -func (o GetShardedDatabasePatchOperationArrayOutput) ToGetShardedDatabasePatchOperationArrayOutput() GetShardedDatabasePatchOperationArrayOutput { - return o -} - -func (o GetShardedDatabasePatchOperationArrayOutput) ToGetShardedDatabasePatchOperationArrayOutputWithContext(ctx context.Context) GetShardedDatabasePatchOperationArrayOutput { - return o -} - -func (o GetShardedDatabasePatchOperationArrayOutput) Index(i pulumi.IntInput) GetShardedDatabasePatchOperationOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShardedDatabasePatchOperation { - return vs[0].([]GetShardedDatabasePatchOperation)[vs[1].(int)] - }).(GetShardedDatabasePatchOperationOutput) -} - -type GetShardedDatabaseShardDetail struct { - AdminPassword string `pulumi:"adminPassword"` - // Identifier of the primary cloudAutonomousVmCluster for the shard. - CloudAutonomousVmClusterId string `pulumi:"cloudAutonomousVmClusterId"` - // The compute amount available to the underlying autonomous database associated with shard. - ComputeCount float64 `pulumi:"computeCount"` - // Identifier of the underlying container database. - ContainerDatabaseId string `pulumi:"containerDatabaseId"` - // Identifier of the underlying container database parent. - ContainerDatabaseParentId string `pulumi:"containerDatabaseParentId"` - // The data disk group size to be allocated in GBs. - DataStorageSizeInGbs float64 `pulumi:"dataStorageSizeInGbs"` - // Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - EncryptionKeyDetails []GetShardedDatabaseShardDetailEncryptionKeyDetail `pulumi:"encryptionKeyDetails"` - // Determines the auto-scaling mode. - IsAutoScalingEnabled bool `pulumi:"isAutoScalingEnabled"` - // Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - Metadata map[string]string `pulumi:"metadata"` - // Name of the shard. - Name string `pulumi:"name"` - // Identifier of the peer cloudAutonomousVmCluster for the shard. - PeerCloudAutonomousVmClusterId string `pulumi:"peerCloudAutonomousVmClusterId"` - // Name of the shard-group to which the shard belongs. - ShardGroup string `pulumi:"shardGroup"` - // Shard space name. - ShardSpace string `pulumi:"shardSpace"` - // Status of shard or catalog or gsm for the sharded database. - Status string `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId string `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated string `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires string `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated string `pulumi:"timeUpdated"` -} - -// GetShardedDatabaseShardDetailInput is an input type that accepts GetShardedDatabaseShardDetailArgs and GetShardedDatabaseShardDetailOutput values. -// You can construct a concrete instance of `GetShardedDatabaseShardDetailInput` via: -// -// GetShardedDatabaseShardDetailArgs{...} -type GetShardedDatabaseShardDetailInput interface { - pulumi.Input - - ToGetShardedDatabaseShardDetailOutput() GetShardedDatabaseShardDetailOutput - ToGetShardedDatabaseShardDetailOutputWithContext(context.Context) GetShardedDatabaseShardDetailOutput -} - -type GetShardedDatabaseShardDetailArgs struct { - AdminPassword pulumi.StringInput `pulumi:"adminPassword"` - // Identifier of the primary cloudAutonomousVmCluster for the shard. - CloudAutonomousVmClusterId pulumi.StringInput `pulumi:"cloudAutonomousVmClusterId"` - // The compute amount available to the underlying autonomous database associated with shard. - ComputeCount pulumi.Float64Input `pulumi:"computeCount"` - // Identifier of the underlying container database. - ContainerDatabaseId pulumi.StringInput `pulumi:"containerDatabaseId"` - // Identifier of the underlying container database parent. - ContainerDatabaseParentId pulumi.StringInput `pulumi:"containerDatabaseParentId"` - // The data disk group size to be allocated in GBs. - DataStorageSizeInGbs pulumi.Float64Input `pulumi:"dataStorageSizeInGbs"` - // Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - EncryptionKeyDetails GetShardedDatabaseShardDetailEncryptionKeyDetailArrayInput `pulumi:"encryptionKeyDetails"` - // Determines the auto-scaling mode. - IsAutoScalingEnabled pulumi.BoolInput `pulumi:"isAutoScalingEnabled"` - // Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - Metadata pulumi.StringMapInput `pulumi:"metadata"` - // Name of the shard. - Name pulumi.StringInput `pulumi:"name"` - // Identifier of the peer cloudAutonomousVmCluster for the shard. - PeerCloudAutonomousVmClusterId pulumi.StringInput `pulumi:"peerCloudAutonomousVmClusterId"` - // Name of the shard-group to which the shard belongs. - ShardGroup pulumi.StringInput `pulumi:"shardGroup"` - // Shard space name. - ShardSpace pulumi.StringInput `pulumi:"shardSpace"` - // Status of shard or catalog or gsm for the sharded database. - Status pulumi.StringInput `pulumi:"status"` - // Identifier of the underlying supporting resource. - SupportingResourceId pulumi.StringInput `pulumi:"supportingResourceId"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - TimeSslCertificateExpires pulumi.StringInput `pulumi:"timeSslCertificateExpires"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` -} - -func (GetShardedDatabaseShardDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseShardDetail)(nil)).Elem() -} - -func (i GetShardedDatabaseShardDetailArgs) ToGetShardedDatabaseShardDetailOutput() GetShardedDatabaseShardDetailOutput { - return i.ToGetShardedDatabaseShardDetailOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseShardDetailArgs) ToGetShardedDatabaseShardDetailOutputWithContext(ctx context.Context) GetShardedDatabaseShardDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseShardDetailOutput) -} - -// GetShardedDatabaseShardDetailArrayInput is an input type that accepts GetShardedDatabaseShardDetailArray and GetShardedDatabaseShardDetailArrayOutput values. -// You can construct a concrete instance of `GetShardedDatabaseShardDetailArrayInput` via: -// -// GetShardedDatabaseShardDetailArray{ GetShardedDatabaseShardDetailArgs{...} } -type GetShardedDatabaseShardDetailArrayInput interface { - pulumi.Input - - ToGetShardedDatabaseShardDetailArrayOutput() GetShardedDatabaseShardDetailArrayOutput - ToGetShardedDatabaseShardDetailArrayOutputWithContext(context.Context) GetShardedDatabaseShardDetailArrayOutput -} - -type GetShardedDatabaseShardDetailArray []GetShardedDatabaseShardDetailInput - -func (GetShardedDatabaseShardDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseShardDetail)(nil)).Elem() -} - -func (i GetShardedDatabaseShardDetailArray) ToGetShardedDatabaseShardDetailArrayOutput() GetShardedDatabaseShardDetailArrayOutput { - return i.ToGetShardedDatabaseShardDetailArrayOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseShardDetailArray) ToGetShardedDatabaseShardDetailArrayOutputWithContext(ctx context.Context) GetShardedDatabaseShardDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseShardDetailArrayOutput) -} - -type GetShardedDatabaseShardDetailOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseShardDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseShardDetail)(nil)).Elem() -} - -func (o GetShardedDatabaseShardDetailOutput) ToGetShardedDatabaseShardDetailOutput() GetShardedDatabaseShardDetailOutput { - return o -} - -func (o GetShardedDatabaseShardDetailOutput) ToGetShardedDatabaseShardDetailOutputWithContext(ctx context.Context) GetShardedDatabaseShardDetailOutput { - return o -} - -func (o GetShardedDatabaseShardDetailOutput) AdminPassword() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.AdminPassword }).(pulumi.StringOutput) -} - -// Identifier of the primary cloudAutonomousVmCluster for the shard. -func (o GetShardedDatabaseShardDetailOutput) CloudAutonomousVmClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.CloudAutonomousVmClusterId }).(pulumi.StringOutput) -} - -// The compute amount available to the underlying autonomous database associated with shard. -func (o GetShardedDatabaseShardDetailOutput) ComputeCount() pulumi.Float64Output { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) float64 { return v.ComputeCount }).(pulumi.Float64Output) -} - -// Identifier of the underlying container database. -func (o GetShardedDatabaseShardDetailOutput) ContainerDatabaseId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.ContainerDatabaseId }).(pulumi.StringOutput) -} - -// Identifier of the underlying container database parent. -func (o GetShardedDatabaseShardDetailOutput) ContainerDatabaseParentId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.ContainerDatabaseParentId }).(pulumi.StringOutput) -} - -// The data disk group size to be allocated in GBs. -func (o GetShardedDatabaseShardDetailOutput) DataStorageSizeInGbs() pulumi.Float64Output { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) float64 { return v.DataStorageSizeInGbs }).(pulumi.Float64Output) -} - -// Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). -func (o GetShardedDatabaseShardDetailOutput) EncryptionKeyDetails() GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) []GetShardedDatabaseShardDetailEncryptionKeyDetail { - return v.EncryptionKeyDetails - }).(GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput) -} - -// Determines the auto-scaling mode. -func (o GetShardedDatabaseShardDetailOutput) IsAutoScalingEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) bool { return v.IsAutoScalingEnabled }).(pulumi.BoolOutput) -} - -// Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. -func (o GetShardedDatabaseShardDetailOutput) Metadata() pulumi.StringMapOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) map[string]string { return v.Metadata }).(pulumi.StringMapOutput) -} - -// Name of the shard. -func (o GetShardedDatabaseShardDetailOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.Name }).(pulumi.StringOutput) -} - -// Identifier of the peer cloudAutonomousVmCluster for the shard. -func (o GetShardedDatabaseShardDetailOutput) PeerCloudAutonomousVmClusterId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.PeerCloudAutonomousVmClusterId }).(pulumi.StringOutput) -} - -// Name of the shard-group to which the shard belongs. -func (o GetShardedDatabaseShardDetailOutput) ShardGroup() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.ShardGroup }).(pulumi.StringOutput) -} - -// Shard space name. -func (o GetShardedDatabaseShardDetailOutput) ShardSpace() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.ShardSpace }).(pulumi.StringOutput) -} - -// Status of shard or catalog or gsm for the sharded database. -func (o GetShardedDatabaseShardDetailOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.Status }).(pulumi.StringOutput) -} - -// Identifier of the underlying supporting resource. -func (o GetShardedDatabaseShardDetailOutput) SupportingResourceId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.SupportingResourceId }).(pulumi.StringOutput) -} - -// The time the the Sharded Database was created. An RFC3339 formatted datetime string -func (o GetShardedDatabaseShardDetailOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -// The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string -func (o GetShardedDatabaseShardDetailOutput) TimeSslCertificateExpires() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.TimeSslCertificateExpires }).(pulumi.StringOutput) -} - -// The time the Sharded Database was last updated. An RFC3339 formatted datetime string -func (o GetShardedDatabaseShardDetailOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetail) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -type GetShardedDatabaseShardDetailArrayOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseShardDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseShardDetail)(nil)).Elem() -} - -func (o GetShardedDatabaseShardDetailArrayOutput) ToGetShardedDatabaseShardDetailArrayOutput() GetShardedDatabaseShardDetailArrayOutput { - return o -} - -func (o GetShardedDatabaseShardDetailArrayOutput) ToGetShardedDatabaseShardDetailArrayOutputWithContext(ctx context.Context) GetShardedDatabaseShardDetailArrayOutput { - return o -} - -func (o GetShardedDatabaseShardDetailArrayOutput) Index(i pulumi.IntInput) GetShardedDatabaseShardDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShardedDatabaseShardDetail { - return vs[0].([]GetShardedDatabaseShardDetail)[vs[1].(int)] - }).(GetShardedDatabaseShardDetailOutput) -} - -type GetShardedDatabaseShardDetailEncryptionKeyDetail struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - KmsKeyId string `pulumi:"kmsKeyId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - KmsKeyVersionId string `pulumi:"kmsKeyVersionId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - VaultId string `pulumi:"vaultId"` -} - -// GetShardedDatabaseShardDetailEncryptionKeyDetailInput is an input type that accepts GetShardedDatabaseShardDetailEncryptionKeyDetailArgs and GetShardedDatabaseShardDetailEncryptionKeyDetailOutput values. -// You can construct a concrete instance of `GetShardedDatabaseShardDetailEncryptionKeyDetailInput` via: -// -// GetShardedDatabaseShardDetailEncryptionKeyDetailArgs{...} -type GetShardedDatabaseShardDetailEncryptionKeyDetailInput interface { - pulumi.Input - - ToGetShardedDatabaseShardDetailEncryptionKeyDetailOutput() GetShardedDatabaseShardDetailEncryptionKeyDetailOutput - ToGetShardedDatabaseShardDetailEncryptionKeyDetailOutputWithContext(context.Context) GetShardedDatabaseShardDetailEncryptionKeyDetailOutput -} - -type GetShardedDatabaseShardDetailEncryptionKeyDetailArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - KmsKeyId pulumi.StringInput `pulumi:"kmsKeyId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - KmsKeyVersionId pulumi.StringInput `pulumi:"kmsKeyVersionId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - VaultId pulumi.StringInput `pulumi:"vaultId"` -} - -func (GetShardedDatabaseShardDetailEncryptionKeyDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseShardDetailEncryptionKeyDetail)(nil)).Elem() -} - -func (i GetShardedDatabaseShardDetailEncryptionKeyDetailArgs) ToGetShardedDatabaseShardDetailEncryptionKeyDetailOutput() GetShardedDatabaseShardDetailEncryptionKeyDetailOutput { - return i.ToGetShardedDatabaseShardDetailEncryptionKeyDetailOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseShardDetailEncryptionKeyDetailArgs) ToGetShardedDatabaseShardDetailEncryptionKeyDetailOutputWithContext(ctx context.Context) GetShardedDatabaseShardDetailEncryptionKeyDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseShardDetailEncryptionKeyDetailOutput) -} - -// GetShardedDatabaseShardDetailEncryptionKeyDetailArrayInput is an input type that accepts GetShardedDatabaseShardDetailEncryptionKeyDetailArray and GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput values. -// You can construct a concrete instance of `GetShardedDatabaseShardDetailEncryptionKeyDetailArrayInput` via: -// -// GetShardedDatabaseShardDetailEncryptionKeyDetailArray{ GetShardedDatabaseShardDetailEncryptionKeyDetailArgs{...} } -type GetShardedDatabaseShardDetailEncryptionKeyDetailArrayInput interface { - pulumi.Input - - ToGetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput() GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput - ToGetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutputWithContext(context.Context) GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput -} - -type GetShardedDatabaseShardDetailEncryptionKeyDetailArray []GetShardedDatabaseShardDetailEncryptionKeyDetailInput - -func (GetShardedDatabaseShardDetailEncryptionKeyDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseShardDetailEncryptionKeyDetail)(nil)).Elem() -} - -func (i GetShardedDatabaseShardDetailEncryptionKeyDetailArray) ToGetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput() GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput { - return i.ToGetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutputWithContext(context.Background()) -} - -func (i GetShardedDatabaseShardDetailEncryptionKeyDetailArray) ToGetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutputWithContext(ctx context.Context) GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput) -} - -type GetShardedDatabaseShardDetailEncryptionKeyDetailOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseShardDetailEncryptionKeyDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabaseShardDetailEncryptionKeyDetail)(nil)).Elem() -} - -func (o GetShardedDatabaseShardDetailEncryptionKeyDetailOutput) ToGetShardedDatabaseShardDetailEncryptionKeyDetailOutput() GetShardedDatabaseShardDetailEncryptionKeyDetailOutput { - return o -} - -func (o GetShardedDatabaseShardDetailEncryptionKeyDetailOutput) ToGetShardedDatabaseShardDetailEncryptionKeyDetailOutputWithContext(ctx context.Context) GetShardedDatabaseShardDetailEncryptionKeyDetailOutput { - return o -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. -func (o GetShardedDatabaseShardDetailEncryptionKeyDetailOutput) KmsKeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetailEncryptionKeyDetail) string { return v.KmsKeyId }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. -func (o GetShardedDatabaseShardDetailEncryptionKeyDetailOutput) KmsKeyVersionId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetailEncryptionKeyDetail) string { return v.KmsKeyVersionId }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. -func (o GetShardedDatabaseShardDetailEncryptionKeyDetailOutput) VaultId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabaseShardDetailEncryptionKeyDetail) string { return v.VaultId }).(pulumi.StringOutput) -} - -type GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabaseShardDetailEncryptionKeyDetail)(nil)).Elem() -} - -func (o GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput) ToGetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput() GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput { - return o -} - -func (o GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput) ToGetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutputWithContext(ctx context.Context) GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput { - return o -} - -func (o GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput) Index(i pulumi.IntInput) GetShardedDatabaseShardDetailEncryptionKeyDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShardedDatabaseShardDetailEncryptionKeyDetail { - return vs[0].([]GetShardedDatabaseShardDetailEncryptionKeyDetail)[vs[1].(int)] - }).(GetShardedDatabaseShardDetailEncryptionKeyDetailOutput) -} - -type GetShardedDatabasesFilter struct { - // Name of the shard. - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` -} - -// GetShardedDatabasesFilterInput is an input type that accepts GetShardedDatabasesFilterArgs and GetShardedDatabasesFilterOutput values. -// You can construct a concrete instance of `GetShardedDatabasesFilterInput` via: -// -// GetShardedDatabasesFilterArgs{...} -type GetShardedDatabasesFilterInput interface { - pulumi.Input - - ToGetShardedDatabasesFilterOutput() GetShardedDatabasesFilterOutput - ToGetShardedDatabasesFilterOutputWithContext(context.Context) GetShardedDatabasesFilterOutput -} - -type GetShardedDatabasesFilterArgs struct { - // Name of the shard. - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetShardedDatabasesFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabasesFilter)(nil)).Elem() -} - -func (i GetShardedDatabasesFilterArgs) ToGetShardedDatabasesFilterOutput() GetShardedDatabasesFilterOutput { - return i.ToGetShardedDatabasesFilterOutputWithContext(context.Background()) -} - -func (i GetShardedDatabasesFilterArgs) ToGetShardedDatabasesFilterOutputWithContext(ctx context.Context) GetShardedDatabasesFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabasesFilterOutput) -} - -// GetShardedDatabasesFilterArrayInput is an input type that accepts GetShardedDatabasesFilterArray and GetShardedDatabasesFilterArrayOutput values. -// You can construct a concrete instance of `GetShardedDatabasesFilterArrayInput` via: -// -// GetShardedDatabasesFilterArray{ GetShardedDatabasesFilterArgs{...} } -type GetShardedDatabasesFilterArrayInput interface { - pulumi.Input - - ToGetShardedDatabasesFilterArrayOutput() GetShardedDatabasesFilterArrayOutput - ToGetShardedDatabasesFilterArrayOutputWithContext(context.Context) GetShardedDatabasesFilterArrayOutput -} - -type GetShardedDatabasesFilterArray []GetShardedDatabasesFilterInput - -func (GetShardedDatabasesFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabasesFilter)(nil)).Elem() -} - -func (i GetShardedDatabasesFilterArray) ToGetShardedDatabasesFilterArrayOutput() GetShardedDatabasesFilterArrayOutput { - return i.ToGetShardedDatabasesFilterArrayOutputWithContext(context.Background()) -} - -func (i GetShardedDatabasesFilterArray) ToGetShardedDatabasesFilterArrayOutputWithContext(ctx context.Context) GetShardedDatabasesFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabasesFilterArrayOutput) -} - -type GetShardedDatabasesFilterOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabasesFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabasesFilter)(nil)).Elem() -} - -func (o GetShardedDatabasesFilterOutput) ToGetShardedDatabasesFilterOutput() GetShardedDatabasesFilterOutput { - return o -} - -func (o GetShardedDatabasesFilterOutput) ToGetShardedDatabasesFilterOutputWithContext(ctx context.Context) GetShardedDatabasesFilterOutput { - return o -} - -// Name of the shard. -func (o GetShardedDatabasesFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetShardedDatabasesFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetShardedDatabasesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) -} - -func (o GetShardedDatabasesFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetShardedDatabasesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetShardedDatabasesFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabasesFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabasesFilter)(nil)).Elem() -} - -func (o GetShardedDatabasesFilterArrayOutput) ToGetShardedDatabasesFilterArrayOutput() GetShardedDatabasesFilterArrayOutput { - return o -} - -func (o GetShardedDatabasesFilterArrayOutput) ToGetShardedDatabasesFilterArrayOutputWithContext(ctx context.Context) GetShardedDatabasesFilterArrayOutput { - return o -} - -func (o GetShardedDatabasesFilterArrayOutput) Index(i pulumi.IntInput) GetShardedDatabasesFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShardedDatabasesFilter { - return vs[0].([]GetShardedDatabasesFilter)[vs[1].(int)] - }).(GetShardedDatabasesFilterOutput) -} - -type GetShardedDatabasesShardedDatabaseCollection struct { - Items []GetShardedDatabasesShardedDatabaseCollectionItem `pulumi:"items"` -} - -// GetShardedDatabasesShardedDatabaseCollectionInput is an input type that accepts GetShardedDatabasesShardedDatabaseCollectionArgs and GetShardedDatabasesShardedDatabaseCollectionOutput values. -// You can construct a concrete instance of `GetShardedDatabasesShardedDatabaseCollectionInput` via: -// -// GetShardedDatabasesShardedDatabaseCollectionArgs{...} -type GetShardedDatabasesShardedDatabaseCollectionInput interface { - pulumi.Input - - ToGetShardedDatabasesShardedDatabaseCollectionOutput() GetShardedDatabasesShardedDatabaseCollectionOutput - ToGetShardedDatabasesShardedDatabaseCollectionOutputWithContext(context.Context) GetShardedDatabasesShardedDatabaseCollectionOutput -} - -type GetShardedDatabasesShardedDatabaseCollectionArgs struct { - Items GetShardedDatabasesShardedDatabaseCollectionItemArrayInput `pulumi:"items"` -} - -func (GetShardedDatabasesShardedDatabaseCollectionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabasesShardedDatabaseCollection)(nil)).Elem() -} - -func (i GetShardedDatabasesShardedDatabaseCollectionArgs) ToGetShardedDatabasesShardedDatabaseCollectionOutput() GetShardedDatabasesShardedDatabaseCollectionOutput { - return i.ToGetShardedDatabasesShardedDatabaseCollectionOutputWithContext(context.Background()) -} - -func (i GetShardedDatabasesShardedDatabaseCollectionArgs) ToGetShardedDatabasesShardedDatabaseCollectionOutputWithContext(ctx context.Context) GetShardedDatabasesShardedDatabaseCollectionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabasesShardedDatabaseCollectionOutput) -} - -// GetShardedDatabasesShardedDatabaseCollectionArrayInput is an input type that accepts GetShardedDatabasesShardedDatabaseCollectionArray and GetShardedDatabasesShardedDatabaseCollectionArrayOutput values. -// You can construct a concrete instance of `GetShardedDatabasesShardedDatabaseCollectionArrayInput` via: -// -// GetShardedDatabasesShardedDatabaseCollectionArray{ GetShardedDatabasesShardedDatabaseCollectionArgs{...} } -type GetShardedDatabasesShardedDatabaseCollectionArrayInput interface { - pulumi.Input - - ToGetShardedDatabasesShardedDatabaseCollectionArrayOutput() GetShardedDatabasesShardedDatabaseCollectionArrayOutput - ToGetShardedDatabasesShardedDatabaseCollectionArrayOutputWithContext(context.Context) GetShardedDatabasesShardedDatabaseCollectionArrayOutput -} - -type GetShardedDatabasesShardedDatabaseCollectionArray []GetShardedDatabasesShardedDatabaseCollectionInput - -func (GetShardedDatabasesShardedDatabaseCollectionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabasesShardedDatabaseCollection)(nil)).Elem() -} - -func (i GetShardedDatabasesShardedDatabaseCollectionArray) ToGetShardedDatabasesShardedDatabaseCollectionArrayOutput() GetShardedDatabasesShardedDatabaseCollectionArrayOutput { - return i.ToGetShardedDatabasesShardedDatabaseCollectionArrayOutputWithContext(context.Background()) -} - -func (i GetShardedDatabasesShardedDatabaseCollectionArray) ToGetShardedDatabasesShardedDatabaseCollectionArrayOutputWithContext(ctx context.Context) GetShardedDatabasesShardedDatabaseCollectionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabasesShardedDatabaseCollectionArrayOutput) -} - -type GetShardedDatabasesShardedDatabaseCollectionOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabasesShardedDatabaseCollectionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabasesShardedDatabaseCollection)(nil)).Elem() -} - -func (o GetShardedDatabasesShardedDatabaseCollectionOutput) ToGetShardedDatabasesShardedDatabaseCollectionOutput() GetShardedDatabasesShardedDatabaseCollectionOutput { - return o -} - -func (o GetShardedDatabasesShardedDatabaseCollectionOutput) ToGetShardedDatabasesShardedDatabaseCollectionOutputWithContext(ctx context.Context) GetShardedDatabasesShardedDatabaseCollectionOutput { - return o -} - -func (o GetShardedDatabasesShardedDatabaseCollectionOutput) Items() GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollection) []GetShardedDatabasesShardedDatabaseCollectionItem { - return v.Items - }).(GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput) -} - -type GetShardedDatabasesShardedDatabaseCollectionArrayOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabasesShardedDatabaseCollectionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabasesShardedDatabaseCollection)(nil)).Elem() -} - -func (o GetShardedDatabasesShardedDatabaseCollectionArrayOutput) ToGetShardedDatabasesShardedDatabaseCollectionArrayOutput() GetShardedDatabasesShardedDatabaseCollectionArrayOutput { - return o -} - -func (o GetShardedDatabasesShardedDatabaseCollectionArrayOutput) ToGetShardedDatabasesShardedDatabaseCollectionArrayOutputWithContext(ctx context.Context) GetShardedDatabasesShardedDatabaseCollectionArrayOutput { - return o -} - -func (o GetShardedDatabasesShardedDatabaseCollectionArrayOutput) Index(i pulumi.IntInput) GetShardedDatabasesShardedDatabaseCollectionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShardedDatabasesShardedDatabaseCollection { - return vs[0].([]GetShardedDatabasesShardedDatabaseCollection)[vs[1].(int)] - }).(GetShardedDatabasesShardedDatabaseCollectionOutput) -} - -type GetShardedDatabasesShardedDatabaseCollectionItem struct { - // The character set for the database. - CharacterSet string `pulumi:"characterSet"` - // The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - Chunks int `pulumi:"chunks"` - // The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - ClusterCertificateCommonName string `pulumi:"clusterCertificateCommonName"` - // The ID of the compartment in which to list resources. - CompartmentId string `pulumi:"compartmentId"` - // The database deployment type. - DbDeploymentType string `pulumi:"dbDeploymentType"` - // Oracle Database version number. - DbVersion string `pulumi:"dbVersion"` - // Possible workload types. - DbWorkload string `pulumi:"dbWorkload"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - DefinedTags map[string]string `pulumi:"definedTags"` - // A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - 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]string `pulumi:"freeformTags"` - // Sharded Database identifier - Id string `pulumi:"id"` - LifecycleState string `pulumi:"lifecycleState"` - // Detailed message for the lifecycle state. - LifecycleStateDetails string `pulumi:"lifecycleStateDetails"` - // The GSM listener port number. - ListenerPort int `pulumi:"listenerPort"` - // The TLS listener port number for sharded database. - ListenerPortTls int `pulumi:"listenerPortTls"` - // The national character set for the database. - NcharacterSet string `pulumi:"ncharacterSet"` - // Ons local port number. - OnsPortLocal int `pulumi:"onsPortLocal"` - // Ons remote port number. - OnsPortRemote int `pulumi:"onsPortRemote"` - // Unique prefix for the sharded database. - Prefix string `pulumi:"prefix"` - // Sharding Method. - ShardingMethod string `pulumi:"shardingMethod"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - 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]string `pulumi:"systemTags"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated string `pulumi:"timeCreated"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated string `pulumi:"timeUpdated"` - TotalCpuCount float64 `pulumi:"totalCpuCount"` - TotalDataStorageSizeInGbs float64 `pulumi:"totalDataStorageSizeInGbs"` -} - -// GetShardedDatabasesShardedDatabaseCollectionItemInput is an input type that accepts GetShardedDatabasesShardedDatabaseCollectionItemArgs and GetShardedDatabasesShardedDatabaseCollectionItemOutput values. -// You can construct a concrete instance of `GetShardedDatabasesShardedDatabaseCollectionItemInput` via: -// -// GetShardedDatabasesShardedDatabaseCollectionItemArgs{...} -type GetShardedDatabasesShardedDatabaseCollectionItemInput interface { - pulumi.Input - - ToGetShardedDatabasesShardedDatabaseCollectionItemOutput() GetShardedDatabasesShardedDatabaseCollectionItemOutput - ToGetShardedDatabasesShardedDatabaseCollectionItemOutputWithContext(context.Context) GetShardedDatabasesShardedDatabaseCollectionItemOutput -} - -type GetShardedDatabasesShardedDatabaseCollectionItemArgs struct { - // The character set for the database. - CharacterSet pulumi.StringInput `pulumi:"characterSet"` - // The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - Chunks pulumi.IntInput `pulumi:"chunks"` - // The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - ClusterCertificateCommonName pulumi.StringInput `pulumi:"clusterCertificateCommonName"` - // The ID of the compartment in which to list resources. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // The database deployment type. - DbDeploymentType pulumi.StringInput `pulumi:"dbDeploymentType"` - // Oracle Database version number. - DbVersion pulumi.StringInput `pulumi:"dbVersion"` - // Possible workload types. - DbWorkload pulumi.StringInput `pulumi:"dbWorkload"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - DefinedTags pulumi.StringMapInput `pulumi:"definedTags"` - // A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - 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.StringMapInput `pulumi:"freeformTags"` - // Sharded Database identifier - Id pulumi.StringInput `pulumi:"id"` - LifecycleState pulumi.StringInput `pulumi:"lifecycleState"` - // Detailed message for the lifecycle state. - LifecycleStateDetails pulumi.StringInput `pulumi:"lifecycleStateDetails"` - // The GSM listener port number. - ListenerPort pulumi.IntInput `pulumi:"listenerPort"` - // The TLS listener port number for sharded database. - ListenerPortTls pulumi.IntInput `pulumi:"listenerPortTls"` - // The national character set for the database. - NcharacterSet pulumi.StringInput `pulumi:"ncharacterSet"` - // Ons local port number. - OnsPortLocal pulumi.IntInput `pulumi:"onsPortLocal"` - // Ons remote port number. - OnsPortRemote pulumi.IntInput `pulumi:"onsPortRemote"` - // Unique prefix for the sharded database. - Prefix pulumi.StringInput `pulumi:"prefix"` - // Sharding Method. - ShardingMethod pulumi.StringInput `pulumi:"shardingMethod"` - // A filter to return only resources their lifecycleState matches the given lifecycleState. - 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.StringMapInput `pulumi:"systemTags"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` - TotalCpuCount pulumi.Float64Input `pulumi:"totalCpuCount"` - TotalDataStorageSizeInGbs pulumi.Float64Input `pulumi:"totalDataStorageSizeInGbs"` -} - -func (GetShardedDatabasesShardedDatabaseCollectionItemArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabasesShardedDatabaseCollectionItem)(nil)).Elem() -} - -func (i GetShardedDatabasesShardedDatabaseCollectionItemArgs) ToGetShardedDatabasesShardedDatabaseCollectionItemOutput() GetShardedDatabasesShardedDatabaseCollectionItemOutput { - return i.ToGetShardedDatabasesShardedDatabaseCollectionItemOutputWithContext(context.Background()) -} - -func (i GetShardedDatabasesShardedDatabaseCollectionItemArgs) ToGetShardedDatabasesShardedDatabaseCollectionItemOutputWithContext(ctx context.Context) GetShardedDatabasesShardedDatabaseCollectionItemOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabasesShardedDatabaseCollectionItemOutput) -} - -// GetShardedDatabasesShardedDatabaseCollectionItemArrayInput is an input type that accepts GetShardedDatabasesShardedDatabaseCollectionItemArray and GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput values. -// You can construct a concrete instance of `GetShardedDatabasesShardedDatabaseCollectionItemArrayInput` via: -// -// GetShardedDatabasesShardedDatabaseCollectionItemArray{ GetShardedDatabasesShardedDatabaseCollectionItemArgs{...} } -type GetShardedDatabasesShardedDatabaseCollectionItemArrayInput interface { - pulumi.Input - - ToGetShardedDatabasesShardedDatabaseCollectionItemArrayOutput() GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput - ToGetShardedDatabasesShardedDatabaseCollectionItemArrayOutputWithContext(context.Context) GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput -} - -type GetShardedDatabasesShardedDatabaseCollectionItemArray []GetShardedDatabasesShardedDatabaseCollectionItemInput - -func (GetShardedDatabasesShardedDatabaseCollectionItemArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabasesShardedDatabaseCollectionItem)(nil)).Elem() -} - -func (i GetShardedDatabasesShardedDatabaseCollectionItemArray) ToGetShardedDatabasesShardedDatabaseCollectionItemArrayOutput() GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput { - return i.ToGetShardedDatabasesShardedDatabaseCollectionItemArrayOutputWithContext(context.Background()) -} - -func (i GetShardedDatabasesShardedDatabaseCollectionItemArray) ToGetShardedDatabasesShardedDatabaseCollectionItemArrayOutputWithContext(ctx context.Context) GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput) -} - -type GetShardedDatabasesShardedDatabaseCollectionItemOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabasesShardedDatabaseCollectionItemOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetShardedDatabasesShardedDatabaseCollectionItem)(nil)).Elem() -} - -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) ToGetShardedDatabasesShardedDatabaseCollectionItemOutput() GetShardedDatabasesShardedDatabaseCollectionItemOutput { - return o -} - -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) ToGetShardedDatabasesShardedDatabaseCollectionItemOutputWithContext(ctx context.Context) GetShardedDatabasesShardedDatabaseCollectionItemOutput { - return o -} - -// The character set for the database. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) CharacterSet() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.CharacterSet }).(pulumi.StringOutput) -} - -// The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) Chunks() pulumi.IntOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) int { return v.Chunks }).(pulumi.IntOutput) -} - -// The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) ClusterCertificateCommonName() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.ClusterCertificateCommonName }).(pulumi.StringOutput) -} - -// The ID of the compartment in which to list resources. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -// The database deployment type. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) DbDeploymentType() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.DbDeploymentType }).(pulumi.StringOutput) -} - -// Oracle Database version number. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) DbVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.DbVersion }).(pulumi.StringOutput) -} - -// Possible workload types. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) DbWorkload() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.DbWorkload }).(pulumi.StringOutput) -} - -// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) map[string]string { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -// A filter to return only sharded databases that match the entire name given. The match is not case sensitive. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) 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 GetShardedDatabasesShardedDatabaseCollectionItemOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) map[string]string { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -// Sharded Database identifier -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.Id }).(pulumi.StringOutput) -} - -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) LifecycleState() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.LifecycleState }).(pulumi.StringOutput) -} - -// Detailed message for the lifecycle state. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) LifecycleStateDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.LifecycleStateDetails }).(pulumi.StringOutput) -} - -// The GSM listener port number. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) ListenerPort() pulumi.IntOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) int { return v.ListenerPort }).(pulumi.IntOutput) -} - -// The TLS listener port number for sharded database. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) ListenerPortTls() pulumi.IntOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) int { return v.ListenerPortTls }).(pulumi.IntOutput) -} - -// The national character set for the database. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) NcharacterSet() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.NcharacterSet }).(pulumi.StringOutput) -} - -// Ons local port number. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) OnsPortLocal() pulumi.IntOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) int { return v.OnsPortLocal }).(pulumi.IntOutput) -} - -// Ons remote port number. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) OnsPortRemote() pulumi.IntOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) int { return v.OnsPortRemote }).(pulumi.IntOutput) -} - -// Unique prefix for the sharded database. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) Prefix() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.Prefix }).(pulumi.StringOutput) -} - -// Sharding Method. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) ShardingMethod() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.ShardingMethod }).(pulumi.StringOutput) -} - -// A filter to return only resources their lifecycleState matches the given lifecycleState. -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.State }).(pulumi.StringOutput) -} - -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) -} - -// The time the the Sharded Database was created. An RFC3339 formatted datetime string -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -// The time the Sharded Database was last updated. An RFC3339 formatted datetime string -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) -} - -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) TotalCpuCount() pulumi.Float64Output { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) float64 { return v.TotalCpuCount }).(pulumi.Float64Output) -} - -func (o GetShardedDatabasesShardedDatabaseCollectionItemOutput) TotalDataStorageSizeInGbs() pulumi.Float64Output { - return o.ApplyT(func(v GetShardedDatabasesShardedDatabaseCollectionItem) float64 { return v.TotalDataStorageSizeInGbs }).(pulumi.Float64Output) -} - -type GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput struct{ *pulumi.OutputState } - -func (GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetShardedDatabasesShardedDatabaseCollectionItem)(nil)).Elem() -} - -func (o GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput) ToGetShardedDatabasesShardedDatabaseCollectionItemArrayOutput() GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput { - return o -} - -func (o GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput) ToGetShardedDatabasesShardedDatabaseCollectionItemArrayOutputWithContext(ctx context.Context) GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput { - return o -} - -func (o GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput) Index(i pulumi.IntInput) GetShardedDatabasesShardedDatabaseCollectionItemOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetShardedDatabasesShardedDatabaseCollectionItem { - return vs[0].([]GetShardedDatabasesShardedDatabaseCollectionItem)[vs[1].(int)] - }).(GetShardedDatabasesShardedDatabaseCollectionItemOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseCatalogDetailInput)(nil)).Elem(), ShardedDatabaseCatalogDetailArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseCatalogDetailArrayInput)(nil)).Elem(), ShardedDatabaseCatalogDetailArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseCatalogDetailEncryptionKeyDetailsInput)(nil)).Elem(), ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrInput)(nil)).Elem(), ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseConnectionStringInput)(nil)).Elem(), ShardedDatabaseConnectionStringArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseConnectionStringArrayInput)(nil)).Elem(), ShardedDatabaseConnectionStringArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseGsmInput)(nil)).Elem(), ShardedDatabaseGsmArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseGsmArrayInput)(nil)).Elem(), ShardedDatabaseGsmArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabasePatchOperationInput)(nil)).Elem(), ShardedDatabasePatchOperationArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabasePatchOperationArrayInput)(nil)).Elem(), ShardedDatabasePatchOperationArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseShardDetailInput)(nil)).Elem(), ShardedDatabaseShardDetailArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseShardDetailArrayInput)(nil)).Elem(), ShardedDatabaseShardDetailArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseShardDetailEncryptionKeyDetailsInput)(nil)).Elem(), ShardedDatabaseShardDetailEncryptionKeyDetailsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseShardDetailEncryptionKeyDetailsPtrInput)(nil)).Elem(), ShardedDatabaseShardDetailEncryptionKeyDetailsArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateEndpointsFilterInput)(nil)).Elem(), GetPrivateEndpointsFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateEndpointsFilterArrayInput)(nil)).Elem(), GetPrivateEndpointsFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateEndpointsPrivateEndpointCollectionInput)(nil)).Elem(), GetPrivateEndpointsPrivateEndpointCollectionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateEndpointsPrivateEndpointCollectionArrayInput)(nil)).Elem(), GetPrivateEndpointsPrivateEndpointCollectionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateEndpointsPrivateEndpointCollectionItemInput)(nil)).Elem(), GetPrivateEndpointsPrivateEndpointCollectionItemArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateEndpointsPrivateEndpointCollectionItemArrayInput)(nil)).Elem(), GetPrivateEndpointsPrivateEndpointCollectionItemArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseCatalogDetailInput)(nil)).Elem(), GetShardedDatabaseCatalogDetailArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseCatalogDetailArrayInput)(nil)).Elem(), GetShardedDatabaseCatalogDetailArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseCatalogDetailEncryptionKeyDetailInput)(nil)).Elem(), GetShardedDatabaseCatalogDetailEncryptionKeyDetailArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayInput)(nil)).Elem(), GetShardedDatabaseCatalogDetailEncryptionKeyDetailArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseConnectionStringInput)(nil)).Elem(), GetShardedDatabaseConnectionStringArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseConnectionStringArrayInput)(nil)).Elem(), GetShardedDatabaseConnectionStringArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseGsmInput)(nil)).Elem(), GetShardedDatabaseGsmArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseGsmArrayInput)(nil)).Elem(), GetShardedDatabaseGsmArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabasePatchOperationInput)(nil)).Elem(), GetShardedDatabasePatchOperationArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabasePatchOperationArrayInput)(nil)).Elem(), GetShardedDatabasePatchOperationArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseShardDetailInput)(nil)).Elem(), GetShardedDatabaseShardDetailArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseShardDetailArrayInput)(nil)).Elem(), GetShardedDatabaseShardDetailArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseShardDetailEncryptionKeyDetailInput)(nil)).Elem(), GetShardedDatabaseShardDetailEncryptionKeyDetailArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabaseShardDetailEncryptionKeyDetailArrayInput)(nil)).Elem(), GetShardedDatabaseShardDetailEncryptionKeyDetailArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabasesFilterInput)(nil)).Elem(), GetShardedDatabasesFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabasesFilterArrayInput)(nil)).Elem(), GetShardedDatabasesFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabasesShardedDatabaseCollectionInput)(nil)).Elem(), GetShardedDatabasesShardedDatabaseCollectionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabasesShardedDatabaseCollectionArrayInput)(nil)).Elem(), GetShardedDatabasesShardedDatabaseCollectionArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabasesShardedDatabaseCollectionItemInput)(nil)).Elem(), GetShardedDatabasesShardedDatabaseCollectionItemArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetShardedDatabasesShardedDatabaseCollectionItemArrayInput)(nil)).Elem(), GetShardedDatabasesShardedDatabaseCollectionItemArray{}) - pulumi.RegisterOutputType(ShardedDatabaseCatalogDetailOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseCatalogDetailArrayOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseCatalogDetailEncryptionKeyDetailsOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseCatalogDetailEncryptionKeyDetailsPtrOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseConnectionStringOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseConnectionStringArrayOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseGsmOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseGsmArrayOutput{}) - pulumi.RegisterOutputType(ShardedDatabasePatchOperationOutput{}) - pulumi.RegisterOutputType(ShardedDatabasePatchOperationArrayOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseShardDetailOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseShardDetailArrayOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseShardDetailEncryptionKeyDetailsOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseShardDetailEncryptionKeyDetailsPtrOutput{}) - pulumi.RegisterOutputType(GetPrivateEndpointsFilterOutput{}) - pulumi.RegisterOutputType(GetPrivateEndpointsFilterArrayOutput{}) - pulumi.RegisterOutputType(GetPrivateEndpointsPrivateEndpointCollectionOutput{}) - pulumi.RegisterOutputType(GetPrivateEndpointsPrivateEndpointCollectionArrayOutput{}) - pulumi.RegisterOutputType(GetPrivateEndpointsPrivateEndpointCollectionItemOutput{}) - pulumi.RegisterOutputType(GetPrivateEndpointsPrivateEndpointCollectionItemArrayOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseCatalogDetailOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseCatalogDetailArrayOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseCatalogDetailEncryptionKeyDetailOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseCatalogDetailEncryptionKeyDetailArrayOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseConnectionStringOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseConnectionStringArrayOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseGsmOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseGsmArrayOutput{}) - pulumi.RegisterOutputType(GetShardedDatabasePatchOperationOutput{}) - pulumi.RegisterOutputType(GetShardedDatabasePatchOperationArrayOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseShardDetailOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseShardDetailArrayOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseShardDetailEncryptionKeyDetailOutput{}) - pulumi.RegisterOutputType(GetShardedDatabaseShardDetailEncryptionKeyDetailArrayOutput{}) - pulumi.RegisterOutputType(GetShardedDatabasesFilterOutput{}) - pulumi.RegisterOutputType(GetShardedDatabasesFilterArrayOutput{}) - pulumi.RegisterOutputType(GetShardedDatabasesShardedDatabaseCollectionOutput{}) - pulumi.RegisterOutputType(GetShardedDatabasesShardedDatabaseCollectionArrayOutput{}) - pulumi.RegisterOutputType(GetShardedDatabasesShardedDatabaseCollectionItemOutput{}) - pulumi.RegisterOutputType(GetShardedDatabasesShardedDatabaseCollectionItemArrayOutput{}) -} diff --git a/sdk/go/oci/globallydistributeddatabase/shardedDatabase.go b/sdk/go/oci/globallydistributeddatabase/shardedDatabase.go deleted file mode 100644 index 29cb3c2448..0000000000 --- a/sdk/go/oci/globallydistributeddatabase/shardedDatabase.go +++ /dev/null @@ -1,830 +0,0 @@ -// 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 globallydistributeddatabase - -import ( - "context" - "reflect" - - "errors" - "github.com/pulumi/pulumi-oci/sdk/v2/go/oci/internal" - "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -) - -// This resource provides the Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. -// -// Creates a Sharded Database. -// -// Patch operation to add, remove or update shards to the sharded database topology. In single patch -// -// operation, multiple shards can be either added, or removed or updated. Combination of inserts, update -// and remove in single operation is not allowed. -// -// ## Import -// -// ShardedDatabases can be imported using the `id`, e.g. -// -// ```sh -// $ pulumi import oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase test_sharded_database "id" -// ``` -type ShardedDatabase struct { - pulumi.CustomResourceState - - // Collection of ATP-Dedicated catalogs that needs to be created. - CatalogDetails ShardedDatabaseCatalogDetailArrayOutput `pulumi:"catalogDetails"` - // The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - CharacterSet pulumi.StringOutput `pulumi:"characterSet"` - // The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - Chunks pulumi.IntOutput `pulumi:"chunks"` - // The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - ClusterCertificateCommonName pulumi.StringOutput `pulumi:"clusterCertificateCommonName"` - // (Updatable) Identifier of the compartment where sharded database is to be created. - CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` - // (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - ConfigureGsmsTrigger pulumi.IntOutput `pulumi:"configureGsmsTrigger"` - // (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - ConfigureShardingTrigger pulumi.IntPtrOutput `pulumi:"configureShardingTrigger"` - // Details of sharded database connection String. - ConnectionStrings ShardedDatabaseConnectionStringArrayOutput `pulumi:"connectionStrings"` - // The database deployment type. - DbDeploymentType pulumi.StringOutput `pulumi:"dbDeploymentType"` - // Oracle Database version of the Autonomous Container Database. - DbVersion pulumi.StringOutput `pulumi:"dbVersion"` - // Possible workload types. - DbWorkload pulumi.StringOutput `pulumi:"dbWorkload"` - // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - DefinedTags pulumi.StringMapOutput `pulumi:"definedTags"` - // (Updatable) Oracle sharded database display name. - DisplayName pulumi.StringOutput `pulumi:"displayName"` - // (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - DownloadGsmCertificateSigningRequestTrigger pulumi.IntPtrOutput `pulumi:"downloadGsmCertificateSigningRequestTrigger"` - // (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.StringMapOutput `pulumi:"freeformTags"` - // (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - GenerateGsmCertificateSigningRequestTrigger pulumi.IntPtrOutput `pulumi:"generateGsmCertificateSigningRequestTrigger"` - // (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - GenerateWalletTrigger pulumi.IntOutput `pulumi:"generateWalletTrigger"` - // (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - GetConnectionStringTrigger pulumi.IntPtrOutput `pulumi:"getConnectionStringTrigger"` - // Details of GSM instances for the sharded database. - Gsms ShardedDatabaseGsmArrayOutput `pulumi:"gsms"` - LifecycleState pulumi.StringOutput `pulumi:"lifecycleState"` - // Detailed message for the lifecycle state. - LifecycleStateDetails pulumi.StringOutput `pulumi:"lifecycleStateDetails"` - // The listener port number for sharded database. - ListenerPort pulumi.IntOutput `pulumi:"listenerPort"` - // The TLS listener port number for sharded database. - ListenerPortTls pulumi.IntOutput `pulumi:"listenerPortTls"` - // The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - NcharacterSet pulumi.StringOutput `pulumi:"ncharacterSet"` - // Ons port local for sharded database. - OnsPortLocal pulumi.IntOutput `pulumi:"onsPortLocal"` - // Ons remote port for sharded database. - OnsPortRemote pulumi.IntOutput `pulumi:"onsPortRemote"` - // (Updatable) - PatchOperations ShardedDatabasePatchOperationArrayOutput `pulumi:"patchOperations"` - // Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - Prefix pulumi.StringOutput `pulumi:"prefix"` - // The OCID of private endpoint being used by the sharded database. - PrivateEndpoint pulumi.StringOutput `pulumi:"privateEndpoint"` - // Collection of ATP-Dedicated shards that needs to be created. - ShardDetails ShardedDatabaseShardDetailArrayOutput `pulumi:"shardDetails"` - ShardedDatabaseId pulumi.StringOutput `pulumi:"shardedDatabaseId"` - // Sharding Method. - ShardingMethod pulumi.StringOutput `pulumi:"shardingMethod"` - // (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - StartDatabaseTrigger pulumi.IntPtrOutput `pulumi:"startDatabaseTrigger"` - // Lifecycle states for sharded databases. - State pulumi.StringOutput `pulumi:"state"` - // (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - StopDatabaseTrigger pulumi.IntPtrOutput `pulumi:"stopDatabaseTrigger"` - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` - // Timezone associated with the sharded database. - TimeZone pulumi.StringOutput `pulumi:"timeZone"` - // (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - UploadSignedCertificateAndGenerateWalletTrigger pulumi.IntOutput `pulumi:"uploadSignedCertificateAndGenerateWalletTrigger"` - // (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - ValidateNetworkTrigger pulumi.IntPtrOutput `pulumi:"validateNetworkTrigger"` -} - -// NewShardedDatabase registers a new resource with the given unique name, arguments, and options. -func NewShardedDatabase(ctx *pulumi.Context, - name string, args *ShardedDatabaseArgs, opts ...pulumi.ResourceOption) (*ShardedDatabase, error) { - if args == nil { - return nil, errors.New("missing one or more required arguments") - } - - if args.CatalogDetails == nil { - return nil, errors.New("invalid value for required argument 'CatalogDetails'") - } - if args.CharacterSet == nil { - return nil, errors.New("invalid value for required argument 'CharacterSet'") - } - if args.CompartmentId == nil { - return nil, errors.New("invalid value for required argument 'CompartmentId'") - } - if args.DbDeploymentType == nil { - return nil, errors.New("invalid value for required argument 'DbDeploymentType'") - } - if args.DbVersion == nil { - return nil, errors.New("invalid value for required argument 'DbVersion'") - } - if args.DbWorkload == nil { - return nil, errors.New("invalid value for required argument 'DbWorkload'") - } - if args.DisplayName == nil { - return nil, errors.New("invalid value for required argument 'DisplayName'") - } - if args.ListenerPort == nil { - return nil, errors.New("invalid value for required argument 'ListenerPort'") - } - if args.ListenerPortTls == nil { - return nil, errors.New("invalid value for required argument 'ListenerPortTls'") - } - if args.NcharacterSet == nil { - return nil, errors.New("invalid value for required argument 'NcharacterSet'") - } - if args.OnsPortLocal == nil { - return nil, errors.New("invalid value for required argument 'OnsPortLocal'") - } - if args.OnsPortRemote == nil { - return nil, errors.New("invalid value for required argument 'OnsPortRemote'") - } - if args.Prefix == nil { - return nil, errors.New("invalid value for required argument 'Prefix'") - } - if args.ShardDetails == nil { - return nil, errors.New("invalid value for required argument 'ShardDetails'") - } - if args.ShardingMethod == nil { - return nil, errors.New("invalid value for required argument 'ShardingMethod'") - } - opts = internal.PkgResourceDefaultOpts(opts) - var resource ShardedDatabase - err := ctx.RegisterResource("oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase", name, args, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// GetShardedDatabase gets an existing ShardedDatabase 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 GetShardedDatabase(ctx *pulumi.Context, - name string, id pulumi.IDInput, state *ShardedDatabaseState, opts ...pulumi.ResourceOption) (*ShardedDatabase, error) { - var resource ShardedDatabase - err := ctx.ReadResource("oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase", name, id, state, &resource, opts...) - if err != nil { - return nil, err - } - return &resource, nil -} - -// Input properties used for looking up and filtering ShardedDatabase resources. -type shardedDatabaseState struct { - // Collection of ATP-Dedicated catalogs that needs to be created. - CatalogDetails []ShardedDatabaseCatalogDetail `pulumi:"catalogDetails"` - // The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - CharacterSet *string `pulumi:"characterSet"` - // The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - Chunks *int `pulumi:"chunks"` - // The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - ClusterCertificateCommonName *string `pulumi:"clusterCertificateCommonName"` - // (Updatable) Identifier of the compartment where sharded database is to be created. - CompartmentId *string `pulumi:"compartmentId"` - // (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - ConfigureGsmsTrigger *int `pulumi:"configureGsmsTrigger"` - // (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - ConfigureShardingTrigger *int `pulumi:"configureShardingTrigger"` - // Details of sharded database connection String. - ConnectionStrings []ShardedDatabaseConnectionString `pulumi:"connectionStrings"` - // The database deployment type. - DbDeploymentType *string `pulumi:"dbDeploymentType"` - // Oracle Database version of the Autonomous Container Database. - DbVersion *string `pulumi:"dbVersion"` - // Possible workload types. - DbWorkload *string `pulumi:"dbWorkload"` - // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - DefinedTags map[string]string `pulumi:"definedTags"` - // (Updatable) Oracle sharded database display name. - DisplayName *string `pulumi:"displayName"` - // (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - DownloadGsmCertificateSigningRequestTrigger *int `pulumi:"downloadGsmCertificateSigningRequestTrigger"` - // (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]string `pulumi:"freeformTags"` - // (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - GenerateGsmCertificateSigningRequestTrigger *int `pulumi:"generateGsmCertificateSigningRequestTrigger"` - // (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - GenerateWalletTrigger *int `pulumi:"generateWalletTrigger"` - // (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - GetConnectionStringTrigger *int `pulumi:"getConnectionStringTrigger"` - // Details of GSM instances for the sharded database. - Gsms []ShardedDatabaseGsm `pulumi:"gsms"` - LifecycleState *string `pulumi:"lifecycleState"` - // Detailed message for the lifecycle state. - LifecycleStateDetails *string `pulumi:"lifecycleStateDetails"` - // The listener port number for sharded database. - ListenerPort *int `pulumi:"listenerPort"` - // The TLS listener port number for sharded database. - ListenerPortTls *int `pulumi:"listenerPortTls"` - // The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - NcharacterSet *string `pulumi:"ncharacterSet"` - // Ons port local for sharded database. - OnsPortLocal *int `pulumi:"onsPortLocal"` - // Ons remote port for sharded database. - OnsPortRemote *int `pulumi:"onsPortRemote"` - // (Updatable) - PatchOperations []ShardedDatabasePatchOperation `pulumi:"patchOperations"` - // Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - Prefix *string `pulumi:"prefix"` - // The OCID of private endpoint being used by the sharded database. - PrivateEndpoint *string `pulumi:"privateEndpoint"` - // Collection of ATP-Dedicated shards that needs to be created. - ShardDetails []ShardedDatabaseShardDetail `pulumi:"shardDetails"` - ShardedDatabaseId *string `pulumi:"shardedDatabaseId"` - // Sharding Method. - ShardingMethod *string `pulumi:"shardingMethod"` - // (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - StartDatabaseTrigger *int `pulumi:"startDatabaseTrigger"` - // Lifecycle states for sharded databases. - State *string `pulumi:"state"` - // (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - StopDatabaseTrigger *int `pulumi:"stopDatabaseTrigger"` - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags map[string]string `pulumi:"systemTags"` - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated *string `pulumi:"timeCreated"` - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated *string `pulumi:"timeUpdated"` - // Timezone associated with the sharded database. - TimeZone *string `pulumi:"timeZone"` - // (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - UploadSignedCertificateAndGenerateWalletTrigger *int `pulumi:"uploadSignedCertificateAndGenerateWalletTrigger"` - // (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - ValidateNetworkTrigger *int `pulumi:"validateNetworkTrigger"` -} - -type ShardedDatabaseState struct { - // Collection of ATP-Dedicated catalogs that needs to be created. - CatalogDetails ShardedDatabaseCatalogDetailArrayInput - // The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - CharacterSet pulumi.StringPtrInput - // The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - Chunks pulumi.IntPtrInput - // The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - ClusterCertificateCommonName pulumi.StringPtrInput - // (Updatable) Identifier of the compartment where sharded database is to be created. - CompartmentId pulumi.StringPtrInput - // (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - ConfigureGsmsTrigger pulumi.IntPtrInput - // (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - ConfigureShardingTrigger pulumi.IntPtrInput - // Details of sharded database connection String. - ConnectionStrings ShardedDatabaseConnectionStringArrayInput - // The database deployment type. - DbDeploymentType pulumi.StringPtrInput - // Oracle Database version of the Autonomous Container Database. - DbVersion pulumi.StringPtrInput - // Possible workload types. - DbWorkload 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.StringMapInput - // (Updatable) Oracle sharded database display name. - DisplayName pulumi.StringPtrInput - // (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - DownloadGsmCertificateSigningRequestTrigger pulumi.IntPtrInput - // (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.StringMapInput - // (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - GenerateGsmCertificateSigningRequestTrigger pulumi.IntPtrInput - // (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - GenerateWalletTrigger pulumi.IntPtrInput - // (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - GetConnectionStringTrigger pulumi.IntPtrInput - // Details of GSM instances for the sharded database. - Gsms ShardedDatabaseGsmArrayInput - LifecycleState pulumi.StringPtrInput - // Detailed message for the lifecycle state. - LifecycleStateDetails pulumi.StringPtrInput - // The listener port number for sharded database. - ListenerPort pulumi.IntPtrInput - // The TLS listener port number for sharded database. - ListenerPortTls pulumi.IntPtrInput - // The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - NcharacterSet pulumi.StringPtrInput - // Ons port local for sharded database. - OnsPortLocal pulumi.IntPtrInput - // Ons remote port for sharded database. - OnsPortRemote pulumi.IntPtrInput - // (Updatable) - PatchOperations ShardedDatabasePatchOperationArrayInput - // Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - Prefix pulumi.StringPtrInput - // The OCID of private endpoint being used by the sharded database. - PrivateEndpoint pulumi.StringPtrInput - // Collection of ATP-Dedicated shards that needs to be created. - ShardDetails ShardedDatabaseShardDetailArrayInput - ShardedDatabaseId pulumi.StringPtrInput - // Sharding Method. - ShardingMethod pulumi.StringPtrInput - // (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - StartDatabaseTrigger pulumi.IntPtrInput - // Lifecycle states for sharded databases. - State pulumi.StringPtrInput - // (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - StopDatabaseTrigger pulumi.IntPtrInput - // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - SystemTags pulumi.StringMapInput - // The time the the Sharded Database was created. An RFC3339 formatted datetime string - TimeCreated pulumi.StringPtrInput - // The time the Sharded Database was last updated. An RFC3339 formatted datetime string - TimeUpdated pulumi.StringPtrInput - // Timezone associated with the sharded database. - TimeZone pulumi.StringPtrInput - // (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - UploadSignedCertificateAndGenerateWalletTrigger pulumi.IntPtrInput - // (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - ValidateNetworkTrigger pulumi.IntPtrInput -} - -func (ShardedDatabaseState) ElementType() reflect.Type { - return reflect.TypeOf((*shardedDatabaseState)(nil)).Elem() -} - -type shardedDatabaseArgs struct { - // Collection of ATP-Dedicated catalogs that needs to be created. - CatalogDetails []ShardedDatabaseCatalogDetail `pulumi:"catalogDetails"` - // The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - CharacterSet string `pulumi:"characterSet"` - // The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - Chunks *int `pulumi:"chunks"` - // The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - ClusterCertificateCommonName *string `pulumi:"clusterCertificateCommonName"` - // (Updatable) Identifier of the compartment where sharded database is to be created. - CompartmentId string `pulumi:"compartmentId"` - // (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - ConfigureShardingTrigger *int `pulumi:"configureShardingTrigger"` - // The database deployment type. - DbDeploymentType string `pulumi:"dbDeploymentType"` - // Oracle Database version of the Autonomous Container Database. - DbVersion string `pulumi:"dbVersion"` - // Possible workload types. - DbWorkload string `pulumi:"dbWorkload"` - // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - DefinedTags map[string]string `pulumi:"definedTags"` - // (Updatable) Oracle sharded database display name. - DisplayName string `pulumi:"displayName"` - // (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - DownloadGsmCertificateSigningRequestTrigger *int `pulumi:"downloadGsmCertificateSigningRequestTrigger"` - // (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]string `pulumi:"freeformTags"` - // (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - GenerateGsmCertificateSigningRequestTrigger *int `pulumi:"generateGsmCertificateSigningRequestTrigger"` - // (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - GetConnectionStringTrigger *int `pulumi:"getConnectionStringTrigger"` - // The listener port number for sharded database. - ListenerPort int `pulumi:"listenerPort"` - // The TLS listener port number for sharded database. - ListenerPortTls int `pulumi:"listenerPortTls"` - // The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - NcharacterSet string `pulumi:"ncharacterSet"` - // Ons port local for sharded database. - OnsPortLocal int `pulumi:"onsPortLocal"` - // Ons remote port for sharded database. - OnsPortRemote int `pulumi:"onsPortRemote"` - // (Updatable) - PatchOperations []ShardedDatabasePatchOperation `pulumi:"patchOperations"` - // Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - Prefix string `pulumi:"prefix"` - // Collection of ATP-Dedicated shards that needs to be created. - ShardDetails []ShardedDatabaseShardDetail `pulumi:"shardDetails"` - // Sharding Method. - ShardingMethod string `pulumi:"shardingMethod"` - // (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - StartDatabaseTrigger *int `pulumi:"startDatabaseTrigger"` - // (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - StopDatabaseTrigger *int `pulumi:"stopDatabaseTrigger"` - // (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - ValidateNetworkTrigger *int `pulumi:"validateNetworkTrigger"` -} - -// The set of arguments for constructing a ShardedDatabase resource. -type ShardedDatabaseArgs struct { - // Collection of ATP-Dedicated catalogs that needs to be created. - CatalogDetails ShardedDatabaseCatalogDetailArrayInput - // The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - CharacterSet pulumi.StringInput - // The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - Chunks pulumi.IntPtrInput - // The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - ClusterCertificateCommonName pulumi.StringPtrInput - // (Updatable) Identifier of the compartment where sharded database is to be created. - CompartmentId pulumi.StringInput - // (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - ConfigureShardingTrigger pulumi.IntPtrInput - // The database deployment type. - DbDeploymentType pulumi.StringInput - // Oracle Database version of the Autonomous Container Database. - DbVersion pulumi.StringInput - // Possible workload types. - DbWorkload 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.StringMapInput - // (Updatable) Oracle sharded database display name. - DisplayName pulumi.StringInput - // (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - DownloadGsmCertificateSigningRequestTrigger pulumi.IntPtrInput - // (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.StringMapInput - // (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - GenerateGsmCertificateSigningRequestTrigger pulumi.IntPtrInput - // (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - GetConnectionStringTrigger pulumi.IntPtrInput - // The listener port number for sharded database. - ListenerPort pulumi.IntInput - // The TLS listener port number for sharded database. - ListenerPortTls pulumi.IntInput - // The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - NcharacterSet pulumi.StringInput - // Ons port local for sharded database. - OnsPortLocal pulumi.IntInput - // Ons remote port for sharded database. - OnsPortRemote pulumi.IntInput - // (Updatable) - PatchOperations ShardedDatabasePatchOperationArrayInput - // Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - Prefix pulumi.StringInput - // Collection of ATP-Dedicated shards that needs to be created. - ShardDetails ShardedDatabaseShardDetailArrayInput - // Sharding Method. - ShardingMethod pulumi.StringInput - // (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - StartDatabaseTrigger pulumi.IntPtrInput - // (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - StopDatabaseTrigger pulumi.IntPtrInput - // (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - ValidateNetworkTrigger pulumi.IntPtrInput -} - -func (ShardedDatabaseArgs) ElementType() reflect.Type { - return reflect.TypeOf((*shardedDatabaseArgs)(nil)).Elem() -} - -type ShardedDatabaseInput interface { - pulumi.Input - - ToShardedDatabaseOutput() ShardedDatabaseOutput - ToShardedDatabaseOutputWithContext(ctx context.Context) ShardedDatabaseOutput -} - -func (*ShardedDatabase) ElementType() reflect.Type { - return reflect.TypeOf((**ShardedDatabase)(nil)).Elem() -} - -func (i *ShardedDatabase) ToShardedDatabaseOutput() ShardedDatabaseOutput { - return i.ToShardedDatabaseOutputWithContext(context.Background()) -} - -func (i *ShardedDatabase) ToShardedDatabaseOutputWithContext(ctx context.Context) ShardedDatabaseOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseOutput) -} - -// ShardedDatabaseArrayInput is an input type that accepts ShardedDatabaseArray and ShardedDatabaseArrayOutput values. -// You can construct a concrete instance of `ShardedDatabaseArrayInput` via: -// -// ShardedDatabaseArray{ ShardedDatabaseArgs{...} } -type ShardedDatabaseArrayInput interface { - pulumi.Input - - ToShardedDatabaseArrayOutput() ShardedDatabaseArrayOutput - ToShardedDatabaseArrayOutputWithContext(context.Context) ShardedDatabaseArrayOutput -} - -type ShardedDatabaseArray []ShardedDatabaseInput - -func (ShardedDatabaseArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ShardedDatabase)(nil)).Elem() -} - -func (i ShardedDatabaseArray) ToShardedDatabaseArrayOutput() ShardedDatabaseArrayOutput { - return i.ToShardedDatabaseArrayOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseArray) ToShardedDatabaseArrayOutputWithContext(ctx context.Context) ShardedDatabaseArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseArrayOutput) -} - -// ShardedDatabaseMapInput is an input type that accepts ShardedDatabaseMap and ShardedDatabaseMapOutput values. -// You can construct a concrete instance of `ShardedDatabaseMapInput` via: -// -// ShardedDatabaseMap{ "key": ShardedDatabaseArgs{...} } -type ShardedDatabaseMapInput interface { - pulumi.Input - - ToShardedDatabaseMapOutput() ShardedDatabaseMapOutput - ToShardedDatabaseMapOutputWithContext(context.Context) ShardedDatabaseMapOutput -} - -type ShardedDatabaseMap map[string]ShardedDatabaseInput - -func (ShardedDatabaseMap) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ShardedDatabase)(nil)).Elem() -} - -func (i ShardedDatabaseMap) ToShardedDatabaseMapOutput() ShardedDatabaseMapOutput { - return i.ToShardedDatabaseMapOutputWithContext(context.Background()) -} - -func (i ShardedDatabaseMap) ToShardedDatabaseMapOutputWithContext(ctx context.Context) ShardedDatabaseMapOutput { - return pulumi.ToOutputWithContext(ctx, i).(ShardedDatabaseMapOutput) -} - -type ShardedDatabaseOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseOutput) ElementType() reflect.Type { - return reflect.TypeOf((**ShardedDatabase)(nil)).Elem() -} - -func (o ShardedDatabaseOutput) ToShardedDatabaseOutput() ShardedDatabaseOutput { - return o -} - -func (o ShardedDatabaseOutput) ToShardedDatabaseOutputWithContext(ctx context.Context) ShardedDatabaseOutput { - return o -} - -// Collection of ATP-Dedicated catalogs that needs to be created. -func (o ShardedDatabaseOutput) CatalogDetails() ShardedDatabaseCatalogDetailArrayOutput { - return o.ApplyT(func(v *ShardedDatabase) ShardedDatabaseCatalogDetailArrayOutput { return v.CatalogDetails }).(ShardedDatabaseCatalogDetailArrayOutput) -} - -// The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets -func (o ShardedDatabaseOutput) CharacterSet() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.CharacterSet }).(pulumi.StringOutput) -} - -// The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. -func (o ShardedDatabaseOutput) Chunks() pulumi.IntOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntOutput { return v.Chunks }).(pulumi.IntOutput) -} - -// The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. -func (o ShardedDatabaseOutput) ClusterCertificateCommonName() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.ClusterCertificateCommonName }).(pulumi.StringOutput) -} - -// (Updatable) Identifier of the compartment where sharded database is to be created. -func (o ShardedDatabaseOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) -} - -// (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. -func (o ShardedDatabaseOutput) ConfigureGsmsTrigger() pulumi.IntOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntOutput { return v.ConfigureGsmsTrigger }).(pulumi.IntOutput) -} - -// (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. -func (o ShardedDatabaseOutput) ConfigureShardingTrigger() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntPtrOutput { return v.ConfigureShardingTrigger }).(pulumi.IntPtrOutput) -} - -// Details of sharded database connection String. -func (o ShardedDatabaseOutput) ConnectionStrings() ShardedDatabaseConnectionStringArrayOutput { - return o.ApplyT(func(v *ShardedDatabase) ShardedDatabaseConnectionStringArrayOutput { return v.ConnectionStrings }).(ShardedDatabaseConnectionStringArrayOutput) -} - -// The database deployment type. -func (o ShardedDatabaseOutput) DbDeploymentType() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.DbDeploymentType }).(pulumi.StringOutput) -} - -// Oracle Database version of the Autonomous Container Database. -func (o ShardedDatabaseOutput) DbVersion() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.DbVersion }).(pulumi.StringOutput) -} - -// Possible workload types. -func (o ShardedDatabaseOutput) DbWorkload() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.DbWorkload }).(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 ShardedDatabaseOutput) DefinedTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringMapOutput { return v.DefinedTags }).(pulumi.StringMapOutput) -} - -// (Updatable) Oracle sharded database display name. -func (o ShardedDatabaseOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) -} - -// (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. -func (o ShardedDatabaseOutput) DownloadGsmCertificateSigningRequestTrigger() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntPtrOutput { return v.DownloadGsmCertificateSigningRequestTrigger }).(pulumi.IntPtrOutput) -} - -// (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 ShardedDatabaseOutput) FreeformTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringMapOutput { return v.FreeformTags }).(pulumi.StringMapOutput) -} - -// (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. -func (o ShardedDatabaseOutput) GenerateGsmCertificateSigningRequestTrigger() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntPtrOutput { return v.GenerateGsmCertificateSigningRequestTrigger }).(pulumi.IntPtrOutput) -} - -// (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. -func (o ShardedDatabaseOutput) GenerateWalletTrigger() pulumi.IntOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntOutput { return v.GenerateWalletTrigger }).(pulumi.IntOutput) -} - -// (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. -func (o ShardedDatabaseOutput) GetConnectionStringTrigger() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntPtrOutput { return v.GetConnectionStringTrigger }).(pulumi.IntPtrOutput) -} - -// Details of GSM instances for the sharded database. -func (o ShardedDatabaseOutput) Gsms() ShardedDatabaseGsmArrayOutput { - return o.ApplyT(func(v *ShardedDatabase) ShardedDatabaseGsmArrayOutput { return v.Gsms }).(ShardedDatabaseGsmArrayOutput) -} - -func (o ShardedDatabaseOutput) LifecycleState() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.LifecycleState }).(pulumi.StringOutput) -} - -// Detailed message for the lifecycle state. -func (o ShardedDatabaseOutput) LifecycleStateDetails() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.LifecycleStateDetails }).(pulumi.StringOutput) -} - -// The listener port number for sharded database. -func (o ShardedDatabaseOutput) ListenerPort() pulumi.IntOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntOutput { return v.ListenerPort }).(pulumi.IntOutput) -} - -// The TLS listener port number for sharded database. -func (o ShardedDatabaseOutput) ListenerPortTls() pulumi.IntOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntOutput { return v.ListenerPortTls }).(pulumi.IntOutput) -} - -// The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets -func (o ShardedDatabaseOutput) NcharacterSet() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.NcharacterSet }).(pulumi.StringOutput) -} - -// Ons port local for sharded database. -func (o ShardedDatabaseOutput) OnsPortLocal() pulumi.IntOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntOutput { return v.OnsPortLocal }).(pulumi.IntOutput) -} - -// Ons remote port for sharded database. -func (o ShardedDatabaseOutput) OnsPortRemote() pulumi.IntOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntOutput { return v.OnsPortRemote }).(pulumi.IntOutput) -} - -// (Updatable) -func (o ShardedDatabaseOutput) PatchOperations() ShardedDatabasePatchOperationArrayOutput { - return o.ApplyT(func(v *ShardedDatabase) ShardedDatabasePatchOperationArrayOutput { return v.PatchOperations }).(ShardedDatabasePatchOperationArrayOutput) -} - -// Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. -func (o ShardedDatabaseOutput) Prefix() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.Prefix }).(pulumi.StringOutput) -} - -// The OCID of private endpoint being used by the sharded database. -func (o ShardedDatabaseOutput) PrivateEndpoint() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.PrivateEndpoint }).(pulumi.StringOutput) -} - -// Collection of ATP-Dedicated shards that needs to be created. -func (o ShardedDatabaseOutput) ShardDetails() ShardedDatabaseShardDetailArrayOutput { - return o.ApplyT(func(v *ShardedDatabase) ShardedDatabaseShardDetailArrayOutput { return v.ShardDetails }).(ShardedDatabaseShardDetailArrayOutput) -} - -func (o ShardedDatabaseOutput) ShardedDatabaseId() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.ShardedDatabaseId }).(pulumi.StringOutput) -} - -// Sharding Method. -func (o ShardedDatabaseOutput) ShardingMethod() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.ShardingMethod }).(pulumi.StringOutput) -} - -// (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. -func (o ShardedDatabaseOutput) StartDatabaseTrigger() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntPtrOutput { return v.StartDatabaseTrigger }).(pulumi.IntPtrOutput) -} - -// Lifecycle states for sharded databases. -func (o ShardedDatabaseOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) -} - -// (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. -func (o ShardedDatabaseOutput) StopDatabaseTrigger() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntPtrOutput { return v.StopDatabaseTrigger }).(pulumi.IntPtrOutput) -} - -// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` -func (o ShardedDatabaseOutput) SystemTags() pulumi.StringMapOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) -} - -// The time the the Sharded Database was created. An RFC3339 formatted datetime string -func (o ShardedDatabaseOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) -} - -// The time the Sharded Database was last updated. An RFC3339 formatted datetime string -func (o ShardedDatabaseOutput) TimeUpdated() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) -} - -// Timezone associated with the sharded database. -func (o ShardedDatabaseOutput) TimeZone() pulumi.StringOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.StringOutput { return v.TimeZone }).(pulumi.StringOutput) -} - -// (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. -func (o ShardedDatabaseOutput) UploadSignedCertificateAndGenerateWalletTrigger() pulumi.IntOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntOutput { return v.UploadSignedCertificateAndGenerateWalletTrigger }).(pulumi.IntOutput) -} - -// (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 ShardedDatabaseOutput) ValidateNetworkTrigger() pulumi.IntPtrOutput { - return o.ApplyT(func(v *ShardedDatabase) pulumi.IntPtrOutput { return v.ValidateNetworkTrigger }).(pulumi.IntPtrOutput) -} - -type ShardedDatabaseArrayOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]*ShardedDatabase)(nil)).Elem() -} - -func (o ShardedDatabaseArrayOutput) ToShardedDatabaseArrayOutput() ShardedDatabaseArrayOutput { - return o -} - -func (o ShardedDatabaseArrayOutput) ToShardedDatabaseArrayOutputWithContext(ctx context.Context) ShardedDatabaseArrayOutput { - return o -} - -func (o ShardedDatabaseArrayOutput) Index(i pulumi.IntInput) ShardedDatabaseOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) *ShardedDatabase { - return vs[0].([]*ShardedDatabase)[vs[1].(int)] - }).(ShardedDatabaseOutput) -} - -type ShardedDatabaseMapOutput struct{ *pulumi.OutputState } - -func (ShardedDatabaseMapOutput) ElementType() reflect.Type { - return reflect.TypeOf((*map[string]*ShardedDatabase)(nil)).Elem() -} - -func (o ShardedDatabaseMapOutput) ToShardedDatabaseMapOutput() ShardedDatabaseMapOutput { - return o -} - -func (o ShardedDatabaseMapOutput) ToShardedDatabaseMapOutputWithContext(ctx context.Context) ShardedDatabaseMapOutput { - return o -} - -func (o ShardedDatabaseMapOutput) MapIndex(k pulumi.StringInput) ShardedDatabaseOutput { - return pulumi.All(o, k).ApplyT(func(vs []interface{}) *ShardedDatabase { - return vs[0].(map[string]*ShardedDatabase)[vs[1].(string)] - }).(ShardedDatabaseOutput) -} - -func init() { - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseInput)(nil)).Elem(), &ShardedDatabase{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseArrayInput)(nil)).Elem(), ShardedDatabaseArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*ShardedDatabaseMapInput)(nil)).Elem(), ShardedDatabaseMap{}) - pulumi.RegisterOutputType(ShardedDatabaseOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseArrayOutput{}) - pulumi.RegisterOutputType(ShardedDatabaseMapOutput{}) -} diff --git a/sdk/go/oci/identity/domainsGroup.go b/sdk/go/oci/identity/domainsGroup.go index 2e342a1ea7..7b55e35f3b 100644 --- a/sdk/go/oci/identity/domainsGroup.go +++ b/sdk/go/oci/identity/domainsGroup.go @@ -93,7 +93,8 @@ type DomainsGroup struct { // * returned: default // * type: string // * uniqueness: none - ExternalId pulumi.StringOutput `pulumi:"externalId"` + ExternalId pulumi.StringOutput `pulumi:"externalId"` + ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"` // (Updatable) The User or App who created the Resource // // **SCIM++ Properties:** @@ -350,7 +351,8 @@ type domainsGroupState struct { // * returned: default // * type: string // * uniqueness: none - ExternalId *string `pulumi:"externalId"` + ExternalId *string `pulumi:"externalId"` + ForceDelete *bool `pulumi:"forceDelete"` // (Updatable) The User or App who created the Resource // // **SCIM++ Properties:** @@ -569,7 +571,8 @@ type DomainsGroupState struct { // * returned: default // * type: string // * uniqueness: none - ExternalId pulumi.StringPtrInput + ExternalId pulumi.StringPtrInput + ForceDelete pulumi.BoolPtrInput // (Updatable) The User or App who created the Resource // // **SCIM++ Properties:** @@ -756,7 +759,8 @@ type domainsGroupArgs struct { // * returned: default // * type: string // * uniqueness: none - ExternalId *string `pulumi:"externalId"` + ExternalId *string `pulumi:"externalId"` + ForceDelete *bool `pulumi:"forceDelete"` // The basic endpoint for the identity domain IdcsEndpoint string `pulumi:"idcsEndpoint"` // (Updatable) The group members. Important: When requesting group members, a maximum of 10,000 members can be returned in a single request. If the response contains more than 10,000 members, the request will fail. Use 'startIndex' and 'count' to return members in pages instead of in a single response, for example: #attributes=members[startIndex=1%26count=10]. This REST API is SCIM compliant. @@ -871,7 +875,8 @@ type DomainsGroupArgs struct { // * returned: default // * type: string // * uniqueness: none - ExternalId pulumi.StringPtrInput + ExternalId pulumi.StringPtrInput + ForceDelete pulumi.BoolPtrInput // The basic endpoint for the identity domain IdcsEndpoint pulumi.StringInput // (Updatable) The group members. Important: When requesting group members, a maximum of 10,000 members can be returned in a single request. If the response contains more than 10,000 members, the request will fail. Use 'startIndex' and 'count' to return members in pages instead of in a single response, for example: #attributes=members[startIndex=1%26count=10]. This REST API is SCIM compliant. @@ -1132,6 +1137,10 @@ func (o DomainsGroupOutput) ExternalId() pulumi.StringOutput { return o.ApplyT(func(v *DomainsGroup) pulumi.StringOutput { return v.ExternalId }).(pulumi.StringOutput) } +func (o DomainsGroupOutput) ForceDelete() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DomainsGroup) pulumi.BoolPtrOutput { return v.ForceDelete }).(pulumi.BoolPtrOutput) +} + // (Updatable) The User or App who created the Resource // // **SCIM++ Properties:** diff --git a/sdk/go/oci/identity/domainsUser.go b/sdk/go/oci/identity/domainsUser.go index a40147b3b6..91502e2472 100644 --- a/sdk/go/oci/identity/domainsUser.go +++ b/sdk/go/oci/identity/domainsUser.go @@ -162,7 +162,8 @@ type DomainsUser struct { // * returned: default // * type: string // * uniqueness: none - ExternalId pulumi.StringOutput `pulumi:"externalId"` + ExternalId pulumi.StringOutput `pulumi:"externalId"` + ForceDelete pulumi.BoolPtrOutput `pulumi:"forceDelete"` // (Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated // // **SCIM++ Properties:** @@ -711,7 +712,8 @@ type domainsUserState struct { // * returned: default // * type: string // * uniqueness: none - ExternalId *string `pulumi:"externalId"` + ExternalId *string `pulumi:"externalId"` + ForceDelete *bool `pulumi:"forceDelete"` // (Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated // // **SCIM++ Properties:** @@ -1215,7 +1217,8 @@ type DomainsUserState struct { // * returned: default // * type: string // * uniqueness: none - ExternalId pulumi.StringPtrInput + ExternalId pulumi.StringPtrInput + ForceDelete pulumi.BoolPtrInput // (Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated // // **SCIM++ Properties:** @@ -1687,7 +1690,8 @@ type domainsUserArgs struct { // * returned: default // * type: string // * uniqueness: none - ExternalId *string `pulumi:"externalId"` + ExternalId *string `pulumi:"externalId"` + ForceDelete *bool `pulumi:"forceDelete"` // The basic endpoint for the identity domain IdcsEndpoint string `pulumi:"idcsEndpoint"` // (Updatable) User's instant messaging addresses @@ -2071,7 +2075,8 @@ type DomainsUserArgs struct { // * returned: default // * type: string // * uniqueness: none - ExternalId pulumi.StringPtrInput + ExternalId pulumi.StringPtrInput + ForceDelete pulumi.BoolPtrInput // The basic endpoint for the identity domain IdcsEndpoint pulumi.StringInput // (Updatable) User's instant messaging addresses @@ -2616,6 +2621,10 @@ func (o DomainsUserOutput) ExternalId() pulumi.StringOutput { return o.ApplyT(func(v *DomainsUser) pulumi.StringOutput { return v.ExternalId }).(pulumi.StringOutput) } +func (o DomainsUserOutput) ForceDelete() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DomainsUser) pulumi.BoolPtrOutput { return v.ForceDelete }).(pulumi.BoolPtrOutput) +} + // (Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated // // **SCIM++ Properties:** diff --git a/sdk/go/oci/identity/getDomainsGroup.go b/sdk/go/oci/identity/getDomainsGroup.go index 4344311239..cd0ae2b2da 100644 --- a/sdk/go/oci/identity/getDomainsGroup.go +++ b/sdk/go/oci/identity/getDomainsGroup.go @@ -85,8 +85,9 @@ type LookupDomainsGroupResult struct { // Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives. DomainOcid string `pulumi:"domainOcid"` // An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant. - ExternalId string `pulumi:"externalId"` - GroupId string `pulumi:"groupId"` + ExternalId string `pulumi:"externalId"` + ForceDelete bool `pulumi:"forceDelete"` + GroupId string `pulumi:"groupId"` // Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. Id string `pulumi:"id"` // The User or App who created the Resource @@ -212,6 +213,10 @@ func (o LookupDomainsGroupResultOutput) ExternalId() pulumi.StringOutput { return o.ApplyT(func(v LookupDomainsGroupResult) string { return v.ExternalId }).(pulumi.StringOutput) } +func (o LookupDomainsGroupResultOutput) ForceDelete() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDomainsGroupResult) bool { return v.ForceDelete }).(pulumi.BoolOutput) +} + func (o LookupDomainsGroupResultOutput) GroupId() pulumi.StringOutput { return o.ApplyT(func(v LookupDomainsGroupResult) string { return v.GroupId }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/identity/getDomainsUser.go b/sdk/go/oci/identity/getDomainsUser.go index cffb55de44..a6b49131b2 100644 --- a/sdk/go/oci/identity/getDomainsUser.go +++ b/sdk/go/oci/identity/getDomainsUser.go @@ -95,7 +95,8 @@ type LookupDomainsUserResult struct { // A list of entitlements for the User that represent a thing the User has. Entitlements []GetDomainsUserEntitlement `pulumi:"entitlements"` // An identifier for the Resource as defined by the Service Consumer. READ-ONLY. - ExternalId string `pulumi:"externalId"` + ExternalId string `pulumi:"externalId"` + ForceDelete bool `pulumi:"forceDelete"` // A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated Groups []GetDomainsUserGroup `pulumi:"groups"` // Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. @@ -304,6 +305,10 @@ func (o LookupDomainsUserResultOutput) ExternalId() pulumi.StringOutput { return o.ApplyT(func(v LookupDomainsUserResult) string { return v.ExternalId }).(pulumi.StringOutput) } +func (o LookupDomainsUserResultOutput) ForceDelete() pulumi.BoolOutput { + return o.ApplyT(func(v LookupDomainsUserResult) bool { return v.ForceDelete }).(pulumi.BoolOutput) +} + // A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated func (o LookupDomainsUserResultOutput) Groups() GetDomainsUserGroupArrayOutput { return o.ApplyT(func(v LookupDomainsUserResult) []GetDomainsUserGroup { return v.Groups }).(GetDomainsUserGroupArrayOutput) diff --git a/sdk/go/oci/identity/pulumiTypes1.go b/sdk/go/oci/identity/pulumiTypes1.go index 3106be2f95..0209143588 100644 --- a/sdk/go/oci/identity/pulumiTypes1.go +++ b/sdk/go/oci/identity/pulumiTypes1.go @@ -52288,7 +52288,8 @@ type GetDomainsGroupsGroup struct { // Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives. DomainOcid string `pulumi:"domainOcid"` // An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant. - ExternalId string `pulumi:"externalId"` + ExternalId string `pulumi:"externalId"` + ForceDelete bool `pulumi:"forceDelete"` // Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. Id string `pulumi:"id"` // The User or App who created the Resource @@ -52358,7 +52359,8 @@ type GetDomainsGroupsGroupArgs struct { // Oracle Cloud Infrastructure Domain Id (ocid) in which the resource lives. DomainOcid pulumi.StringInput `pulumi:"domainOcid"` // An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant. - ExternalId pulumi.StringInput `pulumi:"externalId"` + ExternalId pulumi.StringInput `pulumi:"externalId"` + ForceDelete pulumi.BoolInput `pulumi:"forceDelete"` // Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. Id pulumi.StringInput `pulumi:"id"` // The User or App who created the Resource @@ -52492,6 +52494,10 @@ func (o GetDomainsGroupsGroupOutput) ExternalId() pulumi.StringOutput { return o.ApplyT(func(v GetDomainsGroupsGroup) string { return v.ExternalId }).(pulumi.StringOutput) } +func (o GetDomainsGroupsGroupOutput) ForceDelete() pulumi.BoolOutput { + return o.ApplyT(func(v GetDomainsGroupsGroup) bool { return v.ForceDelete }).(pulumi.BoolOutput) +} + // Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. func (o GetDomainsGroupsGroupOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetDomainsGroupsGroup) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/oci/identity/pulumiTypes2.go b/sdk/go/oci/identity/pulumiTypes2.go index f943f757a5..836244df3a 100644 --- a/sdk/go/oci/identity/pulumiTypes2.go +++ b/sdk/go/oci/identity/pulumiTypes2.go @@ -59806,7 +59806,8 @@ type GetDomainsUsersUser struct { // A list of entitlements for the User that represent a thing the User has. Entitlements []GetDomainsUsersUserEntitlement `pulumi:"entitlements"` // An identifier for the Resource as defined by the Service Consumer. READ-ONLY. - ExternalId string `pulumi:"externalId"` + ExternalId string `pulumi:"externalId"` + ForceDelete bool `pulumi:"forceDelete"` // A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated Groups []GetDomainsUsersUserGroup `pulumi:"groups"` // Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. @@ -59942,7 +59943,8 @@ type GetDomainsUsersUserArgs struct { // A list of entitlements for the User that represent a thing the User has. Entitlements GetDomainsUsersUserEntitlementArrayInput `pulumi:"entitlements"` // An identifier for the Resource as defined by the Service Consumer. READ-ONLY. - ExternalId pulumi.StringInput `pulumi:"externalId"` + ExternalId pulumi.StringInput `pulumi:"externalId"` + ForceDelete pulumi.BoolInput `pulumi:"forceDelete"` // A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated Groups GetDomainsUsersUserGroupArrayInput `pulumi:"groups"` // Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. @@ -60157,6 +60159,10 @@ func (o GetDomainsUsersUserOutput) ExternalId() pulumi.StringOutput { return o.ApplyT(func(v GetDomainsUsersUser) string { return v.ExternalId }).(pulumi.StringOutput) } +func (o GetDomainsUsersUserOutput) ForceDelete() pulumi.BoolOutput { + return o.ApplyT(func(v GetDomainsUsersUser) bool { return v.ForceDelete }).(pulumi.BoolOutput) +} + // A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated func (o GetDomainsUsersUserOutput) Groups() GetDomainsUsersUserGroupArrayOutput { return o.ApplyT(func(v GetDomainsUsersUser) []GetDomainsUsersUserGroup { return v.Groups }).(GetDomainsUsersUserGroupArrayOutput) diff --git a/sdk/go/oci/kms/getVault.go b/sdk/go/oci/kms/getVault.go index 1c5bec8596..21f5a4a757 100644 --- a/sdk/go/oci/kms/getVault.go +++ b/sdk/go/oci/kms/getVault.go @@ -80,6 +80,8 @@ type LookupVaultResult struct { Id string `pulumi:"id"` // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. IsPrimary bool `pulumi:"isPrimary"` + // A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + IsVaultReplicable bool `pulumi:"isVaultReplicable"` // 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 @@ -187,6 +189,11 @@ func (o LookupVaultResultOutput) IsPrimary() pulumi.BoolOutput { return o.ApplyT(func(v LookupVaultResult) bool { return v.IsPrimary }).(pulumi.BoolOutput) } +// A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. +func (o LookupVaultResultOutput) IsVaultReplicable() pulumi.BoolOutput { + return o.ApplyT(func(v LookupVaultResult) bool { return v.IsVaultReplicable }).(pulumi.BoolOutput) +} + // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. func (o LookupVaultResultOutput) ManagementEndpoint() pulumi.StringOutput { return o.ApplyT(func(v LookupVaultResult) string { return v.ManagementEndpoint }).(pulumi.StringOutput) diff --git a/sdk/go/oci/kms/pulumiTypes.go b/sdk/go/oci/kms/pulumiTypes.go index 37feff6e28..a416e6b495 100644 --- a/sdk/go/oci/kms/pulumiTypes.go +++ b/sdk/go/oci/kms/pulumiTypes.go @@ -201,17 +201,17 @@ func (o GeneratedKeyKeyShapePtrOutput) Length() pulumi.IntPtrOutput { } type KeyAutoKeyRotationDetails struct { - // (Updatable) The last execution status message. + // (Updatable) The last execution status message of auto key rotation. LastRotationMessage *string `pulumi:"lastRotationMessage"` // (Updatable) The status of last execution of auto key rotation. LastRotationStatus *string `pulumi:"lastRotationStatus"` - // (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + // (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. RotationIntervalInDays *int `pulumi:"rotationIntervalInDays"` - // (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + // (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. TimeOfLastRotation *string `pulumi:"timeOfLastRotation"` - // (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. TimeOfNextRotation *string `pulumi:"timeOfNextRotation"` - // (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. TimeOfScheduleStart *string `pulumi:"timeOfScheduleStart"` } @@ -227,17 +227,17 @@ type KeyAutoKeyRotationDetailsInput interface { } type KeyAutoKeyRotationDetailsArgs struct { - // (Updatable) The last execution status message. + // (Updatable) The last execution status message of auto key rotation. LastRotationMessage pulumi.StringPtrInput `pulumi:"lastRotationMessage"` // (Updatable) The status of last execution of auto key rotation. LastRotationStatus pulumi.StringPtrInput `pulumi:"lastRotationStatus"` - // (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + // (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. RotationIntervalInDays pulumi.IntPtrInput `pulumi:"rotationIntervalInDays"` - // (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + // (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. TimeOfLastRotation pulumi.StringPtrInput `pulumi:"timeOfLastRotation"` - // (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. TimeOfNextRotation pulumi.StringPtrInput `pulumi:"timeOfNextRotation"` - // (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. TimeOfScheduleStart pulumi.StringPtrInput `pulumi:"timeOfScheduleStart"` } @@ -318,7 +318,7 @@ func (o KeyAutoKeyRotationDetailsOutput) ToKeyAutoKeyRotationDetailsPtrOutputWit }).(KeyAutoKeyRotationDetailsPtrOutput) } -// (Updatable) The last execution status message. +// (Updatable) The last execution status message of auto key rotation. func (o KeyAutoKeyRotationDetailsOutput) LastRotationMessage() pulumi.StringPtrOutput { return o.ApplyT(func(v KeyAutoKeyRotationDetails) *string { return v.LastRotationMessage }).(pulumi.StringPtrOutput) } @@ -328,22 +328,22 @@ func (o KeyAutoKeyRotationDetailsOutput) LastRotationStatus() pulumi.StringPtrOu return o.ApplyT(func(v KeyAutoKeyRotationDetails) *string { return v.LastRotationStatus }).(pulumi.StringPtrOutput) } -// (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) +// (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. func (o KeyAutoKeyRotationDetailsOutput) RotationIntervalInDays() pulumi.IntPtrOutput { return o.ApplyT(func(v KeyAutoKeyRotationDetails) *int { return v.RotationIntervalInDays }).(pulumi.IntPtrOutput) } -// (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. +// (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. func (o KeyAutoKeyRotationDetailsOutput) TimeOfLastRotation() pulumi.StringPtrOutput { return o.ApplyT(func(v KeyAutoKeyRotationDetails) *string { return v.TimeOfLastRotation }).(pulumi.StringPtrOutput) } -// (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . +// (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. func (o KeyAutoKeyRotationDetailsOutput) TimeOfNextRotation() pulumi.StringPtrOutput { return o.ApplyT(func(v KeyAutoKeyRotationDetails) *string { return v.TimeOfNextRotation }).(pulumi.StringPtrOutput) } -// (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . +// (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. func (o KeyAutoKeyRotationDetailsOutput) TimeOfScheduleStart() pulumi.StringPtrOutput { return o.ApplyT(func(v KeyAutoKeyRotationDetails) *string { return v.TimeOfScheduleStart }).(pulumi.StringPtrOutput) } @@ -372,7 +372,7 @@ func (o KeyAutoKeyRotationDetailsPtrOutput) Elem() KeyAutoKeyRotationDetailsOutp }).(KeyAutoKeyRotationDetailsOutput) } -// (Updatable) The last execution status message. +// (Updatable) The last execution status message of auto key rotation. func (o KeyAutoKeyRotationDetailsPtrOutput) LastRotationMessage() pulumi.StringPtrOutput { return o.ApplyT(func(v *KeyAutoKeyRotationDetails) *string { if v == nil { @@ -392,7 +392,7 @@ func (o KeyAutoKeyRotationDetailsPtrOutput) LastRotationStatus() pulumi.StringPt }).(pulumi.StringPtrOutput) } -// (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) +// (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. func (o KeyAutoKeyRotationDetailsPtrOutput) RotationIntervalInDays() pulumi.IntPtrOutput { return o.ApplyT(func(v *KeyAutoKeyRotationDetails) *int { if v == nil { @@ -402,7 +402,7 @@ func (o KeyAutoKeyRotationDetailsPtrOutput) RotationIntervalInDays() pulumi.IntP }).(pulumi.IntPtrOutput) } -// (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. +// (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. func (o KeyAutoKeyRotationDetailsPtrOutput) TimeOfLastRotation() pulumi.StringPtrOutput { return o.ApplyT(func(v *KeyAutoKeyRotationDetails) *string { if v == nil { @@ -412,7 +412,7 @@ func (o KeyAutoKeyRotationDetailsPtrOutput) TimeOfLastRotation() pulumi.StringPt }).(pulumi.StringPtrOutput) } -// (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . +// (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. func (o KeyAutoKeyRotationDetailsPtrOutput) TimeOfNextRotation() pulumi.StringPtrOutput { return o.ApplyT(func(v *KeyAutoKeyRotationDetails) *string { if v == nil { @@ -422,7 +422,7 @@ func (o KeyAutoKeyRotationDetailsPtrOutput) TimeOfNextRotation() pulumi.StringPt }).(pulumi.StringPtrOutput) } -// (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . +// (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. func (o KeyAutoKeyRotationDetailsPtrOutput) TimeOfScheduleStart() pulumi.StringPtrOutput { return o.ApplyT(func(v *KeyAutoKeyRotationDetails) *string { if v == nil { @@ -2942,17 +2942,17 @@ func (o GetEkmsPrivateEndpointsFilterArrayOutput) Index(i pulumi.IntInput) GetEk } type GetKeyAutoKeyRotationDetail struct { - // The last execution status message. + // The last execution status message of auto key rotation. LastRotationMessage string `pulumi:"lastRotationMessage"` // The status of last execution of auto key rotation. LastRotationStatus string `pulumi:"lastRotationStatus"` - // The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + // The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. RotationIntervalInDays int `pulumi:"rotationIntervalInDays"` - // A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + // A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. TimeOfLastRotation string `pulumi:"timeOfLastRotation"` - // A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. TimeOfNextRotation string `pulumi:"timeOfNextRotation"` - // A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. TimeOfScheduleStart string `pulumi:"timeOfScheduleStart"` } @@ -2968,17 +2968,17 @@ type GetKeyAutoKeyRotationDetailInput interface { } type GetKeyAutoKeyRotationDetailArgs struct { - // The last execution status message. + // The last execution status message of auto key rotation. LastRotationMessage pulumi.StringInput `pulumi:"lastRotationMessage"` // The status of last execution of auto key rotation. LastRotationStatus pulumi.StringInput `pulumi:"lastRotationStatus"` - // The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + // The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. RotationIntervalInDays pulumi.IntInput `pulumi:"rotationIntervalInDays"` - // A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + // A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. TimeOfLastRotation pulumi.StringInput `pulumi:"timeOfLastRotation"` - // A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. TimeOfNextRotation pulumi.StringInput `pulumi:"timeOfNextRotation"` - // A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. TimeOfScheduleStart pulumi.StringInput `pulumi:"timeOfScheduleStart"` } @@ -3033,7 +3033,7 @@ func (o GetKeyAutoKeyRotationDetailOutput) ToGetKeyAutoKeyRotationDetailOutputWi return o } -// The last execution status message. +// The last execution status message of auto key rotation. func (o GetKeyAutoKeyRotationDetailOutput) LastRotationMessage() pulumi.StringOutput { return o.ApplyT(func(v GetKeyAutoKeyRotationDetail) string { return v.LastRotationMessage }).(pulumi.StringOutput) } @@ -3043,22 +3043,22 @@ func (o GetKeyAutoKeyRotationDetailOutput) LastRotationStatus() pulumi.StringOut return o.ApplyT(func(v GetKeyAutoKeyRotationDetail) string { return v.LastRotationStatus }).(pulumi.StringOutput) } -// The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) +// The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. func (o GetKeyAutoKeyRotationDetailOutput) RotationIntervalInDays() pulumi.IntOutput { return o.ApplyT(func(v GetKeyAutoKeyRotationDetail) int { return v.RotationIntervalInDays }).(pulumi.IntOutput) } -// A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. +// A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. func (o GetKeyAutoKeyRotationDetailOutput) TimeOfLastRotation() pulumi.StringOutput { return o.ApplyT(func(v GetKeyAutoKeyRotationDetail) string { return v.TimeOfLastRotation }).(pulumi.StringOutput) } -// A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . +// A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. func (o GetKeyAutoKeyRotationDetailOutput) TimeOfNextRotation() pulumi.StringOutput { return o.ApplyT(func(v GetKeyAutoKeyRotationDetail) string { return v.TimeOfNextRotation }).(pulumi.StringOutput) } -// A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . +// A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. func (o GetKeyAutoKeyRotationDetailOutput) TimeOfScheduleStart() pulumi.StringOutput { return o.ApplyT(func(v GetKeyAutoKeyRotationDetail) string { return v.TimeOfScheduleStart }).(pulumi.StringOutput) } @@ -4900,17 +4900,17 @@ func (o GetKeysKeyArrayOutput) Index(i pulumi.IntInput) GetKeysKeyOutput { } type GetKeysKeyAutoKeyRotationDetail struct { - // The last execution status message. + // The last execution status message of auto key rotation. LastRotationMessage string `pulumi:"lastRotationMessage"` // The status of last execution of auto key rotation. LastRotationStatus string `pulumi:"lastRotationStatus"` - // The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + // The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. RotationIntervalInDays int `pulumi:"rotationIntervalInDays"` - // A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + // A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. TimeOfLastRotation string `pulumi:"timeOfLastRotation"` - // A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. TimeOfNextRotation string `pulumi:"timeOfNextRotation"` - // A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. TimeOfScheduleStart string `pulumi:"timeOfScheduleStart"` } @@ -4926,17 +4926,17 @@ type GetKeysKeyAutoKeyRotationDetailInput interface { } type GetKeysKeyAutoKeyRotationDetailArgs struct { - // The last execution status message. + // The last execution status message of auto key rotation. LastRotationMessage pulumi.StringInput `pulumi:"lastRotationMessage"` // The status of last execution of auto key rotation. LastRotationStatus pulumi.StringInput `pulumi:"lastRotationStatus"` - // The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + // The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. RotationIntervalInDays pulumi.IntInput `pulumi:"rotationIntervalInDays"` - // A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + // A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. TimeOfLastRotation pulumi.StringInput `pulumi:"timeOfLastRotation"` - // A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. TimeOfNextRotation pulumi.StringInput `pulumi:"timeOfNextRotation"` - // A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + // A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. TimeOfScheduleStart pulumi.StringInput `pulumi:"timeOfScheduleStart"` } @@ -4991,7 +4991,7 @@ func (o GetKeysKeyAutoKeyRotationDetailOutput) ToGetKeysKeyAutoKeyRotationDetail return o } -// The last execution status message. +// The last execution status message of auto key rotation. func (o GetKeysKeyAutoKeyRotationDetailOutput) LastRotationMessage() pulumi.StringOutput { return o.ApplyT(func(v GetKeysKeyAutoKeyRotationDetail) string { return v.LastRotationMessage }).(pulumi.StringOutput) } @@ -5001,22 +5001,22 @@ func (o GetKeysKeyAutoKeyRotationDetailOutput) LastRotationStatus() pulumi.Strin return o.ApplyT(func(v GetKeysKeyAutoKeyRotationDetail) string { return v.LastRotationStatus }).(pulumi.StringOutput) } -// The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) +// The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. func (o GetKeysKeyAutoKeyRotationDetailOutput) RotationIntervalInDays() pulumi.IntOutput { return o.ApplyT(func(v GetKeysKeyAutoKeyRotationDetail) int { return v.RotationIntervalInDays }).(pulumi.IntOutput) } -// A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. +// A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. func (o GetKeysKeyAutoKeyRotationDetailOutput) TimeOfLastRotation() pulumi.StringOutput { return o.ApplyT(func(v GetKeysKeyAutoKeyRotationDetail) string { return v.TimeOfLastRotation }).(pulumi.StringOutput) } -// A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . +// A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. func (o GetKeysKeyAutoKeyRotationDetailOutput) TimeOfNextRotation() pulumi.StringOutput { return o.ApplyT(func(v GetKeysKeyAutoKeyRotationDetail) string { return v.TimeOfNextRotation }).(pulumi.StringOutput) } -// A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . +// A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. func (o GetKeysKeyAutoKeyRotationDetailOutput) TimeOfScheduleStart() pulumi.StringOutput { return o.ApplyT(func(v GetKeysKeyAutoKeyRotationDetail) string { return v.TimeOfScheduleStart }).(pulumi.StringOutput) } @@ -6945,6 +6945,8 @@ type GetVaultsVault struct { Id string `pulumi:"id"` // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. IsPrimary bool `pulumi:"isPrimary"` + // A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + IsVaultReplicable bool `pulumi:"isVaultReplicable"` // 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 @@ -6993,6 +6995,8 @@ type GetVaultsVaultArgs struct { Id pulumi.StringInput `pulumi:"id"` // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` + // A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + IsVaultReplicable pulumi.BoolInput `pulumi:"isVaultReplicable"` // 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 @@ -7111,6 +7115,11 @@ func (o GetVaultsVaultOutput) IsPrimary() pulumi.BoolOutput { return o.ApplyT(func(v GetVaultsVault) bool { return v.IsPrimary }).(pulumi.BoolOutput) } +// A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. +func (o GetVaultsVaultOutput) IsVaultReplicable() pulumi.BoolOutput { + return o.ApplyT(func(v GetVaultsVault) bool { return v.IsVaultReplicable }).(pulumi.BoolOutput) +} + // 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) diff --git a/sdk/go/oci/kms/vault.go b/sdk/go/oci/kms/vault.go index 52021aae61..9ffee70525 100644 --- a/sdk/go/oci/kms/vault.go +++ b/sdk/go/oci/kms/vault.go @@ -93,6 +93,8 @@ type Vault struct { FreeformTags pulumi.StringMapOutput `pulumi:"freeformTags"` // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. IsPrimary pulumi.BoolOutput `pulumi:"isPrimary"` + // A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + IsVaultReplicable pulumi.BoolOutput `pulumi:"isVaultReplicable"` // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. ManagementEndpoint pulumi.StringOutput `pulumi:"managementEndpoint"` // Vault replica details @@ -172,6 +174,8 @@ type vaultState struct { FreeformTags map[string]string `pulumi:"freeformTags"` // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. IsPrimary *bool `pulumi:"isPrimary"` + // A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + IsVaultReplicable *bool `pulumi:"isVaultReplicable"` // 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 @@ -213,6 +217,8 @@ type VaultState struct { FreeformTags pulumi.StringMapInput // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. IsPrimary pulumi.BoolPtrInput + // A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + IsVaultReplicable pulumi.BoolPtrInput // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. ManagementEndpoint pulumi.StringPtrInput // Vault replica details @@ -421,6 +427,11 @@ func (o VaultOutput) IsPrimary() pulumi.BoolOutput { return o.ApplyT(func(v *Vault) pulumi.BoolOutput { return v.IsPrimary }).(pulumi.BoolOutput) } +// A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. +func (o VaultOutput) IsVaultReplicable() pulumi.BoolOutput { + return o.ApplyT(func(v *Vault) pulumi.BoolOutput { return v.IsVaultReplicable }).(pulumi.BoolOutput) +} + // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. func (o VaultOutput) ManagementEndpoint() pulumi.StringOutput { return o.ApplyT(func(v *Vault) pulumi.StringOutput { return v.ManagementEndpoint }).(pulumi.StringOutput) diff --git a/sdk/go/oci/loadbalancer/loadBalancer.go b/sdk/go/oci/loadbalancer/loadBalancer.go index 6bc99238da..8ea350456d 100644 --- a/sdk/go/oci/loadbalancer/loadBalancer.go +++ b/sdk/go/oci/loadbalancer/loadBalancer.go @@ -71,7 +71,9 @@ import ( // IpMode: pulumi.Any(loadBalancerIpMode), // IsDeleteProtectionEnabled: pulumi.Any(loadBalancerIsDeleteProtectionEnabled), // IsPrivate: pulumi.Any(loadBalancerIsPrivate), +// IsRequestIdEnabled: pulumi.Any(loadBalancerIsRequestIdEnabled), // NetworkSecurityGroupIds: pulumi.Any(loadBalancerNetworkSecurityGroupIds), +// RequestIdHeader: pulumi.Any(loadBalancerRequestIdHeader), // ReservedIps: loadbalancer.LoadBalancerReservedIpArray{ // &loadbalancer.LoadBalancerReservedIpArgs{ // Id: pulumi.Any(loadBalancerReservedIpsId), @@ -141,6 +143,16 @@ type LoadBalancer struct { // // Example: `true` IsPrivate pulumi.BoolOutput `pulumi:"isPrivate"` + // (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + // + // If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + // + // If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + // + // New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + // + // Example: `true` + IsRequestIdEnabled pulumi.BoolOutput `pulumi:"isRequestIdEnabled"` // (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. // // During the load balancer's creation, the service adds the new load balancer to the specified NSGs. @@ -151,6 +163,18 @@ type LoadBalancer struct { // // Example: `["ocid1.nsg.oc1.phx.unique_ID"]` NetworkSecurityGroupIds pulumi.StringArrayOutput `pulumi:"networkSecurityGroupIds"` + // (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + // + // If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + // + // If isRequestIdEnabled is false then this field is ignored. + // + // If this field is not set or is set to "" then this field defaults to X-Request-Id + // + // **Notes:** + // * Unless the header name is "" it must start with "X-" prefix. + // * Setting the header name to "" will set it to the default: X-Request-Id. + RequestIdHeader pulumi.StringOutput `pulumi:"requestIdHeader"` // 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. ReservedIps LoadBalancerReservedIpArrayOutput `pulumi:"reservedIps"` // (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`. @@ -252,6 +276,16 @@ type loadBalancerState struct { // // Example: `true` IsPrivate *bool `pulumi:"isPrivate"` + // (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + // + // If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + // + // If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + // + // New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + // + // Example: `true` + IsRequestIdEnabled *bool `pulumi:"isRequestIdEnabled"` // (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. // // During the load balancer's creation, the service adds the new load balancer to the specified NSGs. @@ -262,6 +296,18 @@ type loadBalancerState struct { // // Example: `["ocid1.nsg.oc1.phx.unique_ID"]` NetworkSecurityGroupIds []string `pulumi:"networkSecurityGroupIds"` + // (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + // + // If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + // + // If isRequestIdEnabled is false then this field is ignored. + // + // If this field is not set or is set to "" then this field defaults to X-Request-Id + // + // **Notes:** + // * Unless the header name is "" it must start with "X-" prefix. + // * Setting the header name to "" will set it to the default: X-Request-Id. + RequestIdHeader *string `pulumi:"requestIdHeader"` // 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. ReservedIps []LoadBalancerReservedIp `pulumi:"reservedIps"` // (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`. @@ -322,6 +368,16 @@ type LoadBalancerState struct { // // Example: `true` IsPrivate pulumi.BoolPtrInput + // (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + // + // If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + // + // If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + // + // New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + // + // Example: `true` + IsRequestIdEnabled pulumi.BoolPtrInput // (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. // // During the load balancer's creation, the service adds the new load balancer to the specified NSGs. @@ -332,6 +388,18 @@ type LoadBalancerState struct { // // Example: `["ocid1.nsg.oc1.phx.unique_ID"]` NetworkSecurityGroupIds pulumi.StringArrayInput + // (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + // + // If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + // + // If isRequestIdEnabled is false then this field is ignored. + // + // If this field is not set or is set to "" then this field defaults to X-Request-Id + // + // **Notes:** + // * Unless the header name is "" it must start with "X-" prefix. + // * Setting the header name to "" will set it to the default: X-Request-Id. + RequestIdHeader pulumi.StringPtrInput // 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. ReservedIps LoadBalancerReservedIpArrayInput // (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`. @@ -390,6 +458,16 @@ type loadBalancerArgs struct { // // Example: `true` IsPrivate *bool `pulumi:"isPrivate"` + // (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + // + // If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + // + // If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + // + // New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + // + // Example: `true` + IsRequestIdEnabled *bool `pulumi:"isRequestIdEnabled"` // (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. // // During the load balancer's creation, the service adds the new load balancer to the specified NSGs. @@ -400,6 +478,18 @@ type loadBalancerArgs struct { // // Example: `["ocid1.nsg.oc1.phx.unique_ID"]` NetworkSecurityGroupIds []string `pulumi:"networkSecurityGroupIds"` + // (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + // + // If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + // + // If isRequestIdEnabled is false then this field is ignored. + // + // If this field is not set or is set to "" then this field defaults to X-Request-Id + // + // **Notes:** + // * Unless the header name is "" it must start with "X-" prefix. + // * Setting the header name to "" will set it to the default: X-Request-Id. + RequestIdHeader *string `pulumi:"requestIdHeader"` // 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. ReservedIps []LoadBalancerReservedIp `pulumi:"reservedIps"` // (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`. @@ -449,6 +539,16 @@ type LoadBalancerArgs struct { // // Example: `true` IsPrivate pulumi.BoolPtrInput + // (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + // + // If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + // + // If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + // + // New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + // + // Example: `true` + IsRequestIdEnabled pulumi.BoolPtrInput // (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. // // During the load balancer's creation, the service adds the new load balancer to the specified NSGs. @@ -459,6 +559,18 @@ type LoadBalancerArgs struct { // // Example: `["ocid1.nsg.oc1.phx.unique_ID"]` NetworkSecurityGroupIds pulumi.StringArrayInput + // (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + // + // If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + // + // If isRequestIdEnabled is false then this field is ignored. + // + // If this field is not set or is set to "" then this field defaults to X-Request-Id + // + // **Notes:** + // * Unless the header name is "" it must start with "X-" prefix. + // * Setting the header name to "" will set it to the default: X-Request-Id. + RequestIdHeader pulumi.StringPtrInput // 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. ReservedIps LoadBalancerReservedIpArrayInput // (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`. @@ -626,6 +738,19 @@ func (o LoadBalancerOutput) IsPrivate() pulumi.BoolOutput { return o.ApplyT(func(v *LoadBalancer) pulumi.BoolOutput { return v.IsPrivate }).(pulumi.BoolOutput) } +// (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. +// +// If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. +// +// If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. +// +// New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. +// +// Example: `true` +func (o LoadBalancerOutput) IsRequestIdEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v *LoadBalancer) pulumi.BoolOutput { return v.IsRequestIdEnabled }).(pulumi.BoolOutput) +} + // (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. // // During the load balancer's creation, the service adds the new load balancer to the specified NSGs. @@ -639,6 +764,21 @@ func (o LoadBalancerOutput) NetworkSecurityGroupIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *LoadBalancer) pulumi.StringArrayOutput { return v.NetworkSecurityGroupIds }).(pulumi.StringArrayOutput) } +// (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. +// +// If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. +// +// If isRequestIdEnabled is false then this field is ignored. +// +// If this field is not set or is set to "" then this field defaults to X-Request-Id +// +// **Notes:** +// * Unless the header name is "" it must start with "X-" prefix. +// * Setting the header name to "" will set it to the default: X-Request-Id. +func (o LoadBalancerOutput) RequestIdHeader() pulumi.StringOutput { + return o.ApplyT(func(v *LoadBalancer) pulumi.StringOutput { return v.RequestIdHeader }).(pulumi.StringOutput) +} + // 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. func (o LoadBalancerOutput) ReservedIps() LoadBalancerReservedIpArrayOutput { return o.ApplyT(func(v *LoadBalancer) LoadBalancerReservedIpArrayOutput { return v.ReservedIps }).(LoadBalancerReservedIpArrayOutput) diff --git a/sdk/go/oci/loadbalancer/pulumiTypes.go b/sdk/go/oci/loadbalancer/pulumiTypes.go index 69b91738f3..6b3db141d1 100644 --- a/sdk/go/oci/loadbalancer/pulumiTypes.go +++ b/sdk/go/oci/loadbalancer/pulumiTypes.go @@ -7656,9 +7656,13 @@ type GetLoadBalancersLoadBalancer struct { IsDeleteProtectionEnabled bool `pulumi:"isDeleteProtectionEnabled"` // Whether the load balancer has a VCN-local (private) IP address. IsPrivate bool `pulumi:"isPrivate"` + // Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + IsRequestIdEnabled bool `pulumi:"isRequestIdEnabled"` // An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load balancer. - NetworkSecurityGroupIds []string `pulumi:"networkSecurityGroupIds"` - ReservedIps []GetLoadBalancersLoadBalancerReservedIp `pulumi:"reservedIps"` + NetworkSecurityGroupIds []string `pulumi:"networkSecurityGroupIds"` + // If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + RequestIdHeader string `pulumi:"requestIdHeader"` + ReservedIps []GetLoadBalancersLoadBalancerReservedIp `pulumi:"reservedIps"` // A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `100Mbps` Shape string `pulumi:"shape"` // The configuration details to update load balancer to a different shape. @@ -7706,9 +7710,13 @@ type GetLoadBalancersLoadBalancerArgs struct { IsDeleteProtectionEnabled pulumi.BoolInput `pulumi:"isDeleteProtectionEnabled"` // Whether the load balancer has a VCN-local (private) IP address. IsPrivate pulumi.BoolInput `pulumi:"isPrivate"` + // Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + IsRequestIdEnabled pulumi.BoolInput `pulumi:"isRequestIdEnabled"` // An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load balancer. - NetworkSecurityGroupIds pulumi.StringArrayInput `pulumi:"networkSecurityGroupIds"` - ReservedIps GetLoadBalancersLoadBalancerReservedIpArrayInput `pulumi:"reservedIps"` + NetworkSecurityGroupIds pulumi.StringArrayInput `pulumi:"networkSecurityGroupIds"` + // If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + RequestIdHeader pulumi.StringInput `pulumi:"requestIdHeader"` + ReservedIps GetLoadBalancersLoadBalancerReservedIpArrayInput `pulumi:"reservedIps"` // A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `100Mbps` Shape pulumi.StringInput `pulumi:"shape"` // The configuration details to update load balancer to a different shape. @@ -7827,11 +7835,21 @@ func (o GetLoadBalancersLoadBalancerOutput) IsPrivate() pulumi.BoolOutput { return o.ApplyT(func(v GetLoadBalancersLoadBalancer) bool { return v.IsPrivate }).(pulumi.BoolOutput) } +// Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. +func (o GetLoadBalancersLoadBalancerOutput) IsRequestIdEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetLoadBalancersLoadBalancer) bool { return v.IsRequestIdEnabled }).(pulumi.BoolOutput) +} + // An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load balancer. func (o GetLoadBalancersLoadBalancerOutput) NetworkSecurityGroupIds() pulumi.StringArrayOutput { return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []string { return v.NetworkSecurityGroupIds }).(pulumi.StringArrayOutput) } +// If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. +func (o GetLoadBalancersLoadBalancerOutput) RequestIdHeader() pulumi.StringOutput { + return o.ApplyT(func(v GetLoadBalancersLoadBalancer) string { return v.RequestIdHeader }).(pulumi.StringOutput) +} + func (o GetLoadBalancersLoadBalancerOutput) ReservedIps() GetLoadBalancersLoadBalancerReservedIpArrayOutput { return o.ApplyT(func(v GetLoadBalancersLoadBalancer) []GetLoadBalancersLoadBalancerReservedIp { return v.ReservedIps }).(GetLoadBalancersLoadBalancerReservedIpArrayOutput) } diff --git a/sdk/go/oci/mysql/getMysqlDbSystem.go b/sdk/go/oci/mysql/getMysqlDbSystem.go index 28dece3c65..b096c9be07 100644 --- a/sdk/go/oci/mysql/getMysqlDbSystem.go +++ b/sdk/go/oci/mysql/getMysqlDbSystem.go @@ -74,7 +74,9 @@ type LookupMysqlDbSystemResult struct { CrashRecovery string `pulumi:"crashRecovery"` // The availability domain and fault domain a DB System is placed in. CurrentPlacements []GetMysqlDbSystemCurrentPlacement `pulumi:"currentPlacements"` - // DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + // The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + CustomerContacts []GetMysqlDbSystemCustomerContact `pulumi:"customerContacts"` + // Initial size of the data volume in GiBs that will be created and attached. DataStorageSizeInGb int `pulumi:"dataStorageSizeInGb"` // Data Storage information. DataStorages []GetMysqlDbSystemDataStorage `pulumi:"dataStorages"` @@ -218,7 +220,12 @@ func (o LookupMysqlDbSystemResultOutput) CurrentPlacements() GetMysqlDbSystemCur return o.ApplyT(func(v LookupMysqlDbSystemResult) []GetMysqlDbSystemCurrentPlacement { return v.CurrentPlacements }).(GetMysqlDbSystemCurrentPlacementArrayOutput) } -// DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. +// The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. +func (o LookupMysqlDbSystemResultOutput) CustomerContacts() GetMysqlDbSystemCustomerContactArrayOutput { + return o.ApplyT(func(v LookupMysqlDbSystemResult) []GetMysqlDbSystemCustomerContact { return v.CustomerContacts }).(GetMysqlDbSystemCustomerContactArrayOutput) +} + +// Initial size of the data volume in GiBs that will be created and attached. func (o LookupMysqlDbSystemResultOutput) DataStorageSizeInGb() pulumi.IntOutput { return o.ApplyT(func(v LookupMysqlDbSystemResult) int { return v.DataStorageSizeInGb }).(pulumi.IntOutput) } diff --git a/sdk/go/oci/mysql/mysqlDbSystem.go b/sdk/go/oci/mysql/mysqlDbSystem.go index 2fe3d16ebb..a9c3dd6947 100644 --- a/sdk/go/oci/mysql/mysqlDbSystem.go +++ b/sdk/go/oci/mysql/mysqlDbSystem.go @@ -53,6 +53,11 @@ import ( // }, // ConfigurationId: pulumi.Any(testConfiguration.Id), // CrashRecovery: pulumi.Any(mysqlDbSystemCrashRecovery), +// CustomerContacts: mysql.MysqlDbSystemCustomerContactArray{ +// &mysql.MysqlDbSystemCustomerContactArgs{ +// Email: pulumi.Any(mysqlDbSystemCustomerContactsEmail), +// }, +// }, // DataStorage: &mysql.MysqlDbSystemDataStorageArgs{ // IsAutoExpandStorageEnabled: pulumi.Any(mysqlDbSystemDataStorageIsAutoExpandStorageEnabled), // MaxStorageSizeInGbs: pulumi.Any(mysqlDbSystemDataStorageMaxStorageSizeInGbs), @@ -133,6 +138,8 @@ type MysqlDbSystem struct { CrashRecovery pulumi.StringOutput `pulumi:"crashRecovery"` // The availability domain and fault domain a DB System is placed in. CurrentPlacements MysqlDbSystemCurrentPlacementArrayOutput `pulumi:"currentPlacements"` + // (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + CustomerContacts MysqlDbSystemCustomerContactArrayOutput `pulumi:"customerContacts"` // (Updatable) Data Storage configuration properties. DataStorage MysqlDbSystemDataStorageOutput `pulumi:"dataStorage"` // (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup. @@ -278,6 +285,8 @@ type mysqlDbSystemState struct { CrashRecovery *string `pulumi:"crashRecovery"` // The availability domain and fault domain a DB System is placed in. CurrentPlacements []MysqlDbSystemCurrentPlacement `pulumi:"currentPlacements"` + // (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + CustomerContacts []MysqlDbSystemCustomerContact `pulumi:"customerContacts"` // (Updatable) Data Storage configuration properties. DataStorage *MysqlDbSystemDataStorage `pulumi:"dataStorage"` // (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup. @@ -375,6 +384,8 @@ type MysqlDbSystemState struct { CrashRecovery pulumi.StringPtrInput // The availability domain and fault domain a DB System is placed in. CurrentPlacements MysqlDbSystemCurrentPlacementArrayInput + // (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + CustomerContacts MysqlDbSystemCustomerContactArrayInput // (Updatable) Data Storage configuration properties. DataStorage MysqlDbSystemDataStoragePtrInput // (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup. @@ -472,6 +483,8 @@ type mysqlDbSystemArgs struct { ConfigurationId *string `pulumi:"configurationId"` // (Updatable) Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs. CrashRecovery *string `pulumi:"crashRecovery"` + // (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + CustomerContacts []MysqlDbSystemCustomerContact `pulumi:"customerContacts"` // (Updatable) Data Storage configuration properties. DataStorage *MysqlDbSystemDataStorage `pulumi:"dataStorage"` // (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup. @@ -552,6 +565,8 @@ type MysqlDbSystemArgs struct { ConfigurationId pulumi.StringPtrInput // (Updatable) Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs. CrashRecovery pulumi.StringPtrInput + // (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + CustomerContacts MysqlDbSystemCustomerContactArrayInput // (Updatable) Data Storage configuration properties. DataStorage MysqlDbSystemDataStoragePtrInput // (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup. @@ -748,6 +763,11 @@ func (o MysqlDbSystemOutput) CurrentPlacements() MysqlDbSystemCurrentPlacementAr return o.ApplyT(func(v *MysqlDbSystem) MysqlDbSystemCurrentPlacementArrayOutput { return v.CurrentPlacements }).(MysqlDbSystemCurrentPlacementArrayOutput) } +// (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. +func (o MysqlDbSystemOutput) CustomerContacts() MysqlDbSystemCustomerContactArrayOutput { + return o.ApplyT(func(v *MysqlDbSystem) MysqlDbSystemCustomerContactArrayOutput { return v.CustomerContacts }).(MysqlDbSystemCustomerContactArrayOutput) +} + // (Updatable) Data Storage configuration properties. func (o MysqlDbSystemOutput) DataStorage() MysqlDbSystemDataStorageOutput { return o.ApplyT(func(v *MysqlDbSystem) MysqlDbSystemDataStorageOutput { return v.DataStorage }).(MysqlDbSystemDataStorageOutput) diff --git a/sdk/go/oci/mysql/pulumiTypes.go b/sdk/go/oci/mysql/pulumiTypes.go index 3c6a7205a9..0fde1af683 100644 --- a/sdk/go/oci/mysql/pulumiTypes.go +++ b/sdk/go/oci/mysql/pulumiTypes.go @@ -6227,6 +6227,103 @@ func (o MysqlDbSystemCurrentPlacementArrayOutput) Index(i pulumi.IntInput) Mysql }).(MysqlDbSystemCurrentPlacementOutput) } +type MysqlDbSystemCustomerContact struct { + // (Updatable) The email address used by Oracle to send notifications regarding the DB System. + Email string `pulumi:"email"` +} + +// MysqlDbSystemCustomerContactInput is an input type that accepts MysqlDbSystemCustomerContactArgs and MysqlDbSystemCustomerContactOutput values. +// You can construct a concrete instance of `MysqlDbSystemCustomerContactInput` via: +// +// MysqlDbSystemCustomerContactArgs{...} +type MysqlDbSystemCustomerContactInput interface { + pulumi.Input + + ToMysqlDbSystemCustomerContactOutput() MysqlDbSystemCustomerContactOutput + ToMysqlDbSystemCustomerContactOutputWithContext(context.Context) MysqlDbSystemCustomerContactOutput +} + +type MysqlDbSystemCustomerContactArgs struct { + // (Updatable) The email address used by Oracle to send notifications regarding the DB System. + Email pulumi.StringInput `pulumi:"email"` +} + +func (MysqlDbSystemCustomerContactArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MysqlDbSystemCustomerContact)(nil)).Elem() +} + +func (i MysqlDbSystemCustomerContactArgs) ToMysqlDbSystemCustomerContactOutput() MysqlDbSystemCustomerContactOutput { + return i.ToMysqlDbSystemCustomerContactOutputWithContext(context.Background()) +} + +func (i MysqlDbSystemCustomerContactArgs) ToMysqlDbSystemCustomerContactOutputWithContext(ctx context.Context) MysqlDbSystemCustomerContactOutput { + return pulumi.ToOutputWithContext(ctx, i).(MysqlDbSystemCustomerContactOutput) +} + +// MysqlDbSystemCustomerContactArrayInput is an input type that accepts MysqlDbSystemCustomerContactArray and MysqlDbSystemCustomerContactArrayOutput values. +// You can construct a concrete instance of `MysqlDbSystemCustomerContactArrayInput` via: +// +// MysqlDbSystemCustomerContactArray{ MysqlDbSystemCustomerContactArgs{...} } +type MysqlDbSystemCustomerContactArrayInput interface { + pulumi.Input + + ToMysqlDbSystemCustomerContactArrayOutput() MysqlDbSystemCustomerContactArrayOutput + ToMysqlDbSystemCustomerContactArrayOutputWithContext(context.Context) MysqlDbSystemCustomerContactArrayOutput +} + +type MysqlDbSystemCustomerContactArray []MysqlDbSystemCustomerContactInput + +func (MysqlDbSystemCustomerContactArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]MysqlDbSystemCustomerContact)(nil)).Elem() +} + +func (i MysqlDbSystemCustomerContactArray) ToMysqlDbSystemCustomerContactArrayOutput() MysqlDbSystemCustomerContactArrayOutput { + return i.ToMysqlDbSystemCustomerContactArrayOutputWithContext(context.Background()) +} + +func (i MysqlDbSystemCustomerContactArray) ToMysqlDbSystemCustomerContactArrayOutputWithContext(ctx context.Context) MysqlDbSystemCustomerContactArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(MysqlDbSystemCustomerContactArrayOutput) +} + +type MysqlDbSystemCustomerContactOutput struct{ *pulumi.OutputState } + +func (MysqlDbSystemCustomerContactOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MysqlDbSystemCustomerContact)(nil)).Elem() +} + +func (o MysqlDbSystemCustomerContactOutput) ToMysqlDbSystemCustomerContactOutput() MysqlDbSystemCustomerContactOutput { + return o +} + +func (o MysqlDbSystemCustomerContactOutput) ToMysqlDbSystemCustomerContactOutputWithContext(ctx context.Context) MysqlDbSystemCustomerContactOutput { + return o +} + +// (Updatable) The email address used by Oracle to send notifications regarding the DB System. +func (o MysqlDbSystemCustomerContactOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v MysqlDbSystemCustomerContact) string { return v.Email }).(pulumi.StringOutput) +} + +type MysqlDbSystemCustomerContactArrayOutput struct{ *pulumi.OutputState } + +func (MysqlDbSystemCustomerContactArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]MysqlDbSystemCustomerContact)(nil)).Elem() +} + +func (o MysqlDbSystemCustomerContactArrayOutput) ToMysqlDbSystemCustomerContactArrayOutput() MysqlDbSystemCustomerContactArrayOutput { + return o +} + +func (o MysqlDbSystemCustomerContactArrayOutput) ToMysqlDbSystemCustomerContactArrayOutputWithContext(ctx context.Context) MysqlDbSystemCustomerContactArrayOutput { + return o +} + +func (o MysqlDbSystemCustomerContactArrayOutput) Index(i pulumi.IntInput) MysqlDbSystemCustomerContactOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) MysqlDbSystemCustomerContact { + return vs[0].([]MysqlDbSystemCustomerContact)[vs[1].(int)] + }).(MysqlDbSystemCustomerContactOutput) +} + type MysqlDbSystemDataStorage struct { // The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. AllocatedStorageSizeInGbs *int `pulumi:"allocatedStorageSizeInGbs"` @@ -16258,10 +16355,107 @@ func (o GetMysqlDbSystemCurrentPlacementArrayOutput) Index(i pulumi.IntInput) Ge }).(GetMysqlDbSystemCurrentPlacementOutput) } +type GetMysqlDbSystemCustomerContact struct { + // The email address used by Oracle to send notifications regarding the DB System. + Email string `pulumi:"email"` +} + +// GetMysqlDbSystemCustomerContactInput is an input type that accepts GetMysqlDbSystemCustomerContactArgs and GetMysqlDbSystemCustomerContactOutput values. +// You can construct a concrete instance of `GetMysqlDbSystemCustomerContactInput` via: +// +// GetMysqlDbSystemCustomerContactArgs{...} +type GetMysqlDbSystemCustomerContactInput interface { + pulumi.Input + + ToGetMysqlDbSystemCustomerContactOutput() GetMysqlDbSystemCustomerContactOutput + ToGetMysqlDbSystemCustomerContactOutputWithContext(context.Context) GetMysqlDbSystemCustomerContactOutput +} + +type GetMysqlDbSystemCustomerContactArgs struct { + // The email address used by Oracle to send notifications regarding the DB System. + Email pulumi.StringInput `pulumi:"email"` +} + +func (GetMysqlDbSystemCustomerContactArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMysqlDbSystemCustomerContact)(nil)).Elem() +} + +func (i GetMysqlDbSystemCustomerContactArgs) ToGetMysqlDbSystemCustomerContactOutput() GetMysqlDbSystemCustomerContactOutput { + return i.ToGetMysqlDbSystemCustomerContactOutputWithContext(context.Background()) +} + +func (i GetMysqlDbSystemCustomerContactArgs) ToGetMysqlDbSystemCustomerContactOutputWithContext(ctx context.Context) GetMysqlDbSystemCustomerContactOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMysqlDbSystemCustomerContactOutput) +} + +// GetMysqlDbSystemCustomerContactArrayInput is an input type that accepts GetMysqlDbSystemCustomerContactArray and GetMysqlDbSystemCustomerContactArrayOutput values. +// You can construct a concrete instance of `GetMysqlDbSystemCustomerContactArrayInput` via: +// +// GetMysqlDbSystemCustomerContactArray{ GetMysqlDbSystemCustomerContactArgs{...} } +type GetMysqlDbSystemCustomerContactArrayInput interface { + pulumi.Input + + ToGetMysqlDbSystemCustomerContactArrayOutput() GetMysqlDbSystemCustomerContactArrayOutput + ToGetMysqlDbSystemCustomerContactArrayOutputWithContext(context.Context) GetMysqlDbSystemCustomerContactArrayOutput +} + +type GetMysqlDbSystemCustomerContactArray []GetMysqlDbSystemCustomerContactInput + +func (GetMysqlDbSystemCustomerContactArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMysqlDbSystemCustomerContact)(nil)).Elem() +} + +func (i GetMysqlDbSystemCustomerContactArray) ToGetMysqlDbSystemCustomerContactArrayOutput() GetMysqlDbSystemCustomerContactArrayOutput { + return i.ToGetMysqlDbSystemCustomerContactArrayOutputWithContext(context.Background()) +} + +func (i GetMysqlDbSystemCustomerContactArray) ToGetMysqlDbSystemCustomerContactArrayOutputWithContext(ctx context.Context) GetMysqlDbSystemCustomerContactArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMysqlDbSystemCustomerContactArrayOutput) +} + +type GetMysqlDbSystemCustomerContactOutput struct{ *pulumi.OutputState } + +func (GetMysqlDbSystemCustomerContactOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMysqlDbSystemCustomerContact)(nil)).Elem() +} + +func (o GetMysqlDbSystemCustomerContactOutput) ToGetMysqlDbSystemCustomerContactOutput() GetMysqlDbSystemCustomerContactOutput { + return o +} + +func (o GetMysqlDbSystemCustomerContactOutput) ToGetMysqlDbSystemCustomerContactOutputWithContext(ctx context.Context) GetMysqlDbSystemCustomerContactOutput { + return o +} + +// The email address used by Oracle to send notifications regarding the DB System. +func (o GetMysqlDbSystemCustomerContactOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetMysqlDbSystemCustomerContact) string { return v.Email }).(pulumi.StringOutput) +} + +type GetMysqlDbSystemCustomerContactArrayOutput struct{ *pulumi.OutputState } + +func (GetMysqlDbSystemCustomerContactArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMysqlDbSystemCustomerContact)(nil)).Elem() +} + +func (o GetMysqlDbSystemCustomerContactArrayOutput) ToGetMysqlDbSystemCustomerContactArrayOutput() GetMysqlDbSystemCustomerContactArrayOutput { + return o +} + +func (o GetMysqlDbSystemCustomerContactArrayOutput) ToGetMysqlDbSystemCustomerContactArrayOutputWithContext(ctx context.Context) GetMysqlDbSystemCustomerContactArrayOutput { + return o +} + +func (o GetMysqlDbSystemCustomerContactArrayOutput) Index(i pulumi.IntInput) GetMysqlDbSystemCustomerContactOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMysqlDbSystemCustomerContact { + return vs[0].([]GetMysqlDbSystemCustomerContact)[vs[1].(int)] + }).(GetMysqlDbSystemCustomerContactOutput) +} + type GetMysqlDbSystemDataStorage struct { // The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. AllocatedStorageSizeInGbs int `pulumi:"allocatedStorageSizeInGbs"` - // DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + // Initial size of the data volume in GiBs that will be created and attached. DataStorageSizeInGb int `pulumi:"dataStorageSizeInGb"` // The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value. DataStorageSizeLimitInGbs int `pulumi:"dataStorageSizeLimitInGbs"` @@ -16285,7 +16479,7 @@ type GetMysqlDbSystemDataStorageInput interface { type GetMysqlDbSystemDataStorageArgs struct { // The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. AllocatedStorageSizeInGbs pulumi.IntInput `pulumi:"allocatedStorageSizeInGbs"` - // DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + // Initial size of the data volume in GiBs that will be created and attached. DataStorageSizeInGb pulumi.IntInput `pulumi:"dataStorageSizeInGb"` // The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value. DataStorageSizeLimitInGbs pulumi.IntInput `pulumi:"dataStorageSizeLimitInGbs"` @@ -16351,7 +16545,7 @@ func (o GetMysqlDbSystemDataStorageOutput) AllocatedStorageSizeInGbs() pulumi.In return o.ApplyT(func(v GetMysqlDbSystemDataStorage) int { return v.AllocatedStorageSizeInGbs }).(pulumi.IntOutput) } -// DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. +// Initial size of the data volume in GiBs that will be created and attached. func (o GetMysqlDbSystemDataStorageOutput) DataStorageSizeInGb() pulumi.IntOutput { return o.ApplyT(func(v GetMysqlDbSystemDataStorage) int { return v.DataStorageSizeInGb }).(pulumi.IntOutput) } @@ -17273,7 +17467,9 @@ type GetMysqlDbSystemsDbSystem struct { CrashRecovery string `pulumi:"crashRecovery"` // The availability domain and fault domain a DB System is placed in. CurrentPlacements []GetMysqlDbSystemsDbSystemCurrentPlacement `pulumi:"currentPlacements"` - // DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + // The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + CustomerContacts []GetMysqlDbSystemsDbSystemCustomerContact `pulumi:"customerContacts"` + // Initial size of the data volume in GiBs that will be created and attached. DataStorageSizeInGb int `pulumi:"dataStorageSizeInGb"` // Data Storage information. DataStorages []GetMysqlDbSystemsDbSystemDataStorage `pulumi:"dataStorages"` @@ -17362,7 +17558,9 @@ type GetMysqlDbSystemsDbSystemArgs struct { CrashRecovery pulumi.StringInput `pulumi:"crashRecovery"` // The availability domain and fault domain a DB System is placed in. CurrentPlacements GetMysqlDbSystemsDbSystemCurrentPlacementArrayInput `pulumi:"currentPlacements"` - // DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + // The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + CustomerContacts GetMysqlDbSystemsDbSystemCustomerContactArrayInput `pulumi:"customerContacts"` + // Initial size of the data volume in GiBs that will be created and attached. DataStorageSizeInGb pulumi.IntInput `pulumi:"dataStorageSizeInGb"` // Data Storage information. DataStorages GetMysqlDbSystemsDbSystemDataStorageArrayInput `pulumi:"dataStorages"` @@ -17519,7 +17717,14 @@ func (o GetMysqlDbSystemsDbSystemOutput) CurrentPlacements() GetMysqlDbSystemsDb }).(GetMysqlDbSystemsDbSystemCurrentPlacementArrayOutput) } -// DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. +// The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. +func (o GetMysqlDbSystemsDbSystemOutput) CustomerContacts() GetMysqlDbSystemsDbSystemCustomerContactArrayOutput { + return o.ApplyT(func(v GetMysqlDbSystemsDbSystem) []GetMysqlDbSystemsDbSystemCustomerContact { + return v.CustomerContacts + }).(GetMysqlDbSystemsDbSystemCustomerContactArrayOutput) +} + +// Initial size of the data volume in GiBs that will be created and attached. func (o GetMysqlDbSystemsDbSystemOutput) DataStorageSizeInGb() pulumi.IntOutput { return o.ApplyT(func(v GetMysqlDbSystemsDbSystem) int { return v.DataStorageSizeInGb }).(pulumi.IntOutput) } @@ -18885,10 +19090,107 @@ func (o GetMysqlDbSystemsDbSystemCurrentPlacementArrayOutput) Index(i pulumi.Int }).(GetMysqlDbSystemsDbSystemCurrentPlacementOutput) } +type GetMysqlDbSystemsDbSystemCustomerContact struct { + // The email address used by Oracle to send notifications regarding the DB System. + Email string `pulumi:"email"` +} + +// GetMysqlDbSystemsDbSystemCustomerContactInput is an input type that accepts GetMysqlDbSystemsDbSystemCustomerContactArgs and GetMysqlDbSystemsDbSystemCustomerContactOutput values. +// You can construct a concrete instance of `GetMysqlDbSystemsDbSystemCustomerContactInput` via: +// +// GetMysqlDbSystemsDbSystemCustomerContactArgs{...} +type GetMysqlDbSystemsDbSystemCustomerContactInput interface { + pulumi.Input + + ToGetMysqlDbSystemsDbSystemCustomerContactOutput() GetMysqlDbSystemsDbSystemCustomerContactOutput + ToGetMysqlDbSystemsDbSystemCustomerContactOutputWithContext(context.Context) GetMysqlDbSystemsDbSystemCustomerContactOutput +} + +type GetMysqlDbSystemsDbSystemCustomerContactArgs struct { + // The email address used by Oracle to send notifications regarding the DB System. + Email pulumi.StringInput `pulumi:"email"` +} + +func (GetMysqlDbSystemsDbSystemCustomerContactArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMysqlDbSystemsDbSystemCustomerContact)(nil)).Elem() +} + +func (i GetMysqlDbSystemsDbSystemCustomerContactArgs) ToGetMysqlDbSystemsDbSystemCustomerContactOutput() GetMysqlDbSystemsDbSystemCustomerContactOutput { + return i.ToGetMysqlDbSystemsDbSystemCustomerContactOutputWithContext(context.Background()) +} + +func (i GetMysqlDbSystemsDbSystemCustomerContactArgs) ToGetMysqlDbSystemsDbSystemCustomerContactOutputWithContext(ctx context.Context) GetMysqlDbSystemsDbSystemCustomerContactOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMysqlDbSystemsDbSystemCustomerContactOutput) +} + +// GetMysqlDbSystemsDbSystemCustomerContactArrayInput is an input type that accepts GetMysqlDbSystemsDbSystemCustomerContactArray and GetMysqlDbSystemsDbSystemCustomerContactArrayOutput values. +// You can construct a concrete instance of `GetMysqlDbSystemsDbSystemCustomerContactArrayInput` via: +// +// GetMysqlDbSystemsDbSystemCustomerContactArray{ GetMysqlDbSystemsDbSystemCustomerContactArgs{...} } +type GetMysqlDbSystemsDbSystemCustomerContactArrayInput interface { + pulumi.Input + + ToGetMysqlDbSystemsDbSystemCustomerContactArrayOutput() GetMysqlDbSystemsDbSystemCustomerContactArrayOutput + ToGetMysqlDbSystemsDbSystemCustomerContactArrayOutputWithContext(context.Context) GetMysqlDbSystemsDbSystemCustomerContactArrayOutput +} + +type GetMysqlDbSystemsDbSystemCustomerContactArray []GetMysqlDbSystemsDbSystemCustomerContactInput + +func (GetMysqlDbSystemsDbSystemCustomerContactArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMysqlDbSystemsDbSystemCustomerContact)(nil)).Elem() +} + +func (i GetMysqlDbSystemsDbSystemCustomerContactArray) ToGetMysqlDbSystemsDbSystemCustomerContactArrayOutput() GetMysqlDbSystemsDbSystemCustomerContactArrayOutput { + return i.ToGetMysqlDbSystemsDbSystemCustomerContactArrayOutputWithContext(context.Background()) +} + +func (i GetMysqlDbSystemsDbSystemCustomerContactArray) ToGetMysqlDbSystemsDbSystemCustomerContactArrayOutputWithContext(ctx context.Context) GetMysqlDbSystemsDbSystemCustomerContactArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMysqlDbSystemsDbSystemCustomerContactArrayOutput) +} + +type GetMysqlDbSystemsDbSystemCustomerContactOutput struct{ *pulumi.OutputState } + +func (GetMysqlDbSystemsDbSystemCustomerContactOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMysqlDbSystemsDbSystemCustomerContact)(nil)).Elem() +} + +func (o GetMysqlDbSystemsDbSystemCustomerContactOutput) ToGetMysqlDbSystemsDbSystemCustomerContactOutput() GetMysqlDbSystemsDbSystemCustomerContactOutput { + return o +} + +func (o GetMysqlDbSystemsDbSystemCustomerContactOutput) ToGetMysqlDbSystemsDbSystemCustomerContactOutputWithContext(ctx context.Context) GetMysqlDbSystemsDbSystemCustomerContactOutput { + return o +} + +// The email address used by Oracle to send notifications regarding the DB System. +func (o GetMysqlDbSystemsDbSystemCustomerContactOutput) Email() pulumi.StringOutput { + return o.ApplyT(func(v GetMysqlDbSystemsDbSystemCustomerContact) string { return v.Email }).(pulumi.StringOutput) +} + +type GetMysqlDbSystemsDbSystemCustomerContactArrayOutput struct{ *pulumi.OutputState } + +func (GetMysqlDbSystemsDbSystemCustomerContactArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMysqlDbSystemsDbSystemCustomerContact)(nil)).Elem() +} + +func (o GetMysqlDbSystemsDbSystemCustomerContactArrayOutput) ToGetMysqlDbSystemsDbSystemCustomerContactArrayOutput() GetMysqlDbSystemsDbSystemCustomerContactArrayOutput { + return o +} + +func (o GetMysqlDbSystemsDbSystemCustomerContactArrayOutput) ToGetMysqlDbSystemsDbSystemCustomerContactArrayOutputWithContext(ctx context.Context) GetMysqlDbSystemsDbSystemCustomerContactArrayOutput { + return o +} + +func (o GetMysqlDbSystemsDbSystemCustomerContactArrayOutput) Index(i pulumi.IntInput) GetMysqlDbSystemsDbSystemCustomerContactOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMysqlDbSystemsDbSystemCustomerContact { + return vs[0].([]GetMysqlDbSystemsDbSystemCustomerContact)[vs[1].(int)] + }).(GetMysqlDbSystemsDbSystemCustomerContactOutput) +} + type GetMysqlDbSystemsDbSystemDataStorage struct { // The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. AllocatedStorageSizeInGbs int `pulumi:"allocatedStorageSizeInGbs"` - // DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + // Initial size of the data volume in GiBs that will be created and attached. DataStorageSizeInGb int `pulumi:"dataStorageSizeInGb"` // The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value. DataStorageSizeLimitInGbs int `pulumi:"dataStorageSizeLimitInGbs"` @@ -18912,7 +19214,7 @@ type GetMysqlDbSystemsDbSystemDataStorageInput interface { type GetMysqlDbSystemsDbSystemDataStorageArgs struct { // The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. AllocatedStorageSizeInGbs pulumi.IntInput `pulumi:"allocatedStorageSizeInGbs"` - // DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + // Initial size of the data volume in GiBs that will be created and attached. DataStorageSizeInGb pulumi.IntInput `pulumi:"dataStorageSizeInGb"` // The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value. DataStorageSizeLimitInGbs pulumi.IntInput `pulumi:"dataStorageSizeLimitInGbs"` @@ -18978,7 +19280,7 @@ func (o GetMysqlDbSystemsDbSystemDataStorageOutput) AllocatedStorageSizeInGbs() return o.ApplyT(func(v GetMysqlDbSystemsDbSystemDataStorage) int { return v.AllocatedStorageSizeInGbs }).(pulumi.IntOutput) } -// DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. +// Initial size of the data volume in GiBs that will be created and attached. func (o GetMysqlDbSystemsDbSystemDataStorageOutput) DataStorageSizeInGb() pulumi.IntOutput { return o.ApplyT(func(v GetMysqlDbSystemsDbSystemDataStorage) int { return v.DataStorageSizeInGb }).(pulumi.IntOutput) } @@ -21429,6 +21731,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemChannelTargetFilterArrayInput)(nil)).Elem(), MysqlDbSystemChannelTargetFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemCurrentPlacementInput)(nil)).Elem(), MysqlDbSystemCurrentPlacementArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemCurrentPlacementArrayInput)(nil)).Elem(), MysqlDbSystemCurrentPlacementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemCustomerContactInput)(nil)).Elem(), MysqlDbSystemCustomerContactArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemCustomerContactArrayInput)(nil)).Elem(), MysqlDbSystemCustomerContactArray{}) pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemDataStorageInput)(nil)).Elem(), MysqlDbSystemDataStorageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemDataStoragePtrInput)(nil)).Elem(), MysqlDbSystemDataStorageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemDeletionPolicyInput)(nil)).Elem(), MysqlDbSystemDeletionPolicyArgs{}) @@ -21549,6 +21853,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemChannelTargetFilterArrayInput)(nil)).Elem(), GetMysqlDbSystemChannelTargetFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemCurrentPlacementInput)(nil)).Elem(), GetMysqlDbSystemCurrentPlacementArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemCurrentPlacementArrayInput)(nil)).Elem(), GetMysqlDbSystemCurrentPlacementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemCustomerContactInput)(nil)).Elem(), GetMysqlDbSystemCustomerContactArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemCustomerContactArrayInput)(nil)).Elem(), GetMysqlDbSystemCustomerContactArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemDataStorageInput)(nil)).Elem(), GetMysqlDbSystemDataStorageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemDataStorageArrayInput)(nil)).Elem(), GetMysqlDbSystemDataStorageArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemDeletionPolicyInput)(nil)).Elem(), GetMysqlDbSystemDeletionPolicyArgs{}) @@ -21585,6 +21891,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemsDbSystemChannelTargetFilterArrayInput)(nil)).Elem(), GetMysqlDbSystemsDbSystemChannelTargetFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemsDbSystemCurrentPlacementInput)(nil)).Elem(), GetMysqlDbSystemsDbSystemCurrentPlacementArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemsDbSystemCurrentPlacementArrayInput)(nil)).Elem(), GetMysqlDbSystemsDbSystemCurrentPlacementArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemsDbSystemCustomerContactInput)(nil)).Elem(), GetMysqlDbSystemsDbSystemCustomerContactArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemsDbSystemCustomerContactArrayInput)(nil)).Elem(), GetMysqlDbSystemsDbSystemCustomerContactArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemsDbSystemDataStorageInput)(nil)).Elem(), GetMysqlDbSystemsDbSystemDataStorageArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemsDbSystemDataStorageArrayInput)(nil)).Elem(), GetMysqlDbSystemsDbSystemDataStorageArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlDbSystemsDbSystemDeletionPolicyInput)(nil)).Elem(), GetMysqlDbSystemsDbSystemDeletionPolicyArgs{}) @@ -21679,6 +21987,8 @@ func init() { pulumi.RegisterOutputType(MysqlDbSystemChannelTargetFilterArrayOutput{}) pulumi.RegisterOutputType(MysqlDbSystemCurrentPlacementOutput{}) pulumi.RegisterOutputType(MysqlDbSystemCurrentPlacementArrayOutput{}) + pulumi.RegisterOutputType(MysqlDbSystemCustomerContactOutput{}) + pulumi.RegisterOutputType(MysqlDbSystemCustomerContactArrayOutput{}) pulumi.RegisterOutputType(MysqlDbSystemDataStorageOutput{}) pulumi.RegisterOutputType(MysqlDbSystemDataStoragePtrOutput{}) pulumi.RegisterOutputType(MysqlDbSystemDeletionPolicyOutput{}) @@ -21799,6 +22109,8 @@ func init() { pulumi.RegisterOutputType(GetMysqlDbSystemChannelTargetFilterArrayOutput{}) pulumi.RegisterOutputType(GetMysqlDbSystemCurrentPlacementOutput{}) pulumi.RegisterOutputType(GetMysqlDbSystemCurrentPlacementArrayOutput{}) + pulumi.RegisterOutputType(GetMysqlDbSystemCustomerContactOutput{}) + pulumi.RegisterOutputType(GetMysqlDbSystemCustomerContactArrayOutput{}) pulumi.RegisterOutputType(GetMysqlDbSystemDataStorageOutput{}) pulumi.RegisterOutputType(GetMysqlDbSystemDataStorageArrayOutput{}) pulumi.RegisterOutputType(GetMysqlDbSystemDeletionPolicyOutput{}) @@ -21835,6 +22147,8 @@ func init() { pulumi.RegisterOutputType(GetMysqlDbSystemsDbSystemChannelTargetFilterArrayOutput{}) pulumi.RegisterOutputType(GetMysqlDbSystemsDbSystemCurrentPlacementOutput{}) pulumi.RegisterOutputType(GetMysqlDbSystemsDbSystemCurrentPlacementArrayOutput{}) + pulumi.RegisterOutputType(GetMysqlDbSystemsDbSystemCustomerContactOutput{}) + pulumi.RegisterOutputType(GetMysqlDbSystemsDbSystemCustomerContactArrayOutput{}) pulumi.RegisterOutputType(GetMysqlDbSystemsDbSystemDataStorageOutput{}) pulumi.RegisterOutputType(GetMysqlDbSystemsDbSystemDataStorageArrayOutput{}) pulumi.RegisterOutputType(GetMysqlDbSystemsDbSystemDeletionPolicyOutput{}) diff --git a/sdk/go/oci/ocvp/getCluster.go b/sdk/go/oci/ocvp/getCluster.go index ad1ee5c54c..3480a35e92 100644 --- a/sdk/go/oci/ocvp/getCluster.go +++ b/sdk/go/oci/ocvp/getCluster.go @@ -52,7 +52,7 @@ func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi. // A collection of arguments for invoking getCluster. type LookupClusterArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. ClusterId string `pulumi:"clusterId"` } @@ -127,7 +127,7 @@ func LookupClusterOutput(ctx *pulumi.Context, args LookupClusterOutputArgs, opts // A collection of arguments for invoking getCluster. type LookupClusterOutputArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. ClusterId pulumi.StringInput `pulumi:"clusterId"` } diff --git a/sdk/go/oci/ocvp/getExsiHosts.go b/sdk/go/oci/ocvp/getExsiHosts.go index 8971fe0baf..7b061bb8df 100644 --- a/sdk/go/oci/ocvp/getExsiHosts.go +++ b/sdk/go/oci/ocvp/getExsiHosts.go @@ -67,7 +67,7 @@ func GetExsiHosts(ctx *pulumi.Context, args *GetExsiHostsArgs, opts ...pulumi.In // A collection of arguments for invoking getExsiHosts. type GetExsiHostsArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. ClusterId *string `pulumi:"clusterId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment as optional parameter. CompartmentId *string `pulumi:"compartmentId"` @@ -124,7 +124,7 @@ func GetExsiHostsOutput(ctx *pulumi.Context, args GetExsiHostsOutputArgs, opts . // A collection of arguments for invoking getExsiHosts. type GetExsiHostsOutputArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. ClusterId pulumi.StringPtrInput `pulumi:"clusterId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment as optional parameter. CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` diff --git a/sdk/go/oci/ocvp/getSupportedVmwareSoftwareVersions.go b/sdk/go/oci/ocvp/getSupportedVmwareSoftwareVersions.go index d2e180db67..a71275a6ca 100644 --- a/sdk/go/oci/ocvp/getSupportedVmwareSoftwareVersions.go +++ b/sdk/go/oci/ocvp/getSupportedVmwareSoftwareVersions.go @@ -31,9 +31,10 @@ import ( // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := Ocvp.GetSupportedVmwareSoftwareVersions(ctx, &ocvp.GetSupportedVmwareSoftwareVersionsArgs{ -// CompartmentId: compartmentId, -// HostShapeName: pulumi.StringRef(testShape.Name), -// Version: pulumi.StringRef(supportedVmwareSoftwareVersionVersion), +// CompartmentId: compartmentId, +// HostShapeName: pulumi.StringRef(testShape.Name), +// Version: pulumi.StringRef(supportedVmwareSoftwareVersionVersion), +// VersionToUpgrade: pulumi.StringRef(supportedVmwareSoftwareVersionVersionToUpgrade), // }, nil) // if err != nil { // return err @@ -62,6 +63,8 @@ type GetSupportedVmwareSoftwareVersionsArgs struct { HostShapeName *string `pulumi:"hostShapeName"` // A filter to return only resources that match the given VMware software version exactly. Version *string `pulumi:"version"` + // A filter to return only VMware software versions that the given VMware software version can be upgraded to. + VersionToUpgrade *string `pulumi:"versionToUpgrade"` } // A collection of values returned by getSupportedVmwareSoftwareVersions. @@ -74,7 +77,8 @@ type GetSupportedVmwareSoftwareVersionsResult struct { // A list of the supported versions of bundled VMware software. Items []GetSupportedVmwareSoftwareVersionsItem `pulumi:"items"` // A short, unique string that identifies the version of bundled software. - Version *string `pulumi:"version"` + Version *string `pulumi:"version"` + VersionToUpgrade *string `pulumi:"versionToUpgrade"` } func GetSupportedVmwareSoftwareVersionsOutput(ctx *pulumi.Context, args GetSupportedVmwareSoftwareVersionsOutputArgs, opts ...pulumi.InvokeOption) GetSupportedVmwareSoftwareVersionsResultOutput { @@ -99,6 +103,8 @@ type GetSupportedVmwareSoftwareVersionsOutputArgs struct { HostShapeName pulumi.StringPtrInput `pulumi:"hostShapeName"` // A filter to return only resources that match the given VMware software version exactly. Version pulumi.StringPtrInput `pulumi:"version"` + // A filter to return only VMware software versions that the given VMware software version can be upgraded to. + VersionToUpgrade pulumi.StringPtrInput `pulumi:"versionToUpgrade"` } func (GetSupportedVmwareSoftwareVersionsOutputArgs) ElementType() reflect.Type { @@ -151,6 +157,10 @@ func (o GetSupportedVmwareSoftwareVersionsResultOutput) Version() pulumi.StringP return o.ApplyT(func(v GetSupportedVmwareSoftwareVersionsResult) *string { return v.Version }).(pulumi.StringPtrOutput) } +func (o GetSupportedVmwareSoftwareVersionsResultOutput) VersionToUpgrade() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetSupportedVmwareSoftwareVersionsResult) *string { return v.VersionToUpgrade }).(pulumi.StringPtrOutput) +} + func init() { pulumi.RegisterOutputType(GetSupportedVmwareSoftwareVersionsResultOutput{}) } diff --git a/sdk/go/oci/ocvp/pulumiTypes.go b/sdk/go/oci/ocvp/pulumiTypes.go index b9fe3bee65..4a04d6b925 100644 --- a/sdk/go/oci/ocvp/pulumiTypes.go +++ b/sdk/go/oci/ocvp/pulumiTypes.go @@ -3715,7 +3715,7 @@ type GetExsiHostsEsxiHostCollection struct { BillingDonorHostId string `pulumi:"billingDonorHostId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Capacity Reservation. CapacityReservationId string `pulumi:"capacityReservationId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. ClusterId string `pulumi:"clusterId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment as optional parameter. CompartmentId string `pulumi:"compartmentId"` @@ -3803,7 +3803,7 @@ type GetExsiHostsEsxiHostCollectionArgs struct { BillingDonorHostId pulumi.StringInput `pulumi:"billingDonorHostId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Capacity Reservation. CapacityReservationId pulumi.StringInput `pulumi:"capacityReservationId"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. ClusterId pulumi.StringInput `pulumi:"clusterId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment as optional parameter. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` @@ -3939,7 +3939,7 @@ func (o GetExsiHostsEsxiHostCollectionOutput) CapacityReservationId() pulumi.Str return o.ApplyT(func(v GetExsiHostsEsxiHostCollection) string { return v.CapacityReservationId }).(pulumi.StringOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. func (o GetExsiHostsEsxiHostCollectionOutput) ClusterId() pulumi.StringOutput { return o.ApplyT(func(v GetExsiHostsEsxiHostCollection) string { return v.ClusterId }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/recoverymod/getProtectedDatabase.go b/sdk/go/oci/recoverymod/getProtectedDatabase.go index d33a11e877..6260f2df6f 100644 --- a/sdk/go/oci/recoverymod/getProtectedDatabase.go +++ b/sdk/go/oci/recoverymod/getProtectedDatabase.go @@ -97,6 +97,8 @@ type LookupProtectedDatabaseResult struct { RecoveryServiceSubnets []GetProtectedDatabaseRecoveryServiceSubnet `pulumi:"recoveryServiceSubnets"` // The current state of the Protected Database. State string `pulumi:"state"` + // The OCID of the cloud service subscription to which the protected database is linked. + SubscriptionId string `pulumi:"subscriptionId"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) SystemTags map[string]string `pulumi:"systemTags"` // An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z' @@ -249,6 +251,11 @@ func (o LookupProtectedDatabaseResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupProtectedDatabaseResult) string { return v.State }).(pulumi.StringOutput) } +// The OCID of the cloud service subscription to which the protected database is linked. +func (o LookupProtectedDatabaseResultOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v LookupProtectedDatabaseResult) string { return v.SubscriptionId }).(pulumi.StringOutput) +} + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) func (o LookupProtectedDatabaseResultOutput) SystemTags() pulumi.StringMapOutput { return o.ApplyT(func(v LookupProtectedDatabaseResult) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) diff --git a/sdk/go/oci/recoverymod/getProtectionPolicy.go b/sdk/go/oci/recoverymod/getProtectionPolicy.go index 4dcd3666c0..e226aeebec 100644 --- a/sdk/go/oci/recoverymod/getProtectionPolicy.go +++ b/sdk/go/oci/recoverymod/getProtectionPolicy.go @@ -74,6 +74,8 @@ type LookupProtectionPolicyResult struct { IsPredefinedPolicy bool `pulumi:"isPredefinedPolicy"` // Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails string `pulumi:"lifecycleDetails"` + // Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + MustEnforceCloudLocality bool `pulumi:"mustEnforceCloudLocality"` // An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. PolicyLockedDateTime string `pulumi:"policyLockedDateTime"` ProtectionPolicyId string `pulumi:"protectionPolicyId"` @@ -165,6 +167,11 @@ func (o LookupProtectionPolicyResultOutput) LifecycleDetails() pulumi.StringOutp return o.ApplyT(func(v LookupProtectionPolicyResult) string { return v.LifecycleDetails }).(pulumi.StringOutput) } +// Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. +func (o LookupProtectionPolicyResultOutput) MustEnforceCloudLocality() pulumi.BoolOutput { + return o.ApplyT(func(v LookupProtectionPolicyResult) bool { return v.MustEnforceCloudLocality }).(pulumi.BoolOutput) +} + // An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. func (o LookupProtectionPolicyResultOutput) PolicyLockedDateTime() pulumi.StringOutput { return o.ApplyT(func(v LookupProtectionPolicyResult) string { return v.PolicyLockedDateTime }).(pulumi.StringOutput) diff --git a/sdk/go/oci/recoverymod/protectedDatabase.go b/sdk/go/oci/recoverymod/protectedDatabase.go index b237f81011..2562ec2705 100644 --- a/sdk/go/oci/recoverymod/protectedDatabase.go +++ b/sdk/go/oci/recoverymod/protectedDatabase.go @@ -51,6 +51,7 @@ import ( // "bar-key": pulumi.String("value"), // }, // IsRedoLogsShipped: pulumi.Any(protectedDatabaseIsRedoLogsShipped), +// SubscriptionId: pulumi.Any(testSubscription.Id), // }) // if err != nil { // return err @@ -111,6 +112,11 @@ type ProtectedDatabase struct { RecoveryServiceSubnets ProtectedDatabaseRecoveryServiceSubnetArrayOutput `pulumi:"recoveryServiceSubnets"` // The current state of the Protected Database. State pulumi.StringOutput `pulumi:"state"` + // (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) SystemTags pulumi.StringMapOutput `pulumi:"systemTags"` // An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z' @@ -216,6 +222,11 @@ type protectedDatabaseState struct { RecoveryServiceSubnets []ProtectedDatabaseRecoveryServiceSubnet `pulumi:"recoveryServiceSubnets"` // The current state of the Protected Database. State *string `pulumi:"state"` + // (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + SubscriptionId *string `pulumi:"subscriptionId"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) SystemTags map[string]string `pulumi:"systemTags"` // An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z' @@ -267,6 +278,11 @@ type ProtectedDatabaseState struct { RecoveryServiceSubnets ProtectedDatabaseRecoveryServiceSubnetArrayInput // The current state of the Protected Database. State pulumi.StringPtrInput + // (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + SubscriptionId pulumi.StringPtrInput // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) SystemTags pulumi.StringMapInput // An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z' @@ -308,6 +324,11 @@ type protectedDatabaseArgs struct { ProtectionPolicyId string `pulumi:"protectionPolicyId"` // (Updatable) List of recovery service subnet resources associated with the protected database. RecoveryServiceSubnets []ProtectedDatabaseRecoveryServiceSubnet `pulumi:"recoveryServiceSubnets"` + // (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + SubscriptionId *string `pulumi:"subscriptionId"` } // The set of arguments for constructing a ProtectedDatabase resource. @@ -338,6 +359,11 @@ type ProtectedDatabaseArgs struct { ProtectionPolicyId pulumi.StringInput // (Updatable) List of recovery service subnet resources associated with the protected database. RecoveryServiceSubnets ProtectedDatabaseRecoveryServiceSubnetArrayInput + // (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + // + // ** IMPORTANT ** + // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + SubscriptionId pulumi.StringPtrInput } func (ProtectedDatabaseArgs) ElementType() reflect.Type { @@ -526,6 +552,14 @@ func (o ProtectedDatabaseOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *ProtectedDatabase) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } +// (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. +// +// ** IMPORTANT ** +// 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 ProtectedDatabaseOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v *ProtectedDatabase) pulumi.StringOutput { return v.SubscriptionId }).(pulumi.StringOutput) +} + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) func (o ProtectedDatabaseOutput) SystemTags() pulumi.StringMapOutput { return o.ApplyT(func(v *ProtectedDatabase) pulumi.StringMapOutput { return v.SystemTags }).(pulumi.StringMapOutput) diff --git a/sdk/go/oci/recoverymod/protectionPolicy.go b/sdk/go/oci/recoverymod/protectionPolicy.go index 493350375e..7434d00261 100644 --- a/sdk/go/oci/recoverymod/protectionPolicy.go +++ b/sdk/go/oci/recoverymod/protectionPolicy.go @@ -40,7 +40,8 @@ import ( // FreeformTags: pulumi.StringMap{ // "bar-key": pulumi.String("value"), // }, -// PolicyLockedDateTime: pulumi.Any(protectionPolicyPolicyLockedDateTime), +// MustEnforceCloudLocality: pulumi.Any(protectionPolicyMustEnforceCloudLocality), +// PolicyLockedDateTime: pulumi.Any(protectionPolicyPolicyLockedDateTime), // }) // if err != nil { // return err @@ -75,6 +76,8 @@ type ProtectionPolicy struct { IsPredefinedPolicy pulumi.BoolOutput `pulumi:"isPredefinedPolicy"` // Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` + // Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + MustEnforceCloudLocality pulumi.BoolOutput `pulumi:"mustEnforceCloudLocality"` // (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. // * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. // * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date. @@ -149,6 +152,8 @@ type protectionPolicyState struct { IsPredefinedPolicy *bool `pulumi:"isPredefinedPolicy"` // Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails *string `pulumi:"lifecycleDetails"` + // Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + MustEnforceCloudLocality *bool `pulumi:"mustEnforceCloudLocality"` // (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. // * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. // * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date. @@ -185,6 +190,8 @@ type ProtectionPolicyState struct { IsPredefinedPolicy pulumi.BoolPtrInput // Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails pulumi.StringPtrInput + // Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + MustEnforceCloudLocality pulumi.BoolPtrInput // (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. // * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. // * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date. @@ -221,6 +228,8 @@ type protectionPolicyArgs struct { 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]string `pulumi:"freeformTags"` + // Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + MustEnforceCloudLocality *bool `pulumi:"mustEnforceCloudLocality"` // (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. // * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. // * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date. @@ -246,6 +255,8 @@ type ProtectionPolicyArgs struct { 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.StringMapInput + // Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + MustEnforceCloudLocality pulumi.BoolPtrInput // (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. // * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. // * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date. @@ -381,6 +392,11 @@ func (o ProtectionPolicyOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v *ProtectionPolicy) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) } +// Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. +func (o ProtectionPolicyOutput) MustEnforceCloudLocality() pulumi.BoolOutput { + return o.ApplyT(func(v *ProtectionPolicy) pulumi.BoolOutput { return v.MustEnforceCloudLocality }).(pulumi.BoolOutput) +} + // (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. // * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. // * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date. diff --git a/sdk/go/oci/recoverymod/pulumiTypes.go b/sdk/go/oci/recoverymod/pulumiTypes.go index 159987dd19..2048891a8a 100644 --- a/sdk/go/oci/recoverymod/pulumiTypes.go +++ b/sdk/go/oci/recoverymod/pulumiTypes.go @@ -175,9 +175,6 @@ func (o ProtectedDatabaseMetricArrayOutput) Index(i pulumi.IntInput) ProtectedDa type ProtectedDatabaseRecoveryServiceSubnet struct { // (Updatable) The recovery service subnet OCID. - // - // ** IMPORTANT ** - // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values RecoveryServiceSubnetId string `pulumi:"recoveryServiceSubnetId"` // The current state of the Protected Database. State *string `pulumi:"state"` @@ -196,9 +193,6 @@ type ProtectedDatabaseRecoveryServiceSubnetInput interface { type ProtectedDatabaseRecoveryServiceSubnetArgs struct { // (Updatable) The recovery service subnet OCID. - // - // ** IMPORTANT ** - // Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values RecoveryServiceSubnetId pulumi.StringInput `pulumi:"recoveryServiceSubnetId"` // The current state of the Protected Database. State pulumi.StringPtrInput `pulumi:"state"` @@ -256,9 +250,6 @@ func (o ProtectedDatabaseRecoveryServiceSubnetOutput) ToProtectedDatabaseRecover } // (Updatable) The recovery service subnet OCID. -// -// ** IMPORTANT ** -// 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 ProtectedDatabaseRecoveryServiceSubnetOutput) RecoveryServiceSubnetId() pulumi.StringOutput { return o.ApplyT(func(v ProtectedDatabaseRecoveryServiceSubnet) string { return v.RecoveryServiceSubnetId }).(pulumi.StringOutput) } @@ -795,6 +786,8 @@ type GetProtectedDatabasesProtectedDatabaseCollectionItem struct { RecoveryServiceSubnets []GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnet `pulumi:"recoveryServiceSubnets"` // A filter to return only the resources that match the specified lifecycle state. State string `pulumi:"state"` + // The OCID of the cloud service subscription to which the protected database is linked. + SubscriptionId string `pulumi:"subscriptionId"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) SystemTags map[string]string `pulumi:"systemTags"` // An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z' @@ -855,6 +848,8 @@ type GetProtectedDatabasesProtectedDatabaseCollectionItemArgs struct { RecoveryServiceSubnets GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayInput `pulumi:"recoveryServiceSubnets"` // A filter to return only the resources that match the specified lifecycle state. State pulumi.StringInput `pulumi:"state"` + // The OCID of the cloud service subscription to which the protected database is linked. + SubscriptionId pulumi.StringInput `pulumi:"subscriptionId"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) SystemTags pulumi.StringMapInput `pulumi:"systemTags"` // An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z' @@ -1018,6 +1013,11 @@ func (o GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) State() pulu return o.ApplyT(func(v GetProtectedDatabasesProtectedDatabaseCollectionItem) string { return v.State }).(pulumi.StringOutput) } +// The OCID of the cloud service subscription to which the protected database is linked. +func (o GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) SubscriptionId() pulumi.StringOutput { + return o.ApplyT(func(v GetProtectedDatabasesProtectedDatabaseCollectionItem) string { return v.SubscriptionId }).(pulumi.StringOutput) +} + // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) func (o GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) SystemTags() pulumi.StringMapOutput { return o.ApplyT(func(v GetProtectedDatabasesProtectedDatabaseCollectionItem) map[string]string { return v.SystemTags }).(pulumi.StringMapOutput) @@ -1559,6 +1559,8 @@ type GetProtectionPoliciesProtectionPolicyCollectionItem struct { IsPredefinedPolicy bool `pulumi:"isPredefinedPolicy"` // Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails string `pulumi:"lifecycleDetails"` + // Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + MustEnforceCloudLocality bool `pulumi:"mustEnforceCloudLocality"` // An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. PolicyLockedDateTime string `pulumi:"policyLockedDateTime"` // A filter to return only resources their lifecycleState matches the given lifecycleState. @@ -1599,6 +1601,8 @@ type GetProtectionPoliciesProtectionPolicyCollectionItemArgs struct { IsPredefinedPolicy pulumi.BoolInput `pulumi:"isPredefinedPolicy"` // Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + MustEnforceCloudLocality pulumi.BoolInput `pulumi:"mustEnforceCloudLocality"` // An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. PolicyLockedDateTime pulumi.StringInput `pulumi:"policyLockedDateTime"` // A filter to return only resources their lifecycleState matches the given lifecycleState. @@ -1702,6 +1706,11 @@ func (o GetProtectionPoliciesProtectionPolicyCollectionItemOutput) LifecycleDeta return o.ApplyT(func(v GetProtectionPoliciesProtectionPolicyCollectionItem) string { return v.LifecycleDetails }).(pulumi.StringOutput) } +// Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. +func (o GetProtectionPoliciesProtectionPolicyCollectionItemOutput) MustEnforceCloudLocality() pulumi.BoolOutput { + return o.ApplyT(func(v GetProtectionPoliciesProtectionPolicyCollectionItem) bool { return v.MustEnforceCloudLocality }).(pulumi.BoolOutput) +} + // An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. func (o GetProtectionPoliciesProtectionPolicyCollectionItemOutput) PolicyLockedDateTime() pulumi.StringOutput { return o.ApplyT(func(v GetProtectionPoliciesProtectionPolicyCollectionItem) string { return v.PolicyLockedDateTime }).(pulumi.StringOutput) diff --git a/sdk/go/oci/waf/pulumiTypes.go b/sdk/go/oci/waf/pulumiTypes.go index 01f53fca4d..c86d73ec79 100644 --- a/sdk/go/oci/waf/pulumiTypes.go +++ b/sdk/go/oci/waf/pulumiTypes.go @@ -234,8 +234,9 @@ func (o AppFirewallPolicyActionArrayOutput) Index(i pulumi.IntInput) AppFirewall } type AppFirewallPolicyActionBody struct { + Template *string `pulumi:"template"` // (Updatable) Static response body text. - Text string `pulumi:"text"` + Text *string `pulumi:"text"` // (Updatable) Type of HttpResponseBody. Type string `pulumi:"type"` } @@ -252,8 +253,9 @@ type AppFirewallPolicyActionBodyInput interface { } type AppFirewallPolicyActionBodyArgs struct { + Template pulumi.StringPtrInput `pulumi:"template"` // (Updatable) Static response body text. - Text pulumi.StringInput `pulumi:"text"` + Text pulumi.StringPtrInput `pulumi:"text"` // (Updatable) Type of HttpResponseBody. Type pulumi.StringInput `pulumi:"type"` } @@ -335,9 +337,13 @@ func (o AppFirewallPolicyActionBodyOutput) ToAppFirewallPolicyActionBodyPtrOutpu }).(AppFirewallPolicyActionBodyPtrOutput) } +func (o AppFirewallPolicyActionBodyOutput) Template() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppFirewallPolicyActionBody) *string { return v.Template }).(pulumi.StringPtrOutput) +} + // (Updatable) Static response body text. -func (o AppFirewallPolicyActionBodyOutput) Text() pulumi.StringOutput { - return o.ApplyT(func(v AppFirewallPolicyActionBody) string { return v.Text }).(pulumi.StringOutput) +func (o AppFirewallPolicyActionBodyOutput) Text() pulumi.StringPtrOutput { + return o.ApplyT(func(v AppFirewallPolicyActionBody) *string { return v.Text }).(pulumi.StringPtrOutput) } // (Updatable) Type of HttpResponseBody. @@ -369,13 +375,22 @@ func (o AppFirewallPolicyActionBodyPtrOutput) Elem() AppFirewallPolicyActionBody }).(AppFirewallPolicyActionBodyOutput) } +func (o AppFirewallPolicyActionBodyPtrOutput) Template() pulumi.StringPtrOutput { + return o.ApplyT(func(v *AppFirewallPolicyActionBody) *string { + if v == nil { + return nil + } + return v.Template + }).(pulumi.StringPtrOutput) +} + // (Updatable) Static response body text. func (o AppFirewallPolicyActionBodyPtrOutput) Text() pulumi.StringPtrOutput { return o.ApplyT(func(v *AppFirewallPolicyActionBody) *string { if v == nil { return nil } - return &v.Text + return v.Text }).(pulumi.StringPtrOutput) } @@ -6019,6 +6034,7 @@ func (o GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionArrayOu } type GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody struct { + Template string `pulumi:"template"` // Static response body text. Text string `pulumi:"text"` // Type of WebAppFirewallPolicyRule. @@ -6037,6 +6053,7 @@ type GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyInput } type GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyArgs struct { + Template pulumi.StringInput `pulumi:"template"` // Static response body text. Text pulumi.StringInput `pulumi:"text"` // Type of WebAppFirewallPolicyRule. @@ -6094,6 +6111,12 @@ func (o GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyOut return o } +func (o GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyOutput) Template() pulumi.StringOutput { + return o.ApplyT(func(v GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody) string { + return v.Template + }).(pulumi.StringOutput) +} + // Static response body text. func (o GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody) string { return v.Text }).(pulumi.StringOutput) @@ -8882,6 +8905,7 @@ func (o GetWebAppFirewallPolicyActionArrayOutput) Index(i pulumi.IntInput) GetWe } type GetWebAppFirewallPolicyActionBody struct { + Template string `pulumi:"template"` // Static response body text. Text string `pulumi:"text"` // Type of WebAppFirewallPolicyRule. @@ -8900,6 +8924,7 @@ type GetWebAppFirewallPolicyActionBodyInput interface { } type GetWebAppFirewallPolicyActionBodyArgs struct { + Template pulumi.StringInput `pulumi:"template"` // Static response body text. Text pulumi.StringInput `pulumi:"text"` // Type of WebAppFirewallPolicyRule. @@ -8957,6 +8982,10 @@ func (o GetWebAppFirewallPolicyActionBodyOutput) ToGetWebAppFirewallPolicyAction return o } +func (o GetWebAppFirewallPolicyActionBodyOutput) Template() pulumi.StringOutput { + return o.ApplyT(func(v GetWebAppFirewallPolicyActionBody) string { return v.Template }).(pulumi.StringOutput) +} + // Static response body text. func (o GetWebAppFirewallPolicyActionBodyOutput) Text() pulumi.StringOutput { return o.ApplyT(func(v GetWebAppFirewallPolicyActionBody) string { return v.Text }).(pulumi.StringOutput) diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/AnnouncementSubscription.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/AnnouncementSubscription.java index bf9183402a..61cb9c2fc7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/AnnouncementSubscription.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/AnnouncementSubscription.java @@ -195,21 +195,21 @@ public Output onsTopicId() { return this.onsTopicId; } /** - * (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * */ @Export(name="preferredLanguage", refs={String.class}, tree="[0]") private Output preferredLanguage; /** - * @return (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @return (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * */ public Output preferredLanguage() { return this.preferredLanguage; } /** - * (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -219,7 +219,7 @@ public Output preferredLanguage() { private Output preferredTimeZone; /** - * @return (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @return (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * ** IMPORTANT ** * 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/AnnouncementsService/AnnouncementSubscriptionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/AnnouncementSubscriptionArgs.java index 72cc19ee93..cdbab07f27 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/AnnouncementSubscriptionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/AnnouncementSubscriptionArgs.java @@ -124,14 +124,14 @@ public Output onsTopicId() { } /** - * (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * */ @Import(name="preferredLanguage") private @Nullable Output preferredLanguage; /** - * @return (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @return (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * */ public Optional> preferredLanguage() { @@ -139,7 +139,7 @@ public Optional> preferredLanguage() { } /** - * (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -149,7 +149,7 @@ public Optional> preferredLanguage() { private @Nullable Output preferredTimeZone; /** - * @return (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @return (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -339,7 +339,7 @@ public Builder onsTopicId(String onsTopicId) { } /** - * @param preferredLanguage (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @param preferredLanguage (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * * @return builder * @@ -350,7 +350,7 @@ public Builder preferredLanguage(@Nullable Output preferredLanguage) { } /** - * @param preferredLanguage (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @param preferredLanguage (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * * @return builder * @@ -360,7 +360,7 @@ public Builder preferredLanguage(String preferredLanguage) { } /** - * @param preferredTimeZone (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @param preferredTimeZone (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -374,7 +374,7 @@ public Builder preferredTimeZone(@Nullable Output preferredTimeZone) { } /** - * @param preferredTimeZone (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @param preferredTimeZone (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * ** IMPORTANT ** * 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/AnnouncementsService/AnnouncementsServiceFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/AnnouncementsServiceFunctions.java index 7ccde67587..f6de4cfdf7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/AnnouncementsServiceFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/AnnouncementsServiceFunctions.java @@ -11,8 +11,11 @@ import com.pulumi.oci.AnnouncementsService.inputs.GetAnnouncementSubscriptionPlainArgs; import com.pulumi.oci.AnnouncementsService.inputs.GetAnnouncementSubscriptionsArgs; import com.pulumi.oci.AnnouncementsService.inputs.GetAnnouncementSubscriptionsPlainArgs; +import com.pulumi.oci.AnnouncementsService.inputs.GetServicesArgs; +import com.pulumi.oci.AnnouncementsService.inputs.GetServicesPlainArgs; import com.pulumi.oci.AnnouncementsService.outputs.GetAnnouncementSubscriptionResult; import com.pulumi.oci.AnnouncementsService.outputs.GetAnnouncementSubscriptionsResult; +import com.pulumi.oci.AnnouncementsService.outputs.GetServicesResult; import com.pulumi.oci.Utilities; import java.util.concurrent.CompletableFuture; @@ -397,4 +400,188 @@ public static Output getAnnouncementSubscrip public static CompletableFuture getAnnouncementSubscriptionsPlain(GetAnnouncementSubscriptionsPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("oci:AnnouncementsService/getAnnouncementSubscriptions:getAnnouncementSubscriptions", TypeShape.of(GetAnnouncementSubscriptionsResult.class), args, Utilities.withVersion(options)); } + /** + * This data source provides the list of Services in Oracle Cloud Infrastructure. + * + * List all OCI services + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.AnnouncementsService.AnnouncementsServiceFunctions;
+     * import com.pulumi.oci.AnnouncementsService.inputs.GetServicesArgs;
+     * 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 testServices = AnnouncementsServiceFunctions.getServices(GetServicesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .commsManagerName(serviceCommsManagerName)
+     *             .platformType(servicePlatformType)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getServices(GetServicesArgs args) { + return getServices(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Services in Oracle Cloud Infrastructure. + * + * List all OCI services + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.AnnouncementsService.AnnouncementsServiceFunctions;
+     * import com.pulumi.oci.AnnouncementsService.inputs.GetServicesArgs;
+     * 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 testServices = AnnouncementsServiceFunctions.getServices(GetServicesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .commsManagerName(serviceCommsManagerName)
+     *             .platformType(servicePlatformType)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getServicesPlain(GetServicesPlainArgs args) { + return getServicesPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Services in Oracle Cloud Infrastructure. + * + * List all OCI services + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.AnnouncementsService.AnnouncementsServiceFunctions;
+     * import com.pulumi.oci.AnnouncementsService.inputs.GetServicesArgs;
+     * 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 testServices = AnnouncementsServiceFunctions.getServices(GetServicesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .commsManagerName(serviceCommsManagerName)
+     *             .platformType(servicePlatformType)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getServices(GetServicesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:AnnouncementsService/getServices:getServices", TypeShape.of(GetServicesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Services in Oracle Cloud Infrastructure. + * + * List all OCI services + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.AnnouncementsService.AnnouncementsServiceFunctions;
+     * import com.pulumi.oci.AnnouncementsService.inputs.GetServicesArgs;
+     * 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 testServices = AnnouncementsServiceFunctions.getServices(GetServicesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .commsManagerName(serviceCommsManagerName)
+     *             .platformType(servicePlatformType)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getServicesPlain(GetServicesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:AnnouncementsService/getServices:getServices", TypeShape.of(GetServicesResult.class), args, Utilities.withVersion(options)); + } } diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionFilterGroupsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionFilterGroupsArgs.java index 8f13bb7c3e..8507d40b18 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionFilterGroupsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionFilterGroupsArgs.java @@ -19,14 +19,14 @@ public final class AnnouncementSubscriptionFilterGroupsArgs extends com.pulumi.r public static final AnnouncementSubscriptionFilterGroupsArgs Empty = new AnnouncementSubscriptionFilterGroupsArgs(); /** - * 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. + * A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ @Import(name="filters", required=true) private Output> filters; /** - * @return 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. + * @return A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ public Output> filters() { @@ -74,7 +74,7 @@ public Builder(AnnouncementSubscriptionFilterGroupsArgs defaults) { } /** - * @param 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 filters A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * * @return builder * @@ -85,7 +85,7 @@ public Builder filters(Output filt } /** - * @param 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 filters A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionFilterGroupsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionFilterGroupsFilterArgs.java index 042b0b13f3..a6a41a1930 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionFilterGroupsFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionFilterGroupsFilterArgs.java @@ -15,14 +15,14 @@ public final class AnnouncementSubscriptionFilterGroupsFilterArgs extends com.pu public static final AnnouncementSubscriptionFilterGroupsFilterArgs Empty = new AnnouncementSubscriptionFilterGroupsFilterArgs(); /** - * The type of filter. + * The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ @Import(name="type", required=true) private Output type; /** - * @return The type of filter. + * @return The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ public Output type() { @@ -70,7 +70,7 @@ public Builder(AnnouncementSubscriptionFilterGroupsFilterArgs defaults) { } /** - * @param type The type of filter. + * @param type The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * * @return builder * @@ -81,7 +81,7 @@ public Builder type(Output type) { } /** - * @param type The type of filter. + * @param type The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionState.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionState.java index 30e6f517e4..95593f56f6 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionState.java @@ -138,14 +138,14 @@ public Optional> onsTopicId() { } /** - * (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * */ @Import(name="preferredLanguage") private @Nullable Output preferredLanguage; /** - * @return (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @return (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * */ public Optional> preferredLanguage() { @@ -153,7 +153,7 @@ public Optional> preferredLanguage() { } /** - * (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -163,7 +163,7 @@ public Optional> preferredLanguage() { private @Nullable Output preferredTimeZone; /** - * @return (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @return (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -439,7 +439,7 @@ public Builder onsTopicId(String onsTopicId) { } /** - * @param preferredLanguage (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @param preferredLanguage (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * * @return builder * @@ -450,7 +450,7 @@ public Builder preferredLanguage(@Nullable Output preferredLanguage) { } /** - * @param preferredLanguage (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @param preferredLanguage (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * * @return builder * @@ -460,7 +460,7 @@ public Builder preferredLanguage(String preferredLanguage) { } /** - * @param preferredTimeZone (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @param preferredTimeZone (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values @@ -474,7 +474,7 @@ public Builder preferredTimeZone(@Nullable Output preferredTimeZone) { } /** - * @param preferredTimeZone (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @param preferredTimeZone (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * ** IMPORTANT ** * 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/AnnouncementsService/inputs/AnnouncementSubscriptionsFilterGroupFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionsFilterGroupFilterArgs.java index 370d235e46..af52e43591 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionsFilterGroupFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/AnnouncementSubscriptionsFilterGroupFilterArgs.java @@ -15,14 +15,14 @@ public final class AnnouncementSubscriptionsFilterGroupFilterArgs extends com.pu public static final AnnouncementSubscriptionsFilterGroupFilterArgs Empty = new AnnouncementSubscriptionsFilterGroupFilterArgs(); /** - * (Updatable) The type of filter. + * (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ @Import(name="type", required=true) private Output type; /** - * @return (Updatable) The type of filter. + * @return (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ public Output type() { @@ -70,7 +70,7 @@ public Builder(AnnouncementSubscriptionsFilterGroupFilterArgs defaults) { } /** - * @param type (Updatable) The type of filter. + * @param type (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * * @return builder * @@ -81,7 +81,7 @@ public Builder type(Output type) { } /** - * @param type (Updatable) The type of filter. + * @param type (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesArgs.java new file mode 100644 index 0000000000..216755b579 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesArgs.java @@ -0,0 +1,184 @@ +// *** 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.AnnouncementsService.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.AnnouncementsService.inputs.GetServicesFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServicesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServicesArgs Empty = new GetServicesArgs(); + + /** + * Filter by comms manager name + * + */ + @Import(name="commsManagerName") + private @Nullable Output commsManagerName; + + /** + * @return Filter by comms manager name + * + */ + public Optional> commsManagerName() { + return Optional.ofNullable(this.commsManagerName); + } + + /** + * The OCID of the root compartment/tenancy. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The OCID of the root compartment/tenancy. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only services underlying a specific platform. + * + */ + @Import(name="platformType") + private @Nullable Output platformType; + + /** + * @return A filter to return only services underlying a specific platform. + * + */ + public Optional> platformType() { + return Optional.ofNullable(this.platformType); + } + + private GetServicesArgs() {} + + private GetServicesArgs(GetServicesArgs $) { + this.commsManagerName = $.commsManagerName; + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.platformType = $.platformType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServicesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServicesArgs $; + + public Builder() { + $ = new GetServicesArgs(); + } + + public Builder(GetServicesArgs defaults) { + $ = new GetServicesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param commsManagerName Filter by comms manager name + * + * @return builder + * + */ + public Builder commsManagerName(@Nullable Output commsManagerName) { + $.commsManagerName = commsManagerName; + return this; + } + + /** + * @param commsManagerName Filter by comms manager name + * + * @return builder + * + */ + public Builder commsManagerName(String commsManagerName) { + return commsManagerName(Output.of(commsManagerName)); + } + + /** + * @param compartmentId The OCID of the root compartment/tenancy. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the root compartment/tenancy. + * + * @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(GetServicesFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param platformType A filter to return only services underlying a specific platform. + * + * @return builder + * + */ + public Builder platformType(@Nullable Output platformType) { + $.platformType = platformType; + return this; + } + + /** + * @param platformType A filter to return only services underlying a specific platform. + * + * @return builder + * + */ + public Builder platformType(String platformType) { + return platformType(Output.of(platformType)); + } + + public GetServicesArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetServicesArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesFilter.java similarity index 68% rename from sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesFilter.java rename to sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesFilter.java index 1a0090189a..d8d911a777 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesFilter.java @@ -1,7 +1,7 @@ // *** 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.FleetSoftwareUpdate.inputs; +package com.pulumi.oci.AnnouncementsService.inputs; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class GetFsuCyclesFilter extends com.pulumi.resources.InvokeArgs { +public final class GetServicesFilter extends com.pulumi.resources.InvokeArgs { - public static final GetFsuCyclesFilter Empty = new GetFsuCyclesFilter(); + public static final GetServicesFilter Empty = new GetServicesFilter(); @Import(name="name", required=true) private String name; @@ -38,9 +38,9 @@ public List values() { return this.values; } - private GetFsuCyclesFilter() {} + private GetServicesFilter() {} - private GetFsuCyclesFilter(GetFsuCyclesFilter $) { + private GetServicesFilter(GetServicesFilter $) { this.name = $.name; this.regex = $.regex; this.values = $.values; @@ -49,19 +49,19 @@ private GetFsuCyclesFilter(GetFsuCyclesFilter $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetFsuCyclesFilter defaults) { + public static Builder builder(GetServicesFilter defaults) { return new Builder(defaults); } public static final class Builder { - private GetFsuCyclesFilter $; + private GetServicesFilter $; public Builder() { - $ = new GetFsuCyclesFilter(); + $ = new GetServicesFilter(); } - public Builder(GetFsuCyclesFilter defaults) { - $ = new GetFsuCyclesFilter(Objects.requireNonNull(defaults)); + public Builder(GetServicesFilter defaults) { + $ = new GetServicesFilter(Objects.requireNonNull(defaults)); } public Builder name(String name) { @@ -83,12 +83,12 @@ public Builder values(String... values) { return values(List.of(values)); } - public GetFsuCyclesFilter build() { + public GetServicesFilter build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFilter", "name"); + throw new MissingRequiredPropertyException("GetServicesFilter", "name"); } if ($.values == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFilter", "values"); + throw new MissingRequiredPropertyException("GetServicesFilter", "values"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesFilterArgs.java similarity index 71% rename from sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesFilterArgs.java rename to sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesFilterArgs.java index 72a98fe025..613905b414 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesFilterArgs.java @@ -1,7 +1,7 @@ // *** 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.FleetSoftwareUpdate.inputs; +package com.pulumi.oci.AnnouncementsService.inputs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; @@ -14,9 +14,9 @@ import javax.annotation.Nullable; -public final class GetFsuCyclesFilterArgs extends com.pulumi.resources.ResourceArgs { +public final class GetServicesFilterArgs extends com.pulumi.resources.ResourceArgs { - public static final GetFsuCyclesFilterArgs Empty = new GetFsuCyclesFilterArgs(); + public static final GetServicesFilterArgs Empty = new GetServicesFilterArgs(); @Import(name="name", required=true) private Output name; @@ -39,9 +39,9 @@ public Output> values() { return this.values; } - private GetFsuCyclesFilterArgs() {} + private GetServicesFilterArgs() {} - private GetFsuCyclesFilterArgs(GetFsuCyclesFilterArgs $) { + private GetServicesFilterArgs(GetServicesFilterArgs $) { this.name = $.name; this.regex = $.regex; this.values = $.values; @@ -50,19 +50,19 @@ private GetFsuCyclesFilterArgs(GetFsuCyclesFilterArgs $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetFsuCyclesFilterArgs defaults) { + public static Builder builder(GetServicesFilterArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetFsuCyclesFilterArgs $; + private GetServicesFilterArgs $; public Builder() { - $ = new GetFsuCyclesFilterArgs(); + $ = new GetServicesFilterArgs(); } - public Builder(GetFsuCyclesFilterArgs defaults) { - $ = new GetFsuCyclesFilterArgs(Objects.requireNonNull(defaults)); + public Builder(GetServicesFilterArgs defaults) { + $ = new GetServicesFilterArgs(Objects.requireNonNull(defaults)); } public Builder name(Output name) { @@ -96,12 +96,12 @@ public Builder values(String... values) { return values(List.of(values)); } - public GetFsuCyclesFilterArgs build() { + public GetServicesFilterArgs build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFilterArgs", "name"); + throw new MissingRequiredPropertyException("GetServicesFilterArgs", "name"); } if ($.values == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFilterArgs", "values"); + throw new MissingRequiredPropertyException("GetServicesFilterArgs", "values"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesPlainArgs.java new file mode 100644 index 0000000000..844da0238e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/inputs/GetServicesPlainArgs.java @@ -0,0 +1,149 @@ +// *** 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.AnnouncementsService.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.AnnouncementsService.inputs.GetServicesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServicesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServicesPlainArgs Empty = new GetServicesPlainArgs(); + + /** + * Filter by comms manager name + * + */ + @Import(name="commsManagerName") + private @Nullable String commsManagerName; + + /** + * @return Filter by comms manager name + * + */ + public Optional commsManagerName() { + return Optional.ofNullable(this.commsManagerName); + } + + /** + * The OCID of the root compartment/tenancy. + * + */ + @Import(name="compartmentId", required=true) + private String compartmentId; + + /** + * @return The OCID of the root compartment/tenancy. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only services underlying a specific platform. + * + */ + @Import(name="platformType") + private @Nullable String platformType; + + /** + * @return A filter to return only services underlying a specific platform. + * + */ + public Optional platformType() { + return Optional.ofNullable(this.platformType); + } + + private GetServicesPlainArgs() {} + + private GetServicesPlainArgs(GetServicesPlainArgs $) { + this.commsManagerName = $.commsManagerName; + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.platformType = $.platformType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServicesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServicesPlainArgs $; + + public Builder() { + $ = new GetServicesPlainArgs(); + } + + public Builder(GetServicesPlainArgs defaults) { + $ = new GetServicesPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param commsManagerName Filter by comms manager name + * + * @return builder + * + */ + public Builder commsManagerName(@Nullable String commsManagerName) { + $.commsManagerName = commsManagerName; + return this; + } + + /** + * @param compartmentId The OCID of the root compartment/tenancy. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetServicesFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param platformType A filter to return only services underlying a specific platform. + * + * @return builder + * + */ + public Builder platformType(@Nullable String platformType) { + $.platformType = platformType; + return this; + } + + public GetServicesPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetServicesPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionFilterGroups.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionFilterGroups.java index 13c97950ac..87cf28e382 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionFilterGroups.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionFilterGroups.java @@ -15,7 +15,7 @@ @CustomType public final class AnnouncementSubscriptionFilterGroups { /** - * @return 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. + * @return A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ private List filters; @@ -27,7 +27,7 @@ public final class AnnouncementSubscriptionFilterGroups { private AnnouncementSubscriptionFilterGroups() {} /** - * @return 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. + * @return A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ public List filters() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionFilterGroupsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionFilterGroupsFilter.java index ecbf396cdb..fedb36bc71 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionFilterGroupsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionFilterGroupsFilter.java @@ -11,7 +11,7 @@ @CustomType public final class AnnouncementSubscriptionFilterGroupsFilter { /** - * @return The type of filter. + * @return The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ private String type; @@ -23,7 +23,7 @@ public final class AnnouncementSubscriptionFilterGroupsFilter { private AnnouncementSubscriptionFilterGroupsFilter() {} /** - * @return The type of filter. + * @return The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ public String type() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionsFilterGroupFilter.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionsFilterGroupFilter.java index 651695a267..07d4ccd2d7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionsFilterGroupFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/AnnouncementSubscriptionsFilterGroupFilter.java @@ -11,7 +11,7 @@ @CustomType public final class AnnouncementSubscriptionsFilterGroupFilter { /** - * @return (Updatable) The type of filter. + * @return (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ private String type; @@ -23,7 +23,7 @@ public final class AnnouncementSubscriptionsFilterGroupFilter { private AnnouncementSubscriptionsFilterGroupFilter() {} /** - * @return (Updatable) The type of filter. + * @return (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ public String type() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionFilterGroup.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionFilterGroup.java index f9bbec5894..4dbf1e400b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionFilterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionFilterGroup.java @@ -13,7 +13,7 @@ @CustomType public final class GetAnnouncementSubscriptionFilterGroup { /** - * @return 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. + * @return A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ private List filters; @@ -25,7 +25,7 @@ public final class GetAnnouncementSubscriptionFilterGroup { private GetAnnouncementSubscriptionFilterGroup() {} /** - * @return 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. + * @return A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ public List filters() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionFilterGroupFilter.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionFilterGroupFilter.java index 5c2cc3fd4f..df129b0ccf 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionFilterGroupFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionFilterGroupFilter.java @@ -11,7 +11,7 @@ @CustomType public final class GetAnnouncementSubscriptionFilterGroupFilter { /** - * @return The type of filter. + * @return The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ private String type; @@ -23,7 +23,7 @@ public final class GetAnnouncementSubscriptionFilterGroupFilter { private GetAnnouncementSubscriptionFilterGroupFilter() {} /** - * @return The type of filter. + * @return The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ public String type() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionResult.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionResult.java index ae5b3ac0c5..9e9d956b16 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionResult.java @@ -60,12 +60,12 @@ public final class GetAnnouncementSubscriptionResult { */ private String onsTopicId; /** - * @return (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @return (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * */ private String preferredLanguage; /** - * @return The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @return The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * */ private String preferredTimeZone; @@ -158,14 +158,14 @@ public String onsTopicId() { return this.onsTopicId; } /** - * @return (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @return (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * */ public String preferredLanguage() { return this.preferredLanguage; } /** - * @return The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @return The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * */ public String preferredTimeZone() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItem.java index e1c27ca3ff..0eda53fd4d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItem.java @@ -59,12 +59,12 @@ public final class GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectio */ private String onsTopicId; /** - * @return (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @return (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * */ private String preferredLanguage; /** - * @return The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @return The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * */ private String preferredTimeZone; @@ -154,14 +154,14 @@ public String onsTopicId() { return this.onsTopicId; } /** - * @return (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * @return (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. * */ public String preferredLanguage() { return this.preferredLanguage; } /** - * @return The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * @return The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * */ public String preferredTimeZone() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroup.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroup.java index a9b052ba42..86e0adac50 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroup.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroup.java @@ -13,7 +13,7 @@ @CustomType public final class GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroup { /** - * @return 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. + * @return A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ private List filters; @@ -25,7 +25,7 @@ public final class GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectio private GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroup() {} /** - * @return 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. + * @return A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ public List filters() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter.java index a16e6b764a..496217b8e2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter.java @@ -11,7 +11,7 @@ @CustomType public final class GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter { /** - * @return The type of filter. + * @return The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ private String type; @@ -23,7 +23,7 @@ public final class GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectio private GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter() {} /** - * @return The type of filter. + * @return The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. * */ public String type() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesFilter.java similarity index 79% rename from sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFilter.java rename to sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesFilter.java index 3fb2bac1cb..aa8cdafcf9 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesFilter.java @@ -1,7 +1,7 @@ // *** 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.FleetSoftwareUpdate.outputs; +package com.pulumi.oci.AnnouncementsService.outputs; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -13,12 +13,12 @@ import javax.annotation.Nullable; @CustomType -public final class GetFsuCyclesFilter { +public final class GetServicesFilter { private String name; private @Nullable Boolean regex; private List values; - private GetFsuCyclesFilter() {} + private GetServicesFilter() {} public String name() { return this.name; } @@ -33,7 +33,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetFsuCyclesFilter defaults) { + public static Builder builder(GetServicesFilter defaults) { return new Builder(defaults); } @CustomType.Builder @@ -42,7 +42,7 @@ public static final class Builder { private @Nullable Boolean regex; private List values; public Builder() {} - public Builder(GetFsuCyclesFilter defaults) { + public Builder(GetServicesFilter defaults) { Objects.requireNonNull(defaults); this.name = defaults.name; this.regex = defaults.regex; @@ -52,7 +52,7 @@ public Builder(GetFsuCyclesFilter defaults) { @CustomType.Setter public Builder name(String name) { if (name == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFilter", "name"); + throw new MissingRequiredPropertyException("GetServicesFilter", "name"); } this.name = name; return this; @@ -66,7 +66,7 @@ public Builder regex(@Nullable Boolean regex) { @CustomType.Setter public Builder values(List values) { if (values == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFilter", "values"); + throw new MissingRequiredPropertyException("GetServicesFilter", "values"); } this.values = values; return this; @@ -74,8 +74,8 @@ public Builder values(List values) { public Builder values(String... values) { return values(List.of(values)); } - public GetFsuCyclesFilter build() { - final var _resultValue = new GetFsuCyclesFilter(); + public GetServicesFilter build() { + final var _resultValue = new GetServicesFilter(); _resultValue.name = name; _resultValue.regex = regex; _resultValue.values = values; diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesResult.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesResult.java new file mode 100644 index 0000000000..5346c5f193 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesResult.java @@ -0,0 +1,162 @@ +// *** 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.AnnouncementsService.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.AnnouncementsService.outputs.GetServicesFilter; +import com.pulumi.oci.AnnouncementsService.outputs.GetServicesServicesCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServicesResult { + /** + * @return Name of the comms manager team that manages Notifications to this service. + * + */ + private @Nullable String commsManagerName; + private String compartmentId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The platform type this service object is related to. + * + */ + private @Nullable String platformType; + /** + * @return The list of services_collection. + * + */ + private List servicesCollections; + + private GetServicesResult() {} + /** + * @return Name of the comms manager team that manages Notifications to this service. + * + */ + public Optional commsManagerName() { + return Optional.ofNullable(this.commsManagerName); + } + public String compartmentId() { + return this.compartmentId; + } + 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 platform type this service object is related to. + * + */ + public Optional platformType() { + return Optional.ofNullable(this.platformType); + } + /** + * @return The list of services_collection. + * + */ + public List servicesCollections() { + return this.servicesCollections; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServicesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String commsManagerName; + private String compartmentId; + private @Nullable List filters; + private String id; + private @Nullable String platformType; + private List servicesCollections; + public Builder() {} + public Builder(GetServicesResult defaults) { + Objects.requireNonNull(defaults); + this.commsManagerName = defaults.commsManagerName; + this.compartmentId = defaults.compartmentId; + this.filters = defaults.filters; + this.id = defaults.id; + this.platformType = defaults.platformType; + this.servicesCollections = defaults.servicesCollections; + } + + @CustomType.Setter + public Builder commsManagerName(@Nullable String commsManagerName) { + + this.commsManagerName = commsManagerName; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetServicesResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetServicesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetServicesResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder platformType(@Nullable String platformType) { + + this.platformType = platformType; + return this; + } + @CustomType.Setter + public Builder servicesCollections(List servicesCollections) { + if (servicesCollections == null) { + throw new MissingRequiredPropertyException("GetServicesResult", "servicesCollections"); + } + this.servicesCollections = servicesCollections; + return this; + } + public Builder servicesCollections(GetServicesServicesCollection... servicesCollections) { + return servicesCollections(List.of(servicesCollections)); + } + public GetServicesResult build() { + final var _resultValue = new GetServicesResult(); + _resultValue.commsManagerName = commsManagerName; + _resultValue.compartmentId = compartmentId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.platformType = platformType; + _resultValue.servicesCollections = servicesCollections; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesServicesCollection.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesServicesCollection.java new file mode 100644 index 0000000000..79b01ef4b1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesServicesCollection.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.AnnouncementsService.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.AnnouncementsService.outputs.GetServicesServicesCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetServicesServicesCollection { + private List items; + + private GetServicesServicesCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServicesServicesCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetServicesServicesCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetServicesServicesCollectionItem... items) { + return items(List.of(items)); + } + public GetServicesServicesCollection build() { + final var _resultValue = new GetServicesServicesCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesServicesCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesServicesCollectionItem.java new file mode 100644 index 0000000000..dad28dd4fe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/AnnouncementsService/outputs/GetServicesServicesCollectionItem.java @@ -0,0 +1,310 @@ +// *** 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.AnnouncementsService.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetServicesServicesCollectionItem { + /** + * @return Filter by comms manager name + * + */ + private String commsManagerName; + /** + * @return The list of realms where this service is not available to be used. + * + */ + private List excludedRealms; + /** + * @return ID of the service object. + * + */ + private String id; + /** + * @return A filter to return only services underlying a specific platform. + * + */ + private String platformType; + /** + * @return The list of previously used names for this service object. + * + */ + private List previousServiceNames; + /** + * @return Name of the service represented by this object. + * + */ + private String serviceName; + /** + * @return Short name of the team to whom this service object is related. + * + */ + private String shortName; + /** + * @return Current state of the service object. + * + */ + private String state; + /** + * @return Team name to which this service object is related. + * + */ + private String teamName; + /** + * @return The date and time when the service object was created. + * + */ + private String timeCreated; + /** + * @return The date and time when the service object was updated. + * + */ + private String timeUpdated; + private String type; + + private GetServicesServicesCollectionItem() {} + /** + * @return Filter by comms manager name + * + */ + public String commsManagerName() { + return this.commsManagerName; + } + /** + * @return The list of realms where this service is not available to be used. + * + */ + public List excludedRealms() { + return this.excludedRealms; + } + /** + * @return ID of the service object. + * + */ + public String id() { + return this.id; + } + /** + * @return A filter to return only services underlying a specific platform. + * + */ + public String platformType() { + return this.platformType; + } + /** + * @return The list of previously used names for this service object. + * + */ + public List previousServiceNames() { + return this.previousServiceNames; + } + /** + * @return Name of the service represented by this object. + * + */ + public String serviceName() { + return this.serviceName; + } + /** + * @return Short name of the team to whom this service object is related. + * + */ + public String shortName() { + return this.shortName; + } + /** + * @return Current state of the service object. + * + */ + public String state() { + return this.state; + } + /** + * @return Team name to which this service object is related. + * + */ + public String teamName() { + return this.teamName; + } + /** + * @return The date and time when the service object was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time when the service object was updated. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServicesServicesCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String commsManagerName; + private List excludedRealms; + private String id; + private String platformType; + private List previousServiceNames; + private String serviceName; + private String shortName; + private String state; + private String teamName; + private String timeCreated; + private String timeUpdated; + private String type; + public Builder() {} + public Builder(GetServicesServicesCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.commsManagerName = defaults.commsManagerName; + this.excludedRealms = defaults.excludedRealms; + this.id = defaults.id; + this.platformType = defaults.platformType; + this.previousServiceNames = defaults.previousServiceNames; + this.serviceName = defaults.serviceName; + this.shortName = defaults.shortName; + this.state = defaults.state; + this.teamName = defaults.teamName; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder commsManagerName(String commsManagerName) { + if (commsManagerName == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "commsManagerName"); + } + this.commsManagerName = commsManagerName; + return this; + } + @CustomType.Setter + public Builder excludedRealms(List excludedRealms) { + if (excludedRealms == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "excludedRealms"); + } + this.excludedRealms = excludedRealms; + return this; + } + public Builder excludedRealms(String... excludedRealms) { + return excludedRealms(List.of(excludedRealms)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder platformType(String platformType) { + if (platformType == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "platformType"); + } + this.platformType = platformType; + return this; + } + @CustomType.Setter + public Builder previousServiceNames(List previousServiceNames) { + if (previousServiceNames == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "previousServiceNames"); + } + this.previousServiceNames = previousServiceNames; + return this; + } + public Builder previousServiceNames(String... previousServiceNames) { + return previousServiceNames(List.of(previousServiceNames)); + } + @CustomType.Setter + public Builder serviceName(String serviceName) { + if (serviceName == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "serviceName"); + } + this.serviceName = serviceName; + return this; + } + @CustomType.Setter + public Builder shortName(String shortName) { + if (shortName == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "shortName"); + } + this.shortName = shortName; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder teamName(String teamName) { + if (teamName == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "teamName"); + } + this.teamName = teamName; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + @CustomType.Setter + public Builder type(String type) { + if (type == null) { + throw new MissingRequiredPropertyException("GetServicesServicesCollectionItem", "type"); + } + this.type = type; + return this; + } + public GetServicesServicesCollectionItem build() { + final var _resultValue = new GetServicesServicesCollectionItem(); + _resultValue.commsManagerName = commsManagerName; + _resultValue.excludedRealms = excludedRealms; + _resultValue.id = id; + _resultValue.platformType = platformType; + _resultValue.previousServiceNames = previousServiceNames; + _resultValue.serviceName = serviceName; + _resultValue.shortName = shortName; + _resultValue.state = state; + _resultValue.teamName = teamName; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + _resultValue.type = type; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/BdsInstance.java b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/BdsInstance.java index 326231dcc0..bde4d88f31 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/BdsInstance.java +++ b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/BdsInstance.java @@ -175,12 +175,6 @@ */ @ResourceType(type="oci:BigDataService/bdsInstance:BdsInstance") public class BdsInstance extends com.pulumi.resources.CustomResource { - @Export(name="addKafkaTrigger", refs={Integer.class}, tree="[0]") - private Output addKafkaTrigger; - - public Output> addKafkaTrigger() { - return Codegen.optional(this.addKafkaTrigger); - } /** * (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. * @@ -347,20 +341,6 @@ public Output displayName() { public Output> edgeNode() { return Codegen.optional(this.edgeNode); } - /** - * (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - * - */ - @Export(name="executeBootstrapScriptTrigger", refs={Integer.class}, tree="[0]") - private Output executeBootstrapScriptTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - * - */ - public Output> executeBootstrapScriptTrigger() { - return Codegen.optional(this.executeBootstrapScriptTrigger); - } /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` * @@ -585,20 +565,6 @@ public Output numberOfNodesRequiringMaintenanceReboot() { public Output> osPatchVersion() { return Codegen.optional(this.osPatchVersion); } - /** - * (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - * - */ - @Export(name="removeKafkaTrigger", refs={Integer.class}, tree="[0]") - private Output removeKafkaTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - * - */ - public Output> removeKafkaTrigger() { - return Codegen.optional(this.removeKafkaTrigger); - } /** * (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/BdsInstanceArgs.java b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/BdsInstanceArgs.java index 52ec525c8b..898a7189e5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/BdsInstanceArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/BdsInstanceArgs.java @@ -15,7 +15,6 @@ import com.pulumi.oci.BigDataService.inputs.BdsInstanceUtilNodeArgs; import com.pulumi.oci.BigDataService.inputs.BdsInstanceWorkerNodeArgs; import java.lang.Boolean; -import java.lang.Integer; import java.lang.String; import java.util.List; import java.util.Map; @@ -28,13 +27,6 @@ public final class BdsInstanceArgs extends com.pulumi.resources.ResourceArgs { public static final BdsInstanceArgs Empty = new BdsInstanceArgs(); - @Import(name="addKafkaTrigger") - private @Nullable Output addKafkaTrigger; - - public Optional> addKafkaTrigger() { - return Optional.ofNullable(this.addKafkaTrigger); - } - /** * (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. * @@ -184,21 +176,6 @@ public Optional> edgeNode() { return Optional.ofNullable(this.edgeNode); } - /** - * (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - * - */ - @Import(name="executeBootstrapScriptTrigger") - private @Nullable Output executeBootstrapScriptTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - * - */ - public Optional> executeBootstrapScriptTrigger() { - return Optional.ofNullable(this.executeBootstrapScriptTrigger); - } - /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` * @@ -394,21 +371,6 @@ public Optional> osPatchVersion() { return Optional.ofNullable(this.osPatchVersion); } - /** - * (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - * - */ - @Import(name="removeKafkaTrigger") - private @Nullable Output removeKafkaTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - * - */ - public Optional> removeKafkaTrigger() { - return Optional.ofNullable(this.removeKafkaTrigger); - } - /** * (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. * @@ -449,7 +411,6 @@ public Output workerNode() { private BdsInstanceArgs() {} private BdsInstanceArgs(BdsInstanceArgs $) { - this.addKafkaTrigger = $.addKafkaTrigger; this.bootstrapScriptUrl = $.bootstrapScriptUrl; this.cloudSqlDetails = $.cloudSqlDetails; this.clusterAdminPassword = $.clusterAdminPassword; @@ -461,7 +422,6 @@ private BdsInstanceArgs(BdsInstanceArgs $) { this.definedTags = $.definedTags; this.displayName = $.displayName; this.edgeNode = $.edgeNode; - this.executeBootstrapScriptTrigger = $.executeBootstrapScriptTrigger; this.freeformTags = $.freeformTags; this.ignoreExistingNodesShapes = $.ignoreExistingNodesShapes; this.isCloudSqlConfigured = $.isCloudSqlConfigured; @@ -475,7 +435,6 @@ private BdsInstanceArgs(BdsInstanceArgs $) { this.masterNode = $.masterNode; this.networkConfig = $.networkConfig; this.osPatchVersion = $.osPatchVersion; - this.removeKafkaTrigger = $.removeKafkaTrigger; this.state = $.state; this.utilNode = $.utilNode; this.workerNode = $.workerNode; @@ -499,15 +458,6 @@ public Builder(BdsInstanceArgs defaults) { $ = new BdsInstanceArgs(Objects.requireNonNull(defaults)); } - public Builder addKafkaTrigger(@Nullable Output addKafkaTrigger) { - $.addKafkaTrigger = addKafkaTrigger; - return this; - } - - public Builder addKafkaTrigger(Integer addKafkaTrigger) { - return addKafkaTrigger(Output.of(addKafkaTrigger)); - } - /** * @param bootstrapScriptUrl (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. * @@ -725,27 +675,6 @@ public Builder edgeNode(BdsInstanceEdgeNodeArgs edgeNode) { return edgeNode(Output.of(edgeNode)); } - /** - * @param executeBootstrapScriptTrigger (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - * - * @return builder - * - */ - public Builder executeBootstrapScriptTrigger(@Nullable Output executeBootstrapScriptTrigger) { - $.executeBootstrapScriptTrigger = executeBootstrapScriptTrigger; - return this; - } - - /** - * @param executeBootstrapScriptTrigger (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - * - * @return builder - * - */ - public Builder executeBootstrapScriptTrigger(Integer executeBootstrapScriptTrigger) { - return executeBootstrapScriptTrigger(Output.of(executeBootstrapScriptTrigger)); - } - /** * @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"}` * @@ -1029,27 +958,6 @@ public Builder osPatchVersion(String osPatchVersion) { return osPatchVersion(Output.of(osPatchVersion)); } - /** - * @param removeKafkaTrigger (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - * - * @return builder - * - */ - public Builder removeKafkaTrigger(@Nullable Output removeKafkaTrigger) { - $.removeKafkaTrigger = removeKafkaTrigger; - return this; - } - - /** - * @param removeKafkaTrigger (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - * - * @return builder - * - */ - public Builder removeKafkaTrigger(Integer removeKafkaTrigger) { - return removeKafkaTrigger(Output.of(removeKafkaTrigger)); - } - /** * @param state (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/inputs/BdsInstanceCloudSqlDetailArgs.java b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/inputs/BdsInstanceCloudSqlDetailArgs.java index efba3021e2..dfd7392f25 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/inputs/BdsInstanceCloudSqlDetailArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/inputs/BdsInstanceCloudSqlDetailArgs.java @@ -125,36 +125,6 @@ public Optional> ocpus() { return Optional.ofNullable(this.ocpus); } - /** - * Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - * - */ - @Import(name="odhVersion") - private @Nullable Output odhVersion; - - /** - * @return Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - * - */ - public Optional> odhVersion() { - return Optional.ofNullable(this.odhVersion); - } - - /** - * BDS-assigned Operating System version for the node. - * - */ - @Import(name="osVersion") - private @Nullable Output osVersion; - - /** - * @return BDS-assigned Operating System version for the node. - * - */ - public Optional> osVersion() { - return Optional.ofNullable(this.osVersion); - } - /** * Shape of the node * @@ -170,21 +140,6 @@ public Output shape() { return this.shape; } - /** - * The fingerprint of the SSH key used for node access - * - */ - @Import(name="sshFingerprint") - private @Nullable Output sshFingerprint; - - /** - * @return The fingerprint of the SSH key used for node access - * - */ - public Optional> sshFingerprint() { - return Optional.ofNullable(this.sshFingerprint); - } - private BdsInstanceCloudSqlDetailArgs() {} private BdsInstanceCloudSqlDetailArgs(BdsInstanceCloudSqlDetailArgs $) { @@ -195,10 +150,7 @@ private BdsInstanceCloudSqlDetailArgs(BdsInstanceCloudSqlDetailArgs $) { this.memoryInGbs = $.memoryInGbs; this.nvmes = $.nvmes; this.ocpus = $.ocpus; - this.odhVersion = $.odhVersion; - this.osVersion = $.osVersion; this.shape = $.shape; - this.sshFingerprint = $.sshFingerprint; } public static Builder builder() { @@ -376,48 +328,6 @@ public Builder ocpus(Integer ocpus) { return ocpus(Output.of(ocpus)); } - /** - * @param odhVersion Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - * - * @return builder - * - */ - public Builder odhVersion(@Nullable Output odhVersion) { - $.odhVersion = odhVersion; - return this; - } - - /** - * @param odhVersion Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - * - * @return builder - * - */ - public Builder odhVersion(String odhVersion) { - return odhVersion(Output.of(odhVersion)); - } - - /** - * @param osVersion BDS-assigned Operating System version for the node. - * - * @return builder - * - */ - public Builder osVersion(@Nullable Output osVersion) { - $.osVersion = osVersion; - return this; - } - - /** - * @param osVersion BDS-assigned Operating System version for the node. - * - * @return builder - * - */ - public Builder osVersion(String osVersion) { - return osVersion(Output.of(osVersion)); - } - /** * @param shape Shape of the node * @@ -439,27 +349,6 @@ public Builder shape(String shape) { return shape(Output.of(shape)); } - /** - * @param sshFingerprint The fingerprint of the SSH key used for node access - * - * @return builder - * - */ - public Builder sshFingerprint(@Nullable Output sshFingerprint) { - $.sshFingerprint = sshFingerprint; - return this; - } - - /** - * @param sshFingerprint The fingerprint of the SSH key used for node access - * - * @return builder - * - */ - public Builder sshFingerprint(String sshFingerprint) { - return sshFingerprint(Output.of(sshFingerprint)); - } - public BdsInstanceCloudSqlDetailArgs build() { if ($.shape == null) { throw new MissingRequiredPropertyException("BdsInstanceCloudSqlDetailArgs", "shape"); diff --git a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/inputs/BdsInstanceState.java b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/inputs/BdsInstanceState.java index af48f4bd88..689f0b010b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/inputs/BdsInstanceState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/inputs/BdsInstanceState.java @@ -29,13 +29,6 @@ public final class BdsInstanceState extends com.pulumi.resources.ResourceArgs { public static final BdsInstanceState Empty = new BdsInstanceState(); - @Import(name="addKafkaTrigger") - private @Nullable Output addKafkaTrigger; - - public Optional> addKafkaTrigger() { - return Optional.ofNullable(this.addKafkaTrigger); - } - /** * (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. * @@ -215,21 +208,6 @@ public Optional> edgeNode() { return Optional.ofNullable(this.edgeNode); } - /** - * (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - * - */ - @Import(name="executeBootstrapScriptTrigger") - private @Nullable Output executeBootstrapScriptTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - * - */ - public Optional> executeBootstrapScriptTrigger() { - return Optional.ofNullable(this.executeBootstrapScriptTrigger); - } - /** * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` * @@ -470,21 +448,6 @@ public Optional> osPatchVersion() { return Optional.ofNullable(this.osPatchVersion); } - /** - * (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - * - */ - @Import(name="removeKafkaTrigger") - private @Nullable Output removeKafkaTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - * - */ - public Optional> removeKafkaTrigger() { - return Optional.ofNullable(this.removeKafkaTrigger); - } - /** * (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. * @@ -555,7 +518,6 @@ public Optional> workerNode() { private BdsInstanceState() {} private BdsInstanceState(BdsInstanceState $) { - this.addKafkaTrigger = $.addKafkaTrigger; this.bootstrapScriptUrl = $.bootstrapScriptUrl; this.cloudSqlDetails = $.cloudSqlDetails; this.clusterAdminPassword = $.clusterAdminPassword; @@ -569,7 +531,6 @@ private BdsInstanceState(BdsInstanceState $) { this.definedTags = $.definedTags; this.displayName = $.displayName; this.edgeNode = $.edgeNode; - this.executeBootstrapScriptTrigger = $.executeBootstrapScriptTrigger; this.freeformTags = $.freeformTags; this.ignoreExistingNodesShapes = $.ignoreExistingNodesShapes; this.isCloudSqlConfigured = $.isCloudSqlConfigured; @@ -586,7 +547,6 @@ private BdsInstanceState(BdsInstanceState $) { this.numberOfNodes = $.numberOfNodes; this.numberOfNodesRequiringMaintenanceReboot = $.numberOfNodesRequiringMaintenanceReboot; this.osPatchVersion = $.osPatchVersion; - this.removeKafkaTrigger = $.removeKafkaTrigger; this.state = $.state; this.timeCreated = $.timeCreated; this.timeUpdated = $.timeUpdated; @@ -612,15 +572,6 @@ public Builder(BdsInstanceState defaults) { $ = new BdsInstanceState(Objects.requireNonNull(defaults)); } - public Builder addKafkaTrigger(@Nullable Output addKafkaTrigger) { - $.addKafkaTrigger = addKafkaTrigger; - return this; - } - - public Builder addKafkaTrigger(Integer addKafkaTrigger) { - return addKafkaTrigger(Output.of(addKafkaTrigger)); - } - /** * @param bootstrapScriptUrl (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. * @@ -890,27 +841,6 @@ public Builder edgeNode(BdsInstanceEdgeNodeArgs edgeNode) { return edgeNode(Output.of(edgeNode)); } - /** - * @param executeBootstrapScriptTrigger (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - * - * @return builder - * - */ - public Builder executeBootstrapScriptTrigger(@Nullable Output executeBootstrapScriptTrigger) { - $.executeBootstrapScriptTrigger = executeBootstrapScriptTrigger; - return this; - } - - /** - * @param executeBootstrapScriptTrigger (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - * - * @return builder - * - */ - public Builder executeBootstrapScriptTrigger(Integer executeBootstrapScriptTrigger) { - return executeBootstrapScriptTrigger(Output.of(executeBootstrapScriptTrigger)); - } - /** * @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"}` * @@ -1267,27 +1197,6 @@ public Builder osPatchVersion(String osPatchVersion) { return osPatchVersion(Output.of(osPatchVersion)); } - /** - * @param removeKafkaTrigger (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - * - * @return builder - * - */ - public Builder removeKafkaTrigger(@Nullable Output removeKafkaTrigger) { - $.removeKafkaTrigger = removeKafkaTrigger; - return this; - } - - /** - * @param removeKafkaTrigger (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - * - * @return builder - * - */ - public Builder removeKafkaTrigger(Integer removeKafkaTrigger) { - return removeKafkaTrigger(Output.of(removeKafkaTrigger)); - } - /** * @param state (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/BdsInstanceCloudSqlDetail.java b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/BdsInstanceCloudSqlDetail.java index e81a8aa2a1..7b07460e2d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/BdsInstanceCloudSqlDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/BdsInstanceCloudSqlDetail.java @@ -51,26 +51,11 @@ public final class BdsInstanceCloudSqlDetail { * */ private @Nullable Integer ocpus; - /** - * @return Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - * - */ - private @Nullable String odhVersion; - /** - * @return BDS-assigned Operating System version for the node. - * - */ - private @Nullable String osVersion; /** * @return Shape of the node * */ private String shape; - /** - * @return The fingerprint of the SSH key used for node access - * - */ - private @Nullable String sshFingerprint; private BdsInstanceCloudSqlDetail() {} /** @@ -122,20 +107,6 @@ public Optional nvmes() { public Optional ocpus() { return Optional.ofNullable(this.ocpus); } - /** - * @return Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - * - */ - public Optional odhVersion() { - return Optional.ofNullable(this.odhVersion); - } - /** - * @return BDS-assigned Operating System version for the node. - * - */ - public Optional osVersion() { - return Optional.ofNullable(this.osVersion); - } /** * @return Shape of the node * @@ -143,13 +114,6 @@ public Optional osVersion() { public String shape() { return this.shape; } - /** - * @return The fingerprint of the SSH key used for node access - * - */ - public Optional sshFingerprint() { - return Optional.ofNullable(this.sshFingerprint); - } public static Builder builder() { return new Builder(); @@ -167,10 +131,7 @@ public static final class Builder { private @Nullable Integer memoryInGbs; private @Nullable Integer nvmes; private @Nullable Integer ocpus; - private @Nullable String odhVersion; - private @Nullable String osVersion; private String shape; - private @Nullable String sshFingerprint; public Builder() {} public Builder(BdsInstanceCloudSqlDetail defaults) { Objects.requireNonNull(defaults); @@ -181,10 +142,7 @@ public Builder(BdsInstanceCloudSqlDetail defaults) { this.memoryInGbs = defaults.memoryInGbs; this.nvmes = defaults.nvmes; this.ocpus = defaults.ocpus; - this.odhVersion = defaults.odhVersion; - this.osVersion = defaults.osVersion; this.shape = defaults.shape; - this.sshFingerprint = defaults.sshFingerprint; } @CustomType.Setter @@ -233,18 +191,6 @@ public Builder ocpus(@Nullable Integer ocpus) { return this; } @CustomType.Setter - public Builder odhVersion(@Nullable String odhVersion) { - - this.odhVersion = odhVersion; - return this; - } - @CustomType.Setter - public Builder osVersion(@Nullable String osVersion) { - - this.osVersion = osVersion; - return this; - } - @CustomType.Setter public Builder shape(String shape) { if (shape == null) { throw new MissingRequiredPropertyException("BdsInstanceCloudSqlDetail", "shape"); @@ -252,12 +198,6 @@ public Builder shape(String shape) { this.shape = shape; return this; } - @CustomType.Setter - public Builder sshFingerprint(@Nullable String sshFingerprint) { - - this.sshFingerprint = sshFingerprint; - return this; - } public BdsInstanceCloudSqlDetail build() { final var _resultValue = new BdsInstanceCloudSqlDetail(); _resultValue.blockVolumeSizeInGbs = blockVolumeSizeInGbs; @@ -267,10 +207,7 @@ public BdsInstanceCloudSqlDetail build() { _resultValue.memoryInGbs = memoryInGbs; _resultValue.nvmes = nvmes; _resultValue.ocpus = ocpus; - _resultValue.odhVersion = odhVersion; - _resultValue.osVersion = osVersion; _resultValue.shape = shape; - _resultValue.sshFingerprint = sshFingerprint; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstanceCloudSqlDetail.java b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstanceCloudSqlDetail.java index 577e8ef5cb..f2396d881e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstanceCloudSqlDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstanceCloudSqlDetail.java @@ -49,26 +49,11 @@ public final class GetBdsInstanceCloudSqlDetail { * */ private Integer ocpus; - /** - * @return Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - * - */ - private String odhVersion; - /** - * @return BDS-assigned Operating System version for the node. - * - */ - private String osVersion; /** * @return Shape of the node. * */ private String shape; - /** - * @return The fingerprint of the SSH key used for node access. - * - */ - private String sshFingerprint; private GetBdsInstanceCloudSqlDetail() {} /** @@ -120,20 +105,6 @@ public Integer nvmes() { public Integer ocpus() { return this.ocpus; } - /** - * @return Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - * - */ - public String odhVersion() { - return this.odhVersion; - } - /** - * @return BDS-assigned Operating System version for the node. - * - */ - public String osVersion() { - return this.osVersion; - } /** * @return Shape of the node. * @@ -141,13 +112,6 @@ public String osVersion() { public String shape() { return this.shape; } - /** - * @return The fingerprint of the SSH key used for node access. - * - */ - public String sshFingerprint() { - return this.sshFingerprint; - } public static Builder builder() { return new Builder(); @@ -165,10 +129,7 @@ public static final class Builder { private Integer memoryInGbs; private Integer nvmes; private Integer ocpus; - private String odhVersion; - private String osVersion; private String shape; - private String sshFingerprint; public Builder() {} public Builder(GetBdsInstanceCloudSqlDetail defaults) { Objects.requireNonNull(defaults); @@ -179,10 +140,7 @@ public Builder(GetBdsInstanceCloudSqlDetail defaults) { this.memoryInGbs = defaults.memoryInGbs; this.nvmes = defaults.nvmes; this.ocpus = defaults.ocpus; - this.odhVersion = defaults.odhVersion; - this.osVersion = defaults.osVersion; this.shape = defaults.shape; - this.sshFingerprint = defaults.sshFingerprint; } @CustomType.Setter @@ -245,22 +203,6 @@ public Builder ocpus(Integer ocpus) { return this; } @CustomType.Setter - public Builder odhVersion(String odhVersion) { - if (odhVersion == null) { - throw new MissingRequiredPropertyException("GetBdsInstanceCloudSqlDetail", "odhVersion"); - } - this.odhVersion = odhVersion; - return this; - } - @CustomType.Setter - public Builder osVersion(String osVersion) { - if (osVersion == null) { - throw new MissingRequiredPropertyException("GetBdsInstanceCloudSqlDetail", "osVersion"); - } - this.osVersion = osVersion; - return this; - } - @CustomType.Setter public Builder shape(String shape) { if (shape == null) { throw new MissingRequiredPropertyException("GetBdsInstanceCloudSqlDetail", "shape"); @@ -268,14 +210,6 @@ public Builder shape(String shape) { this.shape = shape; return this; } - @CustomType.Setter - public Builder sshFingerprint(String sshFingerprint) { - if (sshFingerprint == null) { - throw new MissingRequiredPropertyException("GetBdsInstanceCloudSqlDetail", "sshFingerprint"); - } - this.sshFingerprint = sshFingerprint; - return this; - } public GetBdsInstanceCloudSqlDetail build() { final var _resultValue = new GetBdsInstanceCloudSqlDetail(); _resultValue.blockVolumeSizeInGbs = blockVolumeSizeInGbs; @@ -285,10 +219,7 @@ public GetBdsInstanceCloudSqlDetail build() { _resultValue.memoryInGbs = memoryInGbs; _resultValue.nvmes = nvmes; _resultValue.ocpus = ocpus; - _resultValue.odhVersion = odhVersion; - _resultValue.osVersion = osVersion; _resultValue.shape = shape; - _resultValue.sshFingerprint = sshFingerprint; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstanceResult.java b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstanceResult.java index 816df47152..21d43bb0a2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstanceResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstanceResult.java @@ -24,7 +24,6 @@ @CustomType public final class GetBdsInstanceResult { - private Integer addKafkaTrigger; private String bdsInstanceId; /** * @return pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. @@ -75,7 +74,6 @@ public final class GetBdsInstanceResult { */ private String displayName; private List edgeNodes; - private Integer executeBootstrapScriptTrigger; /** * @return Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` * @@ -137,7 +135,6 @@ public final class GetBdsInstanceResult { */ private Integer numberOfNodesRequiringMaintenanceReboot; private String osPatchVersion; - private Integer removeKafkaTrigger; /** * @return The state of the cluster. * @@ -157,9 +154,6 @@ public final class GetBdsInstanceResult { private List workerNodes; private GetBdsInstanceResult() {} - public Integer addKafkaTrigger() { - return this.addKafkaTrigger; - } public String bdsInstanceId() { return this.bdsInstanceId; } @@ -238,9 +232,6 @@ public String displayName() { public List edgeNodes() { return this.edgeNodes; } - public Integer executeBootstrapScriptTrigger() { - return this.executeBootstrapScriptTrigger; - } /** * @return Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` * @@ -336,9 +327,6 @@ public Integer numberOfNodesRequiringMaintenanceReboot() { public String osPatchVersion() { return this.osPatchVersion; } - public Integer removeKafkaTrigger() { - return this.removeKafkaTrigger; - } /** * @return The state of the cluster. * @@ -376,7 +364,6 @@ public static Builder builder(GetBdsInstanceResult defaults) { } @CustomType.Builder public static final class Builder { - private Integer addKafkaTrigger; private String bdsInstanceId; private String bootstrapScriptUrl; private List cloudSqlDetails; @@ -391,7 +378,6 @@ public static final class Builder { private Map definedTags; private String displayName; private List edgeNodes; - private Integer executeBootstrapScriptTrigger; private Map freeformTags; private String id; private List ignoreExistingNodesShapes; @@ -409,7 +395,6 @@ public static final class Builder { private Integer numberOfNodes; private Integer numberOfNodesRequiringMaintenanceReboot; private String osPatchVersion; - private Integer removeKafkaTrigger; private String state; private String timeCreated; private String timeUpdated; @@ -418,7 +403,6 @@ public static final class Builder { public Builder() {} public Builder(GetBdsInstanceResult defaults) { Objects.requireNonNull(defaults); - this.addKafkaTrigger = defaults.addKafkaTrigger; this.bdsInstanceId = defaults.bdsInstanceId; this.bootstrapScriptUrl = defaults.bootstrapScriptUrl; this.cloudSqlDetails = defaults.cloudSqlDetails; @@ -433,7 +417,6 @@ public Builder(GetBdsInstanceResult defaults) { this.definedTags = defaults.definedTags; this.displayName = defaults.displayName; this.edgeNodes = defaults.edgeNodes; - this.executeBootstrapScriptTrigger = defaults.executeBootstrapScriptTrigger; this.freeformTags = defaults.freeformTags; this.id = defaults.id; this.ignoreExistingNodesShapes = defaults.ignoreExistingNodesShapes; @@ -451,7 +434,6 @@ public Builder(GetBdsInstanceResult defaults) { this.numberOfNodes = defaults.numberOfNodes; this.numberOfNodesRequiringMaintenanceReboot = defaults.numberOfNodesRequiringMaintenanceReboot; this.osPatchVersion = defaults.osPatchVersion; - this.removeKafkaTrigger = defaults.removeKafkaTrigger; this.state = defaults.state; this.timeCreated = defaults.timeCreated; this.timeUpdated = defaults.timeUpdated; @@ -459,14 +441,6 @@ public Builder(GetBdsInstanceResult defaults) { this.workerNodes = defaults.workerNodes; } - @CustomType.Setter - public Builder addKafkaTrigger(Integer addKafkaTrigger) { - if (addKafkaTrigger == null) { - throw new MissingRequiredPropertyException("GetBdsInstanceResult", "addKafkaTrigger"); - } - this.addKafkaTrigger = addKafkaTrigger; - return this; - } @CustomType.Setter public Builder bdsInstanceId(String bdsInstanceId) { if (bdsInstanceId == null) { @@ -592,14 +566,6 @@ public Builder edgeNodes(GetBdsInstanceEdgeNode... edgeNodes) { return edgeNodes(List.of(edgeNodes)); } @CustomType.Setter - public Builder executeBootstrapScriptTrigger(Integer executeBootstrapScriptTrigger) { - if (executeBootstrapScriptTrigger == null) { - throw new MissingRequiredPropertyException("GetBdsInstanceResult", "executeBootstrapScriptTrigger"); - } - this.executeBootstrapScriptTrigger = executeBootstrapScriptTrigger; - return this; - } - @CustomType.Setter public Builder freeformTags(Map freeformTags) { if (freeformTags == null) { throw new MissingRequiredPropertyException("GetBdsInstanceResult", "freeformTags"); @@ -751,14 +717,6 @@ public Builder osPatchVersion(String osPatchVersion) { return this; } @CustomType.Setter - public Builder removeKafkaTrigger(Integer removeKafkaTrigger) { - if (removeKafkaTrigger == null) { - throw new MissingRequiredPropertyException("GetBdsInstanceResult", "removeKafkaTrigger"); - } - this.removeKafkaTrigger = removeKafkaTrigger; - return this; - } - @CustomType.Setter public Builder state(String state) { if (state == null) { throw new MissingRequiredPropertyException("GetBdsInstanceResult", "state"); @@ -806,7 +764,6 @@ public Builder workerNodes(GetBdsInstanceWorkerNode... workerNodes) { } public GetBdsInstanceResult build() { final var _resultValue = new GetBdsInstanceResult(); - _resultValue.addKafkaTrigger = addKafkaTrigger; _resultValue.bdsInstanceId = bdsInstanceId; _resultValue.bootstrapScriptUrl = bootstrapScriptUrl; _resultValue.cloudSqlDetails = cloudSqlDetails; @@ -821,7 +778,6 @@ public GetBdsInstanceResult build() { _resultValue.definedTags = definedTags; _resultValue.displayName = displayName; _resultValue.edgeNodes = edgeNodes; - _resultValue.executeBootstrapScriptTrigger = executeBootstrapScriptTrigger; _resultValue.freeformTags = freeformTags; _resultValue.id = id; _resultValue.ignoreExistingNodesShapes = ignoreExistingNodesShapes; @@ -839,7 +795,6 @@ public GetBdsInstanceResult build() { _resultValue.numberOfNodes = numberOfNodes; _resultValue.numberOfNodesRequiringMaintenanceReboot = numberOfNodesRequiringMaintenanceReboot; _resultValue.osPatchVersion = osPatchVersion; - _resultValue.removeKafkaTrigger = removeKafkaTrigger; _resultValue.state = state; _resultValue.timeCreated = timeCreated; _resultValue.timeUpdated = timeUpdated; diff --git a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstancesBdsInstance.java b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstancesBdsInstance.java index eadcf420a5..2897ecd1df 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstancesBdsInstance.java +++ b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstancesBdsInstance.java @@ -24,7 +24,6 @@ @CustomType public final class GetBdsInstancesBdsInstance { - private Integer addKafkaTrigger; /** * @return pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. * @@ -74,7 +73,6 @@ public final class GetBdsInstancesBdsInstance { */ private String displayName; private List edgeNodes; - private Integer executeBootstrapScriptTrigger; /** * @return Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` * @@ -136,7 +134,6 @@ public final class GetBdsInstancesBdsInstance { */ private Integer numberOfNodesRequiringMaintenanceReboot; private String osPatchVersion; - private Integer removeKafkaTrigger; /** * @return The state of the cluster. * @@ -156,9 +153,6 @@ public final class GetBdsInstancesBdsInstance { private List workerNodes; private GetBdsInstancesBdsInstance() {} - public Integer addKafkaTrigger() { - return this.addKafkaTrigger; - } /** * @return pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. * @@ -234,9 +228,6 @@ public String displayName() { public List edgeNodes() { return this.edgeNodes; } - public Integer executeBootstrapScriptTrigger() { - return this.executeBootstrapScriptTrigger; - } /** * @return Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` * @@ -332,9 +323,6 @@ public Integer numberOfNodesRequiringMaintenanceReboot() { public String osPatchVersion() { return this.osPatchVersion; } - public Integer removeKafkaTrigger() { - return this.removeKafkaTrigger; - } /** * @return The state of the cluster. * @@ -372,7 +360,6 @@ public static Builder builder(GetBdsInstancesBdsInstance defaults) { } @CustomType.Builder public static final class Builder { - private Integer addKafkaTrigger; private String bootstrapScriptUrl; private List cloudSqlDetails; private String clusterAdminPassword; @@ -386,7 +373,6 @@ public static final class Builder { private Map definedTags; private String displayName; private List edgeNodes; - private Integer executeBootstrapScriptTrigger; private Map freeformTags; private String id; private List ignoreExistingNodesShapes; @@ -404,7 +390,6 @@ public static final class Builder { private Integer numberOfNodes; private Integer numberOfNodesRequiringMaintenanceReboot; private String osPatchVersion; - private Integer removeKafkaTrigger; private String state; private String timeCreated; private String timeUpdated; @@ -413,7 +398,6 @@ public static final class Builder { public Builder() {} public Builder(GetBdsInstancesBdsInstance defaults) { Objects.requireNonNull(defaults); - this.addKafkaTrigger = defaults.addKafkaTrigger; this.bootstrapScriptUrl = defaults.bootstrapScriptUrl; this.cloudSqlDetails = defaults.cloudSqlDetails; this.clusterAdminPassword = defaults.clusterAdminPassword; @@ -427,7 +411,6 @@ public Builder(GetBdsInstancesBdsInstance defaults) { this.definedTags = defaults.definedTags; this.displayName = defaults.displayName; this.edgeNodes = defaults.edgeNodes; - this.executeBootstrapScriptTrigger = defaults.executeBootstrapScriptTrigger; this.freeformTags = defaults.freeformTags; this.id = defaults.id; this.ignoreExistingNodesShapes = defaults.ignoreExistingNodesShapes; @@ -445,7 +428,6 @@ public Builder(GetBdsInstancesBdsInstance defaults) { this.numberOfNodes = defaults.numberOfNodes; this.numberOfNodesRequiringMaintenanceReboot = defaults.numberOfNodesRequiringMaintenanceReboot; this.osPatchVersion = defaults.osPatchVersion; - this.removeKafkaTrigger = defaults.removeKafkaTrigger; this.state = defaults.state; this.timeCreated = defaults.timeCreated; this.timeUpdated = defaults.timeUpdated; @@ -453,14 +435,6 @@ public Builder(GetBdsInstancesBdsInstance defaults) { this.workerNodes = defaults.workerNodes; } - @CustomType.Setter - public Builder addKafkaTrigger(Integer addKafkaTrigger) { - if (addKafkaTrigger == null) { - throw new MissingRequiredPropertyException("GetBdsInstancesBdsInstance", "addKafkaTrigger"); - } - this.addKafkaTrigger = addKafkaTrigger; - return this; - } @CustomType.Setter public Builder bootstrapScriptUrl(String bootstrapScriptUrl) { if (bootstrapScriptUrl == null) { @@ -578,14 +552,6 @@ public Builder edgeNodes(GetBdsInstancesBdsInstanceEdgeNode... edgeNodes) { return edgeNodes(List.of(edgeNodes)); } @CustomType.Setter - public Builder executeBootstrapScriptTrigger(Integer executeBootstrapScriptTrigger) { - if (executeBootstrapScriptTrigger == null) { - throw new MissingRequiredPropertyException("GetBdsInstancesBdsInstance", "executeBootstrapScriptTrigger"); - } - this.executeBootstrapScriptTrigger = executeBootstrapScriptTrigger; - return this; - } - @CustomType.Setter public Builder freeformTags(Map freeformTags) { if (freeformTags == null) { throw new MissingRequiredPropertyException("GetBdsInstancesBdsInstance", "freeformTags"); @@ -737,14 +703,6 @@ public Builder osPatchVersion(String osPatchVersion) { return this; } @CustomType.Setter - public Builder removeKafkaTrigger(Integer removeKafkaTrigger) { - if (removeKafkaTrigger == null) { - throw new MissingRequiredPropertyException("GetBdsInstancesBdsInstance", "removeKafkaTrigger"); - } - this.removeKafkaTrigger = removeKafkaTrigger; - return this; - } - @CustomType.Setter public Builder state(String state) { if (state == null) { throw new MissingRequiredPropertyException("GetBdsInstancesBdsInstance", "state"); @@ -792,7 +750,6 @@ public Builder workerNodes(GetBdsInstancesBdsInstanceWorkerNode... workerNodes) } public GetBdsInstancesBdsInstance build() { final var _resultValue = new GetBdsInstancesBdsInstance(); - _resultValue.addKafkaTrigger = addKafkaTrigger; _resultValue.bootstrapScriptUrl = bootstrapScriptUrl; _resultValue.cloudSqlDetails = cloudSqlDetails; _resultValue.clusterAdminPassword = clusterAdminPassword; @@ -806,7 +763,6 @@ public GetBdsInstancesBdsInstance build() { _resultValue.definedTags = definedTags; _resultValue.displayName = displayName; _resultValue.edgeNodes = edgeNodes; - _resultValue.executeBootstrapScriptTrigger = executeBootstrapScriptTrigger; _resultValue.freeformTags = freeformTags; _resultValue.id = id; _resultValue.ignoreExistingNodesShapes = ignoreExistingNodesShapes; @@ -824,7 +780,6 @@ public GetBdsInstancesBdsInstance build() { _resultValue.numberOfNodes = numberOfNodes; _resultValue.numberOfNodesRequiringMaintenanceReboot = numberOfNodesRequiringMaintenanceReboot; _resultValue.osPatchVersion = osPatchVersion; - _resultValue.removeKafkaTrigger = removeKafkaTrigger; _resultValue.state = state; _resultValue.timeCreated = timeCreated; _resultValue.timeUpdated = timeUpdated; diff --git a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstancesBdsInstanceCloudSqlDetail.java b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstancesBdsInstanceCloudSqlDetail.java index e543e37ef6..eee47860b7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstancesBdsInstanceCloudSqlDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/BigDataService/outputs/GetBdsInstancesBdsInstanceCloudSqlDetail.java @@ -49,26 +49,11 @@ public final class GetBdsInstancesBdsInstanceCloudSqlDetail { * */ private Integer ocpus; - /** - * @return Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - * - */ - private String odhVersion; - /** - * @return BDS-assigned Operating System version for the node. - * - */ - private String osVersion; /** * @return Shape of the node. * */ private String shape; - /** - * @return The fingerprint of the SSH key used for node access. - * - */ - private String sshFingerprint; private GetBdsInstancesBdsInstanceCloudSqlDetail() {} /** @@ -120,20 +105,6 @@ public Integer nvmes() { public Integer ocpus() { return this.ocpus; } - /** - * @return Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - * - */ - public String odhVersion() { - return this.odhVersion; - } - /** - * @return BDS-assigned Operating System version for the node. - * - */ - public String osVersion() { - return this.osVersion; - } /** * @return Shape of the node. * @@ -141,13 +112,6 @@ public String osVersion() { public String shape() { return this.shape; } - /** - * @return The fingerprint of the SSH key used for node access. - * - */ - public String sshFingerprint() { - return this.sshFingerprint; - } public static Builder builder() { return new Builder(); @@ -165,10 +129,7 @@ public static final class Builder { private Integer memoryInGbs; private Integer nvmes; private Integer ocpus; - private String odhVersion; - private String osVersion; private String shape; - private String sshFingerprint; public Builder() {} public Builder(GetBdsInstancesBdsInstanceCloudSqlDetail defaults) { Objects.requireNonNull(defaults); @@ -179,10 +140,7 @@ public Builder(GetBdsInstancesBdsInstanceCloudSqlDetail defaults) { this.memoryInGbs = defaults.memoryInGbs; this.nvmes = defaults.nvmes; this.ocpus = defaults.ocpus; - this.odhVersion = defaults.odhVersion; - this.osVersion = defaults.osVersion; this.shape = defaults.shape; - this.sshFingerprint = defaults.sshFingerprint; } @CustomType.Setter @@ -245,22 +203,6 @@ public Builder ocpus(Integer ocpus) { return this; } @CustomType.Setter - public Builder odhVersion(String odhVersion) { - if (odhVersion == null) { - throw new MissingRequiredPropertyException("GetBdsInstancesBdsInstanceCloudSqlDetail", "odhVersion"); - } - this.odhVersion = odhVersion; - return this; - } - @CustomType.Setter - public Builder osVersion(String osVersion) { - if (osVersion == null) { - throw new MissingRequiredPropertyException("GetBdsInstancesBdsInstanceCloudSqlDetail", "osVersion"); - } - this.osVersion = osVersion; - return this; - } - @CustomType.Setter public Builder shape(String shape) { if (shape == null) { throw new MissingRequiredPropertyException("GetBdsInstancesBdsInstanceCloudSqlDetail", "shape"); @@ -268,14 +210,6 @@ public Builder shape(String shape) { this.shape = shape; return this; } - @CustomType.Setter - public Builder sshFingerprint(String sshFingerprint) { - if (sshFingerprint == null) { - throw new MissingRequiredPropertyException("GetBdsInstancesBdsInstanceCloudSqlDetail", "sshFingerprint"); - } - this.sshFingerprint = sshFingerprint; - return this; - } public GetBdsInstancesBdsInstanceCloudSqlDetail build() { final var _resultValue = new GetBdsInstancesBdsInstanceCloudSqlDetail(); _resultValue.blockVolumeSizeInGbs = blockVolumeSizeInGbs; @@ -285,10 +219,7 @@ public GetBdsInstancesBdsInstanceCloudSqlDetail build() { _resultValue.memoryInGbs = memoryInGbs; _resultValue.nvmes = nvmes; _resultValue.ocpus = ocpus; - _resultValue.odhVersion = odhVersion; - _resultValue.osVersion = osVersion; _resultValue.shape = shape; - _resultValue.sshFingerprint = sshFingerprint; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/DatabaseSecurityConfigManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/DatabaseSecurityConfigManagement.java index 6e8642c0f3..02847af0c9 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/DatabaseSecurityConfigManagement.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/DatabaseSecurityConfigManagement.java @@ -17,89 +17,263 @@ import java.util.Optional; import javax.annotation.Nullable; +/** + * This resource provides the Database Security Config Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Updates the database security configuration. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DataSafe.DatabaseSecurityConfigManagement;
+ * import com.pulumi.oci.DataSafe.DatabaseSecurityConfigManagementArgs;
+ * import com.pulumi.oci.DataSafe.inputs.DatabaseSecurityConfigManagementSqlFirewallConfigArgs;
+ * 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 testDatabaseSecurityConfigManagement = new DatabaseSecurityConfigManagement("testDatabaseSecurityConfigManagement", DatabaseSecurityConfigManagementArgs.builder()
+ *             .compartmentId(compartmentId)
+ *             .targetId(testTargetDatabase.id())
+ *             .definedTags(Map.of("Operations.CostCenter", "42"))
+ *             .description(databaseSecurityConfigManagementDescription)
+ *             .displayName(databaseSecurityConfigManagementDisplayName)
+ *             .freeformTags(Map.of("Department", "Finance"))
+ *             .sqlFirewallConfig(DatabaseSecurityConfigManagementSqlFirewallConfigArgs.builder()
+ *                 .excludeJob(databaseSecurityConfigManagementSqlFirewallConfigExcludeJob)
+ *                 .status(databaseSecurityConfigManagementSqlFirewallConfigStatus)
+ *                 .violationLogAutoPurge(databaseSecurityConfigManagementSqlFirewallConfigViolationLogAutoPurge)
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * Import is not supported for this resource. + * + */ @ResourceType(type="oci:DataSafe/databaseSecurityConfigManagement:DatabaseSecurityConfigManagement") public class DatabaseSecurityConfigManagement extends com.pulumi.resources.CustomResource { + /** + * (Updatable) The OCID of the compartment containing the database security config. + * + */ @Export(name="compartmentId", refs={String.class}, tree="[0]") private Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the database security config. + * + */ public Output compartmentId() { return this.compartmentId; } + /** + * (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"}` + * + */ @Export(name="definedTags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> definedTags; + /** + * @return (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 Output> definedTags() { return this.definedTags; } + /** + * (Updatable) The description of the security policy. + * + */ @Export(name="description", refs={String.class}, tree="[0]") private Output description; + /** + * @return (Updatable) The description of the security policy. + * + */ public Output description() { return this.description; } + /** + * (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + * + */ @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; + /** + * @return (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + * + */ public Output displayName() { return this.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"}` + * + */ @Export(name="freeformTags", refs={Map.class,String.class}, tree="[0,1,1]") 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. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` + * + */ public Output> freeformTags() { return this.freeformTags; } + /** + * Details about the current state of the database security config in Data Safe. + * + */ @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") private Output lifecycleDetails; + /** + * @return Details about the current state of the database security config in Data Safe. + * + */ public Output lifecycleDetails() { return this.lifecycleDetails; } + /** + * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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="refreshTrigger", refs={Boolean.class}, tree="[0]") private Output refreshTrigger; + /** + * @return (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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> refreshTrigger() { return Codegen.optional(this.refreshTrigger); } + /** + * (Updatable) Details to update the SQL firewall config. + * + */ @Export(name="sqlFirewallConfig", refs={DatabaseSecurityConfigManagementSqlFirewallConfig.class}, tree="[0]") private Output sqlFirewallConfig; + /** + * @return (Updatable) Details to update the SQL firewall config. + * + */ public Output sqlFirewallConfig() { return this.sqlFirewallConfig; } + /** + * The current state of the database security config. + * + */ @Export(name="state", refs={String.class}, tree="[0]") private Output state; + /** + * @return The current state of the database security config. + * + */ public Output state() { return this.state; } + /** + * 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"}` + * + */ @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> systemTags; + /** + * @return 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"}` + * + */ public Output> systemTags() { return this.systemTags; } + /** + * Unique target identifier. + * + */ @Export(name="targetId", refs={String.class}, tree="[0]") private Output targetId; + /** + * @return Unique target identifier. + * + */ public Output> targetId() { return Codegen.optional(this.targetId); } + /** + * The time that the database security config was created, in the format defined by RFC3339. + * + */ @Export(name="timeCreated", refs={String.class}, tree="[0]") private Output timeCreated; + /** + * @return The time that the database security config was created, in the format defined by RFC3339. + * + */ public Output timeCreated() { return this.timeCreated; } + /** + * The last date and time the database security config was refreshed, in the format defined by RFC3339. + * + */ @Export(name="timeLastRefreshed", refs={String.class}, tree="[0]") private Output timeLastRefreshed; + /** + * @return The last date and time the database security config was refreshed, in the format defined by RFC3339. + * + */ public Output timeLastRefreshed() { return this.timeLastRefreshed; } + /** + * The date and time the database security configuration was last updated, in the format defined by RFC3339. + * + */ @Export(name="timeUpdated", refs={String.class}, tree="[0]") private Output timeUpdated; + /** + * @return The date and time the database security configuration was last updated, in the format defined by RFC3339. + * + */ public Output timeUpdated() { return this.timeUpdated; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/DatabaseSecurityConfigManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/DatabaseSecurityConfigManagementArgs.java index 8903105a5e..d290f7bbe1 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/DatabaseSecurityConfigManagementArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/DatabaseSecurityConfigManagementArgs.java @@ -18,58 +18,128 @@ public final class DatabaseSecurityConfigManagementArgs extends com.pulumi.resou public static final DatabaseSecurityConfigManagementArgs Empty = new DatabaseSecurityConfigManagementArgs(); + /** + * (Updatable) The OCID of the compartment containing the database security config. + * + */ @Import(name="compartmentId") private @Nullable Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the database security config. + * + */ public Optional> compartmentId() { return Optional.ofNullable(this.compartmentId); } + /** + * (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"}` + * + */ @Import(name="definedTags") private @Nullable Output> definedTags; + /** + * @return (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 Optional>> definedTags() { return Optional.ofNullable(this.definedTags); } + /** + * (Updatable) The description of the security policy. + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return (Updatable) The description of the security policy. + * + */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + * + */ @Import(name="displayName") private @Nullable Output displayName; + /** + * @return (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + * + */ 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. For more information, 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. For more information, 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 optional property when incremented triggers Refresh. Could be set to any integer 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="refreshTrigger") private @Nullable Output refreshTrigger; + /** + * @return (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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> refreshTrigger() { return Optional.ofNullable(this.refreshTrigger); } + /** + * (Updatable) Details to update the SQL firewall config. + * + */ @Import(name="sqlFirewallConfig") private @Nullable Output sqlFirewallConfig; + /** + * @return (Updatable) Details to update the SQL firewall config. + * + */ public Optional> sqlFirewallConfig() { return Optional.ofNullable(this.sqlFirewallConfig); } + /** + * Unique target identifier. + * + */ @Import(name="targetId") private @Nullable Output targetId; + /** + * @return Unique target identifier. + * + */ public Optional> targetId() { return Optional.ofNullable(this.targetId); } @@ -105,74 +175,176 @@ public Builder(DatabaseSecurityConfigManagementArgs defaults) { $ = new DatabaseSecurityConfigManagementArgs(Objects.requireNonNull(defaults)); } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the database security config. + * + * @return builder + * + */ public Builder compartmentId(@Nullable Output compartmentId) { $.compartmentId = compartmentId; return this; } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the database security config. + * + * @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. For more information, 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. For more information, 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) The description of the security policy. + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description (Updatable) The description of the security policy. + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param displayName (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + * + * @return builder + * + */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } + /** + * @param displayName (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + * + * @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. For more information, 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. For more information, 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 refreshTrigger (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 refreshTrigger(@Nullable Output refreshTrigger) { $.refreshTrigger = refreshTrigger; return this; } + /** + * @param refreshTrigger (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 refreshTrigger(Boolean refreshTrigger) { return refreshTrigger(Output.of(refreshTrigger)); } + /** + * @param sqlFirewallConfig (Updatable) Details to update the SQL firewall config. + * + * @return builder + * + */ public Builder sqlFirewallConfig(@Nullable Output sqlFirewallConfig) { $.sqlFirewallConfig = sqlFirewallConfig; return this; } + /** + * @param sqlFirewallConfig (Updatable) Details to update the SQL firewall config. + * + * @return builder + * + */ public Builder sqlFirewallConfig(DatabaseSecurityConfigManagementSqlFirewallConfigArgs sqlFirewallConfig) { return sqlFirewallConfig(Output.of(sqlFirewallConfig)); } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(@Nullable Output targetId) { $.targetId = targetId; return this; } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(String targetId) { return targetId(Output.of(targetId)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingPolicyHealthReportManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingPolicyHealthReportManagement.java new file mode 100644 index 0000000000..c313eaa725 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingPolicyHealthReportManagement.java @@ -0,0 +1,245 @@ +// *** 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.DataSafe; + +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.DataSafe.MaskingPolicyHealthReportManagementArgs; +import com.pulumi.oci.DataSafe.inputs.MaskingPolicyHealthReportManagementState; +import com.pulumi.oci.Utilities; +import java.lang.String; +import java.util.Map; +import javax.annotation.Nullable; + +/** + * This resource provides Pre-masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Gets the details of the specified pre-masking health report. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DataSafe.MaskingPolicyHealthReportManagement;
+ * import com.pulumi.oci.DataSafe.MaskingPolicyHealthReportManagementArgs;
+ * 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 testPreMaskingReportManagement = new MaskingPolicyHealthReportManagement("testPreMaskingReportManagement", MaskingPolicyHealthReportManagementArgs.builder()
+ *             .targetId(testTargetDatabase.id())
+ *             .maskingPolicyId(testMaskingPolicy.id())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * Import is not supported for this resource. + * + */ +@ResourceType(type="oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement") +public class MaskingPolicyHealthReportManagement extends com.pulumi.resources.CustomResource { + /** + * The OCID of the compartment that contains the masking report. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return The OCID of the compartment that contains the masking report. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + @Export(name="definedTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> definedTags; + + public Output> definedTags() { + return this.definedTags; + } + /** + * Description for the pre-masking report, + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return Description for the pre-masking report, + * + */ + public Output description() { + return this.description; + } + /** + * The display name of the pre-masking report, + * + */ + @Export(name="displayName", refs={String.class}, tree="[0]") + private Output displayName; + + /** + * @return The display name of the pre-masking report, + * + */ + public Output displayName() { + return this.displayName; + } + @Export(name="freeformTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> freeformTags; + + public Output> freeformTags() { + return this.freeformTags; + } + /** + * The OCID of the masking policy. + * + */ + @Export(name="maskingPolicyId", refs={String.class}, tree="[0]") + private Output maskingPolicyId; + + /** + * @return The OCID of the masking policy. + * + */ + public Output maskingPolicyId() { + return this.maskingPolicyId; + } + /** + * The current state of the pre-masking report. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The current state of the pre-masking report. + * + */ + public Output state() { + return this.state; + } + /** + * The OCID of the target database masked. + * + */ + @Export(name="targetId", refs={String.class}, tree="[0]") + private Output targetId; + + /** + * @return The OCID of the target database masked. + * + */ + public Output targetId() { + return this.targetId; + } + /** + * The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + */ + @Export(name="timeUpdated", refs={String.class}, tree="[0]") + private Output timeUpdated; + + /** + * @return The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + */ + public Output timeUpdated() { + return this.timeUpdated; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public MaskingPolicyHealthReportManagement(java.lang.String name) { + this(name, MaskingPolicyHealthReportManagementArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public MaskingPolicyHealthReportManagement(java.lang.String name, @Nullable MaskingPolicyHealthReportManagementArgs 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 MaskingPolicyHealthReportManagement(java.lang.String name, @Nullable MaskingPolicyHealthReportManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private MaskingPolicyHealthReportManagement(java.lang.String name, Output id, @Nullable MaskingPolicyHealthReportManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement", name, state, makeResourceOptions(options, id), false); + } + + private static MaskingPolicyHealthReportManagementArgs makeArgs(@Nullable MaskingPolicyHealthReportManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? MaskingPolicyHealthReportManagementArgs.Empty : args; + } + + 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 MaskingPolicyHealthReportManagement get(java.lang.String name, Output id, @Nullable MaskingPolicyHealthReportManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new MaskingPolicyHealthReportManagement(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingPolicyHealthReportManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingPolicyHealthReportManagementArgs.java new file mode 100644 index 0000000000..09b269486a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingPolicyHealthReportManagementArgs.java @@ -0,0 +1,157 @@ +// *** 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.DataSafe; + +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 MaskingPolicyHealthReportManagementArgs extends com.pulumi.resources.ResourceArgs { + + public static final MaskingPolicyHealthReportManagementArgs Empty = new MaskingPolicyHealthReportManagementArgs(); + + /** + * The OCID of the compartment that contains the masking report. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The OCID of the compartment that contains the masking report. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * The OCID of the masking policy. + * + */ + @Import(name="maskingPolicyId") + private @Nullable Output maskingPolicyId; + + /** + * @return The OCID of the masking policy. + * + */ + public Optional> maskingPolicyId() { + return Optional.ofNullable(this.maskingPolicyId); + } + + /** + * The OCID of the target database masked. + * + */ + @Import(name="targetId") + private @Nullable Output targetId; + + /** + * @return The OCID of the target database masked. + * + */ + public Optional> targetId() { + return Optional.ofNullable(this.targetId); + } + + private MaskingPolicyHealthReportManagementArgs() {} + + private MaskingPolicyHealthReportManagementArgs(MaskingPolicyHealthReportManagementArgs $) { + this.compartmentId = $.compartmentId; + this.maskingPolicyId = $.maskingPolicyId; + this.targetId = $.targetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MaskingPolicyHealthReportManagementArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MaskingPolicyHealthReportManagementArgs $; + + public Builder() { + $ = new MaskingPolicyHealthReportManagementArgs(); + } + + public Builder(MaskingPolicyHealthReportManagementArgs defaults) { + $ = new MaskingPolicyHealthReportManagementArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The OCID of the compartment that contains the masking report. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment that contains the masking report. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param maskingPolicyId The OCID of the masking policy. + * + * @return builder + * + */ + public Builder maskingPolicyId(@Nullable Output maskingPolicyId) { + $.maskingPolicyId = maskingPolicyId; + return this; + } + + /** + * @param maskingPolicyId The OCID of the masking policy. + * + * @return builder + * + */ + public Builder maskingPolicyId(String maskingPolicyId) { + return maskingPolicyId(Output.of(maskingPolicyId)); + } + + /** + * @param targetId The OCID of the target database masked. + * + * @return builder + * + */ + public Builder targetId(@Nullable Output targetId) { + $.targetId = targetId; + return this; + } + + /** + * @param targetId The OCID of the target database masked. + * + * @return builder + * + */ + public Builder targetId(String targetId) { + return targetId(Output.of(targetId)); + } + + public MaskingPolicyHealthReportManagementArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingReportManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingReportManagement.java new file mode 100644 index 0000000000..fc5f73fb98 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingReportManagement.java @@ -0,0 +1,373 @@ +// *** 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.DataSafe; + +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.DataSafe.MaskingReportManagementArgs; +import com.pulumi.oci.DataSafe.inputs.MaskingReportManagementState; +import com.pulumi.oci.Utilities; +import java.lang.Boolean; +import java.lang.String; +import javax.annotation.Nullable; + +/** + * This resource provides Masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Gets the details of the specified masking report. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DataSafe.MaskingReportManagement;
+ * import com.pulumi.oci.DataSafe.MaskingReportManagementArgs;
+ * 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 testMaskingReportManagement = new MaskingReportManagement("testMaskingReportManagement", MaskingReportManagementArgs.builder()
+ *             .targetId(testTargetDatabase.id())
+ *             .maskingPolicyId(testMaskingPolicy.id())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * Import is not supported for this resource. + * + */ +@ResourceType(type="oci:DataSafe/maskingReportManagement:MaskingReportManagement") +public class MaskingReportManagement extends com.pulumi.resources.CustomResource { + /** + * The OCID of the compartment that contains the masking report. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return The OCID of the compartment that contains the masking report. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + /** + * Indicates if the temporary tables created during the masking operation were dropped after masking. + * + */ + @Export(name="isDropTempTablesEnabled", refs={Boolean.class}, tree="[0]") + private Output isDropTempTablesEnabled; + + /** + * @return Indicates if the temporary tables created during the masking operation were dropped after masking. + * + */ + public Output isDropTempTablesEnabled() { + return this.isDropTempTablesEnabled; + } + /** + * Indicates if redo logging was enabled during the masking operation. + * + */ + @Export(name="isRedoLoggingEnabled", refs={Boolean.class}, tree="[0]") + private Output isRedoLoggingEnabled; + + /** + * @return Indicates if redo logging was enabled during the masking operation. + * + */ + public Output isRedoLoggingEnabled() { + return this.isRedoLoggingEnabled; + } + /** + * Indicates if statistics gathering was enabled during the masking operation. + * + */ + @Export(name="isRefreshStatsEnabled", refs={Boolean.class}, tree="[0]") + private Output isRefreshStatsEnabled; + + /** + * @return Indicates if statistics gathering was enabled during the masking operation. + * + */ + public Output isRefreshStatsEnabled() { + return this.isRefreshStatsEnabled; + } + /** + * The OCID of the masking policy. + * + */ + @Export(name="maskingPolicyId", refs={String.class}, tree="[0]") + private Output maskingPolicyId; + + /** + * @return The OCID of the masking policy. + * + */ + public Output maskingPolicyId() { + return this.maskingPolicyId; + } + /** + * The OCID of the masking work request that resulted in this masking report. + * + */ + @Export(name="maskingWorkRequestId", refs={String.class}, tree="[0]") + private Output maskingWorkRequestId; + + /** + * @return The OCID of the masking work request that resulted in this masking report. + * + */ + public Output maskingWorkRequestId() { + return this.maskingWorkRequestId; + } + /** + * Indicates if parallel execution was enabled during the masking operation. + * + */ + @Export(name="parallelDegree", refs={String.class}, tree="[0]") + private Output parallelDegree; + + /** + * @return Indicates if parallel execution was enabled during the masking operation. + * + */ + public Output parallelDegree() { + return this.parallelDegree; + } + /** + * Indicates how invalid objects were recompiled post the masking operation. + * + */ + @Export(name="recompile", refs={String.class}, tree="[0]") + private Output recompile; + + /** + * @return Indicates how invalid objects were recompiled post the masking operation. + * + */ + public Output recompile() { + return this.recompile; + } + /** + * The current state of the masking report. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The current state of the masking report. + * + */ + public Output state() { + return this.state; + } + /** + * The OCID of the target database masked. + * + */ + @Export(name="targetId", refs={String.class}, tree="[0]") + private Output targetId; + + /** + * @return The OCID of the target database masked. + * + */ + public Output targetId() { + return this.targetId; + } + /** + * The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + */ + @Export(name="timeMaskingFinished", refs={String.class}, tree="[0]") + private Output timeMaskingFinished; + + /** + * @return The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + */ + public Output timeMaskingFinished() { + return this.timeMaskingFinished; + } + /** + * The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + */ + @Export(name="timeMaskingStarted", refs={String.class}, tree="[0]") + private Output timeMaskingStarted; + + /** + * @return The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + */ + public Output timeMaskingStarted() { + return this.timeMaskingStarted; + } + /** + * The total number of masked columns. + * + */ + @Export(name="totalMaskedColumns", refs={String.class}, tree="[0]") + private Output totalMaskedColumns; + + /** + * @return The total number of masked columns. + * + */ + public Output totalMaskedColumns() { + return this.totalMaskedColumns; + } + /** + * The total number of unique objects (tables and editioning views) that contain the masked columns. + * + */ + @Export(name="totalMaskedObjects", refs={String.class}, tree="[0]") + private Output totalMaskedObjects; + + /** + * @return The total number of unique objects (tables and editioning views) that contain the masked columns. + * + */ + public Output totalMaskedObjects() { + return this.totalMaskedObjects; + } + /** + * The total number of unique schemas that contain the masked columns. + * + */ + @Export(name="totalMaskedSchemas", refs={String.class}, tree="[0]") + private Output totalMaskedSchemas; + + /** + * @return The total number of unique schemas that contain the masked columns. + * + */ + public Output totalMaskedSchemas() { + return this.totalMaskedSchemas; + } + /** + * The total number of unique sensitive types associated with the masked columns. + * + */ + @Export(name="totalMaskedSensitiveTypes", refs={String.class}, tree="[0]") + private Output totalMaskedSensitiveTypes; + + /** + * @return The total number of unique sensitive types associated with the masked columns. + * + */ + public Output totalMaskedSensitiveTypes() { + return this.totalMaskedSensitiveTypes; + } + /** + * The total number of masked values. + * + */ + @Export(name="totalMaskedValues", refs={String.class}, tree="[0]") + private Output totalMaskedValues; + + /** + * @return The total number of masked values. + * + */ + public Output totalMaskedValues() { + return this.totalMaskedValues; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public MaskingReportManagement(java.lang.String name) { + this(name, MaskingReportManagementArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public MaskingReportManagement(java.lang.String name, @Nullable MaskingReportManagementArgs 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 MaskingReportManagement(java.lang.String name, @Nullable MaskingReportManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/maskingReportManagement:MaskingReportManagement", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private MaskingReportManagement(java.lang.String name, Output id, @Nullable MaskingReportManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/maskingReportManagement:MaskingReportManagement", name, state, makeResourceOptions(options, id), false); + } + + private static MaskingReportManagementArgs makeArgs(@Nullable MaskingReportManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? MaskingReportManagementArgs.Empty : args; + } + + 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 MaskingReportManagement get(java.lang.String name, Output id, @Nullable MaskingReportManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new MaskingReportManagement(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingReportManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingReportManagementArgs.java new file mode 100644 index 0000000000..a179344e3d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/MaskingReportManagementArgs.java @@ -0,0 +1,157 @@ +// *** 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.DataSafe; + +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 MaskingReportManagementArgs extends com.pulumi.resources.ResourceArgs { + + public static final MaskingReportManagementArgs Empty = new MaskingReportManagementArgs(); + + /** + * The OCID of the compartment that contains the masking report. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The OCID of the compartment that contains the masking report. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * The OCID of the masking policy. + * + */ + @Import(name="maskingPolicyId") + private @Nullable Output maskingPolicyId; + + /** + * @return The OCID of the masking policy. + * + */ + public Optional> maskingPolicyId() { + return Optional.ofNullable(this.maskingPolicyId); + } + + /** + * The OCID of the target database masked. + * + */ + @Import(name="targetId") + private @Nullable Output targetId; + + /** + * @return The OCID of the target database masked. + * + */ + public Optional> targetId() { + return Optional.ofNullable(this.targetId); + } + + private MaskingReportManagementArgs() {} + + private MaskingReportManagementArgs(MaskingReportManagementArgs $) { + this.compartmentId = $.compartmentId; + this.maskingPolicyId = $.maskingPolicyId; + this.targetId = $.targetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MaskingReportManagementArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MaskingReportManagementArgs $; + + public Builder() { + $ = new MaskingReportManagementArgs(); + } + + public Builder(MaskingReportManagementArgs defaults) { + $ = new MaskingReportManagementArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The OCID of the compartment that contains the masking report. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment that contains the masking report. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param maskingPolicyId The OCID of the masking policy. + * + * @return builder + * + */ + public Builder maskingPolicyId(@Nullable Output maskingPolicyId) { + $.maskingPolicyId = maskingPolicyId; + return this; + } + + /** + * @param maskingPolicyId The OCID of the masking policy. + * + * @return builder + * + */ + public Builder maskingPolicyId(String maskingPolicyId) { + return maskingPolicyId(Output.of(maskingPolicyId)); + } + + /** + * @param targetId The OCID of the target database masked. + * + * @return builder + * + */ + public Builder targetId(@Nullable Output targetId) { + $.targetId = targetId; + return this; + } + + /** + * @param targetId The OCID of the target database masked. + * + * @return builder + * + */ + public Builder targetId(String targetId) { + return targetId(Output.of(targetId)); + } + + public MaskingReportManagementArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyDeploymentManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyDeploymentManagement.java index 01040cb80b..c04c21ffb2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyDeploymentManagement.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyDeploymentManagement.java @@ -14,77 +14,223 @@ import java.util.Map; import javax.annotation.Nullable; +/** + * This resource provides the Security Policy Deployment Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Updates the security policy deployment. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DataSafe.SecurityPolicyDeploymentManagement;
+ * import com.pulumi.oci.DataSafe.SecurityPolicyDeploymentManagementArgs;
+ * 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 testSecurityPolicyDeploymentManagement = new SecurityPolicyDeploymentManagement("testSecurityPolicyDeploymentManagement", SecurityPolicyDeploymentManagementArgs.builder()
+ *             .compartmentId(compartmentId)
+ *             .targetId(testTargetDatabase.id())
+ *             .definedTags(Map.of("Operations.CostCenter", "42"))
+ *             .description(securityPolicyDeploymentManagementDescription)
+ *             .displayName(securityPolicyDeploymentManagementDisplayName)
+ *             .freeformTags(Map.of("Department", "Finance"))
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * Import is not supported for this resource. + * + */ @ResourceType(type="oci:DataSafe/securityPolicyDeploymentManagement:SecurityPolicyDeploymentManagement") public class SecurityPolicyDeploymentManagement extends com.pulumi.resources.CustomResource { + /** + * (Updatable) The OCID of the compartment containing the security policy deployment. + * + */ @Export(name="compartmentId", refs={String.class}, tree="[0]") private Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the security policy deployment. + * + */ public Output compartmentId() { return this.compartmentId; } + /** + * (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"}` + * + */ @Export(name="definedTags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> definedTags; + /** + * @return (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 Output> definedTags() { return this.definedTags; } + /** + * (Updatable) The description of the security policy deployment. + * + */ @Export(name="description", refs={String.class}, tree="[0]") private Output description; + /** + * @return (Updatable) The description of the security policy deployment. + * + */ public Output description() { return this.description; } + /** + * (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + * + */ @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; + /** + * @return (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + * + */ public Output displayName() { return this.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"}` + * + */ @Export(name="freeformTags", refs={Map.class,String.class}, tree="[0,1,1]") 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. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` + * + */ public Output> freeformTags() { return this.freeformTags; } + /** + * Details about the current state of the security policy deployment in Data Safe. + * + */ @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") private Output lifecycleDetails; + /** + * @return Details about the current state of the security policy deployment in Data Safe. + * + */ public Output lifecycleDetails() { return this.lifecycleDetails; } + /** + * The OCID of the security policy corresponding to the security policy deployment. + * + */ @Export(name="securityPolicyId", refs={String.class}, tree="[0]") private Output securityPolicyId; + /** + * @return The OCID of the security policy corresponding to the security policy deployment. + * + */ public Output securityPolicyId() { return this.securityPolicyId; } + /** + * The current state of the security policy deployment. + * + */ @Export(name="state", refs={String.class}, tree="[0]") private Output state; + /** + * @return The current state of the security policy deployment. + * + */ public Output state() { return this.state; } + /** + * 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"}` + * + */ @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> systemTags; + /** + * @return 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"}` + * + */ public Output> systemTags() { return this.systemTags; } + /** + * Unique target identifier. + * + */ @Export(name="targetId", refs={String.class}, tree="[0]") private Output targetId; + /** + * @return Unique target identifier. + * + */ public Output targetId() { return this.targetId; } + /** + * The time that the security policy deployment was created, in the format defined by RFC3339. + * + */ @Export(name="timeCreated", refs={String.class}, tree="[0]") private Output timeCreated; + /** + * @return The time that the security policy deployment was created, in the format defined by RFC3339. + * + */ public Output timeCreated() { return this.timeCreated; } + /** + * The last date and time the security policy deployment was updated, in the format defined by RFC3339. + * + */ @Export(name="timeUpdated", refs={String.class}, tree="[0]") private Output timeUpdated; + /** + * @return The last date and time the security policy deployment was updated, in the format defined by RFC3339. + * + */ public Output timeUpdated() { return this.timeUpdated; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyDeploymentManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyDeploymentManagementArgs.java index 02db80a3a7..e23b061660 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyDeploymentManagementArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyDeploymentManagementArgs.java @@ -16,44 +16,92 @@ public final class SecurityPolicyDeploymentManagementArgs extends com.pulumi.res public static final SecurityPolicyDeploymentManagementArgs Empty = new SecurityPolicyDeploymentManagementArgs(); + /** + * (Updatable) The OCID of the compartment containing the security policy deployment. + * + */ @Import(name="compartmentId") private @Nullable Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the security policy deployment. + * + */ public Optional> compartmentId() { return Optional.ofNullable(this.compartmentId); } + /** + * (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"}` + * + */ @Import(name="definedTags") private @Nullable Output> definedTags; + /** + * @return (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 Optional>> definedTags() { return Optional.ofNullable(this.definedTags); } + /** + * (Updatable) The description of the security policy deployment. + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return (Updatable) The description of the security policy deployment. + * + */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + * + */ @Import(name="displayName") private @Nullable Output displayName; + /** + * @return (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + * + */ 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. For more information, 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. For more information, 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); } + /** + * Unique target identifier. + * + */ @Import(name="targetId") private @Nullable Output targetId; + /** + * @return Unique target identifier. + * + */ public Optional> targetId() { return Optional.ofNullable(this.targetId); } @@ -87,56 +135,128 @@ public Builder(SecurityPolicyDeploymentManagementArgs defaults) { $ = new SecurityPolicyDeploymentManagementArgs(Objects.requireNonNull(defaults)); } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the security policy deployment. + * + * @return builder + * + */ public Builder compartmentId(@Nullable Output compartmentId) { $.compartmentId = compartmentId; return this; } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the security policy deployment. + * + * @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. For more information, 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. For more information, 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) The description of the security policy deployment. + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description (Updatable) The description of the security policy deployment. + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param displayName (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + * + * @return builder + * + */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } + /** + * @param displayName (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + * + * @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. For more information, 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. For more information, 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 targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(@Nullable Output targetId) { $.targetId = targetId; return this; } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(String targetId) { return targetId(Output.of(targetId)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyManagement.java index 0c0c0acbbc..b259072e03 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyManagement.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyManagement.java @@ -14,71 +14,209 @@ import java.util.Map; import javax.annotation.Nullable; +/** + * This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Updates the security policy. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DataSafe.SecurityPolicyManagement;
+ * import com.pulumi.oci.DataSafe.SecurityPolicyManagementArgs;
+ * 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 testSecurityPolicyManagement = new SecurityPolicyManagement("testSecurityPolicyManagement", SecurityPolicyManagementArgs.builder()
+ *             .compartmentId(compartmentId)
+ *             .targetId(testTargetDatabase.id())
+ *             .definedTags(Map.of("Operations.CostCenter", "42"))
+ *             .description(securityPolicyManagementDescription)
+ *             .displayName(securityPolicyManagementDisplayName)
+ *             .freeformTags(Map.of("Department", "Finance"))
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * Import is not supported for this resource. + * + */ @ResourceType(type="oci:DataSafe/securityPolicyManagement:SecurityPolicyManagement") public class SecurityPolicyManagement extends com.pulumi.resources.CustomResource { + /** + * (Updatable) The OCID of the compartment containing the security policy. + * + */ @Export(name="compartmentId", refs={String.class}, tree="[0]") private Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the security policy. + * + */ public Output compartmentId() { return this.compartmentId; } + /** + * (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"}` + * + */ @Export(name="definedTags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> definedTags; + /** + * @return (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 Output> definedTags() { return this.definedTags; } + /** + * (Updatable) The description of the security policy. + * + */ @Export(name="description", refs={String.class}, tree="[0]") private Output description; + /** + * @return (Updatable) The description of the security policy. + * + */ public Output description() { return this.description; } + /** + * (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + * + */ @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; + /** + * @return (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + * + */ public Output displayName() { return this.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"}` + * + */ @Export(name="freeformTags", refs={Map.class,String.class}, tree="[0,1,1]") 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. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` + * + */ public Output> freeformTags() { return this.freeformTags; } + /** + * Details about the current state of the security policy in Data Safe. + * + */ @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") private Output lifecycleDetails; + /** + * @return Details about the current state of the security policy in Data Safe. + * + */ public Output lifecycleDetails() { return this.lifecycleDetails; } + /** + * The current state of the security policy. + * + */ @Export(name="state", refs={String.class}, tree="[0]") private Output state; + /** + * @return The current state of the security policy. + * + */ public Output state() { return this.state; } + /** + * 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"}` + * + */ @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> systemTags; + /** + * @return 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"}` + * + */ public Output> systemTags() { return this.systemTags; } + /** + * Unique target identifier. + * + */ @Export(name="targetId", refs={String.class}, tree="[0]") private Output targetId; + /** + * @return Unique target identifier. + * + */ public Output targetId() { return this.targetId; } + /** + * The time that the security policy was created, in the format defined by RFC3339. + * + */ @Export(name="timeCreated", refs={String.class}, tree="[0]") private Output timeCreated; + /** + * @return The time that the security policy was created, in the format defined by RFC3339. + * + */ public Output timeCreated() { return this.timeCreated; } + /** + * The last date and time the security policy was updated, in the format defined by RFC3339. + * + */ @Export(name="timeUpdated", refs={String.class}, tree="[0]") private Output timeUpdated; + /** + * @return The last date and time the security policy was updated, in the format defined by RFC3339. + * + */ public Output timeUpdated() { return this.timeUpdated; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyManagementArgs.java index a26415342b..38d121b452 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyManagementArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SecurityPolicyManagementArgs.java @@ -16,44 +16,92 @@ public final class SecurityPolicyManagementArgs extends com.pulumi.resources.Res public static final SecurityPolicyManagementArgs Empty = new SecurityPolicyManagementArgs(); + /** + * (Updatable) The OCID of the compartment containing the security policy. + * + */ @Import(name="compartmentId") private @Nullable Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the security policy. + * + */ public Optional> compartmentId() { return Optional.ofNullable(this.compartmentId); } + /** + * (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"}` + * + */ @Import(name="definedTags") private @Nullable Output> definedTags; + /** + * @return (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 Optional>> definedTags() { return Optional.ofNullable(this.definedTags); } + /** + * (Updatable) The description of the security policy. + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return (Updatable) The description of the security policy. + * + */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + * + */ @Import(name="displayName") private @Nullable Output displayName; + /** + * @return (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + * + */ 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. For more information, 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. For more information, 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); } + /** + * Unique target identifier. + * + */ @Import(name="targetId") private @Nullable Output targetId; + /** + * @return Unique target identifier. + * + */ public Optional> targetId() { return Optional.ofNullable(this.targetId); } @@ -87,56 +135,128 @@ public Builder(SecurityPolicyManagementArgs defaults) { $ = new SecurityPolicyManagementArgs(Objects.requireNonNull(defaults)); } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the security policy. + * + * @return builder + * + */ public Builder compartmentId(@Nullable Output compartmentId) { $.compartmentId = compartmentId; return this; } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the security policy. + * + * @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. For more information, 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. For more information, 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) The description of the security policy. + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description (Updatable) The description of the security policy. + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param displayName (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + * + * @return builder + * + */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } + /** + * @param displayName (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + * + * @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. For more information, 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. For more information, 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 targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(@Nullable Output targetId) { $.targetId = targetId; return this; } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(String targetId) { return targetId(Output.of(targetId)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetSecurityAssessmentBaselineManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetSecurityAssessmentBaselineManagement.java new file mode 100644 index 0000000000..d7873b18b1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetSecurityAssessmentBaselineManagement.java @@ -0,0 +1,171 @@ +// *** 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.DataSafe; + +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.DataSafe.SetSecurityAssessmentBaselineManagementArgs; +import com.pulumi.oci.DataSafe.inputs.SetSecurityAssessmentBaselineManagementState; +import com.pulumi.oci.Utilities; +import java.lang.String; +import java.util.List; +import javax.annotation.Nullable; + +/** + * This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DataSafe.SetSecurityAssessmentBaselineManagement;
+ * import com.pulumi.oci.DataSafe.SetSecurityAssessmentBaselineManagementArgs;
+ * 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 testSetSecurityAssessmentBaselineManagement = new SetSecurityAssessmentBaselineManagement("testSetSecurityAssessmentBaselineManagement", SetSecurityAssessmentBaselineManagementArgs.builder()
+ *             .targetId(testTargetDatabase.id())
+ *             .compartmentId(comaprtmentId)
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id" + * ``` + * + */ +@ResourceType(type="oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement") +public class SetSecurityAssessmentBaselineManagement extends com.pulumi.resources.CustomResource { + @Export(name="assessmentIds", refs={List.class,String.class}, tree="[0,1]") + private Output> assessmentIds; + + public Output> assessmentIds() { + return this.assessmentIds; + } + /** + * The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId() { + return this.compartmentId; + } + @Export(name="securityAssessmentId", refs={String.class}, tree="[0]") + private Output securityAssessmentId; + + public Output securityAssessmentId() { + return this.securityAssessmentId; + } + /** + * The target OCID for which SA needs to be set as baseline. + * + */ + @Export(name="targetId", refs={String.class}, tree="[0]") + private Output targetId; + + /** + * @return The target OCID for which SA needs to be set as baseline. + * + */ + public Output targetId() { + return this.targetId; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public SetSecurityAssessmentBaselineManagement(java.lang.String name) { + this(name, SetSecurityAssessmentBaselineManagementArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public SetSecurityAssessmentBaselineManagement(java.lang.String name, SetSecurityAssessmentBaselineManagementArgs 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 SetSecurityAssessmentBaselineManagement(java.lang.String name, SetSecurityAssessmentBaselineManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private SetSecurityAssessmentBaselineManagement(java.lang.String name, Output id, @Nullable SetSecurityAssessmentBaselineManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement", name, state, makeResourceOptions(options, id), false); + } + + private static SetSecurityAssessmentBaselineManagementArgs makeArgs(SetSecurityAssessmentBaselineManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? SetSecurityAssessmentBaselineManagementArgs.Empty : args; + } + + 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 SetSecurityAssessmentBaselineManagement get(java.lang.String name, Output id, @Nullable SetSecurityAssessmentBaselineManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new SetSecurityAssessmentBaselineManagement(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetSecurityAssessmentBaselineManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetSecurityAssessmentBaselineManagementArgs.java new file mode 100644 index 0000000000..90e1db710e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetSecurityAssessmentBaselineManagementArgs.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.DataSafe; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class SetSecurityAssessmentBaselineManagementArgs extends com.pulumi.resources.ResourceArgs { + + public static final SetSecurityAssessmentBaselineManagementArgs Empty = new SetSecurityAssessmentBaselineManagementArgs(); + + /** + * The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId() { + return this.compartmentId; + } + + /** + * The target OCID for which SA needs to be set as baseline. + * + */ + @Import(name="targetId", required=true) + private Output targetId; + + /** + * @return The target OCID for which SA needs to be set as baseline. + * + */ + public Output targetId() { + return this.targetId; + } + + private SetSecurityAssessmentBaselineManagementArgs() {} + + private SetSecurityAssessmentBaselineManagementArgs(SetSecurityAssessmentBaselineManagementArgs $) { + this.compartmentId = $.compartmentId; + this.targetId = $.targetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SetSecurityAssessmentBaselineManagementArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SetSecurityAssessmentBaselineManagementArgs $; + + public Builder() { + $ = new SetSecurityAssessmentBaselineManagementArgs(); + } + + public Builder(SetSecurityAssessmentBaselineManagementArgs defaults) { + $ = new SetSecurityAssessmentBaselineManagementArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param targetId The target OCID for which SA needs to be set as baseline. + * + * @return builder + * + */ + public Builder targetId(Output targetId) { + $.targetId = targetId; + return this; + } + + /** + * @param targetId The target OCID for which SA needs to be set as baseline. + * + * @return builder + * + */ + public Builder targetId(String targetId) { + return targetId(Output.of(targetId)); + } + + public SetSecurityAssessmentBaselineManagementArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("SetSecurityAssessmentBaselineManagementArgs", "compartmentId"); + } + if ($.targetId == null) { + throw new MissingRequiredPropertyException("SetSecurityAssessmentBaselineManagementArgs", "targetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetUserAssessmentBaselineManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetUserAssessmentBaselineManagement.java new file mode 100644 index 0000000000..485ba414aa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetUserAssessmentBaselineManagement.java @@ -0,0 +1,171 @@ +// *** 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.DataSafe; + +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.DataSafe.SetUserAssessmentBaselineManagementArgs; +import com.pulumi.oci.DataSafe.inputs.SetUserAssessmentBaselineManagementState; +import com.pulumi.oci.Utilities; +import java.lang.String; +import java.util.List; +import javax.annotation.Nullable; + +/** + * This resource provides the Set User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Sets the saved user assessment as the baseline in the compartment where the the specified assessment resides. The user assessment needs to be of type 'SAVED'. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DataSafe.SetUserAssessmentBaselineManagement;
+ * import com.pulumi.oci.DataSafe.SetUserAssessmentBaselineManagementArgs;
+ * 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 testSetUserAssessmentBaselineManagement = new SetUserAssessmentBaselineManagement("testSetUserAssessmentBaselineManagement", SetUserAssessmentBaselineManagementArgs.builder()
+ *             .targetId(testTargetDatabase.id())
+ *             .compartmentId(comaprtmentId)
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * SetUserAssessmentBaselineManagement can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement test_set_user_assessment_baseline_management "id" + * ``` + * + */ +@ResourceType(type="oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement") +public class SetUserAssessmentBaselineManagement extends com.pulumi.resources.CustomResource { + @Export(name="assessmentIds", refs={List.class,String.class}, tree="[0,1]") + private Output> assessmentIds; + + public Output> assessmentIds() { + return this.assessmentIds; + } + /** + * The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId() { + return this.compartmentId; + } + /** + * The target OCID for which UA needs to be set as baseline. + * + */ + @Export(name="targetId", refs={String.class}, tree="[0]") + private Output targetId; + + /** + * @return The target OCID for which UA needs to be set as baseline. + * + */ + public Output targetId() { + return this.targetId; + } + @Export(name="userAssessmentId", refs={String.class}, tree="[0]") + private Output userAssessmentId; + + public Output userAssessmentId() { + return this.userAssessmentId; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public SetUserAssessmentBaselineManagement(java.lang.String name) { + this(name, SetUserAssessmentBaselineManagementArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public SetUserAssessmentBaselineManagement(java.lang.String name, SetUserAssessmentBaselineManagementArgs 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 SetUserAssessmentBaselineManagement(java.lang.String name, SetUserAssessmentBaselineManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private SetUserAssessmentBaselineManagement(java.lang.String name, Output id, @Nullable SetUserAssessmentBaselineManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement", name, state, makeResourceOptions(options, id), false); + } + + private static SetUserAssessmentBaselineManagementArgs makeArgs(SetUserAssessmentBaselineManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? SetUserAssessmentBaselineManagementArgs.Empty : args; + } + + 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 SetUserAssessmentBaselineManagement get(java.lang.String name, Output id, @Nullable SetUserAssessmentBaselineManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new SetUserAssessmentBaselineManagement(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetUserAssessmentBaselineManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetUserAssessmentBaselineManagementArgs.java new file mode 100644 index 0000000000..aeec712b42 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SetUserAssessmentBaselineManagementArgs.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.DataSafe; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class SetUserAssessmentBaselineManagementArgs extends com.pulumi.resources.ResourceArgs { + + public static final SetUserAssessmentBaselineManagementArgs Empty = new SetUserAssessmentBaselineManagementArgs(); + + /** + * The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId() { + return this.compartmentId; + } + + /** + * The target OCID for which UA needs to be set as baseline. + * + */ + @Import(name="targetId", required=true) + private Output targetId; + + /** + * @return The target OCID for which UA needs to be set as baseline. + * + */ + public Output targetId() { + return this.targetId; + } + + private SetUserAssessmentBaselineManagementArgs() {} + + private SetUserAssessmentBaselineManagementArgs(SetUserAssessmentBaselineManagementArgs $) { + this.compartmentId = $.compartmentId; + this.targetId = $.targetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SetUserAssessmentBaselineManagementArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SetUserAssessmentBaselineManagementArgs $; + + public Builder() { + $ = new SetUserAssessmentBaselineManagementArgs(); + } + + public Builder(SetUserAssessmentBaselineManagementArgs defaults) { + $ = new SetUserAssessmentBaselineManagementArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param targetId The target OCID for which UA needs to be set as baseline. + * + * @return builder + * + */ + public Builder targetId(Output targetId) { + $.targetId = targetId; + return this; + } + + /** + * @param targetId The target OCID for which UA needs to be set as baseline. + * + * @return builder + * + */ + public Builder targetId(String targetId) { + return targetId(Output.of(targetId)); + } + + public SetUserAssessmentBaselineManagementArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("SetUserAssessmentBaselineManagementArgs", "compartmentId"); + } + if ($.targetId == null) { + throw new MissingRequiredPropertyException("SetUserAssessmentBaselineManagementArgs", "targetId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SqlFirewallPolicyManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SqlFirewallPolicyManagement.java index b88901bff1..0ccd457e4e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SqlFirewallPolicyManagement.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SqlFirewallPolicyManagement.java @@ -15,137 +15,377 @@ import java.util.Map; import javax.annotation.Nullable; +/** + * This resource provides the Sql Firewall Policy Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Updates the SQL firewall policy. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DataSafe.SqlFirewallPolicyManagement;
+ * import com.pulumi.oci.DataSafe.SqlFirewallPolicyManagementArgs;
+ * 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 testSqlFirewallPolicyManagement = new SqlFirewallPolicyManagement("testSqlFirewallPolicyManagement", SqlFirewallPolicyManagementArgs.builder()
+ *             .compartmentId(compartmentId)
+ *             .targetId(testTargetDatabase.id())
+ *             .dbUserName(testUser.name())
+ *             .allowedClientIps(sqlFirewallPolicyManagementAllowedClientIps)
+ *             .allowedClientOsUsernames(sqlFirewallPolicyManagementAllowedClientOsUsernames)
+ *             .allowedClientPrograms(sqlFirewallPolicyManagementAllowedClientPrograms)
+ *             .definedTags(Map.of("Operations.CostCenter", "42"))
+ *             .description(sqlFirewallPolicyManagementDescription)
+ *             .displayName(sqlFirewallPolicyManagementDisplayName)
+ *             .enforcementScope(sqlFirewallPolicyManagementEnforcementScope)
+ *             .freeformTags(Map.of("Department", "Finance"))
+ *             .status(sqlFirewallPolicyManagementStatus)
+ *             .violationAction(sqlFirewallPolicyManagementViolationAction)
+ *             .violationAudit(sqlFirewallPolicyManagementViolationAudit)
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * Import is not supported for this resource. + * + */ @ResourceType(type="oci:DataSafe/sqlFirewallPolicyManagement:SqlFirewallPolicyManagement") public class SqlFirewallPolicyManagement extends com.pulumi.resources.CustomResource { + /** + * (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + */ @Export(name="allowedClientIps", refs={List.class,String.class}, tree="[0,1]") private Output> allowedClientIps; + /** + * @return (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + */ public Output> allowedClientIps() { return this.allowedClientIps; } + /** + * (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + */ @Export(name="allowedClientOsUsernames", refs={List.class,String.class}, tree="[0,1]") private Output> allowedClientOsUsernames; + /** + * @return (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + */ public Output> allowedClientOsUsernames() { return this.allowedClientOsUsernames; } + /** + * (Updatable) List of allowed client programs for the SQL firewall policy. + * + */ @Export(name="allowedClientPrograms", refs={List.class,String.class}, tree="[0,1]") private Output> allowedClientPrograms; + /** + * @return (Updatable) List of allowed client programs for the SQL firewall policy. + * + */ public Output> allowedClientPrograms() { return this.allowedClientPrograms; } + /** + * (Updatable) The OCID of the compartment containing the SQL firewall policy. + * + */ @Export(name="compartmentId", refs={String.class}, tree="[0]") private Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the SQL firewall policy. + * + */ public Output compartmentId() { return this.compartmentId; } + /** + * The database user name. + * + */ @Export(name="dbUserName", refs={String.class}, tree="[0]") private Output dbUserName; + /** + * @return The database user name. + * + */ public Output dbUserName() { return this.dbUserName; } + /** + * (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"}` + * + */ @Export(name="definedTags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> definedTags; + /** + * @return (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 Output> definedTags() { return this.definedTags; } + /** + * (Updatable) The description of the SQL firewall policy. + * + */ @Export(name="description", refs={String.class}, tree="[0]") private Output description; + /** + * @return (Updatable) The description of the SQL firewall policy. + * + */ public Output description() { return this.description; } + /** + * (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + * + */ @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; + /** + * @return (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + * + */ public Output displayName() { return this.displayName; } + /** + * (Updatable) Specifies the SQL firewall policy enforcement option. + * + */ @Export(name="enforcementScope", refs={String.class}, tree="[0]") private Output enforcementScope; + /** + * @return (Updatable) Specifies the SQL firewall policy enforcement option. + * + */ public Output enforcementScope() { return this.enforcementScope; } + /** + * (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"}` + * + */ @Export(name="freeformTags", refs={Map.class,String.class}, tree="[0,1,1]") 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. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` + * + */ public Output> freeformTags() { return this.freeformTags; } + /** + * Details about the current state of the SQL firewall policy in Data Safe. + * + */ @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") private Output lifecycleDetails; + /** + * @return Details about the current state of the SQL firewall policy in Data Safe. + * + */ public Output lifecycleDetails() { return this.lifecycleDetails; } + /** + * The OCID of the security policy corresponding to the SQL firewall policy. + * + */ @Export(name="securityPolicyId", refs={String.class}, tree="[0]") private Output securityPolicyId; + /** + * @return The OCID of the security policy corresponding to the SQL firewall policy. + * + */ public Output securityPolicyId() { return this.securityPolicyId; } + /** + * The OCID of the SQL firewall policy resource. + * + */ @Export(name="sqlFirewallPolicyId", refs={String.class}, tree="[0]") private Output sqlFirewallPolicyId; + /** + * @return The OCID of the SQL firewall policy resource. + * + */ public Output sqlFirewallPolicyId() { return this.sqlFirewallPolicyId; } + /** + * Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + * + */ @Export(name="sqlLevel", refs={String.class}, tree="[0]") private Output sqlLevel; + /** + * @return Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + * + */ public Output sqlLevel() { return this.sqlLevel; } + /** + * The current state of the SQL firewall policy. + * + */ @Export(name="state", refs={String.class}, tree="[0]") private Output state; + /** + * @return The current state of the SQL firewall policy. + * + */ public Output state() { return this.state; } + /** + * (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + * + */ @Export(name="status", refs={String.class}, tree="[0]") private Output status; + /** + * @return (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + * + */ public Output status() { return this.status; } + /** + * 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"}` + * + */ @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") private Output> systemTags; + /** + * @return 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"}` + * + */ public Output> systemTags() { return this.systemTags; } + /** + * Unique target identifier. + * + */ @Export(name="targetId", refs={String.class}, tree="[0]") private Output targetId; + /** + * @return Unique target identifier. + * + */ public Output targetId() { return this.targetId; } + /** + * The time that the SQL firewall policy was created, in the format defined by RFC3339. + * + */ @Export(name="timeCreated", refs={String.class}, tree="[0]") private Output timeCreated; + /** + * @return The time that the SQL firewall policy was created, in the format defined by RFC3339. + * + */ public Output timeCreated() { return this.timeCreated; } + /** + * The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + * + */ @Export(name="timeUpdated", refs={String.class}, tree="[0]") private Output timeUpdated; + /** + * @return The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + * + */ public Output timeUpdated() { return this.timeUpdated; } + /** + * (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + * + */ @Export(name="violationAction", refs={String.class}, tree="[0]") private Output violationAction; + /** + * @return (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + * + */ public Output violationAction() { return this.violationAction; } + /** + * (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * ** IMPORTANT ** + * 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="violationAudit", refs={String.class}, tree="[0]") private Output violationAudit; + /** + * @return (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * ** IMPORTANT ** + * 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 violationAudit() { return this.violationAudit; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SqlFirewallPolicyManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SqlFirewallPolicyManagementArgs.java index 63bfa89b03..5c5d15f712 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SqlFirewallPolicyManagementArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/SqlFirewallPolicyManagementArgs.java @@ -17,114 +17,248 @@ public final class SqlFirewallPolicyManagementArgs extends com.pulumi.resources. public static final SqlFirewallPolicyManagementArgs Empty = new SqlFirewallPolicyManagementArgs(); + /** + * (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + */ @Import(name="allowedClientIps") private @Nullable Output> allowedClientIps; + /** + * @return (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + */ public Optional>> allowedClientIps() { return Optional.ofNullable(this.allowedClientIps); } + /** + * (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + */ @Import(name="allowedClientOsUsernames") private @Nullable Output> allowedClientOsUsernames; + /** + * @return (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + */ public Optional>> allowedClientOsUsernames() { return Optional.ofNullable(this.allowedClientOsUsernames); } + /** + * (Updatable) List of allowed client programs for the SQL firewall policy. + * + */ @Import(name="allowedClientPrograms") private @Nullable Output> allowedClientPrograms; + /** + * @return (Updatable) List of allowed client programs for the SQL firewall policy. + * + */ public Optional>> allowedClientPrograms() { return Optional.ofNullable(this.allowedClientPrograms); } + /** + * (Updatable) The OCID of the compartment containing the SQL firewall policy. + * + */ @Import(name="compartmentId") private @Nullable Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the SQL firewall policy. + * + */ public Optional> compartmentId() { return Optional.ofNullable(this.compartmentId); } + /** + * The database user name. + * + */ @Import(name="dbUserName") private @Nullable Output dbUserName; + /** + * @return The database user name. + * + */ public Optional> dbUserName() { return Optional.ofNullable(this.dbUserName); } + /** + * (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"}` + * + */ @Import(name="definedTags") private @Nullable Output> definedTags; + /** + * @return (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 Optional>> definedTags() { return Optional.ofNullable(this.definedTags); } + /** + * (Updatable) The description of the SQL firewall policy. + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return (Updatable) The description of the SQL firewall policy. + * + */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + * + */ @Import(name="displayName") private @Nullable Output displayName; + /** + * @return (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + * + */ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * (Updatable) Specifies the SQL firewall policy enforcement option. + * + */ @Import(name="enforcementScope") private @Nullable Output enforcementScope; + /** + * @return (Updatable) Specifies the SQL firewall policy enforcement option. + * + */ public Optional> enforcementScope() { return Optional.ofNullable(this.enforcementScope); } + /** + * (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"}` + * + */ @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. For more information, 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); } + /** + * The OCID of the SQL firewall policy resource. + * + */ @Import(name="sqlFirewallPolicyId") private @Nullable Output sqlFirewallPolicyId; + /** + * @return The OCID of the SQL firewall policy resource. + * + */ public Optional> sqlFirewallPolicyId() { return Optional.ofNullable(this.sqlFirewallPolicyId); } + /** + * The current state of the SQL firewall policy. + * + */ @Import(name="state") private @Nullable Output state; + /** + * @return The current state of the SQL firewall policy. + * + */ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + * + */ @Import(name="status") private @Nullable Output status; + /** + * @return (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + * + */ public Optional> status() { return Optional.ofNullable(this.status); } + /** + * Unique target identifier. + * + */ @Import(name="targetId") private @Nullable Output targetId; + /** + * @return Unique target identifier. + * + */ public Optional> targetId() { return Optional.ofNullable(this.targetId); } + /** + * (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + * + */ @Import(name="violationAction") private @Nullable Output violationAction; + /** + * @return (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + * + */ public Optional> violationAction() { return Optional.ofNullable(this.violationAction); } + /** + * (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * ** IMPORTANT ** + * 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="violationAudit") private @Nullable Output violationAudit; + /** + * @return (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * ** IMPORTANT ** + * 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> violationAudit() { return Optional.ofNullable(this.violationAudit); } @@ -168,158 +302,374 @@ public Builder(SqlFirewallPolicyManagementArgs defaults) { $ = new SqlFirewallPolicyManagementArgs(Objects.requireNonNull(defaults)); } + /** + * @param allowedClientIps (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientIps(@Nullable Output> allowedClientIps) { $.allowedClientIps = allowedClientIps; return this; } + /** + * @param allowedClientIps (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientIps(List allowedClientIps) { return allowedClientIps(Output.of(allowedClientIps)); } + /** + * @param allowedClientIps (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientIps(String... allowedClientIps) { return allowedClientIps(List.of(allowedClientIps)); } + /** + * @param allowedClientOsUsernames (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientOsUsernames(@Nullable Output> allowedClientOsUsernames) { $.allowedClientOsUsernames = allowedClientOsUsernames; return this; } + /** + * @param allowedClientOsUsernames (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientOsUsernames(List allowedClientOsUsernames) { return allowedClientOsUsernames(Output.of(allowedClientOsUsernames)); } + /** + * @param allowedClientOsUsernames (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientOsUsernames(String... allowedClientOsUsernames) { return allowedClientOsUsernames(List.of(allowedClientOsUsernames)); } + /** + * @param allowedClientPrograms (Updatable) List of allowed client programs for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientPrograms(@Nullable Output> allowedClientPrograms) { $.allowedClientPrograms = allowedClientPrograms; return this; } + /** + * @param allowedClientPrograms (Updatable) List of allowed client programs for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientPrograms(List allowedClientPrograms) { return allowedClientPrograms(Output.of(allowedClientPrograms)); } + /** + * @param allowedClientPrograms (Updatable) List of allowed client programs for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientPrograms(String... allowedClientPrograms) { return allowedClientPrograms(List.of(allowedClientPrograms)); } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the SQL firewall policy. + * + * @return builder + * + */ public Builder compartmentId(@Nullable Output compartmentId) { $.compartmentId = compartmentId; return this; } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the SQL firewall policy. + * + * @return builder + * + */ public Builder compartmentId(String compartmentId) { return compartmentId(Output.of(compartmentId)); } + /** + * @param dbUserName The database user name. + * + * @return builder + * + */ public Builder dbUserName(@Nullable Output dbUserName) { $.dbUserName = dbUserName; return this; } + /** + * @param dbUserName The database user name. + * + * @return builder + * + */ public Builder dbUserName(String dbUserName) { return dbUserName(Output.of(dbUserName)); } + /** + * @param definedTags (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"}` + * + * @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. For more information, 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) The description of the SQL firewall policy. + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description (Updatable) The description of the SQL firewall policy. + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param displayName (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + * + * @return builder + * + */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } + /** + * @param displayName (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + * + * @return builder + * + */ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param enforcementScope (Updatable) Specifies the SQL firewall policy enforcement option. + * + * @return builder + * + */ public Builder enforcementScope(@Nullable Output enforcementScope) { $.enforcementScope = enforcementScope; return this; } + /** + * @param enforcementScope (Updatable) Specifies the SQL firewall policy enforcement option. + * + * @return builder + * + */ public Builder enforcementScope(String enforcementScope) { return enforcementScope(Output.of(enforcementScope)); } + /** + * @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"}` + * + * @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. For more information, 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 sqlFirewallPolicyId The OCID of the SQL firewall policy resource. + * + * @return builder + * + */ public Builder sqlFirewallPolicyId(@Nullable Output sqlFirewallPolicyId) { $.sqlFirewallPolicyId = sqlFirewallPolicyId; return this; } + /** + * @param sqlFirewallPolicyId The OCID of the SQL firewall policy resource. + * + * @return builder + * + */ public Builder sqlFirewallPolicyId(String sqlFirewallPolicyId) { return sqlFirewallPolicyId(Output.of(sqlFirewallPolicyId)); } + /** + * @param state The current state of the SQL firewall policy. + * + * @return builder + * + */ public Builder state(@Nullable Output state) { $.state = state; return this; } + /** + * @param state The current state of the SQL firewall policy. + * + * @return builder + * + */ public Builder state(String state) { return state(Output.of(state)); } + /** + * @param status (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + * + * @return builder + * + */ public Builder status(@Nullable Output status) { $.status = status; return this; } + /** + * @param status (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + * + * @return builder + * + */ public Builder status(String status) { return status(Output.of(status)); } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(@Nullable Output targetId) { $.targetId = targetId; return this; } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(String targetId) { return targetId(Output.of(targetId)); } + /** + * @param violationAction (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + * + * @return builder + * + */ public Builder violationAction(@Nullable Output violationAction) { $.violationAction = violationAction; return this; } + /** + * @param violationAction (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + * + * @return builder + * + */ public Builder violationAction(String violationAction) { return violationAction(Output.of(violationAction)); } + /** + * @param violationAudit (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * ** IMPORTANT ** + * 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 violationAudit(@Nullable Output violationAudit) { $.violationAudit = violationAudit; return this; } + /** + * @param violationAudit (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * ** IMPORTANT ** + * 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 violationAudit(String violationAudit) { return violationAudit(Output.of(violationAudit)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetSecurityAssessmentBaselineManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetSecurityAssessmentBaselineManagement.java new file mode 100644 index 0000000000..0904e77baf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetSecurityAssessmentBaselineManagement.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.DataSafe; + +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.DataSafe.UnsetSecurityAssessmentBaselineManagementArgs; +import com.pulumi.oci.DataSafe.inputs.UnsetSecurityAssessmentBaselineManagementState; +import com.pulumi.oci.Utilities; +import java.lang.String; +import javax.annotation.Nullable; + +/** + * This resource provides the Unset Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Removes the baseline setting for the saved security assessment as the baseline in the compartment where the the specified assessment resides. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DataSafe.UnsetSecurityAssessmentBaselineManagement;
+ * import com.pulumi.oci.DataSafe.UnsetSecurityAssessmentBaselineManagementArgs;
+ * 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 testUnsetSecurityAssessmentBaselineManagement = new UnsetSecurityAssessmentBaselineManagement("testUnsetSecurityAssessmentBaselineManagement", UnsetSecurityAssessmentBaselineManagementArgs.builder()
+ *             .securityAssessmentId(testSetSecurityAssessmentBaselineManagement.securityAssessmentId())
+ *             .compartmentId(comaprtmentId)
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * UnsetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement test_unset_security_assessment_baseline_management "id" + * ``` + * + */ +@ResourceType(type="oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement") +public class UnsetSecurityAssessmentBaselineManagement extends com.pulumi.resources.CustomResource { + /** + * The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId() { + return this.compartmentId; + } + /** + * The OCID of the security assessment. + * + */ + @Export(name="securityAssessmentId", refs={String.class}, tree="[0]") + private Output securityAssessmentId; + + /** + * @return The OCID of the security assessment. + * + */ + public Output securityAssessmentId() { + return this.securityAssessmentId; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public UnsetSecurityAssessmentBaselineManagement(java.lang.String name) { + this(name, UnsetSecurityAssessmentBaselineManagementArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public UnsetSecurityAssessmentBaselineManagement(java.lang.String name, UnsetSecurityAssessmentBaselineManagementArgs 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 UnsetSecurityAssessmentBaselineManagement(java.lang.String name, UnsetSecurityAssessmentBaselineManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private UnsetSecurityAssessmentBaselineManagement(java.lang.String name, Output id, @Nullable UnsetSecurityAssessmentBaselineManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement", name, state, makeResourceOptions(options, id), false); + } + + private static UnsetSecurityAssessmentBaselineManagementArgs makeArgs(UnsetSecurityAssessmentBaselineManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? UnsetSecurityAssessmentBaselineManagementArgs.Empty : args; + } + + 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 UnsetSecurityAssessmentBaselineManagement get(java.lang.String name, Output id, @Nullable UnsetSecurityAssessmentBaselineManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new UnsetSecurityAssessmentBaselineManagement(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetSecurityAssessmentBaselineManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetSecurityAssessmentBaselineManagementArgs.java new file mode 100644 index 0000000000..c2de9e1929 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetSecurityAssessmentBaselineManagementArgs.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.DataSafe; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class UnsetSecurityAssessmentBaselineManagementArgs extends com.pulumi.resources.ResourceArgs { + + public static final UnsetSecurityAssessmentBaselineManagementArgs Empty = new UnsetSecurityAssessmentBaselineManagementArgs(); + + /** + * The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId() { + return this.compartmentId; + } + + /** + * The OCID of the security assessment. + * + */ + @Import(name="securityAssessmentId", required=true) + private Output securityAssessmentId; + + /** + * @return The OCID of the security assessment. + * + */ + public Output securityAssessmentId() { + return this.securityAssessmentId; + } + + private UnsetSecurityAssessmentBaselineManagementArgs() {} + + private UnsetSecurityAssessmentBaselineManagementArgs(UnsetSecurityAssessmentBaselineManagementArgs $) { + this.compartmentId = $.compartmentId; + this.securityAssessmentId = $.securityAssessmentId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(UnsetSecurityAssessmentBaselineManagementArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private UnsetSecurityAssessmentBaselineManagementArgs $; + + public Builder() { + $ = new UnsetSecurityAssessmentBaselineManagementArgs(); + } + + public Builder(UnsetSecurityAssessmentBaselineManagementArgs defaults) { + $ = new UnsetSecurityAssessmentBaselineManagementArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param securityAssessmentId The OCID of the security assessment. + * + * @return builder + * + */ + public Builder securityAssessmentId(Output securityAssessmentId) { + $.securityAssessmentId = securityAssessmentId; + return this; + } + + /** + * @param securityAssessmentId The OCID of the security assessment. + * + * @return builder + * + */ + public Builder securityAssessmentId(String securityAssessmentId) { + return securityAssessmentId(Output.of(securityAssessmentId)); + } + + public UnsetSecurityAssessmentBaselineManagementArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("UnsetSecurityAssessmentBaselineManagementArgs", "compartmentId"); + } + if ($.securityAssessmentId == null) { + throw new MissingRequiredPropertyException("UnsetSecurityAssessmentBaselineManagementArgs", "securityAssessmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetUserAssessmentBaselineManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetUserAssessmentBaselineManagement.java new file mode 100644 index 0000000000..e6e2f3286b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetUserAssessmentBaselineManagement.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.DataSafe; + +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.DataSafe.UnsetUserAssessmentBaselineManagementArgs; +import com.pulumi.oci.DataSafe.inputs.UnsetUserAssessmentBaselineManagementState; +import com.pulumi.oci.Utilities; +import java.lang.String; +import javax.annotation.Nullable; + +/** + * This resource provides the Unset User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Removes the baseline setting for the saved user assessment as the baseline in the compartment where the the specified assessment resides. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DataSafe.UnsetUserAssessmentBaselineManagement;
+ * import com.pulumi.oci.DataSafe.UnsetUserAssessmentBaselineManagementArgs;
+ * 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 testUnsetUserAssessmentBaselineManagement = new UnsetUserAssessmentBaselineManagement("testUnsetUserAssessmentBaselineManagement", UnsetUserAssessmentBaselineManagementArgs.builder()
+ *             .userAssessmentId(testSetUserAssessmentBaselineManagement.userAssessmentId())
+ *             .compartmentId(comaprtmentId)
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * UnsetUserAssessmentBaselineManagement can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement test_unset_user_assessment_baseline_management "id" + * ``` + * + */ +@ResourceType(type="oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement") +public class UnsetUserAssessmentBaselineManagement extends com.pulumi.resources.CustomResource { + /** + * The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId() { + return this.compartmentId; + } + /** + * The OCID of the user assessment. + * + */ + @Export(name="userAssessmentId", refs={String.class}, tree="[0]") + private Output userAssessmentId; + + /** + * @return The OCID of the user assessment. + * + */ + public Output userAssessmentId() { + return this.userAssessmentId; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public UnsetUserAssessmentBaselineManagement(java.lang.String name) { + this(name, UnsetUserAssessmentBaselineManagementArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public UnsetUserAssessmentBaselineManagement(java.lang.String name, UnsetUserAssessmentBaselineManagementArgs 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 UnsetUserAssessmentBaselineManagement(java.lang.String name, UnsetUserAssessmentBaselineManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private UnsetUserAssessmentBaselineManagement(java.lang.String name, Output id, @Nullable UnsetUserAssessmentBaselineManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement", name, state, makeResourceOptions(options, id), false); + } + + private static UnsetUserAssessmentBaselineManagementArgs makeArgs(UnsetUserAssessmentBaselineManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? UnsetUserAssessmentBaselineManagementArgs.Empty : args; + } + + 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 UnsetUserAssessmentBaselineManagement get(java.lang.String name, Output id, @Nullable UnsetUserAssessmentBaselineManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new UnsetUserAssessmentBaselineManagement(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetUserAssessmentBaselineManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetUserAssessmentBaselineManagementArgs.java new file mode 100644 index 0000000000..142fd4929a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/UnsetUserAssessmentBaselineManagementArgs.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.DataSafe; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class UnsetUserAssessmentBaselineManagementArgs extends com.pulumi.resources.ResourceArgs { + + public static final UnsetUserAssessmentBaselineManagementArgs Empty = new UnsetUserAssessmentBaselineManagementArgs(); + + /** + * The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId() { + return this.compartmentId; + } + + /** + * The OCID of the user assessment. + * + */ + @Import(name="userAssessmentId", required=true) + private Output userAssessmentId; + + /** + * @return The OCID of the user assessment. + * + */ + public Output userAssessmentId() { + return this.userAssessmentId; + } + + private UnsetUserAssessmentBaselineManagementArgs() {} + + private UnsetUserAssessmentBaselineManagementArgs(UnsetUserAssessmentBaselineManagementArgs $) { + this.compartmentId = $.compartmentId; + this.userAssessmentId = $.userAssessmentId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(UnsetUserAssessmentBaselineManagementArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private UnsetUserAssessmentBaselineManagementArgs $; + + public Builder() { + $ = new UnsetUserAssessmentBaselineManagementArgs(); + } + + public Builder(UnsetUserAssessmentBaselineManagementArgs defaults) { + $ = new UnsetUserAssessmentBaselineManagementArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param userAssessmentId The OCID of the user assessment. + * + * @return builder + * + */ + public Builder userAssessmentId(Output userAssessmentId) { + $.userAssessmentId = userAssessmentId; + return this; + } + + /** + * @param userAssessmentId The OCID of the user assessment. + * + * @return builder + * + */ + public Builder userAssessmentId(String userAssessmentId) { + return userAssessmentId(Output.of(userAssessmentId)); + } + + public UnsetUserAssessmentBaselineManagementArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("UnsetUserAssessmentBaselineManagementArgs", "compartmentId"); + } + if ($.userAssessmentId == null) { + throw new MissingRequiredPropertyException("UnsetUserAssessmentBaselineManagementArgs", "userAssessmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/DatabaseSecurityConfigManagementSqlFirewallConfigArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/DatabaseSecurityConfigManagementSqlFirewallConfigArgs.java index ebfdadc5d9..d47fecd266 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/DatabaseSecurityConfigManagementSqlFirewallConfigArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/DatabaseSecurityConfigManagementSqlFirewallConfigArgs.java @@ -15,30 +15,62 @@ public final class DatabaseSecurityConfigManagementSqlFirewallConfigArgs extends public static final DatabaseSecurityConfigManagementSqlFirewallConfigArgs Empty = new DatabaseSecurityConfigManagementSqlFirewallConfigArgs(); + /** + * (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + * + */ @Import(name="excludeJob") private @Nullable Output excludeJob; + /** + * @return (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + * + */ public Optional> excludeJob() { return Optional.ofNullable(this.excludeJob); } + /** + * (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + * + */ @Import(name="status") private @Nullable Output status; + /** + * @return (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + * + */ public Optional> status() { return Optional.ofNullable(this.status); } + /** + * The most recent time when the firewall status is updated, in the format defined by RFC3339. + * + */ @Import(name="timeStatusUpdated") private @Nullable Output timeStatusUpdated; + /** + * @return The most recent time when the firewall status is updated, in the format defined by RFC3339. + * + */ public Optional> timeStatusUpdated() { return Optional.ofNullable(this.timeStatusUpdated); } + /** + * (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + * + */ @Import(name="violationLogAutoPurge") private @Nullable Output violationLogAutoPurge; + /** + * @return (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + * + */ public Optional> violationLogAutoPurge() { return Optional.ofNullable(this.violationLogAutoPurge); } @@ -70,38 +102,86 @@ public Builder(DatabaseSecurityConfigManagementSqlFirewallConfigArgs defaults) { $ = new DatabaseSecurityConfigManagementSqlFirewallConfigArgs(Objects.requireNonNull(defaults)); } + /** + * @param excludeJob (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + * + * @return builder + * + */ public Builder excludeJob(@Nullable Output excludeJob) { $.excludeJob = excludeJob; return this; } + /** + * @param excludeJob (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + * + * @return builder + * + */ public Builder excludeJob(String excludeJob) { return excludeJob(Output.of(excludeJob)); } + /** + * @param status (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + * + * @return builder + * + */ public Builder status(@Nullable Output status) { $.status = status; return this; } + /** + * @param status (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + * + * @return builder + * + */ public Builder status(String status) { return status(Output.of(status)); } + /** + * @param timeStatusUpdated The most recent time when the firewall status is updated, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeStatusUpdated(@Nullable Output timeStatusUpdated) { $.timeStatusUpdated = timeStatusUpdated; return this; } + /** + * @param timeStatusUpdated The most recent time when the firewall status is updated, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeStatusUpdated(String timeStatusUpdated) { return timeStatusUpdated(Output.of(timeStatusUpdated)); } + /** + * @param violationLogAutoPurge (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + * + * @return builder + * + */ public Builder violationLogAutoPurge(@Nullable Output violationLogAutoPurge) { $.violationLogAutoPurge = violationLogAutoPurge; return this; } + /** + * @param violationLogAutoPurge (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + * + * @return builder + * + */ public Builder violationLogAutoPurge(String violationLogAutoPurge) { return violationLogAutoPurge(Output.of(violationLogAutoPurge)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/DatabaseSecurityConfigManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/DatabaseSecurityConfigManagementState.java index 9281c0a35e..3b0f6b4d99 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/DatabaseSecurityConfigManagementState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/DatabaseSecurityConfigManagementState.java @@ -18,100 +18,218 @@ public final class DatabaseSecurityConfigManagementState extends com.pulumi.reso public static final DatabaseSecurityConfigManagementState Empty = new DatabaseSecurityConfigManagementState(); + /** + * (Updatable) The OCID of the compartment containing the database security config. + * + */ @Import(name="compartmentId") private @Nullable Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the database security config. + * + */ public Optional> compartmentId() { return Optional.ofNullable(this.compartmentId); } + /** + * (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"}` + * + */ @Import(name="definedTags") private @Nullable Output> definedTags; + /** + * @return (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 Optional>> definedTags() { return Optional.ofNullable(this.definedTags); } + /** + * (Updatable) The description of the security policy. + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return (Updatable) The description of the security policy. + * + */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + * + */ @Import(name="displayName") private @Nullable Output displayName; + /** + * @return (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + * + */ 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. For more information, 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. For more information, 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 about the current state of the database security config in Data Safe. + * + */ @Import(name="lifecycleDetails") private @Nullable Output lifecycleDetails; + /** + * @return Details about the current state of the database security config in Data Safe. + * + */ public Optional> lifecycleDetails() { return Optional.ofNullable(this.lifecycleDetails); } + /** + * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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="refreshTrigger") private @Nullable Output refreshTrigger; + /** + * @return (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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> refreshTrigger() { return Optional.ofNullable(this.refreshTrigger); } + /** + * (Updatable) Details to update the SQL firewall config. + * + */ @Import(name="sqlFirewallConfig") private @Nullable Output sqlFirewallConfig; + /** + * @return (Updatable) Details to update the SQL firewall config. + * + */ public Optional> sqlFirewallConfig() { return Optional.ofNullable(this.sqlFirewallConfig); } + /** + * The current state of the database security config. + * + */ @Import(name="state") private @Nullable Output state; + /** + * @return The current state of the database security config. + * + */ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * 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"}` + * + */ @Import(name="systemTags") private @Nullable Output> systemTags; + /** + * @return 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"}` + * + */ public Optional>> systemTags() { return Optional.ofNullable(this.systemTags); } + /** + * Unique target identifier. + * + */ @Import(name="targetId") private @Nullable Output targetId; + /** + * @return Unique target identifier. + * + */ public Optional> targetId() { return Optional.ofNullable(this.targetId); } + /** + * The time that the database security config was created, in the format defined by RFC3339. + * + */ @Import(name="timeCreated") private @Nullable Output timeCreated; + /** + * @return The time that the database security config was created, in the format defined by RFC3339. + * + */ public Optional> timeCreated() { return Optional.ofNullable(this.timeCreated); } + /** + * The last date and time the database security config was refreshed, in the format defined by RFC3339. + * + */ @Import(name="timeLastRefreshed") private @Nullable Output timeLastRefreshed; + /** + * @return The last date and time the database security config was refreshed, in the format defined by RFC3339. + * + */ public Optional> timeLastRefreshed() { return Optional.ofNullable(this.timeLastRefreshed); } + /** + * The date and time the database security configuration was last updated, in the format defined by RFC3339. + * + */ @Import(name="timeUpdated") private @Nullable Output timeUpdated; + /** + * @return The date and time the database security configuration was last updated, in the format defined by RFC3339. + * + */ public Optional> timeUpdated() { return Optional.ofNullable(this.timeUpdated); } @@ -153,128 +271,302 @@ public Builder(DatabaseSecurityConfigManagementState defaults) { $ = new DatabaseSecurityConfigManagementState(Objects.requireNonNull(defaults)); } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the database security config. + * + * @return builder + * + */ public Builder compartmentId(@Nullable Output compartmentId) { $.compartmentId = compartmentId; return this; } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the database security config. + * + * @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. For more information, 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. For more information, 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) The description of the security policy. + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description (Updatable) The description of the security policy. + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param displayName (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + * + * @return builder + * + */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } + /** + * @param displayName (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + * + * @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. For more information, 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. For more information, 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 about the current state of the database security config in Data Safe. + * + * @return builder + * + */ public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { $.lifecycleDetails = lifecycleDetails; return this; } + /** + * @param lifecycleDetails Details about the current state of the database security config in Data Safe. + * + * @return builder + * + */ public Builder lifecycleDetails(String lifecycleDetails) { return lifecycleDetails(Output.of(lifecycleDetails)); } + /** + * @param refreshTrigger (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 refreshTrigger(@Nullable Output refreshTrigger) { $.refreshTrigger = refreshTrigger; return this; } + /** + * @param refreshTrigger (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 refreshTrigger(Boolean refreshTrigger) { return refreshTrigger(Output.of(refreshTrigger)); } + /** + * @param sqlFirewallConfig (Updatable) Details to update the SQL firewall config. + * + * @return builder + * + */ public Builder sqlFirewallConfig(@Nullable Output sqlFirewallConfig) { $.sqlFirewallConfig = sqlFirewallConfig; return this; } + /** + * @param sqlFirewallConfig (Updatable) Details to update the SQL firewall config. + * + * @return builder + * + */ public Builder sqlFirewallConfig(DatabaseSecurityConfigManagementSqlFirewallConfigArgs sqlFirewallConfig) { return sqlFirewallConfig(Output.of(sqlFirewallConfig)); } + /** + * @param state The current state of the database security config. + * + * @return builder + * + */ public Builder state(@Nullable Output state) { $.state = state; return this; } + /** + * @param state The current state of the database security config. + * + * @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. For more information, see Resource Tags. 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. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + * @return builder + * + */ public Builder systemTags(Map systemTags) { return systemTags(Output.of(systemTags)); } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(@Nullable Output targetId) { $.targetId = targetId; return this; } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(String targetId) { return targetId(Output.of(targetId)); } + /** + * @param timeCreated The time that the database security config was created, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeCreated(@Nullable Output timeCreated) { $.timeCreated = timeCreated; return this; } + /** + * @param timeCreated The time that the database security config was created, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeCreated(String timeCreated) { return timeCreated(Output.of(timeCreated)); } + /** + * @param timeLastRefreshed The last date and time the database security config was refreshed, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeLastRefreshed(@Nullable Output timeLastRefreshed) { $.timeLastRefreshed = timeLastRefreshed; return this; } + /** + * @param timeLastRefreshed The last date and time the database security config was refreshed, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeLastRefreshed(String timeLastRefreshed) { return timeLastRefreshed(Output.of(timeLastRefreshed)); } + /** + * @param timeUpdated The date and time the database security configuration was last updated, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeUpdated(@Nullable Output timeUpdated) { $.timeUpdated = timeUpdated; return this; } + /** + * @param timeUpdated The date and time the database security configuration was last updated, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeUpdated(String timeUpdated) { return timeUpdated(Output.of(timeUpdated)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/MaskingPolicyHealthReportManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/MaskingPolicyHealthReportManagementState.java new file mode 100644 index 0000000000..e0e286290a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/MaskingPolicyHealthReportManagementState.java @@ -0,0 +1,377 @@ +// *** 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.DataSafe.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class MaskingPolicyHealthReportManagementState extends com.pulumi.resources.ResourceArgs { + + public static final MaskingPolicyHealthReportManagementState Empty = new MaskingPolicyHealthReportManagementState(); + + /** + * The OCID of the compartment that contains the masking report. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The OCID of the compartment that contains the masking report. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + @Import(name="definedTags") + private @Nullable Output> definedTags; + + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * Description for the pre-masking report, + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return Description for the pre-masking report, + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * The display name of the pre-masking report, + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return The display name of the pre-masking report, + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + /** + * The OCID of the masking policy. + * + */ + @Import(name="maskingPolicyId") + private @Nullable Output maskingPolicyId; + + /** + * @return The OCID of the masking policy. + * + */ + public Optional> maskingPolicyId() { + return Optional.ofNullable(this.maskingPolicyId); + } + + /** + * The current state of the pre-masking report. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current state of the pre-masking report. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * The OCID of the target database masked. + * + */ + @Import(name="targetId") + private @Nullable Output targetId; + + /** + * @return The OCID of the target database masked. + * + */ + public Optional> targetId() { + return Optional.ofNullable(this.targetId); + } + + /** + * The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + */ + @Import(name="timeUpdated") + private @Nullable Output timeUpdated; + + /** + * @return The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + */ + public Optional> timeUpdated() { + return Optional.ofNullable(this.timeUpdated); + } + + private MaskingPolicyHealthReportManagementState() {} + + private MaskingPolicyHealthReportManagementState(MaskingPolicyHealthReportManagementState $) { + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.description = $.description; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.maskingPolicyId = $.maskingPolicyId; + this.state = $.state; + this.targetId = $.targetId; + this.timeCreated = $.timeCreated; + this.timeUpdated = $.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MaskingPolicyHealthReportManagementState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MaskingPolicyHealthReportManagementState $; + + public Builder() { + $ = new MaskingPolicyHealthReportManagementState(); + } + + public Builder(MaskingPolicyHealthReportManagementState defaults) { + $ = new MaskingPolicyHealthReportManagementState(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The OCID of the compartment that contains the masking report. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment that contains the masking report. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param description Description for the pre-masking report, + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description Description for the pre-masking report, + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName The display name of the pre-masking report, + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName The display name of the pre-masking report, + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + /** + * @param maskingPolicyId The OCID of the masking policy. + * + * @return builder + * + */ + public Builder maskingPolicyId(@Nullable Output maskingPolicyId) { + $.maskingPolicyId = maskingPolicyId; + return this; + } + + /** + * @param maskingPolicyId The OCID of the masking policy. + * + * @return builder + * + */ + public Builder maskingPolicyId(String maskingPolicyId) { + return maskingPolicyId(Output.of(maskingPolicyId)); + } + + /** + * @param state The current state of the pre-masking report. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current state of the pre-masking report. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param targetId The OCID of the target database masked. + * + * @return builder + * + */ + public Builder targetId(@Nullable Output targetId) { + $.targetId = targetId; + return this; + } + + /** + * @param targetId The OCID of the target database masked. + * + * @return builder + * + */ + public Builder targetId(String targetId) { + return targetId(Output.of(targetId)); + } + + /** + * @param timeCreated The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeUpdated The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + * @return builder + * + */ + public Builder timeUpdated(@Nullable Output timeUpdated) { + $.timeUpdated = timeUpdated; + return this; + } + + /** + * @param timeUpdated The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + * + * @return builder + * + */ + public Builder timeUpdated(String timeUpdated) { + return timeUpdated(Output.of(timeUpdated)); + } + + public MaskingPolicyHealthReportManagementState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/MaskingReportManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/MaskingReportManagementState.java new file mode 100644 index 0000000000..29aa1e7e01 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/MaskingReportManagementState.java @@ -0,0 +1,713 @@ +// *** 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.DataSafe.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 MaskingReportManagementState extends com.pulumi.resources.ResourceArgs { + + public static final MaskingReportManagementState Empty = new MaskingReportManagementState(); + + /** + * The OCID of the compartment that contains the masking report. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The OCID of the compartment that contains the masking report. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * Indicates if the temporary tables created during the masking operation were dropped after masking. + * + */ + @Import(name="isDropTempTablesEnabled") + private @Nullable Output isDropTempTablesEnabled; + + /** + * @return Indicates if the temporary tables created during the masking operation were dropped after masking. + * + */ + public Optional> isDropTempTablesEnabled() { + return Optional.ofNullable(this.isDropTempTablesEnabled); + } + + /** + * Indicates if redo logging was enabled during the masking operation. + * + */ + @Import(name="isRedoLoggingEnabled") + private @Nullable Output isRedoLoggingEnabled; + + /** + * @return Indicates if redo logging was enabled during the masking operation. + * + */ + public Optional> isRedoLoggingEnabled() { + return Optional.ofNullable(this.isRedoLoggingEnabled); + } + + /** + * Indicates if statistics gathering was enabled during the masking operation. + * + */ + @Import(name="isRefreshStatsEnabled") + private @Nullable Output isRefreshStatsEnabled; + + /** + * @return Indicates if statistics gathering was enabled during the masking operation. + * + */ + public Optional> isRefreshStatsEnabled() { + return Optional.ofNullable(this.isRefreshStatsEnabled); + } + + /** + * The OCID of the masking policy. + * + */ + @Import(name="maskingPolicyId") + private @Nullable Output maskingPolicyId; + + /** + * @return The OCID of the masking policy. + * + */ + public Optional> maskingPolicyId() { + return Optional.ofNullable(this.maskingPolicyId); + } + + /** + * The OCID of the masking work request that resulted in this masking report. + * + */ + @Import(name="maskingWorkRequestId") + private @Nullable Output maskingWorkRequestId; + + /** + * @return The OCID of the masking work request that resulted in this masking report. + * + */ + public Optional> maskingWorkRequestId() { + return Optional.ofNullable(this.maskingWorkRequestId); + } + + /** + * Indicates if parallel execution was enabled during the masking operation. + * + */ + @Import(name="parallelDegree") + private @Nullable Output parallelDegree; + + /** + * @return Indicates if parallel execution was enabled during the masking operation. + * + */ + public Optional> parallelDegree() { + return Optional.ofNullable(this.parallelDegree); + } + + /** + * Indicates how invalid objects were recompiled post the masking operation. + * + */ + @Import(name="recompile") + private @Nullable Output recompile; + + /** + * @return Indicates how invalid objects were recompiled post the masking operation. + * + */ + public Optional> recompile() { + return Optional.ofNullable(this.recompile); + } + + /** + * The current state of the masking report. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current state of the masking report. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * The OCID of the target database masked. + * + */ + @Import(name="targetId") + private @Nullable Output targetId; + + /** + * @return The OCID of the target database masked. + * + */ + public Optional> targetId() { + return Optional.ofNullable(this.targetId); + } + + /** + * The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + */ + @Import(name="timeMaskingFinished") + private @Nullable Output timeMaskingFinished; + + /** + * @return The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + */ + public Optional> timeMaskingFinished() { + return Optional.ofNullable(this.timeMaskingFinished); + } + + /** + * The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + */ + @Import(name="timeMaskingStarted") + private @Nullable Output timeMaskingStarted; + + /** + * @return The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + */ + public Optional> timeMaskingStarted() { + return Optional.ofNullable(this.timeMaskingStarted); + } + + /** + * The total number of masked columns. + * + */ + @Import(name="totalMaskedColumns") + private @Nullable Output totalMaskedColumns; + + /** + * @return The total number of masked columns. + * + */ + public Optional> totalMaskedColumns() { + return Optional.ofNullable(this.totalMaskedColumns); + } + + /** + * The total number of unique objects (tables and editioning views) that contain the masked columns. + * + */ + @Import(name="totalMaskedObjects") + private @Nullable Output totalMaskedObjects; + + /** + * @return The total number of unique objects (tables and editioning views) that contain the masked columns. + * + */ + public Optional> totalMaskedObjects() { + return Optional.ofNullable(this.totalMaskedObjects); + } + + /** + * The total number of unique schemas that contain the masked columns. + * + */ + @Import(name="totalMaskedSchemas") + private @Nullable Output totalMaskedSchemas; + + /** + * @return The total number of unique schemas that contain the masked columns. + * + */ + public Optional> totalMaskedSchemas() { + return Optional.ofNullable(this.totalMaskedSchemas); + } + + /** + * The total number of unique sensitive types associated with the masked columns. + * + */ + @Import(name="totalMaskedSensitiveTypes") + private @Nullable Output totalMaskedSensitiveTypes; + + /** + * @return The total number of unique sensitive types associated with the masked columns. + * + */ + public Optional> totalMaskedSensitiveTypes() { + return Optional.ofNullable(this.totalMaskedSensitiveTypes); + } + + /** + * The total number of masked values. + * + */ + @Import(name="totalMaskedValues") + private @Nullable Output totalMaskedValues; + + /** + * @return The total number of masked values. + * + */ + public Optional> totalMaskedValues() { + return Optional.ofNullable(this.totalMaskedValues); + } + + private MaskingReportManagementState() {} + + private MaskingReportManagementState(MaskingReportManagementState $) { + this.compartmentId = $.compartmentId; + this.isDropTempTablesEnabled = $.isDropTempTablesEnabled; + this.isRedoLoggingEnabled = $.isRedoLoggingEnabled; + this.isRefreshStatsEnabled = $.isRefreshStatsEnabled; + this.maskingPolicyId = $.maskingPolicyId; + this.maskingWorkRequestId = $.maskingWorkRequestId; + this.parallelDegree = $.parallelDegree; + this.recompile = $.recompile; + this.state = $.state; + this.targetId = $.targetId; + this.timeCreated = $.timeCreated; + this.timeMaskingFinished = $.timeMaskingFinished; + this.timeMaskingStarted = $.timeMaskingStarted; + this.totalMaskedColumns = $.totalMaskedColumns; + this.totalMaskedObjects = $.totalMaskedObjects; + this.totalMaskedSchemas = $.totalMaskedSchemas; + this.totalMaskedSensitiveTypes = $.totalMaskedSensitiveTypes; + this.totalMaskedValues = $.totalMaskedValues; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MaskingReportManagementState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MaskingReportManagementState $; + + public Builder() { + $ = new MaskingReportManagementState(); + } + + public Builder(MaskingReportManagementState defaults) { + $ = new MaskingReportManagementState(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The OCID of the compartment that contains the masking report. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment that contains the masking report. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param isDropTempTablesEnabled Indicates if the temporary tables created during the masking operation were dropped after masking. + * + * @return builder + * + */ + public Builder isDropTempTablesEnabled(@Nullable Output isDropTempTablesEnabled) { + $.isDropTempTablesEnabled = isDropTempTablesEnabled; + return this; + } + + /** + * @param isDropTempTablesEnabled Indicates if the temporary tables created during the masking operation were dropped after masking. + * + * @return builder + * + */ + public Builder isDropTempTablesEnabled(Boolean isDropTempTablesEnabled) { + return isDropTempTablesEnabled(Output.of(isDropTempTablesEnabled)); + } + + /** + * @param isRedoLoggingEnabled Indicates if redo logging was enabled during the masking operation. + * + * @return builder + * + */ + public Builder isRedoLoggingEnabled(@Nullable Output isRedoLoggingEnabled) { + $.isRedoLoggingEnabled = isRedoLoggingEnabled; + return this; + } + + /** + * @param isRedoLoggingEnabled Indicates if redo logging was enabled during the masking operation. + * + * @return builder + * + */ + public Builder isRedoLoggingEnabled(Boolean isRedoLoggingEnabled) { + return isRedoLoggingEnabled(Output.of(isRedoLoggingEnabled)); + } + + /** + * @param isRefreshStatsEnabled Indicates if statistics gathering was enabled during the masking operation. + * + * @return builder + * + */ + public Builder isRefreshStatsEnabled(@Nullable Output isRefreshStatsEnabled) { + $.isRefreshStatsEnabled = isRefreshStatsEnabled; + return this; + } + + /** + * @param isRefreshStatsEnabled Indicates if statistics gathering was enabled during the masking operation. + * + * @return builder + * + */ + public Builder isRefreshStatsEnabled(Boolean isRefreshStatsEnabled) { + return isRefreshStatsEnabled(Output.of(isRefreshStatsEnabled)); + } + + /** + * @param maskingPolicyId The OCID of the masking policy. + * + * @return builder + * + */ + public Builder maskingPolicyId(@Nullable Output maskingPolicyId) { + $.maskingPolicyId = maskingPolicyId; + return this; + } + + /** + * @param maskingPolicyId The OCID of the masking policy. + * + * @return builder + * + */ + public Builder maskingPolicyId(String maskingPolicyId) { + return maskingPolicyId(Output.of(maskingPolicyId)); + } + + /** + * @param maskingWorkRequestId The OCID of the masking work request that resulted in this masking report. + * + * @return builder + * + */ + public Builder maskingWorkRequestId(@Nullable Output maskingWorkRequestId) { + $.maskingWorkRequestId = maskingWorkRequestId; + return this; + } + + /** + * @param maskingWorkRequestId The OCID of the masking work request that resulted in this masking report. + * + * @return builder + * + */ + public Builder maskingWorkRequestId(String maskingWorkRequestId) { + return maskingWorkRequestId(Output.of(maskingWorkRequestId)); + } + + /** + * @param parallelDegree Indicates if parallel execution was enabled during the masking operation. + * + * @return builder + * + */ + public Builder parallelDegree(@Nullable Output parallelDegree) { + $.parallelDegree = parallelDegree; + return this; + } + + /** + * @param parallelDegree Indicates if parallel execution was enabled during the masking operation. + * + * @return builder + * + */ + public Builder parallelDegree(String parallelDegree) { + return parallelDegree(Output.of(parallelDegree)); + } + + /** + * @param recompile Indicates how invalid objects were recompiled post the masking operation. + * + * @return builder + * + */ + public Builder recompile(@Nullable Output recompile) { + $.recompile = recompile; + return this; + } + + /** + * @param recompile Indicates how invalid objects were recompiled post the masking operation. + * + * @return builder + * + */ + public Builder recompile(String recompile) { + return recompile(Output.of(recompile)); + } + + /** + * @param state The current state of the masking report. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current state of the masking report. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param targetId The OCID of the target database masked. + * + * @return builder + * + */ + public Builder targetId(@Nullable Output targetId) { + $.targetId = targetId; + return this; + } + + /** + * @param targetId The OCID of the target database masked. + * + * @return builder + * + */ + public Builder targetId(String targetId) { + return targetId(Output.of(targetId)); + } + + /** + * @param timeCreated The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeMaskingFinished The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + * @return builder + * + */ + public Builder timeMaskingFinished(@Nullable Output timeMaskingFinished) { + $.timeMaskingFinished = timeMaskingFinished; + return this; + } + + /** + * @param timeMaskingFinished The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + * @return builder + * + */ + public Builder timeMaskingFinished(String timeMaskingFinished) { + return timeMaskingFinished(Output.of(timeMaskingFinished)); + } + + /** + * @param timeMaskingStarted The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + * @return builder + * + */ + public Builder timeMaskingStarted(@Nullable Output timeMaskingStarted) { + $.timeMaskingStarted = timeMaskingStarted; + return this; + } + + /** + * @param timeMaskingStarted The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + * + * @return builder + * + */ + public Builder timeMaskingStarted(String timeMaskingStarted) { + return timeMaskingStarted(Output.of(timeMaskingStarted)); + } + + /** + * @param totalMaskedColumns The total number of masked columns. + * + * @return builder + * + */ + public Builder totalMaskedColumns(@Nullable Output totalMaskedColumns) { + $.totalMaskedColumns = totalMaskedColumns; + return this; + } + + /** + * @param totalMaskedColumns The total number of masked columns. + * + * @return builder + * + */ + public Builder totalMaskedColumns(String totalMaskedColumns) { + return totalMaskedColumns(Output.of(totalMaskedColumns)); + } + + /** + * @param totalMaskedObjects The total number of unique objects (tables and editioning views) that contain the masked columns. + * + * @return builder + * + */ + public Builder totalMaskedObjects(@Nullable Output totalMaskedObjects) { + $.totalMaskedObjects = totalMaskedObjects; + return this; + } + + /** + * @param totalMaskedObjects The total number of unique objects (tables and editioning views) that contain the masked columns. + * + * @return builder + * + */ + public Builder totalMaskedObjects(String totalMaskedObjects) { + return totalMaskedObjects(Output.of(totalMaskedObjects)); + } + + /** + * @param totalMaskedSchemas The total number of unique schemas that contain the masked columns. + * + * @return builder + * + */ + public Builder totalMaskedSchemas(@Nullable Output totalMaskedSchemas) { + $.totalMaskedSchemas = totalMaskedSchemas; + return this; + } + + /** + * @param totalMaskedSchemas The total number of unique schemas that contain the masked columns. + * + * @return builder + * + */ + public Builder totalMaskedSchemas(String totalMaskedSchemas) { + return totalMaskedSchemas(Output.of(totalMaskedSchemas)); + } + + /** + * @param totalMaskedSensitiveTypes The total number of unique sensitive types associated with the masked columns. + * + * @return builder + * + */ + public Builder totalMaskedSensitiveTypes(@Nullable Output totalMaskedSensitiveTypes) { + $.totalMaskedSensitiveTypes = totalMaskedSensitiveTypes; + return this; + } + + /** + * @param totalMaskedSensitiveTypes The total number of unique sensitive types associated with the masked columns. + * + * @return builder + * + */ + public Builder totalMaskedSensitiveTypes(String totalMaskedSensitiveTypes) { + return totalMaskedSensitiveTypes(Output.of(totalMaskedSensitiveTypes)); + } + + /** + * @param totalMaskedValues The total number of masked values. + * + * @return builder + * + */ + public Builder totalMaskedValues(@Nullable Output totalMaskedValues) { + $.totalMaskedValues = totalMaskedValues; + return this; + } + + /** + * @param totalMaskedValues The total number of masked values. + * + * @return builder + * + */ + public Builder totalMaskedValues(String totalMaskedValues) { + return totalMaskedValues(Output.of(totalMaskedValues)); + } + + public MaskingReportManagementState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SecurityPolicyDeploymentManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SecurityPolicyDeploymentManagementState.java index 9a2a26a697..3b534e5cd0 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SecurityPolicyDeploymentManagementState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SecurityPolicyDeploymentManagementState.java @@ -16,86 +16,182 @@ public final class SecurityPolicyDeploymentManagementState extends com.pulumi.re public static final SecurityPolicyDeploymentManagementState Empty = new SecurityPolicyDeploymentManagementState(); + /** + * (Updatable) The OCID of the compartment containing the security policy deployment. + * + */ @Import(name="compartmentId") private @Nullable Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the security policy deployment. + * + */ public Optional> compartmentId() { return Optional.ofNullable(this.compartmentId); } + /** + * (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"}` + * + */ @Import(name="definedTags") private @Nullable Output> definedTags; + /** + * @return (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 Optional>> definedTags() { return Optional.ofNullable(this.definedTags); } + /** + * (Updatable) The description of the security policy deployment. + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return (Updatable) The description of the security policy deployment. + * + */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + * + */ @Import(name="displayName") private @Nullable Output displayName; + /** + * @return (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + * + */ 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. For more information, 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. For more information, 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 about the current state of the security policy deployment in Data Safe. + * + */ @Import(name="lifecycleDetails") private @Nullable Output lifecycleDetails; + /** + * @return Details about the current state of the security policy deployment in Data Safe. + * + */ public Optional> lifecycleDetails() { return Optional.ofNullable(this.lifecycleDetails); } + /** + * The OCID of the security policy corresponding to the security policy deployment. + * + */ @Import(name="securityPolicyId") private @Nullable Output securityPolicyId; + /** + * @return The OCID of the security policy corresponding to the security policy deployment. + * + */ public Optional> securityPolicyId() { return Optional.ofNullable(this.securityPolicyId); } + /** + * The current state of the security policy deployment. + * + */ @Import(name="state") private @Nullable Output state; + /** + * @return The current state of the security policy deployment. + * + */ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * 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"}` + * + */ @Import(name="systemTags") private @Nullable Output> systemTags; + /** + * @return 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"}` + * + */ public Optional>> systemTags() { return Optional.ofNullable(this.systemTags); } + /** + * Unique target identifier. + * + */ @Import(name="targetId") private @Nullable Output targetId; + /** + * @return Unique target identifier. + * + */ public Optional> targetId() { return Optional.ofNullable(this.targetId); } + /** + * The time that the security policy deployment was created, in the format defined by RFC3339. + * + */ @Import(name="timeCreated") private @Nullable Output timeCreated; + /** + * @return The time that the security policy deployment was created, in the format defined by RFC3339. + * + */ public Optional> timeCreated() { return Optional.ofNullable(this.timeCreated); } + /** + * The last date and time the security policy deployment was updated, in the format defined by RFC3339. + * + */ @Import(name="timeUpdated") private @Nullable Output timeUpdated; + /** + * @return The last date and time the security policy deployment was updated, in the format defined by RFC3339. + * + */ public Optional> timeUpdated() { return Optional.ofNullable(this.timeUpdated); } @@ -135,110 +231,254 @@ public Builder(SecurityPolicyDeploymentManagementState defaults) { $ = new SecurityPolicyDeploymentManagementState(Objects.requireNonNull(defaults)); } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the security policy deployment. + * + * @return builder + * + */ public Builder compartmentId(@Nullable Output compartmentId) { $.compartmentId = compartmentId; return this; } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the security policy deployment. + * + * @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. For more information, 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. For more information, 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) The description of the security policy deployment. + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description (Updatable) The description of the security policy deployment. + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param displayName (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + * + * @return builder + * + */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } + /** + * @param displayName (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + * + * @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. For more information, 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. For more information, 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 about the current state of the security policy deployment in Data Safe. + * + * @return builder + * + */ public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { $.lifecycleDetails = lifecycleDetails; return this; } + /** + * @param lifecycleDetails Details about the current state of the security policy deployment in Data Safe. + * + * @return builder + * + */ public Builder lifecycleDetails(String lifecycleDetails) { return lifecycleDetails(Output.of(lifecycleDetails)); } + /** + * @param securityPolicyId The OCID of the security policy corresponding to the security policy deployment. + * + * @return builder + * + */ public Builder securityPolicyId(@Nullable Output securityPolicyId) { $.securityPolicyId = securityPolicyId; return this; } + /** + * @param securityPolicyId The OCID of the security policy corresponding to the security policy deployment. + * + * @return builder + * + */ public Builder securityPolicyId(String securityPolicyId) { return securityPolicyId(Output.of(securityPolicyId)); } + /** + * @param state The current state of the security policy deployment. + * + * @return builder + * + */ public Builder state(@Nullable Output state) { $.state = state; return this; } + /** + * @param state The current state of the security policy deployment. + * + * @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. For more information, see Resource Tags. 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. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + * @return builder + * + */ public Builder systemTags(Map systemTags) { return systemTags(Output.of(systemTags)); } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(@Nullable Output targetId) { $.targetId = targetId; return this; } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(String targetId) { return targetId(Output.of(targetId)); } + /** + * @param timeCreated The time that the security policy deployment was created, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeCreated(@Nullable Output timeCreated) { $.timeCreated = timeCreated; return this; } + /** + * @param timeCreated The time that the security policy deployment was created, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeCreated(String timeCreated) { return timeCreated(Output.of(timeCreated)); } + /** + * @param timeUpdated The last date and time the security policy deployment was updated, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeUpdated(@Nullable Output timeUpdated) { $.timeUpdated = timeUpdated; return this; } + /** + * @param timeUpdated The last date and time the security policy deployment was updated, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeUpdated(String timeUpdated) { return timeUpdated(Output.of(timeUpdated)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SecurityPolicyManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SecurityPolicyManagementState.java index c7be9e0b72..b1ba95a6b2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SecurityPolicyManagementState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SecurityPolicyManagementState.java @@ -16,79 +16,167 @@ public final class SecurityPolicyManagementState extends com.pulumi.resources.Re public static final SecurityPolicyManagementState Empty = new SecurityPolicyManagementState(); + /** + * (Updatable) The OCID of the compartment containing the security policy. + * + */ @Import(name="compartmentId") private @Nullable Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the security policy. + * + */ public Optional> compartmentId() { return Optional.ofNullable(this.compartmentId); } + /** + * (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"}` + * + */ @Import(name="definedTags") private @Nullable Output> definedTags; + /** + * @return (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 Optional>> definedTags() { return Optional.ofNullable(this.definedTags); } + /** + * (Updatable) The description of the security policy. + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return (Updatable) The description of the security policy. + * + */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + * + */ @Import(name="displayName") private @Nullable Output displayName; + /** + * @return (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + * + */ 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. For more information, 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. For more information, 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 about the current state of the security policy in Data Safe. + * + */ @Import(name="lifecycleDetails") private @Nullable Output lifecycleDetails; + /** + * @return Details about the current state of the security policy in Data Safe. + * + */ public Optional> lifecycleDetails() { return Optional.ofNullable(this.lifecycleDetails); } + /** + * The current state of the security policy. + * + */ @Import(name="state") private @Nullable Output state; + /** + * @return The current state of the security policy. + * + */ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * 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"}` + * + */ @Import(name="systemTags") private @Nullable Output> systemTags; + /** + * @return 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"}` + * + */ public Optional>> systemTags() { return Optional.ofNullable(this.systemTags); } + /** + * Unique target identifier. + * + */ @Import(name="targetId") private @Nullable Output targetId; + /** + * @return Unique target identifier. + * + */ public Optional> targetId() { return Optional.ofNullable(this.targetId); } + /** + * The time that the security policy was created, in the format defined by RFC3339. + * + */ @Import(name="timeCreated") private @Nullable Output timeCreated; + /** + * @return The time that the security policy was created, in the format defined by RFC3339. + * + */ public Optional> timeCreated() { return Optional.ofNullable(this.timeCreated); } + /** + * The last date and time the security policy was updated, in the format defined by RFC3339. + * + */ @Import(name="timeUpdated") private @Nullable Output timeUpdated; + /** + * @return The last date and time the security policy was updated, in the format defined by RFC3339. + * + */ public Optional> timeUpdated() { return Optional.ofNullable(this.timeUpdated); } @@ -127,101 +215,233 @@ public Builder(SecurityPolicyManagementState defaults) { $ = new SecurityPolicyManagementState(Objects.requireNonNull(defaults)); } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the security policy. + * + * @return builder + * + */ public Builder compartmentId(@Nullable Output compartmentId) { $.compartmentId = compartmentId; return this; } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the security policy. + * + * @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. For more information, 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. For more information, 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) The description of the security policy. + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description (Updatable) The description of the security policy. + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param displayName (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + * + * @return builder + * + */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } + /** + * @param displayName (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + * + * @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. For more information, 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. For more information, 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 about the current state of the security policy in Data Safe. + * + * @return builder + * + */ public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { $.lifecycleDetails = lifecycleDetails; return this; } + /** + * @param lifecycleDetails Details about the current state of the security policy in Data Safe. + * + * @return builder + * + */ public Builder lifecycleDetails(String lifecycleDetails) { return lifecycleDetails(Output.of(lifecycleDetails)); } + /** + * @param state The current state of the security policy. + * + * @return builder + * + */ public Builder state(@Nullable Output state) { $.state = state; return this; } + /** + * @param state The current state of the security policy. + * + * @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. For more information, see Resource Tags. 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. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + * @return builder + * + */ public Builder systemTags(Map systemTags) { return systemTags(Output.of(systemTags)); } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(@Nullable Output targetId) { $.targetId = targetId; return this; } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(String targetId) { return targetId(Output.of(targetId)); } + /** + * @param timeCreated The time that the security policy was created, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeCreated(@Nullable Output timeCreated) { $.timeCreated = timeCreated; return this; } + /** + * @param timeCreated The time that the security policy was created, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeCreated(String timeCreated) { return timeCreated(Output.of(timeCreated)); } + /** + * @param timeUpdated The last date and time the security policy was updated, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeUpdated(@Nullable Output timeUpdated) { $.timeUpdated = timeUpdated; return this; } + /** + * @param timeUpdated The last date and time the security policy was updated, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeUpdated(String timeUpdated) { return timeUpdated(Output.of(timeUpdated)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SetSecurityAssessmentBaselineManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SetSecurityAssessmentBaselineManagementState.java new file mode 100644 index 0000000000..0d7af9f94a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SetSecurityAssessmentBaselineManagementState.java @@ -0,0 +1,171 @@ +// *** 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.DataSafe.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SetSecurityAssessmentBaselineManagementState extends com.pulumi.resources.ResourceArgs { + + public static final SetSecurityAssessmentBaselineManagementState Empty = new SetSecurityAssessmentBaselineManagementState(); + + @Import(name="assessmentIds") + private @Nullable Output> assessmentIds; + + public Optional>> assessmentIds() { + return Optional.ofNullable(this.assessmentIds); + } + + /** + * The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + @Import(name="securityAssessmentId") + private @Nullable Output securityAssessmentId; + + public Optional> securityAssessmentId() { + return Optional.ofNullable(this.securityAssessmentId); + } + + /** + * The target OCID for which SA needs to be set as baseline. + * + */ + @Import(name="targetId") + private @Nullable Output targetId; + + /** + * @return The target OCID for which SA needs to be set as baseline. + * + */ + public Optional> targetId() { + return Optional.ofNullable(this.targetId); + } + + private SetSecurityAssessmentBaselineManagementState() {} + + private SetSecurityAssessmentBaselineManagementState(SetSecurityAssessmentBaselineManagementState $) { + this.assessmentIds = $.assessmentIds; + this.compartmentId = $.compartmentId; + this.securityAssessmentId = $.securityAssessmentId; + this.targetId = $.targetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SetSecurityAssessmentBaselineManagementState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SetSecurityAssessmentBaselineManagementState $; + + public Builder() { + $ = new SetSecurityAssessmentBaselineManagementState(); + } + + public Builder(SetSecurityAssessmentBaselineManagementState defaults) { + $ = new SetSecurityAssessmentBaselineManagementState(Objects.requireNonNull(defaults)); + } + + public Builder assessmentIds(@Nullable Output> assessmentIds) { + $.assessmentIds = assessmentIds; + return this; + } + + public Builder assessmentIds(List assessmentIds) { + return assessmentIds(Output.of(assessmentIds)); + } + + public Builder assessmentIds(String... assessmentIds) { + return assessmentIds(List.of(assessmentIds)); + } + + /** + * @param compartmentId The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + public Builder securityAssessmentId(@Nullable Output securityAssessmentId) { + $.securityAssessmentId = securityAssessmentId; + return this; + } + + public Builder securityAssessmentId(String securityAssessmentId) { + return securityAssessmentId(Output.of(securityAssessmentId)); + } + + /** + * @param targetId The target OCID for which SA needs to be set as baseline. + * + * @return builder + * + */ + public Builder targetId(@Nullable Output targetId) { + $.targetId = targetId; + return this; + } + + /** + * @param targetId The target OCID for which SA needs to be set as baseline. + * + * @return builder + * + */ + public Builder targetId(String targetId) { + return targetId(Output.of(targetId)); + } + + public SetSecurityAssessmentBaselineManagementState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SetUserAssessmentBaselineManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SetUserAssessmentBaselineManagementState.java new file mode 100644 index 0000000000..fcc029b964 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SetUserAssessmentBaselineManagementState.java @@ -0,0 +1,171 @@ +// *** 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.DataSafe.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class SetUserAssessmentBaselineManagementState extends com.pulumi.resources.ResourceArgs { + + public static final SetUserAssessmentBaselineManagementState Empty = new SetUserAssessmentBaselineManagementState(); + + @Import(name="assessmentIds") + private @Nullable Output> assessmentIds; + + public Optional>> assessmentIds() { + return Optional.ofNullable(this.assessmentIds); + } + + /** + * The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * The target OCID for which UA needs to be set as baseline. + * + */ + @Import(name="targetId") + private @Nullable Output targetId; + + /** + * @return The target OCID for which UA needs to be set as baseline. + * + */ + public Optional> targetId() { + return Optional.ofNullable(this.targetId); + } + + @Import(name="userAssessmentId") + private @Nullable Output userAssessmentId; + + public Optional> userAssessmentId() { + return Optional.ofNullable(this.userAssessmentId); + } + + private SetUserAssessmentBaselineManagementState() {} + + private SetUserAssessmentBaselineManagementState(SetUserAssessmentBaselineManagementState $) { + this.assessmentIds = $.assessmentIds; + this.compartmentId = $.compartmentId; + this.targetId = $.targetId; + this.userAssessmentId = $.userAssessmentId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(SetUserAssessmentBaselineManagementState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private SetUserAssessmentBaselineManagementState $; + + public Builder() { + $ = new SetUserAssessmentBaselineManagementState(); + } + + public Builder(SetUserAssessmentBaselineManagementState defaults) { + $ = new SetUserAssessmentBaselineManagementState(Objects.requireNonNull(defaults)); + } + + public Builder assessmentIds(@Nullable Output> assessmentIds) { + $.assessmentIds = assessmentIds; + return this; + } + + public Builder assessmentIds(List assessmentIds) { + return assessmentIds(Output.of(assessmentIds)); + } + + public Builder assessmentIds(String... assessmentIds) { + return assessmentIds(List.of(assessmentIds)); + } + + /** + * @param compartmentId The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The compartment OCID of the target. + * + * ** IMPORTANT ** + * 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 compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param targetId The target OCID for which UA needs to be set as baseline. + * + * @return builder + * + */ + public Builder targetId(@Nullable Output targetId) { + $.targetId = targetId; + return this; + } + + /** + * @param targetId The target OCID for which UA needs to be set as baseline. + * + * @return builder + * + */ + public Builder targetId(String targetId) { + return targetId(Output.of(targetId)); + } + + public Builder userAssessmentId(@Nullable Output userAssessmentId) { + $.userAssessmentId = userAssessmentId; + return this; + } + + public Builder userAssessmentId(String userAssessmentId) { + return userAssessmentId(Output.of(userAssessmentId)); + } + + public SetUserAssessmentBaselineManagementState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SqlFirewallPolicyManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SqlFirewallPolicyManagementState.java index cf28f07835..cd615a38a8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SqlFirewallPolicyManagementState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/SqlFirewallPolicyManagementState.java @@ -17,156 +17,338 @@ public final class SqlFirewallPolicyManagementState extends com.pulumi.resources public static final SqlFirewallPolicyManagementState Empty = new SqlFirewallPolicyManagementState(); + /** + * (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + */ @Import(name="allowedClientIps") private @Nullable Output> allowedClientIps; + /** + * @return (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + */ public Optional>> allowedClientIps() { return Optional.ofNullable(this.allowedClientIps); } + /** + * (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + */ @Import(name="allowedClientOsUsernames") private @Nullable Output> allowedClientOsUsernames; + /** + * @return (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + */ public Optional>> allowedClientOsUsernames() { return Optional.ofNullable(this.allowedClientOsUsernames); } + /** + * (Updatable) List of allowed client programs for the SQL firewall policy. + * + */ @Import(name="allowedClientPrograms") private @Nullable Output> allowedClientPrograms; + /** + * @return (Updatable) List of allowed client programs for the SQL firewall policy. + * + */ public Optional>> allowedClientPrograms() { return Optional.ofNullable(this.allowedClientPrograms); } + /** + * (Updatable) The OCID of the compartment containing the SQL firewall policy. + * + */ @Import(name="compartmentId") private @Nullable Output compartmentId; + /** + * @return (Updatable) The OCID of the compartment containing the SQL firewall policy. + * + */ public Optional> compartmentId() { return Optional.ofNullable(this.compartmentId); } + /** + * The database user name. + * + */ @Import(name="dbUserName") private @Nullable Output dbUserName; + /** + * @return The database user name. + * + */ public Optional> dbUserName() { return Optional.ofNullable(this.dbUserName); } + /** + * (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"}` + * + */ @Import(name="definedTags") private @Nullable Output> definedTags; + /** + * @return (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 Optional>> definedTags() { return Optional.ofNullable(this.definedTags); } + /** + * (Updatable) The description of the SQL firewall policy. + * + */ @Import(name="description") private @Nullable Output description; + /** + * @return (Updatable) The description of the SQL firewall policy. + * + */ public Optional> description() { return Optional.ofNullable(this.description); } + /** + * (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + * + */ @Import(name="displayName") private @Nullable Output displayName; + /** + * @return (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + * + */ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * (Updatable) Specifies the SQL firewall policy enforcement option. + * + */ @Import(name="enforcementScope") private @Nullable Output enforcementScope; + /** + * @return (Updatable) Specifies the SQL firewall policy enforcement option. + * + */ public Optional> enforcementScope() { return Optional.ofNullable(this.enforcementScope); } + /** + * (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"}` + * + */ @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. For more information, 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 about the current state of the SQL firewall policy in Data Safe. + * + */ @Import(name="lifecycleDetails") private @Nullable Output lifecycleDetails; + /** + * @return Details about the current state of the SQL firewall policy in Data Safe. + * + */ public Optional> lifecycleDetails() { return Optional.ofNullable(this.lifecycleDetails); } + /** + * The OCID of the security policy corresponding to the SQL firewall policy. + * + */ @Import(name="securityPolicyId") private @Nullable Output securityPolicyId; + /** + * @return The OCID of the security policy corresponding to the SQL firewall policy. + * + */ public Optional> securityPolicyId() { return Optional.ofNullable(this.securityPolicyId); } + /** + * The OCID of the SQL firewall policy resource. + * + */ @Import(name="sqlFirewallPolicyId") private @Nullable Output sqlFirewallPolicyId; + /** + * @return The OCID of the SQL firewall policy resource. + * + */ public Optional> sqlFirewallPolicyId() { return Optional.ofNullable(this.sqlFirewallPolicyId); } + /** + * Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + * + */ @Import(name="sqlLevel") private @Nullable Output sqlLevel; + /** + * @return Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + * + */ public Optional> sqlLevel() { return Optional.ofNullable(this.sqlLevel); } + /** + * The current state of the SQL firewall policy. + * + */ @Import(name="state") private @Nullable Output state; + /** + * @return The current state of the SQL firewall policy. + * + */ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + * + */ @Import(name="status") private @Nullable Output status; + /** + * @return (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + * + */ public Optional> status() { return Optional.ofNullable(this.status); } + /** + * 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"}` + * + */ @Import(name="systemTags") private @Nullable Output> systemTags; + /** + * @return 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"}` + * + */ public Optional>> systemTags() { return Optional.ofNullable(this.systemTags); } + /** + * Unique target identifier. + * + */ @Import(name="targetId") private @Nullable Output targetId; + /** + * @return Unique target identifier. + * + */ public Optional> targetId() { return Optional.ofNullable(this.targetId); } + /** + * The time that the SQL firewall policy was created, in the format defined by RFC3339. + * + */ @Import(name="timeCreated") private @Nullable Output timeCreated; + /** + * @return The time that the SQL firewall policy was created, in the format defined by RFC3339. + * + */ public Optional> timeCreated() { return Optional.ofNullable(this.timeCreated); } + /** + * The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + * + */ @Import(name="timeUpdated") private @Nullable Output timeUpdated; + /** + * @return The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + * + */ public Optional> timeUpdated() { return Optional.ofNullable(this.timeUpdated); } + /** + * (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + * + */ @Import(name="violationAction") private @Nullable Output violationAction; + /** + * @return (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + * + */ public Optional> violationAction() { return Optional.ofNullable(this.violationAction); } + /** + * (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * ** IMPORTANT ** + * 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="violationAudit") private @Nullable Output violationAudit; + /** + * @return (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * ** IMPORTANT ** + * 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> violationAudit() { return Optional.ofNullable(this.violationAudit); } @@ -216,212 +398,500 @@ public Builder(SqlFirewallPolicyManagementState defaults) { $ = new SqlFirewallPolicyManagementState(Objects.requireNonNull(defaults)); } + /** + * @param allowedClientIps (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientIps(@Nullable Output> allowedClientIps) { $.allowedClientIps = allowedClientIps; return this; } + /** + * @param allowedClientIps (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientIps(List allowedClientIps) { return allowedClientIps(Output.of(allowedClientIps)); } + /** + * @param allowedClientIps (Updatable) List of allowed ip addresses for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientIps(String... allowedClientIps) { return allowedClientIps(List.of(allowedClientIps)); } + /** + * @param allowedClientOsUsernames (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientOsUsernames(@Nullable Output> allowedClientOsUsernames) { $.allowedClientOsUsernames = allowedClientOsUsernames; return this; } + /** + * @param allowedClientOsUsernames (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientOsUsernames(List allowedClientOsUsernames) { return allowedClientOsUsernames(Output.of(allowedClientOsUsernames)); } + /** + * @param allowedClientOsUsernames (Updatable) List of allowed operating system user names for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientOsUsernames(String... allowedClientOsUsernames) { return allowedClientOsUsernames(List.of(allowedClientOsUsernames)); } + /** + * @param allowedClientPrograms (Updatable) List of allowed client programs for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientPrograms(@Nullable Output> allowedClientPrograms) { $.allowedClientPrograms = allowedClientPrograms; return this; } + /** + * @param allowedClientPrograms (Updatable) List of allowed client programs for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientPrograms(List allowedClientPrograms) { return allowedClientPrograms(Output.of(allowedClientPrograms)); } + /** + * @param allowedClientPrograms (Updatable) List of allowed client programs for the SQL firewall policy. + * + * @return builder + * + */ public Builder allowedClientPrograms(String... allowedClientPrograms) { return allowedClientPrograms(List.of(allowedClientPrograms)); } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the SQL firewall policy. + * + * @return builder + * + */ public Builder compartmentId(@Nullable Output compartmentId) { $.compartmentId = compartmentId; return this; } + /** + * @param compartmentId (Updatable) The OCID of the compartment containing the SQL firewall policy. + * + * @return builder + * + */ public Builder compartmentId(String compartmentId) { return compartmentId(Output.of(compartmentId)); } + /** + * @param dbUserName The database user name. + * + * @return builder + * + */ public Builder dbUserName(@Nullable Output dbUserName) { $.dbUserName = dbUserName; return this; } + /** + * @param dbUserName The database user name. + * + * @return builder + * + */ public Builder dbUserName(String dbUserName) { return dbUserName(Output.of(dbUserName)); } + /** + * @param definedTags (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"}` + * + * @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. For more information, 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) The description of the SQL firewall policy. + * + * @return builder + * + */ public Builder description(@Nullable Output description) { $.description = description; return this; } + /** + * @param description (Updatable) The description of the SQL firewall policy. + * + * @return builder + * + */ public Builder description(String description) { return description(Output.of(description)); } + /** + * @param displayName (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + * + * @return builder + * + */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } + /** + * @param displayName (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + * + * @return builder + * + */ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param enforcementScope (Updatable) Specifies the SQL firewall policy enforcement option. + * + * @return builder + * + */ public Builder enforcementScope(@Nullable Output enforcementScope) { $.enforcementScope = enforcementScope; return this; } + /** + * @param enforcementScope (Updatable) Specifies the SQL firewall policy enforcement option. + * + * @return builder + * + */ public Builder enforcementScope(String enforcementScope) { return enforcementScope(Output.of(enforcementScope)); } + /** + * @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"}` + * + * @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. For more information, 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 about the current state of the SQL firewall policy in Data Safe. + * + * @return builder + * + */ public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { $.lifecycleDetails = lifecycleDetails; return this; } + /** + * @param lifecycleDetails Details about the current state of the SQL firewall policy in Data Safe. + * + * @return builder + * + */ public Builder lifecycleDetails(String lifecycleDetails) { return lifecycleDetails(Output.of(lifecycleDetails)); } + /** + * @param securityPolicyId The OCID of the security policy corresponding to the SQL firewall policy. + * + * @return builder + * + */ public Builder securityPolicyId(@Nullable Output securityPolicyId) { $.securityPolicyId = securityPolicyId; return this; } + /** + * @param securityPolicyId The OCID of the security policy corresponding to the SQL firewall policy. + * + * @return builder + * + */ public Builder securityPolicyId(String securityPolicyId) { return securityPolicyId(Output.of(securityPolicyId)); } + /** + * @param sqlFirewallPolicyId The OCID of the SQL firewall policy resource. + * + * @return builder + * + */ public Builder sqlFirewallPolicyId(@Nullable Output sqlFirewallPolicyId) { $.sqlFirewallPolicyId = sqlFirewallPolicyId; return this; } + /** + * @param sqlFirewallPolicyId The OCID of the SQL firewall policy resource. + * + * @return builder + * + */ public Builder sqlFirewallPolicyId(String sqlFirewallPolicyId) { return sqlFirewallPolicyId(Output.of(sqlFirewallPolicyId)); } + /** + * @param sqlLevel Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + * + * @return builder + * + */ public Builder sqlLevel(@Nullable Output sqlLevel) { $.sqlLevel = sqlLevel; return this; } + /** + * @param sqlLevel Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + * + * @return builder + * + */ public Builder sqlLevel(String sqlLevel) { return sqlLevel(Output.of(sqlLevel)); } + /** + * @param state The current state of the SQL firewall policy. + * + * @return builder + * + */ public Builder state(@Nullable Output state) { $.state = state; return this; } + /** + * @param state The current state of the SQL firewall policy. + * + * @return builder + * + */ public Builder state(String state) { return state(Output.of(state)); } + /** + * @param status (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + * + * @return builder + * + */ public Builder status(@Nullable Output status) { $.status = status; return this; } + /** + * @param status (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + * + * @return builder + * + */ public Builder status(String status) { return status(Output.of(status)); } + /** + * @param systemTags 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"}` + * + * @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. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + * @return builder + * + */ public Builder systemTags(Map systemTags) { return systemTags(Output.of(systemTags)); } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(@Nullable Output targetId) { $.targetId = targetId; return this; } + /** + * @param targetId Unique target identifier. + * + * @return builder + * + */ public Builder targetId(String targetId) { return targetId(Output.of(targetId)); } + /** + * @param timeCreated The time that the SQL firewall policy was created, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeCreated(@Nullable Output timeCreated) { $.timeCreated = timeCreated; return this; } + /** + * @param timeCreated The time that the SQL firewall policy was created, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeCreated(String timeCreated) { return timeCreated(Output.of(timeCreated)); } + /** + * @param timeUpdated The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeUpdated(@Nullable Output timeUpdated) { $.timeUpdated = timeUpdated; return this; } + /** + * @param timeUpdated The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + * + * @return builder + * + */ public Builder timeUpdated(String timeUpdated) { return timeUpdated(Output.of(timeUpdated)); } + /** + * @param violationAction (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + * + * @return builder + * + */ public Builder violationAction(@Nullable Output violationAction) { $.violationAction = violationAction; return this; } + /** + * @param violationAction (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + * + * @return builder + * + */ public Builder violationAction(String violationAction) { return violationAction(Output.of(violationAction)); } + /** + * @param violationAudit (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * ** IMPORTANT ** + * 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 violationAudit(@Nullable Output violationAudit) { $.violationAudit = violationAudit; return this; } + /** + * @param violationAudit (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * ** IMPORTANT ** + * 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 violationAudit(String violationAudit) { return violationAudit(Output.of(violationAudit)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/UnsetSecurityAssessmentBaselineManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/UnsetSecurityAssessmentBaselineManagementState.java new file mode 100644 index 0000000000..0b672ee66a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/UnsetSecurityAssessmentBaselineManagementState.java @@ -0,0 +1,132 @@ +// *** 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.DataSafe.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 UnsetSecurityAssessmentBaselineManagementState extends com.pulumi.resources.ResourceArgs { + + public static final UnsetSecurityAssessmentBaselineManagementState Empty = new UnsetSecurityAssessmentBaselineManagementState(); + + /** + * The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * The OCID of the security assessment. + * + */ + @Import(name="securityAssessmentId") + private @Nullable Output securityAssessmentId; + + /** + * @return The OCID of the security assessment. + * + */ + public Optional> securityAssessmentId() { + return Optional.ofNullable(this.securityAssessmentId); + } + + private UnsetSecurityAssessmentBaselineManagementState() {} + + private UnsetSecurityAssessmentBaselineManagementState(UnsetSecurityAssessmentBaselineManagementState $) { + this.compartmentId = $.compartmentId; + this.securityAssessmentId = $.securityAssessmentId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(UnsetSecurityAssessmentBaselineManagementState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private UnsetSecurityAssessmentBaselineManagementState $; + + public Builder() { + $ = new UnsetSecurityAssessmentBaselineManagementState(); + } + + public Builder(UnsetSecurityAssessmentBaselineManagementState defaults) { + $ = new UnsetSecurityAssessmentBaselineManagementState(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param securityAssessmentId The OCID of the security assessment. + * + * @return builder + * + */ + public Builder securityAssessmentId(@Nullable Output securityAssessmentId) { + $.securityAssessmentId = securityAssessmentId; + return this; + } + + /** + * @param securityAssessmentId The OCID of the security assessment. + * + * @return builder + * + */ + public Builder securityAssessmentId(String securityAssessmentId) { + return securityAssessmentId(Output.of(securityAssessmentId)); + } + + public UnsetSecurityAssessmentBaselineManagementState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/UnsetUserAssessmentBaselineManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/UnsetUserAssessmentBaselineManagementState.java new file mode 100644 index 0000000000..5d8c97bed1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/inputs/UnsetUserAssessmentBaselineManagementState.java @@ -0,0 +1,132 @@ +// *** 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.DataSafe.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 UnsetUserAssessmentBaselineManagementState extends com.pulumi.resources.ResourceArgs { + + public static final UnsetUserAssessmentBaselineManagementState Empty = new UnsetUserAssessmentBaselineManagementState(); + + /** + * The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * The OCID of the user assessment. + * + */ + @Import(name="userAssessmentId") + private @Nullable Output userAssessmentId; + + /** + * @return The OCID of the user assessment. + * + */ + public Optional> userAssessmentId() { + return Optional.ofNullable(this.userAssessmentId); + } + + private UnsetUserAssessmentBaselineManagementState() {} + + private UnsetUserAssessmentBaselineManagementState(UnsetUserAssessmentBaselineManagementState $) { + this.compartmentId = $.compartmentId; + this.userAssessmentId = $.userAssessmentId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(UnsetUserAssessmentBaselineManagementState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private UnsetUserAssessmentBaselineManagementState $; + + public Builder() { + $ = new UnsetUserAssessmentBaselineManagementState(); + } + + public Builder(UnsetUserAssessmentBaselineManagementState defaults) { + $ = new UnsetUserAssessmentBaselineManagementState(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The compartment OCID where the assessment resides. + * + * ** IMPORTANT ** + * 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 compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param userAssessmentId The OCID of the user assessment. + * + * @return builder + * + */ + public Builder userAssessmentId(@Nullable Output userAssessmentId) { + $.userAssessmentId = userAssessmentId; + return this; + } + + /** + * @param userAssessmentId The OCID of the user assessment. + * + * @return builder + * + */ + public Builder userAssessmentId(String userAssessmentId) { + return userAssessmentId(Output.of(userAssessmentId)); + } + + public UnsetUserAssessmentBaselineManagementState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/outputs/DatabaseSecurityConfigManagementSqlFirewallConfig.java b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/outputs/DatabaseSecurityConfigManagementSqlFirewallConfig.java index 80da5ef7c7..a36ee55327 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataSafe/outputs/DatabaseSecurityConfigManagementSqlFirewallConfig.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataSafe/outputs/DatabaseSecurityConfigManagementSqlFirewallConfig.java @@ -11,21 +11,53 @@ @CustomType public final class DatabaseSecurityConfigManagementSqlFirewallConfig { + /** + * @return (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + * + */ private @Nullable String excludeJob; + /** + * @return (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + * + */ private @Nullable String status; + /** + * @return The most recent time when the firewall status is updated, in the format defined by RFC3339. + * + */ private @Nullable String timeStatusUpdated; + /** + * @return (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + * + */ private @Nullable String violationLogAutoPurge; private DatabaseSecurityConfigManagementSqlFirewallConfig() {} + /** + * @return (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + * + */ public Optional excludeJob() { return Optional.ofNullable(this.excludeJob); } + /** + * @return (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + * + */ public Optional status() { return Optional.ofNullable(this.status); } + /** + * @return The most recent time when the firewall status is updated, in the format defined by RFC3339. + * + */ public Optional timeStatusUpdated() { return Optional.ofNullable(this.timeStatusUpdated); } + /** + * @return (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + * + */ public Optional violationLogAutoPurge() { return Optional.ofNullable(this.violationLogAutoPurge); } 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 24601465f9..12fae53915 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 @@ -205,6 +205,20 @@ public Output autonomousDatabaseId() { public Output autonomousMaintenanceScheduleType() { return this.autonomousMaintenanceScheduleType; } + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + @Export(name="availabilityDomain", refs={String.class}, tree="[0]") + private Output availabilityDomain; + + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public Output availabilityDomain() { + return this.availabilityDomain; + } /** * List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/DataGuardAssociation.java b/sdk/java/src/main/java/com/pulumi/oci/Database/DataGuardAssociation.java index 644eb1e014..5ffe1173bf 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/DataGuardAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/DataGuardAssociation.java @@ -78,6 +78,7 @@ * .dbSystemDefinedTags(dataGuardAssociationDbSystemDefinedTags) * .dbSystemFreeformTags(dataGuardAssociationDbSystemFreeformTags) * .displayName(dataGuardAssociationDisplayName) + * .domain(dataGuardAssociationDomain) * .faultDomains(dataGuardAssociationFaultDomains) * .hostname(dataGuardAssociationHostname) * .isActiveDataGuardEnabled(dataGuardAssociationIsActiveDataGuardEnabled) @@ -347,6 +348,20 @@ public Output deleteStandbyDbHomeOnDelete() { public Output displayName() { return this.displayName; } + /** + * A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * + */ + @Export(name="domain", refs={String.class}, tree="[0]") + private Output domain; + + /** + * @return A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * + */ + public Output domain() { + return this.domain; + } /** * A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/DataGuardAssociationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/DataGuardAssociationArgs.java index cdb6f237b7..d5cedb81f7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/DataGuardAssociationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/DataGuardAssociationArgs.java @@ -246,6 +246,21 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * + */ + @Import(name="domain") + private @Nullable Output domain; + + /** + * @return A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * + */ + public Optional> domain() { + return Optional.ofNullable(this.domain); + } + /** * A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. * @@ -586,6 +601,7 @@ private DataGuardAssociationArgs(DataGuardAssociationArgs $) { this.dbSystemFreeformTags = $.dbSystemFreeformTags; this.deleteStandbyDbHomeOnDelete = $.deleteStandbyDbHomeOnDelete; this.displayName = $.displayName; + this.domain = $.domain; this.faultDomains = $.faultDomains; this.hostname = $.hostname; this.isActiveDataGuardEnabled = $.isActiveDataGuardEnabled; @@ -941,6 +957,27 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param domain A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * + * @return builder + * + */ + public Builder domain(@Nullable Output domain) { + $.domain = domain; + return this; + } + + /** + * @param domain A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * + * @return builder + * + */ + public Builder domain(String domain) { + return domain(Output.of(domain)); + } + /** * @param faultDomains A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. * 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 50489cad28..d1feda031d 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 @@ -4663,22 +4663,9 @@ public static CompletableFuture getAutonomous return Deployment.getInstance().invokeAsync("oci:Database/getAutonomousDatabaseWallet:getAutonomousDatabaseWallet", TypeShape.of(GetAutonomousDatabaseWalletResult.class), args, Utilities.withVersion(options)); } /** - * ## - * - * *** - * ## subcategory: "Database" - * - * layout: "oci" - * page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases" - * sidebar_current: "docs-oci-datasource-database-autonomous_databases" - * description: |- - * Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service - * --- - * - * # Data Source: oci.Database.getAutonomousDatabases - * This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. + * This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. * - * Gets a list of Autonomous Databases based on the query parameters specified. + * Gets the details of the specified Autonomous Database. * * ## Example Usage * @@ -4691,7 +4678,7 @@ public static CompletableFuture getAutonomous * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Database.DatabaseFunctions; - * import com.pulumi.oci.Database.inputs.GetAutonomousDatabasesArgs; + * import com.pulumi.oci.Database.inputs.GetAutonomousDatabaseArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4705,7 +4692,7 @@ public static CompletableFuture getAutonomous * } * * public static void stack(Context ctx) { - * final var testAutonomousDatabases = DatabaseFunctions.getAutonomousDatabases(GetAutonomousDatabasesArgs.builder() + * final var testAutonomousDatabase = DatabaseFunctions.getAutonomousDatabase(GetAutonomousDatabaseArgs.builder() * .compartmentId(compartmentId) * .autonomousContainerDatabaseId(testAutonomousContainerDatabase.id()) * .dbVersion(autonomousDatabaseDbVersion) @@ -4731,22 +4718,9 @@ public static Output getAutonomousDatabases(GetAut return getAutonomousDatabases(args, InvokeOptions.Empty); } /** - * ## - * - * *** - * ## subcategory: "Database" - * - * layout: "oci" - * page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases" - * sidebar_current: "docs-oci-datasource-database-autonomous_databases" - * description: |- - * Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service - * --- - * - * # Data Source: oci.Database.getAutonomousDatabases - * This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. + * This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. * - * Gets a list of Autonomous Databases based on the query parameters specified. + * Gets the details of the specified Autonomous Database. * * ## Example Usage * @@ -4759,7 +4733,7 @@ public static Output getAutonomousDatabases(GetAut * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Database.DatabaseFunctions; - * import com.pulumi.oci.Database.inputs.GetAutonomousDatabasesArgs; + * import com.pulumi.oci.Database.inputs.GetAutonomousDatabaseArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4773,7 +4747,7 @@ public static Output getAutonomousDatabases(GetAut * } * * public static void stack(Context ctx) { - * final var testAutonomousDatabases = DatabaseFunctions.getAutonomousDatabases(GetAutonomousDatabasesArgs.builder() + * final var testAutonomousDatabase = DatabaseFunctions.getAutonomousDatabase(GetAutonomousDatabaseArgs.builder() * .compartmentId(compartmentId) * .autonomousContainerDatabaseId(testAutonomousContainerDatabase.id()) * .dbVersion(autonomousDatabaseDbVersion) @@ -4799,22 +4773,9 @@ public static CompletableFuture getAutonomousDatab return getAutonomousDatabasesPlain(args, InvokeOptions.Empty); } /** - * ## - * - * *** - * ## subcategory: "Database" - * - * layout: "oci" - * page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases" - * sidebar_current: "docs-oci-datasource-database-autonomous_databases" - * description: |- - * Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service - * --- - * - * # Data Source: oci.Database.getAutonomousDatabases - * This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. + * This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. * - * Gets a list of Autonomous Databases based on the query parameters specified. + * Gets the details of the specified Autonomous Database. * * ## Example Usage * @@ -4827,7 +4788,7 @@ public static CompletableFuture getAutonomousDatab * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Database.DatabaseFunctions; - * import com.pulumi.oci.Database.inputs.GetAutonomousDatabasesArgs; + * import com.pulumi.oci.Database.inputs.GetAutonomousDatabaseArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4841,7 +4802,7 @@ public static CompletableFuture getAutonomousDatab * } * * public static void stack(Context ctx) { - * final var testAutonomousDatabases = DatabaseFunctions.getAutonomousDatabases(GetAutonomousDatabasesArgs.builder() + * final var testAutonomousDatabase = DatabaseFunctions.getAutonomousDatabase(GetAutonomousDatabaseArgs.builder() * .compartmentId(compartmentId) * .autonomousContainerDatabaseId(testAutonomousContainerDatabase.id()) * .dbVersion(autonomousDatabaseDbVersion) @@ -4867,22 +4828,9 @@ public static Output getAutonomousDatabases(GetAut return Deployment.getInstance().invoke("oci:Database/getAutonomousDatabases:getAutonomousDatabases", TypeShape.of(GetAutonomousDatabasesResult.class), args, Utilities.withVersion(options)); } /** - * ## - * - * *** - * ## subcategory: "Database" - * - * layout: "oci" - * page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases" - * sidebar_current: "docs-oci-datasource-database-autonomous_databases" - * description: |- - * Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service - * --- - * - * # Data Source: oci.Database.getAutonomousDatabases - * This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. + * This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. * - * Gets a list of Autonomous Databases based on the query parameters specified. + * Gets the details of the specified Autonomous Database. * * ## Example Usage * @@ -4895,7 +4843,7 @@ public static Output getAutonomousDatabases(GetAut * import com.pulumi.Pulumi; * import com.pulumi.core.Output; * import com.pulumi.oci.Database.DatabaseFunctions; - * import com.pulumi.oci.Database.inputs.GetAutonomousDatabasesArgs; + * import com.pulumi.oci.Database.inputs.GetAutonomousDatabaseArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -4909,7 +4857,7 @@ public static Output getAutonomousDatabases(GetAut * } * * public static void stack(Context ctx) { - * final var testAutonomousDatabases = DatabaseFunctions.getAutonomousDatabases(GetAutonomousDatabasesArgs.builder() + * final var testAutonomousDatabase = DatabaseFunctions.getAutonomousDatabase(GetAutonomousDatabaseArgs.builder() * .compartmentId(compartmentId) * .autonomousContainerDatabaseId(testAutonomousContainerDatabase.id()) * .dbVersion(autonomousDatabaseDbVersion) diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseLocalStandbyDbArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseLocalStandbyDbArgs.java index d35528d47c..632448c191 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseLocalStandbyDbArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseLocalStandbyDbArgs.java @@ -16,6 +16,21 @@ public final class AutonomousDatabaseLocalStandbyDbArgs extends com.pulumi.resou public static final AutonomousDatabaseLocalStandbyDbArgs Empty = new AutonomousDatabaseLocalStandbyDbArgs(); + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + @Import(name="availabilityDomain") + private @Nullable Output availabilityDomain; + + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public Optional> availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -94,6 +109,7 @@ public Optional> timeDisasterRecoveryRoleChanged() { private AutonomousDatabaseLocalStandbyDbArgs() {} private AutonomousDatabaseLocalStandbyDbArgs(AutonomousDatabaseLocalStandbyDbArgs $) { + this.availabilityDomain = $.availabilityDomain; this.lagTimeInSeconds = $.lagTimeInSeconds; this.lifecycleDetails = $.lifecycleDetails; this.state = $.state; @@ -119,6 +135,27 @@ public Builder(AutonomousDatabaseLocalStandbyDbArgs defaults) { $ = new AutonomousDatabaseLocalStandbyDbArgs(Objects.requireNonNull(defaults)); } + /** + * @param availabilityDomain The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable Output availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param availabilityDomain The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + * @return builder + * + */ + public Builder availabilityDomain(String availabilityDomain) { + return availabilityDomain(Output.of(availabilityDomain)); + } + /** * @param lagTimeInSeconds The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseStandbyDbArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseStandbyDbArgs.java index 5f99efb226..8415a8b9f0 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseStandbyDbArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseStandbyDbArgs.java @@ -16,6 +16,21 @@ public final class AutonomousDatabaseStandbyDbArgs extends com.pulumi.resources. public static final AutonomousDatabaseStandbyDbArgs Empty = new AutonomousDatabaseStandbyDbArgs(); + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + @Import(name="availabilityDomain") + private @Nullable Output availabilityDomain; + + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public Optional> availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -94,6 +109,7 @@ public Optional> timeDisasterRecoveryRoleChanged() { private AutonomousDatabaseStandbyDbArgs() {} private AutonomousDatabaseStandbyDbArgs(AutonomousDatabaseStandbyDbArgs $) { + this.availabilityDomain = $.availabilityDomain; this.lagTimeInSeconds = $.lagTimeInSeconds; this.lifecycleDetails = $.lifecycleDetails; this.state = $.state; @@ -119,6 +135,27 @@ public Builder(AutonomousDatabaseStandbyDbArgs defaults) { $ = new AutonomousDatabaseStandbyDbArgs(Objects.requireNonNull(defaults)); } + /** + * @param availabilityDomain The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable Output availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param availabilityDomain The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + * @return builder + * + */ + public Builder availabilityDomain(String availabilityDomain) { + return availabilityDomain(Output.of(availabilityDomain)); + } + /** * @param lagTimeInSeconds The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * 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 38e57923e5..06fc890436 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 @@ -199,6 +199,21 @@ public Optional> autonomousMaintenanceScheduleType() { return Optional.ofNullable(this.autonomousMaintenanceScheduleType); } + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + @Import(name="availabilityDomain") + private @Nullable Output availabilityDomain; + + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public Optional> availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + /** * List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. * @@ -2228,6 +2243,7 @@ private AutonomousDatabaseState(AutonomousDatabaseState $) { this.autonomousDatabaseBackupId = $.autonomousDatabaseBackupId; this.autonomousDatabaseId = $.autonomousDatabaseId; this.autonomousMaintenanceScheduleType = $.autonomousMaintenanceScheduleType; + this.availabilityDomain = $.availabilityDomain; this.availableUpgradeVersions = $.availableUpgradeVersions; this.backupConfigs = $.backupConfigs; this.backupRetentionPeriodInDays = $.backupRetentionPeriodInDays; @@ -2614,6 +2630,27 @@ public Builder autonomousMaintenanceScheduleType(String autonomousMaintenanceSch return autonomousMaintenanceScheduleType(Output.of(autonomousMaintenanceScheduleType)); } + /** + * @param availabilityDomain The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable Output availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param availabilityDomain The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + * @return builder + * + */ + public Builder availabilityDomain(String availabilityDomain) { + return availabilityDomain(Output.of(availabilityDomain)); + } + /** * @param availableUpgradeVersions List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/DataGuardAssociationState.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/DataGuardAssociationState.java index aa6f951e48..26950da8b2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/DataGuardAssociationState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/DataGuardAssociationState.java @@ -275,6 +275,21 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * + */ + @Import(name="domain") + private @Nullable Output domain; + + /** + * @return A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * + */ + public Optional> domain() { + return Optional.ofNullable(this.domain); + } + /** * A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. * @@ -722,6 +737,7 @@ private DataGuardAssociationState(DataGuardAssociationState $) { this.dbSystemFreeformTags = $.dbSystemFreeformTags; this.deleteStandbyDbHomeOnDelete = $.deleteStandbyDbHomeOnDelete; this.displayName = $.displayName; + this.domain = $.domain; this.faultDomains = $.faultDomains; this.hostname = $.hostname; this.isActiveDataGuardEnabled = $.isActiveDataGuardEnabled; @@ -1126,6 +1142,27 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param domain A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * + * @return builder + * + */ + public Builder domain(@Nullable Output domain) { + $.domain = domain; + return this; + } + + /** + * @param domain A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + * + * @return builder + * + */ + public Builder domain(String domain) { + return domain(Output.of(domain)); + } + /** * @param faultDomains A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. * 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 a40a7d5ac3..83175d023f 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 @@ -35,14 +35,14 @@ public Optional> autonomousContainerDatabaseId() { } /** - * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * 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 The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. * */ public Output compartmentId() { @@ -50,14 +50,14 @@ public Output compartmentId() { } /** - * A filter to return only autonomous database resources that match the specified dbVersion. + * A valid Oracle Database version for Autonomous Database. * */ @Import(name="dbVersion") private @Nullable Output dbVersion; /** - * @return A filter to return only autonomous database resources that match the specified dbVersion. + * @return A valid Oracle Database version for Autonomous Database. * */ public Optional> dbVersion() { @@ -65,14 +65,22 @@ public Optional> dbVersion() { } /** - * A filter to return only autonomous database resources that match the specified workload type. + * The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. * */ @Import(name="dbWorkload") private @Nullable Output dbWorkload; /** - * @return A filter to return only autonomous database resources that match the specified workload type. + * @return The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. * */ public Optional> dbWorkload() { @@ -80,14 +88,14 @@ public Optional> dbWorkload() { } /** - * A filter to return only resources that match the entire display name given. The match is not case sensitive. + * The user-friendly name for the Autonomous Database. The name does not have to be unique. * */ @Import(name="displayName") private @Nullable Output displayName; /** - * @return A filter to return only resources that match the entire display name given. The match is not case sensitive. + * @return The user-friendly name for the Autonomous Database. The name does not have to be unique. * */ public Optional> displayName() { @@ -102,14 +110,14 @@ public Optional>> filters() { } /** - * A filter to return only resources that match the given Infrastructure Type. + * The infrastructure type this resource belongs to. * */ @Import(name="infrastructureType") private @Nullable Output infrastructureType; /** - * @return A filter to return only resources that match the given Infrastructure Type. + * @return The infrastructure type this resource belongs to. * */ public Optional> infrastructureType() { @@ -117,14 +125,14 @@ public Optional> infrastructureType() { } /** - * A filter to return only resources that have Data Guard enabled. + * **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud{@literal @}Customer infrastructure. * */ @Import(name="isDataGuardEnabled") private @Nullable Output isDataGuardEnabled; /** - * @return A filter to return only resources that have Data Guard enabled. + * @return **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud{@literal @}Customer infrastructure. * */ public Optional> isDataGuardEnabled() { @@ -132,14 +140,14 @@ public Optional> isDataGuardEnabled() { } /** - * 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. + * 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. * */ @Import(name="isFreeTier") private @Nullable Output isFreeTier; /** - * @return 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. + * @return 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. * */ public Optional> isFreeTier() { @@ -147,44 +155,36 @@ public Optional> 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. + * Indicates if the Autonomous Database is a refreshable clone. * */ @Import(name="isRefreshableClone") private @Nullable Output isRefreshableClone; /** - * @return 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. + * @return Indicates if the Autonomous Database is a refreshable clone. * */ 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. + * The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * */ @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. + * @return The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * */ public Optional> resourcePoolLeaderId() { @@ -192,14 +192,14 @@ public Optional> resourcePoolLeaderId() { } /** - * A filter to return only resources that match the given lifecycle state exactly. + * The current state of the Autonomous Database. * */ @Import(name="state") private @Nullable Output state; /** - * @return A filter to return only resources that match the given lifecycle state exactly. + * @return The current state of the Autonomous Database. * */ public Optional> state() { @@ -264,7 +264,7 @@ public Builder autonomousContainerDatabaseId(String autonomousContainerDatabaseI } /** - * @param compartmentId The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. * * @return builder * @@ -275,7 +275,7 @@ public Builder compartmentId(Output compartmentId) { } /** - * @param compartmentId The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. * * @return builder * @@ -285,7 +285,7 @@ public Builder compartmentId(String compartmentId) { } /** - * @param dbVersion A filter to return only autonomous database resources that match the specified dbVersion. + * @param dbVersion A valid Oracle Database version for Autonomous Database. * * @return builder * @@ -296,7 +296,7 @@ public Builder dbVersion(@Nullable Output dbVersion) { } /** - * @param dbVersion A filter to return only autonomous database resources that match the specified dbVersion. + * @param dbVersion A valid Oracle Database version for Autonomous Database. * * @return builder * @@ -306,7 +306,11 @@ public Builder dbVersion(String dbVersion) { } /** - * @param dbWorkload A filter to return only autonomous database resources that match the specified workload type. + * @param dbWorkload The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. * * @return builder * @@ -317,7 +321,11 @@ public Builder dbWorkload(@Nullable Output dbWorkload) { } /** - * @param dbWorkload A filter to return only autonomous database resources that match the specified workload type. + * @param dbWorkload The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. * * @return builder * @@ -327,7 +335,7 @@ public Builder dbWorkload(String dbWorkload) { } /** - * @param displayName A filter to return only resources that match the entire display name given. The match is not case sensitive. + * @param displayName The user-friendly name for the Autonomous Database. The name does not have to be unique. * * @return builder * @@ -338,7 +346,7 @@ public Builder displayName(@Nullable Output displayName) { } /** - * @param displayName A filter to return only resources that match the entire display name given. The match is not case sensitive. + * @param displayName The user-friendly name for the Autonomous Database. The name does not have to be unique. * * @return builder * @@ -361,7 +369,7 @@ public Builder filters(GetAutonomousDatabasesFilterArgs... filters) { } /** - * @param infrastructureType A filter to return only resources that match the given Infrastructure Type. + * @param infrastructureType The infrastructure type this resource belongs to. * * @return builder * @@ -372,7 +380,7 @@ public Builder infrastructureType(@Nullable Output infrastructureType) { } /** - * @param infrastructureType A filter to return only resources that match the given Infrastructure Type. + * @param infrastructureType The infrastructure type this resource belongs to. * * @return builder * @@ -382,7 +390,7 @@ public Builder infrastructureType(String infrastructureType) { } /** - * @param isDataGuardEnabled A filter to return only resources that have Data Guard enabled. + * @param isDataGuardEnabled **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud{@literal @}Customer infrastructure. * * @return builder * @@ -393,7 +401,7 @@ public Builder isDataGuardEnabled(@Nullable Output isDataGuardEnabled) } /** - * @param isDataGuardEnabled A filter to return only resources that have Data Guard enabled. + * @param isDataGuardEnabled **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud{@literal @}Customer infrastructure. * * @return builder * @@ -403,7 +411,7 @@ public Builder isDataGuardEnabled(Boolean isDataGuardEnabled) { } /** - * @param isFreeTier 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 isFreeTier 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. * * @return builder * @@ -414,7 +422,7 @@ public Builder isFreeTier(@Nullable Output isFreeTier) { } /** - * @param isFreeTier 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 isFreeTier 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. * * @return builder * @@ -424,7 +432,7 @@ public Builder isFreeTier(Boolean isFreeTier) { } /** - * @param isRefreshableClone 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 isRefreshableClone Indicates if the Autonomous Database is a refreshable clone. * * @return builder * @@ -435,7 +443,7 @@ public Builder isRefreshableClone(@Nullable Output isRefreshableClone) } /** - * @param isRefreshableClone 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 isRefreshableClone Indicates if the Autonomous Database is a refreshable clone. * * @return builder * @@ -444,29 +452,17 @@ 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. + * @param resourcePoolLeaderId The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * @return builder * @@ -477,7 +473,7 @@ public Builder resourcePoolLeaderId(@Nullable Output resourcePoolLeaderI } /** - * @param resourcePoolLeaderId The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + * @param resourcePoolLeaderId The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * @return builder * @@ -487,7 +483,7 @@ public Builder resourcePoolLeaderId(String resourcePoolLeaderId) { } /** - * @param state A filter to return only resources that match the given lifecycle state exactly. + * @param state The current state of the Autonomous Database. * * @return builder * @@ -498,7 +494,7 @@ public Builder state(@Nullable Output state) { } /** - * @param state A filter to return only resources that match the given lifecycle state exactly. + * @param state The current state of the Autonomous Database. * * @return builder * 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 3479adb9ce..f21ed4bd21 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 @@ -34,14 +34,14 @@ public Optional autonomousContainerDatabaseId() { } /** - * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * 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 The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. * */ public String compartmentId() { @@ -49,14 +49,14 @@ public String compartmentId() { } /** - * A filter to return only autonomous database resources that match the specified dbVersion. + * A valid Oracle Database version for Autonomous Database. * */ @Import(name="dbVersion") private @Nullable String dbVersion; /** - * @return A filter to return only autonomous database resources that match the specified dbVersion. + * @return A valid Oracle Database version for Autonomous Database. * */ public Optional dbVersion() { @@ -64,14 +64,22 @@ public Optional dbVersion() { } /** - * A filter to return only autonomous database resources that match the specified workload type. + * The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. * */ @Import(name="dbWorkload") private @Nullable String dbWorkload; /** - * @return A filter to return only autonomous database resources that match the specified workload type. + * @return The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. * */ public Optional dbWorkload() { @@ -79,14 +87,14 @@ public Optional dbWorkload() { } /** - * A filter to return only resources that match the entire display name given. The match is not case sensitive. + * The user-friendly name for the Autonomous Database. The name does not have to be unique. * */ @Import(name="displayName") private @Nullable String displayName; /** - * @return A filter to return only resources that match the entire display name given. The match is not case sensitive. + * @return The user-friendly name for the Autonomous Database. The name does not have to be unique. * */ public Optional displayName() { @@ -101,14 +109,14 @@ public Optional> filters() { } /** - * A filter to return only resources that match the given Infrastructure Type. + * The infrastructure type this resource belongs to. * */ @Import(name="infrastructureType") private @Nullable String infrastructureType; /** - * @return A filter to return only resources that match the given Infrastructure Type. + * @return The infrastructure type this resource belongs to. * */ public Optional infrastructureType() { @@ -116,14 +124,14 @@ public Optional infrastructureType() { } /** - * A filter to return only resources that have Data Guard enabled. + * **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud{@literal @}Customer infrastructure. * */ @Import(name="isDataGuardEnabled") private @Nullable Boolean isDataGuardEnabled; /** - * @return A filter to return only resources that have Data Guard enabled. + * @return **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud{@literal @}Customer infrastructure. * */ public Optional isDataGuardEnabled() { @@ -131,14 +139,14 @@ public Optional isDataGuardEnabled() { } /** - * 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. + * 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. * */ @Import(name="isFreeTier") private @Nullable Boolean isFreeTier; /** - * @return 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. + * @return 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. * */ public Optional isFreeTier() { @@ -146,44 +154,36 @@ public Optional 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. + * Indicates if the Autonomous Database is a refreshable clone. * */ @Import(name="isRefreshableClone") private @Nullable Boolean isRefreshableClone; /** - * @return 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. + * @return Indicates if the Autonomous Database is a refreshable clone. * */ 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. + * The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * */ @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. + * @return The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * */ public Optional resourcePoolLeaderId() { @@ -191,14 +191,14 @@ public Optional resourcePoolLeaderId() { } /** - * A filter to return only resources that match the given lifecycle state exactly. + * The current state of the Autonomous Database. * */ @Import(name="state") private @Nullable String state; /** - * @return A filter to return only resources that match the given lifecycle state exactly. + * @return The current state of the Autonomous Database. * */ public Optional state() { @@ -253,7 +253,7 @@ public Builder autonomousContainerDatabaseId(@Nullable String autonomousContaine } /** - * @param compartmentId The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. * * @return builder * @@ -264,7 +264,7 @@ public Builder compartmentId(String compartmentId) { } /** - * @param dbVersion A filter to return only autonomous database resources that match the specified dbVersion. + * @param dbVersion A valid Oracle Database version for Autonomous Database. * * @return builder * @@ -275,7 +275,11 @@ public Builder dbVersion(@Nullable String dbVersion) { } /** - * @param dbWorkload A filter to return only autonomous database resources that match the specified workload type. + * @param dbWorkload The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. * * @return builder * @@ -286,7 +290,7 @@ public Builder dbWorkload(@Nullable String dbWorkload) { } /** - * @param displayName A filter to return only resources that match the entire display name given. The match is not case sensitive. + * @param displayName The user-friendly name for the Autonomous Database. The name does not have to be unique. * * @return builder * @@ -306,7 +310,7 @@ public Builder filters(GetAutonomousDatabasesFilter... filters) { } /** - * @param infrastructureType A filter to return only resources that match the given Infrastructure Type. + * @param infrastructureType The infrastructure type this resource belongs to. * * @return builder * @@ -317,7 +321,7 @@ public Builder infrastructureType(@Nullable String infrastructureType) { } /** - * @param isDataGuardEnabled A filter to return only resources that have Data Guard enabled. + * @param isDataGuardEnabled **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud{@literal @}Customer infrastructure. * * @return builder * @@ -328,7 +332,7 @@ public Builder isDataGuardEnabled(@Nullable Boolean isDataGuardEnabled) { } /** - * @param isFreeTier 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 isFreeTier 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. * * @return builder * @@ -339,7 +343,7 @@ public Builder isFreeTier(@Nullable Boolean isFreeTier) { } /** - * @param isRefreshableClone 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 isRefreshableClone Indicates if the Autonomous Database is a refreshable clone. * * @return builder * @@ -349,19 +353,13 @@ 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. + * @param resourcePoolLeaderId The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * @return builder * @@ -372,7 +370,7 @@ public Builder resourcePoolLeaderId(@Nullable String resourcePoolLeaderId) { } /** - * @param state A filter to return only resources that match the given lifecycle state exactly. + * @param state The current state of the Autonomous Database. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseLocalStandbyDb.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseLocalStandbyDb.java index 64d5c397bc..f89640e13c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseLocalStandbyDb.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseLocalStandbyDb.java @@ -12,6 +12,11 @@ @CustomType public final class AutonomousDatabaseLocalStandbyDb { + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + private @Nullable String availabilityDomain; /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -39,6 +44,13 @@ public final class AutonomousDatabaseLocalStandbyDb { private @Nullable String timeDisasterRecoveryRoleChanged; private AutonomousDatabaseLocalStandbyDb() {} + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public Optional availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -84,6 +96,7 @@ public static Builder builder(AutonomousDatabaseLocalStandbyDb defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable String availabilityDomain; private @Nullable Integer lagTimeInSeconds; private @Nullable String lifecycleDetails; private @Nullable String state; @@ -92,6 +105,7 @@ public static final class Builder { public Builder() {} public Builder(AutonomousDatabaseLocalStandbyDb defaults) { Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; this.state = defaults.state; @@ -99,6 +113,12 @@ public Builder(AutonomousDatabaseLocalStandbyDb defaults) { this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; } + @CustomType.Setter + public Builder availabilityDomain(@Nullable String availabilityDomain) { + + this.availabilityDomain = availabilityDomain; + return this; + } @CustomType.Setter public Builder lagTimeInSeconds(@Nullable Integer lagTimeInSeconds) { @@ -131,6 +151,7 @@ public Builder timeDisasterRecoveryRoleChanged(@Nullable String timeDisasterReco } public AutonomousDatabaseLocalStandbyDb build() { final var _resultValue = new AutonomousDatabaseLocalStandbyDb(); + _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; _resultValue.state = state; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseStandbyDb.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseStandbyDb.java index e3d47fa7f1..1ac521629e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseStandbyDb.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseStandbyDb.java @@ -12,6 +12,11 @@ @CustomType public final class AutonomousDatabaseStandbyDb { + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + private @Nullable String availabilityDomain; /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -39,6 +44,13 @@ public final class AutonomousDatabaseStandbyDb { private @Nullable String timeDisasterRecoveryRoleChanged; private AutonomousDatabaseStandbyDb() {} + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public Optional availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -84,6 +96,7 @@ public static Builder builder(AutonomousDatabaseStandbyDb defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable String availabilityDomain; private @Nullable Integer lagTimeInSeconds; private @Nullable String lifecycleDetails; private @Nullable String state; @@ -92,6 +105,7 @@ public static final class Builder { public Builder() {} public Builder(AutonomousDatabaseStandbyDb defaults) { Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; this.state = defaults.state; @@ -99,6 +113,12 @@ public Builder(AutonomousDatabaseStandbyDb defaults) { this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; } + @CustomType.Setter + public Builder availabilityDomain(@Nullable String availabilityDomain) { + + this.availabilityDomain = availabilityDomain; + return this; + } @CustomType.Setter public Builder lagTimeInSeconds(@Nullable Integer lagTimeInSeconds) { @@ -131,6 +151,7 @@ public Builder timeDisasterRecoveryRoleChanged(@Nullable String timeDisasterReco } public AutonomousDatabaseStandbyDb build() { final var _resultValue = new AutonomousDatabaseStandbyDb(); + _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; _resultValue.state = state; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseLocalStandbyDb.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseLocalStandbyDb.java index dbd7f5838a..3eb6713af2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseLocalStandbyDb.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseLocalStandbyDb.java @@ -11,6 +11,11 @@ @CustomType public final class GetAutonomousDatabaseLocalStandbyDb { + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + private String availabilityDomain; /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -38,6 +43,13 @@ public final class GetAutonomousDatabaseLocalStandbyDb { private String timeDisasterRecoveryRoleChanged; private GetAutonomousDatabaseLocalStandbyDb() {} + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public String availabilityDomain() { + return this.availabilityDomain; + } /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -83,6 +95,7 @@ public static Builder builder(GetAutonomousDatabaseLocalStandbyDb defaults) { } @CustomType.Builder public static final class Builder { + private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; private String state; @@ -91,6 +104,7 @@ public static final class Builder { public Builder() {} public Builder(GetAutonomousDatabaseLocalStandbyDb defaults) { Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; this.state = defaults.state; @@ -98,6 +112,14 @@ public Builder(GetAutonomousDatabaseLocalStandbyDb defaults) { this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; } + @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabaseLocalStandbyDb", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } @CustomType.Setter public Builder lagTimeInSeconds(Integer lagTimeInSeconds) { if (lagTimeInSeconds == null) { @@ -140,6 +162,7 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh } public GetAutonomousDatabaseLocalStandbyDb build() { final var _resultValue = new GetAutonomousDatabaseLocalStandbyDb(); + _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; _resultValue.state = state; 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 ec8f9ae24a..d26eed04dd 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 @@ -72,6 +72,11 @@ public final class GetAutonomousDatabaseResult { * */ private String autonomousMaintenanceScheduleType; + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + private String availabilityDomain; /** * @return List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. * @@ -725,6 +730,13 @@ public String autonomousDatabaseId() { public String autonomousMaintenanceScheduleType() { return this.autonomousMaintenanceScheduleType; } + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public String availabilityDomain() { + return this.availabilityDomain; + } /** * @return List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. * @@ -1584,6 +1596,7 @@ public static final class Builder { private String autonomousDatabaseBackupId; private String autonomousDatabaseId; private String autonomousMaintenanceScheduleType; + private String availabilityDomain; private List availableUpgradeVersions; private List backupConfigs; private Integer backupRetentionPeriodInDays; @@ -1724,6 +1737,7 @@ public Builder(GetAutonomousDatabaseResult defaults) { this.autonomousDatabaseBackupId = defaults.autonomousDatabaseBackupId; this.autonomousDatabaseId = defaults.autonomousDatabaseId; this.autonomousMaintenanceScheduleType = defaults.autonomousMaintenanceScheduleType; + this.availabilityDomain = defaults.availabilityDomain; this.availableUpgradeVersions = defaults.availableUpgradeVersions; this.backupConfigs = defaults.backupConfigs; this.backupRetentionPeriodInDays = defaults.backupRetentionPeriodInDays; @@ -1944,6 +1958,14 @@ public Builder autonomousMaintenanceScheduleType(String autonomousMaintenanceSch return this; } @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabaseResult", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } + @CustomType.Setter public Builder availableUpgradeVersions(List availableUpgradeVersions) { if (availableUpgradeVersions == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabaseResult", "availableUpgradeVersions"); @@ -3024,6 +3046,7 @@ public GetAutonomousDatabaseResult build() { _resultValue.autonomousDatabaseBackupId = autonomousDatabaseBackupId; _resultValue.autonomousDatabaseId = autonomousDatabaseId; _resultValue.autonomousMaintenanceScheduleType = autonomousMaintenanceScheduleType; + _resultValue.availabilityDomain = availabilityDomain; _resultValue.availableUpgradeVersions = availableUpgradeVersions; _resultValue.backupConfigs = backupConfigs; _resultValue.backupRetentionPeriodInDays = backupRetentionPeriodInDays; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseStandbyDb.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseStandbyDb.java index c3ff13efe2..6465bab5a3 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseStandbyDb.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseStandbyDb.java @@ -11,6 +11,11 @@ @CustomType public final class GetAutonomousDatabaseStandbyDb { + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + private String availabilityDomain; /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -38,6 +43,13 @@ public final class GetAutonomousDatabaseStandbyDb { private String timeDisasterRecoveryRoleChanged; private GetAutonomousDatabaseStandbyDb() {} + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public String availabilityDomain() { + return this.availabilityDomain; + } /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -83,6 +95,7 @@ public static Builder builder(GetAutonomousDatabaseStandbyDb defaults) { } @CustomType.Builder public static final class Builder { + private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; private String state; @@ -91,6 +104,7 @@ public static final class Builder { public Builder() {} public Builder(GetAutonomousDatabaseStandbyDb defaults) { Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; this.state = defaults.state; @@ -98,6 +112,14 @@ public Builder(GetAutonomousDatabaseStandbyDb defaults) { this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; } + @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabaseStandbyDb", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } @CustomType.Setter public Builder lagTimeInSeconds(Integer lagTimeInSeconds) { if (lagTimeInSeconds == null) { @@ -140,6 +162,7 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh } public GetAutonomousDatabaseStandbyDb build() { final var _resultValue = new GetAutonomousDatabaseStandbyDb(); + _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; _resultValue.state = state; 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 a01f090214..a23d01158e 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 @@ -66,12 +66,21 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private String autonomousContainerDatabaseId; private String autonomousDatabaseBackupId; + /** + * @return The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ private String autonomousDatabaseId; /** * @return The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle * */ private String autonomousMaintenanceScheduleType; + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + private String availabilityDomain; /** * @return List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. * @@ -100,7 +109,7 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private String clusterPlacementGroupId; /** - * @return The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. * */ private String compartmentId; @@ -175,12 +184,16 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private List dbToolsDetails; /** - * @return A filter to return only autonomous database resources that match the specified dbVersion. + * @return A valid Oracle Database version for Autonomous Database. * */ private String dbVersion; /** - * @return A filter to return only autonomous database resources that match the specified workload type. + * @return The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. * */ private String dbWorkload; @@ -200,7 +213,7 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private String disasterRecoveryType; /** - * @return A filter to return only resources that match the entire display name given. The match is not case sensitive. + * @return The user-friendly name for the Autonomous Database. The name does not have to be unique. * */ private String displayName; @@ -230,7 +243,7 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private Integer inMemoryPercentage; /** - * @return A filter to return only resources that match the given Infrastructure Type. + * @return The infrastructure type this resource belongs to. * */ private String infrastructureType; @@ -250,7 +263,7 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private Boolean isAutoScalingForStorageEnabled; /** - * @return A filter to return only resources that have Data Guard enabled. + * @return **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud{@literal @}Customer infrastructure. * */ private Boolean isDataGuardEnabled; @@ -265,7 +278,7 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private Boolean isDevTier; /** - * @return 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. + * @return 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. * */ private Boolean isFreeTier; @@ -291,7 +304,7 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private Boolean isReconnectCloneEnabled; /** - * @return 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. + * @return Indicates if the Autonomous Database is a refreshable clone. * */ private Boolean isRefreshableClone; @@ -378,7 +391,7 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private Integer maxCpuCoreCount; /** - * @return The amount of memory (in GBs) enabled per OCPU or ECPU. + * @return The amount of memory (in GBs) enabled per ECPU or OCPU. * */ private Integer memoryPerOracleComputeUnitInGbs; @@ -475,7 +488,7 @@ 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. + * @return The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * */ private String resourcePoolLeaderId; @@ -520,7 +533,7 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private List standbyWhitelistedIps; /** - * @return A filter to return only resources that match the given lifecycle state exactly. + * @return The current state of the Autonomous Database. * */ private String state; @@ -531,6 +544,7 @@ public final class GetAutonomousDatabasesAutonomousDatabase { private String subnetId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + * 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 the backup subnet. * */ private String subscriptionId; @@ -710,6 +724,10 @@ public String autonomousContainerDatabaseId() { public String autonomousDatabaseBackupId() { return this.autonomousDatabaseBackupId; } + /** + * @return The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ public String autonomousDatabaseId() { return this.autonomousDatabaseId; } @@ -720,6 +738,13 @@ public String autonomousDatabaseId() { public String autonomousMaintenanceScheduleType() { return this.autonomousMaintenanceScheduleType; } + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public String availabilityDomain() { + return this.availabilityDomain; + } /** * @return List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. * @@ -762,7 +787,7 @@ public String clusterPlacementGroupId() { return this.clusterPlacementGroupId; } /** - * @return The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. * */ public String compartmentId() { @@ -867,14 +892,18 @@ public List dbToolsDetail return this.dbToolsDetails; } /** - * @return A filter to return only autonomous database resources that match the specified dbVersion. + * @return A valid Oracle Database version for Autonomous Database. * */ public String dbVersion() { return this.dbVersion; } /** - * @return A filter to return only autonomous database resources that match the specified workload type. + * @return The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. * */ public String dbWorkload() { @@ -902,7 +931,7 @@ public String disasterRecoveryType() { return this.disasterRecoveryType; } /** - * @return A filter to return only resources that match the entire display name given. The match is not case sensitive. + * @return The user-friendly name for the Autonomous Database. The name does not have to be unique. * */ public String displayName() { @@ -944,7 +973,7 @@ public Integer inMemoryPercentage() { return this.inMemoryPercentage; } /** - * @return A filter to return only resources that match the given Infrastructure Type. + * @return The infrastructure type this resource belongs to. * */ public String infrastructureType() { @@ -972,7 +1001,7 @@ public Boolean isAutoScalingForStorageEnabled() { return this.isAutoScalingForStorageEnabled; } /** - * @return A filter to return only resources that have Data Guard enabled. + * @return **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud{@literal @}Customer infrastructure. * */ public Boolean isDataGuardEnabled() { @@ -993,7 +1022,7 @@ public Boolean isDevTier() { return this.isDevTier; } /** - * @return 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. + * @return 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. * */ public Boolean isFreeTier() { @@ -1031,7 +1060,7 @@ public Boolean isReconnectCloneEnabled() { return this.isReconnectCloneEnabled; } /** - * @return 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. + * @return Indicates if the Autonomous Database is a refreshable clone. * */ public Boolean isRefreshableClone() { @@ -1152,7 +1181,7 @@ public Integer maxCpuCoreCount() { return this.maxCpuCoreCount; } /** - * @return The amount of memory (in GBs) enabled per OCPU or ECPU. + * @return The amount of memory (in GBs) enabled per ECPU or OCPU. * */ public Integer memoryPerOracleComputeUnitInGbs() { @@ -1289,7 +1318,7 @@ public String remoteDisasterRecoveryType() { return this.remoteDisasterRecoveryType; } /** - * @return The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + * @return The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * */ public String resourcePoolLeaderId() { @@ -1360,7 +1389,7 @@ public List standbyWhitelistedIps() { return this.standbyWhitelistedIps; } /** - * @return A filter to return only resources that match the given lifecycle state exactly. + * @return The current state of the Autonomous Database. * */ public String state() { @@ -1375,6 +1404,7 @@ public String subnetId() { } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + * 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 the backup subnet. * */ public String subscriptionId() { @@ -1574,6 +1604,7 @@ public static final class Builder { private String autonomousDatabaseBackupId; private String autonomousDatabaseId; private String autonomousMaintenanceScheduleType; + private String availabilityDomain; private List availableUpgradeVersions; private List backupConfigs; private Integer backupRetentionPeriodInDays; @@ -1714,6 +1745,7 @@ public Builder(GetAutonomousDatabasesAutonomousDatabase defaults) { this.autonomousDatabaseBackupId = defaults.autonomousDatabaseBackupId; this.autonomousDatabaseId = defaults.autonomousDatabaseId; this.autonomousMaintenanceScheduleType = defaults.autonomousMaintenanceScheduleType; + this.availabilityDomain = defaults.availabilityDomain; this.availableUpgradeVersions = defaults.availableUpgradeVersions; this.backupConfigs = defaults.backupConfigs; this.backupRetentionPeriodInDays = defaults.backupRetentionPeriodInDays; @@ -1934,6 +1966,14 @@ public Builder autonomousMaintenanceScheduleType(String autonomousMaintenanceSch return this; } @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabase", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } + @CustomType.Setter public Builder availableUpgradeVersions(List availableUpgradeVersions) { if (availableUpgradeVersions == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabase", "availableUpgradeVersions"); @@ -3014,6 +3054,7 @@ public GetAutonomousDatabasesAutonomousDatabase build() { _resultValue.autonomousDatabaseBackupId = autonomousDatabaseBackupId; _resultValue.autonomousDatabaseId = autonomousDatabaseId; _resultValue.autonomousMaintenanceScheduleType = autonomousMaintenanceScheduleType; + _resultValue.availabilityDomain = availabilityDomain; _resultValue.availableUpgradeVersions = availableUpgradeVersions; _resultValue.backupConfigs = backupConfigs; _resultValue.backupRetentionPeriodInDays = backupRetentionPeriodInDays; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile.java index 7dacb48f52..c2b2984a12 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfile.java @@ -17,7 +17,7 @@ public final class GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfi */ private String consumerGroup; /** - * @return A filter to return only resources that match the entire display name given. The match is not case sensitive. + * @return The user-friendly name for the Autonomous Database. The name does not have to be unique. * */ private String displayName; @@ -26,10 +26,6 @@ public final class GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfi * */ private String hostFormat; - /** - * @return True for a regional connection string, applicable to cross-region DG only. - * - */ private Boolean isRegional; /** * @return Protocol used by the connection. @@ -42,7 +38,7 @@ public final class GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfi */ private String sessionMode; /** - * @return Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Database Serverless instances always use the long format. + * @return Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. * */ private String syntaxFormat; @@ -66,7 +62,7 @@ public String consumerGroup() { return this.consumerGroup; } /** - * @return A filter to return only resources that match the entire display name given. The match is not case sensitive. + * @return The user-friendly name for the Autonomous Database. The name does not have to be unique. * */ public String displayName() { @@ -79,10 +75,6 @@ public String displayName() { public String hostFormat() { return this.hostFormat; } - /** - * @return True for a regional connection string, applicable to cross-region DG only. - * - */ public Boolean isRegional() { return this.isRegional; } @@ -101,7 +93,7 @@ public String sessionMode() { return this.sessionMode; } /** - * @return Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Database Serverless instances always use the long format. + * @return Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. * */ public String syntaxFormat() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb.java index 0553d3c8fd..4cb02d4f04 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb.java @@ -11,6 +11,11 @@ @CustomType public final class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb { + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + private String availabilityDomain; /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -22,7 +27,7 @@ public final class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb { */ private String lifecycleDetails; /** - * @return A filter to return only resources that match the given lifecycle state exactly. + * @return The current state of the Autonomous Database. * */ private String state; @@ -38,6 +43,13 @@ public final class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb { private String timeDisasterRecoveryRoleChanged; private GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb() {} + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public String availabilityDomain() { + return this.availabilityDomain; + } /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -53,7 +65,7 @@ public String lifecycleDetails() { return this.lifecycleDetails; } /** - * @return A filter to return only resources that match the given lifecycle state exactly. + * @return The current state of the Autonomous Database. * */ public String state() { @@ -83,6 +95,7 @@ public static Builder builder(GetAutonomousDatabasesAutonomousDatabaseLocalStand } @CustomType.Builder public static final class Builder { + private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; private String state; @@ -91,6 +104,7 @@ public static final class Builder { public Builder() {} public Builder(GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb defaults) { Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; this.state = defaults.state; @@ -98,6 +112,14 @@ public Builder(GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb defaults) this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; } + @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } @CustomType.Setter public Builder lagTimeInSeconds(Integer lagTimeInSeconds) { if (lagTimeInSeconds == null) { @@ -140,6 +162,7 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh } public GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb build() { final var _resultValue = new GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb(); + _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; _resultValue.state = state; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDb.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDb.java index 6a699cc1d9..ba0efd2bef 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDb.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseStandbyDb.java @@ -11,6 +11,11 @@ @CustomType public final class GetAutonomousDatabasesAutonomousDatabaseStandbyDb { + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + private String availabilityDomain; /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -22,7 +27,7 @@ public final class GetAutonomousDatabasesAutonomousDatabaseStandbyDb { */ private String lifecycleDetails; /** - * @return A filter to return only resources that match the given lifecycle state exactly. + * @return The current state of the Autonomous Database. * */ private String state; @@ -38,6 +43,13 @@ public final class GetAutonomousDatabasesAutonomousDatabaseStandbyDb { private String timeDisasterRecoveryRoleChanged; private GetAutonomousDatabasesAutonomousDatabaseStandbyDb() {} + /** + * @return The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + * + */ + public String availabilityDomain() { + return this.availabilityDomain; + } /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -53,7 +65,7 @@ public String lifecycleDetails() { return this.lifecycleDetails; } /** - * @return A filter to return only resources that match the given lifecycle state exactly. + * @return The current state of the Autonomous Database. * */ public String state() { @@ -83,6 +95,7 @@ public static Builder builder(GetAutonomousDatabasesAutonomousDatabaseStandbyDb } @CustomType.Builder public static final class Builder { + private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; private String state; @@ -91,6 +104,7 @@ public static final class Builder { public Builder() {} public Builder(GetAutonomousDatabasesAutonomousDatabaseStandbyDb defaults) { Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; this.state = defaults.state; @@ -98,6 +112,14 @@ public Builder(GetAutonomousDatabasesAutonomousDatabaseStandbyDb defaults) { this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; } + @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesAutonomousDatabaseStandbyDb", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } @CustomType.Setter public Builder lagTimeInSeconds(Integer lagTimeInSeconds) { if (lagTimeInSeconds == null) { @@ -140,6 +162,7 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh } public GetAutonomousDatabasesAutonomousDatabaseStandbyDb build() { final var _resultValue = new GetAutonomousDatabasesAutonomousDatabaseStandbyDb(); + _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; _resultValue.state = state; 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 fec1433e1f..61524ccab4 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 @@ -65,10 +65,11 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabase { */ private String autonomousContainerDatabaseId; /** - * @return The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle + * @return The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle* `availability_domain` - The availability domain where the Autonomous Database Serverless instance is located. * */ private String autonomousMaintenanceScheduleType; + private String availabilityDomain; /** * @return List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. * @@ -345,7 +346,7 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabase { */ private String localDisasterRecoveryType; /** - * @return Autonomous Data Guard standby database details. + * @return Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. * */ private List localStandbyDbs; @@ -476,7 +477,7 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabase { */ private String sourceId; /** - * @return **Deprecated** Autonomous Data Guard standby database details. + * @return **Deprecated** Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. * */ private List standbyDbs; @@ -663,12 +664,15 @@ public String autonomousContainerDatabaseId() { return this.autonomousContainerDatabaseId; } /** - * @return The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle + * @return The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle* `availability_domain` - The availability domain where the Autonomous Database Serverless instance is located. * */ public String autonomousMaintenanceScheduleType() { return this.autonomousMaintenanceScheduleType; } + public String availabilityDomain() { + return this.availabilityDomain; + } /** * @return List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. * @@ -1055,7 +1059,7 @@ public String localDisasterRecoveryType() { return this.localDisasterRecoveryType; } /** - * @return Autonomous Data Guard standby database details. + * @return Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. * */ public List localStandbyDbs() { @@ -1238,7 +1242,7 @@ public String sourceId() { return this.sourceId; } /** - * @return **Deprecated** Autonomous Data Guard standby database details. + * @return **Deprecated** Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. * */ public List standbyDbs() { @@ -1447,6 +1451,7 @@ public static final class Builder { private Integer autoRefreshPointLagInSeconds; private String autonomousContainerDatabaseId; private String autonomousMaintenanceScheduleType; + private String availabilityDomain; private List availableUpgradeVersions; private List backupConfigs; private Integer backupRetentionPeriodInDays; @@ -1567,6 +1572,7 @@ public Builder(GetAutonomousDatabasesClonesAutonomousDatabase defaults) { this.autoRefreshPointLagInSeconds = defaults.autoRefreshPointLagInSeconds; this.autonomousContainerDatabaseId = defaults.autonomousContainerDatabaseId; this.autonomousMaintenanceScheduleType = defaults.autonomousMaintenanceScheduleType; + this.availabilityDomain = defaults.availabilityDomain; this.availableUpgradeVersions = defaults.availableUpgradeVersions; this.backupConfigs = defaults.backupConfigs; this.backupRetentionPeriodInDays = defaults.backupRetentionPeriodInDays; @@ -1746,6 +1752,14 @@ public Builder autonomousMaintenanceScheduleType(String autonomousMaintenanceSch return this; } @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabase", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } + @CustomType.Setter public Builder availableUpgradeVersions(List availableUpgradeVersions) { if (availableUpgradeVersions == null) { throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabase", "availableUpgradeVersions"); @@ -2687,6 +2701,7 @@ public GetAutonomousDatabasesClonesAutonomousDatabase build() { _resultValue.autoRefreshPointLagInSeconds = autoRefreshPointLagInSeconds; _resultValue.autonomousContainerDatabaseId = autonomousContainerDatabaseId; _resultValue.autonomousMaintenanceScheduleType = autonomousMaintenanceScheduleType; + _resultValue.availabilityDomain = availabilityDomain; _resultValue.availableUpgradeVersions = availableUpgradeVersions; _resultValue.backupConfigs = backupConfigs; _resultValue.backupRetentionPeriodInDays = backupRetentionPeriodInDays; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb.java index 4ef5a18d21..ee0d5d2955 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb.java @@ -11,6 +11,7 @@ @CustomType public final class GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb { + private String availabilityDomain; /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -38,6 +39,9 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb private String timeDisasterRecoveryRoleChanged; private GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb() {} + public String availabilityDomain() { + return this.availabilityDomain; + } /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -83,6 +87,7 @@ public static Builder builder(GetAutonomousDatabasesClonesAutonomousDatabaseLoca } @CustomType.Builder public static final class Builder { + private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; private String state; @@ -91,6 +96,7 @@ public static final class Builder { public Builder() {} public Builder(GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb defaults) { Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; this.state = defaults.state; @@ -98,6 +104,14 @@ public Builder(GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb defa this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; } + @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } @CustomType.Setter public Builder lagTimeInSeconds(Integer lagTimeInSeconds) { if (lagTimeInSeconds == null) { @@ -140,6 +154,7 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh } public GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb build() { final var _resultValue = new GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb(); + _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; _resultValue.state = state; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb.java index 69e13db48f..487a4c7f9f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb.java @@ -11,6 +11,7 @@ @CustomType public final class GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb { + private String availabilityDomain; /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -38,6 +39,9 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb { private String timeDisasterRecoveryRoleChanged; private GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb() {} + public String availabilityDomain() { + return this.availabilityDomain; + } /** * @return The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. * @@ -83,6 +87,7 @@ public static Builder builder(GetAutonomousDatabasesClonesAutonomousDatabaseStan } @CustomType.Builder public static final class Builder { + private String availabilityDomain; private Integer lagTimeInSeconds; private String lifecycleDetails; private String state; @@ -91,6 +96,7 @@ public static final class Builder { public Builder() {} public Builder(GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb defaults) { Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; this.lagTimeInSeconds = defaults.lagTimeInSeconds; this.lifecycleDetails = defaults.lifecycleDetails; this.state = defaults.state; @@ -98,6 +104,14 @@ public Builder(GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb defaults) this.timeDisasterRecoveryRoleChanged = defaults.timeDisasterRecoveryRoleChanged; } + @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } @CustomType.Setter public Builder lagTimeInSeconds(Integer lagTimeInSeconds) { if (lagTimeInSeconds == null) { @@ -140,6 +154,7 @@ public Builder timeDisasterRecoveryRoleChanged(String timeDisasterRecoveryRoleCh } public GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb build() { final var _resultValue = new GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb(); + _resultValue.availabilityDomain = availabilityDomain; _resultValue.lagTimeInSeconds = lagTimeInSeconds; _resultValue.lifecycleDetails = lifecycleDetails; _resultValue.state = state; 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 79b208c477..7fda7fe797 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 @@ -21,10 +21,6 @@ public final class GetAutonomousDatabasesResult { * */ private @Nullable String autonomousContainerDatabaseId; - /** - * @return The list of autonomous_databases. - * - */ private List autonomousDatabases; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -96,10 +92,6 @@ private GetAutonomousDatabasesResult() {} public Optional autonomousContainerDatabaseId() { return Optional.ofNullable(this.autonomousContainerDatabaseId); } - /** - * @return The list of autonomous_databases. - * - */ public List autonomousDatabases() { return this.autonomousDatabases; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDataGuardAssociationResult.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDataGuardAssociationResult.java index e31259722d..f7546cf299 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDataGuardAssociationResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDataGuardAssociationResult.java @@ -45,6 +45,7 @@ public final class GetDataGuardAssociationResult { private Map dbSystemFreeformTags; private String deleteStandbyDbHomeOnDelete; private String displayName; + private String domain; private List faultDomains; private String hostname; /** @@ -191,6 +192,9 @@ public String deleteStandbyDbHomeOnDelete() { public String displayName() { return this.displayName; } + public String domain() { + return this.domain; + } public List faultDomains() { return this.faultDomains; } @@ -349,6 +353,7 @@ public static final class Builder { private Map dbSystemFreeformTags; private String deleteStandbyDbHomeOnDelete; private String displayName; + private String domain; private List faultDomains; private String hostname; private String id; @@ -396,6 +401,7 @@ public Builder(GetDataGuardAssociationResult defaults) { this.dbSystemFreeformTags = defaults.dbSystemFreeformTags; this.deleteStandbyDbHomeOnDelete = defaults.deleteStandbyDbHomeOnDelete; this.displayName = defaults.displayName; + this.domain = defaults.domain; this.faultDomains = defaults.faultDomains; this.hostname = defaults.hostname; this.id = defaults.id; @@ -575,6 +581,14 @@ public Builder displayName(String displayName) { return this; } @CustomType.Setter + public Builder domain(String domain) { + if (domain == null) { + throw new MissingRequiredPropertyException("GetDataGuardAssociationResult", "domain"); + } + this.domain = domain; + return this; + } + @CustomType.Setter public Builder faultDomains(List faultDomains) { if (faultDomains == null) { throw new MissingRequiredPropertyException("GetDataGuardAssociationResult", "faultDomains"); @@ -808,6 +822,7 @@ public GetDataGuardAssociationResult build() { _resultValue.dbSystemFreeformTags = dbSystemFreeformTags; _resultValue.deleteStandbyDbHomeOnDelete = deleteStandbyDbHomeOnDelete; _resultValue.displayName = displayName; + _resultValue.domain = domain; _resultValue.faultDomains = faultDomains; _resultValue.hostname = hostname; _resultValue.id = id; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDataGuardAssociationsDataGuardAssociation.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDataGuardAssociationsDataGuardAssociation.java index 44196b927f..abe8ac9d45 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDataGuardAssociationsDataGuardAssociation.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetDataGuardAssociationsDataGuardAssociation.java @@ -44,6 +44,7 @@ public final class GetDataGuardAssociationsDataGuardAssociation { private Map dbSystemFreeformTags; private String deleteStandbyDbHomeOnDelete; private String displayName; + private String domain; private List faultDomains; private String hostname; /** @@ -187,6 +188,9 @@ public String deleteStandbyDbHomeOnDelete() { public String displayName() { return this.displayName; } + public String domain() { + return this.domain; + } public List faultDomains() { return this.faultDomains; } @@ -344,6 +348,7 @@ public static final class Builder { private Map dbSystemFreeformTags; private String deleteStandbyDbHomeOnDelete; private String displayName; + private String domain; private List faultDomains; private String hostname; private String id; @@ -390,6 +395,7 @@ public Builder(GetDataGuardAssociationsDataGuardAssociation defaults) { this.dbSystemFreeformTags = defaults.dbSystemFreeformTags; this.deleteStandbyDbHomeOnDelete = defaults.deleteStandbyDbHomeOnDelete; this.displayName = defaults.displayName; + this.domain = defaults.domain; this.faultDomains = defaults.faultDomains; this.hostname = defaults.hostname; this.id = defaults.id; @@ -561,6 +567,14 @@ public Builder displayName(String displayName) { return this; } @CustomType.Setter + public Builder domain(String domain) { + if (domain == null) { + throw new MissingRequiredPropertyException("GetDataGuardAssociationsDataGuardAssociation", "domain"); + } + this.domain = domain; + return this; + } + @CustomType.Setter public Builder faultDomains(List faultDomains) { if (faultDomains == null) { throw new MissingRequiredPropertyException("GetDataGuardAssociationsDataGuardAssociation", "faultDomains"); @@ -793,6 +807,7 @@ public GetDataGuardAssociationsDataGuardAssociation build() { _resultValue.dbSystemFreeformTags = dbSystemFreeformTags; _resultValue.deleteStandbyDbHomeOnDelete = deleteStandbyDbHomeOnDelete; _resultValue.displayName = displayName; + _resultValue.domain = domain; _resultValue.faultDomains = faultDomains; _resultValue.hostname = hostname; _resultValue.id = id; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.java new file mode 100644 index 0000000000..bf63b89868 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.java @@ -0,0 +1,198 @@ +// *** 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.DatabaseManagement; + +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.DatabaseManagement.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs; +import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState; +import com.pulumi.oci.DatabaseManagement.outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails; +import com.pulumi.oci.Utilities; +import java.lang.Boolean; +import java.lang.String; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource provides the Autonomous Database Autonomous Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service. + * + * Enables a Database Management feature for the specified Autonomous Database. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DatabaseManagement.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement;
+ * import com.pulumi.oci.DatabaseManagement.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs;
+ * import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs;
+ * import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs;
+ * import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs;
+ * import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs;
+ * import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs;
+ * 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 testAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement("testAutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs.builder()
+ *             .autonomousDatabaseId(testAutonomousDatabase.id())
+ *             .enableAutonomousDatabaseDbmFeature(enableAutonomousDatabaseDbmFeature)
+ *             .featureDetails(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs.builder()
+ *                 .feature(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsFeature)
+ *                 .enableAutonomousDatabaseDbmFeature(enableAutonomousDatabaseDbmFeature)
+ *                 .databaseConnectionDetails(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.builder()
+ *                     .connectionCredentials(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.builder()
+ *                         .credentialName(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName)
+ *                         .credentialType(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType)
+ *                         .passwordSecretId(testSecret.id())
+ *                         .role(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole)
+ *                         .sslSecretId(testSecret.id())
+ *                         .userName(testUser.name())
+ *                         .build())
+ *                     .connectionString(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.builder()
+ *                         .connectionType(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringConnectionType)
+ *                         .port(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringPort)
+ *                         .protocol(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringProtocol)
+ *                         .service(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService)
+ *                         .build())
+ *                     .build())
+ *                 .connectorDetails(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.builder()
+ *                     .connectorType(autonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsConnectorType)
+ *                     .databaseConnectorId(testDatabaseConnector.id())
+ *                     .managementAgentId(testManagementAgent.id())
+ *                     .privateEndPointId(testPrivateEndPoint.id())
+ *                     .build())
+ *                 .build())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + */ +@ResourceType(type="oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement") +public class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement extends com.pulumi.resources.CustomResource { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + * + */ + @Export(name="autonomousDatabaseId", refs={String.class}, tree="[0]") + private Output autonomousDatabaseId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + * + */ + public Output autonomousDatabaseId() { + return this.autonomousDatabaseId; + } + /** + * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * ** IMPORTANT ** + * 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="enableAutonomousDatabaseDbmFeature", refs={Boolean.class}, tree="[0]") + private Output enableAutonomousDatabaseDbmFeature; + + /** + * @return (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * ** IMPORTANT ** + * 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 enableAutonomousDatabaseDbmFeature() { + return this.enableAutonomousDatabaseDbmFeature; + } + /** + * The details required to enable the specified Database Management feature for an Autonomous Database. + * + */ + @Export(name="featureDetails", refs={AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails.class}, tree="[0]") + private Output featureDetails; + + /** + * @return The details required to enable the specified Database Management feature for an Autonomous Database. + * + */ + public Output> featureDetails() { + return Codegen.optional(this.featureDetails); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(java.lang.String name) { + this(name, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(java.lang.String name, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs 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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(java.lang.String name, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(java.lang.String name, Output id, @Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", name, state, makeResourceOptions(options, id), false); + } + + private static AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs makeArgs(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs.Empty : args; + } + + 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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement get(java.lang.String name, Output id, @Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs.java new file mode 100644 index 0000000000..3cf4690174 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs.java @@ -0,0 +1,178 @@ +// *** 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.DatabaseManagement; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs Empty = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs(); + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + * + */ + @Import(name="autonomousDatabaseId", required=true) + private Output autonomousDatabaseId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + * + */ + public Output autonomousDatabaseId() { + return this.autonomousDatabaseId; + } + + /** + * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * ** IMPORTANT ** + * 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="enableAutonomousDatabaseDbmFeature", required=true) + private Output enableAutonomousDatabaseDbmFeature; + + /** + * @return (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * ** IMPORTANT ** + * 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 enableAutonomousDatabaseDbmFeature() { + return this.enableAutonomousDatabaseDbmFeature; + } + + /** + * The details required to enable the specified Database Management feature for an Autonomous Database. + * + */ + @Import(name="featureDetails") + private @Nullable Output featureDetails; + + /** + * @return The details required to enable the specified Database Management feature for an Autonomous Database. + * + */ + public Optional> featureDetails() { + return Optional.ofNullable(this.featureDetails); + } + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs() {} + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs $) { + this.autonomousDatabaseId = $.autonomousDatabaseId; + this.enableAutonomousDatabaseDbmFeature = $.enableAutonomousDatabaseDbmFeature; + this.featureDetails = $.featureDetails; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs $; + + public Builder() { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs(); + } + + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs defaults) { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param autonomousDatabaseId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + * + * @return builder + * + */ + public Builder autonomousDatabaseId(Output autonomousDatabaseId) { + $.autonomousDatabaseId = autonomousDatabaseId; + return this; + } + + /** + * @param autonomousDatabaseId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + * + * @return builder + * + */ + public Builder autonomousDatabaseId(String autonomousDatabaseId) { + return autonomousDatabaseId(Output.of(autonomousDatabaseId)); + } + + /** + * @param enableAutonomousDatabaseDbmFeature (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * ** IMPORTANT ** + * 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 enableAutonomousDatabaseDbmFeature(Output enableAutonomousDatabaseDbmFeature) { + $.enableAutonomousDatabaseDbmFeature = enableAutonomousDatabaseDbmFeature; + return this; + } + + /** + * @param enableAutonomousDatabaseDbmFeature (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * ** IMPORTANT ** + * 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 enableAutonomousDatabaseDbmFeature(Boolean enableAutonomousDatabaseDbmFeature) { + return enableAutonomousDatabaseDbmFeature(Output.of(enableAutonomousDatabaseDbmFeature)); + } + + /** + * @param featureDetails The details required to enable the specified Database Management feature for an Autonomous Database. + * + * @return builder + * + */ + public Builder featureDetails(@Nullable Output featureDetails) { + $.featureDetails = featureDetails; + return this; + } + + /** + * @param featureDetails The details required to enable the specified Database Management feature for an Autonomous Database. + * + * @return builder + * + */ + public Builder featureDetails(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs featureDetails) { + return featureDetails(Output.of(featureDetails)); + } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs build() { + if ($.autonomousDatabaseId == null) { + throw new MissingRequiredPropertyException("AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs", "autonomousDatabaseId"); + } + if ($.enableAutonomousDatabaseDbmFeature == null) { + throw new MissingRequiredPropertyException("AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs", "enableAutonomousDatabaseDbmFeature"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseDbmFeaturesManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseDbmFeaturesManagement.java index 19138d82b5..ece7802218 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseDbmFeaturesManagement.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseDbmFeaturesManagement.java @@ -67,6 +67,7 @@ * .connectionCredentials(DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.builder() * .credentialName(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName) * .credentialType(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType) + * .namedCredentialId(testNamedCredential.id()) * .passwordSecretId(testSecret.id()) * .role(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole) * .sslSecretId(testSecret.id()) @@ -79,8 +80,8 @@ * .service(databaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService) * .build()) * .build()) - * .managementType(databaseDbmFeaturesManagementFeatureDetailsManagementType) * .isAutoEnablePluggableDatabase(databaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase) + * .managementType(databaseDbmFeaturesManagementFeatureDetailsManagementType) * .build()) * .build()); * @@ -141,6 +142,12 @@ public Output enableDatabaseDbmFeature() { public Output> featureDetails() { return Codegen.optional(this.featureDetails); } + @Export(name="modifyDatabaseDbmFeature", refs={Boolean.class}, tree="[0]") + private Output modifyDatabaseDbmFeature; + + public Output> modifyDatabaseDbmFeature() { + return Codegen.optional(this.modifyDatabaseDbmFeature); + } /** * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseDbmFeaturesManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseDbmFeaturesManagementArgs.java index 67e5832b58..ce645e933c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseDbmFeaturesManagementArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseDbmFeaturesManagementArgs.java @@ -69,12 +69,20 @@ public Optional> feature return Optional.ofNullable(this.featureDetails); } + @Import(name="modifyDatabaseDbmFeature") + private @Nullable Output modifyDatabaseDbmFeature; + + public Optional> modifyDatabaseDbmFeature() { + return Optional.ofNullable(this.modifyDatabaseDbmFeature); + } + private DatabaseDbmFeaturesManagementArgs() {} private DatabaseDbmFeaturesManagementArgs(DatabaseDbmFeaturesManagementArgs $) { this.databaseId = $.databaseId; this.enableDatabaseDbmFeature = $.enableDatabaseDbmFeature; this.featureDetails = $.featureDetails; + this.modifyDatabaseDbmFeature = $.modifyDatabaseDbmFeature; } public static Builder builder() { @@ -164,6 +172,15 @@ public Builder featureDetails(DatabaseDbmFeaturesManagementFeatureDetailsArgs fe return featureDetails(Output.of(featureDetails)); } + public Builder modifyDatabaseDbmFeature(@Nullable Output modifyDatabaseDbmFeature) { + $.modifyDatabaseDbmFeature = modifyDatabaseDbmFeature; + return this; + } + + public Builder modifyDatabaseDbmFeature(Boolean modifyDatabaseDbmFeature) { + return modifyDatabaseDbmFeature(Output.of(modifyDatabaseDbmFeature)); + } + public DatabaseDbmFeaturesManagementArgs build() { if ($.databaseId == null) { throw new MissingRequiredPropertyException("DatabaseDbmFeaturesManagementArgs", "databaseId"); diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseManagementFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseManagementFunctions.java index f14c68bce1..40fa84aa1c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseManagementFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DatabaseManagementFunctions.java @@ -880,6 +880,7 @@ public static CompletableFuture getDbManagementPriva * final var testDbManagementPrivateEndpoints = DatabaseManagementFunctions.getDbManagementPrivateEndpoints(GetDbManagementPrivateEndpointsArgs.builder() * .compartmentId(compartmentId) * .isCluster(dbManagementPrivateEndpointIsCluster) + * .isDnsResolutionEnabled(dbManagementPrivateEndpointIsDnsResolutionEnabled) * .name(dbManagementPrivateEndpointName) * .state(dbManagementPrivateEndpointState) * .vcnId(testVcn.id()) @@ -976,6 +978,7 @@ public static CompletableFuture getDbMana * final var testDbManagementPrivateEndpoints = DatabaseManagementFunctions.getDbManagementPrivateEndpoints(GetDbManagementPrivateEndpointsArgs.builder() * .compartmentId(compartmentId) * .isCluster(dbManagementPrivateEndpointIsCluster) + * .isDnsResolutionEnabled(dbManagementPrivateEndpointIsDnsResolutionEnabled) * .name(dbManagementPrivateEndpointName) * .state(dbManagementPrivateEndpointState) * .vcnId(testVcn.id()) @@ -1024,6 +1027,7 @@ public static Output getDbManagementPriva * final var testDbManagementPrivateEndpoints = DatabaseManagementFunctions.getDbManagementPrivateEndpoints(GetDbManagementPrivateEndpointsArgs.builder() * .compartmentId(compartmentId) * .isCluster(dbManagementPrivateEndpointIsCluster) + * .isDnsResolutionEnabled(dbManagementPrivateEndpointIsDnsResolutionEnabled) * .name(dbManagementPrivateEndpointName) * .state(dbManagementPrivateEndpointState) * .vcnId(testVcn.id()) diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DbManagementPrivateEndpoint.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DbManagementPrivateEndpoint.java index b07f56e770..d3f11fafcb 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DbManagementPrivateEndpoint.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DbManagementPrivateEndpoint.java @@ -54,6 +54,7 @@ * .description(dbManagementPrivateEndpointDescription) * .freeformTags(Map.of("Department", "Finance")) * .isCluster(dbManagementPrivateEndpointIsCluster) + * .isDnsResolutionEnabled(dbManagementPrivateEndpointIsDnsResolutionEnabled) * .nsgIds(dbManagementPrivateEndpointNsgIds) * .build()); * @@ -144,6 +145,20 @@ public Output> freeformTags() { public Output isCluster() { return this.isCluster; } + /** + * Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + */ + @Export(name="isDnsResolutionEnabled", refs={Boolean.class}, tree="[0]") + private Output isDnsResolutionEnabled; + + /** + * @return Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + */ + public Output isDnsResolutionEnabled() { + return this.isDnsResolutionEnabled; + } /** * (Updatable) The display name of the Database Management private endpoint. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DbManagementPrivateEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DbManagementPrivateEndpointArgs.java index d16326fb72..ca7ab24c1d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DbManagementPrivateEndpointArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/DbManagementPrivateEndpointArgs.java @@ -94,6 +94,21 @@ public Optional> isCluster() { return Optional.ofNullable(this.isCluster); } + /** + * Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + */ + @Import(name="isDnsResolutionEnabled") + private @Nullable Output isDnsResolutionEnabled; + + /** + * @return Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + */ + public Optional> isDnsResolutionEnabled() { + return Optional.ofNullable(this.isDnsResolutionEnabled); + } + /** * (Updatable) The display name of the Database Management private endpoint. * @@ -153,6 +168,7 @@ private DbManagementPrivateEndpointArgs(DbManagementPrivateEndpointArgs $) { this.description = $.description; this.freeformTags = $.freeformTags; this.isCluster = $.isCluster; + this.isDnsResolutionEnabled = $.isDnsResolutionEnabled; this.name = $.name; this.nsgIds = $.nsgIds; this.subnetId = $.subnetId; @@ -281,6 +297,27 @@ public Builder isCluster(Boolean isCluster) { return isCluster(Output.of(isCluster)); } + /** + * @param isDnsResolutionEnabled Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + * @return builder + * + */ + public Builder isDnsResolutionEnabled(@Nullable Output isDnsResolutionEnabled) { + $.isDnsResolutionEnabled = isDnsResolutionEnabled; + return this; + } + + /** + * @param isDnsResolutionEnabled Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + * @return builder + * + */ + public Builder isDnsResolutionEnabled(Boolean isDnsResolutionEnabled) { + return isDnsResolutionEnabled(Output.of(isDnsResolutionEnabled)); + } + /** * @param name (Updatable) The display name of the Database Management private endpoint. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/ManagedDatabase.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/ManagedDatabase.java index caf9b5acaf..156475b81d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/ManagedDatabase.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/ManagedDatabase.java @@ -9,6 +9,7 @@ import com.pulumi.core.internal.Codegen; import com.pulumi.oci.DatabaseManagement.ManagedDatabaseArgs; import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabaseState; +import com.pulumi.oci.DatabaseManagement.outputs.ManagedDatabaseDbmgmtFeatureConfig; import com.pulumi.oci.DatabaseManagement.outputs.ManagedDatabaseManagedDatabaseGroup; import com.pulumi.oci.Utilities; import java.lang.Boolean; @@ -61,6 +62,20 @@ public Output> additionalDetails() { public Output compartmentId() { return this.compartmentId; } + /** + * The operating system of database. + * + */ + @Export(name="databasePlatformName", refs={String.class}, tree="[0]") + private Output databasePlatformName; + + /** + * @return The operating system of database. + * + */ + public Output databasePlatformName() { + return this.databasePlatformName; + } /** * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. * @@ -131,6 +146,20 @@ public Output databaseVersion() { public Output dbSystemId() { return this.dbSystemId; } + /** + * The list of feature configurations + * + */ + @Export(name="dbmgmtFeatureConfigs", refs={List.class,ManagedDatabaseDbmgmtFeatureConfig.class}, tree="[0,1]") + private Output> dbmgmtFeatureConfigs; + + /** + * @return The list of feature configurations + * + */ + public Output> dbmgmtFeatureConfigs() { + return this.dbmgmtFeatureConfigs; + } /** * (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"}` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagement.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagement.java index 312e808206..08b68cba1f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagement.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagement.java @@ -67,6 +67,7 @@ * .connectionCredentials(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.builder() * .credentialName(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialName) * .credentialType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsCredentialType) + * .namedCredentialId(testNamedCredential.id()) * .passwordSecretId(testSecret.id()) * .role(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsRole) * .sslSecretId(testSecret.id()) @@ -79,8 +80,8 @@ * .service(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringService) * .build()) * .build()) - * .managementType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsManagementType) * .isAutoEnablePluggableDatabase(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsIsAutoEnablePluggableDatabase) + * .managementType(pluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsManagementType) * .build()) * .build()); * @@ -127,6 +128,12 @@ public Output enablePluggableDatabaseDbmFeature() { public Output> featureDetails() { return Codegen.optional(this.featureDetails); } + @Export(name="modifyPluggableDatabaseDbmFeature", refs={Boolean.class}, tree="[0]") + private Output modifyPluggableDatabaseDbmFeature; + + public Output> modifyPluggableDatabaseDbmFeature() { + return Codegen.optional(this.modifyPluggableDatabaseDbmFeature); + } /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs.java index 52368698a6..1481ee24e7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs.java @@ -54,6 +54,13 @@ public Optional modifyPluggableDatabaseDbmFeature; + + public Optional> modifyPluggableDatabaseDbmFeature() { + return Optional.ofNullable(this.modifyPluggableDatabaseDbmFeature); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. * @@ -74,6 +81,7 @@ private PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs() {} private PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs(PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs $) { this.enablePluggableDatabaseDbmFeature = $.enablePluggableDatabaseDbmFeature; this.featureDetails = $.featureDetails; + this.modifyPluggableDatabaseDbmFeature = $.modifyPluggableDatabaseDbmFeature; this.pluggableDatabaseId = $.pluggableDatabaseId; } @@ -143,6 +151,15 @@ public Builder featureDetails(PluggabledatabasePluggableDatabaseDbmFeaturesManag return featureDetails(Output.of(featureDetails)); } + public Builder modifyPluggableDatabaseDbmFeature(@Nullable Output modifyPluggableDatabaseDbmFeature) { + $.modifyPluggableDatabaseDbmFeature = modifyPluggableDatabaseDbmFeature; + return this; + } + + public Builder modifyPluggableDatabaseDbmFeature(Boolean modifyPluggableDatabaseDbmFeature) { + return modifyPluggableDatabaseDbmFeature(Output.of(modifyPluggableDatabaseDbmFeature)); + } + /** * @param pluggableDatabaseId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs.java new file mode 100644 index 0000000000..eaeb84d6af --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs.java @@ -0,0 +1,163 @@ +// *** 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.DatabaseManagement.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs; +import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs Empty = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs(); + + /** + * The connector details required to connect to an Oracle cloud database. + * + */ + @Import(name="connectorDetails") + private @Nullable Output connectorDetails; + + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + public Optional> connectorDetails() { + return Optional.ofNullable(this.connectorDetails); + } + + /** + * The connection details required to connect to the database. + * + */ + @Import(name="databaseConnectionDetails") + private @Nullable Output databaseConnectionDetails; + + /** + * @return The connection details required to connect to the database. + * + */ + public Optional> databaseConnectionDetails() { + return Optional.ofNullable(this.databaseConnectionDetails); + } + + /** + * The name of the Database Management feature. + * + */ + @Import(name="feature", required=true) + private Output feature; + + /** + * @return The name of the Database Management feature. + * + */ + public Output feature() { + return this.feature; + } + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs() {} + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs $) { + this.connectorDetails = $.connectorDetails; + this.databaseConnectionDetails = $.databaseConnectionDetails; + this.feature = $.feature; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs $; + + public Builder() { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs(); + } + + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs defaults) { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param connectorDetails The connector details required to connect to an Oracle cloud database. + * + * @return builder + * + */ + public Builder connectorDetails(@Nullable Output connectorDetails) { + $.connectorDetails = connectorDetails; + return this; + } + + /** + * @param connectorDetails The connector details required to connect to an Oracle cloud database. + * + * @return builder + * + */ + public Builder connectorDetails(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs connectorDetails) { + return connectorDetails(Output.of(connectorDetails)); + } + + /** + * @param databaseConnectionDetails The connection details required to connect to the database. + * + * @return builder + * + */ + public Builder databaseConnectionDetails(@Nullable Output databaseConnectionDetails) { + $.databaseConnectionDetails = databaseConnectionDetails; + return this; + } + + /** + * @param databaseConnectionDetails The connection details required to connect to the database. + * + * @return builder + * + */ + public Builder databaseConnectionDetails(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs databaseConnectionDetails) { + return databaseConnectionDetails(Output.of(databaseConnectionDetails)); + } + + /** + * @param feature The name of the Database Management feature. + * + * @return builder + * + */ + public Builder feature(Output feature) { + $.feature = feature; + return this; + } + + /** + * @param feature The name of the Database Management feature. + * + * @return builder + * + */ + public Builder feature(String feature) { + return feature(Output.of(feature)); + } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs build() { + if ($.feature == null) { + throw new MissingRequiredPropertyException("AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs", "feature"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java new file mode 100644 index 0000000000..2f2bc80fc7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java @@ -0,0 +1,210 @@ +// *** 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.DatabaseManagement.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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs Empty = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs(); + + /** + * The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * * DIRECT: Direct connection + * + */ + @Import(name="connectorType") + private @Nullable Output connectorType; + + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * * DIRECT: Direct connection + * + */ + public Optional> connectorType() { + return Optional.ofNullable(this.connectorType); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + @Import(name="databaseConnectorId") + private @Nullable Output databaseConnectorId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + public Optional> databaseConnectorId() { + return Optional.ofNullable(this.databaseConnectorId); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + @Import(name="managementAgentId") + private @Nullable Output managementAgentId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + public Optional> managementAgentId() { + return Optional.ofNullable(this.managementAgentId); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + @Import(name="privateEndPointId") + private @Nullable Output privateEndPointId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + public Optional> privateEndPointId() { + return Optional.ofNullable(this.privateEndPointId); + } + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs() {} + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs $) { + this.connectorType = $.connectorType; + this.databaseConnectorId = $.databaseConnectorId; + this.managementAgentId = $.managementAgentId; + this.privateEndPointId = $.privateEndPointId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs $; + + public Builder() { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs(); + } + + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs defaults) { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param connectorType The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * * DIRECT: Direct connection + * + * @return builder + * + */ + public Builder connectorType(@Nullable Output connectorType) { + $.connectorType = connectorType; + return this; + } + + /** + * @param connectorType The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * * DIRECT: Direct connection + * + * @return builder + * + */ + public Builder connectorType(String connectorType) { + return connectorType(Output.of(connectorType)); + } + + /** + * @param databaseConnectorId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + * @return builder + * + */ + public Builder databaseConnectorId(@Nullable Output databaseConnectorId) { + $.databaseConnectorId = databaseConnectorId; + return this; + } + + /** + * @param databaseConnectorId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + * @return builder + * + */ + public Builder databaseConnectorId(String databaseConnectorId) { + return databaseConnectorId(Output.of(databaseConnectorId)); + } + + /** + * @param managementAgentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + * @return builder + * + */ + public Builder managementAgentId(@Nullable Output managementAgentId) { + $.managementAgentId = managementAgentId; + return this; + } + + /** + * @param managementAgentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + * @return builder + * + */ + public Builder managementAgentId(String managementAgentId) { + return managementAgentId(Output.of(managementAgentId)); + } + + /** + * @param privateEndPointId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + * @return builder + * + */ + public Builder privateEndPointId(@Nullable Output privateEndPointId) { + $.privateEndPointId = privateEndPointId; + return this; + } + + /** + * @param privateEndPointId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + * @return builder + * + */ + public Builder privateEndPointId(String privateEndPointId) { + return privateEndPointId(Output.of(privateEndPointId)); + } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.java new file mode 100644 index 0000000000..540c3db00b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs.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.DatabaseManagement.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs; +import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs Empty = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs(); + + /** + * The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + @Import(name="connectionCredentials") + private @Nullable Output connectionCredentials; + + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + public Optional> connectionCredentials() { + return Optional.ofNullable(this.connectionCredentials); + } + + /** + * The details of the Oracle Database connection string. + * + */ + @Import(name="connectionString") + private @Nullable Output connectionString; + + /** + * @return The details of the Oracle Database connection string. + * + */ + public Optional> connectionString() { + return Optional.ofNullable(this.connectionString); + } + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs() {} + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs $) { + this.connectionCredentials = $.connectionCredentials; + this.connectionString = $.connectionString; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs $; + + public Builder() { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs(); + } + + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs defaults) { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param connectionCredentials The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + * @return builder + * + */ + public Builder connectionCredentials(@Nullable Output connectionCredentials) { + $.connectionCredentials = connectionCredentials; + return this; + } + + /** + * @param connectionCredentials The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + * @return builder + * + */ + public Builder connectionCredentials(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs connectionCredentials) { + return connectionCredentials(Output.of(connectionCredentials)); + } + + /** + * @param connectionString The details of the Oracle Database connection string. + * + * @return builder + * + */ + public Builder connectionString(@Nullable Output connectionString) { + $.connectionString = connectionString; + return this; + } + + /** + * @param connectionString The details of the Oracle Database connection string. + * + * @return builder + * + */ + public Builder connectionString(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs connectionString) { + return connectionString(Output.of(connectionString)); + } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java new file mode 100644 index 0000000000..9ce0220434 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java @@ -0,0 +1,276 @@ +// *** 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.DatabaseManagement.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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs Empty = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs(); + + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + * For example: inventorydb.abc112233445566778899 + * + */ + @Import(name="credentialName") + private @Nullable Output credentialName; + + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + * For example: inventorydb.abc112233445566778899 + * + */ + public Optional> credentialName() { + return Optional.ofNullable(this.credentialName); + } + + /** + * The type of credential used to connect to the database. + * + */ + @Import(name="credentialType") + private @Nullable Output credentialType; + + /** + * @return The type of credential used to connect to the database. + * + */ + public Optional> credentialType() { + return Optional.ofNullable(this.credentialType); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + @Import(name="passwordSecretId") + private @Nullable Output passwordSecretId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + public Optional> passwordSecretId() { + return Optional.ofNullable(this.passwordSecretId); + } + + /** + * The role of the user connecting to the database. + * + */ + @Import(name="role") + private @Nullable Output role; + + /** + * @return The role of the user connecting to the database. + * + */ + public Optional> role() { + return Optional.ofNullable(this.role); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + @Import(name="sslSecretId") + private @Nullable Output sslSecretId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + public Optional> sslSecretId() { + return Optional.ofNullable(this.sslSecretId); + } + + /** + * The user name used to connect to the database. + * + */ + @Import(name="userName") + private @Nullable Output userName; + + /** + * @return The user name used to connect to the database. + * + */ + public Optional> userName() { + return Optional.ofNullable(this.userName); + } + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs() {} + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs $) { + this.credentialName = $.credentialName; + this.credentialType = $.credentialType; + this.passwordSecretId = $.passwordSecretId; + this.role = $.role; + this.sslSecretId = $.sslSecretId; + this.userName = $.userName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs $; + + public Builder() { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs(); + } + + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs defaults) { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param credentialName The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + * For example: inventorydb.abc112233445566778899 + * + * @return builder + * + */ + public Builder credentialName(@Nullable Output credentialName) { + $.credentialName = credentialName; + return this; + } + + /** + * @param credentialName The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + * For example: inventorydb.abc112233445566778899 + * + * @return builder + * + */ + public Builder credentialName(String credentialName) { + return credentialName(Output.of(credentialName)); + } + + /** + * @param credentialType The type of credential used to connect to the database. + * + * @return builder + * + */ + public Builder credentialType(@Nullable Output credentialType) { + $.credentialType = credentialType; + return this; + } + + /** + * @param credentialType The type of credential used to connect to the database. + * + * @return builder + * + */ + public Builder credentialType(String credentialType) { + return credentialType(Output.of(credentialType)); + } + + /** + * @param passwordSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + * @return builder + * + */ + public Builder passwordSecretId(@Nullable Output passwordSecretId) { + $.passwordSecretId = passwordSecretId; + return this; + } + + /** + * @param passwordSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + * @return builder + * + */ + public Builder passwordSecretId(String passwordSecretId) { + return passwordSecretId(Output.of(passwordSecretId)); + } + + /** + * @param role The role of the user connecting to the database. + * + * @return builder + * + */ + public Builder role(@Nullable Output role) { + $.role = role; + return this; + } + + /** + * @param role The role of the user connecting to the database. + * + * @return builder + * + */ + public Builder role(String role) { + return role(Output.of(role)); + } + + /** + * @param sslSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + * @return builder + * + */ + public Builder sslSecretId(@Nullable Output sslSecretId) { + $.sslSecretId = sslSecretId; + return this; + } + + /** + * @param sslSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + * @return builder + * + */ + public Builder sslSecretId(String sslSecretId) { + return sslSecretId(Output.of(sslSecretId)); + } + + /** + * @param userName The user name used to connect to the database. + * + * @return builder + * + */ + public Builder userName(@Nullable Output userName) { + $.userName = userName; + return this; + } + + /** + * @param userName The user name used to connect to the database. + * + * @return builder + * + */ + public Builder userName(String userName) { + return userName(Output.of(userName)); + } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.java new file mode 100644 index 0000000000..d86155af37 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs.java @@ -0,0 +1,199 @@ +// *** 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.DatabaseManagement.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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs Empty = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs(); + + /** + * The list of supported connection types: + * * BASIC: Basic connection details + * + */ + @Import(name="connectionType") + private @Nullable Output connectionType; + + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + public Optional> connectionType() { + return Optional.ofNullable(this.connectionType); + } + + /** + * The port number used to connect to the database. + * + */ + @Import(name="port") + private @Nullable Output port; + + /** + * @return The port number used to connect to the database. + * + */ + public Optional> port() { + return Optional.ofNullable(this.port); + } + + /** + * The protocol used to connect to the database. + * + */ + @Import(name="protocol") + private @Nullable Output protocol; + + /** + * @return The protocol used to connect to the database. + * + */ + public Optional> protocol() { + return Optional.ofNullable(this.protocol); + } + + /** + * The service name of the database. + * + */ + @Import(name="service") + private @Nullable Output service; + + /** + * @return The service name of the database. + * + */ + public Optional> service() { + return Optional.ofNullable(this.service); + } + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs() {} + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs $) { + this.connectionType = $.connectionType; + this.port = $.port; + this.protocol = $.protocol; + this.service = $.service; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs $; + + public Builder() { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs(); + } + + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs defaults) { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param connectionType The list of supported connection types: + * * BASIC: Basic connection details + * + * @return builder + * + */ + public Builder connectionType(@Nullable Output connectionType) { + $.connectionType = connectionType; + return this; + } + + /** + * @param connectionType The list of supported connection types: + * * BASIC: Basic connection details + * + * @return builder + * + */ + public Builder connectionType(String connectionType) { + return connectionType(Output.of(connectionType)); + } + + /** + * @param port The port number used to connect to the database. + * + * @return builder + * + */ + public Builder port(@Nullable Output port) { + $.port = port; + return this; + } + + /** + * @param port The port number used to connect to the database. + * + * @return builder + * + */ + public Builder port(Integer port) { + return port(Output.of(port)); + } + + /** + * @param protocol The protocol used to connect to the database. + * + * @return builder + * + */ + public Builder protocol(@Nullable Output protocol) { + $.protocol = protocol; + return this; + } + + /** + * @param protocol The protocol used to connect to the database. + * + * @return builder + * + */ + public Builder protocol(String protocol) { + return protocol(Output.of(protocol)); + } + + /** + * @param service The service name of the database. + * + * @return builder + * + */ + public Builder service(@Nullable Output service) { + $.service = service; + return this; + } + + /** + * @param service The service name of the database. + * + * @return builder + * + */ + public Builder service(String service) { + return service(Output.of(service)); + } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState.java new file mode 100644 index 0000000000..441e4873e4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState.java @@ -0,0 +1,171 @@ +// *** 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.DatabaseManagement.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.DatabaseManagement.inputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState Empty = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState(); + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + * + */ + @Import(name="autonomousDatabaseId") + private @Nullable Output autonomousDatabaseId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + * + */ + public Optional> autonomousDatabaseId() { + return Optional.ofNullable(this.autonomousDatabaseId); + } + + /** + * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * ** IMPORTANT ** + * 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="enableAutonomousDatabaseDbmFeature") + private @Nullable Output enableAutonomousDatabaseDbmFeature; + + /** + * @return (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * ** IMPORTANT ** + * 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> enableAutonomousDatabaseDbmFeature() { + return Optional.ofNullable(this.enableAutonomousDatabaseDbmFeature); + } + + /** + * The details required to enable the specified Database Management feature for an Autonomous Database. + * + */ + @Import(name="featureDetails") + private @Nullable Output featureDetails; + + /** + * @return The details required to enable the specified Database Management feature for an Autonomous Database. + * + */ + public Optional> featureDetails() { + return Optional.ofNullable(this.featureDetails); + } + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState() {} + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState $) { + this.autonomousDatabaseId = $.autonomousDatabaseId; + this.enableAutonomousDatabaseDbmFeature = $.enableAutonomousDatabaseDbmFeature; + this.featureDetails = $.featureDetails; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState $; + + public Builder() { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState(); + } + + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState defaults) { + $ = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState(Objects.requireNonNull(defaults)); + } + + /** + * @param autonomousDatabaseId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + * + * @return builder + * + */ + public Builder autonomousDatabaseId(@Nullable Output autonomousDatabaseId) { + $.autonomousDatabaseId = autonomousDatabaseId; + return this; + } + + /** + * @param autonomousDatabaseId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + * + * @return builder + * + */ + public Builder autonomousDatabaseId(String autonomousDatabaseId) { + return autonomousDatabaseId(Output.of(autonomousDatabaseId)); + } + + /** + * @param enableAutonomousDatabaseDbmFeature (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * ** IMPORTANT ** + * 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 enableAutonomousDatabaseDbmFeature(@Nullable Output enableAutonomousDatabaseDbmFeature) { + $.enableAutonomousDatabaseDbmFeature = enableAutonomousDatabaseDbmFeature; + return this; + } + + /** + * @param enableAutonomousDatabaseDbmFeature (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * ** IMPORTANT ** + * 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 enableAutonomousDatabaseDbmFeature(Boolean enableAutonomousDatabaseDbmFeature) { + return enableAutonomousDatabaseDbmFeature(Output.of(enableAutonomousDatabaseDbmFeature)); + } + + /** + * @param featureDetails The details required to enable the specified Database Management feature for an Autonomous Database. + * + * @return builder + * + */ + public Builder featureDetails(@Nullable Output featureDetails) { + $.featureDetails = featureDetails; + return this; + } + + /** + * @param featureDetails The details required to enable the specified Database Management feature for an Autonomous Database. + * + * @return builder + * + */ + public Builder featureDetails(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs featureDetails) { + return featureDetails(Output.of(featureDetails)); + } + + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java index 3448b94ae9..5829ca9312 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java @@ -20,6 +20,7 @@ public final class DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsAr * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ @Import(name="connectorType") @@ -30,6 +31,7 @@ public final class DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsAr * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ public Optional> connectorType() { @@ -113,6 +115,7 @@ public Builder(DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs d * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * * @return builder * @@ -127,6 +130,7 @@ public Builder connectorType(@Nullable Output connectorType) { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java index a6b5bb4fb3..1df91271c5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java @@ -49,6 +49,21 @@ public Optional> credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + @Import(name="namedCredentialId") + private @Nullable Output namedCredentialId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + public Optional> namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. * @@ -114,6 +129,7 @@ private DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConn private DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs(DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs $) { this.credentialName = $.credentialName; this.credentialType = $.credentialType; + this.namedCredentialId = $.namedCredentialId; this.passwordSecretId = $.passwordSecretId; this.role = $.role; this.sslSecretId = $.sslSecretId; @@ -184,6 +200,27 @@ public Builder credentialType(String credentialType) { return credentialType(Output.of(credentialType)); } + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(@Nullable Output namedCredentialId) { + $.namedCredentialId = namedCredentialId; + return this; + } + + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(String namedCredentialId) { + return namedCredentialId(Output.of(namedCredentialId)); + } + /** * @param passwordSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementState.java index 54d8113b7d..0f5a48b7f9 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DatabaseDbmFeaturesManagementState.java @@ -68,12 +68,20 @@ public Optional> feature return Optional.ofNullable(this.featureDetails); } + @Import(name="modifyDatabaseDbmFeature") + private @Nullable Output modifyDatabaseDbmFeature; + + public Optional> modifyDatabaseDbmFeature() { + return Optional.ofNullable(this.modifyDatabaseDbmFeature); + } + private DatabaseDbmFeaturesManagementState() {} private DatabaseDbmFeaturesManagementState(DatabaseDbmFeaturesManagementState $) { this.databaseId = $.databaseId; this.enableDatabaseDbmFeature = $.enableDatabaseDbmFeature; this.featureDetails = $.featureDetails; + this.modifyDatabaseDbmFeature = $.modifyDatabaseDbmFeature; } public static Builder builder() { @@ -163,6 +171,15 @@ public Builder featureDetails(DatabaseDbmFeaturesManagementFeatureDetailsArgs fe return featureDetails(Output.of(featureDetails)); } + public Builder modifyDatabaseDbmFeature(@Nullable Output modifyDatabaseDbmFeature) { + $.modifyDatabaseDbmFeature = modifyDatabaseDbmFeature; + return this; + } + + public Builder modifyDatabaseDbmFeature(Boolean modifyDatabaseDbmFeature) { + return modifyDatabaseDbmFeature(Output.of(modifyDatabaseDbmFeature)); + } + public DatabaseDbmFeaturesManagementState build() { return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DbManagementPrivateEndpointState.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DbManagementPrivateEndpointState.java index 5e13a16834..bfa31d2a2f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DbManagementPrivateEndpointState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/DbManagementPrivateEndpointState.java @@ -93,6 +93,21 @@ public Optional> isCluster() { return Optional.ofNullable(this.isCluster); } + /** + * Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + */ + @Import(name="isDnsResolutionEnabled") + private @Nullable Output isDnsResolutionEnabled; + + /** + * @return Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + */ + public Optional> isDnsResolutionEnabled() { + return Optional.ofNullable(this.isDnsResolutionEnabled); + } + /** * (Updatable) The display name of the Database Management private endpoint. * @@ -227,6 +242,7 @@ private DbManagementPrivateEndpointState(DbManagementPrivateEndpointState $) { this.description = $.description; this.freeformTags = $.freeformTags; this.isCluster = $.isCluster; + this.isDnsResolutionEnabled = $.isDnsResolutionEnabled; this.name = $.name; this.nsgIds = $.nsgIds; this.privateIp = $.privateIp; @@ -360,6 +376,27 @@ public Builder isCluster(Boolean isCluster) { return isCluster(Output.of(isCluster)); } + /** + * @param isDnsResolutionEnabled Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + * @return builder + * + */ + public Builder isDnsResolutionEnabled(@Nullable Output isDnsResolutionEnabled) { + $.isDnsResolutionEnabled = isDnsResolutionEnabled; + return this; + } + + /** + * @param isDnsResolutionEnabled Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + * @return builder + * + */ + public Builder isDnsResolutionEnabled(Boolean isDnsResolutionEnabled) { + return isDnsResolutionEnabled(Output.of(isDnsResolutionEnabled)); + } + /** * @param name (Updatable) The display name of the Database Management private endpoint. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs.java index 4340644232..d05ced0d0d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs.java @@ -45,6 +45,21 @@ public Optional> credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + @Import(name="namedCredentialId") + private @Nullable Output namedCredentialId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public Optional> namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -110,6 +125,7 @@ private ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs() {} private ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs(ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs $) { this.credentialName = $.credentialName; this.credentialType = $.credentialType; + this.namedCredentialId = $.namedCredentialId; this.passwordSecretId = $.passwordSecretId; this.role = $.role; this.sslSecretId = $.sslSecretId; @@ -176,6 +192,27 @@ public Builder credentialType(String credentialType) { return credentialType(Output.of(credentialType)); } + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(@Nullable Output namedCredentialId) { + $.namedCredentialId = namedCredentialId; + return this; + } + + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(String namedCredentialId) { + return namedCredentialId(Output.of(namedCredentialId)); + } + /** * @param passwordSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs.java index 1c471391d2..ac32a46420 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs.java @@ -45,6 +45,21 @@ public Optional> credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + @Import(name="namedCredentialId") + private @Nullable Output namedCredentialId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public Optional> namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -110,6 +125,7 @@ private ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConn private ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs(ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs $) { this.credentialName = $.credentialName; this.credentialType = $.credentialType; + this.namedCredentialId = $.namedCredentialId; this.passwordSecretId = $.passwordSecretId; this.role = $.role; this.sslSecretId = $.sslSecretId; @@ -176,6 +192,27 @@ public Builder credentialType(String credentialType) { return credentialType(Output.of(credentialType)); } + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(@Nullable Output namedCredentialId) { + $.namedCredentialId = namedCredentialId; + return this; + } + + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(String namedCredentialId) { + return namedCredentialId(Output.of(namedCredentialId)); + } + /** * @param passwordSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs.java index f11908c720..1a8e21b2d8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs.java @@ -45,6 +45,21 @@ public Optional> credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + @Import(name="namedCredentialId") + private @Nullable Output namedCredentialId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public Optional> namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -110,6 +125,7 @@ private ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConne private ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs(ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs $) { this.credentialName = $.credentialName; this.credentialType = $.credentialType; + this.namedCredentialId = $.namedCredentialId; this.passwordSecretId = $.passwordSecretId; this.role = $.role; this.sslSecretId = $.sslSecretId; @@ -176,6 +192,27 @@ public Builder credentialType(String credentialType) { return credentialType(Output.of(credentialType)); } + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(@Nullable Output namedCredentialId) { + $.namedCredentialId = namedCredentialId; + return this; + } + + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(String namedCredentialId) { + return namedCredentialId(Output.of(namedCredentialId)); + } + /** * @param passwordSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs.java index 379f2ce5fe..2db2aa8401 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs.java @@ -45,6 +45,21 @@ public Optional> credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + @Import(name="namedCredentialId") + private @Nullable Output namedCredentialId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public Optional> namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -110,6 +125,7 @@ private ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorCo private ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs(ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs $) { this.credentialName = $.credentialName; this.credentialType = $.credentialType; + this.namedCredentialId = $.namedCredentialId; this.passwordSecretId = $.passwordSecretId; this.role = $.role; this.sslSecretId = $.sslSecretId; @@ -176,6 +192,27 @@ public Builder credentialType(String credentialType) { return credentialType(Output.of(credentialType)); } + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(@Nullable Output namedCredentialId) { + $.namedCredentialId = namedCredentialId; + return this; + } + + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(String namedCredentialId) { + return namedCredentialId(Output.of(namedCredentialId)); + } + /** * @param passwordSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java index 827b9d2840..2dac18491a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java @@ -20,6 +20,7 @@ public final class ExternalcontainerdatabaseExternalContainerDbmFeaturesManageme * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ @Import(name="connectorType") @@ -30,6 +31,7 @@ public final class ExternalcontainerdatabaseExternalContainerDbmFeaturesManageme * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ public Optional> connectorType() { @@ -113,6 +115,7 @@ public Builder(ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFe * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * * @return builder * @@ -127,6 +130,7 @@ public Builder connectorType(@Nullable Output connectorType) { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java index 139edcd21a..a154633a33 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java @@ -20,6 +20,7 @@ public final class ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesMa * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ @Import(name="connectorType") @@ -30,6 +31,7 @@ public final class ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesMa * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ public Optional> connectorType() { @@ -113,6 +115,7 @@ public Builder(ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManage * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * * @return builder * @@ -127,6 +130,7 @@ public Builder connectorType(@Nullable Output connectorType) { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java index c067503ada..382ca1d595 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java @@ -20,6 +20,7 @@ public final class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManageme * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ @Import(name="connectorType") @@ -30,6 +31,7 @@ public final class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManageme * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ public Optional> connectorType() { @@ -113,6 +115,7 @@ public Builder(ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFe * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * * @return builder * @@ -127,6 +130,7 @@ public Builder connectorType(@Nullable Output connectorType) { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetDbManagementPrivateEndpointsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetDbManagementPrivateEndpointsArgs.java index b6bb2e7833..62c5c35c27 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetDbManagementPrivateEndpointsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetDbManagementPrivateEndpointsArgs.java @@ -56,6 +56,21 @@ public Optional> isCluster() { return Optional.ofNullable(this.isCluster); } + /** + * The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + * + */ + @Import(name="isDnsResolutionEnabled") + private @Nullable Output isDnsResolutionEnabled; + + /** + * @return The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + * + */ + public Optional> isDnsResolutionEnabled() { + return Optional.ofNullable(this.isDnsResolutionEnabled); + } + /** * A filter to return only resources that match the entire name. * @@ -107,6 +122,7 @@ private GetDbManagementPrivateEndpointsArgs(GetDbManagementPrivateEndpointsArgs this.compartmentId = $.compartmentId; this.filters = $.filters; this.isCluster = $.isCluster; + this.isDnsResolutionEnabled = $.isDnsResolutionEnabled; this.name = $.name; this.state = $.state; this.vcnId = $.vcnId; @@ -185,6 +201,27 @@ public Builder isCluster(Boolean isCluster) { return isCluster(Output.of(isCluster)); } + /** + * @param isDnsResolutionEnabled The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + * + * @return builder + * + */ + public Builder isDnsResolutionEnabled(@Nullable Output isDnsResolutionEnabled) { + $.isDnsResolutionEnabled = isDnsResolutionEnabled; + return this; + } + + /** + * @param isDnsResolutionEnabled The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + * + * @return builder + * + */ + public Builder isDnsResolutionEnabled(Boolean isDnsResolutionEnabled) { + return isDnsResolutionEnabled(Output.of(isDnsResolutionEnabled)); + } + /** * @param name A filter to return only resources that match the entire name. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetDbManagementPrivateEndpointsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetDbManagementPrivateEndpointsPlainArgs.java index f0f2e423f5..40a2f304ac 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetDbManagementPrivateEndpointsPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetDbManagementPrivateEndpointsPlainArgs.java @@ -55,6 +55,21 @@ public Optional isCluster() { return Optional.ofNullable(this.isCluster); } + /** + * The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + * + */ + @Import(name="isDnsResolutionEnabled") + private @Nullable Boolean isDnsResolutionEnabled; + + /** + * @return The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + * + */ + public Optional isDnsResolutionEnabled() { + return Optional.ofNullable(this.isDnsResolutionEnabled); + } + /** * A filter to return only resources that match the entire name. * @@ -106,6 +121,7 @@ private GetDbManagementPrivateEndpointsPlainArgs(GetDbManagementPrivateEndpoints this.compartmentId = $.compartmentId; this.filters = $.filters; this.isCluster = $.isCluster; + this.isDnsResolutionEnabled = $.isDnsResolutionEnabled; this.name = $.name; this.state = $.state; this.vcnId = $.vcnId; @@ -160,6 +176,17 @@ public Builder isCluster(@Nullable Boolean isCluster) { return this; } + /** + * @param isDnsResolutionEnabled The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + * + * @return builder + * + */ + public Builder isDnsResolutionEnabled(@Nullable Boolean isDnsResolutionEnabled) { + $.isDnsResolutionEnabled = isDnsResolutionEnabled; + return this; + } + /** * @param name A filter to return only resources that match the entire name. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetManagedDatabaseArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetManagedDatabaseArgs.java index fac8b0d1bd..6cdd54089c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetManagedDatabaseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetManagedDatabaseArgs.java @@ -8,12 +8,29 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; public final class GetManagedDatabaseArgs extends com.pulumi.resources.InvokeArgs { public static final GetManagedDatabaseArgs Empty = new GetManagedDatabaseArgs(); + /** + * The operating system of database. + * + */ + @Import(name="databasePlatformName") + private @Nullable Output databasePlatformName; + + /** + * @return The operating system of database. + * + */ + public Optional> databasePlatformName() { + return Optional.ofNullable(this.databasePlatformName); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. * @@ -32,6 +49,7 @@ public Output managedDatabaseId() { private GetManagedDatabaseArgs() {} private GetManagedDatabaseArgs(GetManagedDatabaseArgs $) { + this.databasePlatformName = $.databasePlatformName; this.managedDatabaseId = $.managedDatabaseId; } @@ -53,6 +71,27 @@ public Builder(GetManagedDatabaseArgs defaults) { $ = new GetManagedDatabaseArgs(Objects.requireNonNull(defaults)); } + /** + * @param databasePlatformName The operating system of database. + * + * @return builder + * + */ + public Builder databasePlatformName(@Nullable Output databasePlatformName) { + $.databasePlatformName = databasePlatformName; + return this; + } + + /** + * @param databasePlatformName The operating system of database. + * + * @return builder + * + */ + public Builder databasePlatformName(String databasePlatformName) { + return databasePlatformName(Output.of(databasePlatformName)); + } + /** * @param managedDatabaseId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetManagedDatabasePlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetManagedDatabasePlainArgs.java index b3389fb2fa..550119d677 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetManagedDatabasePlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/GetManagedDatabasePlainArgs.java @@ -7,12 +7,29 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; public final class GetManagedDatabasePlainArgs extends com.pulumi.resources.InvokeArgs { public static final GetManagedDatabasePlainArgs Empty = new GetManagedDatabasePlainArgs(); + /** + * The operating system of database. + * + */ + @Import(name="databasePlatformName") + private @Nullable String databasePlatformName; + + /** + * @return The operating system of database. + * + */ + public Optional databasePlatformName() { + return Optional.ofNullable(this.databasePlatformName); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. * @@ -31,6 +48,7 @@ public String managedDatabaseId() { private GetManagedDatabasePlainArgs() {} private GetManagedDatabasePlainArgs(GetManagedDatabasePlainArgs $) { + this.databasePlatformName = $.databasePlatformName; this.managedDatabaseId = $.managedDatabaseId; } @@ -52,6 +70,17 @@ public Builder(GetManagedDatabasePlainArgs defaults) { $ = new GetManagedDatabasePlainArgs(Objects.requireNonNull(defaults)); } + /** + * @param databasePlatformName The operating system of database. + * + * @return builder + * + */ + public Builder databasePlatformName(@Nullable String databasePlatformName) { + $.databasePlatformName = databasePlatformName; + return this; + } + /** * @param managedDatabaseId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigArgs.java new file mode 100644 index 0000000000..578b3ed950 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigArgs.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.DatabaseManagement.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs; +import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ManagedDatabaseDbmgmtFeatureConfigArgs extends com.pulumi.resources.ResourceArgs { + + public static final ManagedDatabaseDbmgmtFeatureConfigArgs Empty = new ManagedDatabaseDbmgmtFeatureConfigArgs(); + + /** + * The connector details required to connect to an Oracle cloud database. + * + */ + @Import(name="connectorDetails") + private @Nullable Output> connectorDetails; + + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + public Optional>> connectorDetails() { + return Optional.ofNullable(this.connectorDetails); + } + + /** + * The connection details required to connect to the database. + * + */ + @Import(name="databaseConnectionDetails") + private @Nullable Output> databaseConnectionDetails; + + /** + * @return The connection details required to connect to the database. + * + */ + public Optional>> databaseConnectionDetails() { + return Optional.ofNullable(this.databaseConnectionDetails); + } + + /** + * The name of the Database Management feature. + * + */ + @Import(name="feature") + private @Nullable Output feature; + + /** + * @return The name of the Database Management feature. + * + */ + public Optional> feature() { + return Optional.ofNullable(this.feature); + } + + /** + * The list of statuses for Database Management features. + * + */ + @Import(name="featureStatus") + private @Nullable Output featureStatus; + + /** + * @return The list of statuses for Database Management features. + * + */ + public Optional> featureStatus() { + return Optional.ofNullable(this.featureStatus); + } + + /** + * The Oracle license model that applies to the external database. + * + */ + @Import(name="licenseModel") + private @Nullable Output licenseModel; + + /** + * @return The Oracle license model that applies to the external database. + * + */ + public Optional> licenseModel() { + return Optional.ofNullable(this.licenseModel); + } + + private ManagedDatabaseDbmgmtFeatureConfigArgs() {} + + private ManagedDatabaseDbmgmtFeatureConfigArgs(ManagedDatabaseDbmgmtFeatureConfigArgs $) { + this.connectorDetails = $.connectorDetails; + this.databaseConnectionDetails = $.databaseConnectionDetails; + this.feature = $.feature; + this.featureStatus = $.featureStatus; + this.licenseModel = $.licenseModel; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ManagedDatabaseDbmgmtFeatureConfigArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ManagedDatabaseDbmgmtFeatureConfigArgs $; + + public Builder() { + $ = new ManagedDatabaseDbmgmtFeatureConfigArgs(); + } + + public Builder(ManagedDatabaseDbmgmtFeatureConfigArgs defaults) { + $ = new ManagedDatabaseDbmgmtFeatureConfigArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param connectorDetails The connector details required to connect to an Oracle cloud database. + * + * @return builder + * + */ + public Builder connectorDetails(@Nullable Output> connectorDetails) { + $.connectorDetails = connectorDetails; + return this; + } + + /** + * @param connectorDetails The connector details required to connect to an Oracle cloud database. + * + * @return builder + * + */ + public Builder connectorDetails(List connectorDetails) { + return connectorDetails(Output.of(connectorDetails)); + } + + /** + * @param connectorDetails The connector details required to connect to an Oracle cloud database. + * + * @return builder + * + */ + public Builder connectorDetails(ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs... connectorDetails) { + return connectorDetails(List.of(connectorDetails)); + } + + /** + * @param databaseConnectionDetails The connection details required to connect to the database. + * + * @return builder + * + */ + public Builder databaseConnectionDetails(@Nullable Output> databaseConnectionDetails) { + $.databaseConnectionDetails = databaseConnectionDetails; + return this; + } + + /** + * @param databaseConnectionDetails The connection details required to connect to the database. + * + * @return builder + * + */ + public Builder databaseConnectionDetails(List databaseConnectionDetails) { + return databaseConnectionDetails(Output.of(databaseConnectionDetails)); + } + + /** + * @param databaseConnectionDetails The connection details required to connect to the database. + * + * @return builder + * + */ + public Builder databaseConnectionDetails(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs... databaseConnectionDetails) { + return databaseConnectionDetails(List.of(databaseConnectionDetails)); + } + + /** + * @param feature The name of the Database Management feature. + * + * @return builder + * + */ + public Builder feature(@Nullable Output feature) { + $.feature = feature; + return this; + } + + /** + * @param feature The name of the Database Management feature. + * + * @return builder + * + */ + public Builder feature(String feature) { + return feature(Output.of(feature)); + } + + /** + * @param featureStatus The list of statuses for Database Management features. + * + * @return builder + * + */ + public Builder featureStatus(@Nullable Output featureStatus) { + $.featureStatus = featureStatus; + return this; + } + + /** + * @param featureStatus The list of statuses for Database Management features. + * + * @return builder + * + */ + public Builder featureStatus(String featureStatus) { + return featureStatus(Output.of(featureStatus)); + } + + /** + * @param licenseModel The Oracle license model that applies to the external database. + * + * @return builder + * + */ + public Builder licenseModel(@Nullable Output licenseModel) { + $.licenseModel = licenseModel; + return this; + } + + /** + * @param licenseModel The Oracle license model that applies to the external database. + * + * @return builder + * + */ + public Builder licenseModel(String licenseModel) { + return licenseModel(Output.of(licenseModel)); + } + + public ManagedDatabaseDbmgmtFeatureConfigArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs.java new file mode 100644 index 0000000000..756ea42e41 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs.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.DatabaseManagement.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 ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs extends com.pulumi.resources.ResourceArgs { + + public static final ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs Empty = new ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs(); + + /** + * The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + */ + @Import(name="connectorType") + private @Nullable Output connectorType; + + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + */ + public Optional> connectorType() { + return Optional.ofNullable(this.connectorType); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + @Import(name="databaseConnectorId") + private @Nullable Output databaseConnectorId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + public Optional> databaseConnectorId() { + return Optional.ofNullable(this.databaseConnectorId); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + @Import(name="managementAgentId") + private @Nullable Output managementAgentId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + public Optional> managementAgentId() { + return Optional.ofNullable(this.managementAgentId); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + @Import(name="privateEndPointId") + private @Nullable Output privateEndPointId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + public Optional> privateEndPointId() { + return Optional.ofNullable(this.privateEndPointId); + } + + private ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs() {} + + private ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs(ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs $) { + this.connectorType = $.connectorType; + this.databaseConnectorId = $.databaseConnectorId; + this.managementAgentId = $.managementAgentId; + this.privateEndPointId = $.privateEndPointId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs $; + + public Builder() { + $ = new ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs(); + } + + public Builder(ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs defaults) { + $ = new ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param connectorType The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + * @return builder + * + */ + public Builder connectorType(@Nullable Output connectorType) { + $.connectorType = connectorType; + return this; + } + + /** + * @param connectorType The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + * @return builder + * + */ + public Builder connectorType(String connectorType) { + return connectorType(Output.of(connectorType)); + } + + /** + * @param databaseConnectorId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + * @return builder + * + */ + public Builder databaseConnectorId(@Nullable Output databaseConnectorId) { + $.databaseConnectorId = databaseConnectorId; + return this; + } + + /** + * @param databaseConnectorId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + * @return builder + * + */ + public Builder databaseConnectorId(String databaseConnectorId) { + return databaseConnectorId(Output.of(databaseConnectorId)); + } + + /** + * @param managementAgentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + * @return builder + * + */ + public Builder managementAgentId(@Nullable Output managementAgentId) { + $.managementAgentId = managementAgentId; + return this; + } + + /** + * @param managementAgentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + * @return builder + * + */ + public Builder managementAgentId(String managementAgentId) { + return managementAgentId(Output.of(managementAgentId)); + } + + /** + * @param privateEndPointId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + * @return builder + * + */ + public Builder privateEndPointId(@Nullable Output privateEndPointId) { + $.privateEndPointId = privateEndPointId; + return this; + } + + /** + * @param privateEndPointId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + * @return builder + * + */ + public Builder privateEndPointId(String privateEndPointId) { + return privateEndPointId(Output.of(privateEndPointId)); + } + + public ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs.java new file mode 100644 index 0000000000..6a27c5ab4a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs.java @@ -0,0 +1,142 @@ +// *** 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.DatabaseManagement.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs; +import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs extends com.pulumi.resources.ResourceArgs { + + public static final ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs Empty = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs(); + + /** + * The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + @Import(name="connectionCredentials") + private @Nullable Output> connectionCredentials; + + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + public Optional>> connectionCredentials() { + return Optional.ofNullable(this.connectionCredentials); + } + + /** + * The details of the Oracle Database connection string. + * + */ + @Import(name="connectionStrings") + private @Nullable Output> connectionStrings; + + /** + * @return The details of the Oracle Database connection string. + * + */ + public Optional>> connectionStrings() { + return Optional.ofNullable(this.connectionStrings); + } + + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs() {} + + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs $) { + this.connectionCredentials = $.connectionCredentials; + this.connectionStrings = $.connectionStrings; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs $; + + public Builder() { + $ = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs(); + } + + public Builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs defaults) { + $ = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param connectionCredentials The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + * @return builder + * + */ + public Builder connectionCredentials(@Nullable Output> connectionCredentials) { + $.connectionCredentials = connectionCredentials; + return this; + } + + /** + * @param connectionCredentials The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + * @return builder + * + */ + public Builder connectionCredentials(List connectionCredentials) { + return connectionCredentials(Output.of(connectionCredentials)); + } + + /** + * @param connectionCredentials The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + * @return builder + * + */ + public Builder connectionCredentials(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs... connectionCredentials) { + return connectionCredentials(List.of(connectionCredentials)); + } + + /** + * @param connectionStrings The details of the Oracle Database connection string. + * + * @return builder + * + */ + public Builder connectionStrings(@Nullable Output> connectionStrings) { + $.connectionStrings = connectionStrings; + return this; + } + + /** + * @param connectionStrings The details of the Oracle Database connection string. + * + * @return builder + * + */ + public Builder connectionStrings(List connectionStrings) { + return connectionStrings(Output.of(connectionStrings)); + } + + /** + * @param connectionStrings The details of the Oracle Database connection string. + * + * @return builder + * + */ + public Builder connectionStrings(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs... connectionStrings) { + return connectionStrings(List.of(connectionStrings)); + } + + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs.java new file mode 100644 index 0000000000..2d198bd178 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs.java @@ -0,0 +1,305 @@ +// *** 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.DatabaseManagement.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 ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs extends com.pulumi.resources.ResourceArgs { + + public static final ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs Empty = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs(); + + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + */ + @Import(name="credentialName") + private @Nullable Output credentialName; + + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + */ + public Optional> credentialName() { + return Optional.ofNullable(this.credentialName); + } + + /** + * The type of credential used to connect to the database. + * + */ + @Import(name="credentialType") + private @Nullable Output credentialType; + + /** + * @return The type of credential used to connect to the database. + * + */ + public Optional> credentialType() { + return Optional.ofNullable(this.credentialType); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + @Import(name="namedCredentialId") + private @Nullable Output namedCredentialId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + public Optional> namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + @Import(name="passwordSecretId") + private @Nullable Output passwordSecretId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + public Optional> passwordSecretId() { + return Optional.ofNullable(this.passwordSecretId); + } + + /** + * The role of the user connecting to the database. + * + */ + @Import(name="role") + private @Nullable Output role; + + /** + * @return The role of the user connecting to the database. + * + */ + public Optional> role() { + return Optional.ofNullable(this.role); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + @Import(name="sslSecretId") + private @Nullable Output sslSecretId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + public Optional> sslSecretId() { + return Optional.ofNullable(this.sslSecretId); + } + + /** + * The user name used to connect to the database. + * + */ + @Import(name="userName") + private @Nullable Output userName; + + /** + * @return The user name used to connect to the database. + * + */ + public Optional> userName() { + return Optional.ofNullable(this.userName); + } + + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs() {} + + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs $) { + this.credentialName = $.credentialName; + this.credentialType = $.credentialType; + this.namedCredentialId = $.namedCredentialId; + this.passwordSecretId = $.passwordSecretId; + this.role = $.role; + this.sslSecretId = $.sslSecretId; + this.userName = $.userName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs $; + + public Builder() { + $ = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs(); + } + + public Builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs defaults) { + $ = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param credentialName The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + * @return builder + * + */ + public Builder credentialName(@Nullable Output credentialName) { + $.credentialName = credentialName; + return this; + } + + /** + * @param credentialName The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + * @return builder + * + */ + public Builder credentialName(String credentialName) { + return credentialName(Output.of(credentialName)); + } + + /** + * @param credentialType The type of credential used to connect to the database. + * + * @return builder + * + */ + public Builder credentialType(@Nullable Output credentialType) { + $.credentialType = credentialType; + return this; + } + + /** + * @param credentialType The type of credential used to connect to the database. + * + * @return builder + * + */ + public Builder credentialType(String credentialType) { + return credentialType(Output.of(credentialType)); + } + + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(@Nullable Output namedCredentialId) { + $.namedCredentialId = namedCredentialId; + return this; + } + + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(String namedCredentialId) { + return namedCredentialId(Output.of(namedCredentialId)); + } + + /** + * @param passwordSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + * @return builder + * + */ + public Builder passwordSecretId(@Nullable Output passwordSecretId) { + $.passwordSecretId = passwordSecretId; + return this; + } + + /** + * @param passwordSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + * @return builder + * + */ + public Builder passwordSecretId(String passwordSecretId) { + return passwordSecretId(Output.of(passwordSecretId)); + } + + /** + * @param role The role of the user connecting to the database. + * + * @return builder + * + */ + public Builder role(@Nullable Output role) { + $.role = role; + return this; + } + + /** + * @param role The role of the user connecting to the database. + * + * @return builder + * + */ + public Builder role(String role) { + return role(Output.of(role)); + } + + /** + * @param sslSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + * @return builder + * + */ + public Builder sslSecretId(@Nullable Output sslSecretId) { + $.sslSecretId = sslSecretId; + return this; + } + + /** + * @param sslSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + * @return builder + * + */ + public Builder sslSecretId(String sslSecretId) { + return sslSecretId(Output.of(sslSecretId)); + } + + /** + * @param userName The user name used to connect to the database. + * + * @return builder + * + */ + public Builder userName(@Nullable Output userName) { + $.userName = userName; + return this; + } + + /** + * @param userName The user name used to connect to the database. + * + * @return builder + * + */ + public Builder userName(String userName) { + return userName(Output.of(userName)); + } + + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs.java new file mode 100644 index 0000000000..1ee27ead4a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs.java @@ -0,0 +1,199 @@ +// *** 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.DatabaseManagement.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 ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs extends com.pulumi.resources.ResourceArgs { + + public static final ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs Empty = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs(); + + /** + * The list of supported connection types: + * * BASIC: Basic connection details + * + */ + @Import(name="connectionType") + private @Nullable Output connectionType; + + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + public Optional> connectionType() { + return Optional.ofNullable(this.connectionType); + } + + /** + * The port number used to connect to the database. + * + */ + @Import(name="port") + private @Nullable Output port; + + /** + * @return The port number used to connect to the database. + * + */ + public Optional> port() { + return Optional.ofNullable(this.port); + } + + /** + * The protocol used to connect to the database. + * + */ + @Import(name="protocol") + private @Nullable Output protocol; + + /** + * @return The protocol used to connect to the database. + * + */ + public Optional> protocol() { + return Optional.ofNullable(this.protocol); + } + + /** + * The service name of the database. + * + */ + @Import(name="service") + private @Nullable Output service; + + /** + * @return The service name of the database. + * + */ + public Optional> service() { + return Optional.ofNullable(this.service); + } + + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs() {} + + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs $) { + this.connectionType = $.connectionType; + this.port = $.port; + this.protocol = $.protocol; + this.service = $.service; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs $; + + public Builder() { + $ = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs(); + } + + public Builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs defaults) { + $ = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param connectionType The list of supported connection types: + * * BASIC: Basic connection details + * + * @return builder + * + */ + public Builder connectionType(@Nullable Output connectionType) { + $.connectionType = connectionType; + return this; + } + + /** + * @param connectionType The list of supported connection types: + * * BASIC: Basic connection details + * + * @return builder + * + */ + public Builder connectionType(String connectionType) { + return connectionType(Output.of(connectionType)); + } + + /** + * @param port The port number used to connect to the database. + * + * @return builder + * + */ + public Builder port(@Nullable Output port) { + $.port = port; + return this; + } + + /** + * @param port The port number used to connect to the database. + * + * @return builder + * + */ + public Builder port(Integer port) { + return port(Output.of(port)); + } + + /** + * @param protocol The protocol used to connect to the database. + * + * @return builder + * + */ + public Builder protocol(@Nullable Output protocol) { + $.protocol = protocol; + return this; + } + + /** + * @param protocol The protocol used to connect to the database. + * + * @return builder + * + */ + public Builder protocol(String protocol) { + return protocol(Output.of(protocol)); + } + + /** + * @param service The service name of the database. + * + * @return builder + * + */ + public Builder service(@Nullable Output service) { + $.service = service; + return this; + } + + /** + * @param service The service name of the database. + * + * @return builder + * + */ + public Builder service(String service) { + return service(Output.of(service)); + } + + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseState.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseState.java index e9c52f3699..b4cf9a55a5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/ManagedDatabaseState.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabaseDbmgmtFeatureConfigArgs; import com.pulumi.oci.DatabaseManagement.inputs.ManagedDatabaseManagedDatabaseGroupArgs; import java.lang.Boolean; import java.lang.String; @@ -49,6 +50,21 @@ public Optional> compartmentId() { return Optional.ofNullable(this.compartmentId); } + /** + * The operating system of database. + * + */ + @Import(name="databasePlatformName") + private @Nullable Output databasePlatformName; + + /** + * @return The operating system of database. + * + */ + public Optional> databasePlatformName() { + return Optional.ofNullable(this.databasePlatformName); + } + /** * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. * @@ -124,6 +140,21 @@ public Optional> dbSystemId() { return Optional.ofNullable(this.dbSystemId); } + /** + * The list of feature configurations + * + */ + @Import(name="dbmgmtFeatureConfigs") + private @Nullable Output> dbmgmtFeatureConfigs; + + /** + * @return The list of feature configurations + * + */ + public Optional>> dbmgmtFeatureConfigs() { + return Optional.ofNullable(this.dbmgmtFeatureConfigs); + } + /** * (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"}` * @@ -330,11 +361,13 @@ private ManagedDatabaseState() {} private ManagedDatabaseState(ManagedDatabaseState $) { this.additionalDetails = $.additionalDetails; this.compartmentId = $.compartmentId; + this.databasePlatformName = $.databasePlatformName; this.databaseStatus = $.databaseStatus; this.databaseSubType = $.databaseSubType; this.databaseType = $.databaseType; this.databaseVersion = $.databaseVersion; this.dbSystemId = $.dbSystemId; + this.dbmgmtFeatureConfigs = $.dbmgmtFeatureConfigs; this.definedTags = $.definedTags; this.deploymentType = $.deploymentType; this.freeformTags = $.freeformTags; @@ -410,6 +443,27 @@ public Builder compartmentId(String compartmentId) { return compartmentId(Output.of(compartmentId)); } + /** + * @param databasePlatformName The operating system of database. + * + * @return builder + * + */ + public Builder databasePlatformName(@Nullable Output databasePlatformName) { + $.databasePlatformName = databasePlatformName; + return this; + } + + /** + * @param databasePlatformName The operating system of database. + * + * @return builder + * + */ + public Builder databasePlatformName(String databasePlatformName) { + return databasePlatformName(Output.of(databasePlatformName)); + } + /** * @param databaseStatus The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. * @@ -515,6 +569,37 @@ public Builder dbSystemId(String dbSystemId) { return dbSystemId(Output.of(dbSystemId)); } + /** + * @param dbmgmtFeatureConfigs The list of feature configurations + * + * @return builder + * + */ + public Builder dbmgmtFeatureConfigs(@Nullable Output> dbmgmtFeatureConfigs) { + $.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs; + return this; + } + + /** + * @param dbmgmtFeatureConfigs The list of feature configurations + * + * @return builder + * + */ + public Builder dbmgmtFeatureConfigs(List dbmgmtFeatureConfigs) { + return dbmgmtFeatureConfigs(Output.of(dbmgmtFeatureConfigs)); + } + + /** + * @param dbmgmtFeatureConfigs The list of feature configurations + * + * @return builder + * + */ + public Builder dbmgmtFeatureConfigs(ManagedDatabaseDbmgmtFeatureConfigArgs... dbmgmtFeatureConfigs) { + return dbmgmtFeatureConfigs(List.of(dbmgmtFeatureConfigs)); + } + /** * @param definedTags (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"}` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java index 4bbd0ae4a2..376b2032d9 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs.java @@ -20,6 +20,7 @@ public final class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatur * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ @Import(name="connectorType") @@ -30,6 +31,7 @@ public final class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatur * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ public Optional> connectorType() { @@ -113,6 +115,7 @@ public Builder(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDet * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * * @return builder * @@ -127,6 +130,7 @@ public Builder connectorType(@Nullable Output connectorType) { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java index 1baf96c5db..334398c6d6 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs.java @@ -49,6 +49,21 @@ public Optional> credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + @Import(name="namedCredentialId") + private @Nullable Output namedCredentialId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + public Optional> namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. * @@ -114,6 +129,7 @@ private PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDat private PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs $) { this.credentialName = $.credentialName; this.credentialType = $.credentialType; + this.namedCredentialId = $.namedCredentialId; this.passwordSecretId = $.passwordSecretId; this.role = $.role; this.sslSecretId = $.sslSecretId; @@ -184,6 +200,27 @@ public Builder credentialType(String credentialType) { return credentialType(Output.of(credentialType)); } + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(@Nullable Output namedCredentialId) { + $.namedCredentialId = namedCredentialId; + return this; + } + + /** + * @param namedCredentialId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + * @return builder + * + */ + public Builder namedCredentialId(String namedCredentialId) { + return namedCredentialId(Output.of(namedCredentialId)); + } + /** * @param passwordSecretId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementState.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementState.java index 0925bd0571..ec40b19850 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/inputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementState.java @@ -53,6 +53,13 @@ public Optional modifyPluggableDatabaseDbmFeature; + + public Optional> modifyPluggableDatabaseDbmFeature() { + return Optional.ofNullable(this.modifyPluggableDatabaseDbmFeature); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. * @@ -73,6 +80,7 @@ private PluggabledatabasePluggableDatabaseDbmFeaturesManagementState() {} private PluggabledatabasePluggableDatabaseDbmFeaturesManagementState(PluggabledatabasePluggableDatabaseDbmFeaturesManagementState $) { this.enablePluggableDatabaseDbmFeature = $.enablePluggableDatabaseDbmFeature; this.featureDetails = $.featureDetails; + this.modifyPluggableDatabaseDbmFeature = $.modifyPluggableDatabaseDbmFeature; this.pluggableDatabaseId = $.pluggableDatabaseId; } @@ -142,6 +150,15 @@ public Builder featureDetails(PluggabledatabasePluggableDatabaseDbmFeaturesManag return featureDetails(Output.of(featureDetails)); } + public Builder modifyPluggableDatabaseDbmFeature(@Nullable Output modifyPluggableDatabaseDbmFeature) { + $.modifyPluggableDatabaseDbmFeature = modifyPluggableDatabaseDbmFeature; + return this; + } + + public Builder modifyPluggableDatabaseDbmFeature(Boolean modifyPluggableDatabaseDbmFeature) { + return modifyPluggableDatabaseDbmFeature(Output.of(modifyPluggableDatabaseDbmFeature)); + } + /** * @param pluggableDatabaseId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails.java new file mode 100644 index 0000000000..c4e71f80bf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails.java @@ -0,0 +1,104 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails; +import com.pulumi.oci.DatabaseManagement.outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails { + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + private @Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails connectorDetails; + /** + * @return The connection details required to connect to the database. + * + */ + private @Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails databaseConnectionDetails; + /** + * @return The name of the Database Management feature. + * + */ + private String feature; + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails() {} + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + public Optional connectorDetails() { + return Optional.ofNullable(this.connectorDetails); + } + /** + * @return The connection details required to connect to the database. + * + */ + public Optional databaseConnectionDetails() { + return Optional.ofNullable(this.databaseConnectionDetails); + } + /** + * @return The name of the Database Management feature. + * + */ + public String feature() { + return this.feature; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails connectorDetails; + private @Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails databaseConnectionDetails; + private String feature; + public Builder() {} + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails defaults) { + Objects.requireNonNull(defaults); + this.connectorDetails = defaults.connectorDetails; + this.databaseConnectionDetails = defaults.databaseConnectionDetails; + this.feature = defaults.feature; + } + + @CustomType.Setter + public Builder connectorDetails(@Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails connectorDetails) { + + this.connectorDetails = connectorDetails; + return this; + } + @CustomType.Setter + public Builder databaseConnectionDetails(@Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails databaseConnectionDetails) { + + this.databaseConnectionDetails = databaseConnectionDetails; + return this; + } + @CustomType.Setter + public Builder feature(String feature) { + if (feature == null) { + throw new MissingRequiredPropertyException("AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails", "feature"); + } + this.feature = feature; + return this; + } + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails build() { + final var _resultValue = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails(); + _resultValue.connectorDetails = connectorDetails; + _resultValue.databaseConnectionDetails = databaseConnectionDetails; + _resultValue.feature = feature; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java new file mode 100644 index 0000000000..bb94d82102 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java @@ -0,0 +1,128 @@ +// *** 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.DatabaseManagement.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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails { + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * * DIRECT: Direct connection + * + */ + private @Nullable String connectorType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + private @Nullable String databaseConnectorId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + private @Nullable String managementAgentId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + private @Nullable String privateEndPointId; + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails() {} + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * * DIRECT: Direct connection + * + */ + public Optional connectorType() { + return Optional.ofNullable(this.connectorType); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + public Optional databaseConnectorId() { + return Optional.ofNullable(this.databaseConnectorId); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + public Optional managementAgentId() { + return Optional.ofNullable(this.managementAgentId); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + public Optional privateEndPointId() { + return Optional.ofNullable(this.privateEndPointId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String connectorType; + private @Nullable String databaseConnectorId; + private @Nullable String managementAgentId; + private @Nullable String privateEndPointId; + public Builder() {} + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails defaults) { + Objects.requireNonNull(defaults); + this.connectorType = defaults.connectorType; + this.databaseConnectorId = defaults.databaseConnectorId; + this.managementAgentId = defaults.managementAgentId; + this.privateEndPointId = defaults.privateEndPointId; + } + + @CustomType.Setter + public Builder connectorType(@Nullable String connectorType) { + + this.connectorType = connectorType; + return this; + } + @CustomType.Setter + public Builder databaseConnectorId(@Nullable String databaseConnectorId) { + + this.databaseConnectorId = databaseConnectorId; + return this; + } + @CustomType.Setter + public Builder managementAgentId(@Nullable String managementAgentId) { + + this.managementAgentId = managementAgentId; + return this; + } + @CustomType.Setter + public Builder privateEndPointId(@Nullable String privateEndPointId) { + + this.privateEndPointId = privateEndPointId; + return this; + } + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails build() { + final var _resultValue = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails(); + _resultValue.connectorType = connectorType; + _resultValue.databaseConnectorId = databaseConnectorId; + _resultValue.managementAgentId = managementAgentId; + _resultValue.privateEndPointId = privateEndPointId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.java new file mode 100644 index 0000000000..7d30fabfd4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.java @@ -0,0 +1,79 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.DatabaseManagement.outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials; +import com.pulumi.oci.DatabaseManagement.outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails { + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + private @Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials connectionCredentials; + /** + * @return The details of the Oracle Database connection string. + * + */ + private @Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString connectionString; + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails() {} + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + public Optional connectionCredentials() { + return Optional.ofNullable(this.connectionCredentials); + } + /** + * @return The details of the Oracle Database connection string. + * + */ + public Optional connectionString() { + return Optional.ofNullable(this.connectionString); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials connectionCredentials; + private @Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString connectionString; + public Builder() {} + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails defaults) { + Objects.requireNonNull(defaults); + this.connectionCredentials = defaults.connectionCredentials; + this.connectionString = defaults.connectionString; + } + + @CustomType.Setter + public Builder connectionCredentials(@Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials connectionCredentials) { + + this.connectionCredentials = connectionCredentials; + return this; + } + @CustomType.Setter + public Builder connectionString(@Nullable AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString connectionString) { + + this.connectionString = connectionString; + return this; + } + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails build() { + final var _resultValue = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails(); + _resultValue.connectionCredentials = connectionCredentials; + _resultValue.connectionString = connectionString; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java new file mode 100644 index 0000000000..f14c69e821 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java @@ -0,0 +1,166 @@ +// *** 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.DatabaseManagement.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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials { + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + * For example: inventorydb.abc112233445566778899 + * + */ + private @Nullable String credentialName; + /** + * @return The type of credential used to connect to the database. + * + */ + private @Nullable String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + private @Nullable String passwordSecretId; + /** + * @return The role of the user connecting to the database. + * + */ + private @Nullable String role; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + private @Nullable String sslSecretId; + /** + * @return The user name used to connect to the database. + * + */ + private @Nullable String userName; + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials() {} + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + * For example: inventorydb.abc112233445566778899 + * + */ + public Optional credentialName() { + return Optional.ofNullable(this.credentialName); + } + /** + * @return The type of credential used to connect to the database. + * + */ + public Optional credentialType() { + return Optional.ofNullable(this.credentialType); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + public Optional passwordSecretId() { + return Optional.ofNullable(this.passwordSecretId); + } + /** + * @return The role of the user connecting to the database. + * + */ + public Optional role() { + return Optional.ofNullable(this.role); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + public Optional sslSecretId() { + return Optional.ofNullable(this.sslSecretId); + } + /** + * @return The user name used to connect to the database. + * + */ + public Optional userName() { + return Optional.ofNullable(this.userName); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String credentialName; + private @Nullable String credentialType; + private @Nullable String passwordSecretId; + private @Nullable String role; + private @Nullable String sslSecretId; + private @Nullable String userName; + public Builder() {} + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials defaults) { + Objects.requireNonNull(defaults); + this.credentialName = defaults.credentialName; + this.credentialType = defaults.credentialType; + this.passwordSecretId = defaults.passwordSecretId; + this.role = defaults.role; + this.sslSecretId = defaults.sslSecretId; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder credentialName(@Nullable String credentialName) { + + this.credentialName = credentialName; + return this; + } + @CustomType.Setter + public Builder credentialType(@Nullable String credentialType) { + + this.credentialType = credentialType; + return this; + } + @CustomType.Setter + public Builder passwordSecretId(@Nullable String passwordSecretId) { + + this.passwordSecretId = passwordSecretId; + return this; + } + @CustomType.Setter + public Builder role(@Nullable String role) { + + this.role = role; + return this; + } + @CustomType.Setter + public Builder sslSecretId(@Nullable String sslSecretId) { + + this.sslSecretId = sslSecretId; + return this; + } + @CustomType.Setter + public Builder userName(@Nullable String userName) { + + this.userName = userName; + return this; + } + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials build() { + final var _resultValue = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials(); + _resultValue.credentialName = credentialName; + _resultValue.credentialType = credentialType; + _resultValue.passwordSecretId = passwordSecretId; + _resultValue.role = role; + _resultValue.sslSecretId = sslSecretId; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.java new file mode 100644 index 0000000000..a69ec6c0de --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.java @@ -0,0 +1,123 @@ +// *** 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.DatabaseManagement.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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString { + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + private @Nullable String connectionType; + /** + * @return The port number used to connect to the database. + * + */ + private @Nullable Integer port; + /** + * @return The protocol used to connect to the database. + * + */ + private @Nullable String protocol; + /** + * @return The service name of the database. + * + */ + private @Nullable String service; + + private AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString() {} + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + public Optional connectionType() { + return Optional.ofNullable(this.connectionType); + } + /** + * @return The port number used to connect to the database. + * + */ + public Optional port() { + return Optional.ofNullable(this.port); + } + /** + * @return The protocol used to connect to the database. + * + */ + public Optional protocol() { + return Optional.ofNullable(this.protocol); + } + /** + * @return The service name of the database. + * + */ + public Optional service() { + return Optional.ofNullable(this.service); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String connectionType; + private @Nullable Integer port; + private @Nullable String protocol; + private @Nullable String service; + public Builder() {} + public Builder(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString defaults) { + Objects.requireNonNull(defaults); + this.connectionType = defaults.connectionType; + this.port = defaults.port; + this.protocol = defaults.protocol; + this.service = defaults.service; + } + + @CustomType.Setter + public Builder connectionType(@Nullable String connectionType) { + + this.connectionType = connectionType; + return this; + } + @CustomType.Setter + public Builder port(@Nullable Integer port) { + + this.port = port; + return this; + } + @CustomType.Setter + public Builder protocol(@Nullable String protocol) { + + this.protocol = protocol; + return this; + } + @CustomType.Setter + public Builder service(@Nullable String service) { + + this.service = service; + return this; + } + public AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString build() { + final var _resultValue = new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString(); + _resultValue.connectionType = connectionType; + _resultValue.port = port; + _resultValue.protocol = protocol; + _resultValue.service = service; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java index 9b25dd4d84..abdab974d1 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java @@ -16,6 +16,7 @@ public final class DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ private @Nullable String connectorType; @@ -41,6 +42,7 @@ private DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails() {} * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ public Optional connectorType() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java index 5951cae048..5389c5793f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java @@ -23,6 +23,11 @@ public final class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnection * */ private @Nullable String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + private @Nullable String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. * @@ -61,6 +66,13 @@ public Optional credentialName() { public Optional credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + public Optional namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. * @@ -101,6 +113,7 @@ public static Builder builder(DatabaseDbmFeaturesManagementFeatureDetailsDatabas public static final class Builder { private @Nullable String credentialName; private @Nullable String credentialType; + private @Nullable String namedCredentialId; private @Nullable String passwordSecretId; private @Nullable String role; private @Nullable String sslSecretId; @@ -110,6 +123,7 @@ public Builder(DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDeta Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -129,6 +143,12 @@ public Builder credentialType(@Nullable String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(@Nullable String namedCredentialId) { + + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(@Nullable String passwordSecretId) { this.passwordSecretId = passwordSecretId; @@ -156,6 +176,7 @@ public DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConne final var _resultValue = new DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemConnectorConnectionInfoConnectionCredential.java index a19fba5961..695cfd3389 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemConnectorConnectionInfoConnectionCredential.java @@ -21,6 +21,11 @@ public final class ExternalDbSystemConnectorConnectionInfoConnectionCredential { * */ private @Nullable String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private @Nullable String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -57,6 +62,13 @@ public Optional credentialName() { public Optional credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public Optional namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -97,6 +109,7 @@ public static Builder builder(ExternalDbSystemConnectorConnectionInfoConnectionC public static final class Builder { private @Nullable String credentialName; private @Nullable String credentialType; + private @Nullable String namedCredentialId; private @Nullable String passwordSecretId; private @Nullable String role; private @Nullable String sslSecretId; @@ -106,6 +119,7 @@ public Builder(ExternalDbSystemConnectorConnectionInfoConnectionCredential defau Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -125,6 +139,12 @@ public Builder credentialType(@Nullable String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(@Nullable String namedCredentialId) { + + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(@Nullable String passwordSecretId) { this.passwordSecretId = passwordSecretId; @@ -152,6 +172,7 @@ public ExternalDbSystemConnectorConnectionInfoConnectionCredential build() { final var _resultValue = new ExternalDbSystemConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java index 7c5eb8cc8b..150905f3c6 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java @@ -21,6 +21,11 @@ public final class ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceCo * */ private @Nullable String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private @Nullable String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -57,6 +62,13 @@ public Optional credentialName() { public Optional credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public Optional namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -97,6 +109,7 @@ public static Builder builder(ExternalDbSystemDiscoveryDiscoveredComponentCluste public static final class Builder { private @Nullable String credentialName; private @Nullable String credentialType; + private @Nullable String namedCredentialId; private @Nullable String passwordSecretId; private @Nullable String role; private @Nullable String sslSecretId; @@ -106,6 +119,7 @@ public Builder(ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnec Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -125,6 +139,12 @@ public Builder credentialType(@Nullable String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(@Nullable String namedCredentialId) { + + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(@Nullable String passwordSecretId) { this.passwordSecretId = passwordSecretId; @@ -152,6 +172,7 @@ public ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConne final var _resultValue = new ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.java index f6a35993c0..ed27715edd 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.java @@ -21,6 +21,11 @@ public final class ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnecti * */ private @Nullable String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private @Nullable String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -57,6 +62,13 @@ public Optional credentialName() { public Optional credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public Optional namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -97,6 +109,7 @@ public static Builder builder(ExternalDbSystemDiscoveryDiscoveredComponentConnec public static final class Builder { private @Nullable String credentialName; private @Nullable String credentialType; + private @Nullable String namedCredentialId; private @Nullable String passwordSecretId; private @Nullable String role; private @Nullable String sslSecretId; @@ -106,6 +119,7 @@ public Builder(ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionIn Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -125,6 +139,12 @@ public Builder credentialType(@Nullable String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(@Nullable String namedCredentialId) { + + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(@Nullable String passwordSecretId) { this.passwordSecretId = passwordSecretId; @@ -152,6 +172,7 @@ public ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnec final var _resultValue = new ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java index cab77a02da..e924675e0b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java @@ -21,6 +21,11 @@ public final class ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabase * */ private @Nullable String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private @Nullable String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -57,6 +62,13 @@ public Optional credentialName() { public Optional credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public Optional namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -97,6 +109,7 @@ public static Builder builder(ExternalDbSystemDiscoveryDiscoveredComponentPlugga public static final class Builder { private @Nullable String credentialName; private @Nullable String credentialType; + private @Nullable String namedCredentialId; private @Nullable String passwordSecretId; private @Nullable String role; private @Nullable String sslSecretId; @@ -106,6 +119,7 @@ public Builder(ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConn Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -125,6 +139,12 @@ public Builder credentialType(@Nullable String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(@Nullable String namedCredentialId) { + + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(@Nullable String passwordSecretId) { this.passwordSecretId = passwordSecretId; @@ -152,6 +172,7 @@ public ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorCon final var _resultValue = new ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.java index acfd871b77..f97a87ae84 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.java @@ -16,6 +16,7 @@ public final class ExternalcontainerdatabaseExternalContainerDbmFeaturesManageme * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ private @Nullable String connectorType; @@ -41,6 +42,7 @@ private ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDe * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ public Optional connectorType() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.java index a4c0e1fa9c..6fc3e15eac 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.java @@ -16,6 +16,7 @@ public final class ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesMa * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ private @Nullable String connectorType; @@ -41,6 +42,7 @@ private ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFea * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ public Optional connectorType() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.java index faa5110639..d3b1ed7056 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.java @@ -16,6 +16,7 @@ public final class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManageme * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ private @Nullable String connectorType; @@ -41,6 +42,7 @@ private ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDe * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ public Optional connectorType() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointResult.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointResult.java index f004cf2208..02b7528902 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointResult.java @@ -44,6 +44,11 @@ public final class GetDbManagementPrivateEndpointResult { * */ private Boolean isCluster; + /** + * @return Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + */ + private Boolean isDnsResolutionEnabled; /** * @return The display name of the Database Management private endpoint. * @@ -131,6 +136,13 @@ public String id() { public Boolean isCluster() { return this.isCluster; } + /** + * @return Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + */ + public Boolean isDnsResolutionEnabled() { + return this.isDnsResolutionEnabled; + } /** * @return The display name of the Database Management private endpoint. * @@ -204,6 +216,7 @@ public static final class Builder { private Map freeformTags; private String id; private Boolean isCluster; + private Boolean isDnsResolutionEnabled; private String name; private List nsgIds; private String privateIp; @@ -222,6 +235,7 @@ public Builder(GetDbManagementPrivateEndpointResult defaults) { this.freeformTags = defaults.freeformTags; this.id = defaults.id; this.isCluster = defaults.isCluster; + this.isDnsResolutionEnabled = defaults.isDnsResolutionEnabled; this.name = defaults.name; this.nsgIds = defaults.nsgIds; this.privateIp = defaults.privateIp; @@ -289,6 +303,14 @@ public Builder isCluster(Boolean isCluster) { return this; } @CustomType.Setter + public Builder isDnsResolutionEnabled(Boolean isDnsResolutionEnabled) { + if (isDnsResolutionEnabled == null) { + throw new MissingRequiredPropertyException("GetDbManagementPrivateEndpointResult", "isDnsResolutionEnabled"); + } + this.isDnsResolutionEnabled = isDnsResolutionEnabled; + return this; + } + @CustomType.Setter public Builder name(String name) { if (name == null) { throw new MissingRequiredPropertyException("GetDbManagementPrivateEndpointResult", "name"); @@ -364,6 +386,7 @@ public GetDbManagementPrivateEndpointResult build() { _resultValue.freeformTags = freeformTags; _resultValue.id = id; _resultValue.isCluster = isCluster; + _resultValue.isDnsResolutionEnabled = isDnsResolutionEnabled; _resultValue.name = name; _resultValue.nsgIds = nsgIds; _resultValue.privateIp = privateIp; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem.java index 2c838ba47a..f600ed3441 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem.java @@ -43,6 +43,11 @@ public final class GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCol * */ private Boolean isCluster; + /** + * @return The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + * + */ + private Boolean isDnsResolutionEnabled; /** * @return A filter to return only resources that match the entire name. * @@ -127,6 +132,13 @@ public String id() { public Boolean isCluster() { return this.isCluster; } + /** + * @return The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + * + */ + public Boolean isDnsResolutionEnabled() { + return this.isDnsResolutionEnabled; + } /** * @return A filter to return only resources that match the entire name. * @@ -199,6 +211,7 @@ public static final class Builder { private Map freeformTags; private String id; private Boolean isCluster; + private Boolean isDnsResolutionEnabled; private String name; private List nsgIds; private String privateIp; @@ -216,6 +229,7 @@ public Builder(GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollect this.freeformTags = defaults.freeformTags; this.id = defaults.id; this.isCluster = defaults.isCluster; + this.isDnsResolutionEnabled = defaults.isDnsResolutionEnabled; this.name = defaults.name; this.nsgIds = defaults.nsgIds; this.privateIp = defaults.privateIp; @@ -275,6 +289,14 @@ public Builder isCluster(Boolean isCluster) { return this; } @CustomType.Setter + public Builder isDnsResolutionEnabled(Boolean isDnsResolutionEnabled) { + if (isDnsResolutionEnabled == null) { + throw new MissingRequiredPropertyException("GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem", "isDnsResolutionEnabled"); + } + this.isDnsResolutionEnabled = isDnsResolutionEnabled; + return this; + } + @CustomType.Setter public Builder name(String name) { if (name == null) { throw new MissingRequiredPropertyException("GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem", "name"); @@ -349,6 +371,7 @@ public GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItem _resultValue.freeformTags = freeformTags; _resultValue.id = id; _resultValue.isCluster = isCluster; + _resultValue.isDnsResolutionEnabled = isDnsResolutionEnabled; _resultValue.name = name; _resultValue.nsgIds = nsgIds; _resultValue.privateIp = privateIp; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointsResult.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointsResult.java index 57f5526736..35c1c1ab63 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointsResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetDbManagementPrivateEndpointsResult.java @@ -37,6 +37,11 @@ public final class GetDbManagementPrivateEndpointsResult { * */ private @Nullable Boolean isCluster; + /** + * @return Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + */ + private @Nullable Boolean isDnsResolutionEnabled; /** * @return The display name of the Database Management private endpoint. * @@ -85,6 +90,13 @@ public String id() { public Optional isCluster() { return Optional.ofNullable(this.isCluster); } + /** + * @return Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + * + */ + public Optional isDnsResolutionEnabled() { + return Optional.ofNullable(this.isDnsResolutionEnabled); + } /** * @return The display name of the Database Management private endpoint. * @@ -121,6 +133,7 @@ public static final class Builder { private @Nullable List filters; private String id; private @Nullable Boolean isCluster; + private @Nullable Boolean isDnsResolutionEnabled; private @Nullable String name; private @Nullable String state; private @Nullable String vcnId; @@ -132,6 +145,7 @@ public Builder(GetDbManagementPrivateEndpointsResult defaults) { this.filters = defaults.filters; this.id = defaults.id; this.isCluster = defaults.isCluster; + this.isDnsResolutionEnabled = defaults.isDnsResolutionEnabled; this.name = defaults.name; this.state = defaults.state; this.vcnId = defaults.vcnId; @@ -180,6 +194,12 @@ public Builder isCluster(@Nullable Boolean isCluster) { return this; } @CustomType.Setter + public Builder isDnsResolutionEnabled(@Nullable Boolean isDnsResolutionEnabled) { + + this.isDnsResolutionEnabled = isDnsResolutionEnabled; + return this; + } + @CustomType.Setter public Builder name(@Nullable String name) { this.name = name; @@ -204,6 +224,7 @@ public GetDbManagementPrivateEndpointsResult build() { _resultValue.filters = filters; _resultValue.id = id; _resultValue.isCluster = isCluster; + _resultValue.isDnsResolutionEnabled = isDnsResolutionEnabled; _resultValue.name = name; _resultValue.state = state; _resultValue.vcnId = vcnId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItem.java index f6d19509f6..45bd477007 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItem.java @@ -7,6 +7,7 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.oci.DatabaseManagement.outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfig; import com.pulumi.oci.DatabaseManagement.outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfo; +import com.pulumi.oci.DatabaseManagement.outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig; import com.pulumi.oci.DatabaseManagement.outputs.GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetail; import java.lang.String; import java.util.List; @@ -20,6 +21,11 @@ public final class GetExternalDatabasesExternalDatabaseCollectionItem { * */ private String compartmentId; + /** + * @return The operating system of database. + * + */ + private String databasePlatformName; /** * @return The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. * @@ -30,6 +36,11 @@ public final class GetExternalDatabasesExternalDatabaseCollectionItem { * */ private String databaseType; + /** + * @return The Oracle database version. + * + */ + private String databaseVersion; /** * @return The configuration of the Database Management service. * @@ -45,6 +56,11 @@ public final class GetExternalDatabasesExternalDatabaseCollectionItem { * */ private String dbUniqueName; + /** + * @return The list of feature configurations + * + */ + private List dbmgmtFeatureConfigs; /** * @return 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"}` * @@ -104,6 +120,13 @@ private GetExternalDatabasesExternalDatabaseCollectionItem() {} public String compartmentId() { return this.compartmentId; } + /** + * @return The operating system of database. + * + */ + public String databasePlatformName() { + return this.databasePlatformName; + } /** * @return The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. * @@ -118,6 +141,13 @@ public String databaseSubType() { public String databaseType() { return this.databaseType; } + /** + * @return The Oracle database version. + * + */ + public String databaseVersion() { + return this.databaseVersion; + } /** * @return The configuration of the Database Management service. * @@ -139,6 +169,13 @@ public List dbSy public String dbUniqueName() { return this.dbUniqueName; } + /** + * @return The list of feature configurations + * + */ + public List dbmgmtFeatureConfigs() { + return this.dbmgmtFeatureConfigs; + } /** * @return 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"}` * @@ -220,11 +257,14 @@ public static Builder builder(GetExternalDatabasesExternalDatabaseCollectionItem @CustomType.Builder public static final class Builder { private String compartmentId; + private String databasePlatformName; private String databaseSubType; private String databaseType; + private String databaseVersion; private List dbManagementConfigs; private List dbSystemInfos; private String dbUniqueName; + private List dbmgmtFeatureConfigs; private Map definedTags; private String displayName; private String externalContainerDatabaseId; @@ -239,11 +279,14 @@ public Builder() {} public Builder(GetExternalDatabasesExternalDatabaseCollectionItem defaults) { Objects.requireNonNull(defaults); this.compartmentId = defaults.compartmentId; + this.databasePlatformName = defaults.databasePlatformName; this.databaseSubType = defaults.databaseSubType; this.databaseType = defaults.databaseType; + this.databaseVersion = defaults.databaseVersion; this.dbManagementConfigs = defaults.dbManagementConfigs; this.dbSystemInfos = defaults.dbSystemInfos; this.dbUniqueName = defaults.dbUniqueName; + this.dbmgmtFeatureConfigs = defaults.dbmgmtFeatureConfigs; this.definedTags = defaults.definedTags; this.displayName = defaults.displayName; this.externalContainerDatabaseId = defaults.externalContainerDatabaseId; @@ -265,6 +308,14 @@ public Builder compartmentId(String compartmentId) { return this; } @CustomType.Setter + public Builder databasePlatformName(String databasePlatformName) { + if (databasePlatformName == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItem", "databasePlatformName"); + } + this.databasePlatformName = databasePlatformName; + return this; + } + @CustomType.Setter public Builder databaseSubType(String databaseSubType) { if (databaseSubType == null) { throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItem", "databaseSubType"); @@ -281,6 +332,14 @@ public Builder databaseType(String databaseType) { return this; } @CustomType.Setter + public Builder databaseVersion(String databaseVersion) { + if (databaseVersion == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItem", "databaseVersion"); + } + this.databaseVersion = databaseVersion; + return this; + } + @CustomType.Setter public Builder dbManagementConfigs(List dbManagementConfigs) { if (dbManagementConfigs == null) { throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItem", "dbManagementConfigs"); @@ -311,6 +370,17 @@ public Builder dbUniqueName(String dbUniqueName) { return this; } @CustomType.Setter + public Builder dbmgmtFeatureConfigs(List dbmgmtFeatureConfigs) { + if (dbmgmtFeatureConfigs == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItem", "dbmgmtFeatureConfigs"); + } + this.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs; + return this; + } + public Builder dbmgmtFeatureConfigs(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig... dbmgmtFeatureConfigs) { + return dbmgmtFeatureConfigs(List.of(dbmgmtFeatureConfigs)); + } + @CustomType.Setter public Builder definedTags(Map definedTags) { if (definedTags == null) { throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItem", "definedTags"); @@ -396,11 +466,14 @@ public Builder timeCreated(String timeCreated) { public GetExternalDatabasesExternalDatabaseCollectionItem build() { final var _resultValue = new GetExternalDatabasesExternalDatabaseCollectionItem(); _resultValue.compartmentId = compartmentId; + _resultValue.databasePlatformName = databasePlatformName; _resultValue.databaseSubType = databaseSubType; _resultValue.databaseType = databaseType; + _resultValue.databaseVersion = databaseVersion; _resultValue.dbManagementConfigs = dbManagementConfigs; _resultValue.dbSystemInfos = dbSystemInfos; _resultValue.dbUniqueName = dbUniqueName; + _resultValue.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs; _resultValue.definedTags = definedTags; _resultValue.displayName = displayName; _resultValue.externalContainerDatabaseId = externalContainerDatabaseId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig.java new file mode 100644 index 0000000000..34dba275ae --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig.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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail; +import com.pulumi.oci.DatabaseManagement.outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig { + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + private List connectorDetails; + /** + * @return The connection details required to connect to the database. + * + */ + private List databaseConnectionDetails; + /** + * @return The name of the Database Management feature. + * + */ + private String feature; + /** + * @return The list of statuses for Database Management features. + * + */ + private String featureStatus; + /** + * @return The Oracle license model that applies to the external database. + * + */ + private String licenseModel; + + private GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig() {} + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + public List connectorDetails() { + return this.connectorDetails; + } + /** + * @return The connection details required to connect to the database. + * + */ + public List databaseConnectionDetails() { + return this.databaseConnectionDetails; + } + /** + * @return The name of the Database Management feature. + * + */ + public String feature() { + return this.feature; + } + /** + * @return The list of statuses for Database Management features. + * + */ + public String featureStatus() { + return this.featureStatus; + } + /** + * @return The Oracle license model that applies to the external database. + * + */ + public String licenseModel() { + return this.licenseModel; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List connectorDetails; + private List databaseConnectionDetails; + private String feature; + private String featureStatus; + private String licenseModel; + public Builder() {} + public Builder(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig defaults) { + Objects.requireNonNull(defaults); + this.connectorDetails = defaults.connectorDetails; + this.databaseConnectionDetails = defaults.databaseConnectionDetails; + this.feature = defaults.feature; + this.featureStatus = defaults.featureStatus; + this.licenseModel = defaults.licenseModel; + } + + @CustomType.Setter + public Builder connectorDetails(List connectorDetails) { + if (connectorDetails == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig", "connectorDetails"); + } + this.connectorDetails = connectorDetails; + return this; + } + public Builder connectorDetails(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail... connectorDetails) { + return connectorDetails(List.of(connectorDetails)); + } + @CustomType.Setter + public Builder databaseConnectionDetails(List databaseConnectionDetails) { + if (databaseConnectionDetails == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig", "databaseConnectionDetails"); + } + this.databaseConnectionDetails = databaseConnectionDetails; + return this; + } + public Builder databaseConnectionDetails(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail... databaseConnectionDetails) { + return databaseConnectionDetails(List.of(databaseConnectionDetails)); + } + @CustomType.Setter + public Builder feature(String feature) { + if (feature == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig", "feature"); + } + this.feature = feature; + return this; + } + @CustomType.Setter + public Builder featureStatus(String featureStatus) { + if (featureStatus == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig", "featureStatus"); + } + this.featureStatus = featureStatus; + return this; + } + @CustomType.Setter + public Builder licenseModel(String licenseModel) { + if (licenseModel == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig", "licenseModel"); + } + this.licenseModel = licenseModel; + return this; + } + public GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig build() { + final var _resultValue = new GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig(); + _resultValue.connectorDetails = connectorDetails; + _resultValue.databaseConnectionDetails = databaseConnectionDetails; + _resultValue.feature = feature; + _resultValue.featureStatus = featureStatus; + _resultValue.licenseModel = licenseModel; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail.java new file mode 100644 index 0000000000..d499d1681b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail.java @@ -0,0 +1,133 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail { + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + */ + private String connectorType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + private String databaseConnectorId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + private String managementAgentId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + private String privateEndPointId; + + private GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail() {} + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + */ + public String connectorType() { + return this.connectorType; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + public String databaseConnectorId() { + return this.databaseConnectorId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + public String managementAgentId() { + return this.managementAgentId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + public String privateEndPointId() { + return this.privateEndPointId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String connectorType; + private String databaseConnectorId; + private String managementAgentId; + private String privateEndPointId; + public Builder() {} + public Builder(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail defaults) { + Objects.requireNonNull(defaults); + this.connectorType = defaults.connectorType; + this.databaseConnectorId = defaults.databaseConnectorId; + this.managementAgentId = defaults.managementAgentId; + this.privateEndPointId = defaults.privateEndPointId; + } + + @CustomType.Setter + public Builder connectorType(String connectorType) { + if (connectorType == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail", "connectorType"); + } + this.connectorType = connectorType; + return this; + } + @CustomType.Setter + public Builder databaseConnectorId(String databaseConnectorId) { + if (databaseConnectorId == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail", "databaseConnectorId"); + } + this.databaseConnectorId = databaseConnectorId; + return this; + } + @CustomType.Setter + public Builder managementAgentId(String managementAgentId) { + if (managementAgentId == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail", "managementAgentId"); + } + this.managementAgentId = managementAgentId; + return this; + } + @CustomType.Setter + public Builder privateEndPointId(String privateEndPointId) { + if (privateEndPointId == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail", "privateEndPointId"); + } + this.privateEndPointId = privateEndPointId; + return this; + } + public GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail build() { + final var _resultValue = new GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail(); + _resultValue.connectorType = connectorType; + _resultValue.databaseConnectorId = databaseConnectorId; + _resultValue.managementAgentId = managementAgentId; + _resultValue.privateEndPointId = privateEndPointId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail.java new file mode 100644 index 0000000000..e3c8fe4d81 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail.java @@ -0,0 +1,89 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential; +import com.pulumi.oci.DatabaseManagement.outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail { + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + private List connectionCredentials; + /** + * @return The details of the Oracle Database connection string. + * + */ + private List connectionStrings; + + private GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail() {} + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + public List connectionCredentials() { + return this.connectionCredentials; + } + /** + * @return The details of the Oracle Database connection string. + * + */ + public List connectionStrings() { + return this.connectionStrings; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List connectionCredentials; + private List connectionStrings; + public Builder() {} + public Builder(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail defaults) { + Objects.requireNonNull(defaults); + this.connectionCredentials = defaults.connectionCredentials; + this.connectionStrings = defaults.connectionStrings; + } + + @CustomType.Setter + public Builder connectionCredentials(List connectionCredentials) { + if (connectionCredentials == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail", "connectionCredentials"); + } + this.connectionCredentials = connectionCredentials; + return this; + } + public Builder connectionCredentials(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential... connectionCredentials) { + return connectionCredentials(List.of(connectionCredentials)); + } + @CustomType.Setter + public Builder connectionStrings(List connectionStrings) { + if (connectionStrings == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail", "connectionStrings"); + } + this.connectionStrings = connectionStrings; + return this; + } + public Builder connectionStrings(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString... connectionStrings) { + return connectionStrings(List.of(connectionStrings)); + } + public GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail build() { + final var _resultValue = new GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail(); + _resultValue.connectionCredentials = connectionCredentials; + _resultValue.connectionStrings = connectionStrings; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java new file mode 100644 index 0000000000..447936cac8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java @@ -0,0 +1,196 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + */ + private String credentialName; + /** + * @return The type of credential used to connect to the database. + * + */ + private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + private String namedCredentialId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + private String passwordSecretId; + /** + * @return The role of the user connecting to the database. + * + */ + private String role; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + private String sslSecretId; + /** + * @return The user name used to connect to the database. + * + */ + private String userName; + + private GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential() {} + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + */ + public String credentialName() { + return this.credentialName; + } + /** + * @return The type of credential used to connect to the database. + * + */ + public String credentialType() { + return this.credentialType; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + public String passwordSecretId() { + return this.passwordSecretId; + } + /** + * @return The role of the user connecting to the database. + * + */ + public String role() { + return this.role; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + public String sslSecretId() { + return this.sslSecretId; + } + /** + * @return The user name used to connect to the database. + * + */ + public String userName() { + return this.userName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String credentialName; + private String credentialType; + private String namedCredentialId; + private String passwordSecretId; + private String role; + private String sslSecretId; + private String userName; + public Builder() {} + public Builder(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential defaults) { + Objects.requireNonNull(defaults); + this.credentialName = defaults.credentialName; + this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; + this.passwordSecretId = defaults.passwordSecretId; + this.role = defaults.role; + this.sslSecretId = defaults.sslSecretId; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder credentialName(String credentialName) { + if (credentialName == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "credentialName"); + } + this.credentialName = credentialName; + return this; + } + @CustomType.Setter + public Builder credentialType(String credentialType) { + if (credentialType == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "credentialType"); + } + this.credentialType = credentialType; + return this; + } + @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter + public Builder passwordSecretId(String passwordSecretId) { + if (passwordSecretId == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "passwordSecretId"); + } + this.passwordSecretId = passwordSecretId; + return this; + } + @CustomType.Setter + public Builder role(String role) { + if (role == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "role"); + } + this.role = role; + return this; + } + @CustomType.Setter + public Builder sslSecretId(String sslSecretId) { + if (sslSecretId == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "sslSecretId"); + } + this.sslSecretId = sslSecretId; + return this; + } + @CustomType.Setter + public Builder userName(String userName) { + if (userName == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "userName"); + } + this.userName = userName; + return this; + } + public GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential build() { + final var _resultValue = new GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential(); + _resultValue.credentialName = credentialName; + _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; + _resultValue.passwordSecretId = passwordSecretId; + _resultValue.role = role; + _resultValue.sslSecretId = sslSecretId; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java new file mode 100644 index 0000000000..2a9ae0d310 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java @@ -0,0 +1,130 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + private String connectionType; + /** + * @return The port number used to connect to the database. + * + */ + private Integer port; + /** + * @return The protocol used to connect to the database. + * + */ + private String protocol; + /** + * @return The service name of the database. + * + */ + private String service; + + private GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString() {} + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + public String connectionType() { + return this.connectionType; + } + /** + * @return The port number used to connect to the database. + * + */ + public Integer port() { + return this.port; + } + /** + * @return The protocol used to connect to the database. + * + */ + public String protocol() { + return this.protocol; + } + /** + * @return The service name of the database. + * + */ + public String service() { + return this.service; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String connectionType; + private Integer port; + private String protocol; + private String service; + public Builder() {} + public Builder(GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString defaults) { + Objects.requireNonNull(defaults); + this.connectionType = defaults.connectionType; + this.port = defaults.port; + this.protocol = defaults.protocol; + this.service = defaults.service; + } + + @CustomType.Setter + public Builder connectionType(String connectionType) { + if (connectionType == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "connectionType"); + } + this.connectionType = connectionType; + return this; + } + @CustomType.Setter + public Builder port(Integer port) { + if (port == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "port"); + } + this.port = port; + return this; + } + @CustomType.Setter + public Builder protocol(String protocol) { + if (protocol == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "protocol"); + } + this.protocol = protocol; + return this; + } + @CustomType.Setter + public Builder service(String service) { + if (service == null) { + throw new MissingRequiredPropertyException("GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "service"); + } + this.service = service; + return this; + } + public GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString build() { + final var _resultValue = new GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString(); + _resultValue.connectionType = connectionType; + _resultValue.port = port; + _resultValue.protocol = protocol; + _resultValue.service = service; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemConnectorConnectionInfoConnectionCredential.java index dabc4008b6..5d88c8aa5f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemConnectorConnectionInfoConnectionCredential.java @@ -20,6 +20,11 @@ public final class GetExternalDbSystemConnectorConnectionInfoConnectionCredentia * */ private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -56,6 +61,13 @@ public String credentialName() { public String credentialType() { return this.credentialType; } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -96,6 +108,7 @@ public static Builder builder(GetExternalDbSystemConnectorConnectionInfoConnecti public static final class Builder { private String credentialName; private String credentialType; + private String namedCredentialId; private String passwordSecretId; private String role; private String sslSecretId; @@ -105,6 +118,7 @@ public Builder(GetExternalDbSystemConnectorConnectionInfoConnectionCredential de Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -128,6 +142,14 @@ public Builder credentialType(String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetExternalDbSystemConnectorConnectionInfoConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(String passwordSecretId) { if (passwordSecretId == null) { throw new MissingRequiredPropertyException("GetExternalDbSystemConnectorConnectionInfoConnectionCredential", "passwordSecretId"); @@ -163,6 +185,7 @@ public GetExternalDbSystemConnectorConnectionInfoConnectionCredential build() { final var _resultValue = new GetExternalDbSystemConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential.java index 7520e2e597..9e440b1eb8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential.java @@ -20,6 +20,11 @@ public final class GetExternalDbSystemConnectorsExternalDbSystemConnectorCollect * */ private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -56,6 +61,13 @@ public String credentialName() { public String credentialType() { return this.credentialType; } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -96,6 +108,7 @@ public static Builder builder(GetExternalDbSystemConnectorsExternalDbSystemConne public static final class Builder { private String credentialName; private String credentialType; + private String namedCredentialId; private String passwordSecretId; private String role; private String sslSecretId; @@ -105,6 +118,7 @@ public Builder(GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionI Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -128,6 +142,14 @@ public Builder credentialType(String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(String passwordSecretId) { if (passwordSecretId == null) { throw new MissingRequiredPropertyException("GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential", "passwordSecretId"); @@ -163,6 +185,7 @@ public GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConne final var _resultValue = new GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java index cf92bba1cd..b1746c2f2f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java @@ -20,6 +20,11 @@ public final class GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollec * */ private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -56,6 +61,13 @@ public String credentialName() { public String credentialType() { return this.credentialType; } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -96,6 +108,7 @@ public static Builder builder(GetExternalDbSystemDiscoveriesExternalDbSystemDisc public static final class Builder { private String credentialName; private String credentialType; + private String namedCredentialId; private String passwordSecretId; private String role; private String sslSecretId; @@ -105,6 +118,7 @@ public Builder(GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollection Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -128,6 +142,14 @@ public Builder credentialType(String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(String passwordSecretId) { if (passwordSecretId == null) { throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential", "passwordSecretId"); @@ -163,6 +185,7 @@ public GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDisc final var _resultValue = new GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredential.java index dcfc7774c7..c77f688ed7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredential.java @@ -20,6 +20,11 @@ public final class GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollec * */ private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -56,6 +61,13 @@ public String credentialName() { public String credentialType() { return this.credentialType; } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -96,6 +108,7 @@ public static Builder builder(GetExternalDbSystemDiscoveriesExternalDbSystemDisc public static final class Builder { private String credentialName; private String credentialType; + private String namedCredentialId; private String passwordSecretId; private String role; private String sslSecretId; @@ -105,6 +118,7 @@ public Builder(GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollection Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -128,6 +142,14 @@ public Builder credentialType(String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(String passwordSecretId) { if (passwordSecretId == null) { throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredential", "passwordSecretId"); @@ -163,6 +185,7 @@ public GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDisc final var _resultValue = new GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java index 3a00b3be93..6e2d8cccd9 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java @@ -20,6 +20,11 @@ public final class GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollec * */ private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -56,6 +61,13 @@ public String credentialName() { public String credentialType() { return this.credentialType; } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -96,6 +108,7 @@ public static Builder builder(GetExternalDbSystemDiscoveriesExternalDbSystemDisc public static final class Builder { private String credentialName; private String credentialType; + private String namedCredentialId; private String passwordSecretId; private String role; private String sslSecretId; @@ -105,6 +118,7 @@ public Builder(GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollection Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -128,6 +142,14 @@ public Builder credentialType(String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(String passwordSecretId) { if (passwordSecretId == null) { throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential", "passwordSecretId"); @@ -163,6 +185,7 @@ public GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDisc final var _resultValue = new GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java index fe41d68479..4d995156d0 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential.java @@ -20,6 +20,11 @@ public final class GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanc * */ private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -56,6 +61,13 @@ public String credentialName() { public String credentialType() { return this.credentialType; } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -96,6 +108,7 @@ public static Builder builder(GetExternalDbSystemDiscoveryDiscoveredComponentClu public static final class Builder { private String credentialName; private String credentialType; + private String namedCredentialId; private String passwordSecretId; private String role; private String sslSecretId; @@ -105,6 +118,7 @@ public Builder(GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceCon Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -128,6 +142,14 @@ public Builder credentialType(String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(String passwordSecretId) { if (passwordSecretId == null) { throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential", "passwordSecretId"); @@ -163,6 +185,7 @@ public GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorCo final var _resultValue = new GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.java index eeba35d9dc..11f9fdb2f7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential.java @@ -20,6 +20,11 @@ public final class GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConne * */ private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -56,6 +61,13 @@ public String credentialName() { public String credentialType() { return this.credentialType; } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -96,6 +108,7 @@ public static Builder builder(GetExternalDbSystemDiscoveryDiscoveredComponentCon public static final class Builder { private String credentialName; private String credentialType; + private String namedCredentialId; private String passwordSecretId; private String role; private String sslSecretId; @@ -105,6 +118,7 @@ public Builder(GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectio Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -128,6 +142,14 @@ public Builder credentialType(String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(String passwordSecretId) { if (passwordSecretId == null) { throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential", "passwordSecretId"); @@ -163,6 +185,7 @@ public GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoCon final var _resultValue = new GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java index 4bbf3dd8f7..04f4389de1 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential.java @@ -20,6 +20,11 @@ public final class GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatab * */ private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + private String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -56,6 +61,13 @@ public String credentialName() { public String credentialType() { return this.credentialType; } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. * @@ -96,6 +108,7 @@ public static Builder builder(GetExternalDbSystemDiscoveryDiscoveredComponentPlu public static final class Builder { private String credentialName; private String credentialType; + private String namedCredentialId; private String passwordSecretId; private String role; private String sslSecretId; @@ -105,6 +118,7 @@ public Builder(GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseC Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -128,6 +142,14 @@ public Builder credentialType(String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(String passwordSecretId) { if (passwordSecretId == null) { throw new MissingRequiredPropertyException("GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential", "passwordSecretId"); @@ -163,6 +185,7 @@ public GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector final var _resultValue = new GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfig.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfig.java new file mode 100644 index 0000000000..09e9976d17 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfig.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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail; +import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetManagedDatabaseDbmgmtFeatureConfig { + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + private List connectorDetails; + /** + * @return The connection details required to connect to the database. + * + */ + private List databaseConnectionDetails; + /** + * @return The name of the Database Management feature. + * + */ + private String feature; + /** + * @return The list of statuses for Database Management features. + * + */ + private String featureStatus; + /** + * @return The Oracle license model that applies to the external database. + * + */ + private String licenseModel; + + private GetManagedDatabaseDbmgmtFeatureConfig() {} + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + public List connectorDetails() { + return this.connectorDetails; + } + /** + * @return The connection details required to connect to the database. + * + */ + public List databaseConnectionDetails() { + return this.databaseConnectionDetails; + } + /** + * @return The name of the Database Management feature. + * + */ + public String feature() { + return this.feature; + } + /** + * @return The list of statuses for Database Management features. + * + */ + public String featureStatus() { + return this.featureStatus; + } + /** + * @return The Oracle license model that applies to the external database. + * + */ + public String licenseModel() { + return this.licenseModel; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetManagedDatabaseDbmgmtFeatureConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List connectorDetails; + private List databaseConnectionDetails; + private String feature; + private String featureStatus; + private String licenseModel; + public Builder() {} + public Builder(GetManagedDatabaseDbmgmtFeatureConfig defaults) { + Objects.requireNonNull(defaults); + this.connectorDetails = defaults.connectorDetails; + this.databaseConnectionDetails = defaults.databaseConnectionDetails; + this.feature = defaults.feature; + this.featureStatus = defaults.featureStatus; + this.licenseModel = defaults.licenseModel; + } + + @CustomType.Setter + public Builder connectorDetails(List connectorDetails) { + if (connectorDetails == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfig", "connectorDetails"); + } + this.connectorDetails = connectorDetails; + return this; + } + public Builder connectorDetails(GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail... connectorDetails) { + return connectorDetails(List.of(connectorDetails)); + } + @CustomType.Setter + public Builder databaseConnectionDetails(List databaseConnectionDetails) { + if (databaseConnectionDetails == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfig", "databaseConnectionDetails"); + } + this.databaseConnectionDetails = databaseConnectionDetails; + return this; + } + public Builder databaseConnectionDetails(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail... databaseConnectionDetails) { + return databaseConnectionDetails(List.of(databaseConnectionDetails)); + } + @CustomType.Setter + public Builder feature(String feature) { + if (feature == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfig", "feature"); + } + this.feature = feature; + return this; + } + @CustomType.Setter + public Builder featureStatus(String featureStatus) { + if (featureStatus == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfig", "featureStatus"); + } + this.featureStatus = featureStatus; + return this; + } + @CustomType.Setter + public Builder licenseModel(String licenseModel) { + if (licenseModel == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfig", "licenseModel"); + } + this.licenseModel = licenseModel; + return this; + } + public GetManagedDatabaseDbmgmtFeatureConfig build() { + final var _resultValue = new GetManagedDatabaseDbmgmtFeatureConfig(); + _resultValue.connectorDetails = connectorDetails; + _resultValue.databaseConnectionDetails = databaseConnectionDetails; + _resultValue.feature = feature; + _resultValue.featureStatus = featureStatus; + _resultValue.licenseModel = licenseModel; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail.java new file mode 100644 index 0000000000..366d6e45a5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail.java @@ -0,0 +1,133 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail { + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + */ + private String connectorType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + private String databaseConnectorId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + private String managementAgentId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + private String privateEndPointId; + + private GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail() {} + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + */ + public String connectorType() { + return this.connectorType; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + public String databaseConnectorId() { + return this.databaseConnectorId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + public String managementAgentId() { + return this.managementAgentId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + public String privateEndPointId() { + return this.privateEndPointId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String connectorType; + private String databaseConnectorId; + private String managementAgentId; + private String privateEndPointId; + public Builder() {} + public Builder(GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail defaults) { + Objects.requireNonNull(defaults); + this.connectorType = defaults.connectorType; + this.databaseConnectorId = defaults.databaseConnectorId; + this.managementAgentId = defaults.managementAgentId; + this.privateEndPointId = defaults.privateEndPointId; + } + + @CustomType.Setter + public Builder connectorType(String connectorType) { + if (connectorType == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail", "connectorType"); + } + this.connectorType = connectorType; + return this; + } + @CustomType.Setter + public Builder databaseConnectorId(String databaseConnectorId) { + if (databaseConnectorId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail", "databaseConnectorId"); + } + this.databaseConnectorId = databaseConnectorId; + return this; + } + @CustomType.Setter + public Builder managementAgentId(String managementAgentId) { + if (managementAgentId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail", "managementAgentId"); + } + this.managementAgentId = managementAgentId; + return this; + } + @CustomType.Setter + public Builder privateEndPointId(String privateEndPointId) { + if (privateEndPointId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail", "privateEndPointId"); + } + this.privateEndPointId = privateEndPointId; + return this; + } + public GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail build() { + final var _resultValue = new GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail(); + _resultValue.connectorType = connectorType; + _resultValue.databaseConnectorId = databaseConnectorId; + _resultValue.managementAgentId = managementAgentId; + _resultValue.privateEndPointId = privateEndPointId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.java new file mode 100644 index 0000000000..8e92a10827 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.java @@ -0,0 +1,89 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential; +import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail { + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + private List connectionCredentials; + /** + * @return The details of the Oracle Database connection string. + * + */ + private List connectionStrings; + + private GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail() {} + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + public List connectionCredentials() { + return this.connectionCredentials; + } + /** + * @return The details of the Oracle Database connection string. + * + */ + public List connectionStrings() { + return this.connectionStrings; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List connectionCredentials; + private List connectionStrings; + public Builder() {} + public Builder(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail defaults) { + Objects.requireNonNull(defaults); + this.connectionCredentials = defaults.connectionCredentials; + this.connectionStrings = defaults.connectionStrings; + } + + @CustomType.Setter + public Builder connectionCredentials(List connectionCredentials) { + if (connectionCredentials == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail", "connectionCredentials"); + } + this.connectionCredentials = connectionCredentials; + return this; + } + public Builder connectionCredentials(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential... connectionCredentials) { + return connectionCredentials(List.of(connectionCredentials)); + } + @CustomType.Setter + public Builder connectionStrings(List connectionStrings) { + if (connectionStrings == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail", "connectionStrings"); + } + this.connectionStrings = connectionStrings; + return this; + } + public Builder connectionStrings(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString... connectionStrings) { + return connectionStrings(List.of(connectionStrings)); + } + public GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail build() { + final var _resultValue = new GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail(); + _resultValue.connectionCredentials = connectionCredentials; + _resultValue.connectionStrings = connectionStrings; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java new file mode 100644 index 0000000000..c4c836673b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java @@ -0,0 +1,196 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + */ + private String credentialName; + /** + * @return The type of credential used to connect to the database. + * + */ + private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + private String namedCredentialId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + private String passwordSecretId; + /** + * @return The role of the user connecting to the database. + * + */ + private String role; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + private String sslSecretId; + /** + * @return The user name used to connect to the database. + * + */ + private String userName; + + private GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential() {} + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + */ + public String credentialName() { + return this.credentialName; + } + /** + * @return The type of credential used to connect to the database. + * + */ + public String credentialType() { + return this.credentialType; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + public String passwordSecretId() { + return this.passwordSecretId; + } + /** + * @return The role of the user connecting to the database. + * + */ + public String role() { + return this.role; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + public String sslSecretId() { + return this.sslSecretId; + } + /** + * @return The user name used to connect to the database. + * + */ + public String userName() { + return this.userName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String credentialName; + private String credentialType; + private String namedCredentialId; + private String passwordSecretId; + private String role; + private String sslSecretId; + private String userName; + public Builder() {} + public Builder(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential defaults) { + Objects.requireNonNull(defaults); + this.credentialName = defaults.credentialName; + this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; + this.passwordSecretId = defaults.passwordSecretId; + this.role = defaults.role; + this.sslSecretId = defaults.sslSecretId; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder credentialName(String credentialName) { + if (credentialName == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "credentialName"); + } + this.credentialName = credentialName; + return this; + } + @CustomType.Setter + public Builder credentialType(String credentialType) { + if (credentialType == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "credentialType"); + } + this.credentialType = credentialType; + return this; + } + @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter + public Builder passwordSecretId(String passwordSecretId) { + if (passwordSecretId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "passwordSecretId"); + } + this.passwordSecretId = passwordSecretId; + return this; + } + @CustomType.Setter + public Builder role(String role) { + if (role == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "role"); + } + this.role = role; + return this; + } + @CustomType.Setter + public Builder sslSecretId(String sslSecretId) { + if (sslSecretId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "sslSecretId"); + } + this.sslSecretId = sslSecretId; + return this; + } + @CustomType.Setter + public Builder userName(String userName) { + if (userName == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "userName"); + } + this.userName = userName; + return this; + } + public GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential build() { + final var _resultValue = new GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential(); + _resultValue.credentialName = credentialName; + _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; + _resultValue.passwordSecretId = passwordSecretId; + _resultValue.role = role; + _resultValue.sslSecretId = sslSecretId; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java new file mode 100644 index 0000000000..9dc1f3565b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java @@ -0,0 +1,130 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + private String connectionType; + /** + * @return The port number used to connect to the database. + * + */ + private Integer port; + /** + * @return The protocol used to connect to the database. + * + */ + private String protocol; + /** + * @return The service name of the database. + * + */ + private String service; + + private GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString() {} + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + public String connectionType() { + return this.connectionType; + } + /** + * @return The port number used to connect to the database. + * + */ + public Integer port() { + return this.port; + } + /** + * @return The protocol used to connect to the database. + * + */ + public String protocol() { + return this.protocol; + } + /** + * @return The service name of the database. + * + */ + public String service() { + return this.service; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String connectionType; + private Integer port; + private String protocol; + private String service; + public Builder() {} + public Builder(GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString defaults) { + Objects.requireNonNull(defaults); + this.connectionType = defaults.connectionType; + this.port = defaults.port; + this.protocol = defaults.protocol; + this.service = defaults.service; + } + + @CustomType.Setter + public Builder connectionType(String connectionType) { + if (connectionType == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "connectionType"); + } + this.connectionType = connectionType; + return this; + } + @CustomType.Setter + public Builder port(Integer port) { + if (port == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "port"); + } + this.port = port; + return this; + } + @CustomType.Setter + public Builder protocol(String protocol) { + if (protocol == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "protocol"); + } + this.protocol = protocol; + return this; + } + @CustomType.Setter + public Builder service(String service) { + if (service == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "service"); + } + this.service = service; + return this; + } + public GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString build() { + final var _resultValue = new GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString(); + _resultValue.connectionType = connectionType; + _resultValue.port = port; + _resultValue.protocol = protocol; + _resultValue.service = service; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseResult.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseResult.java index 0c36361343..b77b122af0 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabaseResult.java @@ -5,12 +5,15 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabaseDbmgmtFeatureConfig; import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabaseManagedDatabaseGroup; import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Map; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; @CustomType public final class GetManagedDatabaseResult { @@ -24,6 +27,11 @@ public final class GetManagedDatabaseResult { * */ private String compartmentId; + /** + * @return The operating system of database. + * + */ + private @Nullable String databasePlatformName; /** * @return The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. * @@ -49,6 +57,11 @@ public final class GetManagedDatabaseResult { * */ private String dbSystemId; + /** + * @return The list of feature configurations + * + */ + private List dbmgmtFeatureConfigs; /** * @return 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"}` * @@ -100,6 +113,11 @@ public final class GetManagedDatabaseResult { * */ private String storageSystemId; + /** + * @return 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"}` + * + */ + private Map systemTags; /** * @return The date and time the Managed Database was created. * @@ -126,6 +144,13 @@ public Map additionalDetails() { public String compartmentId() { return this.compartmentId; } + /** + * @return The operating system of database. + * + */ + public Optional databasePlatformName() { + return Optional.ofNullable(this.databasePlatformName); + } /** * @return The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. * @@ -161,6 +186,13 @@ public String databaseVersion() { public String dbSystemId() { return this.dbSystemId; } + /** + * @return The list of feature configurations + * + */ + public List dbmgmtFeatureConfigs() { + return this.dbmgmtFeatureConfigs; + } /** * @return 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"}` * @@ -234,6 +266,13 @@ public String parentContainerId() { public String storageSystemId() { return this.storageSystemId; } + /** + * @return 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"}` + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The date and time the Managed Database was created. * @@ -260,11 +299,13 @@ public static Builder builder(GetManagedDatabaseResult defaults) { public static final class Builder { private Map additionalDetails; private String compartmentId; + private @Nullable String databasePlatformName; private String databaseStatus; private String databaseSubType; private String databaseType; private String databaseVersion; private String dbSystemId; + private List dbmgmtFeatureConfigs; private Map definedTags; private String deploymentType; private Map freeformTags; @@ -276,6 +317,7 @@ public static final class Builder { private String name; private String parentContainerId; private String storageSystemId; + private Map systemTags; private String timeCreated; private String workloadType; public Builder() {} @@ -283,11 +325,13 @@ public Builder(GetManagedDatabaseResult defaults) { Objects.requireNonNull(defaults); this.additionalDetails = defaults.additionalDetails; this.compartmentId = defaults.compartmentId; + this.databasePlatformName = defaults.databasePlatformName; this.databaseStatus = defaults.databaseStatus; this.databaseSubType = defaults.databaseSubType; this.databaseType = defaults.databaseType; this.databaseVersion = defaults.databaseVersion; this.dbSystemId = defaults.dbSystemId; + this.dbmgmtFeatureConfigs = defaults.dbmgmtFeatureConfigs; this.definedTags = defaults.definedTags; this.deploymentType = defaults.deploymentType; this.freeformTags = defaults.freeformTags; @@ -299,6 +343,7 @@ public Builder(GetManagedDatabaseResult defaults) { this.name = defaults.name; this.parentContainerId = defaults.parentContainerId; this.storageSystemId = defaults.storageSystemId; + this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; this.workloadType = defaults.workloadType; } @@ -320,6 +365,12 @@ public Builder compartmentId(String compartmentId) { return this; } @CustomType.Setter + public Builder databasePlatformName(@Nullable String databasePlatformName) { + + this.databasePlatformName = databasePlatformName; + return this; + } + @CustomType.Setter public Builder databaseStatus(String databaseStatus) { if (databaseStatus == null) { throw new MissingRequiredPropertyException("GetManagedDatabaseResult", "databaseStatus"); @@ -360,6 +411,17 @@ public Builder dbSystemId(String dbSystemId) { return this; } @CustomType.Setter + public Builder dbmgmtFeatureConfigs(List dbmgmtFeatureConfigs) { + if (dbmgmtFeatureConfigs == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseResult", "dbmgmtFeatureConfigs"); + } + this.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs; + return this; + } + public Builder dbmgmtFeatureConfigs(GetManagedDatabaseDbmgmtFeatureConfig... dbmgmtFeatureConfigs) { + return dbmgmtFeatureConfigs(List.of(dbmgmtFeatureConfigs)); + } + @CustomType.Setter public Builder definedTags(Map definedTags) { if (definedTags == null) { throw new MissingRequiredPropertyException("GetManagedDatabaseResult", "definedTags"); @@ -451,6 +513,14 @@ public Builder storageSystemId(String storageSystemId) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetManagedDatabaseResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetManagedDatabaseResult", "timeCreated"); @@ -470,11 +540,13 @@ public GetManagedDatabaseResult build() { final var _resultValue = new GetManagedDatabaseResult(); _resultValue.additionalDetails = additionalDetails; _resultValue.compartmentId = compartmentId; + _resultValue.databasePlatformName = databasePlatformName; _resultValue.databaseStatus = databaseStatus; _resultValue.databaseSubType = databaseSubType; _resultValue.databaseType = databaseType; _resultValue.databaseVersion = databaseVersion; _resultValue.dbSystemId = dbSystemId; + _resultValue.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs; _resultValue.definedTags = definedTags; _resultValue.deploymentType = deploymentType; _resultValue.freeformTags = freeformTags; @@ -486,6 +558,7 @@ public GetManagedDatabaseResult build() { _resultValue.name = name; _resultValue.parentContainerId = parentContainerId; _resultValue.storageSystemId = storageSystemId; + _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; _resultValue.workloadType = workloadType; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItem.java index 468572b4ee..41d0a25011 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItem.java @@ -5,6 +5,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig; import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroup; import java.lang.Boolean; import java.lang.String; @@ -24,6 +25,11 @@ public final class GetManagedDatabasesManagedDatabaseCollectionItem { * */ private String compartmentId; + /** + * @return The operating system of database. + * + */ + private String databasePlatformName; /** * @return The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. * @@ -49,6 +55,11 @@ public final class GetManagedDatabasesManagedDatabaseCollectionItem { * */ private String dbSystemId; + /** + * @return The list of feature configurations + * + */ + private List dbmgmtFeatureConfigs; /** * @return 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"}` * @@ -99,6 +110,11 @@ public final class GetManagedDatabasesManagedDatabaseCollectionItem { * */ private String storageSystemId; + /** + * @return 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"}` + * + */ + private Map systemTags; /** * @return The date and time the Managed Database was created. * @@ -125,6 +141,13 @@ public Map additionalDetails() { public String compartmentId() { return this.compartmentId; } + /** + * @return The operating system of database. + * + */ + public String databasePlatformName() { + return this.databasePlatformName; + } /** * @return The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. * @@ -160,6 +183,13 @@ public String databaseVersion() { public String dbSystemId() { return this.dbSystemId; } + /** + * @return The list of feature configurations + * + */ + public List dbmgmtFeatureConfigs() { + return this.dbmgmtFeatureConfigs; + } /** * @return 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"}` * @@ -230,6 +260,13 @@ public String parentContainerId() { public String storageSystemId() { return this.storageSystemId; } + /** + * @return 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"}` + * + */ + public Map systemTags() { + return this.systemTags; + } /** * @return The date and time the Managed Database was created. * @@ -256,11 +293,13 @@ public static Builder builder(GetManagedDatabasesManagedDatabaseCollectionItem d public static final class Builder { private Map additionalDetails; private String compartmentId; + private String databasePlatformName; private String databaseStatus; private String databaseSubType; private String databaseType; private String databaseVersion; private String dbSystemId; + private List dbmgmtFeatureConfigs; private Map definedTags; private String deploymentType; private Map freeformTags; @@ -271,6 +310,7 @@ public static final class Builder { private String name; private String parentContainerId; private String storageSystemId; + private Map systemTags; private String timeCreated; private String workloadType; public Builder() {} @@ -278,11 +318,13 @@ public Builder(GetManagedDatabasesManagedDatabaseCollectionItem defaults) { Objects.requireNonNull(defaults); this.additionalDetails = defaults.additionalDetails; this.compartmentId = defaults.compartmentId; + this.databasePlatformName = defaults.databasePlatformName; this.databaseStatus = defaults.databaseStatus; this.databaseSubType = defaults.databaseSubType; this.databaseType = defaults.databaseType; this.databaseVersion = defaults.databaseVersion; this.dbSystemId = defaults.dbSystemId; + this.dbmgmtFeatureConfigs = defaults.dbmgmtFeatureConfigs; this.definedTags = defaults.definedTags; this.deploymentType = defaults.deploymentType; this.freeformTags = defaults.freeformTags; @@ -293,6 +335,7 @@ public Builder(GetManagedDatabasesManagedDatabaseCollectionItem defaults) { this.name = defaults.name; this.parentContainerId = defaults.parentContainerId; this.storageSystemId = defaults.storageSystemId; + this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; this.workloadType = defaults.workloadType; } @@ -314,6 +357,14 @@ public Builder compartmentId(String compartmentId) { return this; } @CustomType.Setter + public Builder databasePlatformName(String databasePlatformName) { + if (databasePlatformName == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItem", "databasePlatformName"); + } + this.databasePlatformName = databasePlatformName; + return this; + } + @CustomType.Setter public Builder databaseStatus(String databaseStatus) { if (databaseStatus == null) { throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItem", "databaseStatus"); @@ -354,6 +405,17 @@ public Builder dbSystemId(String dbSystemId) { return this; } @CustomType.Setter + public Builder dbmgmtFeatureConfigs(List dbmgmtFeatureConfigs) { + if (dbmgmtFeatureConfigs == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItem", "dbmgmtFeatureConfigs"); + } + this.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs; + return this; + } + public Builder dbmgmtFeatureConfigs(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig... dbmgmtFeatureConfigs) { + return dbmgmtFeatureConfigs(List.of(dbmgmtFeatureConfigs)); + } + @CustomType.Setter public Builder definedTags(Map definedTags) { if (definedTags == null) { throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItem", "definedTags"); @@ -437,6 +499,14 @@ public Builder storageSystemId(String storageSystemId) { return this; } @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItem", "timeCreated"); @@ -456,11 +526,13 @@ public GetManagedDatabasesManagedDatabaseCollectionItem build() { final var _resultValue = new GetManagedDatabasesManagedDatabaseCollectionItem(); _resultValue.additionalDetails = additionalDetails; _resultValue.compartmentId = compartmentId; + _resultValue.databasePlatformName = databasePlatformName; _resultValue.databaseStatus = databaseStatus; _resultValue.databaseSubType = databaseSubType; _resultValue.databaseType = databaseType; _resultValue.databaseVersion = databaseVersion; _resultValue.dbSystemId = dbSystemId; + _resultValue.dbmgmtFeatureConfigs = dbmgmtFeatureConfigs; _resultValue.definedTags = definedTags; _resultValue.deploymentType = deploymentType; _resultValue.freeformTags = freeformTags; @@ -471,6 +543,7 @@ public GetManagedDatabasesManagedDatabaseCollectionItem build() { _resultValue.name = name; _resultValue.parentContainerId = parentContainerId; _resultValue.storageSystemId = storageSystemId; + _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; _resultValue.workloadType = workloadType; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig.java new file mode 100644 index 0000000000..c2c61d2dfd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig.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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail; +import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig { + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + private List connectorDetails; + /** + * @return The connection details required to connect to the database. + * + */ + private List databaseConnectionDetails; + /** + * @return The name of the Database Management feature. + * + */ + private String feature; + /** + * @return The list of statuses for Database Management features. + * + */ + private String featureStatus; + /** + * @return The Oracle license model that applies to the external database. + * + */ + private String licenseModel; + + private GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig() {} + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + public List connectorDetails() { + return this.connectorDetails; + } + /** + * @return The connection details required to connect to the database. + * + */ + public List databaseConnectionDetails() { + return this.databaseConnectionDetails; + } + /** + * @return The name of the Database Management feature. + * + */ + public String feature() { + return this.feature; + } + /** + * @return The list of statuses for Database Management features. + * + */ + public String featureStatus() { + return this.featureStatus; + } + /** + * @return The Oracle license model that applies to the external database. + * + */ + public String licenseModel() { + return this.licenseModel; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List connectorDetails; + private List databaseConnectionDetails; + private String feature; + private String featureStatus; + private String licenseModel; + public Builder() {} + public Builder(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig defaults) { + Objects.requireNonNull(defaults); + this.connectorDetails = defaults.connectorDetails; + this.databaseConnectionDetails = defaults.databaseConnectionDetails; + this.feature = defaults.feature; + this.featureStatus = defaults.featureStatus; + this.licenseModel = defaults.licenseModel; + } + + @CustomType.Setter + public Builder connectorDetails(List connectorDetails) { + if (connectorDetails == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig", "connectorDetails"); + } + this.connectorDetails = connectorDetails; + return this; + } + public Builder connectorDetails(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail... connectorDetails) { + return connectorDetails(List.of(connectorDetails)); + } + @CustomType.Setter + public Builder databaseConnectionDetails(List databaseConnectionDetails) { + if (databaseConnectionDetails == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig", "databaseConnectionDetails"); + } + this.databaseConnectionDetails = databaseConnectionDetails; + return this; + } + public Builder databaseConnectionDetails(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail... databaseConnectionDetails) { + return databaseConnectionDetails(List.of(databaseConnectionDetails)); + } + @CustomType.Setter + public Builder feature(String feature) { + if (feature == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig", "feature"); + } + this.feature = feature; + return this; + } + @CustomType.Setter + public Builder featureStatus(String featureStatus) { + if (featureStatus == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig", "featureStatus"); + } + this.featureStatus = featureStatus; + return this; + } + @CustomType.Setter + public Builder licenseModel(String licenseModel) { + if (licenseModel == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig", "licenseModel"); + } + this.licenseModel = licenseModel; + return this; + } + public GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig build() { + final var _resultValue = new GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig(); + _resultValue.connectorDetails = connectorDetails; + _resultValue.databaseConnectionDetails = databaseConnectionDetails; + _resultValue.feature = feature; + _resultValue.featureStatus = featureStatus; + _resultValue.licenseModel = licenseModel; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail.java new file mode 100644 index 0000000000..c2d1ed78d9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail.java @@ -0,0 +1,133 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail { + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + */ + private String connectorType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + private String databaseConnectorId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + private String managementAgentId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + private String privateEndPointId; + + private GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail() {} + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + */ + public String connectorType() { + return this.connectorType; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + public String databaseConnectorId() { + return this.databaseConnectorId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + public String managementAgentId() { + return this.managementAgentId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + public String privateEndPointId() { + return this.privateEndPointId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String connectorType; + private String databaseConnectorId; + private String managementAgentId; + private String privateEndPointId; + public Builder() {} + public Builder(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail defaults) { + Objects.requireNonNull(defaults); + this.connectorType = defaults.connectorType; + this.databaseConnectorId = defaults.databaseConnectorId; + this.managementAgentId = defaults.managementAgentId; + this.privateEndPointId = defaults.privateEndPointId; + } + + @CustomType.Setter + public Builder connectorType(String connectorType) { + if (connectorType == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail", "connectorType"); + } + this.connectorType = connectorType; + return this; + } + @CustomType.Setter + public Builder databaseConnectorId(String databaseConnectorId) { + if (databaseConnectorId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail", "databaseConnectorId"); + } + this.databaseConnectorId = databaseConnectorId; + return this; + } + @CustomType.Setter + public Builder managementAgentId(String managementAgentId) { + if (managementAgentId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail", "managementAgentId"); + } + this.managementAgentId = managementAgentId; + return this; + } + @CustomType.Setter + public Builder privateEndPointId(String privateEndPointId) { + if (privateEndPointId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail", "privateEndPointId"); + } + this.privateEndPointId = privateEndPointId; + return this; + } + public GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail build() { + final var _resultValue = new GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail(); + _resultValue.connectorType = connectorType; + _resultValue.databaseConnectorId = databaseConnectorId; + _resultValue.managementAgentId = managementAgentId; + _resultValue.privateEndPointId = privateEndPointId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail.java new file mode 100644 index 0000000000..9d7087f325 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail.java @@ -0,0 +1,89 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential; +import com.pulumi.oci.DatabaseManagement.outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail { + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + private List connectionCredentials; + /** + * @return The details of the Oracle Database connection string. + * + */ + private List connectionStrings; + + private GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail() {} + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + public List connectionCredentials() { + return this.connectionCredentials; + } + /** + * @return The details of the Oracle Database connection string. + * + */ + public List connectionStrings() { + return this.connectionStrings; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List connectionCredentials; + private List connectionStrings; + public Builder() {} + public Builder(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail defaults) { + Objects.requireNonNull(defaults); + this.connectionCredentials = defaults.connectionCredentials; + this.connectionStrings = defaults.connectionStrings; + } + + @CustomType.Setter + public Builder connectionCredentials(List connectionCredentials) { + if (connectionCredentials == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail", "connectionCredentials"); + } + this.connectionCredentials = connectionCredentials; + return this; + } + public Builder connectionCredentials(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential... connectionCredentials) { + return connectionCredentials(List.of(connectionCredentials)); + } + @CustomType.Setter + public Builder connectionStrings(List connectionStrings) { + if (connectionStrings == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail", "connectionStrings"); + } + this.connectionStrings = connectionStrings; + return this; + } + public Builder connectionStrings(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString... connectionStrings) { + return connectionStrings(List.of(connectionStrings)); + } + public GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail build() { + final var _resultValue = new GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail(); + _resultValue.connectionCredentials = connectionCredentials; + _resultValue.connectionStrings = connectionStrings; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java new file mode 100644 index 0000000000..741e0fbf4f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java @@ -0,0 +1,196 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + */ + private String credentialName; + /** + * @return The type of credential used to connect to the database. + * + */ + private String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + private String namedCredentialId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + private String passwordSecretId; + /** + * @return The role of the user connecting to the database. + * + */ + private String role; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + private String sslSecretId; + /** + * @return The user name used to connect to the database. + * + */ + private String userName; + + private GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential() {} + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + */ + public String credentialName() { + return this.credentialName; + } + /** + * @return The type of credential used to connect to the database. + * + */ + public String credentialType() { + return this.credentialType; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + public String namedCredentialId() { + return this.namedCredentialId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + public String passwordSecretId() { + return this.passwordSecretId; + } + /** + * @return The role of the user connecting to the database. + * + */ + public String role() { + return this.role; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + public String sslSecretId() { + return this.sslSecretId; + } + /** + * @return The user name used to connect to the database. + * + */ + public String userName() { + return this.userName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String credentialName; + private String credentialType; + private String namedCredentialId; + private String passwordSecretId; + private String role; + private String sslSecretId; + private String userName; + public Builder() {} + public Builder(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential defaults) { + Objects.requireNonNull(defaults); + this.credentialName = defaults.credentialName; + this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; + this.passwordSecretId = defaults.passwordSecretId; + this.role = defaults.role; + this.sslSecretId = defaults.sslSecretId; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder credentialName(String credentialName) { + if (credentialName == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "credentialName"); + } + this.credentialName = credentialName; + return this; + } + @CustomType.Setter + public Builder credentialType(String credentialType) { + if (credentialType == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "credentialType"); + } + this.credentialType = credentialType; + return this; + } + @CustomType.Setter + public Builder namedCredentialId(String namedCredentialId) { + if (namedCredentialId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "namedCredentialId"); + } + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter + public Builder passwordSecretId(String passwordSecretId) { + if (passwordSecretId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "passwordSecretId"); + } + this.passwordSecretId = passwordSecretId; + return this; + } + @CustomType.Setter + public Builder role(String role) { + if (role == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "role"); + } + this.role = role; + return this; + } + @CustomType.Setter + public Builder sslSecretId(String sslSecretId) { + if (sslSecretId == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "sslSecretId"); + } + this.sslSecretId = sslSecretId; + return this; + } + @CustomType.Setter + public Builder userName(String userName) { + if (userName == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential", "userName"); + } + this.userName = userName; + return this; + } + public GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential build() { + final var _resultValue = new GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential(); + _resultValue.credentialName = credentialName; + _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; + _resultValue.passwordSecretId = passwordSecretId; + _resultValue.role = role; + _resultValue.sslSecretId = sslSecretId; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java new file mode 100644 index 0000000000..6fc45e011f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java @@ -0,0 +1,130 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + private String connectionType; + /** + * @return The port number used to connect to the database. + * + */ + private Integer port; + /** + * @return The protocol used to connect to the database. + * + */ + private String protocol; + /** + * @return The service name of the database. + * + */ + private String service; + + private GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString() {} + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + public String connectionType() { + return this.connectionType; + } + /** + * @return The port number used to connect to the database. + * + */ + public Integer port() { + return this.port; + } + /** + * @return The protocol used to connect to the database. + * + */ + public String protocol() { + return this.protocol; + } + /** + * @return The service name of the database. + * + */ + public String service() { + return this.service; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String connectionType; + private Integer port; + private String protocol; + private String service; + public Builder() {} + public Builder(GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString defaults) { + Objects.requireNonNull(defaults); + this.connectionType = defaults.connectionType; + this.port = defaults.port; + this.protocol = defaults.protocol; + this.service = defaults.service; + } + + @CustomType.Setter + public Builder connectionType(String connectionType) { + if (connectionType == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "connectionType"); + } + this.connectionType = connectionType; + return this; + } + @CustomType.Setter + public Builder port(Integer port) { + if (port == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "port"); + } + this.port = port; + return this; + } + @CustomType.Setter + public Builder protocol(String protocol) { + if (protocol == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "protocol"); + } + this.protocol = protocol; + return this; + } + @CustomType.Setter + public Builder service(String service) { + if (service == null) { + throw new MissingRequiredPropertyException("GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString", "service"); + } + this.service = service; + return this; + } + public GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString build() { + final var _resultValue = new GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString(); + _resultValue.connectionType = connectionType; + _resultValue.port = port; + _resultValue.protocol = protocol; + _resultValue.service = service; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfig.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfig.java new file mode 100644 index 0000000000..a8ef5c8fe2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfig.java @@ -0,0 +1,150 @@ +// *** 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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.DatabaseManagement.outputs.ManagedDatabaseDbmgmtFeatureConfigConnectorDetail; +import com.pulumi.oci.DatabaseManagement.outputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ManagedDatabaseDbmgmtFeatureConfig { + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + private @Nullable List connectorDetails; + /** + * @return The connection details required to connect to the database. + * + */ + private @Nullable List databaseConnectionDetails; + /** + * @return The name of the Database Management feature. + * + */ + private @Nullable String feature; + /** + * @return The list of statuses for Database Management features. + * + */ + private @Nullable String featureStatus; + /** + * @return The Oracle license model that applies to the external database. + * + */ + private @Nullable String licenseModel; + + private ManagedDatabaseDbmgmtFeatureConfig() {} + /** + * @return The connector details required to connect to an Oracle cloud database. + * + */ + public List connectorDetails() { + return this.connectorDetails == null ? List.of() : this.connectorDetails; + } + /** + * @return The connection details required to connect to the database. + * + */ + public List databaseConnectionDetails() { + return this.databaseConnectionDetails == null ? List.of() : this.databaseConnectionDetails; + } + /** + * @return The name of the Database Management feature. + * + */ + public Optional feature() { + return Optional.ofNullable(this.feature); + } + /** + * @return The list of statuses for Database Management features. + * + */ + public Optional featureStatus() { + return Optional.ofNullable(this.featureStatus); + } + /** + * @return The Oracle license model that applies to the external database. + * + */ + public Optional licenseModel() { + return Optional.ofNullable(this.licenseModel); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ManagedDatabaseDbmgmtFeatureConfig defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List connectorDetails; + private @Nullable List databaseConnectionDetails; + private @Nullable String feature; + private @Nullable String featureStatus; + private @Nullable String licenseModel; + public Builder() {} + public Builder(ManagedDatabaseDbmgmtFeatureConfig defaults) { + Objects.requireNonNull(defaults); + this.connectorDetails = defaults.connectorDetails; + this.databaseConnectionDetails = defaults.databaseConnectionDetails; + this.feature = defaults.feature; + this.featureStatus = defaults.featureStatus; + this.licenseModel = defaults.licenseModel; + } + + @CustomType.Setter + public Builder connectorDetails(@Nullable List connectorDetails) { + + this.connectorDetails = connectorDetails; + return this; + } + public Builder connectorDetails(ManagedDatabaseDbmgmtFeatureConfigConnectorDetail... connectorDetails) { + return connectorDetails(List.of(connectorDetails)); + } + @CustomType.Setter + public Builder databaseConnectionDetails(@Nullable List databaseConnectionDetails) { + + this.databaseConnectionDetails = databaseConnectionDetails; + return this; + } + public Builder databaseConnectionDetails(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail... databaseConnectionDetails) { + return databaseConnectionDetails(List.of(databaseConnectionDetails)); + } + @CustomType.Setter + public Builder feature(@Nullable String feature) { + + this.feature = feature; + return this; + } + @CustomType.Setter + public Builder featureStatus(@Nullable String featureStatus) { + + this.featureStatus = featureStatus; + return this; + } + @CustomType.Setter + public Builder licenseModel(@Nullable String licenseModel) { + + this.licenseModel = licenseModel; + return this; + } + public ManagedDatabaseDbmgmtFeatureConfig build() { + final var _resultValue = new ManagedDatabaseDbmgmtFeatureConfig(); + _resultValue.connectorDetails = connectorDetails; + _resultValue.databaseConnectionDetails = databaseConnectionDetails; + _resultValue.feature = feature; + _resultValue.featureStatus = featureStatus; + _resultValue.licenseModel = licenseModel; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetail.java new file mode 100644 index 0000000000..24d78a7f5c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigConnectorDetail.java @@ -0,0 +1,126 @@ +// *** 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.DatabaseManagement.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 ManagedDatabaseDbmgmtFeatureConfigConnectorDetail { + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + */ + private @Nullable String connectorType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + private @Nullable String databaseConnectorId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + private @Nullable String managementAgentId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + private @Nullable String privateEndPointId; + + private ManagedDatabaseDbmgmtFeatureConfigConnectorDetail() {} + /** + * @return The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * + */ + public Optional connectorType() { + return Optional.ofNullable(this.connectorType); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + * + */ + public Optional databaseConnectorId() { + return Optional.ofNullable(this.databaseConnectorId); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + * + */ + public Optional managementAgentId() { + return Optional.ofNullable(this.managementAgentId); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + * + */ + public Optional privateEndPointId() { + return Optional.ofNullable(this.privateEndPointId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ManagedDatabaseDbmgmtFeatureConfigConnectorDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String connectorType; + private @Nullable String databaseConnectorId; + private @Nullable String managementAgentId; + private @Nullable String privateEndPointId; + public Builder() {} + public Builder(ManagedDatabaseDbmgmtFeatureConfigConnectorDetail defaults) { + Objects.requireNonNull(defaults); + this.connectorType = defaults.connectorType; + this.databaseConnectorId = defaults.databaseConnectorId; + this.managementAgentId = defaults.managementAgentId; + this.privateEndPointId = defaults.privateEndPointId; + } + + @CustomType.Setter + public Builder connectorType(@Nullable String connectorType) { + + this.connectorType = connectorType; + return this; + } + @CustomType.Setter + public Builder databaseConnectorId(@Nullable String databaseConnectorId) { + + this.databaseConnectorId = databaseConnectorId; + return this; + } + @CustomType.Setter + public Builder managementAgentId(@Nullable String managementAgentId) { + + this.managementAgentId = managementAgentId; + return this; + } + @CustomType.Setter + public Builder privateEndPointId(@Nullable String privateEndPointId) { + + this.privateEndPointId = privateEndPointId; + return this; + } + public ManagedDatabaseDbmgmtFeatureConfigConnectorDetail build() { + final var _resultValue = new ManagedDatabaseDbmgmtFeatureConfigConnectorDetail(); + _resultValue.connectorType = connectorType; + _resultValue.databaseConnectorId = databaseConnectorId; + _resultValue.managementAgentId = managementAgentId; + _resultValue.privateEndPointId = privateEndPointId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.java new file mode 100644 index 0000000000..868f9eb1bf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.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.DatabaseManagement.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.DatabaseManagement.outputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential; +import com.pulumi.oci.DatabaseManagement.outputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail { + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + private @Nullable List connectionCredentials; + /** + * @return The details of the Oracle Database connection string. + * + */ + private @Nullable List connectionStrings; + + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail() {} + /** + * @return The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + * + */ + public List connectionCredentials() { + return this.connectionCredentials == null ? List.of() : this.connectionCredentials; + } + /** + * @return The details of the Oracle Database connection string. + * + */ + public List connectionStrings() { + return this.connectionStrings == null ? List.of() : this.connectionStrings; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List connectionCredentials; + private @Nullable List connectionStrings; + public Builder() {} + public Builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail defaults) { + Objects.requireNonNull(defaults); + this.connectionCredentials = defaults.connectionCredentials; + this.connectionStrings = defaults.connectionStrings; + } + + @CustomType.Setter + public Builder connectionCredentials(@Nullable List connectionCredentials) { + + this.connectionCredentials = connectionCredentials; + return this; + } + public Builder connectionCredentials(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential... connectionCredentials) { + return connectionCredentials(List.of(connectionCredentials)); + } + @CustomType.Setter + public Builder connectionStrings(@Nullable List connectionStrings) { + + this.connectionStrings = connectionStrings; + return this; + } + public Builder connectionStrings(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString... connectionStrings) { + return connectionStrings(List.of(connectionStrings)); + } + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail build() { + final var _resultValue = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail(); + _resultValue.connectionCredentials = connectionCredentials; + _resultValue.connectionStrings = connectionStrings; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java new file mode 100644 index 0000000000..91c44a8da3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.java @@ -0,0 +1,183 @@ +// *** 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.DatabaseManagement.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 ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + */ + private @Nullable String credentialName; + /** + * @return The type of credential used to connect to the database. + * + */ + private @Nullable String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + private @Nullable String namedCredentialId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + private @Nullable String passwordSecretId; + /** + * @return The role of the user connecting to the database. + * + */ + private @Nullable String role; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + private @Nullable String sslSecretId; + /** + * @return The user name used to connect to the database. + * + */ + private @Nullable String userName; + + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential() {} + /** + * @return The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + */ + public Optional credentialName() { + return Optional.ofNullable(this.credentialName); + } + /** + * @return The type of credential used to connect to the database. + * + */ + public Optional credentialType() { + return Optional.ofNullable(this.credentialType); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + public Optional namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + * + */ + public Optional passwordSecretId() { + return Optional.ofNullable(this.passwordSecretId); + } + /** + * @return The role of the user connecting to the database. + * + */ + public Optional role() { + return Optional.ofNullable(this.role); + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + * + */ + public Optional sslSecretId() { + return Optional.ofNullable(this.sslSecretId); + } + /** + * @return The user name used to connect to the database. + * + */ + public Optional userName() { + return Optional.ofNullable(this.userName); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String credentialName; + private @Nullable String credentialType; + private @Nullable String namedCredentialId; + private @Nullable String passwordSecretId; + private @Nullable String role; + private @Nullable String sslSecretId; + private @Nullable String userName; + public Builder() {} + public Builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential defaults) { + Objects.requireNonNull(defaults); + this.credentialName = defaults.credentialName; + this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; + this.passwordSecretId = defaults.passwordSecretId; + this.role = defaults.role; + this.sslSecretId = defaults.sslSecretId; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder credentialName(@Nullable String credentialName) { + + this.credentialName = credentialName; + return this; + } + @CustomType.Setter + public Builder credentialType(@Nullable String credentialType) { + + this.credentialType = credentialType; + return this; + } + @CustomType.Setter + public Builder namedCredentialId(@Nullable String namedCredentialId) { + + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter + public Builder passwordSecretId(@Nullable String passwordSecretId) { + + this.passwordSecretId = passwordSecretId; + return this; + } + @CustomType.Setter + public Builder role(@Nullable String role) { + + this.role = role; + return this; + } + @CustomType.Setter + public Builder sslSecretId(@Nullable String sslSecretId) { + + this.sslSecretId = sslSecretId; + return this; + } + @CustomType.Setter + public Builder userName(@Nullable String userName) { + + this.userName = userName; + return this; + } + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential build() { + final var _resultValue = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential(); + _resultValue.credentialName = credentialName; + _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; + _resultValue.passwordSecretId = passwordSecretId; + _resultValue.role = role; + _resultValue.sslSecretId = sslSecretId; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java new file mode 100644 index 0000000000..776808aa3a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.java @@ -0,0 +1,123 @@ +// *** 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.DatabaseManagement.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 ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + private @Nullable String connectionType; + /** + * @return The port number used to connect to the database. + * + */ + private @Nullable Integer port; + /** + * @return The protocol used to connect to the database. + * + */ + private @Nullable String protocol; + /** + * @return The service name of the database. + * + */ + private @Nullable String service; + + private ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString() {} + /** + * @return The list of supported connection types: + * * BASIC: Basic connection details + * + */ + public Optional connectionType() { + return Optional.ofNullable(this.connectionType); + } + /** + * @return The port number used to connect to the database. + * + */ + public Optional port() { + return Optional.ofNullable(this.port); + } + /** + * @return The protocol used to connect to the database. + * + */ + public Optional protocol() { + return Optional.ofNullable(this.protocol); + } + /** + * @return The service name of the database. + * + */ + public Optional service() { + return Optional.ofNullable(this.service); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String connectionType; + private @Nullable Integer port; + private @Nullable String protocol; + private @Nullable String service; + public Builder() {} + public Builder(ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString defaults) { + Objects.requireNonNull(defaults); + this.connectionType = defaults.connectionType; + this.port = defaults.port; + this.protocol = defaults.protocol; + this.service = defaults.service; + } + + @CustomType.Setter + public Builder connectionType(@Nullable String connectionType) { + + this.connectionType = connectionType; + return this; + } + @CustomType.Setter + public Builder port(@Nullable Integer port) { + + this.port = port; + return this; + } + @CustomType.Setter + public Builder protocol(@Nullable String protocol) { + + this.protocol = protocol; + return this; + } + @CustomType.Setter + public Builder service(@Nullable String service) { + + this.service = service; + return this; + } + public ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString build() { + final var _resultValue = new ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString(); + _resultValue.connectionType = connectionType; + _resultValue.port = port; + _resultValue.protocol = protocol; + _resultValue.service = service; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java index e7501753c3..c3dd874486 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.java @@ -16,6 +16,7 @@ public final class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatur * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ private @Nullable String connectorType; @@ -41,6 +42,7 @@ private PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsCon * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection * */ public Optional connectorType() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java index fac1005f92..0a94f3f711 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseManagement/outputs/PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.java @@ -23,6 +23,11 @@ public final class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatur * */ private @Nullable String credentialType; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + private @Nullable String namedCredentialId; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. * @@ -61,6 +66,13 @@ public Optional credentialName() { public Optional credentialType() { return Optional.ofNullable(this.credentialType); } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + * + */ + public Optional namedCredentialId() { + return Optional.ofNullable(this.namedCredentialId); + } /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. * @@ -101,6 +113,7 @@ public static Builder builder(PluggabledatabasePluggableDatabaseDbmFeaturesManag public static final class Builder { private @Nullable String credentialName; private @Nullable String credentialType; + private @Nullable String namedCredentialId; private @Nullable String passwordSecretId; private @Nullable String role; private @Nullable String sslSecretId; @@ -110,6 +123,7 @@ public Builder(PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDet Objects.requireNonNull(defaults); this.credentialName = defaults.credentialName; this.credentialType = defaults.credentialType; + this.namedCredentialId = defaults.namedCredentialId; this.passwordSecretId = defaults.passwordSecretId; this.role = defaults.role; this.sslSecretId = defaults.sslSecretId; @@ -129,6 +143,12 @@ public Builder credentialType(@Nullable String credentialType) { return this; } @CustomType.Setter + public Builder namedCredentialId(@Nullable String namedCredentialId) { + + this.namedCredentialId = namedCredentialId; + return this; + } + @CustomType.Setter public Builder passwordSecretId(@Nullable String passwordSecretId) { this.passwordSecretId = passwordSecretId; @@ -156,6 +176,7 @@ public PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsData final var _resultValue = new PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials(); _resultValue.credentialName = credentialName; _resultValue.credentialType = credentialType; + _resultValue.namedCredentialId = namedCredentialId; _resultValue.passwordSecretId = passwordSecretId; _resultValue.role = role; _resultValue.sslSecretId = sslSecretId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegateAccessControlFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegateAccessControlFunctions.java new file mode 100644 index 0000000000..76a86c27d1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegateAccessControlFunctions.java @@ -0,0 +1,2425 @@ +// *** 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.DelegateAccessControl; + +import com.pulumi.core.Output; +import com.pulumi.core.TypeShape; +import com.pulumi.deployment.Deployment; +import com.pulumi.deployment.InvokeOptions; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestAuditLogReportArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestAuditLogReportPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestHistoriesArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestHistoriesPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestsArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestsPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlResourcesArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlResourcesPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlsArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlsPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionsArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionsPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionsArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionsPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderPlainArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProvidersArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProvidersPlainArgs; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestAuditLogReportResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestHistoriesResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestsResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationControlResourcesResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationControlResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationControlsResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationSubscriptionResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationSubscriptionsResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProviderActionResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProviderActionsResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProviderResult; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProvidersResult; +import com.pulumi.oci.Utilities; +import java.util.concurrent.CompletableFuture; + +public final class DelegateAccessControlFunctions { + /** + * This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets details of a Delegated Resource Access Request. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestArgs;
+     * 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 testDelegatedResourceAccessRequest = DelegateAccessControlFunctions.getDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestArgs args) { + return getDelegatedResourceAccessRequest(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets details of a Delegated Resource Access Request. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestArgs;
+     * 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 testDelegatedResourceAccessRequest = DelegateAccessControlFunctions.getDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegatedResourceAccessRequestPlain(GetDelegatedResourceAccessRequestPlainArgs args) { + return getDelegatedResourceAccessRequestPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets details of a Delegated Resource Access Request. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestArgs;
+     * 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 testDelegatedResourceAccessRequest = DelegateAccessControlFunctions.getDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequest:getDelegatedResourceAccessRequest", TypeShape.of(GetDelegatedResourceAccessRequestResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets details of a Delegated Resource Access Request. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestArgs;
+     * 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 testDelegatedResourceAccessRequest = DelegateAccessControlFunctions.getDelegatedResourceAccessRequest(GetDelegatedResourceAccessRequestArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegatedResourceAccessRequestPlain(GetDelegatedResourceAccessRequestPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getDelegatedResourceAccessRequest:getDelegatedResourceAccessRequest", TypeShape.of(GetDelegatedResourceAccessRequestResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the audit log report for the given Delegated Resource Access Request. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestAuditLogReportArgs;
+     * 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 testDelegatedResourceAccessRequestAuditLogReport = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())
+     *             .isProcessTreeEnabled(delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportArgs args) { + return getDelegatedResourceAccessRequestAuditLogReport(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the audit log report for the given Delegated Resource Access Request. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestAuditLogReportArgs;
+     * 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 testDelegatedResourceAccessRequestAuditLogReport = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())
+     *             .isProcessTreeEnabled(delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegatedResourceAccessRequestAuditLogReportPlain(GetDelegatedResourceAccessRequestAuditLogReportPlainArgs args) { + return getDelegatedResourceAccessRequestAuditLogReportPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the audit log report for the given Delegated Resource Access Request. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestAuditLogReportArgs;
+     * 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 testDelegatedResourceAccessRequestAuditLogReport = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())
+     *             .isProcessTreeEnabled(delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequestAuditLogReport:getDelegatedResourceAccessRequestAuditLogReport", TypeShape.of(GetDelegatedResourceAccessRequestAuditLogReportResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the audit log report for the given Delegated Resource Access Request. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestAuditLogReportArgs;
+     * 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 testDelegatedResourceAccessRequestAuditLogReport = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestAuditLogReport(GetDelegatedResourceAccessRequestAuditLogReportArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())
+     *             .isProcessTreeEnabled(delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegatedResourceAccessRequestAuditLogReportPlain(GetDelegatedResourceAccessRequestAuditLogReportPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getDelegatedResourceAccessRequestAuditLogReport:getDelegatedResourceAccessRequestAuditLogReport", TypeShape.of(GetDelegatedResourceAccessRequestAuditLogReportResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a history of all status associated with the Delegated Resource Access RequestId. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestHistoriesArgs;
+     * 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 testDelegatedResourceAccessRequestHistories = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestHistories(GetDelegatedResourceAccessRequestHistoriesArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegatedResourceAccessRequestHistories(GetDelegatedResourceAccessRequestHistoriesArgs args) { + return getDelegatedResourceAccessRequestHistories(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a history of all status associated with the Delegated Resource Access RequestId. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestHistoriesArgs;
+     * 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 testDelegatedResourceAccessRequestHistories = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestHistories(GetDelegatedResourceAccessRequestHistoriesArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegatedResourceAccessRequestHistoriesPlain(GetDelegatedResourceAccessRequestHistoriesPlainArgs args) { + return getDelegatedResourceAccessRequestHistoriesPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a history of all status associated with the Delegated Resource Access RequestId. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestHistoriesArgs;
+     * 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 testDelegatedResourceAccessRequestHistories = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestHistories(GetDelegatedResourceAccessRequestHistoriesArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegatedResourceAccessRequestHistories(GetDelegatedResourceAccessRequestHistoriesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistories:getDelegatedResourceAccessRequestHistories", TypeShape.of(GetDelegatedResourceAccessRequestHistoriesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a history of all status associated with the Delegated Resource Access RequestId. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestHistoriesArgs;
+     * 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 testDelegatedResourceAccessRequestHistories = DelegateAccessControlFunctions.getDelegatedResourceAccessRequestHistories(GetDelegatedResourceAccessRequestHistoriesArgs.builder()
+     *             .delegatedResourceAccessRequestId(testDelegatedResourceAccessRequest.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegatedResourceAccessRequestHistoriesPlain(GetDelegatedResourceAccessRequestHistoriesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistories:getDelegatedResourceAccessRequestHistories", TypeShape.of(GetDelegatedResourceAccessRequestHistoriesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestsArgs;
+     * 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 testDelegatedResourceAccessRequests = DelegateAccessControlFunctions.getDelegatedResourceAccessRequests(GetDelegatedResourceAccessRequestsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .delegationControlId(testDelegationControl.id())
+     *             .requestStatus(delegatedResourceAccessRequestRequestStatus)
+     *             .resourceId(testResource.id())
+     *             .state(delegatedResourceAccessRequestState)
+     *             .timeEnd(delegatedResourceAccessRequestTimeEnd)
+     *             .timeStart(delegatedResourceAccessRequestTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegatedResourceAccessRequests(GetDelegatedResourceAccessRequestsArgs args) { + return getDelegatedResourceAccessRequests(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestsArgs;
+     * 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 testDelegatedResourceAccessRequests = DelegateAccessControlFunctions.getDelegatedResourceAccessRequests(GetDelegatedResourceAccessRequestsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .delegationControlId(testDelegationControl.id())
+     *             .requestStatus(delegatedResourceAccessRequestRequestStatus)
+     *             .resourceId(testResource.id())
+     *             .state(delegatedResourceAccessRequestState)
+     *             .timeEnd(delegatedResourceAccessRequestTimeEnd)
+     *             .timeStart(delegatedResourceAccessRequestTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegatedResourceAccessRequestsPlain(GetDelegatedResourceAccessRequestsPlainArgs args) { + return getDelegatedResourceAccessRequestsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestsArgs;
+     * 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 testDelegatedResourceAccessRequests = DelegateAccessControlFunctions.getDelegatedResourceAccessRequests(GetDelegatedResourceAccessRequestsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .delegationControlId(testDelegationControl.id())
+     *             .requestStatus(delegatedResourceAccessRequestRequestStatus)
+     *             .resourceId(testResource.id())
+     *             .state(delegatedResourceAccessRequestState)
+     *             .timeEnd(delegatedResourceAccessRequestTimeEnd)
+     *             .timeStart(delegatedResourceAccessRequestTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegatedResourceAccessRequests(GetDelegatedResourceAccessRequestsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequests:getDelegatedResourceAccessRequests", TypeShape.of(GetDelegatedResourceAccessRequestsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestsArgs;
+     * 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 testDelegatedResourceAccessRequests = DelegateAccessControlFunctions.getDelegatedResourceAccessRequests(GetDelegatedResourceAccessRequestsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .delegationControlId(testDelegationControl.id())
+     *             .requestStatus(delegatedResourceAccessRequestRequestStatus)
+     *             .resourceId(testResource.id())
+     *             .state(delegatedResourceAccessRequestState)
+     *             .timeEnd(delegatedResourceAccessRequestTimeEnd)
+     *             .timeStart(delegatedResourceAccessRequestTimeStart)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegatedResourceAccessRequestsPlain(GetDelegatedResourceAccessRequestsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getDelegatedResourceAccessRequests:getDelegatedResourceAccessRequests", TypeShape.of(GetDelegatedResourceAccessRequestsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Delegation Control associated with the specified Delegation Control ID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlArgs;
+     * 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 testDelegationControl = DelegateAccessControlFunctions.getDelegationControl(GetDelegationControlArgs.builder()
+     *             .delegationControlId(testDelegationControlOciDelegateAccessControlDelegationControl.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegationControl(GetDelegationControlArgs args) { + return getDelegationControl(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Delegation Control associated with the specified Delegation Control ID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlArgs;
+     * 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 testDelegationControl = DelegateAccessControlFunctions.getDelegationControl(GetDelegationControlArgs.builder()
+     *             .delegationControlId(testDelegationControlOciDelegateAccessControlDelegationControl.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegationControlPlain(GetDelegationControlPlainArgs args) { + return getDelegationControlPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Delegation Control associated with the specified Delegation Control ID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlArgs;
+     * 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 testDelegationControl = DelegateAccessControlFunctions.getDelegationControl(GetDelegationControlArgs.builder()
+     *             .delegationControlId(testDelegationControlOciDelegateAccessControlDelegationControl.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegationControl(GetDelegationControlArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getDelegationControl:getDelegationControl", TypeShape.of(GetDelegationControlResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Delegation Control associated with the specified Delegation Control ID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlArgs;
+     * 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 testDelegationControl = DelegateAccessControlFunctions.getDelegationControl(GetDelegationControlArgs.builder()
+     *             .delegationControlId(testDelegationControlOciDelegateAccessControlDelegationControl.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegationControlPlain(GetDelegationControlPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getDelegationControl:getDelegationControl", TypeShape.of(GetDelegationControlResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a list of resources associated with the Delegation Control. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlResourcesArgs;
+     * 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 testDelegationControlResources = DelegateAccessControlFunctions.getDelegationControlResources(GetDelegationControlResourcesArgs.builder()
+     *             .delegationControlId(testDelegationControl.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegationControlResources(GetDelegationControlResourcesArgs args) { + return getDelegationControlResources(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a list of resources associated with the Delegation Control. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlResourcesArgs;
+     * 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 testDelegationControlResources = DelegateAccessControlFunctions.getDelegationControlResources(GetDelegationControlResourcesArgs.builder()
+     *             .delegationControlId(testDelegationControl.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegationControlResourcesPlain(GetDelegationControlResourcesPlainArgs args) { + return getDelegationControlResourcesPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a list of resources associated with the Delegation Control. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlResourcesArgs;
+     * 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 testDelegationControlResources = DelegateAccessControlFunctions.getDelegationControlResources(GetDelegationControlResourcesArgs.builder()
+     *             .delegationControlId(testDelegationControl.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegationControlResources(GetDelegationControlResourcesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getDelegationControlResources:getDelegationControlResources", TypeShape.of(GetDelegationControlResourcesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a list of resources associated with the Delegation Control. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlResourcesArgs;
+     * 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 testDelegationControlResources = DelegateAccessControlFunctions.getDelegationControlResources(GetDelegationControlResourcesArgs.builder()
+     *             .delegationControlId(testDelegationControl.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegationControlResourcesPlain(GetDelegationControlResourcesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getDelegationControlResources:getDelegationControlResources", TypeShape.of(GetDelegationControlResourcesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Controls in the compartment. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlsArgs;
+     * 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 testDelegationControls = DelegateAccessControlFunctions.getDelegationControls(GetDelegationControlsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(delegationControlDisplayName)
+     *             .resourceId(testResource.id())
+     *             .resourceType(delegationControlResourceType)
+     *             .state(delegationControlState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegationControls(GetDelegationControlsArgs args) { + return getDelegationControls(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Controls in the compartment. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlsArgs;
+     * 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 testDelegationControls = DelegateAccessControlFunctions.getDelegationControls(GetDelegationControlsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(delegationControlDisplayName)
+     *             .resourceId(testResource.id())
+     *             .resourceType(delegationControlResourceType)
+     *             .state(delegationControlState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegationControlsPlain(GetDelegationControlsPlainArgs args) { + return getDelegationControlsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Controls in the compartment. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlsArgs;
+     * 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 testDelegationControls = DelegateAccessControlFunctions.getDelegationControls(GetDelegationControlsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(delegationControlDisplayName)
+     *             .resourceId(testResource.id())
+     *             .resourceType(delegationControlResourceType)
+     *             .state(delegationControlState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegationControls(GetDelegationControlsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getDelegationControls:getDelegationControls", TypeShape.of(GetDelegationControlsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Controls in the compartment. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlsArgs;
+     * 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 testDelegationControls = DelegateAccessControlFunctions.getDelegationControls(GetDelegationControlsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(delegationControlDisplayName)
+     *             .resourceId(testResource.id())
+     *             .resourceType(delegationControlResourceType)
+     *             .state(delegationControlState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegationControlsPlain(GetDelegationControlsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getDelegationControls:getDelegationControls", TypeShape.of(GetDelegationControlsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a DelegationSubscription by identifier + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionArgs;
+     * 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 testDelegationSubscription = DelegateAccessControlFunctions.getDelegationSubscription(GetDelegationSubscriptionArgs.builder()
+     *             .delegationSubscriptionId(testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegationSubscription(GetDelegationSubscriptionArgs args) { + return getDelegationSubscription(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a DelegationSubscription by identifier + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionArgs;
+     * 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 testDelegationSubscription = DelegateAccessControlFunctions.getDelegationSubscription(GetDelegationSubscriptionArgs.builder()
+     *             .delegationSubscriptionId(testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegationSubscriptionPlain(GetDelegationSubscriptionPlainArgs args) { + return getDelegationSubscriptionPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a DelegationSubscription by identifier + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionArgs;
+     * 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 testDelegationSubscription = DelegateAccessControlFunctions.getDelegationSubscription(GetDelegationSubscriptionArgs.builder()
+     *             .delegationSubscriptionId(testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegationSubscription(GetDelegationSubscriptionArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getDelegationSubscription:getDelegationSubscription", TypeShape.of(GetDelegationSubscriptionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a DelegationSubscription by identifier + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionArgs;
+     * 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 testDelegationSubscription = DelegateAccessControlFunctions.getDelegationSubscription(GetDelegationSubscriptionArgs.builder()
+     *             .delegationSubscriptionId(testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegationSubscriptionPlain(GetDelegationSubscriptionPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getDelegationSubscription:getDelegationSubscription", TypeShape.of(GetDelegationSubscriptionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Subscriptions in Delegation Control. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionsArgs;
+     * 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 testDelegationSubscriptions = DelegateAccessControlFunctions.getDelegationSubscriptions(GetDelegationSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(delegationSubscriptionDisplayName)
+     *             .state(delegationSubscriptionState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegationSubscriptions(GetDelegationSubscriptionsArgs args) { + return getDelegationSubscriptions(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Subscriptions in Delegation Control. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionsArgs;
+     * 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 testDelegationSubscriptions = DelegateAccessControlFunctions.getDelegationSubscriptions(GetDelegationSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(delegationSubscriptionDisplayName)
+     *             .state(delegationSubscriptionState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegationSubscriptionsPlain(GetDelegationSubscriptionsPlainArgs args) { + return getDelegationSubscriptionsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Subscriptions in Delegation Control. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionsArgs;
+     * 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 testDelegationSubscriptions = DelegateAccessControlFunctions.getDelegationSubscriptions(GetDelegationSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(delegationSubscriptionDisplayName)
+     *             .state(delegationSubscriptionState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDelegationSubscriptions(GetDelegationSubscriptionsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getDelegationSubscriptions:getDelegationSubscriptions", TypeShape.of(GetDelegationSubscriptionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Subscriptions in Delegation Control. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionsArgs;
+     * 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 testDelegationSubscriptions = DelegateAccessControlFunctions.getDelegationSubscriptions(GetDelegationSubscriptionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .displayName(delegationSubscriptionDisplayName)
+     *             .state(delegationSubscriptionState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDelegationSubscriptionsPlain(GetDelegationSubscriptionsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getDelegationSubscriptions:getDelegationSubscriptions", TypeShape.of(GetDelegationSubscriptionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a ServiceProvider by identifier + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderArgs;
+     * 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 testServiceProvider = DelegateAccessControlFunctions.getServiceProvider(GetServiceProviderArgs.builder()
+     *             .serviceProviderId(testServiceProviderOciDelegateAccessControlServiceProvider.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getServiceProvider(GetServiceProviderArgs args) { + return getServiceProvider(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a ServiceProvider by identifier + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderArgs;
+     * 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 testServiceProvider = DelegateAccessControlFunctions.getServiceProvider(GetServiceProviderArgs.builder()
+     *             .serviceProviderId(testServiceProviderOciDelegateAccessControlServiceProvider.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getServiceProviderPlain(GetServiceProviderPlainArgs args) { + return getServiceProviderPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a ServiceProvider by identifier + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderArgs;
+     * 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 testServiceProvider = DelegateAccessControlFunctions.getServiceProvider(GetServiceProviderArgs.builder()
+     *             .serviceProviderId(testServiceProviderOciDelegateAccessControlServiceProvider.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getServiceProvider(GetServiceProviderArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getServiceProvider:getServiceProvider", TypeShape.of(GetServiceProviderResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a ServiceProvider by identifier + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderArgs;
+     * 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 testServiceProvider = DelegateAccessControlFunctions.getServiceProvider(GetServiceProviderArgs.builder()
+     *             .serviceProviderId(testServiceProviderOciDelegateAccessControlServiceProvider.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getServiceProviderPlain(GetServiceProviderPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getServiceProvider:getServiceProvider", TypeShape.of(GetServiceProviderResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Service Provider Action associated with the specified Service Provider Action ID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionArgs;
+     * 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 testServiceProviderAction = DelegateAccessControlFunctions.getServiceProviderAction(GetServiceProviderActionArgs.builder()
+     *             .serviceProviderActionId(testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getServiceProviderAction(GetServiceProviderActionArgs args) { + return getServiceProviderAction(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Service Provider Action associated with the specified Service Provider Action ID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionArgs;
+     * 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 testServiceProviderAction = DelegateAccessControlFunctions.getServiceProviderAction(GetServiceProviderActionArgs.builder()
+     *             .serviceProviderActionId(testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getServiceProviderActionPlain(GetServiceProviderActionPlainArgs args) { + return getServiceProviderActionPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Service Provider Action associated with the specified Service Provider Action ID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionArgs;
+     * 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 testServiceProviderAction = DelegateAccessControlFunctions.getServiceProviderAction(GetServiceProviderActionArgs.builder()
+     *             .serviceProviderActionId(testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getServiceProviderAction(GetServiceProviderActionArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction", TypeShape.of(GetServiceProviderActionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Service Provider Action associated with the specified Service Provider Action ID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionArgs;
+     * 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 testServiceProviderAction = DelegateAccessControlFunctions.getServiceProviderAction(GetServiceProviderActionArgs.builder()
+     *             .serviceProviderActionId(testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getServiceProviderActionPlain(GetServiceProviderActionPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction", TypeShape.of(GetServiceProviderActionResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all the ServiceProviderActions available in the system. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionsArgs;
+     * 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 testServiceProviderActions = DelegateAccessControlFunctions.getServiceProviderActions(GetServiceProviderActionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .name(serviceProviderActionName)
+     *             .resourceType(serviceProviderActionResourceType)
+     *             .serviceProviderServiceTypes(serviceProviderActionServiceProviderServiceType)
+     *             .state(serviceProviderActionState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getServiceProviderActions(GetServiceProviderActionsArgs args) { + return getServiceProviderActions(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all the ServiceProviderActions available in the system. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionsArgs;
+     * 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 testServiceProviderActions = DelegateAccessControlFunctions.getServiceProviderActions(GetServiceProviderActionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .name(serviceProviderActionName)
+     *             .resourceType(serviceProviderActionResourceType)
+     *             .serviceProviderServiceTypes(serviceProviderActionServiceProviderServiceType)
+     *             .state(serviceProviderActionState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getServiceProviderActionsPlain(GetServiceProviderActionsPlainArgs args) { + return getServiceProviderActionsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all the ServiceProviderActions available in the system. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionsArgs;
+     * 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 testServiceProviderActions = DelegateAccessControlFunctions.getServiceProviderActions(GetServiceProviderActionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .name(serviceProviderActionName)
+     *             .resourceType(serviceProviderActionResourceType)
+     *             .serviceProviderServiceTypes(serviceProviderActionServiceProviderServiceType)
+     *             .state(serviceProviderActionState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getServiceProviderActions(GetServiceProviderActionsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getServiceProviderActions:getServiceProviderActions", TypeShape.of(GetServiceProviderActionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all the ServiceProviderActions available in the system. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionsArgs;
+     * 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 testServiceProviderActions = DelegateAccessControlFunctions.getServiceProviderActions(GetServiceProviderActionsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .name(serviceProviderActionName)
+     *             .resourceType(serviceProviderActionResourceType)
+     *             .serviceProviderServiceTypes(serviceProviderActionServiceProviderServiceType)
+     *             .state(serviceProviderActionState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getServiceProviderActionsPlain(GetServiceProviderActionsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getServiceProviderActions:getServiceProviderActions", TypeShape.of(GetServiceProviderActionsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Service Providers. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProvidersArgs;
+     * 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 testServiceProviders = DelegateAccessControlFunctions.getServiceProviders(GetServiceProvidersArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .name(serviceProviderName)
+     *             .serviceProviderType(serviceProviderServiceProviderType)
+     *             .state(serviceProviderState)
+     *             .supportedResourceType(serviceProviderSupportedResourceType)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getServiceProviders(GetServiceProvidersArgs args) { + return getServiceProviders(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Service Providers. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProvidersArgs;
+     * 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 testServiceProviders = DelegateAccessControlFunctions.getServiceProviders(GetServiceProvidersArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .name(serviceProviderName)
+     *             .serviceProviderType(serviceProviderServiceProviderType)
+     *             .state(serviceProviderState)
+     *             .supportedResourceType(serviceProviderSupportedResourceType)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getServiceProvidersPlain(GetServiceProvidersPlainArgs args) { + return getServiceProvidersPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Service Providers. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProvidersArgs;
+     * 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 testServiceProviders = DelegateAccessControlFunctions.getServiceProviders(GetServiceProvidersArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .name(serviceProviderName)
+     *             .serviceProviderType(serviceProviderServiceProviderType)
+     *             .state(serviceProviderState)
+     *             .supportedResourceType(serviceProviderSupportedResourceType)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getServiceProviders(GetServiceProvidersArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DelegateAccessControl/getServiceProviders:getServiceProviders", TypeShape.of(GetServiceProvidersResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Service Providers. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.DelegateAccessControl.DelegateAccessControlFunctions;
+     * import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProvidersArgs;
+     * 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 testServiceProviders = DelegateAccessControlFunctions.getServiceProviders(GetServiceProvidersArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .name(serviceProviderName)
+     *             .serviceProviderType(serviceProviderServiceProviderType)
+     *             .state(serviceProviderState)
+     *             .supportedResourceType(serviceProviderSupportedResourceType)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getServiceProvidersPlain(GetServiceProvidersPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DelegateAccessControl/getServiceProviders:getServiceProviders", TypeShape.of(GetServiceProvidersResult.class), args, Utilities.withVersion(options)); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationControl.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationControl.java new file mode 100644 index 0000000000..701b391cb4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationControl.java @@ -0,0 +1,441 @@ +// *** 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.DelegateAccessControl; + +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.DelegateAccessControl.DelegationControlArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.DelegationControlState; +import com.pulumi.oci.Utilities; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Map; +import javax.annotation.Nullable; + +/** + * This resource provides the Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Creates a Delegation Control. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DelegateAccessControl.DelegationControl;
+ * import com.pulumi.oci.DelegateAccessControl.DelegationControlArgs;
+ * 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 testDelegationControl = new DelegationControl("testDelegationControl", DelegationControlArgs.builder()
+ *             .compartmentId(compartmentId)
+ *             .delegationSubscriptionIds(delegationControlDelegationSubscriptionIds)
+ *             .displayName(delegationControlDisplayName)
+ *             .notificationMessageFormat(delegationControlNotificationMessageFormat)
+ *             .notificationTopicId(testNotificationTopic.id())
+ *             .resourceIds(delegationControlResourceIds)
+ *             .resourceType(delegationControlResourceType)
+ *             .definedTags(Map.of("Operations.CostCenter", "42"))
+ *             .description(delegationControlDescription)
+ *             .freeformTags(Map.of("Department", "Finance"))
+ *             .isAutoApproveDuringMaintenance(delegationControlIsAutoApproveDuringMaintenance)
+ *             .numApprovalsRequired(delegationControlNumApprovalsRequired)
+ *             .preApprovedServiceProviderActionNames(delegationControlPreApprovedServiceProviderActionNames)
+ *             .vaultId(testVault.id())
+ *             .vaultKeyId(testKey.id())
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * DelegationControls can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DelegateAccessControl/delegationControl:DelegationControl test_delegation_control "id" + * ``` + * + */ +@ResourceType(type="oci:DelegateAccessControl/delegationControl:DelegationControl") +public class DelegationControl extends com.pulumi.resources.CustomResource { + /** + * (Updatable) The OCID of the compartment that contains this Delegation Control. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return (Updatable) The OCID of the compartment that contains this Delegation Control. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + /** + * (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"}` + * + */ + @Export(name="definedTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> definedTags; + + /** + * @return (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 Output> definedTags() { + return this.definedTags; + } + /** + * (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + */ + @Export(name="delegationSubscriptionIds", refs={List.class,String.class}, tree="[0,1]") + private Output> delegationSubscriptionIds; + + /** + * @return (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + */ + public Output> delegationSubscriptionIds() { + return this.delegationSubscriptionIds; + } + /** + * (Updatable) Description of the Delegation Control. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return (Updatable) Description of the Delegation Control. + * + */ + public Output description() { + return this.description; + } + /** + * (Updatable) Name of the Delegation Control. The name does not need to be unique. + * + */ + @Export(name="displayName", refs={String.class}, tree="[0]") + private Output displayName; + + /** + * @return (Updatable) Name of the Delegation Control. The name does not need to be unique. + * + */ + public Output displayName() { + return this.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"}` + * + */ + @Export(name="freeformTags", refs={Map.class,String.class}, tree="[0,1,1]") + 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. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + public Output> freeformTags() { + return this.freeformTags; + } + /** + * (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + */ + @Export(name="isAutoApproveDuringMaintenance", refs={Boolean.class}, tree="[0]") + private Output isAutoApproveDuringMaintenance; + + /** + * @return (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + */ + public Output isAutoApproveDuringMaintenance() { + return this.isAutoApproveDuringMaintenance; + } + /** + * Description of the current lifecycle state in more detail. + * + */ + @Export(name="lifecycleStateDetails", refs={String.class}, tree="[0]") + private Output lifecycleStateDetails; + + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public Output lifecycleStateDetails() { + return this.lifecycleStateDetails; + } + /** + * (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + */ + @Export(name="notificationMessageFormat", refs={String.class}, tree="[0]") + private Output notificationMessageFormat; + + /** + * @return (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + */ + public Output notificationMessageFormat() { + return this.notificationMessageFormat; + } + /** + * (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + */ + @Export(name="notificationTopicId", refs={String.class}, tree="[0]") + private Output notificationTopicId; + + /** + * @return (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + */ + public Output notificationTopicId() { + return this.notificationTopicId; + } + /** + * (Updatable) number of approvals required. + * + */ + @Export(name="numApprovalsRequired", refs={Integer.class}, tree="[0]") + private Output numApprovalsRequired; + + /** + * @return (Updatable) number of approvals required. + * + */ + public Output numApprovalsRequired() { + return this.numApprovalsRequired; + } + /** + * (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + */ + @Export(name="preApprovedServiceProviderActionNames", refs={List.class,String.class}, tree="[0,1]") + private Output> preApprovedServiceProviderActionNames; + + /** + * @return (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + */ + public Output> preApprovedServiceProviderActionNames() { + return this.preApprovedServiceProviderActionNames; + } + /** + * (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + */ + @Export(name="resourceIds", refs={List.class,String.class}, tree="[0,1]") + private Output> resourceIds; + + /** + * @return (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + */ + public Output> resourceIds() { + return this.resourceIds; + } + /** + * Resource type for which the Delegation Control is applicable to. + * + */ + @Export(name="resourceType", refs={String.class}, tree="[0]") + private Output resourceType; + + /** + * @return Resource type for which the Delegation Control is applicable to. + * + */ + public Output resourceType() { + return this.resourceType; + } + /** + * The current lifecycle state of the Delegation Control. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The current lifecycle state of the Delegation Control. + * + */ + 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}, tree="[0,1,1]") + 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; + } + /** + * Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + * + */ + @Export(name="timeDeleted", refs={String.class}, tree="[0]") + private Output timeDeleted; + + /** + * @return Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + * + */ + public Output timeDeleted() { + return this.timeDeleted; + } + /** + * Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + @Export(name="timeUpdated", refs={String.class}, tree="[0]") + private Output timeUpdated; + + /** + * @return Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public Output timeUpdated() { + return this.timeUpdated; + } + /** + * The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + */ + @Export(name="vaultId", refs={String.class}, tree="[0]") + private Output vaultId; + + /** + * @return The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + */ + public Output vaultId() { + return this.vaultId; + } + /** + * The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * ** IMPORTANT ** + * 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="vaultKeyId", refs={String.class}, tree="[0]") + private Output vaultKeyId; + + /** + * @return The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * ** IMPORTANT ** + * 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 vaultKeyId() { + return this.vaultKeyId; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public DelegationControl(java.lang.String name) { + this(name, DelegationControlArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public DelegationControl(java.lang.String name, DelegationControlArgs 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 DelegationControl(java.lang.String name, DelegationControlArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DelegateAccessControl/delegationControl:DelegationControl", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private DelegationControl(java.lang.String name, Output id, @Nullable DelegationControlState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DelegateAccessControl/delegationControl:DelegationControl", name, state, makeResourceOptions(options, id), false); + } + + private static DelegationControlArgs makeArgs(DelegationControlArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? DelegationControlArgs.Empty : args; + } + + 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 DelegationControl get(java.lang.String name, Output id, @Nullable DelegationControlState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new DelegationControl(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationControlArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationControlArgs.java new file mode 100644 index 0000000000..8e8047449a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationControlArgs.java @@ -0,0 +1,669 @@ +// *** 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.DelegateAccessControl; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Integer; +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 DelegationControlArgs extends com.pulumi.resources.ResourceArgs { + + public static final DelegationControlArgs Empty = new DelegationControlArgs(); + + /** + * (Updatable) The OCID of the compartment that contains this Delegation Control. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return (Updatable) The OCID of the compartment that contains this Delegation Control. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * (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"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (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 Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + */ + @Import(name="delegationSubscriptionIds", required=true) + private Output> delegationSubscriptionIds; + + /** + * @return (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + */ + public Output> delegationSubscriptionIds() { + return this.delegationSubscriptionIds; + } + + /** + * (Updatable) Description of the Delegation Control. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) Description of the Delegation Control. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) Name of the Delegation Control. The name does not need to be unique. + * + */ + @Import(name="displayName", required=true) + private Output displayName; + + /** + * @return (Updatable) Name of the Delegation Control. The name does not need to be unique. + * + */ + public Output displayName() { + return this.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"}` + * + */ + @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. For more information, 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) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + */ + @Import(name="isAutoApproveDuringMaintenance") + private @Nullable Output isAutoApproveDuringMaintenance; + + /** + * @return (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + */ + public Optional> isAutoApproveDuringMaintenance() { + return Optional.ofNullable(this.isAutoApproveDuringMaintenance); + } + + /** + * (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + */ + @Import(name="notificationMessageFormat", required=true) + private Output notificationMessageFormat; + + /** + * @return (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + */ + public Output notificationMessageFormat() { + return this.notificationMessageFormat; + } + + /** + * (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + */ + @Import(name="notificationTopicId", required=true) + private Output notificationTopicId; + + /** + * @return (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + */ + public Output notificationTopicId() { + return this.notificationTopicId; + } + + /** + * (Updatable) number of approvals required. + * + */ + @Import(name="numApprovalsRequired") + private @Nullable Output numApprovalsRequired; + + /** + * @return (Updatable) number of approvals required. + * + */ + public Optional> numApprovalsRequired() { + return Optional.ofNullable(this.numApprovalsRequired); + } + + /** + * (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + */ + @Import(name="preApprovedServiceProviderActionNames") + private @Nullable Output> preApprovedServiceProviderActionNames; + + /** + * @return (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + */ + public Optional>> preApprovedServiceProviderActionNames() { + return Optional.ofNullable(this.preApprovedServiceProviderActionNames); + } + + /** + * (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + */ + @Import(name="resourceIds", required=true) + private Output> resourceIds; + + /** + * @return (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + */ + public Output> resourceIds() { + return this.resourceIds; + } + + /** + * Resource type for which the Delegation Control is applicable to. + * + */ + @Import(name="resourceType", required=true) + private Output resourceType; + + /** + * @return Resource type for which the Delegation Control is applicable to. + * + */ + public Output resourceType() { + return this.resourceType; + } + + /** + * The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + */ + @Import(name="vaultId") + private @Nullable Output vaultId; + + /** + * @return The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + */ + public Optional> vaultId() { + return Optional.ofNullable(this.vaultId); + } + + /** + * The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * ** IMPORTANT ** + * 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="vaultKeyId") + private @Nullable Output vaultKeyId; + + /** + * @return The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * ** IMPORTANT ** + * 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> vaultKeyId() { + return Optional.ofNullable(this.vaultKeyId); + } + + private DelegationControlArgs() {} + + private DelegationControlArgs(DelegationControlArgs $) { + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.delegationSubscriptionIds = $.delegationSubscriptionIds; + this.description = $.description; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.isAutoApproveDuringMaintenance = $.isAutoApproveDuringMaintenance; + this.notificationMessageFormat = $.notificationMessageFormat; + this.notificationTopicId = $.notificationTopicId; + this.numApprovalsRequired = $.numApprovalsRequired; + this.preApprovedServiceProviderActionNames = $.preApprovedServiceProviderActionNames; + this.resourceIds = $.resourceIds; + this.resourceType = $.resourceType; + this.vaultId = $.vaultId; + this.vaultKeyId = $.vaultKeyId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DelegationControlArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DelegationControlArgs $; + + public Builder() { + $ = new DelegationControlArgs(); + } + + public Builder(DelegationControlArgs defaults) { + $ = new DelegationControlArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment that contains this Delegation Control. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment that contains this Delegation Control. + * + * @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. For more information, 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. For more information, 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 delegationSubscriptionIds (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + * @return builder + * + */ + public Builder delegationSubscriptionIds(Output> delegationSubscriptionIds) { + $.delegationSubscriptionIds = delegationSubscriptionIds; + return this; + } + + /** + * @param delegationSubscriptionIds (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + * @return builder + * + */ + public Builder delegationSubscriptionIds(List delegationSubscriptionIds) { + return delegationSubscriptionIds(Output.of(delegationSubscriptionIds)); + } + + /** + * @param delegationSubscriptionIds (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + * @return builder + * + */ + public Builder delegationSubscriptionIds(String... delegationSubscriptionIds) { + return delegationSubscriptionIds(List.of(delegationSubscriptionIds)); + } + + /** + * @param description (Updatable) Description of the Delegation Control. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) Description of the Delegation Control. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName (Updatable) Name of the Delegation Control. The name does not need to be unique. + * + * @return builder + * + */ + public Builder displayName(Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) Name of the Delegation Control. The name does not need to be unique. + * + * @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. For more information, 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. For more information, 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 isAutoApproveDuringMaintenance (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + * @return builder + * + */ + public Builder isAutoApproveDuringMaintenance(@Nullable Output isAutoApproveDuringMaintenance) { + $.isAutoApproveDuringMaintenance = isAutoApproveDuringMaintenance; + return this; + } + + /** + * @param isAutoApproveDuringMaintenance (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + * @return builder + * + */ + public Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance) { + return isAutoApproveDuringMaintenance(Output.of(isAutoApproveDuringMaintenance)); + } + + /** + * @param notificationMessageFormat (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + * @return builder + * + */ + public Builder notificationMessageFormat(Output notificationMessageFormat) { + $.notificationMessageFormat = notificationMessageFormat; + return this; + } + + /** + * @param notificationMessageFormat (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + * @return builder + * + */ + public Builder notificationMessageFormat(String notificationMessageFormat) { + return notificationMessageFormat(Output.of(notificationMessageFormat)); + } + + /** + * @param notificationTopicId (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + * @return builder + * + */ + public Builder notificationTopicId(Output notificationTopicId) { + $.notificationTopicId = notificationTopicId; + return this; + } + + /** + * @param notificationTopicId (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + * @return builder + * + */ + public Builder notificationTopicId(String notificationTopicId) { + return notificationTopicId(Output.of(notificationTopicId)); + } + + /** + * @param numApprovalsRequired (Updatable) number of approvals required. + * + * @return builder + * + */ + public Builder numApprovalsRequired(@Nullable Output numApprovalsRequired) { + $.numApprovalsRequired = numApprovalsRequired; + return this; + } + + /** + * @param numApprovalsRequired (Updatable) number of approvals required. + * + * @return builder + * + */ + public Builder numApprovalsRequired(Integer numApprovalsRequired) { + return numApprovalsRequired(Output.of(numApprovalsRequired)); + } + + /** + * @param preApprovedServiceProviderActionNames (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + * @return builder + * + */ + public Builder preApprovedServiceProviderActionNames(@Nullable Output> preApprovedServiceProviderActionNames) { + $.preApprovedServiceProviderActionNames = preApprovedServiceProviderActionNames; + return this; + } + + /** + * @param preApprovedServiceProviderActionNames (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + * @return builder + * + */ + public Builder preApprovedServiceProviderActionNames(List preApprovedServiceProviderActionNames) { + return preApprovedServiceProviderActionNames(Output.of(preApprovedServiceProviderActionNames)); + } + + /** + * @param preApprovedServiceProviderActionNames (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + * @return builder + * + */ + public Builder preApprovedServiceProviderActionNames(String... preApprovedServiceProviderActionNames) { + return preApprovedServiceProviderActionNames(List.of(preApprovedServiceProviderActionNames)); + } + + /** + * @param resourceIds (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + * @return builder + * + */ + public Builder resourceIds(Output> resourceIds) { + $.resourceIds = resourceIds; + return this; + } + + /** + * @param resourceIds (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + * @return builder + * + */ + public Builder resourceIds(List resourceIds) { + return resourceIds(Output.of(resourceIds)); + } + + /** + * @param resourceIds (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + * @return builder + * + */ + public Builder resourceIds(String... resourceIds) { + return resourceIds(List.of(resourceIds)); + } + + /** + * @param resourceType Resource type for which the Delegation Control is applicable to. + * + * @return builder + * + */ + public Builder resourceType(Output resourceType) { + $.resourceType = resourceType; + return this; + } + + /** + * @param resourceType Resource type for which the Delegation Control is applicable to. + * + * @return builder + * + */ + public Builder resourceType(String resourceType) { + return resourceType(Output.of(resourceType)); + } + + /** + * @param vaultId The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + * @return builder + * + */ + public Builder vaultId(@Nullable Output vaultId) { + $.vaultId = vaultId; + return this; + } + + /** + * @param vaultId The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + * @return builder + * + */ + public Builder vaultId(String vaultId) { + return vaultId(Output.of(vaultId)); + } + + /** + * @param vaultKeyId The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * ** IMPORTANT ** + * 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 vaultKeyId(@Nullable Output vaultKeyId) { + $.vaultKeyId = vaultKeyId; + return this; + } + + /** + * @param vaultKeyId The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * ** IMPORTANT ** + * 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 vaultKeyId(String vaultKeyId) { + return vaultKeyId(Output.of(vaultKeyId)); + } + + public DelegationControlArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("DelegationControlArgs", "compartmentId"); + } + if ($.delegationSubscriptionIds == null) { + throw new MissingRequiredPropertyException("DelegationControlArgs", "delegationSubscriptionIds"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DelegationControlArgs", "displayName"); + } + if ($.notificationMessageFormat == null) { + throw new MissingRequiredPropertyException("DelegationControlArgs", "notificationMessageFormat"); + } + if ($.notificationTopicId == null) { + throw new MissingRequiredPropertyException("DelegationControlArgs", "notificationTopicId"); + } + if ($.resourceIds == null) { + throw new MissingRequiredPropertyException("DelegationControlArgs", "resourceIds"); + } + if ($.resourceType == null) { + throw new MissingRequiredPropertyException("DelegationControlArgs", "resourceType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationSubscription.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationSubscription.java new file mode 100644 index 0000000000..0bb182252b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationSubscription.java @@ -0,0 +1,303 @@ +// *** 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.DelegateAccessControl; + +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.DelegateAccessControl.DelegationSubscriptionArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.DelegationSubscriptionState; +import com.pulumi.oci.Utilities; +import java.lang.String; +import java.util.Map; +import javax.annotation.Nullable; + +/** + * This resource provides the Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Creates Delegation Subscription in Delegation Control. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.DelegateAccessControl.DelegationSubscription;
+ * import com.pulumi.oci.DelegateAccessControl.DelegationSubscriptionArgs;
+ * 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 testDelegationSubscription = new DelegationSubscription("testDelegationSubscription", DelegationSubscriptionArgs.builder()
+ *             .compartmentId(compartmentId)
+ *             .serviceProviderId(testServiceProvider.id())
+ *             .subscribedServiceType(delegationSubscriptionSubscribedServiceType)
+ *             .definedTags(Map.of("Operations.CostCenter", "42"))
+ *             .description(delegationSubscriptionDescription)
+ *             .freeformTags(Map.of("Department", "Finance"))
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * DelegationSubscriptions can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DelegateAccessControl/delegationSubscription:DelegationSubscription test_delegation_subscription "id" + * ``` + * + */ +@ResourceType(type="oci:DelegateAccessControl/delegationSubscription:DelegationSubscription") +public class DelegationSubscription extends com.pulumi.resources.CustomResource { + /** + * (Updatable) The OCID of the compartment that contains the Delegation Control. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return (Updatable) The OCID of the compartment that contains the Delegation Control. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + /** + * (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"}` + * + */ + @Export(name="definedTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> definedTags; + + /** + * @return (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 Output> definedTags() { + return this.definedTags; + } + /** + * (Updatable) Description of the Delegation Subscription. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return (Updatable) Description of the Delegation Subscription. + * + */ + public Output description() { + return this.description; + } + /** + * Display name + * + */ + @Export(name="displayName", refs={String.class}, tree="[0]") + private Output displayName; + + /** + * @return Display name + * + */ + public Output displayName() { + return this.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"}` + * + */ + @Export(name="freeformTags", refs={Map.class,String.class}, tree="[0,1,1]") + 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. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + public Output> freeformTags() { + return this.freeformTags; + } + /** + * Description of the current lifecycle state in more detail. + * + */ + @Export(name="lifecycleStateDetails", refs={String.class}, tree="[0]") + private Output lifecycleStateDetails; + + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public Output lifecycleStateDetails() { + return this.lifecycleStateDetails; + } + /** + * Unique identifier of the Service Provider. + * + */ + @Export(name="serviceProviderId", refs={String.class}, tree="[0]") + private Output serviceProviderId; + + /** + * @return Unique identifier of the Service Provider. + * + */ + public Output serviceProviderId() { + return this.serviceProviderId; + } + /** + * The current lifecycle state of the Service Provider. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The current lifecycle state of the Service Provider. + * + */ + public Output state() { + return this.state; + } + /** + * Subscribed Service Provider Service Type. + * + * ** IMPORTANT ** + * 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="subscribedServiceType", refs={String.class}, tree="[0]") + private Output subscribedServiceType; + + /** + * @return Subscribed Service Provider Service Type. + * + * ** IMPORTANT ** + * 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 subscribedServiceType() { + return this.subscribedServiceType; + } + /** + * 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}, tree="[0,1,1]") + 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; + } + /** + * Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + @Export(name="timeUpdated", refs={String.class}, tree="[0]") + private Output timeUpdated; + + /** + * @return Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public Output timeUpdated() { + return this.timeUpdated; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public DelegationSubscription(java.lang.String name) { + this(name, DelegationSubscriptionArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public DelegationSubscription(java.lang.String name, DelegationSubscriptionArgs 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 DelegationSubscription(java.lang.String name, DelegationSubscriptionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DelegateAccessControl/delegationSubscription:DelegationSubscription", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private DelegationSubscription(java.lang.String name, Output id, @Nullable DelegationSubscriptionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DelegateAccessControl/delegationSubscription:DelegationSubscription", name, state, makeResourceOptions(options, id), false); + } + + private static DelegationSubscriptionArgs makeArgs(DelegationSubscriptionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? DelegationSubscriptionArgs.Empty : args; + } + + 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 DelegationSubscription get(java.lang.String name, Output id, @Nullable DelegationSubscriptionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new DelegationSubscription(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationSubscriptionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationSubscriptionArgs.java new file mode 100644 index 0000000000..35cfd05abb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/DelegationSubscriptionArgs.java @@ -0,0 +1,291 @@ +// *** 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.DelegateAccessControl; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DelegationSubscriptionArgs extends com.pulumi.resources.ResourceArgs { + + public static final DelegationSubscriptionArgs Empty = new DelegationSubscriptionArgs(); + + /** + * (Updatable) The OCID of the compartment that contains the Delegation Control. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return (Updatable) The OCID of the compartment that contains the Delegation Control. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * (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"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (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 Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) Description of the Delegation Subscription. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) Description of the Delegation Subscription. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (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"}` + * + */ + @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. For more information, 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); + } + + /** + * Unique identifier of the Service Provider. + * + */ + @Import(name="serviceProviderId", required=true) + private Output serviceProviderId; + + /** + * @return Unique identifier of the Service Provider. + * + */ + public Output serviceProviderId() { + return this.serviceProviderId; + } + + /** + * Subscribed Service Provider Service Type. + * + * ** IMPORTANT ** + * 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="subscribedServiceType", required=true) + private Output subscribedServiceType; + + /** + * @return Subscribed Service Provider Service Type. + * + * ** IMPORTANT ** + * 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 subscribedServiceType() { + return this.subscribedServiceType; + } + + private DelegationSubscriptionArgs() {} + + private DelegationSubscriptionArgs(DelegationSubscriptionArgs $) { + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.description = $.description; + this.freeformTags = $.freeformTags; + this.serviceProviderId = $.serviceProviderId; + this.subscribedServiceType = $.subscribedServiceType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DelegationSubscriptionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DelegationSubscriptionArgs $; + + public Builder() { + $ = new DelegationSubscriptionArgs(); + } + + public Builder(DelegationSubscriptionArgs defaults) { + $ = new DelegationSubscriptionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment that contains the Delegation Control. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment that contains the Delegation Control. + * + * @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. For more information, 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. For more information, 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) Description of the Delegation Subscription. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) Description of the Delegation Subscription. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @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"}` + * + * @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. For more information, 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 serviceProviderId Unique identifier of the Service Provider. + * + * @return builder + * + */ + public Builder serviceProviderId(Output serviceProviderId) { + $.serviceProviderId = serviceProviderId; + return this; + } + + /** + * @param serviceProviderId Unique identifier of the Service Provider. + * + * @return builder + * + */ + public Builder serviceProviderId(String serviceProviderId) { + return serviceProviderId(Output.of(serviceProviderId)); + } + + /** + * @param subscribedServiceType Subscribed Service Provider Service Type. + * + * ** IMPORTANT ** + * 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 subscribedServiceType(Output subscribedServiceType) { + $.subscribedServiceType = subscribedServiceType; + return this; + } + + /** + * @param subscribedServiceType Subscribed Service Provider Service Type. + * + * ** IMPORTANT ** + * 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 subscribedServiceType(String subscribedServiceType) { + return subscribedServiceType(Output.of(subscribedServiceType)); + } + + public DelegationSubscriptionArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("DelegationSubscriptionArgs", "compartmentId"); + } + if ($.serviceProviderId == null) { + throw new MissingRequiredPropertyException("DelegationSubscriptionArgs", "serviceProviderId"); + } + if ($.subscribedServiceType == null) { + throw new MissingRequiredPropertyException("DelegationSubscriptionArgs", "subscribedServiceType"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/DelegationControlState.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/DelegationControlState.java new file mode 100644 index 0000000000..c4ac96e037 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/DelegationControlState.java @@ -0,0 +1,869 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.Integer; +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 DelegationControlState extends com.pulumi.resources.ResourceArgs { + + public static final DelegationControlState Empty = new DelegationControlState(); + + /** + * (Updatable) The OCID of the compartment that contains this Delegation Control. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return (Updatable) The OCID of the compartment that contains this Delegation Control. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * (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"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (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 Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + */ + @Import(name="delegationSubscriptionIds") + private @Nullable Output> delegationSubscriptionIds; + + /** + * @return (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + */ + public Optional>> delegationSubscriptionIds() { + return Optional.ofNullable(this.delegationSubscriptionIds); + } + + /** + * (Updatable) Description of the Delegation Control. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) Description of the Delegation Control. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) Name of the Delegation Control. The name does not need to be unique. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return (Updatable) Name of the Delegation Control. The name does not need to be unique. + * + */ + 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. For more information, 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. For more information, 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) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + */ + @Import(name="isAutoApproveDuringMaintenance") + private @Nullable Output isAutoApproveDuringMaintenance; + + /** + * @return (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + */ + public Optional> isAutoApproveDuringMaintenance() { + return Optional.ofNullable(this.isAutoApproveDuringMaintenance); + } + + /** + * Description of the current lifecycle state in more detail. + * + */ + @Import(name="lifecycleStateDetails") + private @Nullable Output lifecycleStateDetails; + + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public Optional> lifecycleStateDetails() { + return Optional.ofNullable(this.lifecycleStateDetails); + } + + /** + * (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + */ + @Import(name="notificationMessageFormat") + private @Nullable Output notificationMessageFormat; + + /** + * @return (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + */ + public Optional> notificationMessageFormat() { + return Optional.ofNullable(this.notificationMessageFormat); + } + + /** + * (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + */ + @Import(name="notificationTopicId") + private @Nullable Output notificationTopicId; + + /** + * @return (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + */ + public Optional> notificationTopicId() { + return Optional.ofNullable(this.notificationTopicId); + } + + /** + * (Updatable) number of approvals required. + * + */ + @Import(name="numApprovalsRequired") + private @Nullable Output numApprovalsRequired; + + /** + * @return (Updatable) number of approvals required. + * + */ + public Optional> numApprovalsRequired() { + return Optional.ofNullable(this.numApprovalsRequired); + } + + /** + * (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + */ + @Import(name="preApprovedServiceProviderActionNames") + private @Nullable Output> preApprovedServiceProviderActionNames; + + /** + * @return (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + */ + public Optional>> preApprovedServiceProviderActionNames() { + return Optional.ofNullable(this.preApprovedServiceProviderActionNames); + } + + /** + * (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + */ + @Import(name="resourceIds") + private @Nullable Output> resourceIds; + + /** + * @return (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + */ + public Optional>> resourceIds() { + return Optional.ofNullable(this.resourceIds); + } + + /** + * Resource type for which the Delegation Control is applicable to. + * + */ + @Import(name="resourceType") + private @Nullable Output resourceType; + + /** + * @return Resource type for which the Delegation Control is applicable to. + * + */ + public Optional> resourceType() { + return Optional.ofNullable(this.resourceType); + } + + /** + * The current lifecycle state of the Delegation Control. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current lifecycle state of the Delegation Control. + * + */ + 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); + } + + /** + * Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + * + */ + @Import(name="timeDeleted") + private @Nullable Output timeDeleted; + + /** + * @return Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + * + */ + public Optional> timeDeleted() { + return Optional.ofNullable(this.timeDeleted); + } + + /** + * Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + @Import(name="timeUpdated") + private @Nullable Output timeUpdated; + + /** + * @return Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public Optional> timeUpdated() { + return Optional.ofNullable(this.timeUpdated); + } + + /** + * The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + */ + @Import(name="vaultId") + private @Nullable Output vaultId; + + /** + * @return The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + */ + public Optional> vaultId() { + return Optional.ofNullable(this.vaultId); + } + + /** + * The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * ** IMPORTANT ** + * 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="vaultKeyId") + private @Nullable Output vaultKeyId; + + /** + * @return The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * ** IMPORTANT ** + * 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> vaultKeyId() { + return Optional.ofNullable(this.vaultKeyId); + } + + private DelegationControlState() {} + + private DelegationControlState(DelegationControlState $) { + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.delegationSubscriptionIds = $.delegationSubscriptionIds; + this.description = $.description; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.isAutoApproveDuringMaintenance = $.isAutoApproveDuringMaintenance; + this.lifecycleStateDetails = $.lifecycleStateDetails; + this.notificationMessageFormat = $.notificationMessageFormat; + this.notificationTopicId = $.notificationTopicId; + this.numApprovalsRequired = $.numApprovalsRequired; + this.preApprovedServiceProviderActionNames = $.preApprovedServiceProviderActionNames; + this.resourceIds = $.resourceIds; + this.resourceType = $.resourceType; + this.state = $.state; + this.systemTags = $.systemTags; + this.timeCreated = $.timeCreated; + this.timeDeleted = $.timeDeleted; + this.timeUpdated = $.timeUpdated; + this.vaultId = $.vaultId; + this.vaultKeyId = $.vaultKeyId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DelegationControlState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DelegationControlState $; + + public Builder() { + $ = new DelegationControlState(); + } + + public Builder(DelegationControlState defaults) { + $ = new DelegationControlState(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment that contains this Delegation Control. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment that contains this Delegation Control. + * + * @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. For more information, 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. For more information, 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 delegationSubscriptionIds (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + * @return builder + * + */ + public Builder delegationSubscriptionIds(@Nullable Output> delegationSubscriptionIds) { + $.delegationSubscriptionIds = delegationSubscriptionIds; + return this; + } + + /** + * @param delegationSubscriptionIds (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + * @return builder + * + */ + public Builder delegationSubscriptionIds(List delegationSubscriptionIds) { + return delegationSubscriptionIds(Output.of(delegationSubscriptionIds)); + } + + /** + * @param delegationSubscriptionIds (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + * @return builder + * + */ + public Builder delegationSubscriptionIds(String... delegationSubscriptionIds) { + return delegationSubscriptionIds(List.of(delegationSubscriptionIds)); + } + + /** + * @param description (Updatable) Description of the Delegation Control. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) Description of the Delegation Control. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName (Updatable) Name of the Delegation Control. The name does not need to be unique. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) Name of the Delegation Control. The name does not need to be unique. + * + * @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. For more information, 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. For more information, 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 isAutoApproveDuringMaintenance (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + * @return builder + * + */ + public Builder isAutoApproveDuringMaintenance(@Nullable Output isAutoApproveDuringMaintenance) { + $.isAutoApproveDuringMaintenance = isAutoApproveDuringMaintenance; + return this; + } + + /** + * @param isAutoApproveDuringMaintenance (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + * @return builder + * + */ + public Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance) { + return isAutoApproveDuringMaintenance(Output.of(isAutoApproveDuringMaintenance)); + } + + /** + * @param lifecycleStateDetails Description of the current lifecycle state in more detail. + * + * @return builder + * + */ + public Builder lifecycleStateDetails(@Nullable Output lifecycleStateDetails) { + $.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + + /** + * @param lifecycleStateDetails Description of the current lifecycle state in more detail. + * + * @return builder + * + */ + public Builder lifecycleStateDetails(String lifecycleStateDetails) { + return lifecycleStateDetails(Output.of(lifecycleStateDetails)); + } + + /** + * @param notificationMessageFormat (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + * @return builder + * + */ + public Builder notificationMessageFormat(@Nullable Output notificationMessageFormat) { + $.notificationMessageFormat = notificationMessageFormat; + return this; + } + + /** + * @param notificationMessageFormat (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + * @return builder + * + */ + public Builder notificationMessageFormat(String notificationMessageFormat) { + return notificationMessageFormat(Output.of(notificationMessageFormat)); + } + + /** + * @param notificationTopicId (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + * @return builder + * + */ + public Builder notificationTopicId(@Nullable Output notificationTopicId) { + $.notificationTopicId = notificationTopicId; + return this; + } + + /** + * @param notificationTopicId (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + * @return builder + * + */ + public Builder notificationTopicId(String notificationTopicId) { + return notificationTopicId(Output.of(notificationTopicId)); + } + + /** + * @param numApprovalsRequired (Updatable) number of approvals required. + * + * @return builder + * + */ + public Builder numApprovalsRequired(@Nullable Output numApprovalsRequired) { + $.numApprovalsRequired = numApprovalsRequired; + return this; + } + + /** + * @param numApprovalsRequired (Updatable) number of approvals required. + * + * @return builder + * + */ + public Builder numApprovalsRequired(Integer numApprovalsRequired) { + return numApprovalsRequired(Output.of(numApprovalsRequired)); + } + + /** + * @param preApprovedServiceProviderActionNames (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + * @return builder + * + */ + public Builder preApprovedServiceProviderActionNames(@Nullable Output> preApprovedServiceProviderActionNames) { + $.preApprovedServiceProviderActionNames = preApprovedServiceProviderActionNames; + return this; + } + + /** + * @param preApprovedServiceProviderActionNames (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + * @return builder + * + */ + public Builder preApprovedServiceProviderActionNames(List preApprovedServiceProviderActionNames) { + return preApprovedServiceProviderActionNames(Output.of(preApprovedServiceProviderActionNames)); + } + + /** + * @param preApprovedServiceProviderActionNames (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + * @return builder + * + */ + public Builder preApprovedServiceProviderActionNames(String... preApprovedServiceProviderActionNames) { + return preApprovedServiceProviderActionNames(List.of(preApprovedServiceProviderActionNames)); + } + + /** + * @param resourceIds (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + * @return builder + * + */ + public Builder resourceIds(@Nullable Output> resourceIds) { + $.resourceIds = resourceIds; + return this; + } + + /** + * @param resourceIds (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + * @return builder + * + */ + public Builder resourceIds(List resourceIds) { + return resourceIds(Output.of(resourceIds)); + } + + /** + * @param resourceIds (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + * + * @return builder + * + */ + public Builder resourceIds(String... resourceIds) { + return resourceIds(List.of(resourceIds)); + } + + /** + * @param resourceType Resource type for which the Delegation Control is applicable to. + * + * @return builder + * + */ + public Builder resourceType(@Nullable Output resourceType) { + $.resourceType = resourceType; + return this; + } + + /** + * @param resourceType Resource type for which the Delegation Control is applicable to. + * + * @return builder + * + */ + public Builder resourceType(String resourceType) { + return resourceType(Output.of(resourceType)); + } + + /** + * @param state The current lifecycle state of the Delegation Control. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current lifecycle state of the Delegation Control. + * + * @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 Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeDeleted Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + * + * @return builder + * + */ + public Builder timeDeleted(@Nullable Output timeDeleted) { + $.timeDeleted = timeDeleted; + return this; + } + + /** + * @param timeDeleted Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + * + * @return builder + * + */ + public Builder timeDeleted(String timeDeleted) { + return timeDeleted(Output.of(timeDeleted)); + } + + /** + * @param timeUpdated Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + * @return builder + * + */ + public Builder timeUpdated(@Nullable Output timeUpdated) { + $.timeUpdated = timeUpdated; + return this; + } + + /** + * @param timeUpdated Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + * @return builder + * + */ + public Builder timeUpdated(String timeUpdated) { + return timeUpdated(Output.of(timeUpdated)); + } + + /** + * @param vaultId The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + * @return builder + * + */ + public Builder vaultId(@Nullable Output vaultId) { + $.vaultId = vaultId; + return this; + } + + /** + * @param vaultId The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + * @return builder + * + */ + public Builder vaultId(String vaultId) { + return vaultId(Output.of(vaultId)); + } + + /** + * @param vaultKeyId The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * ** IMPORTANT ** + * 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 vaultKeyId(@Nullable Output vaultKeyId) { + $.vaultKeyId = vaultKeyId; + return this; + } + + /** + * @param vaultKeyId The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * ** IMPORTANT ** + * 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 vaultKeyId(String vaultKeyId) { + return vaultKeyId(Output.of(vaultKeyId)); + } + + public DelegationControlState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/DelegationSubscriptionState.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/DelegationSubscriptionState.java new file mode 100644 index 0000000000..33cb306837 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/DelegationSubscriptionState.java @@ -0,0 +1,503 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class DelegationSubscriptionState extends com.pulumi.resources.ResourceArgs { + + public static final DelegationSubscriptionState Empty = new DelegationSubscriptionState(); + + /** + * (Updatable) The OCID of the compartment that contains the Delegation Control. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return (Updatable) The OCID of the compartment that contains the Delegation Control. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * (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"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (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 Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) Description of the Delegation Subscription. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) Description of the Delegation Subscription. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * Display name + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return Display name + * + */ + 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. For more information, 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. For more information, 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); + } + + /** + * Description of the current lifecycle state in more detail. + * + */ + @Import(name="lifecycleStateDetails") + private @Nullable Output lifecycleStateDetails; + + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public Optional> lifecycleStateDetails() { + return Optional.ofNullable(this.lifecycleStateDetails); + } + + /** + * Unique identifier of the Service Provider. + * + */ + @Import(name="serviceProviderId") + private @Nullable Output serviceProviderId; + + /** + * @return Unique identifier of the Service Provider. + * + */ + public Optional> serviceProviderId() { + return Optional.ofNullable(this.serviceProviderId); + } + + /** + * The current lifecycle state of the Service Provider. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current lifecycle state of the Service Provider. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * Subscribed Service Provider Service Type. + * + * ** IMPORTANT ** + * 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="subscribedServiceType") + private @Nullable Output subscribedServiceType; + + /** + * @return Subscribed Service Provider Service Type. + * + * ** IMPORTANT ** + * 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> subscribedServiceType() { + return Optional.ofNullable(this.subscribedServiceType); + } + + /** + * 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); + } + + /** + * Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + @Import(name="timeUpdated") + private @Nullable Output timeUpdated; + + /** + * @return Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public Optional> timeUpdated() { + return Optional.ofNullable(this.timeUpdated); + } + + private DelegationSubscriptionState() {} + + private DelegationSubscriptionState(DelegationSubscriptionState $) { + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.description = $.description; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.lifecycleStateDetails = $.lifecycleStateDetails; + this.serviceProviderId = $.serviceProviderId; + this.state = $.state; + this.subscribedServiceType = $.subscribedServiceType; + this.systemTags = $.systemTags; + this.timeCreated = $.timeCreated; + this.timeUpdated = $.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DelegationSubscriptionState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DelegationSubscriptionState $; + + public Builder() { + $ = new DelegationSubscriptionState(); + } + + public Builder(DelegationSubscriptionState defaults) { + $ = new DelegationSubscriptionState(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment that contains the Delegation Control. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment that contains the Delegation Control. + * + * @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. For more information, 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. For more information, 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) Description of the Delegation Subscription. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) Description of the Delegation Subscription. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName Display name + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName Display name + * + * @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. For more information, 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. For more information, 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 lifecycleStateDetails Description of the current lifecycle state in more detail. + * + * @return builder + * + */ + public Builder lifecycleStateDetails(@Nullable Output lifecycleStateDetails) { + $.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + + /** + * @param lifecycleStateDetails Description of the current lifecycle state in more detail. + * + * @return builder + * + */ + public Builder lifecycleStateDetails(String lifecycleStateDetails) { + return lifecycleStateDetails(Output.of(lifecycleStateDetails)); + } + + /** + * @param serviceProviderId Unique identifier of the Service Provider. + * + * @return builder + * + */ + public Builder serviceProviderId(@Nullable Output serviceProviderId) { + $.serviceProviderId = serviceProviderId; + return this; + } + + /** + * @param serviceProviderId Unique identifier of the Service Provider. + * + * @return builder + * + */ + public Builder serviceProviderId(String serviceProviderId) { + return serviceProviderId(Output.of(serviceProviderId)); + } + + /** + * @param state The current lifecycle state of the Service Provider. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current lifecycle state of the Service Provider. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param subscribedServiceType Subscribed Service Provider Service Type. + * + * ** IMPORTANT ** + * 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 subscribedServiceType(@Nullable Output subscribedServiceType) { + $.subscribedServiceType = subscribedServiceType; + return this; + } + + /** + * @param subscribedServiceType Subscribed Service Provider Service Type. + * + * ** IMPORTANT ** + * 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 subscribedServiceType(String subscribedServiceType) { + return subscribedServiceType(Output.of(subscribedServiceType)); + } + + /** + * @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 Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeUpdated Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + * @return builder + * + */ + public Builder timeUpdated(@Nullable Output timeUpdated) { + $.timeUpdated = timeUpdated; + return this; + } + + /** + * @param timeUpdated Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + * @return builder + * + */ + public Builder timeUpdated(String timeUpdated) { + return timeUpdated(Output.of(timeUpdated)); + } + + public DelegationSubscriptionState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestArgs.java new file mode 100644 index 0000000000..e7661fde9f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDelegatedResourceAccessRequestArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegatedResourceAccessRequestArgs Empty = new GetDelegatedResourceAccessRequestArgs(); + + /** + * Unique Delegated Resource Access Request identifier + * + */ + @Import(name="delegatedResourceAccessRequestId", required=true) + private Output delegatedResourceAccessRequestId; + + /** + * @return Unique Delegated Resource Access Request identifier + * + */ + public Output delegatedResourceAccessRequestId() { + return this.delegatedResourceAccessRequestId; + } + + private GetDelegatedResourceAccessRequestArgs() {} + + private GetDelegatedResourceAccessRequestArgs(GetDelegatedResourceAccessRequestArgs $) { + this.delegatedResourceAccessRequestId = $.delegatedResourceAccessRequestId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestArgs $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestArgs(); + } + + public Builder(GetDelegatedResourceAccessRequestArgs defaults) { + $ = new GetDelegatedResourceAccessRequestArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegatedResourceAccessRequestId Unique Delegated Resource Access Request identifier + * + * @return builder + * + */ + public Builder delegatedResourceAccessRequestId(Output delegatedResourceAccessRequestId) { + $.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + return this; + } + + /** + * @param delegatedResourceAccessRequestId Unique Delegated Resource Access Request identifier + * + * @return builder + * + */ + public Builder delegatedResourceAccessRequestId(String delegatedResourceAccessRequestId) { + return delegatedResourceAccessRequestId(Output.of(delegatedResourceAccessRequestId)); + } + + public GetDelegatedResourceAccessRequestArgs build() { + if ($.delegatedResourceAccessRequestId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestArgs", "delegatedResourceAccessRequestId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestAuditLogReportArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestAuditLogReportArgs.java new file mode 100644 index 0000000000..0da40a5be4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestAuditLogReportArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegatedResourceAccessRequestAuditLogReportArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegatedResourceAccessRequestAuditLogReportArgs Empty = new GetDelegatedResourceAccessRequestAuditLogReportArgs(); + + /** + * Unique Delegated Resource Access Request identifier + * + */ + @Import(name="delegatedResourceAccessRequestId", required=true) + private Output delegatedResourceAccessRequestId; + + /** + * @return Unique Delegated Resource Access Request identifier + * + */ + public Output delegatedResourceAccessRequestId() { + return this.delegatedResourceAccessRequestId; + } + + /** + * Set to true to enable process tree computation in audit report + * + */ + @Import(name="isProcessTreeEnabled") + private @Nullable Output isProcessTreeEnabled; + + /** + * @return Set to true to enable process tree computation in audit report + * + */ + public Optional> isProcessTreeEnabled() { + return Optional.ofNullable(this.isProcessTreeEnabled); + } + + private GetDelegatedResourceAccessRequestAuditLogReportArgs() {} + + private GetDelegatedResourceAccessRequestAuditLogReportArgs(GetDelegatedResourceAccessRequestAuditLogReportArgs $) { + this.delegatedResourceAccessRequestId = $.delegatedResourceAccessRequestId; + this.isProcessTreeEnabled = $.isProcessTreeEnabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestAuditLogReportArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestAuditLogReportArgs $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestAuditLogReportArgs(); + } + + public Builder(GetDelegatedResourceAccessRequestAuditLogReportArgs defaults) { + $ = new GetDelegatedResourceAccessRequestAuditLogReportArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegatedResourceAccessRequestId Unique Delegated Resource Access Request identifier + * + * @return builder + * + */ + public Builder delegatedResourceAccessRequestId(Output delegatedResourceAccessRequestId) { + $.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + return this; + } + + /** + * @param delegatedResourceAccessRequestId Unique Delegated Resource Access Request identifier + * + * @return builder + * + */ + public Builder delegatedResourceAccessRequestId(String delegatedResourceAccessRequestId) { + return delegatedResourceAccessRequestId(Output.of(delegatedResourceAccessRequestId)); + } + + /** + * @param isProcessTreeEnabled Set to true to enable process tree computation in audit report + * + * @return builder + * + */ + public Builder isProcessTreeEnabled(@Nullable Output isProcessTreeEnabled) { + $.isProcessTreeEnabled = isProcessTreeEnabled; + return this; + } + + /** + * @param isProcessTreeEnabled Set to true to enable process tree computation in audit report + * + * @return builder + * + */ + public Builder isProcessTreeEnabled(Boolean isProcessTreeEnabled) { + return isProcessTreeEnabled(Output.of(isProcessTreeEnabled)); + } + + public GetDelegatedResourceAccessRequestAuditLogReportArgs build() { + if ($.delegatedResourceAccessRequestId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestAuditLogReportArgs", "delegatedResourceAccessRequestId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestAuditLogReportPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestAuditLogReportPlainArgs.java new file mode 100644 index 0000000000..30fa96512c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestAuditLogReportPlainArgs.java @@ -0,0 +1,104 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegatedResourceAccessRequestAuditLogReportPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegatedResourceAccessRequestAuditLogReportPlainArgs Empty = new GetDelegatedResourceAccessRequestAuditLogReportPlainArgs(); + + /** + * Unique Delegated Resource Access Request identifier + * + */ + @Import(name="delegatedResourceAccessRequestId", required=true) + private String delegatedResourceAccessRequestId; + + /** + * @return Unique Delegated Resource Access Request identifier + * + */ + public String delegatedResourceAccessRequestId() { + return this.delegatedResourceAccessRequestId; + } + + /** + * Set to true to enable process tree computation in audit report + * + */ + @Import(name="isProcessTreeEnabled") + private @Nullable Boolean isProcessTreeEnabled; + + /** + * @return Set to true to enable process tree computation in audit report + * + */ + public Optional isProcessTreeEnabled() { + return Optional.ofNullable(this.isProcessTreeEnabled); + } + + private GetDelegatedResourceAccessRequestAuditLogReportPlainArgs() {} + + private GetDelegatedResourceAccessRequestAuditLogReportPlainArgs(GetDelegatedResourceAccessRequestAuditLogReportPlainArgs $) { + this.delegatedResourceAccessRequestId = $.delegatedResourceAccessRequestId; + this.isProcessTreeEnabled = $.isProcessTreeEnabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestAuditLogReportPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestAuditLogReportPlainArgs $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestAuditLogReportPlainArgs(); + } + + public Builder(GetDelegatedResourceAccessRequestAuditLogReportPlainArgs defaults) { + $ = new GetDelegatedResourceAccessRequestAuditLogReportPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegatedResourceAccessRequestId Unique Delegated Resource Access Request identifier + * + * @return builder + * + */ + public Builder delegatedResourceAccessRequestId(String delegatedResourceAccessRequestId) { + $.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + return this; + } + + /** + * @param isProcessTreeEnabled Set to true to enable process tree computation in audit report + * + * @return builder + * + */ + public Builder isProcessTreeEnabled(@Nullable Boolean isProcessTreeEnabled) { + $.isProcessTreeEnabled = isProcessTreeEnabled; + return this; + } + + public GetDelegatedResourceAccessRequestAuditLogReportPlainArgs build() { + if ($.delegatedResourceAccessRequestId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestAuditLogReportPlainArgs", "delegatedResourceAccessRequestId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesArgs.java new file mode 100644 index 0000000000..f86ab169c8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesArgs.java @@ -0,0 +1,110 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestHistoriesFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegatedResourceAccessRequestHistoriesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegatedResourceAccessRequestHistoriesArgs Empty = new GetDelegatedResourceAccessRequestHistoriesArgs(); + + /** + * Unique Delegated Resource Access Request identifier + * + */ + @Import(name="delegatedResourceAccessRequestId", required=true) + private Output delegatedResourceAccessRequestId; + + /** + * @return Unique Delegated Resource Access Request identifier + * + */ + public Output delegatedResourceAccessRequestId() { + return this.delegatedResourceAccessRequestId; + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + private GetDelegatedResourceAccessRequestHistoriesArgs() {} + + private GetDelegatedResourceAccessRequestHistoriesArgs(GetDelegatedResourceAccessRequestHistoriesArgs $) { + this.delegatedResourceAccessRequestId = $.delegatedResourceAccessRequestId; + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestHistoriesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestHistoriesArgs $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestHistoriesArgs(); + } + + public Builder(GetDelegatedResourceAccessRequestHistoriesArgs defaults) { + $ = new GetDelegatedResourceAccessRequestHistoriesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegatedResourceAccessRequestId Unique Delegated Resource Access Request identifier + * + * @return builder + * + */ + public Builder delegatedResourceAccessRequestId(Output delegatedResourceAccessRequestId) { + $.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + return this; + } + + /** + * @param delegatedResourceAccessRequestId Unique Delegated Resource Access Request identifier + * + * @return builder + * + */ + public Builder delegatedResourceAccessRequestId(String delegatedResourceAccessRequestId) { + return delegatedResourceAccessRequestId(Output.of(delegatedResourceAccessRequestId)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetDelegatedResourceAccessRequestHistoriesFilterArgs... filters) { + return filters(List.of(filters)); + } + + public GetDelegatedResourceAccessRequestHistoriesArgs build() { + if ($.delegatedResourceAccessRequestId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesArgs", "delegatedResourceAccessRequestId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesFilter.java new file mode 100644 index 0000000000..b7bfab0d97 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesFilter.java @@ -0,0 +1,97 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegatedResourceAccessRequestHistoriesFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegatedResourceAccessRequestHistoriesFilter Empty = new GetDelegatedResourceAccessRequestHistoriesFilter(); + + @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 GetDelegatedResourceAccessRequestHistoriesFilter() {} + + private GetDelegatedResourceAccessRequestHistoriesFilter(GetDelegatedResourceAccessRequestHistoriesFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestHistoriesFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestHistoriesFilter $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestHistoriesFilter(); + } + + public Builder(GetDelegatedResourceAccessRequestHistoriesFilter defaults) { + $ = new GetDelegatedResourceAccessRequestHistoriesFilter(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 GetDelegatedResourceAccessRequestHistoriesFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesFilterArgs.java new file mode 100644 index 0000000000..c5644ead96 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesFilterArgs.java @@ -0,0 +1,110 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegatedResourceAccessRequestHistoriesFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDelegatedResourceAccessRequestHistoriesFilterArgs Empty = new GetDelegatedResourceAccessRequestHistoriesFilterArgs(); + + @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 GetDelegatedResourceAccessRequestHistoriesFilterArgs() {} + + private GetDelegatedResourceAccessRequestHistoriesFilterArgs(GetDelegatedResourceAccessRequestHistoriesFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestHistoriesFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestHistoriesFilterArgs $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestHistoriesFilterArgs(); + } + + public Builder(GetDelegatedResourceAccessRequestHistoriesFilterArgs defaults) { + $ = new GetDelegatedResourceAccessRequestHistoriesFilterArgs(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 GetDelegatedResourceAccessRequestHistoriesFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesPlainArgs.java new file mode 100644 index 0000000000..b3c2a5d570 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestHistoriesPlainArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestHistoriesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegatedResourceAccessRequestHistoriesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegatedResourceAccessRequestHistoriesPlainArgs Empty = new GetDelegatedResourceAccessRequestHistoriesPlainArgs(); + + /** + * Unique Delegated Resource Access Request identifier + * + */ + @Import(name="delegatedResourceAccessRequestId", required=true) + private String delegatedResourceAccessRequestId; + + /** + * @return Unique Delegated Resource Access Request identifier + * + */ + public String delegatedResourceAccessRequestId() { + return this.delegatedResourceAccessRequestId; + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + private GetDelegatedResourceAccessRequestHistoriesPlainArgs() {} + + private GetDelegatedResourceAccessRequestHistoriesPlainArgs(GetDelegatedResourceAccessRequestHistoriesPlainArgs $) { + this.delegatedResourceAccessRequestId = $.delegatedResourceAccessRequestId; + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestHistoriesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestHistoriesPlainArgs $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestHistoriesPlainArgs(); + } + + public Builder(GetDelegatedResourceAccessRequestHistoriesPlainArgs defaults) { + $ = new GetDelegatedResourceAccessRequestHistoriesPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegatedResourceAccessRequestId Unique Delegated Resource Access Request identifier + * + * @return builder + * + */ + public Builder delegatedResourceAccessRequestId(String delegatedResourceAccessRequestId) { + $.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetDelegatedResourceAccessRequestHistoriesFilter... filters) { + return filters(List.of(filters)); + } + + public GetDelegatedResourceAccessRequestHistoriesPlainArgs build() { + if ($.delegatedResourceAccessRequestId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesPlainArgs", "delegatedResourceAccessRequestId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestPlainArgs.java new file mode 100644 index 0000000000..a5f67d9b01 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestPlainArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDelegatedResourceAccessRequestPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegatedResourceAccessRequestPlainArgs Empty = new GetDelegatedResourceAccessRequestPlainArgs(); + + /** + * Unique Delegated Resource Access Request identifier + * + */ + @Import(name="delegatedResourceAccessRequestId", required=true) + private String delegatedResourceAccessRequestId; + + /** + * @return Unique Delegated Resource Access Request identifier + * + */ + public String delegatedResourceAccessRequestId() { + return this.delegatedResourceAccessRequestId; + } + + private GetDelegatedResourceAccessRequestPlainArgs() {} + + private GetDelegatedResourceAccessRequestPlainArgs(GetDelegatedResourceAccessRequestPlainArgs $) { + this.delegatedResourceAccessRequestId = $.delegatedResourceAccessRequestId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestPlainArgs $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestPlainArgs(); + } + + public Builder(GetDelegatedResourceAccessRequestPlainArgs defaults) { + $ = new GetDelegatedResourceAccessRequestPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegatedResourceAccessRequestId Unique Delegated Resource Access Request identifier + * + * @return builder + * + */ + public Builder delegatedResourceAccessRequestId(String delegatedResourceAccessRequestId) { + $.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + return this; + } + + public GetDelegatedResourceAccessRequestPlainArgs build() { + if ($.delegatedResourceAccessRequestId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestPlainArgs", "delegatedResourceAccessRequestId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsArgs.java new file mode 100644 index 0000000000..ad20fd9623 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsArgs.java @@ -0,0 +1,332 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegatedResourceAccessRequestsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegatedResourceAccessRequestsArgs Empty = new GetDelegatedResourceAccessRequestsArgs(); + + /** + * 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 The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * unique Delegation Control identifier + * + */ + @Import(name="delegationControlId") + private @Nullable Output delegationControlId; + + /** + * @return unique Delegation Control identifier + * + */ + public Optional> delegationControlId() { + return Optional.ofNullable(this.delegationControlId); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + * + */ + @Import(name="requestStatus") + private @Nullable Output requestStatus; + + /** + * @return A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + * + */ + public Optional> requestStatus() { + return Optional.ofNullable(this.requestStatus); + } + + /** + * A filter to return only Delegated Resource Access Requests for the given resource identifier. + * + */ + @Import(name="resourceId") + private @Nullable Output resourceId; + + /** + * @return A filter to return only Delegated Resource Access Requests for the given resource identifier. + * + */ + public Optional> resourceId() { + return Optional.ofNullable(this.resourceId); + } + + /** + * A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + */ + @Import(name="timeEnd") + private @Nullable Output timeEnd; + + /** + * @return Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + */ + public Optional> timeEnd() { + return Optional.ofNullable(this.timeEnd); + } + + /** + * Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + */ + @Import(name="timeStart") + private @Nullable Output timeStart; + + /** + * @return Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + */ + public Optional> timeStart() { + return Optional.ofNullable(this.timeStart); + } + + private GetDelegatedResourceAccessRequestsArgs() {} + + private GetDelegatedResourceAccessRequestsArgs(GetDelegatedResourceAccessRequestsArgs $) { + this.compartmentId = $.compartmentId; + this.delegationControlId = $.delegationControlId; + this.filters = $.filters; + this.requestStatus = $.requestStatus; + this.resourceId = $.resourceId; + this.state = $.state; + this.timeEnd = $.timeEnd; + this.timeStart = $.timeStart; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestsArgs $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestsArgs(); + } + + public Builder(GetDelegatedResourceAccessRequestsArgs defaults) { + $ = new GetDelegatedResourceAccessRequestsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId 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 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 delegationControlId unique Delegation Control identifier + * + * @return builder + * + */ + public Builder delegationControlId(@Nullable Output delegationControlId) { + $.delegationControlId = delegationControlId; + return this; + } + + /** + * @param delegationControlId unique Delegation Control identifier + * + * @return builder + * + */ + public Builder delegationControlId(String delegationControlId) { + return delegationControlId(Output.of(delegationControlId)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetDelegatedResourceAccessRequestsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param requestStatus A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + * + * @return builder + * + */ + public Builder requestStatus(@Nullable Output requestStatus) { + $.requestStatus = requestStatus; + return this; + } + + /** + * @param requestStatus A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + * + * @return builder + * + */ + public Builder requestStatus(String requestStatus) { + return requestStatus(Output.of(requestStatus)); + } + + /** + * @param resourceId A filter to return only Delegated Resource Access Requests for the given resource identifier. + * + * @return builder + * + */ + public Builder resourceId(@Nullable Output resourceId) { + $.resourceId = resourceId; + return this; + } + + /** + * @param resourceId A filter to return only Delegated Resource Access Requests for the given resource identifier. + * + * @return builder + * + */ + public Builder resourceId(String resourceId) { + return resourceId(Output.of(resourceId)); + } + + /** + * @param state A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param timeEnd Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + * @return builder + * + */ + public Builder timeEnd(@Nullable Output timeEnd) { + $.timeEnd = timeEnd; + return this; + } + + /** + * @param timeEnd Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + * @return builder + * + */ + public Builder timeEnd(String timeEnd) { + return timeEnd(Output.of(timeEnd)); + } + + /** + * @param timeStart Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + * @return builder + * + */ + public Builder timeStart(@Nullable Output timeStart) { + $.timeStart = timeStart; + return this; + } + + /** + * @param timeStart Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + * @return builder + * + */ + public Builder timeStart(String timeStart) { + return timeStart(Output.of(timeStart)); + } + + public GetDelegatedResourceAccessRequestsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsFilter.java new file mode 100644 index 0000000000..73f903e97b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsFilter.java @@ -0,0 +1,97 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegatedResourceAccessRequestsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegatedResourceAccessRequestsFilter Empty = new GetDelegatedResourceAccessRequestsFilter(); + + @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 GetDelegatedResourceAccessRequestsFilter() {} + + private GetDelegatedResourceAccessRequestsFilter(GetDelegatedResourceAccessRequestsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestsFilter $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestsFilter(); + } + + public Builder(GetDelegatedResourceAccessRequestsFilter defaults) { + $ = new GetDelegatedResourceAccessRequestsFilter(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 GetDelegatedResourceAccessRequestsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsFilterArgs.java new file mode 100644 index 0000000000..fa1d5b207e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsFilterArgs.java @@ -0,0 +1,110 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegatedResourceAccessRequestsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDelegatedResourceAccessRequestsFilterArgs Empty = new GetDelegatedResourceAccessRequestsFilterArgs(); + + @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 GetDelegatedResourceAccessRequestsFilterArgs() {} + + private GetDelegatedResourceAccessRequestsFilterArgs(GetDelegatedResourceAccessRequestsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestsFilterArgs $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestsFilterArgs(); + } + + public Builder(GetDelegatedResourceAccessRequestsFilterArgs defaults) { + $ = new GetDelegatedResourceAccessRequestsFilterArgs(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 GetDelegatedResourceAccessRequestsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsPlainArgs.java new file mode 100644 index 0000000000..4460a78399 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegatedResourceAccessRequestsPlainArgs.java @@ -0,0 +1,257 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegatedResourceAccessRequestsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegatedResourceAccessRequestsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegatedResourceAccessRequestsPlainArgs Empty = new GetDelegatedResourceAccessRequestsPlainArgs(); + + /** + * 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 The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + /** + * unique Delegation Control identifier + * + */ + @Import(name="delegationControlId") + private @Nullable String delegationControlId; + + /** + * @return unique Delegation Control identifier + * + */ + public Optional delegationControlId() { + return Optional.ofNullable(this.delegationControlId); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + * + */ + @Import(name="requestStatus") + private @Nullable String requestStatus; + + /** + * @return A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + * + */ + public Optional requestStatus() { + return Optional.ofNullable(this.requestStatus); + } + + /** + * A filter to return only Delegated Resource Access Requests for the given resource identifier. + * + */ + @Import(name="resourceId") + private @Nullable String resourceId; + + /** + * @return A filter to return only Delegated Resource Access Requests for the given resource identifier. + * + */ + public Optional resourceId() { + return Optional.ofNullable(this.resourceId); + } + + /** + * A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + /** + * Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + */ + @Import(name="timeEnd") + private @Nullable String timeEnd; + + /** + * @return Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + */ + public Optional timeEnd() { + return Optional.ofNullable(this.timeEnd); + } + + /** + * Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + */ + @Import(name="timeStart") + private @Nullable String timeStart; + + /** + * @return Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + */ + public Optional timeStart() { + return Optional.ofNullable(this.timeStart); + } + + private GetDelegatedResourceAccessRequestsPlainArgs() {} + + private GetDelegatedResourceAccessRequestsPlainArgs(GetDelegatedResourceAccessRequestsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.delegationControlId = $.delegationControlId; + this.filters = $.filters; + this.requestStatus = $.requestStatus; + this.resourceId = $.resourceId; + this.state = $.state; + this.timeEnd = $.timeEnd; + this.timeStart = $.timeStart; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegatedResourceAccessRequestsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegatedResourceAccessRequestsPlainArgs $; + + public Builder() { + $ = new GetDelegatedResourceAccessRequestsPlainArgs(); + } + + public Builder(GetDelegatedResourceAccessRequestsPlainArgs defaults) { + $ = new GetDelegatedResourceAccessRequestsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId 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 delegationControlId unique Delegation Control identifier + * + * @return builder + * + */ + public Builder delegationControlId(@Nullable String delegationControlId) { + $.delegationControlId = delegationControlId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetDelegatedResourceAccessRequestsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param requestStatus A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + * + * @return builder + * + */ + public Builder requestStatus(@Nullable String requestStatus) { + $.requestStatus = requestStatus; + return this; + } + + /** + * @param resourceId A filter to return only Delegated Resource Access Requests for the given resource identifier. + * + * @return builder + * + */ + public Builder resourceId(@Nullable String resourceId) { + $.resourceId = resourceId; + return this; + } + + /** + * @param state A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + /** + * @param timeEnd Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + * @return builder + * + */ + public Builder timeEnd(@Nullable String timeEnd) { + $.timeEnd = timeEnd; + return this; + } + + /** + * @param timeStart Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + * + * @return builder + * + */ + public Builder timeStart(@Nullable String timeStart) { + $.timeStart = timeStart; + return this; + } + + public GetDelegatedResourceAccessRequestsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlArgs.java new file mode 100644 index 0000000000..fb488299d6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDelegationControlArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationControlArgs Empty = new GetDelegationControlArgs(); + + /** + * unique Delegation Control identifier + * + */ + @Import(name="delegationControlId", required=true) + private Output delegationControlId; + + /** + * @return unique Delegation Control identifier + * + */ + public Output delegationControlId() { + return this.delegationControlId; + } + + private GetDelegationControlArgs() {} + + private GetDelegationControlArgs(GetDelegationControlArgs $) { + this.delegationControlId = $.delegationControlId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationControlArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationControlArgs $; + + public Builder() { + $ = new GetDelegationControlArgs(); + } + + public Builder(GetDelegationControlArgs defaults) { + $ = new GetDelegationControlArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegationControlId unique Delegation Control identifier + * + * @return builder + * + */ + public Builder delegationControlId(Output delegationControlId) { + $.delegationControlId = delegationControlId; + return this; + } + + /** + * @param delegationControlId unique Delegation Control identifier + * + * @return builder + * + */ + public Builder delegationControlId(String delegationControlId) { + return delegationControlId(Output.of(delegationControlId)); + } + + public GetDelegationControlArgs build() { + if ($.delegationControlId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlArgs", "delegationControlId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlPlainArgs.java new file mode 100644 index 0000000000..61eeb8f43a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlPlainArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDelegationControlPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationControlPlainArgs Empty = new GetDelegationControlPlainArgs(); + + /** + * unique Delegation Control identifier + * + */ + @Import(name="delegationControlId", required=true) + private String delegationControlId; + + /** + * @return unique Delegation Control identifier + * + */ + public String delegationControlId() { + return this.delegationControlId; + } + + private GetDelegationControlPlainArgs() {} + + private GetDelegationControlPlainArgs(GetDelegationControlPlainArgs $) { + this.delegationControlId = $.delegationControlId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationControlPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationControlPlainArgs $; + + public Builder() { + $ = new GetDelegationControlPlainArgs(); + } + + public Builder(GetDelegationControlPlainArgs defaults) { + $ = new GetDelegationControlPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegationControlId unique Delegation Control identifier + * + * @return builder + * + */ + public Builder delegationControlId(String delegationControlId) { + $.delegationControlId = delegationControlId; + return this; + } + + public GetDelegationControlPlainArgs build() { + if ($.delegationControlId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlPlainArgs", "delegationControlId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesArgs.java new file mode 100644 index 0000000000..943c3d6675 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesArgs.java @@ -0,0 +1,110 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlResourcesFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegationControlResourcesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationControlResourcesArgs Empty = new GetDelegationControlResourcesArgs(); + + /** + * unique Delegation Control identifier + * + */ + @Import(name="delegationControlId", required=true) + private Output delegationControlId; + + /** + * @return unique Delegation Control identifier + * + */ + public Output delegationControlId() { + return this.delegationControlId; + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + private GetDelegationControlResourcesArgs() {} + + private GetDelegationControlResourcesArgs(GetDelegationControlResourcesArgs $) { + this.delegationControlId = $.delegationControlId; + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationControlResourcesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationControlResourcesArgs $; + + public Builder() { + $ = new GetDelegationControlResourcesArgs(); + } + + public Builder(GetDelegationControlResourcesArgs defaults) { + $ = new GetDelegationControlResourcesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegationControlId unique Delegation Control identifier + * + * @return builder + * + */ + public Builder delegationControlId(Output delegationControlId) { + $.delegationControlId = delegationControlId; + return this; + } + + /** + * @param delegationControlId unique Delegation Control identifier + * + * @return builder + * + */ + public Builder delegationControlId(String delegationControlId) { + return delegationControlId(Output.of(delegationControlId)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetDelegationControlResourcesFilterArgs... filters) { + return filters(List.of(filters)); + } + + public GetDelegationControlResourcesArgs build() { + if ($.delegationControlId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesArgs", "delegationControlId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesFilter.java new file mode 100644 index 0000000000..3ee9b0f8ae --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesFilter.java @@ -0,0 +1,97 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegationControlResourcesFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationControlResourcesFilter Empty = new GetDelegationControlResourcesFilter(); + + @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 GetDelegationControlResourcesFilter() {} + + private GetDelegationControlResourcesFilter(GetDelegationControlResourcesFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationControlResourcesFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationControlResourcesFilter $; + + public Builder() { + $ = new GetDelegationControlResourcesFilter(); + } + + public Builder(GetDelegationControlResourcesFilter defaults) { + $ = new GetDelegationControlResourcesFilter(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 GetDelegationControlResourcesFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesFilterArgs.java new file mode 100644 index 0000000000..b9a5da9bb5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesFilterArgs.java @@ -0,0 +1,110 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegationControlResourcesFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDelegationControlResourcesFilterArgs Empty = new GetDelegationControlResourcesFilterArgs(); + + @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 GetDelegationControlResourcesFilterArgs() {} + + private GetDelegationControlResourcesFilterArgs(GetDelegationControlResourcesFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationControlResourcesFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationControlResourcesFilterArgs $; + + public Builder() { + $ = new GetDelegationControlResourcesFilterArgs(); + } + + public Builder(GetDelegationControlResourcesFilterArgs defaults) { + $ = new GetDelegationControlResourcesFilterArgs(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 GetDelegationControlResourcesFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesPlainArgs.java new file mode 100644 index 0000000000..8620804c87 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlResourcesPlainArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlResourcesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegationControlResourcesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationControlResourcesPlainArgs Empty = new GetDelegationControlResourcesPlainArgs(); + + /** + * unique Delegation Control identifier + * + */ + @Import(name="delegationControlId", required=true) + private String delegationControlId; + + /** + * @return unique Delegation Control identifier + * + */ + public String delegationControlId() { + return this.delegationControlId; + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + private GetDelegationControlResourcesPlainArgs() {} + + private GetDelegationControlResourcesPlainArgs(GetDelegationControlResourcesPlainArgs $) { + this.delegationControlId = $.delegationControlId; + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationControlResourcesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationControlResourcesPlainArgs $; + + public Builder() { + $ = new GetDelegationControlResourcesPlainArgs(); + } + + public Builder(GetDelegationControlResourcesPlainArgs defaults) { + $ = new GetDelegationControlResourcesPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegationControlId unique Delegation Control identifier + * + * @return builder + * + */ + public Builder delegationControlId(String delegationControlId) { + $.delegationControlId = delegationControlId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetDelegationControlResourcesFilter... filters) { + return filters(List.of(filters)); + } + + public GetDelegationControlResourcesPlainArgs build() { + if ($.delegationControlId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesPlainArgs", "delegationControlId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsArgs.java new file mode 100644 index 0000000000..b7ddbe05be --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsArgs.java @@ -0,0 +1,258 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegationControlsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationControlsArgs Empty = new GetDelegationControlsArgs(); + + /** + * 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 The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * A filter to return Delegation Control resources that match the given display name. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return A filter to return Delegation Control resources that match the given display name. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return Delegation Control resources that match the given resource ID. + * + */ + @Import(name="resourceId") + private @Nullable Output resourceId; + + /** + * @return A filter to return Delegation Control resources that match the given resource ID. + * + */ + public Optional> resourceId() { + return Optional.ofNullable(this.resourceId); + } + + /** + * A filter to return only resources that match the given resource type. + * + */ + @Import(name="resourceType") + private @Nullable Output resourceType; + + /** + * @return A filter to return only resources that match the given resource type. + * + */ + public Optional> resourceType() { + return Optional.ofNullable(this.resourceType); + } + + /** + * A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetDelegationControlsArgs() {} + + private GetDelegationControlsArgs(GetDelegationControlsArgs $) { + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.resourceId = $.resourceId; + this.resourceType = $.resourceType; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationControlsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationControlsArgs $; + + public Builder() { + $ = new GetDelegationControlsArgs(); + } + + public Builder(GetDelegationControlsArgs defaults) { + $ = new GetDelegationControlsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId 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 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 displayName A filter to return Delegation Control resources that match the given display name. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName A filter to return Delegation Control resources that match the given display 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(GetDelegationControlsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param resourceId A filter to return Delegation Control resources that match the given resource ID. + * + * @return builder + * + */ + public Builder resourceId(@Nullable Output resourceId) { + $.resourceId = resourceId; + return this; + } + + /** + * @param resourceId A filter to return Delegation Control resources that match the given resource ID. + * + * @return builder + * + */ + public Builder resourceId(String resourceId) { + return resourceId(Output.of(resourceId)); + } + + /** + * @param resourceType A filter to return only resources that match the given resource type. + * + * @return builder + * + */ + public Builder resourceType(@Nullable Output resourceType) { + $.resourceType = resourceType; + return this; + } + + /** + * @param resourceType A filter to return only resources that match the given resource type. + * + * @return builder + * + */ + public Builder resourceType(String resourceType) { + return resourceType(Output.of(resourceType)); + } + + /** + * @param state A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetDelegationControlsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsFilter.java new file mode 100644 index 0000000000..456ea37f06 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsFilter.java @@ -0,0 +1,97 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegationControlsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationControlsFilter Empty = new GetDelegationControlsFilter(); + + @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 GetDelegationControlsFilter() {} + + private GetDelegationControlsFilter(GetDelegationControlsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationControlsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationControlsFilter $; + + public Builder() { + $ = new GetDelegationControlsFilter(); + } + + public Builder(GetDelegationControlsFilter defaults) { + $ = new GetDelegationControlsFilter(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 GetDelegationControlsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsFilterArgs.java new file mode 100644 index 0000000000..4a2012c26f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsFilterArgs.java @@ -0,0 +1,110 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegationControlsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDelegationControlsFilterArgs Empty = new GetDelegationControlsFilterArgs(); + + @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 GetDelegationControlsFilterArgs() {} + + private GetDelegationControlsFilterArgs(GetDelegationControlsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationControlsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationControlsFilterArgs $; + + public Builder() { + $ = new GetDelegationControlsFilterArgs(); + } + + public Builder(GetDelegationControlsFilterArgs defaults) { + $ = new GetDelegationControlsFilterArgs(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 GetDelegationControlsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsPlainArgs.java new file mode 100644 index 0000000000..1009dfa3e5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationControlsPlainArgs.java @@ -0,0 +1,203 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationControlsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegationControlsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationControlsPlainArgs Empty = new GetDelegationControlsPlainArgs(); + + /** + * 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 The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + /** + * A filter to return Delegation Control resources that match the given display name. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return Delegation Control resources that match the given display name. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return Delegation Control resources that match the given resource ID. + * + */ + @Import(name="resourceId") + private @Nullable String resourceId; + + /** + * @return A filter to return Delegation Control resources that match the given resource ID. + * + */ + public Optional resourceId() { + return Optional.ofNullable(this.resourceId); + } + + /** + * A filter to return only resources that match the given resource type. + * + */ + @Import(name="resourceType") + private @Nullable String resourceType; + + /** + * @return A filter to return only resources that match the given resource type. + * + */ + public Optional resourceType() { + return Optional.ofNullable(this.resourceType); + } + + /** + * A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetDelegationControlsPlainArgs() {} + + private GetDelegationControlsPlainArgs(GetDelegationControlsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.resourceId = $.resourceId; + this.resourceType = $.resourceType; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationControlsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationControlsPlainArgs $; + + public Builder() { + $ = new GetDelegationControlsPlainArgs(); + } + + public Builder(GetDelegationControlsPlainArgs defaults) { + $ = new GetDelegationControlsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId 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 displayName A filter to return Delegation Control resources that match the given display 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(GetDelegationControlsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param resourceId A filter to return Delegation Control resources that match the given resource ID. + * + * @return builder + * + */ + public Builder resourceId(@Nullable String resourceId) { + $.resourceId = resourceId; + return this; + } + + /** + * @param resourceType A filter to return only resources that match the given resource type. + * + * @return builder + * + */ + public Builder resourceType(@Nullable String resourceType) { + $.resourceType = resourceType; + return this; + } + + /** + * @param state A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetDelegationControlsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionArgs.java new file mode 100644 index 0000000000..fa7b5ae984 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDelegationSubscriptionArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationSubscriptionArgs Empty = new GetDelegationSubscriptionArgs(); + + /** + * unique Delegation Subscription identifier + * + */ + @Import(name="delegationSubscriptionId", required=true) + private Output delegationSubscriptionId; + + /** + * @return unique Delegation Subscription identifier + * + */ + public Output delegationSubscriptionId() { + return this.delegationSubscriptionId; + } + + private GetDelegationSubscriptionArgs() {} + + private GetDelegationSubscriptionArgs(GetDelegationSubscriptionArgs $) { + this.delegationSubscriptionId = $.delegationSubscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationSubscriptionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationSubscriptionArgs $; + + public Builder() { + $ = new GetDelegationSubscriptionArgs(); + } + + public Builder(GetDelegationSubscriptionArgs defaults) { + $ = new GetDelegationSubscriptionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegationSubscriptionId unique Delegation Subscription identifier + * + * @return builder + * + */ + public Builder delegationSubscriptionId(Output delegationSubscriptionId) { + $.delegationSubscriptionId = delegationSubscriptionId; + return this; + } + + /** + * @param delegationSubscriptionId unique Delegation Subscription identifier + * + * @return builder + * + */ + public Builder delegationSubscriptionId(String delegationSubscriptionId) { + return delegationSubscriptionId(Output.of(delegationSubscriptionId)); + } + + public GetDelegationSubscriptionArgs build() { + if ($.delegationSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionArgs", "delegationSubscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionPlainArgs.java new file mode 100644 index 0000000000..c9f33f739f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionPlainArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDelegationSubscriptionPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationSubscriptionPlainArgs Empty = new GetDelegationSubscriptionPlainArgs(); + + /** + * unique Delegation Subscription identifier + * + */ + @Import(name="delegationSubscriptionId", required=true) + private String delegationSubscriptionId; + + /** + * @return unique Delegation Subscription identifier + * + */ + public String delegationSubscriptionId() { + return this.delegationSubscriptionId; + } + + private GetDelegationSubscriptionPlainArgs() {} + + private GetDelegationSubscriptionPlainArgs(GetDelegationSubscriptionPlainArgs $) { + this.delegationSubscriptionId = $.delegationSubscriptionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationSubscriptionPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationSubscriptionPlainArgs $; + + public Builder() { + $ = new GetDelegationSubscriptionPlainArgs(); + } + + public Builder(GetDelegationSubscriptionPlainArgs defaults) { + $ = new GetDelegationSubscriptionPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param delegationSubscriptionId unique Delegation Subscription identifier + * + * @return builder + * + */ + public Builder delegationSubscriptionId(String delegationSubscriptionId) { + $.delegationSubscriptionId = delegationSubscriptionId; + return this; + } + + public GetDelegationSubscriptionPlainArgs build() { + if ($.delegationSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionPlainArgs", "delegationSubscriptionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsArgs.java similarity index 50% rename from sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsArgs.java rename to sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsArgs.java index 57ced86677..12022be06c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsArgs.java @@ -1,12 +1,12 @@ // *** 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.GloballyDistributedDatabase.inputs; +package com.pulumi.oci.DelegateAccessControl.inputs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetPrivateEndpointsFilterArgs; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionsFilterArgs; import java.lang.String; import java.util.List; import java.util.Objects; @@ -14,19 +14,19 @@ import javax.annotation.Nullable; -public final class GetPrivateEndpointsArgs extends com.pulumi.resources.InvokeArgs { +public final class GetDelegationSubscriptionsArgs extends com.pulumi.resources.InvokeArgs { - public static final GetPrivateEndpointsArgs Empty = new GetPrivateEndpointsArgs(); + public static final GetDelegationSubscriptionsArgs Empty = new GetDelegationSubscriptionsArgs(); /** - * 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. * */ @Import(name="compartmentId", required=true) private 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. * */ public Output compartmentId() { @@ -34,14 +34,14 @@ public Output compartmentId() { } /** - * A filter to return only private endpoint that match the entire name given. The match is not case sensitive. + * A filter to return Delegation Subscription resources that match the given display name. * */ @Import(name="displayName") private @Nullable Output displayName; /** - * @return A filter to return only private endpoint that match the entire name given. The match is not case sensitive. + * @return A filter to return Delegation Subscription resources that match the given display name. * */ public Optional> displayName() { @@ -49,30 +49,30 @@ public Optional> displayName() { } @Import(name="filters") - private @Nullable Output> filters; + private @Nullable Output> filters; - public Optional>> filters() { + public Optional>> filters() { return Optional.ofNullable(this.filters); } /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. + * A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. * */ @Import(name="state") private @Nullable Output state; /** - * @return A filter to return only resources their lifecycleState matches the given lifecycleState. + * @return A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. * */ public Optional> state() { return Optional.ofNullable(this.state); } - private GetPrivateEndpointsArgs() {} + private GetDelegationSubscriptionsArgs() {} - private GetPrivateEndpointsArgs(GetPrivateEndpointsArgs $) { + private GetDelegationSubscriptionsArgs(GetDelegationSubscriptionsArgs $) { this.compartmentId = $.compartmentId; this.displayName = $.displayName; this.filters = $.filters; @@ -82,23 +82,23 @@ private GetPrivateEndpointsArgs(GetPrivateEndpointsArgs $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetPrivateEndpointsArgs defaults) { + public static Builder builder(GetDelegationSubscriptionsArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetPrivateEndpointsArgs $; + private GetDelegationSubscriptionsArgs $; public Builder() { - $ = new GetPrivateEndpointsArgs(); + $ = new GetDelegationSubscriptionsArgs(); } - public Builder(GetPrivateEndpointsArgs defaults) { - $ = new GetPrivateEndpointsArgs(Objects.requireNonNull(defaults)); + public Builder(GetDelegationSubscriptionsArgs defaults) { + $ = new GetDelegationSubscriptionsArgs(Objects.requireNonNull(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. * * @return builder * @@ -109,7 +109,7 @@ public Builder compartmentId(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. * * @return builder * @@ -119,7 +119,7 @@ public Builder compartmentId(String compartmentId) { } /** - * @param displayName A filter to return only private endpoint that match the entire name given. The match is not case sensitive. + * @param displayName A filter to return Delegation Subscription resources that match the given display name. * * @return builder * @@ -130,7 +130,7 @@ public Builder displayName(@Nullable Output displayName) { } /** - * @param displayName A filter to return only private endpoint that match the entire name given. The match is not case sensitive. + * @param displayName A filter to return Delegation Subscription resources that match the given display name. * * @return builder * @@ -139,21 +139,21 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } - public Builder filters(@Nullable Output> filters) { + public Builder filters(@Nullable Output> filters) { $.filters = filters; return this; } - public Builder filters(List filters) { + public Builder filters(List filters) { return filters(Output.of(filters)); } - public Builder filters(GetPrivateEndpointsFilterArgs... filters) { + public Builder filters(GetDelegationSubscriptionsFilterArgs... filters) { return filters(List.of(filters)); } /** - * @param state A filter to return only resources their lifecycleState matches the given lifecycleState. + * @param state A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. * * @return builder * @@ -164,7 +164,7 @@ public Builder state(@Nullable Output state) { } /** - * @param state A filter to return only resources their lifecycleState matches the given lifecycleState. + * @param state A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. * * @return builder * @@ -173,9 +173,9 @@ public Builder state(String state) { return state(Output.of(state)); } - public GetPrivateEndpointsArgs build() { + public GetDelegationSubscriptionsArgs build() { if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsArgs", "compartmentId"); + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsArgs", "compartmentId"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsFilter.java new file mode 100644 index 0000000000..af4c33af15 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsFilter.java @@ -0,0 +1,97 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegationSubscriptionsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationSubscriptionsFilter Empty = new GetDelegationSubscriptionsFilter(); + + @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 GetDelegationSubscriptionsFilter() {} + + private GetDelegationSubscriptionsFilter(GetDelegationSubscriptionsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationSubscriptionsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationSubscriptionsFilter $; + + public Builder() { + $ = new GetDelegationSubscriptionsFilter(); + } + + public Builder(GetDelegationSubscriptionsFilter defaults) { + $ = new GetDelegationSubscriptionsFilter(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 GetDelegationSubscriptionsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsFilterArgs.java new file mode 100644 index 0000000000..3513bb11e9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsFilterArgs.java @@ -0,0 +1,110 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegationSubscriptionsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDelegationSubscriptionsFilterArgs Empty = new GetDelegationSubscriptionsFilterArgs(); + + @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 GetDelegationSubscriptionsFilterArgs() {} + + private GetDelegationSubscriptionsFilterArgs(GetDelegationSubscriptionsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationSubscriptionsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationSubscriptionsFilterArgs $; + + public Builder() { + $ = new GetDelegationSubscriptionsFilterArgs(); + } + + public Builder(GetDelegationSubscriptionsFilterArgs defaults) { + $ = new GetDelegationSubscriptionsFilterArgs(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 GetDelegationSubscriptionsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsPlainArgs.java new file mode 100644 index 0000000000..88d1425fb1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetDelegationSubscriptionsPlainArgs.java @@ -0,0 +1,149 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetDelegationSubscriptionsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDelegationSubscriptionsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDelegationSubscriptionsPlainArgs Empty = new GetDelegationSubscriptionsPlainArgs(); + + /** + * 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 The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + /** + * A filter to return Delegation Subscription resources that match the given display name. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return Delegation Subscription resources that match the given display name. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetDelegationSubscriptionsPlainArgs() {} + + private GetDelegationSubscriptionsPlainArgs(GetDelegationSubscriptionsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDelegationSubscriptionsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDelegationSubscriptionsPlainArgs $; + + public Builder() { + $ = new GetDelegationSubscriptionsPlainArgs(); + } + + public Builder(GetDelegationSubscriptionsPlainArgs defaults) { + $ = new GetDelegationSubscriptionsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId 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 displayName A filter to return Delegation Subscription resources that match the given display 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(GetDelegationSubscriptionsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param state A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetDelegationSubscriptionsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionArgs.java new file mode 100644 index 0000000000..494de86bb7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetServiceProviderActionArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServiceProviderActionArgs Empty = new GetServiceProviderActionArgs(); + + /** + * Unique Oracle supplied identifier associated with the Service Provider Action. + * + */ + @Import(name="serviceProviderActionId", required=true) + private Output serviceProviderActionId; + + /** + * @return Unique Oracle supplied identifier associated with the Service Provider Action. + * + */ + public Output serviceProviderActionId() { + return this.serviceProviderActionId; + } + + private GetServiceProviderActionArgs() {} + + private GetServiceProviderActionArgs(GetServiceProviderActionArgs $) { + this.serviceProviderActionId = $.serviceProviderActionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServiceProviderActionArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServiceProviderActionArgs $; + + public Builder() { + $ = new GetServiceProviderActionArgs(); + } + + public Builder(GetServiceProviderActionArgs defaults) { + $ = new GetServiceProviderActionArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param serviceProviderActionId Unique Oracle supplied identifier associated with the Service Provider Action. + * + * @return builder + * + */ + public Builder serviceProviderActionId(Output serviceProviderActionId) { + $.serviceProviderActionId = serviceProviderActionId; + return this; + } + + /** + * @param serviceProviderActionId Unique Oracle supplied identifier associated with the Service Provider Action. + * + * @return builder + * + */ + public Builder serviceProviderActionId(String serviceProviderActionId) { + return serviceProviderActionId(Output.of(serviceProviderActionId)); + } + + public GetServiceProviderActionArgs build() { + if ($.serviceProviderActionId == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionArgs", "serviceProviderActionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionPlainArgs.java new file mode 100644 index 0000000000..9136cab258 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionPlainArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetServiceProviderActionPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServiceProviderActionPlainArgs Empty = new GetServiceProviderActionPlainArgs(); + + /** + * Unique Oracle supplied identifier associated with the Service Provider Action. + * + */ + @Import(name="serviceProviderActionId", required=true) + private String serviceProviderActionId; + + /** + * @return Unique Oracle supplied identifier associated with the Service Provider Action. + * + */ + public String serviceProviderActionId() { + return this.serviceProviderActionId; + } + + private GetServiceProviderActionPlainArgs() {} + + private GetServiceProviderActionPlainArgs(GetServiceProviderActionPlainArgs $) { + this.serviceProviderActionId = $.serviceProviderActionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServiceProviderActionPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServiceProviderActionPlainArgs $; + + public Builder() { + $ = new GetServiceProviderActionPlainArgs(); + } + + public Builder(GetServiceProviderActionPlainArgs defaults) { + $ = new GetServiceProviderActionPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param serviceProviderActionId Unique Oracle supplied identifier associated with the Service Provider Action. + * + * @return builder + * + */ + public Builder serviceProviderActionId(String serviceProviderActionId) { + $.serviceProviderActionId = serviceProviderActionId; + return this; + } + + public GetServiceProviderActionPlainArgs build() { + if ($.serviceProviderActionId == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionPlainArgs", "serviceProviderActionId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsArgs.java new file mode 100644 index 0000000000..0cb1ebabee --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsArgs.java @@ -0,0 +1,268 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServiceProviderActionsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServiceProviderActionsArgs Empty = new GetServiceProviderActionsArgs(); + + /** + * 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 The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only resources that match the entire name given. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return A filter to return only resources that match the entire name given. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * A filter to return only resources that match the given resource type. + * + */ + @Import(name="resourceType") + private @Nullable Output resourceType; + + /** + * @return A filter to return only resources that match the given resource type. + * + */ + public Optional> resourceType() { + return Optional.ofNullable(this.resourceType); + } + + /** + * A filter to return only resources that match the given Service Provider service type. + * + */ + @Import(name="serviceProviderServiceTypes") + private @Nullable Output> serviceProviderServiceTypes; + + /** + * @return A filter to return only resources that match the given Service Provider service type. + * + */ + public Optional>> serviceProviderServiceTypes() { + return Optional.ofNullable(this.serviceProviderServiceTypes); + } + + /** + * A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetServiceProviderActionsArgs() {} + + private GetServiceProviderActionsArgs(GetServiceProviderActionsArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.name = $.name; + this.resourceType = $.resourceType; + this.serviceProviderServiceTypes = $.serviceProviderServiceTypes; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServiceProviderActionsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServiceProviderActionsArgs $; + + public Builder() { + $ = new GetServiceProviderActionsArgs(); + } + + public Builder(GetServiceProviderActionsArgs defaults) { + $ = new GetServiceProviderActionsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId 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 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)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetServiceProviderActionsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param name A filter to return only resources that match the entire name given. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name A filter to return only resources that match the entire name given. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param resourceType A filter to return only resources that match the given resource type. + * + * @return builder + * + */ + public Builder resourceType(@Nullable Output resourceType) { + $.resourceType = resourceType; + return this; + } + + /** + * @param resourceType A filter to return only resources that match the given resource type. + * + * @return builder + * + */ + public Builder resourceType(String resourceType) { + return resourceType(Output.of(resourceType)); + } + + /** + * @param serviceProviderServiceTypes A filter to return only resources that match the given Service Provider service type. + * + * @return builder + * + */ + public Builder serviceProviderServiceTypes(@Nullable Output> serviceProviderServiceTypes) { + $.serviceProviderServiceTypes = serviceProviderServiceTypes; + return this; + } + + /** + * @param serviceProviderServiceTypes A filter to return only resources that match the given Service Provider service type. + * + * @return builder + * + */ + public Builder serviceProviderServiceTypes(List serviceProviderServiceTypes) { + return serviceProviderServiceTypes(Output.of(serviceProviderServiceTypes)); + } + + /** + * @param serviceProviderServiceTypes A filter to return only resources that match the given Service Provider service type. + * + * @return builder + * + */ + public Builder serviceProviderServiceTypes(String... serviceProviderServiceTypes) { + return serviceProviderServiceTypes(List.of(serviceProviderServiceTypes)); + } + + /** + * @param state A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetServiceProviderActionsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsFilter.java new file mode 100644 index 0000000000..5bd520677e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsFilter.java @@ -0,0 +1,111 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetServiceProviderActionsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetServiceProviderActionsFilter Empty = new GetServiceProviderActionsFilter(); + + /** + * A filter to return only resources that match the entire name given. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return A filter to return only resources that match the entire name given. + * + */ + 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 GetServiceProviderActionsFilter() {} + + private GetServiceProviderActionsFilter(GetServiceProviderActionsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServiceProviderActionsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServiceProviderActionsFilter $; + + public Builder() { + $ = new GetServiceProviderActionsFilter(); + } + + public Builder(GetServiceProviderActionsFilter defaults) { + $ = new GetServiceProviderActionsFilter(Objects.requireNonNull(defaults)); + } + + /** + * @param name A filter to return only resources that match the entire name given. + * + * @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 GetServiceProviderActionsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsFilterArgs.java new file mode 100644 index 0000000000..2d96021777 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsFilterArgs.java @@ -0,0 +1,130 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetServiceProviderActionsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetServiceProviderActionsFilterArgs Empty = new GetServiceProviderActionsFilterArgs(); + + /** + * A filter to return only resources that match the entire name given. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return A filter to return only resources that match the entire name given. + * + */ + 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 GetServiceProviderActionsFilterArgs() {} + + private GetServiceProviderActionsFilterArgs(GetServiceProviderActionsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServiceProviderActionsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServiceProviderActionsFilterArgs $; + + public Builder() { + $ = new GetServiceProviderActionsFilterArgs(); + } + + public Builder(GetServiceProviderActionsFilterArgs defaults) { + $ = new GetServiceProviderActionsFilterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name A filter to return only resources that match the entire name given. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name A filter to return only resources that match the entire name given. + * + * @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 GetServiceProviderActionsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsPlainArgs.java new file mode 100644 index 0000000000..35042420f3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderActionsPlainArgs.java @@ -0,0 +1,213 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProviderActionsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServiceProviderActionsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServiceProviderActionsPlainArgs Empty = new GetServiceProviderActionsPlainArgs(); + + /** + * 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 The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only resources that match the entire name given. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return A filter to return only resources that match the entire name given. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * A filter to return only resources that match the given resource type. + * + */ + @Import(name="resourceType") + private @Nullable String resourceType; + + /** + * @return A filter to return only resources that match the given resource type. + * + */ + public Optional resourceType() { + return Optional.ofNullable(this.resourceType); + } + + /** + * A filter to return only resources that match the given Service Provider service type. + * + */ + @Import(name="serviceProviderServiceTypes") + private @Nullable List serviceProviderServiceTypes; + + /** + * @return A filter to return only resources that match the given Service Provider service type. + * + */ + public Optional> serviceProviderServiceTypes() { + return Optional.ofNullable(this.serviceProviderServiceTypes); + } + + /** + * A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetServiceProviderActionsPlainArgs() {} + + private GetServiceProviderActionsPlainArgs(GetServiceProviderActionsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.name = $.name; + this.resourceType = $.resourceType; + this.serviceProviderServiceTypes = $.serviceProviderServiceTypes; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServiceProviderActionsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServiceProviderActionsPlainArgs $; + + public Builder() { + $ = new GetServiceProviderActionsPlainArgs(); + } + + public Builder(GetServiceProviderActionsPlainArgs defaults) { + $ = new GetServiceProviderActionsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId 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; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetServiceProviderActionsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param name A filter to return only resources that match the entire name given. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param resourceType A filter to return only resources that match the given resource type. + * + * @return builder + * + */ + public Builder resourceType(@Nullable String resourceType) { + $.resourceType = resourceType; + return this; + } + + /** + * @param serviceProviderServiceTypes A filter to return only resources that match the given Service Provider service type. + * + * @return builder + * + */ + public Builder serviceProviderServiceTypes(@Nullable List serviceProviderServiceTypes) { + $.serviceProviderServiceTypes = serviceProviderServiceTypes; + return this; + } + + /** + * @param serviceProviderServiceTypes A filter to return only resources that match the given Service Provider service type. + * + * @return builder + * + */ + public Builder serviceProviderServiceTypes(String... serviceProviderServiceTypes) { + return serviceProviderServiceTypes(List.of(serviceProviderServiceTypes)); + } + + /** + * @param state A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetServiceProviderActionsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderArgs.java new file mode 100644 index 0000000000..dd27eded9a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetServiceProviderArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServiceProviderArgs Empty = new GetServiceProviderArgs(); + + /** + * unique Service Provider identifier + * + */ + @Import(name="serviceProviderId", required=true) + private Output serviceProviderId; + + /** + * @return unique Service Provider identifier + * + */ + public Output serviceProviderId() { + return this.serviceProviderId; + } + + private GetServiceProviderArgs() {} + + private GetServiceProviderArgs(GetServiceProviderArgs $) { + this.serviceProviderId = $.serviceProviderId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServiceProviderArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServiceProviderArgs $; + + public Builder() { + $ = new GetServiceProviderArgs(); + } + + public Builder(GetServiceProviderArgs defaults) { + $ = new GetServiceProviderArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param serviceProviderId unique Service Provider identifier + * + * @return builder + * + */ + public Builder serviceProviderId(Output serviceProviderId) { + $.serviceProviderId = serviceProviderId; + return this; + } + + /** + * @param serviceProviderId unique Service Provider identifier + * + * @return builder + * + */ + public Builder serviceProviderId(String serviceProviderId) { + return serviceProviderId(Output.of(serviceProviderId)); + } + + public GetServiceProviderArgs build() { + if ($.serviceProviderId == null) { + throw new MissingRequiredPropertyException("GetServiceProviderArgs", "serviceProviderId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderPlainArgs.java new file mode 100644 index 0000000000..52b9816506 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProviderPlainArgs.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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetServiceProviderPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServiceProviderPlainArgs Empty = new GetServiceProviderPlainArgs(); + + /** + * unique Service Provider identifier + * + */ + @Import(name="serviceProviderId", required=true) + private String serviceProviderId; + + /** + * @return unique Service Provider identifier + * + */ + public String serviceProviderId() { + return this.serviceProviderId; + } + + private GetServiceProviderPlainArgs() {} + + private GetServiceProviderPlainArgs(GetServiceProviderPlainArgs $) { + this.serviceProviderId = $.serviceProviderId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServiceProviderPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServiceProviderPlainArgs $; + + public Builder() { + $ = new GetServiceProviderPlainArgs(); + } + + public Builder(GetServiceProviderPlainArgs defaults) { + $ = new GetServiceProviderPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param serviceProviderId unique Service Provider identifier + * + * @return builder + * + */ + public Builder serviceProviderId(String serviceProviderId) { + $.serviceProviderId = serviceProviderId; + return this; + } + + public GetServiceProviderPlainArgs build() { + if ($.serviceProviderId == null) { + throw new MissingRequiredPropertyException("GetServiceProviderPlainArgs", "serviceProviderId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersArgs.java new file mode 100644 index 0000000000..d552b36bba --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersArgs.java @@ -0,0 +1,258 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProvidersFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServiceProvidersArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServiceProvidersArgs Empty = new GetServiceProvidersArgs(); + + /** + * 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 The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return Service Provider resources that match the given name. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return A filter to return Service Provider resources that match the given name. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * A filter to return only Service Provider resources whose provider type matches the given provider type. + * + */ + @Import(name="serviceProviderType") + private @Nullable Output serviceProviderType; + + /** + * @return A filter to return only Service Provider resources whose provider type matches the given provider type. + * + */ + public Optional> serviceProviderType() { + return Optional.ofNullable(this.serviceProviderType); + } + + /** + * A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * A filter to return only Service Provider resources whose supported resource type matches the given resource type. + * + */ + @Import(name="supportedResourceType") + private @Nullable Output supportedResourceType; + + /** + * @return A filter to return only Service Provider resources whose supported resource type matches the given resource type. + * + */ + public Optional> supportedResourceType() { + return Optional.ofNullable(this.supportedResourceType); + } + + private GetServiceProvidersArgs() {} + + private GetServiceProvidersArgs(GetServiceProvidersArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.name = $.name; + this.serviceProviderType = $.serviceProviderType; + this.state = $.state; + this.supportedResourceType = $.supportedResourceType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServiceProvidersArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServiceProvidersArgs $; + + public Builder() { + $ = new GetServiceProvidersArgs(); + } + + public Builder(GetServiceProvidersArgs defaults) { + $ = new GetServiceProvidersArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId 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 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)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetServiceProvidersFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param name A filter to return Service Provider resources that match the given name. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name A filter to return Service Provider resources that match the given name. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param serviceProviderType A filter to return only Service Provider resources whose provider type matches the given provider type. + * + * @return builder + * + */ + public Builder serviceProviderType(@Nullable Output serviceProviderType) { + $.serviceProviderType = serviceProviderType; + return this; + } + + /** + * @param serviceProviderType A filter to return only Service Provider resources whose provider type matches the given provider type. + * + * @return builder + * + */ + public Builder serviceProviderType(String serviceProviderType) { + return serviceProviderType(Output.of(serviceProviderType)); + } + + /** + * @param state A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param supportedResourceType A filter to return only Service Provider resources whose supported resource type matches the given resource type. + * + * @return builder + * + */ + public Builder supportedResourceType(@Nullable Output supportedResourceType) { + $.supportedResourceType = supportedResourceType; + return this; + } + + /** + * @param supportedResourceType A filter to return only Service Provider resources whose supported resource type matches the given resource type. + * + * @return builder + * + */ + public Builder supportedResourceType(String supportedResourceType) { + return supportedResourceType(Output.of(supportedResourceType)); + } + + public GetServiceProvidersArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersFilter.java similarity index 67% rename from sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesFilter.java rename to sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersFilter.java index d225f57dd9..f1ab703f19 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersFilter.java @@ -1,7 +1,7 @@ // *** 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.GloballyDistributedDatabase.inputs; +package com.pulumi.oci.DelegateAccessControl.inputs; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -13,19 +13,19 @@ import javax.annotation.Nullable; -public final class GetShardedDatabasesFilter extends com.pulumi.resources.InvokeArgs { +public final class GetServiceProvidersFilter extends com.pulumi.resources.InvokeArgs { - public static final GetShardedDatabasesFilter Empty = new GetShardedDatabasesFilter(); + public static final GetServiceProvidersFilter Empty = new GetServiceProvidersFilter(); /** - * Name of the shard. + * A filter to return Service Provider resources that match the given name. * */ @Import(name="name", required=true) private String name; /** - * @return Name of the shard. + * @return A filter to return Service Provider resources that match the given name. * */ public String name() { @@ -46,9 +46,9 @@ public List values() { return this.values; } - private GetShardedDatabasesFilter() {} + private GetServiceProvidersFilter() {} - private GetShardedDatabasesFilter(GetShardedDatabasesFilter $) { + private GetServiceProvidersFilter(GetServiceProvidersFilter $) { this.name = $.name; this.regex = $.regex; this.values = $.values; @@ -57,23 +57,23 @@ private GetShardedDatabasesFilter(GetShardedDatabasesFilter $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetShardedDatabasesFilter defaults) { + public static Builder builder(GetServiceProvidersFilter defaults) { return new Builder(defaults); } public static final class Builder { - private GetShardedDatabasesFilter $; + private GetServiceProvidersFilter $; public Builder() { - $ = new GetShardedDatabasesFilter(); + $ = new GetServiceProvidersFilter(); } - public Builder(GetShardedDatabasesFilter defaults) { - $ = new GetShardedDatabasesFilter(Objects.requireNonNull(defaults)); + public Builder(GetServiceProvidersFilter defaults) { + $ = new GetServiceProvidersFilter(Objects.requireNonNull(defaults)); } /** - * @param name Name of the shard. + * @param name A filter to return Service Provider resources that match the given name. * * @return builder * @@ -97,12 +97,12 @@ public Builder values(String... values) { return values(List.of(values)); } - public GetShardedDatabasesFilter build() { + public GetServiceProvidersFilter build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesFilter", "name"); + throw new MissingRequiredPropertyException("GetServiceProvidersFilter", "name"); } if ($.values == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesFilter", "values"); + throw new MissingRequiredPropertyException("GetServiceProvidersFilter", "values"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersFilterArgs.java similarity index 69% rename from sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesFilterArgs.java rename to sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersFilterArgs.java index 76d46cae0c..2bf0488d11 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersFilterArgs.java @@ -1,7 +1,7 @@ // *** 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.GloballyDistributedDatabase.inputs; +package com.pulumi.oci.DelegateAccessControl.inputs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; @@ -14,19 +14,19 @@ import javax.annotation.Nullable; -public final class GetShardedDatabasesFilterArgs extends com.pulumi.resources.ResourceArgs { +public final class GetServiceProvidersFilterArgs extends com.pulumi.resources.ResourceArgs { - public static final GetShardedDatabasesFilterArgs Empty = new GetShardedDatabasesFilterArgs(); + public static final GetServiceProvidersFilterArgs Empty = new GetServiceProvidersFilterArgs(); /** - * Name of the shard. + * A filter to return Service Provider resources that match the given name. * */ @Import(name="name", required=true) private Output name; /** - * @return Name of the shard. + * @return A filter to return Service Provider resources that match the given name. * */ public Output name() { @@ -47,9 +47,9 @@ public Output> values() { return this.values; } - private GetShardedDatabasesFilterArgs() {} + private GetServiceProvidersFilterArgs() {} - private GetShardedDatabasesFilterArgs(GetShardedDatabasesFilterArgs $) { + private GetServiceProvidersFilterArgs(GetServiceProvidersFilterArgs $) { this.name = $.name; this.regex = $.regex; this.values = $.values; @@ -58,23 +58,23 @@ private GetShardedDatabasesFilterArgs(GetShardedDatabasesFilterArgs $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetShardedDatabasesFilterArgs defaults) { + public static Builder builder(GetServiceProvidersFilterArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetShardedDatabasesFilterArgs $; + private GetServiceProvidersFilterArgs $; public Builder() { - $ = new GetShardedDatabasesFilterArgs(); + $ = new GetServiceProvidersFilterArgs(); } - public Builder(GetShardedDatabasesFilterArgs defaults) { - $ = new GetShardedDatabasesFilterArgs(Objects.requireNonNull(defaults)); + public Builder(GetServiceProvidersFilterArgs defaults) { + $ = new GetServiceProvidersFilterArgs(Objects.requireNonNull(defaults)); } /** - * @param name Name of the shard. + * @param name A filter to return Service Provider resources that match the given name. * * @return builder * @@ -85,7 +85,7 @@ public Builder name(Output name) { } /** - * @param name Name of the shard. + * @param name A filter to return Service Provider resources that match the given name. * * @return builder * @@ -116,12 +116,12 @@ public Builder values(String... values) { return values(List.of(values)); } - public GetShardedDatabasesFilterArgs build() { + public GetServiceProvidersFilterArgs build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesFilterArgs", "name"); + throw new MissingRequiredPropertyException("GetServiceProvidersFilterArgs", "name"); } if ($.values == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesFilterArgs", "values"); + throw new MissingRequiredPropertyException("GetServiceProvidersFilterArgs", "values"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersPlainArgs.java new file mode 100644 index 0000000000..d0c82ec4d6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/inputs/GetServiceProvidersPlainArgs.java @@ -0,0 +1,203 @@ +// *** 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.DelegateAccessControl.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.inputs.GetServiceProvidersFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetServiceProvidersPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetServiceProvidersPlainArgs Empty = new GetServiceProvidersPlainArgs(); + + /** + * 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 The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return Service Provider resources that match the given name. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return A filter to return Service Provider resources that match the given name. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + + /** + * A filter to return only Service Provider resources whose provider type matches the given provider type. + * + */ + @Import(name="serviceProviderType") + private @Nullable String serviceProviderType; + + /** + * @return A filter to return only Service Provider resources whose provider type matches the given provider type. + * + */ + public Optional serviceProviderType() { + return Optional.ofNullable(this.serviceProviderType); + } + + /** + * A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + /** + * A filter to return only Service Provider resources whose supported resource type matches the given resource type. + * + */ + @Import(name="supportedResourceType") + private @Nullable String supportedResourceType; + + /** + * @return A filter to return only Service Provider resources whose supported resource type matches the given resource type. + * + */ + public Optional supportedResourceType() { + return Optional.ofNullable(this.supportedResourceType); + } + + private GetServiceProvidersPlainArgs() {} + + private GetServiceProvidersPlainArgs(GetServiceProvidersPlainArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + this.name = $.name; + this.serviceProviderType = $.serviceProviderType; + this.state = $.state; + this.supportedResourceType = $.supportedResourceType; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetServiceProvidersPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetServiceProvidersPlainArgs $; + + public Builder() { + $ = new GetServiceProvidersPlainArgs(); + } + + public Builder(GetServiceProvidersPlainArgs defaults) { + $ = new GetServiceProvidersPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId 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; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetServiceProvidersFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param name A filter to return Service Provider resources that match the given name. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + + /** + * @param serviceProviderType A filter to return only Service Provider resources whose provider type matches the given provider type. + * + * @return builder + * + */ + public Builder serviceProviderType(@Nullable String serviceProviderType) { + $.serviceProviderType = serviceProviderType; + return this; + } + + /** + * @param state A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + /** + * @param supportedResourceType A filter to return only Service Provider resources whose supported resource type matches the given resource type. + * + * @return builder + * + */ + public Builder supportedResourceType(@Nullable String supportedResourceType) { + $.supportedResourceType = supportedResourceType; + return this; + } + + public GetServiceProvidersPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestApprovalInfo.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestApprovalInfo.java new file mode 100644 index 0000000000..d9925bfd4d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestApprovalInfo.java @@ -0,0 +1,173 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDelegatedResourceAccessRequestApprovalInfo { + /** + * @return Indicated whether the request is approved or rejected. + * + */ + private String approvalAction; + /** + * @return approval type, initial or extension + * + */ + private String approvalType; + /** + * @return Additional message specified by the approver of the request. + * + */ + private String approverAdditionalMessage; + /** + * @return Comment specified by the approver of the request. + * + */ + private String approverComment; + /** + * @return User ID of the approver. + * + */ + private String approverId; + /** + * @return Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + private String timeApprovedForAccess; + + private GetDelegatedResourceAccessRequestApprovalInfo() {} + /** + * @return Indicated whether the request is approved or rejected. + * + */ + public String approvalAction() { + return this.approvalAction; + } + /** + * @return approval type, initial or extension + * + */ + public String approvalType() { + return this.approvalType; + } + /** + * @return Additional message specified by the approver of the request. + * + */ + public String approverAdditionalMessage() { + return this.approverAdditionalMessage; + } + /** + * @return Comment specified by the approver of the request. + * + */ + public String approverComment() { + return this.approverComment; + } + /** + * @return User ID of the approver. + * + */ + public String approverId() { + return this.approverId; + } + /** + * @return Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + public String timeApprovedForAccess() { + return this.timeApprovedForAccess; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegatedResourceAccessRequestApprovalInfo defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String approvalAction; + private String approvalType; + private String approverAdditionalMessage; + private String approverComment; + private String approverId; + private String timeApprovedForAccess; + public Builder() {} + public Builder(GetDelegatedResourceAccessRequestApprovalInfo defaults) { + Objects.requireNonNull(defaults); + this.approvalAction = defaults.approvalAction; + this.approvalType = defaults.approvalType; + this.approverAdditionalMessage = defaults.approverAdditionalMessage; + this.approverComment = defaults.approverComment; + this.approverId = defaults.approverId; + this.timeApprovedForAccess = defaults.timeApprovedForAccess; + } + + @CustomType.Setter + public Builder approvalAction(String approvalAction) { + if (approvalAction == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestApprovalInfo", "approvalAction"); + } + this.approvalAction = approvalAction; + return this; + } + @CustomType.Setter + public Builder approvalType(String approvalType) { + if (approvalType == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestApprovalInfo", "approvalType"); + } + this.approvalType = approvalType; + return this; + } + @CustomType.Setter + public Builder approverAdditionalMessage(String approverAdditionalMessage) { + if (approverAdditionalMessage == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestApprovalInfo", "approverAdditionalMessage"); + } + this.approverAdditionalMessage = approverAdditionalMessage; + return this; + } + @CustomType.Setter + public Builder approverComment(String approverComment) { + if (approverComment == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestApprovalInfo", "approverComment"); + } + this.approverComment = approverComment; + return this; + } + @CustomType.Setter + public Builder approverId(String approverId) { + if (approverId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestApprovalInfo", "approverId"); + } + this.approverId = approverId; + return this; + } + @CustomType.Setter + public Builder timeApprovedForAccess(String timeApprovedForAccess) { + if (timeApprovedForAccess == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestApprovalInfo", "timeApprovedForAccess"); + } + this.timeApprovedForAccess = timeApprovedForAccess; + return this; + } + public GetDelegatedResourceAccessRequestApprovalInfo build() { + final var _resultValue = new GetDelegatedResourceAccessRequestApprovalInfo(); + _resultValue.approvalAction = approvalAction; + _resultValue.approvalType = approvalType; + _resultValue.approverAdditionalMessage = approverAdditionalMessage; + _resultValue.approverComment = approverComment; + _resultValue.approverId = approverId; + _resultValue.timeApprovedForAccess = timeApprovedForAccess; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestAuditLogReportResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestAuditLogReportResult.java new file mode 100644 index 0000000000..f0d9813738 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestAuditLogReportResult.java @@ -0,0 +1,181 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDelegatedResourceAccessRequestAuditLogReportResult { + /** + * @return Status of the audit report + * + */ + private String auditReportStatus; + private String delegatedResourceAccessRequestId; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable Boolean isProcessTreeEnabled; + /** + * @return The process tree data + * + */ + private String processTree; + /** + * @return Audit log report. + * + */ + private String report; + /** + * @return Time when the audit report was generated [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeReportGenerated; + + private GetDelegatedResourceAccessRequestAuditLogReportResult() {} + /** + * @return Status of the audit report + * + */ + public String auditReportStatus() { + return this.auditReportStatus; + } + public String delegatedResourceAccessRequestId() { + return this.delegatedResourceAccessRequestId; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + public Optional isProcessTreeEnabled() { + return Optional.ofNullable(this.isProcessTreeEnabled); + } + /** + * @return The process tree data + * + */ + public String processTree() { + return this.processTree; + } + /** + * @return Audit log report. + * + */ + public String report() { + return this.report; + } + /** + * @return Time when the audit report was generated [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeReportGenerated() { + return this.timeReportGenerated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegatedResourceAccessRequestAuditLogReportResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String auditReportStatus; + private String delegatedResourceAccessRequestId; + private String id; + private @Nullable Boolean isProcessTreeEnabled; + private String processTree; + private String report; + private String timeReportGenerated; + public Builder() {} + public Builder(GetDelegatedResourceAccessRequestAuditLogReportResult defaults) { + Objects.requireNonNull(defaults); + this.auditReportStatus = defaults.auditReportStatus; + this.delegatedResourceAccessRequestId = defaults.delegatedResourceAccessRequestId; + this.id = defaults.id; + this.isProcessTreeEnabled = defaults.isProcessTreeEnabled; + this.processTree = defaults.processTree; + this.report = defaults.report; + this.timeReportGenerated = defaults.timeReportGenerated; + } + + @CustomType.Setter + public Builder auditReportStatus(String auditReportStatus) { + if (auditReportStatus == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestAuditLogReportResult", "auditReportStatus"); + } + this.auditReportStatus = auditReportStatus; + return this; + } + @CustomType.Setter + public Builder delegatedResourceAccessRequestId(String delegatedResourceAccessRequestId) { + if (delegatedResourceAccessRequestId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestAuditLogReportResult", "delegatedResourceAccessRequestId"); + } + this.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestAuditLogReportResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isProcessTreeEnabled(@Nullable Boolean isProcessTreeEnabled) { + + this.isProcessTreeEnabled = isProcessTreeEnabled; + return this; + } + @CustomType.Setter + public Builder processTree(String processTree) { + if (processTree == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestAuditLogReportResult", "processTree"); + } + this.processTree = processTree; + return this; + } + @CustomType.Setter + public Builder report(String report) { + if (report == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestAuditLogReportResult", "report"); + } + this.report = report; + return this; + } + @CustomType.Setter + public Builder timeReportGenerated(String timeReportGenerated) { + if (timeReportGenerated == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestAuditLogReportResult", "timeReportGenerated"); + } + this.timeReportGenerated = timeReportGenerated; + return this; + } + public GetDelegatedResourceAccessRequestAuditLogReportResult build() { + final var _resultValue = new GetDelegatedResourceAccessRequestAuditLogReportResult(); + _resultValue.auditReportStatus = auditReportStatus; + _resultValue.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + _resultValue.id = id; + _resultValue.isProcessTreeEnabled = isProcessTreeEnabled; + _resultValue.processTree = processTree; + _resultValue.report = report; + _resultValue.timeReportGenerated = timeReportGenerated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection.java new file mode 100644 index 0000000000..aca2eff4f0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection.java @@ -0,0 +1,62 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection { + /** + * @return List of DelegatedResourceAccessRequestHistorySummary objects. + * + */ + private List items; + + private GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection() {} + /** + * @return List of DelegatedResourceAccessRequestHistorySummary objects. + * + */ + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem... items) { + return items(List.of(items)); + } + public GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection build() { + final var _resultValue = new GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem.java new file mode 100644 index 0000000000..44e21afb3a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem.java @@ -0,0 +1,150 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem { + /** + * @return Comment about the status change. + * + */ + private String comment; + /** + * @return The current status of the Delegated Resource Access Request. + * + */ + private String requestStatus; + /** + * @return The current lifecycle state of the Delegated Resource Access Request. + * + */ + private String state; + /** + * @return Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + private String timestamp; + /** + * @return ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator". + * + */ + private String userId; + + private GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem() {} + /** + * @return Comment about the status change. + * + */ + public String comment() { + return this.comment; + } + /** + * @return The current status of the Delegated Resource Access Request. + * + */ + public String requestStatus() { + return this.requestStatus; + } + /** + * @return The current lifecycle state of the Delegated Resource Access Request. + * + */ + public String state() { + return this.state; + } + /** + * @return Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + public String timestamp() { + return this.timestamp; + } + /** + * @return ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator". + * + */ + public String userId() { + return this.userId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String comment; + private String requestStatus; + private String state; + private String timestamp; + private String userId; + public Builder() {} + public Builder(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.comment = defaults.comment; + this.requestStatus = defaults.requestStatus; + this.state = defaults.state; + this.timestamp = defaults.timestamp; + this.userId = defaults.userId; + } + + @CustomType.Setter + public Builder comment(String comment) { + if (comment == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem", "comment"); + } + this.comment = comment; + return this; + } + @CustomType.Setter + public Builder requestStatus(String requestStatus) { + if (requestStatus == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem", "requestStatus"); + } + this.requestStatus = requestStatus; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder timestamp(String timestamp) { + if (timestamp == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem", "timestamp"); + } + this.timestamp = timestamp; + return this; + } + @CustomType.Setter + public Builder userId(String userId) { + if (userId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem", "userId"); + } + this.userId = userId; + return this; + } + public GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem build() { + final var _resultValue = new GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem(); + _resultValue.comment = comment; + _resultValue.requestStatus = requestStatus; + _resultValue.state = state; + _resultValue.timestamp = timestamp; + _resultValue.userId = userId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesFilter.java new file mode 100644 index 0000000000..d9bb923cf2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesFilter.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegatedResourceAccessRequestHistoriesFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetDelegatedResourceAccessRequestHistoriesFilter() {} + 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(GetDelegatedResourceAccessRequestHistoriesFilter 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(GetDelegatedResourceAccessRequestHistoriesFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesFilter", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + if (values == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetDelegatedResourceAccessRequestHistoriesFilter build() { + final var _resultValue = new GetDelegatedResourceAccessRequestHistoriesFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesResult.java new file mode 100644 index 0000000000..8d45dc08aa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestHistoriesResult.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestHistoriesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetDelegatedResourceAccessRequestHistoriesResult { + /** + * @return The list of delegated_resource_access_request_history_collection. + * + */ + private List delegatedResourceAccessRequestHistoryCollections; + private String delegatedResourceAccessRequestId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + + private GetDelegatedResourceAccessRequestHistoriesResult() {} + /** + * @return The list of delegated_resource_access_request_history_collection. + * + */ + public List delegatedResourceAccessRequestHistoryCollections() { + return this.delegatedResourceAccessRequestHistoryCollections; + } + public String delegatedResourceAccessRequestId() { + return this.delegatedResourceAccessRequestId; + } + 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(GetDelegatedResourceAccessRequestHistoriesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List delegatedResourceAccessRequestHistoryCollections; + private String delegatedResourceAccessRequestId; + private @Nullable List filters; + private String id; + public Builder() {} + public Builder(GetDelegatedResourceAccessRequestHistoriesResult defaults) { + Objects.requireNonNull(defaults); + this.delegatedResourceAccessRequestHistoryCollections = defaults.delegatedResourceAccessRequestHistoryCollections; + this.delegatedResourceAccessRequestId = defaults.delegatedResourceAccessRequestId; + this.filters = defaults.filters; + this.id = defaults.id; + } + + @CustomType.Setter + public Builder delegatedResourceAccessRequestHistoryCollections(List delegatedResourceAccessRequestHistoryCollections) { + if (delegatedResourceAccessRequestHistoryCollections == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesResult", "delegatedResourceAccessRequestHistoryCollections"); + } + this.delegatedResourceAccessRequestHistoryCollections = delegatedResourceAccessRequestHistoryCollections; + return this; + } + public Builder delegatedResourceAccessRequestHistoryCollections(GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection... delegatedResourceAccessRequestHistoryCollections) { + return delegatedResourceAccessRequestHistoryCollections(List.of(delegatedResourceAccessRequestHistoryCollections)); + } + @CustomType.Setter + public Builder delegatedResourceAccessRequestId(String delegatedResourceAccessRequestId) { + if (delegatedResourceAccessRequestId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesResult", "delegatedResourceAccessRequestId"); + } + this.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetDelegatedResourceAccessRequestHistoriesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestHistoriesResult", "id"); + } + this.id = id; + return this; + } + public GetDelegatedResourceAccessRequestHistoriesResult build() { + final var _resultValue = new GetDelegatedResourceAccessRequestHistoriesResult(); + _resultValue.delegatedResourceAccessRequestHistoryCollections = delegatedResourceAccessRequestHistoryCollections; + _resultValue.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + _resultValue.filters = filters; + _resultValue.id = id; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestResult.java new file mode 100644 index 0000000000..16bf1e3db9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestResult.java @@ -0,0 +1,858 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestApprovalInfo; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDelegatedResourceAccessRequestResult { + /** + * @return In case of single approval, this will have only one item. Else, a list of approvals. + * + */ + private List approvalInfos; + /** + * @return Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + * + */ + private List auditTypes; + /** + * @return The comment entered by the support operator while closing the request. + * + */ + private String closureComment; + /** + * @return The OCID of the compartment that contains the Delegated Resource Access Request. + * + */ + private String compartmentId; + /** + * @return List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + * + */ + private List databaseNameLists; + /** + * @return 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"}` + * + */ + private Map definedTags; + private String delegatedResourceAccessRequestId; + /** + * @return The OCID of the Delegation Control governing the target resource. + * + */ + private String delegationControlId; + /** + * @return List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + * + */ + private List delegationSubscriptionIds; + /** + * @return Detailed description of this Delegated Resource Access Request. + * + */ + private String description; + /** + * @return Display name. This is generated by the system automatically. + * + */ + private String displayName; + /** + * @return Duration in hours for which access is sought on the target resource. + * + */ + private Integer durationInHours; + /** + * @return Duration in hours for which extension access is sought on the target resource. + * + */ + private Integer extendDurationInHours; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + * + */ + private Boolean isAutoApproved; + /** + * @return Indicates if the delegated resource access request is waiting on more information from the operator + * + */ + private Boolean isPendingMoreInfo; + /** + * @return Description of the current lifecycle state in more detail. + * + */ + private String lifecycleStateDetails; + /** + * @return Number of extension approvals that have been obtained so far. + * + */ + private Integer numExtensionApprovals; + /** + * @return Number of initial approvals that have been obtained so far. + * + */ + private Integer numInitialApprovals; + /** + * @return List of Service Provider Service Types being provided by the support operator user. + * + */ + private List providedServiceTypes; + /** + * @return A short description explaining why this Delegated Resource Access Request is needed by the support operator. + * + */ + private String reasonForRequest; + /** + * @return The current status of the Delegated Resource Access Request. + * + */ + private String requestStatus; + /** + * @return List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + * + */ + private List requestedActionNames; + /** + * @return Requester type + * + */ + private String requesterType; + /** + * @return The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + * + */ + private String resourceId; + /** + * @return The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + * + */ + private String resourceName; + /** + * @return Resource type for which the associated Delegation Control is applicable to. + * + */ + private String resourceType; + /** + * @return Priority assigned to the Delegated Resource Access Request by the support operator + * + */ + private String severity; + /** + * @return The current lifecycle state of the Delegated Resource Access Request. + * + */ + 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 A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + * + */ + private List ticketNumbers; + /** + * @return Requested access start time in UTC. + * + */ + private String timeAccessRequested; + /** + * @return Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + private String timeCreated; + /** + * @return Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + private String timeUpdated; + + private GetDelegatedResourceAccessRequestResult() {} + /** + * @return In case of single approval, this will have only one item. Else, a list of approvals. + * + */ + public List approvalInfos() { + return this.approvalInfos; + } + /** + * @return Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + * + */ + public List auditTypes() { + return this.auditTypes; + } + /** + * @return The comment entered by the support operator while closing the request. + * + */ + public String closureComment() { + return this.closureComment; + } + /** + * @return The OCID of the compartment that contains the Delegated Resource Access Request. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + * + */ + public List databaseNameLists() { + return this.databaseNameLists; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + public String delegatedResourceAccessRequestId() { + return this.delegatedResourceAccessRequestId; + } + /** + * @return The OCID of the Delegation Control governing the target resource. + * + */ + public String delegationControlId() { + return this.delegationControlId; + } + /** + * @return List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + * + */ + public List delegationSubscriptionIds() { + return this.delegationSubscriptionIds; + } + /** + * @return Detailed description of this Delegated Resource Access Request. + * + */ + public String description() { + return this.description; + } + /** + * @return Display name. This is generated by the system automatically. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Duration in hours for which access is sought on the target resource. + * + */ + public Integer durationInHours() { + return this.durationInHours; + } + /** + * @return Duration in hours for which extension access is sought on the target resource. + * + */ + public Integer extendDurationInHours() { + return this.extendDurationInHours; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + * + */ + public Boolean isAutoApproved() { + return this.isAutoApproved; + } + /** + * @return Indicates if the delegated resource access request is waiting on more information from the operator + * + */ + public Boolean isPendingMoreInfo() { + return this.isPendingMoreInfo; + } + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public String lifecycleStateDetails() { + return this.lifecycleStateDetails; + } + /** + * @return Number of extension approvals that have been obtained so far. + * + */ + public Integer numExtensionApprovals() { + return this.numExtensionApprovals; + } + /** + * @return Number of initial approvals that have been obtained so far. + * + */ + public Integer numInitialApprovals() { + return this.numInitialApprovals; + } + /** + * @return List of Service Provider Service Types being provided by the support operator user. + * + */ + public List providedServiceTypes() { + return this.providedServiceTypes; + } + /** + * @return A short description explaining why this Delegated Resource Access Request is needed by the support operator. + * + */ + public String reasonForRequest() { + return this.reasonForRequest; + } + /** + * @return The current status of the Delegated Resource Access Request. + * + */ + public String requestStatus() { + return this.requestStatus; + } + /** + * @return List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + * + */ + public List requestedActionNames() { + return this.requestedActionNames; + } + /** + * @return Requester type + * + */ + public String requesterType() { + return this.requesterType; + } + /** + * @return The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + * + */ + public String resourceId() { + return this.resourceId; + } + /** + * @return The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + * + */ + public String resourceName() { + return this.resourceName; + } + /** + * @return Resource type for which the associated Delegation Control is applicable to. + * + */ + public String resourceType() { + return this.resourceType; + } + /** + * @return Priority assigned to the Delegated Resource Access Request by the support operator + * + */ + public String severity() { + return this.severity; + } + /** + * @return The current lifecycle state of the Delegated Resource Access Request. + * + */ + 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 A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + * + */ + public List ticketNumbers() { + return this.ticketNumbers; + } + /** + * @return Requested access start time in UTC. + * + */ + public String timeAccessRequested() { + return this.timeAccessRequested; + } + /** + * @return Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegatedResourceAccessRequestResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List approvalInfos; + private List auditTypes; + private String closureComment; + private String compartmentId; + private List databaseNameLists; + private Map definedTags; + private String delegatedResourceAccessRequestId; + private String delegationControlId; + private List delegationSubscriptionIds; + private String description; + private String displayName; + private Integer durationInHours; + private Integer extendDurationInHours; + private Map freeformTags; + private String id; + private Boolean isAutoApproved; + private Boolean isPendingMoreInfo; + private String lifecycleStateDetails; + private Integer numExtensionApprovals; + private Integer numInitialApprovals; + private List providedServiceTypes; + private String reasonForRequest; + private String requestStatus; + private List requestedActionNames; + private String requesterType; + private String resourceId; + private String resourceName; + private String resourceType; + private String severity; + private String state; + private Map systemTags; + private List ticketNumbers; + private String timeAccessRequested; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetDelegatedResourceAccessRequestResult defaults) { + Objects.requireNonNull(defaults); + this.approvalInfos = defaults.approvalInfos; + this.auditTypes = defaults.auditTypes; + this.closureComment = defaults.closureComment; + this.compartmentId = defaults.compartmentId; + this.databaseNameLists = defaults.databaseNameLists; + this.definedTags = defaults.definedTags; + this.delegatedResourceAccessRequestId = defaults.delegatedResourceAccessRequestId; + this.delegationControlId = defaults.delegationControlId; + this.delegationSubscriptionIds = defaults.delegationSubscriptionIds; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.durationInHours = defaults.durationInHours; + this.extendDurationInHours = defaults.extendDurationInHours; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isAutoApproved = defaults.isAutoApproved; + this.isPendingMoreInfo = defaults.isPendingMoreInfo; + this.lifecycleStateDetails = defaults.lifecycleStateDetails; + this.numExtensionApprovals = defaults.numExtensionApprovals; + this.numInitialApprovals = defaults.numInitialApprovals; + this.providedServiceTypes = defaults.providedServiceTypes; + this.reasonForRequest = defaults.reasonForRequest; + this.requestStatus = defaults.requestStatus; + this.requestedActionNames = defaults.requestedActionNames; + this.requesterType = defaults.requesterType; + this.resourceId = defaults.resourceId; + this.resourceName = defaults.resourceName; + this.resourceType = defaults.resourceType; + this.severity = defaults.severity; + this.state = defaults.state; + this.systemTags = defaults.systemTags; + this.ticketNumbers = defaults.ticketNumbers; + this.timeAccessRequested = defaults.timeAccessRequested; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder approvalInfos(List approvalInfos) { + if (approvalInfos == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "approvalInfos"); + } + this.approvalInfos = approvalInfos; + return this; + } + public Builder approvalInfos(GetDelegatedResourceAccessRequestApprovalInfo... approvalInfos) { + return approvalInfos(List.of(approvalInfos)); + } + @CustomType.Setter + public Builder auditTypes(List auditTypes) { + if (auditTypes == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "auditTypes"); + } + this.auditTypes = auditTypes; + return this; + } + public Builder auditTypes(String... auditTypes) { + return auditTypes(List.of(auditTypes)); + } + @CustomType.Setter + public Builder closureComment(String closureComment) { + if (closureComment == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "closureComment"); + } + this.closureComment = closureComment; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder databaseNameLists(List databaseNameLists) { + if (databaseNameLists == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "databaseNameLists"); + } + this.databaseNameLists = databaseNameLists; + return this; + } + public Builder databaseNameLists(String... databaseNameLists) { + return databaseNameLists(List.of(databaseNameLists)); + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder delegatedResourceAccessRequestId(String delegatedResourceAccessRequestId) { + if (delegatedResourceAccessRequestId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "delegatedResourceAccessRequestId"); + } + this.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + return this; + } + @CustomType.Setter + public Builder delegationControlId(String delegationControlId) { + if (delegationControlId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "delegationControlId"); + } + this.delegationControlId = delegationControlId; + return this; + } + @CustomType.Setter + public Builder delegationSubscriptionIds(List delegationSubscriptionIds) { + if (delegationSubscriptionIds == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "delegationSubscriptionIds"); + } + this.delegationSubscriptionIds = delegationSubscriptionIds; + return this; + } + public Builder delegationSubscriptionIds(String... delegationSubscriptionIds) { + return delegationSubscriptionIds(List.of(delegationSubscriptionIds)); + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder durationInHours(Integer durationInHours) { + if (durationInHours == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "durationInHours"); + } + this.durationInHours = durationInHours; + return this; + } + @CustomType.Setter + public Builder extendDurationInHours(Integer extendDurationInHours) { + if (extendDurationInHours == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "extendDurationInHours"); + } + this.extendDurationInHours = extendDurationInHours; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isAutoApproved(Boolean isAutoApproved) { + if (isAutoApproved == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "isAutoApproved"); + } + this.isAutoApproved = isAutoApproved; + return this; + } + @CustomType.Setter + public Builder isPendingMoreInfo(Boolean isPendingMoreInfo) { + if (isPendingMoreInfo == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "isPendingMoreInfo"); + } + this.isPendingMoreInfo = isPendingMoreInfo; + return this; + } + @CustomType.Setter + public Builder lifecycleStateDetails(String lifecycleStateDetails) { + if (lifecycleStateDetails == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "lifecycleStateDetails"); + } + this.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + @CustomType.Setter + public Builder numExtensionApprovals(Integer numExtensionApprovals) { + if (numExtensionApprovals == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "numExtensionApprovals"); + } + this.numExtensionApprovals = numExtensionApprovals; + return this; + } + @CustomType.Setter + public Builder numInitialApprovals(Integer numInitialApprovals) { + if (numInitialApprovals == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "numInitialApprovals"); + } + this.numInitialApprovals = numInitialApprovals; + return this; + } + @CustomType.Setter + public Builder providedServiceTypes(List providedServiceTypes) { + if (providedServiceTypes == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "providedServiceTypes"); + } + this.providedServiceTypes = providedServiceTypes; + return this; + } + public Builder providedServiceTypes(String... providedServiceTypes) { + return providedServiceTypes(List.of(providedServiceTypes)); + } + @CustomType.Setter + public Builder reasonForRequest(String reasonForRequest) { + if (reasonForRequest == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "reasonForRequest"); + } + this.reasonForRequest = reasonForRequest; + return this; + } + @CustomType.Setter + public Builder requestStatus(String requestStatus) { + if (requestStatus == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "requestStatus"); + } + this.requestStatus = requestStatus; + return this; + } + @CustomType.Setter + public Builder requestedActionNames(List requestedActionNames) { + if (requestedActionNames == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "requestedActionNames"); + } + this.requestedActionNames = requestedActionNames; + return this; + } + public Builder requestedActionNames(String... requestedActionNames) { + return requestedActionNames(List.of(requestedActionNames)); + } + @CustomType.Setter + public Builder requesterType(String requesterType) { + if (requesterType == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "requesterType"); + } + this.requesterType = requesterType; + return this; + } + @CustomType.Setter + public Builder resourceId(String resourceId) { + if (resourceId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "resourceId"); + } + this.resourceId = resourceId; + return this; + } + @CustomType.Setter + public Builder resourceName(String resourceName) { + if (resourceName == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "resourceName"); + } + this.resourceName = resourceName; + return this; + } + @CustomType.Setter + public Builder resourceType(String resourceType) { + if (resourceType == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "resourceType"); + } + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder severity(String severity) { + if (severity == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "severity"); + } + this.severity = severity; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder ticketNumbers(List ticketNumbers) { + if (ticketNumbers == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "ticketNumbers"); + } + this.ticketNumbers = ticketNumbers; + return this; + } + public Builder ticketNumbers(String... ticketNumbers) { + return ticketNumbers(List.of(ticketNumbers)); + } + @CustomType.Setter + public Builder timeAccessRequested(String timeAccessRequested) { + if (timeAccessRequested == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "timeAccessRequested"); + } + this.timeAccessRequested = timeAccessRequested; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetDelegatedResourceAccessRequestResult build() { + final var _resultValue = new GetDelegatedResourceAccessRequestResult(); + _resultValue.approvalInfos = approvalInfos; + _resultValue.auditTypes = auditTypes; + _resultValue.closureComment = closureComment; + _resultValue.compartmentId = compartmentId; + _resultValue.databaseNameLists = databaseNameLists; + _resultValue.definedTags = definedTags; + _resultValue.delegatedResourceAccessRequestId = delegatedResourceAccessRequestId; + _resultValue.delegationControlId = delegationControlId; + _resultValue.delegationSubscriptionIds = delegationSubscriptionIds; + _resultValue.description = description; + _resultValue.displayName = displayName; + _resultValue.durationInHours = durationInHours; + _resultValue.extendDurationInHours = extendDurationInHours; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isAutoApproved = isAutoApproved; + _resultValue.isPendingMoreInfo = isPendingMoreInfo; + _resultValue.lifecycleStateDetails = lifecycleStateDetails; + _resultValue.numExtensionApprovals = numExtensionApprovals; + _resultValue.numInitialApprovals = numInitialApprovals; + _resultValue.providedServiceTypes = providedServiceTypes; + _resultValue.reasonForRequest = reasonForRequest; + _resultValue.requestStatus = requestStatus; + _resultValue.requestedActionNames = requestedActionNames; + _resultValue.requesterType = requesterType; + _resultValue.resourceId = resourceId; + _resultValue.resourceName = resourceName; + _resultValue.resourceType = resourceType; + _resultValue.severity = severity; + _resultValue.state = state; + _resultValue.systemTags = systemTags; + _resultValue.ticketNumbers = ticketNumbers; + _resultValue.timeAccessRequested = timeAccessRequested; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection.java new file mode 100644 index 0000000000..f426e55c52 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection { + private List items; + + private GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem... items) { + return items(List.of(items)); + } + public GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection build() { + final var _resultValue = new GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem.java new file mode 100644 index 0000000000..afd56da32c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem.java @@ -0,0 +1,843 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem { + /** + * @return In case of single approval, this will have only one item. Else, a list of approvals. + * + */ + private List approvalInfos; + /** + * @return Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + * + */ + private List auditTypes; + /** + * @return The comment entered by the support operator while closing the request. + * + */ + private String closureComment; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + private String compartmentId; + /** + * @return List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + * + */ + private List databaseNameLists; + /** + * @return 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"}` + * + */ + private Map definedTags; + /** + * @return unique Delegation Control identifier + * + */ + private String delegationControlId; + /** + * @return List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + * + */ + private List delegationSubscriptionIds; + /** + * @return Detailed description of this Delegated Resource Access Request. + * + */ + private String description; + /** + * @return Display name. This is generated by the system automatically. + * + */ + private String displayName; + /** + * @return Duration in hours for which access is sought on the target resource. + * + */ + private Integer durationInHours; + /** + * @return Duration in hours for which extension access is sought on the target resource. + * + */ + private Integer extendDurationInHours; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return The OCID of the Delegated Resource Access Request. + * + */ + private String id; + /** + * @return Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + * + */ + private Boolean isAutoApproved; + /** + * @return Indicates if the delegated resource access request is waiting on more information from the operator + * + */ + private Boolean isPendingMoreInfo; + /** + * @return Description of the current lifecycle state in more detail. + * + */ + private String lifecycleStateDetails; + /** + * @return Number of extension approvals that have been obtained so far. + * + */ + private Integer numExtensionApprovals; + /** + * @return Number of initial approvals that have been obtained so far. + * + */ + private Integer numInitialApprovals; + /** + * @return List of Service Provider Service Types being provided by the support operator user. + * + */ + private List providedServiceTypes; + /** + * @return A short description explaining why this Delegated Resource Access Request is needed by the support operator. + * + */ + private String reasonForRequest; + /** + * @return A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + * + */ + private String requestStatus; + /** + * @return List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + * + */ + private List requestedActionNames; + /** + * @return Requester type + * + */ + private String requesterType; + /** + * @return A filter to return only Delegated Resource Access Requests for the given resource identifier. + * + */ + private String resourceId; + /** + * @return The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + * + */ + private String resourceName; + /** + * @return Resource type for which the associated Delegation Control is applicable to. + * + */ + private String resourceType; + /** + * @return Priority assigned to the Delegated Resource Access Request by the support operator + * + */ + private String severity; + /** + * @return A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request 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 A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + * + */ + private List ticketNumbers; + /** + * @return Requested access start time in UTC. + * + */ + private String timeAccessRequested; + /** + * @return Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + private String timeCreated; + /** + * @return Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + private String timeUpdated; + + private GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem() {} + /** + * @return In case of single approval, this will have only one item. Else, a list of approvals. + * + */ + public List approvalInfos() { + return this.approvalInfos; + } + /** + * @return Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + * + */ + public List auditTypes() { + return this.auditTypes; + } + /** + * @return The comment entered by the support operator while closing the request. + * + */ + public String closureComment() { + return this.closureComment; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + * + */ + public List databaseNameLists() { + return this.databaseNameLists; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + /** + * @return unique Delegation Control identifier + * + */ + public String delegationControlId() { + return this.delegationControlId; + } + /** + * @return List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + * + */ + public List delegationSubscriptionIds() { + return this.delegationSubscriptionIds; + } + /** + * @return Detailed description of this Delegated Resource Access Request. + * + */ + public String description() { + return this.description; + } + /** + * @return Display name. This is generated by the system automatically. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Duration in hours for which access is sought on the target resource. + * + */ + public Integer durationInHours() { + return this.durationInHours; + } + /** + * @return Duration in hours for which extension access is sought on the target resource. + * + */ + public Integer extendDurationInHours() { + return this.extendDurationInHours; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The OCID of the Delegated Resource Access Request. + * + */ + public String id() { + return this.id; + } + /** + * @return Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + * + */ + public Boolean isAutoApproved() { + return this.isAutoApproved; + } + /** + * @return Indicates if the delegated resource access request is waiting on more information from the operator + * + */ + public Boolean isPendingMoreInfo() { + return this.isPendingMoreInfo; + } + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public String lifecycleStateDetails() { + return this.lifecycleStateDetails; + } + /** + * @return Number of extension approvals that have been obtained so far. + * + */ + public Integer numExtensionApprovals() { + return this.numExtensionApprovals; + } + /** + * @return Number of initial approvals that have been obtained so far. + * + */ + public Integer numInitialApprovals() { + return this.numInitialApprovals; + } + /** + * @return List of Service Provider Service Types being provided by the support operator user. + * + */ + public List providedServiceTypes() { + return this.providedServiceTypes; + } + /** + * @return A short description explaining why this Delegated Resource Access Request is needed by the support operator. + * + */ + public String reasonForRequest() { + return this.reasonForRequest; + } + /** + * @return A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + * + */ + public String requestStatus() { + return this.requestStatus; + } + /** + * @return List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + * + */ + public List requestedActionNames() { + return this.requestedActionNames; + } + /** + * @return Requester type + * + */ + public String requesterType() { + return this.requesterType; + } + /** + * @return A filter to return only Delegated Resource Access Requests for the given resource identifier. + * + */ + public String resourceId() { + return this.resourceId; + } + /** + * @return The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + * + */ + public String resourceName() { + return this.resourceName; + } + /** + * @return Resource type for which the associated Delegation Control is applicable to. + * + */ + public String resourceType() { + return this.resourceType; + } + /** + * @return Priority assigned to the Delegated Resource Access Request by the support operator + * + */ + public String severity() { + return this.severity; + } + /** + * @return A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request 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 A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + * + */ + public List ticketNumbers() { + return this.ticketNumbers; + } + /** + * @return Requested access start time in UTC. + * + */ + public String timeAccessRequested() { + return this.timeAccessRequested; + } + /** + * @return Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List approvalInfos; + private List auditTypes; + private String closureComment; + private String compartmentId; + private List databaseNameLists; + private Map definedTags; + private String delegationControlId; + private List delegationSubscriptionIds; + private String description; + private String displayName; + private Integer durationInHours; + private Integer extendDurationInHours; + private Map freeformTags; + private String id; + private Boolean isAutoApproved; + private Boolean isPendingMoreInfo; + private String lifecycleStateDetails; + private Integer numExtensionApprovals; + private Integer numInitialApprovals; + private List providedServiceTypes; + private String reasonForRequest; + private String requestStatus; + private List requestedActionNames; + private String requesterType; + private String resourceId; + private String resourceName; + private String resourceType; + private String severity; + private String state; + private Map systemTags; + private List ticketNumbers; + private String timeAccessRequested; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.approvalInfos = defaults.approvalInfos; + this.auditTypes = defaults.auditTypes; + this.closureComment = defaults.closureComment; + this.compartmentId = defaults.compartmentId; + this.databaseNameLists = defaults.databaseNameLists; + this.definedTags = defaults.definedTags; + this.delegationControlId = defaults.delegationControlId; + this.delegationSubscriptionIds = defaults.delegationSubscriptionIds; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.durationInHours = defaults.durationInHours; + this.extendDurationInHours = defaults.extendDurationInHours; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isAutoApproved = defaults.isAutoApproved; + this.isPendingMoreInfo = defaults.isPendingMoreInfo; + this.lifecycleStateDetails = defaults.lifecycleStateDetails; + this.numExtensionApprovals = defaults.numExtensionApprovals; + this.numInitialApprovals = defaults.numInitialApprovals; + this.providedServiceTypes = defaults.providedServiceTypes; + this.reasonForRequest = defaults.reasonForRequest; + this.requestStatus = defaults.requestStatus; + this.requestedActionNames = defaults.requestedActionNames; + this.requesterType = defaults.requesterType; + this.resourceId = defaults.resourceId; + this.resourceName = defaults.resourceName; + this.resourceType = defaults.resourceType; + this.severity = defaults.severity; + this.state = defaults.state; + this.systemTags = defaults.systemTags; + this.ticketNumbers = defaults.ticketNumbers; + this.timeAccessRequested = defaults.timeAccessRequested; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder approvalInfos(List approvalInfos) { + if (approvalInfos == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "approvalInfos"); + } + this.approvalInfos = approvalInfos; + return this; + } + public Builder approvalInfos(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo... approvalInfos) { + return approvalInfos(List.of(approvalInfos)); + } + @CustomType.Setter + public Builder auditTypes(List auditTypes) { + if (auditTypes == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "auditTypes"); + } + this.auditTypes = auditTypes; + return this; + } + public Builder auditTypes(String... auditTypes) { + return auditTypes(List.of(auditTypes)); + } + @CustomType.Setter + public Builder closureComment(String closureComment) { + if (closureComment == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "closureComment"); + } + this.closureComment = closureComment; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder databaseNameLists(List databaseNameLists) { + if (databaseNameLists == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "databaseNameLists"); + } + this.databaseNameLists = databaseNameLists; + return this; + } + public Builder databaseNameLists(String... databaseNameLists) { + return databaseNameLists(List.of(databaseNameLists)); + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder delegationControlId(String delegationControlId) { + if (delegationControlId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "delegationControlId"); + } + this.delegationControlId = delegationControlId; + return this; + } + @CustomType.Setter + public Builder delegationSubscriptionIds(List delegationSubscriptionIds) { + if (delegationSubscriptionIds == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "delegationSubscriptionIds"); + } + this.delegationSubscriptionIds = delegationSubscriptionIds; + return this; + } + public Builder delegationSubscriptionIds(String... delegationSubscriptionIds) { + return delegationSubscriptionIds(List.of(delegationSubscriptionIds)); + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder durationInHours(Integer durationInHours) { + if (durationInHours == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "durationInHours"); + } + this.durationInHours = durationInHours; + return this; + } + @CustomType.Setter + public Builder extendDurationInHours(Integer extendDurationInHours) { + if (extendDurationInHours == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "extendDurationInHours"); + } + this.extendDurationInHours = extendDurationInHours; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isAutoApproved(Boolean isAutoApproved) { + if (isAutoApproved == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "isAutoApproved"); + } + this.isAutoApproved = isAutoApproved; + return this; + } + @CustomType.Setter + public Builder isPendingMoreInfo(Boolean isPendingMoreInfo) { + if (isPendingMoreInfo == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "isPendingMoreInfo"); + } + this.isPendingMoreInfo = isPendingMoreInfo; + return this; + } + @CustomType.Setter + public Builder lifecycleStateDetails(String lifecycleStateDetails) { + if (lifecycleStateDetails == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "lifecycleStateDetails"); + } + this.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + @CustomType.Setter + public Builder numExtensionApprovals(Integer numExtensionApprovals) { + if (numExtensionApprovals == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "numExtensionApprovals"); + } + this.numExtensionApprovals = numExtensionApprovals; + return this; + } + @CustomType.Setter + public Builder numInitialApprovals(Integer numInitialApprovals) { + if (numInitialApprovals == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "numInitialApprovals"); + } + this.numInitialApprovals = numInitialApprovals; + return this; + } + @CustomType.Setter + public Builder providedServiceTypes(List providedServiceTypes) { + if (providedServiceTypes == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "providedServiceTypes"); + } + this.providedServiceTypes = providedServiceTypes; + return this; + } + public Builder providedServiceTypes(String... providedServiceTypes) { + return providedServiceTypes(List.of(providedServiceTypes)); + } + @CustomType.Setter + public Builder reasonForRequest(String reasonForRequest) { + if (reasonForRequest == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "reasonForRequest"); + } + this.reasonForRequest = reasonForRequest; + return this; + } + @CustomType.Setter + public Builder requestStatus(String requestStatus) { + if (requestStatus == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "requestStatus"); + } + this.requestStatus = requestStatus; + return this; + } + @CustomType.Setter + public Builder requestedActionNames(List requestedActionNames) { + if (requestedActionNames == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "requestedActionNames"); + } + this.requestedActionNames = requestedActionNames; + return this; + } + public Builder requestedActionNames(String... requestedActionNames) { + return requestedActionNames(List.of(requestedActionNames)); + } + @CustomType.Setter + public Builder requesterType(String requesterType) { + if (requesterType == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "requesterType"); + } + this.requesterType = requesterType; + return this; + } + @CustomType.Setter + public Builder resourceId(String resourceId) { + if (resourceId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "resourceId"); + } + this.resourceId = resourceId; + return this; + } + @CustomType.Setter + public Builder resourceName(String resourceName) { + if (resourceName == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "resourceName"); + } + this.resourceName = resourceName; + return this; + } + @CustomType.Setter + public Builder resourceType(String resourceType) { + if (resourceType == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "resourceType"); + } + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder severity(String severity) { + if (severity == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "severity"); + } + this.severity = severity; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder ticketNumbers(List ticketNumbers) { + if (ticketNumbers == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "ticketNumbers"); + } + this.ticketNumbers = ticketNumbers; + return this; + } + public Builder ticketNumbers(String... ticketNumbers) { + return ticketNumbers(List.of(ticketNumbers)); + } + @CustomType.Setter + public Builder timeAccessRequested(String timeAccessRequested) { + if (timeAccessRequested == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "timeAccessRequested"); + } + this.timeAccessRequested = timeAccessRequested; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem build() { + final var _resultValue = new GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem(); + _resultValue.approvalInfos = approvalInfos; + _resultValue.auditTypes = auditTypes; + _resultValue.closureComment = closureComment; + _resultValue.compartmentId = compartmentId; + _resultValue.databaseNameLists = databaseNameLists; + _resultValue.definedTags = definedTags; + _resultValue.delegationControlId = delegationControlId; + _resultValue.delegationSubscriptionIds = delegationSubscriptionIds; + _resultValue.description = description; + _resultValue.displayName = displayName; + _resultValue.durationInHours = durationInHours; + _resultValue.extendDurationInHours = extendDurationInHours; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isAutoApproved = isAutoApproved; + _resultValue.isPendingMoreInfo = isPendingMoreInfo; + _resultValue.lifecycleStateDetails = lifecycleStateDetails; + _resultValue.numExtensionApprovals = numExtensionApprovals; + _resultValue.numInitialApprovals = numInitialApprovals; + _resultValue.providedServiceTypes = providedServiceTypes; + _resultValue.reasonForRequest = reasonForRequest; + _resultValue.requestStatus = requestStatus; + _resultValue.requestedActionNames = requestedActionNames; + _resultValue.requesterType = requesterType; + _resultValue.resourceId = resourceId; + _resultValue.resourceName = resourceName; + _resultValue.resourceType = resourceType; + _resultValue.severity = severity; + _resultValue.state = state; + _resultValue.systemTags = systemTags; + _resultValue.ticketNumbers = ticketNumbers; + _resultValue.timeAccessRequested = timeAccessRequested; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo.java new file mode 100644 index 0000000000..a4cd2606aa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo.java @@ -0,0 +1,173 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo { + /** + * @return Indicated whether the request is approved or rejected. + * + */ + private String approvalAction; + /** + * @return approval type, initial or extension + * + */ + private String approvalType; + /** + * @return Additional message specified by the approver of the request. + * + */ + private String approverAdditionalMessage; + /** + * @return Comment specified by the approver of the request. + * + */ + private String approverComment; + /** + * @return User ID of the approver. + * + */ + private String approverId; + /** + * @return Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + private String timeApprovedForAccess; + + private GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo() {} + /** + * @return Indicated whether the request is approved or rejected. + * + */ + public String approvalAction() { + return this.approvalAction; + } + /** + * @return approval type, initial or extension + * + */ + public String approvalType() { + return this.approvalType; + } + /** + * @return Additional message specified by the approver of the request. + * + */ + public String approverAdditionalMessage() { + return this.approverAdditionalMessage; + } + /** + * @return Comment specified by the approver of the request. + * + */ + public String approverComment() { + return this.approverComment; + } + /** + * @return User ID of the approver. + * + */ + public String approverId() { + return this.approverId; + } + /** + * @return Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + * + */ + public String timeApprovedForAccess() { + return this.timeApprovedForAccess; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String approvalAction; + private String approvalType; + private String approverAdditionalMessage; + private String approverComment; + private String approverId; + private String timeApprovedForAccess; + public Builder() {} + public Builder(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo defaults) { + Objects.requireNonNull(defaults); + this.approvalAction = defaults.approvalAction; + this.approvalType = defaults.approvalType; + this.approverAdditionalMessage = defaults.approverAdditionalMessage; + this.approverComment = defaults.approverComment; + this.approverId = defaults.approverId; + this.timeApprovedForAccess = defaults.timeApprovedForAccess; + } + + @CustomType.Setter + public Builder approvalAction(String approvalAction) { + if (approvalAction == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo", "approvalAction"); + } + this.approvalAction = approvalAction; + return this; + } + @CustomType.Setter + public Builder approvalType(String approvalType) { + if (approvalType == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo", "approvalType"); + } + this.approvalType = approvalType; + return this; + } + @CustomType.Setter + public Builder approverAdditionalMessage(String approverAdditionalMessage) { + if (approverAdditionalMessage == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo", "approverAdditionalMessage"); + } + this.approverAdditionalMessage = approverAdditionalMessage; + return this; + } + @CustomType.Setter + public Builder approverComment(String approverComment) { + if (approverComment == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo", "approverComment"); + } + this.approverComment = approverComment; + return this; + } + @CustomType.Setter + public Builder approverId(String approverId) { + if (approverId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo", "approverId"); + } + this.approverId = approverId; + return this; + } + @CustomType.Setter + public Builder timeApprovedForAccess(String timeApprovedForAccess) { + if (timeApprovedForAccess == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo", "timeApprovedForAccess"); + } + this.timeApprovedForAccess = timeApprovedForAccess; + return this; + } + public GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo build() { + final var _resultValue = new GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo(); + _resultValue.approvalAction = approvalAction; + _resultValue.approvalType = approvalType; + _resultValue.approverAdditionalMessage = approverAdditionalMessage; + _resultValue.approverComment = approverComment; + _resultValue.approverId = approverId; + _resultValue.timeApprovedForAccess = timeApprovedForAccess; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsFilter.java new file mode 100644 index 0000000000..c4df66c1a7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsFilter.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegatedResourceAccessRequestsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetDelegatedResourceAccessRequestsFilter() {} + 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(GetDelegatedResourceAccessRequestsFilter 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(GetDelegatedResourceAccessRequestsFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsFilter", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + if (values == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetDelegatedResourceAccessRequestsFilter build() { + final var _resultValue = new GetDelegatedResourceAccessRequestsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsResult.java new file mode 100644 index 0000000000..31781cef44 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegatedResourceAccessRequestsResult.java @@ -0,0 +1,238 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegatedResourceAccessRequestsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDelegatedResourceAccessRequestsResult { + /** + * @return The OCID of the compartment that contains the Delegated Resource Access Request. + * + */ + private String compartmentId; + /** + * @return The list of delegated_resource_access_request_summary_collection. + * + */ + private List delegatedResourceAccessRequestSummaryCollections; + /** + * @return The OCID of the Delegation Control governing the target resource. + * + */ + private @Nullable String delegationControlId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The current status of the Delegated Resource Access Request. + * + */ + private @Nullable String requestStatus; + /** + * @return The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + * + */ + private @Nullable String resourceId; + /** + * @return The current lifecycle state of the Delegated Resource Access Request. + * + */ + private @Nullable String state; + private @Nullable String timeEnd; + private @Nullable String timeStart; + + private GetDelegatedResourceAccessRequestsResult() {} + /** + * @return The OCID of the compartment that contains the Delegated Resource Access Request. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The list of delegated_resource_access_request_summary_collection. + * + */ + public List delegatedResourceAccessRequestSummaryCollections() { + return this.delegatedResourceAccessRequestSummaryCollections; + } + /** + * @return The OCID of the Delegation Control governing the target resource. + * + */ + public Optional delegationControlId() { + return Optional.ofNullable(this.delegationControlId); + } + 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 status of the Delegated Resource Access Request. + * + */ + public Optional requestStatus() { + return Optional.ofNullable(this.requestStatus); + } + /** + * @return The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + * + */ + public Optional resourceId() { + return Optional.ofNullable(this.resourceId); + } + /** + * @return The current lifecycle state of the Delegated Resource Access Request. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + public Optional timeEnd() { + return Optional.ofNullable(this.timeEnd); + } + public Optional timeStart() { + return Optional.ofNullable(this.timeStart); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegatedResourceAccessRequestsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private List delegatedResourceAccessRequestSummaryCollections; + private @Nullable String delegationControlId; + private @Nullable List filters; + private String id; + private @Nullable String requestStatus; + private @Nullable String resourceId; + private @Nullable String state; + private @Nullable String timeEnd; + private @Nullable String timeStart; + public Builder() {} + public Builder(GetDelegatedResourceAccessRequestsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.delegatedResourceAccessRequestSummaryCollections = defaults.delegatedResourceAccessRequestSummaryCollections; + this.delegationControlId = defaults.delegationControlId; + this.filters = defaults.filters; + this.id = defaults.id; + this.requestStatus = defaults.requestStatus; + this.resourceId = defaults.resourceId; + this.state = defaults.state; + this.timeEnd = defaults.timeEnd; + this.timeStart = defaults.timeStart; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder delegatedResourceAccessRequestSummaryCollections(List delegatedResourceAccessRequestSummaryCollections) { + if (delegatedResourceAccessRequestSummaryCollections == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsResult", "delegatedResourceAccessRequestSummaryCollections"); + } + this.delegatedResourceAccessRequestSummaryCollections = delegatedResourceAccessRequestSummaryCollections; + return this; + } + public Builder delegatedResourceAccessRequestSummaryCollections(GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection... delegatedResourceAccessRequestSummaryCollections) { + return delegatedResourceAccessRequestSummaryCollections(List.of(delegatedResourceAccessRequestSummaryCollections)); + } + @CustomType.Setter + public Builder delegationControlId(@Nullable String delegationControlId) { + + this.delegationControlId = delegationControlId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetDelegatedResourceAccessRequestsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegatedResourceAccessRequestsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder requestStatus(@Nullable String requestStatus) { + + this.requestStatus = requestStatus; + return this; + } + @CustomType.Setter + public Builder resourceId(@Nullable String resourceId) { + + this.resourceId = resourceId; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + @CustomType.Setter + public Builder timeEnd(@Nullable String timeEnd) { + + this.timeEnd = timeEnd; + return this; + } + @CustomType.Setter + public Builder timeStart(@Nullable String timeStart) { + + this.timeStart = timeStart; + return this; + } + public GetDelegatedResourceAccessRequestsResult build() { + final var _resultValue = new GetDelegatedResourceAccessRequestsResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.delegatedResourceAccessRequestSummaryCollections = delegatedResourceAccessRequestSummaryCollections; + _resultValue.delegationControlId = delegationControlId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.requestStatus = requestStatus; + _resultValue.resourceId = resourceId; + _resultValue.state = state; + _resultValue.timeEnd = timeEnd; + _resultValue.timeStart = timeStart; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesDelegationControlResourceCollection.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesDelegationControlResourceCollection.java new file mode 100644 index 0000000000..2bcba27a5c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesDelegationControlResourceCollection.java @@ -0,0 +1,62 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationControlResourcesDelegationControlResourceCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDelegationControlResourcesDelegationControlResourceCollection { + /** + * @return List of DelegationControlResourceSummary objects. + * + */ + private List items; + + private GetDelegationControlResourcesDelegationControlResourceCollection() {} + /** + * @return List of DelegationControlResourceSummary objects. + * + */ + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegationControlResourcesDelegationControlResourceCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDelegationControlResourcesDelegationControlResourceCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesDelegationControlResourceCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDelegationControlResourcesDelegationControlResourceCollectionItem... items) { + return items(List.of(items)); + } + public GetDelegationControlResourcesDelegationControlResourceCollection build() { + final var _resultValue = new GetDelegationControlResourcesDelegationControlResourceCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesDelegationControlResourceCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesDelegationControlResourceCollectionItem.java new file mode 100644 index 0000000000..e0d9224bcc --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesDelegationControlResourceCollectionItem.java @@ -0,0 +1,81 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDelegationControlResourcesDelegationControlResourceCollectionItem { + /** + * @return OCID of the resource. + * + */ + private String id; + /** + * @return The current status of the resource in Delegation Control. + * + */ + private String resourceStatus; + + private GetDelegationControlResourcesDelegationControlResourceCollectionItem() {} + /** + * @return OCID of the resource. + * + */ + public String id() { + return this.id; + } + /** + * @return The current status of the resource in Delegation Control. + * + */ + public String resourceStatus() { + return this.resourceStatus; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegationControlResourcesDelegationControlResourceCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String id; + private String resourceStatus; + public Builder() {} + public Builder(GetDelegationControlResourcesDelegationControlResourceCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.resourceStatus = defaults.resourceStatus; + } + + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesDelegationControlResourceCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder resourceStatus(String resourceStatus) { + if (resourceStatus == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesDelegationControlResourceCollectionItem", "resourceStatus"); + } + this.resourceStatus = resourceStatus; + return this; + } + public GetDelegationControlResourcesDelegationControlResourceCollectionItem build() { + final var _resultValue = new GetDelegationControlResourcesDelegationControlResourceCollectionItem(); + _resultValue.id = id; + _resultValue.resourceStatus = resourceStatus; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesFilter.java new file mode 100644 index 0000000000..bd8dc5fb24 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesFilter.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegationControlResourcesFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetDelegationControlResourcesFilter() {} + 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(GetDelegationControlResourcesFilter 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(GetDelegationControlResourcesFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesFilter", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + if (values == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetDelegationControlResourcesFilter build() { + final var _resultValue = new GetDelegationControlResourcesFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesResult.java new file mode 100644 index 0000000000..5cd8e27cb8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResourcesResult.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationControlResourcesDelegationControlResourceCollection; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationControlResourcesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetDelegationControlResourcesResult { + private String delegationControlId; + /** + * @return The list of delegation_control_resource_collection. + * + */ + private List delegationControlResourceCollections; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + + private GetDelegationControlResourcesResult() {} + public String delegationControlId() { + return this.delegationControlId; + } + /** + * @return The list of delegation_control_resource_collection. + * + */ + public List delegationControlResourceCollections() { + return this.delegationControlResourceCollections; + } + 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(GetDelegationControlResourcesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String delegationControlId; + private List delegationControlResourceCollections; + private @Nullable List filters; + private String id; + public Builder() {} + public Builder(GetDelegationControlResourcesResult defaults) { + Objects.requireNonNull(defaults); + this.delegationControlId = defaults.delegationControlId; + this.delegationControlResourceCollections = defaults.delegationControlResourceCollections; + this.filters = defaults.filters; + this.id = defaults.id; + } + + @CustomType.Setter + public Builder delegationControlId(String delegationControlId) { + if (delegationControlId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesResult", "delegationControlId"); + } + this.delegationControlId = delegationControlId; + return this; + } + @CustomType.Setter + public Builder delegationControlResourceCollections(List delegationControlResourceCollections) { + if (delegationControlResourceCollections == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesResult", "delegationControlResourceCollections"); + } + this.delegationControlResourceCollections = delegationControlResourceCollections; + return this; + } + public Builder delegationControlResourceCollections(GetDelegationControlResourcesDelegationControlResourceCollection... delegationControlResourceCollections) { + return delegationControlResourceCollections(List.of(delegationControlResourceCollections)); + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetDelegationControlResourcesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResourcesResult", "id"); + } + this.id = id; + return this; + } + public GetDelegationControlResourcesResult build() { + final var _resultValue = new GetDelegationControlResourcesResult(); + _resultValue.delegationControlId = delegationControlId; + _resultValue.delegationControlResourceCollections = delegationControlResourceCollections; + _resultValue.filters = filters; + _resultValue.id = id; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResult.java new file mode 100644 index 0000000000..397afc126d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlResult.java @@ -0,0 +1,569 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDelegationControlResult { + /** + * @return The OCID of the compartment that contains the Delegation Control. + * + */ + private String compartmentId; + /** + * @return 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"}` + * + */ + private Map definedTags; + private String delegationControlId; + /** + * @return List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + */ + private List delegationSubscriptionIds; + /** + * @return Description of the Delegation Control. + * + */ + private String description; + /** + * @return Name of the Delegation Control. The name does not need to be unique. + * + */ + private String displayName; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return The OCID of the Delegation Control. + * + */ + private String id; + /** + * @return Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + */ + private Boolean isAutoApproveDuringMaintenance; + /** + * @return Description of the current lifecycle state in more detail. + * + */ + private String lifecycleStateDetails; + /** + * @return The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + */ + private String notificationMessageFormat; + /** + * @return The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + */ + private String notificationTopicId; + /** + * @return number of approvals required. + * + */ + private Integer numApprovalsRequired; + /** + * @return List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + */ + private List preApprovedServiceProviderActionNames; + /** + * @return The OCID of the selected resources that this Delegation Control is applicable to. + * + */ + private List resourceIds; + /** + * @return Resource type for which the Delegation Control is applicable to. + * + */ + private String resourceType; + /** + * @return The current lifecycle state of the Delegation Control. + * + */ + 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 Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeCreated; + /** + * @return Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + * + */ + private String timeDeleted; + /** + * @return Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeUpdated; + /** + * @return The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + */ + private String vaultId; + /** + * @return The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + */ + private String vaultKeyId; + + private GetDelegationControlResult() {} + /** + * @return The OCID of the compartment that contains the Delegation Control. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + public String delegationControlId() { + return this.delegationControlId; + } + /** + * @return List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + */ + public List delegationSubscriptionIds() { + return this.delegationSubscriptionIds; + } + /** + * @return Description of the Delegation Control. + * + */ + public String description() { + return this.description; + } + /** + * @return Name of the Delegation Control. The name does not need to be unique. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The OCID of the Delegation Control. + * + */ + public String id() { + return this.id; + } + /** + * @return Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + */ + public Boolean isAutoApproveDuringMaintenance() { + return this.isAutoApproveDuringMaintenance; + } + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public String lifecycleStateDetails() { + return this.lifecycleStateDetails; + } + /** + * @return The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + */ + public String notificationMessageFormat() { + return this.notificationMessageFormat; + } + /** + * @return The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + */ + public String notificationTopicId() { + return this.notificationTopicId; + } + /** + * @return number of approvals required. + * + */ + public Integer numApprovalsRequired() { + return this.numApprovalsRequired; + } + /** + * @return List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + */ + public List preApprovedServiceProviderActionNames() { + return this.preApprovedServiceProviderActionNames; + } + /** + * @return The OCID of the selected resources that this Delegation Control is applicable to. + * + */ + public List resourceIds() { + return this.resourceIds; + } + /** + * @return Resource type for which the Delegation Control is applicable to. + * + */ + public String resourceType() { + return this.resourceType; + } + /** + * @return The current lifecycle state of the Delegation Control. + * + */ + 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 Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + * + */ + public String timeDeleted() { + return this.timeDeleted; + } + /** + * @return Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + /** + * @return The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + */ + public String vaultId() { + return this.vaultId; + } + /** + * @return The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + */ + public String vaultKeyId() { + return this.vaultKeyId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegationControlResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String delegationControlId; + private List delegationSubscriptionIds; + private String description; + private String displayName; + private Map freeformTags; + private String id; + private Boolean isAutoApproveDuringMaintenance; + private String lifecycleStateDetails; + private String notificationMessageFormat; + private String notificationTopicId; + private Integer numApprovalsRequired; + private List preApprovedServiceProviderActionNames; + private List resourceIds; + private String resourceType; + private String state; + private Map systemTags; + private String timeCreated; + private String timeDeleted; + private String timeUpdated; + private String vaultId; + private String vaultKeyId; + public Builder() {} + public Builder(GetDelegationControlResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.delegationControlId = defaults.delegationControlId; + this.delegationSubscriptionIds = defaults.delegationSubscriptionIds; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isAutoApproveDuringMaintenance = defaults.isAutoApproveDuringMaintenance; + this.lifecycleStateDetails = defaults.lifecycleStateDetails; + this.notificationMessageFormat = defaults.notificationMessageFormat; + this.notificationTopicId = defaults.notificationTopicId; + this.numApprovalsRequired = defaults.numApprovalsRequired; + this.preApprovedServiceProviderActionNames = defaults.preApprovedServiceProviderActionNames; + this.resourceIds = defaults.resourceIds; + this.resourceType = defaults.resourceType; + this.state = defaults.state; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeDeleted = defaults.timeDeleted; + this.timeUpdated = defaults.timeUpdated; + this.vaultId = defaults.vaultId; + this.vaultKeyId = defaults.vaultKeyId; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder delegationControlId(String delegationControlId) { + if (delegationControlId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "delegationControlId"); + } + this.delegationControlId = delegationControlId; + return this; + } + @CustomType.Setter + public Builder delegationSubscriptionIds(List delegationSubscriptionIds) { + if (delegationSubscriptionIds == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "delegationSubscriptionIds"); + } + this.delegationSubscriptionIds = delegationSubscriptionIds; + return this; + } + public Builder delegationSubscriptionIds(String... delegationSubscriptionIds) { + return delegationSubscriptionIds(List.of(delegationSubscriptionIds)); + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance) { + if (isAutoApproveDuringMaintenance == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "isAutoApproveDuringMaintenance"); + } + this.isAutoApproveDuringMaintenance = isAutoApproveDuringMaintenance; + return this; + } + @CustomType.Setter + public Builder lifecycleStateDetails(String lifecycleStateDetails) { + if (lifecycleStateDetails == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "lifecycleStateDetails"); + } + this.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + @CustomType.Setter + public Builder notificationMessageFormat(String notificationMessageFormat) { + if (notificationMessageFormat == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "notificationMessageFormat"); + } + this.notificationMessageFormat = notificationMessageFormat; + return this; + } + @CustomType.Setter + public Builder notificationTopicId(String notificationTopicId) { + if (notificationTopicId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "notificationTopicId"); + } + this.notificationTopicId = notificationTopicId; + return this; + } + @CustomType.Setter + public Builder numApprovalsRequired(Integer numApprovalsRequired) { + if (numApprovalsRequired == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "numApprovalsRequired"); + } + this.numApprovalsRequired = numApprovalsRequired; + return this; + } + @CustomType.Setter + public Builder preApprovedServiceProviderActionNames(List preApprovedServiceProviderActionNames) { + if (preApprovedServiceProviderActionNames == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "preApprovedServiceProviderActionNames"); + } + this.preApprovedServiceProviderActionNames = preApprovedServiceProviderActionNames; + return this; + } + public Builder preApprovedServiceProviderActionNames(String... preApprovedServiceProviderActionNames) { + return preApprovedServiceProviderActionNames(List.of(preApprovedServiceProviderActionNames)); + } + @CustomType.Setter + public Builder resourceIds(List resourceIds) { + if (resourceIds == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "resourceIds"); + } + this.resourceIds = resourceIds; + return this; + } + public Builder resourceIds(String... resourceIds) { + return resourceIds(List.of(resourceIds)); + } + @CustomType.Setter + public Builder resourceType(String resourceType) { + if (resourceType == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "resourceType"); + } + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeDeleted(String timeDeleted) { + if (timeDeleted == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "timeDeleted"); + } + this.timeDeleted = timeDeleted; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + @CustomType.Setter + public Builder vaultId(String vaultId) { + if (vaultId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "vaultId"); + } + this.vaultId = vaultId; + return this; + } + @CustomType.Setter + public Builder vaultKeyId(String vaultKeyId) { + if (vaultKeyId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlResult", "vaultKeyId"); + } + this.vaultKeyId = vaultKeyId; + return this; + } + public GetDelegationControlResult build() { + final var _resultValue = new GetDelegationControlResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.delegationControlId = delegationControlId; + _resultValue.delegationSubscriptionIds = delegationSubscriptionIds; + _resultValue.description = description; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isAutoApproveDuringMaintenance = isAutoApproveDuringMaintenance; + _resultValue.lifecycleStateDetails = lifecycleStateDetails; + _resultValue.notificationMessageFormat = notificationMessageFormat; + _resultValue.notificationTopicId = notificationTopicId; + _resultValue.numApprovalsRequired = numApprovalsRequired; + _resultValue.preApprovedServiceProviderActionNames = preApprovedServiceProviderActionNames; + _resultValue.resourceIds = resourceIds; + _resultValue.resourceType = resourceType; + _resultValue.state = state; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeDeleted = timeDeleted; + _resultValue.timeUpdated = timeUpdated; + _resultValue.vaultId = vaultId; + _resultValue.vaultKeyId = vaultKeyId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsDelegationControlSummaryCollection.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsDelegationControlSummaryCollection.java new file mode 100644 index 0000000000..7fd03024fb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsDelegationControlSummaryCollection.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationControlsDelegationControlSummaryCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDelegationControlsDelegationControlSummaryCollection { + private List items; + + private GetDelegationControlsDelegationControlSummaryCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegationControlsDelegationControlSummaryCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDelegationControlsDelegationControlSummaryCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDelegationControlsDelegationControlSummaryCollectionItem... items) { + return items(List.of(items)); + } + public GetDelegationControlsDelegationControlSummaryCollection build() { + final var _resultValue = new GetDelegationControlsDelegationControlSummaryCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsDelegationControlSummaryCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsDelegationControlSummaryCollectionItem.java new file mode 100644 index 0000000000..725b787034 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsDelegationControlSummaryCollectionItem.java @@ -0,0 +1,554 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDelegationControlsDelegationControlSummaryCollectionItem { + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + private String compartmentId; + /** + * @return 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"}` + * + */ + private Map definedTags; + /** + * @return List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + */ + private List delegationSubscriptionIds; + /** + * @return Description of the Delegation Control. + * + */ + private String description; + /** + * @return A filter to return Delegation Control resources that match the given display name. + * + */ + private String displayName; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return The OCID of the Delegation Control. + * + */ + private String id; + /** + * @return Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + */ + private Boolean isAutoApproveDuringMaintenance; + /** + * @return Description of the current lifecycle state in more detail. + * + */ + private String lifecycleStateDetails; + /** + * @return The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + */ + private String notificationMessageFormat; + /** + * @return The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + */ + private String notificationTopicId; + /** + * @return number of approvals required. + * + */ + private Integer numApprovalsRequired; + /** + * @return List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + */ + private List preApprovedServiceProviderActionNames; + /** + * @return The OCID of the selected resources that this Delegation Control is applicable to. + * + */ + private List resourceIds; + /** + * @return A filter to return only resources that match the given resource type. + * + */ + private String resourceType; + /** + * @return A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + * + */ + 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 Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeCreated; + /** + * @return Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + * + */ + private String timeDeleted; + /** + * @return Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeUpdated; + /** + * @return The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + */ + private String vaultId; + /** + * @return The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + */ + private String vaultKeyId; + + private GetDelegationControlsDelegationControlSummaryCollectionItem() {} + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + /** + * @return List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + * + */ + public List delegationSubscriptionIds() { + return this.delegationSubscriptionIds; + } + /** + * @return Description of the Delegation Control. + * + */ + public String description() { + return this.description; + } + /** + * @return A filter to return Delegation Control resources that match the given display name. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The OCID of the Delegation Control. + * + */ + public String id() { + return this.id; + } + /** + * @return Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + * + */ + public Boolean isAutoApproveDuringMaintenance() { + return this.isAutoApproveDuringMaintenance; + } + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public String lifecycleStateDetails() { + return this.lifecycleStateDetails; + } + /** + * @return The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + * + */ + public String notificationMessageFormat() { + return this.notificationMessageFormat; + } + /** + * @return The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + * + */ + public String notificationTopicId() { + return this.notificationTopicId; + } + /** + * @return number of approvals required. + * + */ + public Integer numApprovalsRequired() { + return this.numApprovalsRequired; + } + /** + * @return List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + * + */ + public List preApprovedServiceProviderActionNames() { + return this.preApprovedServiceProviderActionNames; + } + /** + * @return The OCID of the selected resources that this Delegation Control is applicable to. + * + */ + public List resourceIds() { + return this.resourceIds; + } + /** + * @return A filter to return only resources that match the given resource type. + * + */ + public String resourceType() { + return this.resourceType; + } + /** + * @return A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + * + */ + 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 Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + * + */ + public String timeDeleted() { + return this.timeDeleted; + } + /** + * @return Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + /** + * @return The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + * + */ + public String vaultId() { + return this.vaultId; + } + /** + * @return The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + */ + public String vaultKeyId() { + return this.vaultKeyId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegationControlsDelegationControlSummaryCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private List delegationSubscriptionIds; + private String description; + private String displayName; + private Map freeformTags; + private String id; + private Boolean isAutoApproveDuringMaintenance; + private String lifecycleStateDetails; + private String notificationMessageFormat; + private String notificationTopicId; + private Integer numApprovalsRequired; + private List preApprovedServiceProviderActionNames; + private List resourceIds; + private String resourceType; + private String state; + private Map systemTags; + private String timeCreated; + private String timeDeleted; + private String timeUpdated; + private String vaultId; + private String vaultKeyId; + public Builder() {} + public Builder(GetDelegationControlsDelegationControlSummaryCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.delegationSubscriptionIds = defaults.delegationSubscriptionIds; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.isAutoApproveDuringMaintenance = defaults.isAutoApproveDuringMaintenance; + this.lifecycleStateDetails = defaults.lifecycleStateDetails; + this.notificationMessageFormat = defaults.notificationMessageFormat; + this.notificationTopicId = defaults.notificationTopicId; + this.numApprovalsRequired = defaults.numApprovalsRequired; + this.preApprovedServiceProviderActionNames = defaults.preApprovedServiceProviderActionNames; + this.resourceIds = defaults.resourceIds; + this.resourceType = defaults.resourceType; + this.state = defaults.state; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeDeleted = defaults.timeDeleted; + this.timeUpdated = defaults.timeUpdated; + this.vaultId = defaults.vaultId; + this.vaultKeyId = defaults.vaultKeyId; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder delegationSubscriptionIds(List delegationSubscriptionIds) { + if (delegationSubscriptionIds == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "delegationSubscriptionIds"); + } + this.delegationSubscriptionIds = delegationSubscriptionIds; + return this; + } + public Builder delegationSubscriptionIds(String... delegationSubscriptionIds) { + return delegationSubscriptionIds(List.of(delegationSubscriptionIds)); + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder isAutoApproveDuringMaintenance(Boolean isAutoApproveDuringMaintenance) { + if (isAutoApproveDuringMaintenance == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "isAutoApproveDuringMaintenance"); + } + this.isAutoApproveDuringMaintenance = isAutoApproveDuringMaintenance; + return this; + } + @CustomType.Setter + public Builder lifecycleStateDetails(String lifecycleStateDetails) { + if (lifecycleStateDetails == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "lifecycleStateDetails"); + } + this.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + @CustomType.Setter + public Builder notificationMessageFormat(String notificationMessageFormat) { + if (notificationMessageFormat == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "notificationMessageFormat"); + } + this.notificationMessageFormat = notificationMessageFormat; + return this; + } + @CustomType.Setter + public Builder notificationTopicId(String notificationTopicId) { + if (notificationTopicId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "notificationTopicId"); + } + this.notificationTopicId = notificationTopicId; + return this; + } + @CustomType.Setter + public Builder numApprovalsRequired(Integer numApprovalsRequired) { + if (numApprovalsRequired == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "numApprovalsRequired"); + } + this.numApprovalsRequired = numApprovalsRequired; + return this; + } + @CustomType.Setter + public Builder preApprovedServiceProviderActionNames(List preApprovedServiceProviderActionNames) { + if (preApprovedServiceProviderActionNames == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "preApprovedServiceProviderActionNames"); + } + this.preApprovedServiceProviderActionNames = preApprovedServiceProviderActionNames; + return this; + } + public Builder preApprovedServiceProviderActionNames(String... preApprovedServiceProviderActionNames) { + return preApprovedServiceProviderActionNames(List.of(preApprovedServiceProviderActionNames)); + } + @CustomType.Setter + public Builder resourceIds(List resourceIds) { + if (resourceIds == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "resourceIds"); + } + this.resourceIds = resourceIds; + return this; + } + public Builder resourceIds(String... resourceIds) { + return resourceIds(List.of(resourceIds)); + } + @CustomType.Setter + public Builder resourceType(String resourceType) { + if (resourceType == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "resourceType"); + } + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeDeleted(String timeDeleted) { + if (timeDeleted == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "timeDeleted"); + } + this.timeDeleted = timeDeleted; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + @CustomType.Setter + public Builder vaultId(String vaultId) { + if (vaultId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "vaultId"); + } + this.vaultId = vaultId; + return this; + } + @CustomType.Setter + public Builder vaultKeyId(String vaultKeyId) { + if (vaultKeyId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsDelegationControlSummaryCollectionItem", "vaultKeyId"); + } + this.vaultKeyId = vaultKeyId; + return this; + } + public GetDelegationControlsDelegationControlSummaryCollectionItem build() { + final var _resultValue = new GetDelegationControlsDelegationControlSummaryCollectionItem(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.delegationSubscriptionIds = delegationSubscriptionIds; + _resultValue.description = description; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.isAutoApproveDuringMaintenance = isAutoApproveDuringMaintenance; + _resultValue.lifecycleStateDetails = lifecycleStateDetails; + _resultValue.notificationMessageFormat = notificationMessageFormat; + _resultValue.notificationTopicId = notificationTopicId; + _resultValue.numApprovalsRequired = numApprovalsRequired; + _resultValue.preApprovedServiceProviderActionNames = preApprovedServiceProviderActionNames; + _resultValue.resourceIds = resourceIds; + _resultValue.resourceType = resourceType; + _resultValue.state = state; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeDeleted = timeDeleted; + _resultValue.timeUpdated = timeUpdated; + _resultValue.vaultId = vaultId; + _resultValue.vaultKeyId = vaultKeyId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsFilter.java new file mode 100644 index 0000000000..807f04002c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsFilter.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegationControlsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetDelegationControlsFilter() {} + 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(GetDelegationControlsFilter 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(GetDelegationControlsFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsFilter", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + if (values == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetDelegationControlsFilter build() { + final var _resultValue = new GetDelegationControlsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsResult.java new file mode 100644 index 0000000000..db2dda2d53 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationControlsResult.java @@ -0,0 +1,204 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationControlsDelegationControlSummaryCollection; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationControlsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDelegationControlsResult { + /** + * @return The OCID of the compartment that contains the Delegation Control. + * + */ + private String compartmentId; + /** + * @return The list of delegation_control_summary_collection. + * + */ + private List delegationControlSummaryCollections; + /** + * @return Name of the Delegation Control. The name does not need to be unique. + * + */ + private @Nullable String displayName; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + private @Nullable String resourceId; + /** + * @return Resource type for which the Delegation Control is applicable to. + * + */ + private @Nullable String resourceType; + /** + * @return The current lifecycle state of the Delegation Control. + * + */ + private @Nullable String state; + + private GetDelegationControlsResult() {} + /** + * @return The OCID of the compartment that contains the Delegation Control. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The list of delegation_control_summary_collection. + * + */ + public List delegationControlSummaryCollections() { + return this.delegationControlSummaryCollections; + } + /** + * @return Name of the Delegation Control. The name does not need to be unique. + * + */ + 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; + } + public Optional resourceId() { + return Optional.ofNullable(this.resourceId); + } + /** + * @return Resource type for which the Delegation Control is applicable to. + * + */ + public Optional resourceType() { + return Optional.ofNullable(this.resourceType); + } + /** + * @return The current lifecycle state of the Delegation Control. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegationControlsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private List delegationControlSummaryCollections; + private @Nullable String displayName; + private @Nullable List filters; + private String id; + private @Nullable String resourceId; + private @Nullable String resourceType; + private @Nullable String state; + public Builder() {} + public Builder(GetDelegationControlsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.delegationControlSummaryCollections = defaults.delegationControlSummaryCollections; + this.displayName = defaults.displayName; + this.filters = defaults.filters; + this.id = defaults.id; + this.resourceId = defaults.resourceId; + this.resourceType = defaults.resourceType; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder delegationControlSummaryCollections(List delegationControlSummaryCollections) { + if (delegationControlSummaryCollections == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsResult", "delegationControlSummaryCollections"); + } + this.delegationControlSummaryCollections = delegationControlSummaryCollections; + return this; + } + public Builder delegationControlSummaryCollections(GetDelegationControlsDelegationControlSummaryCollection... delegationControlSummaryCollections) { + return delegationControlSummaryCollections(List.of(delegationControlSummaryCollections)); + } + @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(GetDelegationControlsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegationControlsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder resourceId(@Nullable String resourceId) { + + this.resourceId = resourceId; + return this; + } + @CustomType.Setter + public Builder resourceType(@Nullable String resourceType) { + + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public GetDelegationControlsResult build() { + final var _resultValue = new GetDelegationControlsResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.delegationControlSummaryCollections = delegationControlSummaryCollections; + _resultValue.displayName = displayName; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.resourceId = resourceId; + _resultValue.resourceType = resourceType; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionResult.java new file mode 100644 index 0000000000..9c8c77336a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionResult.java @@ -0,0 +1,350 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDelegationSubscriptionResult { + /** + * @return The OCID of the compartment that contains the Delegation Subscription. + * + */ + private String compartmentId; + /** + * @return 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"}` + * + */ + private Map definedTags; + private String delegationSubscriptionId; + /** + * @return Description of the Delegation Subscription. + * + */ + private String description; + /** + * @return Display name + * + */ + private String displayName; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return Unique identifier for the Delegation Subscription. + * + */ + private String id; + /** + * @return Description of the current lifecycle state in more detail. + * + */ + private String lifecycleStateDetails; + /** + * @return Unique identifier of the Service Provider. + * + */ + private String serviceProviderId; + /** + * @return The current lifecycle state of the Service Provider. + * + */ + private String state; + /** + * @return Subscribed Service Provider Service Type. + * + */ + private String subscribedServiceType; + /** + * @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 Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeCreated; + /** + * @return Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeUpdated; + + private GetDelegationSubscriptionResult() {} + /** + * @return The OCID of the compartment that contains the Delegation Subscription. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + public String delegationSubscriptionId() { + return this.delegationSubscriptionId; + } + /** + * @return Description of the Delegation Subscription. + * + */ + public String description() { + return this.description; + } + /** + * @return Display name + * + */ + public String displayName() { + return this.displayName; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return Unique identifier for the Delegation Subscription. + * + */ + public String id() { + return this.id; + } + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public String lifecycleStateDetails() { + return this.lifecycleStateDetails; + } + /** + * @return Unique identifier of the Service Provider. + * + */ + public String serviceProviderId() { + return this.serviceProviderId; + } + /** + * @return The current lifecycle state of the Service Provider. + * + */ + public String state() { + return this.state; + } + /** + * @return Subscribed Service Provider Service Type. + * + */ + public String subscribedServiceType() { + return this.subscribedServiceType; + } + /** + * @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 Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegationSubscriptionResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String delegationSubscriptionId; + private String description; + private String displayName; + private Map freeformTags; + private String id; + private String lifecycleStateDetails; + private String serviceProviderId; + private String state; + private String subscribedServiceType; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetDelegationSubscriptionResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.delegationSubscriptionId = defaults.delegationSubscriptionId; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.lifecycleStateDetails = defaults.lifecycleStateDetails; + this.serviceProviderId = defaults.serviceProviderId; + this.state = defaults.state; + this.subscribedServiceType = defaults.subscribedServiceType; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder delegationSubscriptionId(String delegationSubscriptionId) { + if (delegationSubscriptionId == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "delegationSubscriptionId"); + } + this.delegationSubscriptionId = delegationSubscriptionId; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder lifecycleStateDetails(String lifecycleStateDetails) { + if (lifecycleStateDetails == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "lifecycleStateDetails"); + } + this.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + @CustomType.Setter + public Builder serviceProviderId(String serviceProviderId) { + if (serviceProviderId == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "serviceProviderId"); + } + this.serviceProviderId = serviceProviderId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscribedServiceType(String subscribedServiceType) { + if (subscribedServiceType == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "subscribedServiceType"); + } + this.subscribedServiceType = subscribedServiceType; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetDelegationSubscriptionResult build() { + final var _resultValue = new GetDelegationSubscriptionResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.delegationSubscriptionId = delegationSubscriptionId; + _resultValue.description = description; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.lifecycleStateDetails = lifecycleStateDetails; + _resultValue.serviceProviderId = serviceProviderId; + _resultValue.state = state; + _resultValue.subscribedServiceType = subscribedServiceType; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection.java new file mode 100644 index 0000000000..806f9ecd16 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection { + private List items; + + private GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem... items) { + return items(List.of(items)); + } + public GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection build() { + final var _resultValue = new GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem.java new file mode 100644 index 0000000000..93da23a0f3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem.java @@ -0,0 +1,335 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem { + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + private String compartmentId; + /** + * @return 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"}` + * + */ + private Map definedTags; + /** + * @return Description of the Delegation Subscription. + * + */ + private String description; + /** + * @return A filter to return Delegation Subscription resources that match the given display name. + * + */ + private String displayName; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return Unique identifier for the Delegation Subscription. + * + */ + private String id; + /** + * @return Description of the current lifecycle state in more detail. + * + */ + private String lifecycleStateDetails; + /** + * @return Unique identifier of the Service Provider. + * + */ + private String serviceProviderId; + /** + * @return A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + * + */ + private String state; + /** + * @return Subscribed Service Provider Service Type. + * + */ + private String subscribedServiceType; + /** + * @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 Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeCreated; + /** + * @return Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeUpdated; + + private GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem() {} + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + /** + * @return Description of the Delegation Subscription. + * + */ + public String description() { + return this.description; + } + /** + * @return A filter to return Delegation Subscription resources that match the given display name. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return Unique identifier for the Delegation Subscription. + * + */ + public String id() { + return this.id; + } + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public String lifecycleStateDetails() { + return this.lifecycleStateDetails; + } + /** + * @return Unique identifier of the Service Provider. + * + */ + public String serviceProviderId() { + return this.serviceProviderId; + } + /** + * @return A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + * + */ + public String state() { + return this.state; + } + /** + * @return Subscribed Service Provider Service Type. + * + */ + public String subscribedServiceType() { + return this.subscribedServiceType; + } + /** + * @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 Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem 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 Map freeformTags; + private String id; + private String lifecycleStateDetails; + private String serviceProviderId; + private String state; + private String subscribedServiceType; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.lifecycleStateDetails = defaults.lifecycleStateDetails; + this.serviceProviderId = defaults.serviceProviderId; + this.state = defaults.state; + this.subscribedServiceType = defaults.subscribedServiceType; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder lifecycleStateDetails(String lifecycleStateDetails) { + if (lifecycleStateDetails == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "lifecycleStateDetails"); + } + this.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + @CustomType.Setter + public Builder serviceProviderId(String serviceProviderId) { + if (serviceProviderId == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "serviceProviderId"); + } + this.serviceProviderId = serviceProviderId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder subscribedServiceType(String subscribedServiceType) { + if (subscribedServiceType == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "subscribedServiceType"); + } + this.subscribedServiceType = subscribedServiceType; + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem build() { + final var _resultValue = new GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.description = description; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.lifecycleStateDetails = lifecycleStateDetails; + _resultValue.serviceProviderId = serviceProviderId; + _resultValue.state = state; + _resultValue.subscribedServiceType = subscribedServiceType; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsFilter.java new file mode 100644 index 0000000000..24ba735d33 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsFilter.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDelegationSubscriptionsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetDelegationSubscriptionsFilter() {} + 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(GetDelegationSubscriptionsFilter 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(GetDelegationSubscriptionsFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsFilter", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + if (values == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetDelegationSubscriptionsFilter build() { + final var _resultValue = new GetDelegationSubscriptionsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsResult.java similarity index 51% rename from sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesResult.java rename to sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsResult.java index cdbf07f8ae..b1e2d2a1b1 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetDelegationSubscriptionsResult.java @@ -1,12 +1,12 @@ // *** 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.GloballyDistributedDatabase.outputs; +package com.pulumi.oci.DelegateAccessControl.outputs; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabasesFilter; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabasesShardedDatabaseCollection; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection; +import com.pulumi.oci.DelegateAccessControl.outputs.GetDelegationSubscriptionsFilter; import java.lang.String; import java.util.List; import java.util.Objects; @@ -14,50 +14,57 @@ import javax.annotation.Nullable; @CustomType -public final class GetShardedDatabasesResult { +public final class GetDelegationSubscriptionsResult { /** - * @return Identifier of the compartment in which sharded database exists. + * @return The OCID of the compartment that contains the Delegation Subscription. * */ private String compartmentId; /** - * @return Oracle sharded database display name. + * @return The list of delegation_subscription_summary_collection. * */ - private @Nullable String displayName; - private @Nullable List filters; + private List delegationSubscriptionSummaryCollections; /** - * @return The provider-assigned unique ID for this managed resource. + * @return Display name * */ - private String id; + private @Nullable String displayName; + private @Nullable List filters; /** - * @return The list of sharded_database_collection. + * @return The provider-assigned unique ID for this managed resource. * */ - private List shardedDatabaseCollections; + private String id; /** - * @return Lifecycle states for sharded databases. + * @return The current lifecycle state of the Service Provider. * */ private @Nullable String state; - private GetShardedDatabasesResult() {} + private GetDelegationSubscriptionsResult() {} /** - * @return Identifier of the compartment in which sharded database exists. + * @return The OCID of the compartment that contains the Delegation Subscription. * */ public String compartmentId() { return this.compartmentId; } /** - * @return Oracle sharded database display name. + * @return The list of delegation_subscription_summary_collection. + * + */ + public List delegationSubscriptionSummaryCollections() { + return this.delegationSubscriptionSummaryCollections; + } + /** + * @return Display name * */ public Optional displayName() { return Optional.ofNullable(this.displayName); } - public List filters() { + public List filters() { return this.filters == null ? List.of() : this.filters; } /** @@ -68,14 +75,7 @@ public String id() { return this.id; } /** - * @return The list of sharded_database_collection. - * - */ - public List shardedDatabaseCollections() { - return this.shardedDatabaseCollections; - } - /** - * @return Lifecycle states for sharded databases. + * @return The current lifecycle state of the Service Provider. * */ public Optional state() { @@ -86,83 +86,83 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetShardedDatabasesResult defaults) { + public static Builder builder(GetDelegationSubscriptionsResult defaults) { return new Builder(defaults); } @CustomType.Builder public static final class Builder { private String compartmentId; + private List delegationSubscriptionSummaryCollections; private @Nullable String displayName; - private @Nullable List filters; + private @Nullable List filters; private String id; - private List shardedDatabaseCollections; private @Nullable String state; public Builder() {} - public Builder(GetShardedDatabasesResult defaults) { + public Builder(GetDelegationSubscriptionsResult defaults) { Objects.requireNonNull(defaults); this.compartmentId = defaults.compartmentId; + this.delegationSubscriptionSummaryCollections = defaults.delegationSubscriptionSummaryCollections; this.displayName = defaults.displayName; this.filters = defaults.filters; this.id = defaults.id; - this.shardedDatabaseCollections = defaults.shardedDatabaseCollections; this.state = defaults.state; } @CustomType.Setter public Builder compartmentId(String compartmentId) { if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesResult", "compartmentId"); + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsResult", "compartmentId"); } this.compartmentId = compartmentId; return this; } @CustomType.Setter + public Builder delegationSubscriptionSummaryCollections(List delegationSubscriptionSummaryCollections) { + if (delegationSubscriptionSummaryCollections == null) { + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsResult", "delegationSubscriptionSummaryCollections"); + } + this.delegationSubscriptionSummaryCollections = delegationSubscriptionSummaryCollections; + return this; + } + public Builder delegationSubscriptionSummaryCollections(GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection... delegationSubscriptionSummaryCollections) { + return delegationSubscriptionSummaryCollections(List.of(delegationSubscriptionSummaryCollections)); + } + @CustomType.Setter public Builder displayName(@Nullable String displayName) { this.displayName = displayName; return this; } @CustomType.Setter - public Builder filters(@Nullable List filters) { + public Builder filters(@Nullable List filters) { this.filters = filters; return this; } - public Builder filters(GetShardedDatabasesFilter... filters) { + public Builder filters(GetDelegationSubscriptionsFilter... filters) { return filters(List.of(filters)); } @CustomType.Setter public Builder id(String id) { if (id == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesResult", "id"); + throw new MissingRequiredPropertyException("GetDelegationSubscriptionsResult", "id"); } this.id = id; return this; } @CustomType.Setter - public Builder shardedDatabaseCollections(List shardedDatabaseCollections) { - if (shardedDatabaseCollections == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesResult", "shardedDatabaseCollections"); - } - this.shardedDatabaseCollections = shardedDatabaseCollections; - return this; - } - public Builder shardedDatabaseCollections(GetShardedDatabasesShardedDatabaseCollection... shardedDatabaseCollections) { - return shardedDatabaseCollections(List.of(shardedDatabaseCollections)); - } - @CustomType.Setter public Builder state(@Nullable String state) { this.state = state; return this; } - public GetShardedDatabasesResult build() { - final var _resultValue = new GetShardedDatabasesResult(); + public GetDelegationSubscriptionsResult build() { + final var _resultValue = new GetDelegationSubscriptionsResult(); _resultValue.compartmentId = compartmentId; + _resultValue.delegationSubscriptionSummaryCollections = delegationSubscriptionSummaryCollections; _resultValue.displayName = displayName; _resultValue.filters = filters; _resultValue.id = id; - _resultValue.shardedDatabaseCollections = shardedDatabaseCollections; _resultValue.state = state; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionProperty.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionProperty.java new file mode 100644 index 0000000000..683bf5730f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionProperty.java @@ -0,0 +1,81 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetServiceProviderActionProperty { + /** + * @return Name of the property + * + */ + private String name; + /** + * @return value of the property + * + */ + private String value; + + private GetServiceProviderActionProperty() {} + /** + * @return Name of the property + * + */ + public String name() { + return this.name; + } + /** + * @return value of the property + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServiceProviderActionProperty defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String value; + public Builder() {} + public Builder(GetServiceProviderActionProperty defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionProperty", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionProperty", "value"); + } + this.value = value; + return this; + } + public GetServiceProviderActionProperty build() { + final var _resultValue = new GetServiceProviderActionProperty(); + _resultValue.name = name; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionResult.java new file mode 100644 index 0000000000..f554c354e1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionResult.java @@ -0,0 +1,265 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProviderActionProperty; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetServiceProviderActionResult { + /** + * @return Name of the infrastructure layer associated with the Service Provider Action. + * + */ + private String component; + /** + * @return Display Name of the Service Provider Action. + * + */ + private String customerDisplayName; + /** + * @return Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + * + */ + private String description; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Name of the property + * + */ + private String name; + /** + * @return Fine grained properties associated with the Delegation Control. + * + */ + private List properties; + /** + * @return resourceType for which the ServiceProviderAction is applicable + * + */ + private String resourceType; + private String serviceProviderActionId; + /** + * @return List of Service Provider Service Types that this Service Provider Action is applicable to. + * + */ + private List serviceProviderServiceTypes; + /** + * @return The current lifecycle state of the Service Provider Action. + * + */ + private String state; + + private GetServiceProviderActionResult() {} + /** + * @return Name of the infrastructure layer associated with the Service Provider Action. + * + */ + public String component() { + return this.component; + } + /** + * @return Display Name of the Service Provider Action. + * + */ + public String customerDisplayName() { + return this.customerDisplayName; + } + /** + * @return Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + * + */ + public String description() { + return this.description; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Name of the property + * + */ + public String name() { + return this.name; + } + /** + * @return Fine grained properties associated with the Delegation Control. + * + */ + public List properties() { + return this.properties; + } + /** + * @return resourceType for which the ServiceProviderAction is applicable + * + */ + public String resourceType() { + return this.resourceType; + } + public String serviceProviderActionId() { + return this.serviceProviderActionId; + } + /** + * @return List of Service Provider Service Types that this Service Provider Action is applicable to. + * + */ + public List serviceProviderServiceTypes() { + return this.serviceProviderServiceTypes; + } + /** + * @return The current lifecycle state of the Service Provider Action. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServiceProviderActionResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String component; + private String customerDisplayName; + private String description; + private String id; + private String name; + private List properties; + private String resourceType; + private String serviceProviderActionId; + private List serviceProviderServiceTypes; + private String state; + public Builder() {} + public Builder(GetServiceProviderActionResult defaults) { + Objects.requireNonNull(defaults); + this.component = defaults.component; + this.customerDisplayName = defaults.customerDisplayName; + this.description = defaults.description; + this.id = defaults.id; + this.name = defaults.name; + this.properties = defaults.properties; + this.resourceType = defaults.resourceType; + this.serviceProviderActionId = defaults.serviceProviderActionId; + this.serviceProviderServiceTypes = defaults.serviceProviderServiceTypes; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder component(String component) { + if (component == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionResult", "component"); + } + this.component = component; + return this; + } + @CustomType.Setter + public Builder customerDisplayName(String customerDisplayName) { + if (customerDisplayName == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionResult", "customerDisplayName"); + } + this.customerDisplayName = customerDisplayName; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder properties(List properties) { + if (properties == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionResult", "properties"); + } + this.properties = properties; + return this; + } + public Builder properties(GetServiceProviderActionProperty... properties) { + return properties(List.of(properties)); + } + @CustomType.Setter + public Builder resourceType(String resourceType) { + if (resourceType == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionResult", "resourceType"); + } + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder serviceProviderActionId(String serviceProviderActionId) { + if (serviceProviderActionId == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionResult", "serviceProviderActionId"); + } + this.serviceProviderActionId = serviceProviderActionId; + return this; + } + @CustomType.Setter + public Builder serviceProviderServiceTypes(List serviceProviderServiceTypes) { + if (serviceProviderServiceTypes == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionResult", "serviceProviderServiceTypes"); + } + this.serviceProviderServiceTypes = serviceProviderServiceTypes; + return this; + } + public Builder serviceProviderServiceTypes(String... serviceProviderServiceTypes) { + return serviceProviderServiceTypes(List.of(serviceProviderServiceTypes)); + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionResult", "state"); + } + this.state = state; + return this; + } + public GetServiceProviderActionResult build() { + final var _resultValue = new GetServiceProviderActionResult(); + _resultValue.component = component; + _resultValue.customerDisplayName = customerDisplayName; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.properties = properties; + _resultValue.resourceType = resourceType; + _resultValue.serviceProviderActionId = serviceProviderActionId; + _resultValue.serviceProviderServiceTypes = serviceProviderServiceTypes; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsFilter.java new file mode 100644 index 0000000000..d4604d390d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsFilter.java @@ -0,0 +1,93 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetServiceProviderActionsFilter { + /** + * @return A filter to return only resources that match the entire name given. + * + */ + private String name; + private @Nullable Boolean regex; + private List values; + + private GetServiceProviderActionsFilter() {} + /** + * @return A filter to return only resources that match the entire name given. + * + */ + 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(GetServiceProviderActionsFilter 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(GetServiceProviderActionsFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsFilter", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + if (values == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetServiceProviderActionsFilter build() { + final var _resultValue = new GetServiceProviderActionsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsResult.java new file mode 100644 index 0000000000..2da157d36e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsResult.java @@ -0,0 +1,199 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProviderActionsFilter; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProviderActionsServiceProviderActionSummaryCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServiceProviderActionsResult { + private String compartmentId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Name of the property + * + */ + private @Nullable String name; + /** + * @return resourceType for which the ServiceProviderAction is applicable + * + */ + private @Nullable String resourceType; + /** + * @return The list of service_provider_action_summary_collection. + * + */ + private List serviceProviderActionSummaryCollections; + private @Nullable List serviceProviderServiceTypes; + /** + * @return The current lifecycle state of the Service Provider Action. + * + */ + private @Nullable String state; + + private GetServiceProviderActionsResult() {} + public String compartmentId() { + return this.compartmentId; + } + 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 Name of the property + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return resourceType for which the ServiceProviderAction is applicable + * + */ + public Optional resourceType() { + return Optional.ofNullable(this.resourceType); + } + /** + * @return The list of service_provider_action_summary_collection. + * + */ + public List serviceProviderActionSummaryCollections() { + return this.serviceProviderActionSummaryCollections; + } + public List serviceProviderServiceTypes() { + return this.serviceProviderServiceTypes == null ? List.of() : this.serviceProviderServiceTypes; + } + /** + * @return The current lifecycle state of the Service Provider Action. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServiceProviderActionsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private @Nullable List filters; + private String id; + private @Nullable String name; + private @Nullable String resourceType; + private List serviceProviderActionSummaryCollections; + private @Nullable List serviceProviderServiceTypes; + private @Nullable String state; + public Builder() {} + public Builder(GetServiceProviderActionsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.filters = defaults.filters; + this.id = defaults.id; + this.name = defaults.name; + this.resourceType = defaults.resourceType; + this.serviceProviderActionSummaryCollections = defaults.serviceProviderActionSummaryCollections; + this.serviceProviderServiceTypes = defaults.serviceProviderServiceTypes; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetServiceProviderActionsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder resourceType(@Nullable String resourceType) { + + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder serviceProviderActionSummaryCollections(List serviceProviderActionSummaryCollections) { + if (serviceProviderActionSummaryCollections == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsResult", "serviceProviderActionSummaryCollections"); + } + this.serviceProviderActionSummaryCollections = serviceProviderActionSummaryCollections; + return this; + } + public Builder serviceProviderActionSummaryCollections(GetServiceProviderActionsServiceProviderActionSummaryCollection... serviceProviderActionSummaryCollections) { + return serviceProviderActionSummaryCollections(List.of(serviceProviderActionSummaryCollections)); + } + @CustomType.Setter + public Builder serviceProviderServiceTypes(@Nullable List serviceProviderServiceTypes) { + + this.serviceProviderServiceTypes = serviceProviderServiceTypes; + return this; + } + public Builder serviceProviderServiceTypes(String... serviceProviderServiceTypes) { + return serviceProviderServiceTypes(List.of(serviceProviderServiceTypes)); + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public GetServiceProviderActionsResult build() { + final var _resultValue = new GetServiceProviderActionsResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.resourceType = resourceType; + _resultValue.serviceProviderActionSummaryCollections = serviceProviderActionSummaryCollections; + _resultValue.serviceProviderServiceTypes = serviceProviderServiceTypes; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsServiceProviderActionSummaryCollection.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsServiceProviderActionSummaryCollection.java new file mode 100644 index 0000000000..a0f64dac0f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsServiceProviderActionSummaryCollection.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProviderActionsServiceProviderActionSummaryCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetServiceProviderActionsServiceProviderActionSummaryCollection { + private List items; + + private GetServiceProviderActionsServiceProviderActionSummaryCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServiceProviderActionsServiceProviderActionSummaryCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetServiceProviderActionsServiceProviderActionSummaryCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetServiceProviderActionsServiceProviderActionSummaryCollectionItem... items) { + return items(List.of(items)); + } + public GetServiceProviderActionsServiceProviderActionSummaryCollection build() { + final var _resultValue = new GetServiceProviderActionsServiceProviderActionSummaryCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItem.java new file mode 100644 index 0000000000..012901ae7b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItem.java @@ -0,0 +1,250 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetServiceProviderActionsServiceProviderActionSummaryCollectionItem { + /** + * @return Name of the infrastructure layer associated with the Service Provider Action. + * + */ + private String component; + /** + * @return Display Name of the Service Provider Action. + * + */ + private String customerDisplayName; + /** + * @return Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + * + */ + private String description; + /** + * @return Unique Oracle assigned identifier for the Service Provider Action. + * + */ + private String id; + /** + * @return A filter to return only resources that match the entire name given. + * + */ + private String name; + /** + * @return Fine grained properties associated with the Delegation Control. + * + */ + private List properties; + /** + * @return A filter to return only resources that match the given resource type. + * + */ + private String resourceType; + /** + * @return List of Service Provider Service Types that this Service Provider Action is applicable to. + * + */ + private List serviceProviderServiceTypes; + /** + * @return A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + * + */ + private String state; + + private GetServiceProviderActionsServiceProviderActionSummaryCollectionItem() {} + /** + * @return Name of the infrastructure layer associated with the Service Provider Action. + * + */ + public String component() { + return this.component; + } + /** + * @return Display Name of the Service Provider Action. + * + */ + public String customerDisplayName() { + return this.customerDisplayName; + } + /** + * @return Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + * + */ + public String description() { + return this.description; + } + /** + * @return Unique Oracle assigned identifier for the Service Provider Action. + * + */ + public String id() { + return this.id; + } + /** + * @return A filter to return only resources that match the entire name given. + * + */ + public String name() { + return this.name; + } + /** + * @return Fine grained properties associated with the Delegation Control. + * + */ + public List properties() { + return this.properties; + } + /** + * @return A filter to return only resources that match the given resource type. + * + */ + public String resourceType() { + return this.resourceType; + } + /** + * @return List of Service Provider Service Types that this Service Provider Action is applicable to. + * + */ + public List serviceProviderServiceTypes() { + return this.serviceProviderServiceTypes; + } + /** + * @return A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + * + */ + public String state() { + return this.state; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServiceProviderActionsServiceProviderActionSummaryCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String component; + private String customerDisplayName; + private String description; + private String id; + private String name; + private List properties; + private String resourceType; + private List serviceProviderServiceTypes; + private String state; + public Builder() {} + public Builder(GetServiceProviderActionsServiceProviderActionSummaryCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.component = defaults.component; + this.customerDisplayName = defaults.customerDisplayName; + this.description = defaults.description; + this.id = defaults.id; + this.name = defaults.name; + this.properties = defaults.properties; + this.resourceType = defaults.resourceType; + this.serviceProviderServiceTypes = defaults.serviceProviderServiceTypes; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder component(String component) { + if (component == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItem", "component"); + } + this.component = component; + return this; + } + @CustomType.Setter + public Builder customerDisplayName(String customerDisplayName) { + if (customerDisplayName == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItem", "customerDisplayName"); + } + this.customerDisplayName = customerDisplayName; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItem", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItem", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder properties(List properties) { + if (properties == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItem", "properties"); + } + this.properties = properties; + return this; + } + public Builder properties(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty... properties) { + return properties(List.of(properties)); + } + @CustomType.Setter + public Builder resourceType(String resourceType) { + if (resourceType == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItem", "resourceType"); + } + this.resourceType = resourceType; + return this; + } + @CustomType.Setter + public Builder serviceProviderServiceTypes(List serviceProviderServiceTypes) { + if (serviceProviderServiceTypes == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItem", "serviceProviderServiceTypes"); + } + this.serviceProviderServiceTypes = serviceProviderServiceTypes; + return this; + } + public Builder serviceProviderServiceTypes(String... serviceProviderServiceTypes) { + return serviceProviderServiceTypes(List.of(serviceProviderServiceTypes)); + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItem", "state"); + } + this.state = state; + return this; + } + public GetServiceProviderActionsServiceProviderActionSummaryCollectionItem build() { + final var _resultValue = new GetServiceProviderActionsServiceProviderActionSummaryCollectionItem(); + _resultValue.component = component; + _resultValue.customerDisplayName = customerDisplayName; + _resultValue.description = description; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.properties = properties; + _resultValue.resourceType = resourceType; + _resultValue.serviceProviderServiceTypes = serviceProviderServiceTypes; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty.java new file mode 100644 index 0000000000..1112f24f5a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty.java @@ -0,0 +1,81 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty { + /** + * @return A filter to return only resources that match the entire name given. + * + */ + private String name; + /** + * @return value of the property + * + */ + private String value; + + private GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty() {} + /** + * @return A filter to return only resources that match the entire name given. + * + */ + public String name() { + return this.name; + } + /** + * @return value of the property + * + */ + public String value() { + return this.value; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private String value; + public Builder() {} + public Builder(GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.value = defaults.value; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder value(String value) { + if (value == null) { + throw new MissingRequiredPropertyException("GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty", "value"); + } + this.value = value; + return this; + } + public GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty build() { + final var _resultValue = new GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty(); + _resultValue.name = name; + _resultValue.value = value; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderResult.java new file mode 100644 index 0000000000..b3a486d7de --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProviderResult.java @@ -0,0 +1,380 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetServiceProviderResult { + /** + * @return The OCID of the compartment that contains the Delegation Control. + * + */ + private String compartmentId; + /** + * @return 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"}` + * + */ + private Map definedTags; + /** + * @return Description of the Service Provider. + * + */ + private String description; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Description of the current lifecycle state in more detail. + * + */ + private String lifecycleStateDetails; + /** + * @return Unique name of the Service Provider. + * + */ + private String name; + private String serviceProviderId; + /** + * @return Service Provider type. + * + */ + private String serviceProviderType; + /** + * @return Types of services offered by this provider. + * + */ + private List serviceTypes; + /** + * @return The current lifecycle state of the Service Provider. + * + */ + private String state; + /** + * @return Resource types for which this provider will provide service. Default to all if not specified. + * + */ + private List supportedResourceTypes; + /** + * @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 Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeCreated; + /** + * @return Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeUpdated; + + private GetServiceProviderResult() {} + /** + * @return The OCID of the compartment that contains the Delegation Control. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + /** + * @return Description of the Service Provider. + * + */ + public String description() { + return this.description; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public String lifecycleStateDetails() { + return this.lifecycleStateDetails; + } + /** + * @return Unique name of the Service Provider. + * + */ + public String name() { + return this.name; + } + public String serviceProviderId() { + return this.serviceProviderId; + } + /** + * @return Service Provider type. + * + */ + public String serviceProviderType() { + return this.serviceProviderType; + } + /** + * @return Types of services offered by this provider. + * + */ + public List serviceTypes() { + return this.serviceTypes; + } + /** + * @return The current lifecycle state of the Service Provider. + * + */ + public String state() { + return this.state; + } + /** + * @return Resource types for which this provider will provide service. Default to all if not specified. + * + */ + public List supportedResourceTypes() { + return this.supportedResourceTypes; + } + /** + * @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 Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServiceProviderResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String description; + private Map freeformTags; + private String id; + private String lifecycleStateDetails; + private String name; + private String serviceProviderId; + private String serviceProviderType; + private List serviceTypes; + private String state; + private List supportedResourceTypes; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetServiceProviderResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.lifecycleStateDetails = defaults.lifecycleStateDetails; + this.name = defaults.name; + this.serviceProviderId = defaults.serviceProviderId; + this.serviceProviderType = defaults.serviceProviderType; + this.serviceTypes = defaults.serviceTypes; + this.state = defaults.state; + this.supportedResourceTypes = defaults.supportedResourceTypes; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder lifecycleStateDetails(String lifecycleStateDetails) { + if (lifecycleStateDetails == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "lifecycleStateDetails"); + } + this.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder serviceProviderId(String serviceProviderId) { + if (serviceProviderId == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "serviceProviderId"); + } + this.serviceProviderId = serviceProviderId; + return this; + } + @CustomType.Setter + public Builder serviceProviderType(String serviceProviderType) { + if (serviceProviderType == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "serviceProviderType"); + } + this.serviceProviderType = serviceProviderType; + return this; + } + @CustomType.Setter + public Builder serviceTypes(List serviceTypes) { + if (serviceTypes == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "serviceTypes"); + } + this.serviceTypes = serviceTypes; + return this; + } + public Builder serviceTypes(String... serviceTypes) { + return serviceTypes(List.of(serviceTypes)); + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder supportedResourceTypes(List supportedResourceTypes) { + if (supportedResourceTypes == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "supportedResourceTypes"); + } + this.supportedResourceTypes = supportedResourceTypes; + return this; + } + public Builder supportedResourceTypes(String... supportedResourceTypes) { + return supportedResourceTypes(List.of(supportedResourceTypes)); + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetServiceProviderResult", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetServiceProviderResult build() { + final var _resultValue = new GetServiceProviderResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.description = description; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.lifecycleStateDetails = lifecycleStateDetails; + _resultValue.name = name; + _resultValue.serviceProviderId = serviceProviderId; + _resultValue.serviceProviderType = serviceProviderType; + _resultValue.serviceTypes = serviceTypes; + _resultValue.state = state; + _resultValue.supportedResourceTypes = supportedResourceTypes; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersFilter.java new file mode 100644 index 0000000000..9457e24752 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersFilter.java @@ -0,0 +1,93 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetServiceProvidersFilter { + /** + * @return A filter to return Service Provider resources that match the given name. + * + */ + private String name; + private @Nullable Boolean regex; + private List values; + + private GetServiceProvidersFilter() {} + /** + * @return A filter to return Service Provider resources that match the given name. + * + */ + 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(GetServiceProvidersFilter 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(GetServiceProvidersFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersFilter", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + if (values == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetServiceProvidersFilter build() { + final var _resultValue = new GetServiceProvidersFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersResult.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersResult.java new file mode 100644 index 0000000000..e9ce2bfe12 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersResult.java @@ -0,0 +1,204 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProvidersFilter; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProvidersServiceProviderSummaryCollection; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetServiceProvidersResult { + /** + * @return The OCID of the compartment that contains the Delegation Control. + * + */ + private String compartmentId; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Unique name of the Service Provider. + * + */ + private @Nullable String name; + /** + * @return The list of service_provider_summary_collection. + * + */ + private List serviceProviderSummaryCollections; + /** + * @return Service Provider type. + * + */ + private @Nullable String serviceProviderType; + /** + * @return The current lifecycle state of the Service Provider. + * + */ + private @Nullable String state; + private @Nullable String supportedResourceType; + + private GetServiceProvidersResult() {} + /** + * @return The OCID of the compartment that contains the Delegation Control. + * + */ + public String compartmentId() { + return this.compartmentId; + } + 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 Unique name of the Service Provider. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return The list of service_provider_summary_collection. + * + */ + public List serviceProviderSummaryCollections() { + return this.serviceProviderSummaryCollections; + } + /** + * @return Service Provider type. + * + */ + public Optional serviceProviderType() { + return Optional.ofNullable(this.serviceProviderType); + } + /** + * @return The current lifecycle state of the Service Provider. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + public Optional supportedResourceType() { + return Optional.ofNullable(this.supportedResourceType); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServiceProvidersResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private @Nullable List filters; + private String id; + private @Nullable String name; + private List serviceProviderSummaryCollections; + private @Nullable String serviceProviderType; + private @Nullable String state; + private @Nullable String supportedResourceType; + public Builder() {} + public Builder(GetServiceProvidersResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.filters = defaults.filters; + this.id = defaults.id; + this.name = defaults.name; + this.serviceProviderSummaryCollections = defaults.serviceProviderSummaryCollections; + this.serviceProviderType = defaults.serviceProviderType; + this.state = defaults.state; + this.supportedResourceType = defaults.supportedResourceType; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + + this.filters = filters; + return this; + } + public Builder filters(GetServiceProvidersFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter + public Builder serviceProviderSummaryCollections(List serviceProviderSummaryCollections) { + if (serviceProviderSummaryCollections == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersResult", "serviceProviderSummaryCollections"); + } + this.serviceProviderSummaryCollections = serviceProviderSummaryCollections; + return this; + } + public Builder serviceProviderSummaryCollections(GetServiceProvidersServiceProviderSummaryCollection... serviceProviderSummaryCollections) { + return serviceProviderSummaryCollections(List.of(serviceProviderSummaryCollections)); + } + @CustomType.Setter + public Builder serviceProviderType(@Nullable String serviceProviderType) { + + this.serviceProviderType = serviceProviderType; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + @CustomType.Setter + public Builder supportedResourceType(@Nullable String supportedResourceType) { + + this.supportedResourceType = supportedResourceType; + return this; + } + public GetServiceProvidersResult build() { + final var _resultValue = new GetServiceProvidersResult(); + _resultValue.compartmentId = compartmentId; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.serviceProviderSummaryCollections = serviceProviderSummaryCollections; + _resultValue.serviceProviderType = serviceProviderType; + _resultValue.state = state; + _resultValue.supportedResourceType = supportedResourceType; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersServiceProviderSummaryCollection.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersServiceProviderSummaryCollection.java new file mode 100644 index 0000000000..e878d2fbf9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersServiceProviderSummaryCollection.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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.DelegateAccessControl.outputs.GetServiceProvidersServiceProviderSummaryCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetServiceProvidersServiceProviderSummaryCollection { + private List items; + + private GetServiceProvidersServiceProviderSummaryCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServiceProvidersServiceProviderSummaryCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetServiceProvidersServiceProviderSummaryCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetServiceProvidersServiceProviderSummaryCollectionItem... items) { + return items(List.of(items)); + } + public GetServiceProvidersServiceProviderSummaryCollection build() { + final var _resultValue = new GetServiceProvidersServiceProviderSummaryCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersServiceProviderSummaryCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersServiceProviderSummaryCollectionItem.java new file mode 100644 index 0000000000..33b9c9ac84 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DelegateAccessControl/outputs/GetServiceProvidersServiceProviderSummaryCollectionItem.java @@ -0,0 +1,365 @@ +// *** 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.DelegateAccessControl.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetServiceProvidersServiceProviderSummaryCollectionItem { + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + private String compartmentId; + /** + * @return 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"}` + * + */ + private Map definedTags; + /** + * @return Description of the Service Provider. + * + */ + private String description; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return Unique identifier for the Service Provider. + * + */ + private String id; + /** + * @return Description of the current lifecycle state in more detail. + * + */ + private String lifecycleStateDetails; + /** + * @return A filter to return Service Provider resources that match the given name. + * + */ + private String name; + /** + * @return A filter to return only Service Provider resources whose provider type matches the given provider type. + * + */ + private String serviceProviderType; + /** + * @return Types of services offered by this provider. + * + */ + private List serviceTypes; + /** + * @return A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + * + */ + private String state; + /** + * @return Resource types for which this provider will provide service. Default to all if not specified. + * + */ + private List supportedResourceTypes; + /** + * @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 Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeCreated; + /** + * @return Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + private String timeUpdated; + + private GetServiceProvidersServiceProviderSummaryCollectionItem() {} + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + /** + * @return Description of the Service Provider. + * + */ + public String description() { + return this.description; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return Unique identifier for the Service Provider. + * + */ + public String id() { + return this.id; + } + /** + * @return Description of the current lifecycle state in more detail. + * + */ + public String lifecycleStateDetails() { + return this.lifecycleStateDetails; + } + /** + * @return A filter to return Service Provider resources that match the given name. + * + */ + public String name() { + return this.name; + } + /** + * @return A filter to return only Service Provider resources whose provider type matches the given provider type. + * + */ + public String serviceProviderType() { + return this.serviceProviderType; + } + /** + * @return Types of services offered by this provider. + * + */ + public List serviceTypes() { + return this.serviceTypes; + } + /** + * @return A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + * + */ + public String state() { + return this.state; + } + /** + * @return Resource types for which this provider will provide service. Default to all if not specified. + * + */ + public List supportedResourceTypes() { + return this.supportedResourceTypes; + } + /** + * @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 Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetServiceProvidersServiceProviderSummaryCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String description; + private Map freeformTags; + private String id; + private String lifecycleStateDetails; + private String name; + private String serviceProviderType; + private List serviceTypes; + private String state; + private List supportedResourceTypes; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetServiceProvidersServiceProviderSummaryCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.lifecycleStateDetails = defaults.lifecycleStateDetails; + this.name = defaults.name; + this.serviceProviderType = defaults.serviceProviderType; + this.serviceTypes = defaults.serviceTypes; + this.state = defaults.state; + this.supportedResourceTypes = defaults.supportedResourceTypes; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder lifecycleStateDetails(String lifecycleStateDetails) { + if (lifecycleStateDetails == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "lifecycleStateDetails"); + } + this.lifecycleStateDetails = lifecycleStateDetails; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder serviceProviderType(String serviceProviderType) { + if (serviceProviderType == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "serviceProviderType"); + } + this.serviceProviderType = serviceProviderType; + return this; + } + @CustomType.Setter + public Builder serviceTypes(List serviceTypes) { + if (serviceTypes == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "serviceTypes"); + } + this.serviceTypes = serviceTypes; + return this; + } + public Builder serviceTypes(String... serviceTypes) { + return serviceTypes(List.of(serviceTypes)); + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder supportedResourceTypes(List supportedResourceTypes) { + if (supportedResourceTypes == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "supportedResourceTypes"); + } + this.supportedResourceTypes = supportedResourceTypes; + return this; + } + public Builder supportedResourceTypes(String... supportedResourceTypes) { + return supportedResourceTypes(List.of(supportedResourceTypes)); + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + if (systemTags == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "systemTags"); + } + this.systemTags = systemTags; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + if (timeUpdated == null) { + throw new MissingRequiredPropertyException("GetServiceProvidersServiceProviderSummaryCollectionItem", "timeUpdated"); + } + this.timeUpdated = timeUpdated; + return this; + } + public GetServiceProvidersServiceProviderSummaryCollectionItem build() { + final var _resultValue = new GetServiceProvidersServiceProviderSummaryCollectionItem(); + _resultValue.compartmentId = compartmentId; + _resultValue.definedTags = definedTags; + _resultValue.description = description; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.lifecycleStateDetails = lifecycleStateDetails; + _resultValue.name = name; + _resultValue.serviceProviderType = serviceProviderType; + _resultValue.serviceTypes = serviceTypes; + _resultValue.state = state; + _resultValue.supportedResourceTypes = supportedResourceTypes; + _resultValue.systemTags = systemTags; + _resultValue.timeCreated = timeCreated; + _resultValue.timeUpdated = timeUpdated; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/DesktopPool.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/DesktopPool.java new file mode 100644 index 0000000000..35de123ee6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/DesktopPool.java @@ -0,0 +1,523 @@ +// *** 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.Desktops; + +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.Desktops.DesktopPoolArgs; +import com.pulumi.oci.Desktops.inputs.DesktopPoolState; +import com.pulumi.oci.Desktops.outputs.DesktopPoolAvailabilityPolicy; +import com.pulumi.oci.Desktops.outputs.DesktopPoolDevicePolicy; +import com.pulumi.oci.Desktops.outputs.DesktopPoolImage; +import com.pulumi.oci.Desktops.outputs.DesktopPoolNetworkConfiguration; +import com.pulumi.oci.Utilities; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import javax.annotation.Nullable; + +/** + * This resource provides the Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + * + * Creates a desktop pool with the given configuration parameters. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+ * {@code
+ * package generated_program;
+ * 
+ * import com.pulumi.Context;
+ * import com.pulumi.Pulumi;
+ * import com.pulumi.core.Output;
+ * import com.pulumi.oci.Desktops.DesktopPool;
+ * import com.pulumi.oci.Desktops.DesktopPoolArgs;
+ * import com.pulumi.oci.Desktops.inputs.DesktopPoolAvailabilityPolicyArgs;
+ * import com.pulumi.oci.Desktops.inputs.DesktopPoolAvailabilityPolicyStartScheduleArgs;
+ * import com.pulumi.oci.Desktops.inputs.DesktopPoolAvailabilityPolicyStopScheduleArgs;
+ * import com.pulumi.oci.Desktops.inputs.DesktopPoolDevicePolicyArgs;
+ * import com.pulumi.oci.Desktops.inputs.DesktopPoolImageArgs;
+ * import com.pulumi.oci.Desktops.inputs.DesktopPoolNetworkConfigurationArgs;
+ * 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 testDesktopPool = new DesktopPool("testDesktopPool", DesktopPoolArgs.builder()
+ *             .arePrivilegedUsers(desktopPoolArePrivilegedUsers)
+ *             .availabilityDomain(desktopPoolAvailabilityDomain)
+ *             .availabilityPolicy(DesktopPoolAvailabilityPolicyArgs.builder()
+ *                 .startSchedule(DesktopPoolAvailabilityPolicyStartScheduleArgs.builder()
+ *                     .cronExpression("0 10 8 ? * 2")
+ *                     .timezone("America/Denver")
+ *                     .build())
+ *                 .stopSchedule(DesktopPoolAvailabilityPolicyStopScheduleArgs.builder()
+ *                     .cronExpression("0 20 18 ? * 6")
+ *                     .timezone("America/Denver")
+ *                     .build())
+ *                 .build())
+ *             .compartmentId(compartmentId)
+ *             .contactDetails(desktopPoolContactDetails)
+ *             .devicePolicy(DesktopPoolDevicePolicyArgs.builder()
+ *                 .audioMode(desktopPoolDevicePolicyAudioMode)
+ *                 .cdmMode(desktopPoolDevicePolicyCdmMode)
+ *                 .clipboardMode(desktopPoolDevicePolicyClipboardMode)
+ *                 .isDisplayEnabled(desktopPoolDevicePolicyIsDisplayEnabled)
+ *                 .isKeyboardEnabled(desktopPoolDevicePolicyIsKeyboardEnabled)
+ *                 .isPointerEnabled(desktopPoolDevicePolicyIsPointerEnabled)
+ *                 .isPrintingEnabled(desktopPoolDevicePolicyIsPrintingEnabled)
+ *                 .build())
+ *             .displayName(desktopPoolDisplayName)
+ *             .image(DesktopPoolImageArgs.builder()
+ *                 .imageId(testImage.id())
+ *                 .imageName(desktopPoolImageImageName)
+ *                 .build())
+ *             .isStorageEnabled(desktopPoolIsStorageEnabled)
+ *             .maximumSize(desktopPoolMaximumSize)
+ *             .networkConfiguration(DesktopPoolNetworkConfigurationArgs.builder()
+ *                 .subnetId(testSubnet.id())
+ *                 .vcnId(testVcn.id())
+ *                 .build())
+ *             .shapeName("VM.Standard.E4.Flex")
+ *             .standbySize(desktopPoolStandbySize)
+ *             .storageBackupPolicyId("ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz")
+ *             .storageSizeInGbs(desktopPoolStorageSizeInGbs)
+ *             .definedTags(Map.of("Operations.CostCenter", "42"))
+ *             .description(desktopPoolDescription)
+ *             .freeformTags(Map.of("Department", "Finance"))
+ *             .nsgIds(desktopPoolNsgIds)
+ *             .timeStartScheduled(desktopPoolTimeStartScheduled)
+ *             .timeStopScheduled(desktopPoolTimeStopScheduled)
+ *             .build());
+ * 
+ *     }
+ * }
+ * }
+ * 
+ * <!--End PulumiCodeChooser --> + * + * ## Import + * + * DesktopPools can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:Desktops/desktopPool:DesktopPool test_desktop_pool "id" + * ``` + * + */ +@ResourceType(type="oci:Desktops/desktopPool:DesktopPool") +public class DesktopPool extends com.pulumi.resources.CustomResource { + /** + * The number of active desktops in the desktop pool. + * + */ + @Export(name="activeDesktops", refs={Integer.class}, tree="[0]") + private Output activeDesktops; + + /** + * @return The number of active desktops in the desktop pool. + * + */ + public Output activeDesktops() { + return this.activeDesktops; + } + /** + * Indicates whether desktop pool users have administrative privileges on their desktop. + * + */ + @Export(name="arePrivilegedUsers", refs={Boolean.class}, tree="[0]") + private Output arePrivilegedUsers; + + /** + * @return Indicates whether desktop pool users have administrative privileges on their desktop. + * + */ + public Output arePrivilegedUsers() { + return this.arePrivilegedUsers; + } + /** + * The availability domain of the desktop pool. + * + */ + @Export(name="availabilityDomain", refs={String.class}, tree="[0]") + private Output availabilityDomain; + + /** + * @return The availability domain of the desktop pool. + * + */ + public Output availabilityDomain() { + return this.availabilityDomain; + } + /** + * (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + * + */ + @Export(name="availabilityPolicy", refs={DesktopPoolAvailabilityPolicy.class}, tree="[0]") + private Output availabilityPolicy; + + /** + * @return (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + * + */ + public Output availabilityPolicy() { + return this.availabilityPolicy; + } + /** + * (Updatable) The OCID of the compartment which will contain the desktop pool. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return (Updatable) The OCID of the compartment which will contain the desktop pool. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + /** + * (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + * + */ + @Export(name="contactDetails", refs={String.class}, tree="[0]") + private Output contactDetails; + + /** + * @return (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + * + */ + public Output contactDetails() { + return this.contactDetails; + } + /** + * (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"}` + * + */ + @Export(name="definedTags", refs={Map.class,String.class}, tree="[0,1,1]") + private Output> definedTags; + + /** + * @return (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 Output> definedTags() { + return this.definedTags; + } + /** + * (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + */ + public Output description() { + return this.description; + } + /** + * (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + @Export(name="devicePolicy", refs={DesktopPoolDevicePolicy.class}, tree="[0]") + private Output devicePolicy; + + /** + * @return (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + public Output devicePolicy() { + return this.devicePolicy; + } + /** + * (Updatable) A user friendly display name. Avoid entering confidential information. + * + */ + @Export(name="displayName", refs={String.class}, tree="[0]") + private Output displayName; + + /** + * @return (Updatable) A user friendly display name. Avoid entering confidential information. + * + */ + public Output displayName() { + return this.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"}` + * + */ + @Export(name="freeformTags", refs={Map.class,String.class}, tree="[0,1,1]") + 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. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + public Output> freeformTags() { + return this.freeformTags; + } + /** + * Provides information about the desktop image. + * + */ + @Export(name="image", refs={DesktopPoolImage.class}, tree="[0]") + private Output image; + + /** + * @return Provides information about the desktop image. + * + */ + public Output image() { + return this.image; + } + /** + * Indicates whether storage is enabled for the desktop pool. + * + */ + @Export(name="isStorageEnabled", refs={Boolean.class}, tree="[0]") + private Output isStorageEnabled; + + /** + * @return Indicates whether storage is enabled for the desktop pool. + * + */ + public Output isStorageEnabled() { + return this.isStorageEnabled; + } + /** + * (Updatable) The maximum number of desktops permitted in the desktop pool. + * + */ + @Export(name="maximumSize", refs={Integer.class}, tree="[0]") + private Output maximumSize; + + /** + * @return (Updatable) The maximum number of desktops permitted in the desktop pool. + * + */ + public Output maximumSize() { + return this.maximumSize; + } + /** + * Provides information about the network configuration of the desktop pool. + * + */ + @Export(name="networkConfiguration", refs={DesktopPoolNetworkConfiguration.class}, tree="[0]") + private Output networkConfiguration; + + /** + * @return Provides information about the network configuration of the desktop pool. + * + */ + public Output networkConfiguration() { + return this.networkConfiguration; + } + /** + * A list of network security groups for the desktop pool. + * + */ + @Export(name="nsgIds", refs={List.class,String.class}, tree="[0,1]") + private Output> nsgIds; + + /** + * @return A list of network security groups for the desktop pool. + * + */ + public Output>> nsgIds() { + return Codegen.optional(this.nsgIds); + } + /** + * The shape of the desktop pool. + * + */ + @Export(name="shapeName", refs={String.class}, tree="[0]") + private Output shapeName; + + /** + * @return The shape of the desktop pool. + * + */ + public Output shapeName() { + return this.shapeName; + } + /** + * (Updatable) The maximum number of standby desktops available in the desktop pool. + * + */ + @Export(name="standbySize", refs={Integer.class}, tree="[0]") + private Output standbySize; + + /** + * @return (Updatable) The maximum number of standby desktops available in the desktop pool. + * + */ + public Output standbySize() { + return this.standbySize; + } + /** + * The current state of the desktop pool. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The current state of the desktop pool. + * + */ + public Output state() { + return this.state; + } + /** + * The backup policy OCID of the storage. + * + */ + @Export(name="storageBackupPolicyId", refs={String.class}, tree="[0]") + private Output storageBackupPolicyId; + + /** + * @return The backup policy OCID of the storage. + * + */ + public Output storageBackupPolicyId() { + return this.storageBackupPolicyId; + } + /** + * The size in GBs of the storage for the desktop pool. + * + */ + @Export(name="storageSizeInGbs", refs={Integer.class}, tree="[0]") + private Output storageSizeInGbs; + + /** + * @return The size in GBs of the storage for the desktop pool. + * + */ + public Output storageSizeInGbs() { + return this.storageSizeInGbs; + } + /** + * The date and time the resource was created. + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return The date and time the resource was created. + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * (Updatable) The start time of the desktop pool. + * + */ + @Export(name="timeStartScheduled", refs={String.class}, tree="[0]") + private Output timeStartScheduled; + + /** + * @return (Updatable) The start time of the desktop pool. + * + */ + public Output> timeStartScheduled() { + return Codegen.optional(this.timeStartScheduled); + } + /** + * (Updatable) The stop time of the desktop pool. + * + * ** IMPORTANT ** + * 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="timeStopScheduled", refs={String.class}, tree="[0]") + private Output timeStopScheduled; + + /** + * @return (Updatable) The stop time of the desktop pool. + * + * ** IMPORTANT ** + * 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> timeStopScheduled() { + return Codegen.optional(this.timeStopScheduled); + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public DesktopPool(java.lang.String name) { + this(name, DesktopPoolArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public DesktopPool(java.lang.String name, DesktopPoolArgs 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 DesktopPool(java.lang.String name, DesktopPoolArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:Desktops/desktopPool:DesktopPool", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); + } + + private DesktopPool(java.lang.String name, Output id, @Nullable DesktopPoolState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:Desktops/desktopPool:DesktopPool", name, state, makeResourceOptions(options, id), false); + } + + private static DesktopPoolArgs makeArgs(DesktopPoolArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + if (options != null && options.getUrn().isPresent()) { + return null; + } + return args == null ? DesktopPoolArgs.Empty : args; + } + + 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 DesktopPool get(java.lang.String name, Output id, @Nullable DesktopPoolState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new DesktopPool(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/DesktopPoolArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/DesktopPoolArgs.java new file mode 100644 index 0000000000..6c482f2d61 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/DesktopPoolArgs.java @@ -0,0 +1,899 @@ +// *** 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.Desktops; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.inputs.DesktopPoolAvailabilityPolicyArgs; +import com.pulumi.oci.Desktops.inputs.DesktopPoolDevicePolicyArgs; +import com.pulumi.oci.Desktops.inputs.DesktopPoolImageArgs; +import com.pulumi.oci.Desktops.inputs.DesktopPoolNetworkConfigurationArgs; +import java.lang.Boolean; +import java.lang.Integer; +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 DesktopPoolArgs extends com.pulumi.resources.ResourceArgs { + + public static final DesktopPoolArgs Empty = new DesktopPoolArgs(); + + /** + * Indicates whether desktop pool users have administrative privileges on their desktop. + * + */ + @Import(name="arePrivilegedUsers", required=true) + private Output arePrivilegedUsers; + + /** + * @return Indicates whether desktop pool users have administrative privileges on their desktop. + * + */ + public Output arePrivilegedUsers() { + return this.arePrivilegedUsers; + } + + /** + * The availability domain of the desktop pool. + * + */ + @Import(name="availabilityDomain", required=true) + private Output availabilityDomain; + + /** + * @return The availability domain of the desktop pool. + * + */ + public Output availabilityDomain() { + return this.availabilityDomain; + } + + /** + * (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + * + */ + @Import(name="availabilityPolicy", required=true) + private Output availabilityPolicy; + + /** + * @return (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + * + */ + public Output availabilityPolicy() { + return this.availabilityPolicy; + } + + /** + * (Updatable) The OCID of the compartment which will contain the desktop pool. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return (Updatable) The OCID of the compartment which will contain the desktop pool. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + * + */ + @Import(name="contactDetails", required=true) + private Output contactDetails; + + /** + * @return (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + * + */ + public Output contactDetails() { + return this.contactDetails; + } + + /** + * (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"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (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 Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + @Import(name="devicePolicy", required=true) + private Output devicePolicy; + + /** + * @return (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + public Output devicePolicy() { + return this.devicePolicy; + } + + /** + * (Updatable) A user friendly display name. Avoid entering confidential information. + * + */ + @Import(name="displayName", required=true) + private Output displayName; + + /** + * @return (Updatable) A user friendly display name. Avoid entering confidential information. + * + */ + public Output displayName() { + return this.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"}` + * + */ + @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. For more information, 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); + } + + /** + * Provides information about the desktop image. + * + */ + @Import(name="image", required=true) + private Output image; + + /** + * @return Provides information about the desktop image. + * + */ + public Output image() { + return this.image; + } + + /** + * Indicates whether storage is enabled for the desktop pool. + * + */ + @Import(name="isStorageEnabled", required=true) + private Output isStorageEnabled; + + /** + * @return Indicates whether storage is enabled for the desktop pool. + * + */ + public Output isStorageEnabled() { + return this.isStorageEnabled; + } + + /** + * (Updatable) The maximum number of desktops permitted in the desktop pool. + * + */ + @Import(name="maximumSize", required=true) + private Output maximumSize; + + /** + * @return (Updatable) The maximum number of desktops permitted in the desktop pool. + * + */ + public Output maximumSize() { + return this.maximumSize; + } + + /** + * Provides information about the network configuration of the desktop pool. + * + */ + @Import(name="networkConfiguration", required=true) + private Output networkConfiguration; + + /** + * @return Provides information about the network configuration of the desktop pool. + * + */ + public Output networkConfiguration() { + return this.networkConfiguration; + } + + /** + * A list of network security groups for the desktop pool. + * + */ + @Import(name="nsgIds") + private @Nullable Output> nsgIds; + + /** + * @return A list of network security groups for the desktop pool. + * + */ + public Optional>> nsgIds() { + return Optional.ofNullable(this.nsgIds); + } + + /** + * The shape of the desktop pool. + * + */ + @Import(name="shapeName", required=true) + private Output shapeName; + + /** + * @return The shape of the desktop pool. + * + */ + public Output shapeName() { + return this.shapeName; + } + + /** + * (Updatable) The maximum number of standby desktops available in the desktop pool. + * + */ + @Import(name="standbySize", required=true) + private Output standbySize; + + /** + * @return (Updatable) The maximum number of standby desktops available in the desktop pool. + * + */ + public Output standbySize() { + return this.standbySize; + } + + /** + * The backup policy OCID of the storage. + * + */ + @Import(name="storageBackupPolicyId", required=true) + private Output storageBackupPolicyId; + + /** + * @return The backup policy OCID of the storage. + * + */ + public Output storageBackupPolicyId() { + return this.storageBackupPolicyId; + } + + /** + * The size in GBs of the storage for the desktop pool. + * + */ + @Import(name="storageSizeInGbs", required=true) + private Output storageSizeInGbs; + + /** + * @return The size in GBs of the storage for the desktop pool. + * + */ + public Output storageSizeInGbs() { + return this.storageSizeInGbs; + } + + /** + * (Updatable) The start time of the desktop pool. + * + */ + @Import(name="timeStartScheduled") + private @Nullable Output timeStartScheduled; + + /** + * @return (Updatable) The start time of the desktop pool. + * + */ + public Optional> timeStartScheduled() { + return Optional.ofNullable(this.timeStartScheduled); + } + + /** + * (Updatable) The stop time of the desktop pool. + * + * ** IMPORTANT ** + * 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="timeStopScheduled") + private @Nullable Output timeStopScheduled; + + /** + * @return (Updatable) The stop time of the desktop pool. + * + * ** IMPORTANT ** + * 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> timeStopScheduled() { + return Optional.ofNullable(this.timeStopScheduled); + } + + private DesktopPoolArgs() {} + + private DesktopPoolArgs(DesktopPoolArgs $) { + this.arePrivilegedUsers = $.arePrivilegedUsers; + this.availabilityDomain = $.availabilityDomain; + this.availabilityPolicy = $.availabilityPolicy; + this.compartmentId = $.compartmentId; + this.contactDetails = $.contactDetails; + this.definedTags = $.definedTags; + this.description = $.description; + this.devicePolicy = $.devicePolicy; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.image = $.image; + this.isStorageEnabled = $.isStorageEnabled; + this.maximumSize = $.maximumSize; + this.networkConfiguration = $.networkConfiguration; + this.nsgIds = $.nsgIds; + this.shapeName = $.shapeName; + this.standbySize = $.standbySize; + this.storageBackupPolicyId = $.storageBackupPolicyId; + this.storageSizeInGbs = $.storageSizeInGbs; + this.timeStartScheduled = $.timeStartScheduled; + this.timeStopScheduled = $.timeStopScheduled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DesktopPoolArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DesktopPoolArgs $; + + public Builder() { + $ = new DesktopPoolArgs(); + } + + public Builder(DesktopPoolArgs defaults) { + $ = new DesktopPoolArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param arePrivilegedUsers Indicates whether desktop pool users have administrative privileges on their desktop. + * + * @return builder + * + */ + public Builder arePrivilegedUsers(Output arePrivilegedUsers) { + $.arePrivilegedUsers = arePrivilegedUsers; + return this; + } + + /** + * @param arePrivilegedUsers Indicates whether desktop pool users have administrative privileges on their desktop. + * + * @return builder + * + */ + public Builder arePrivilegedUsers(Boolean arePrivilegedUsers) { + return arePrivilegedUsers(Output.of(arePrivilegedUsers)); + } + + /** + * @param availabilityDomain The availability domain of the desktop pool. + * + * @return builder + * + */ + public Builder availabilityDomain(Output availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param availabilityDomain The availability domain of the desktop pool. + * + * @return builder + * + */ + public Builder availabilityDomain(String availabilityDomain) { + return availabilityDomain(Output.of(availabilityDomain)); + } + + /** + * @param availabilityPolicy (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + * + * @return builder + * + */ + public Builder availabilityPolicy(Output availabilityPolicy) { + $.availabilityPolicy = availabilityPolicy; + return this; + } + + /** + * @param availabilityPolicy (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + * + * @return builder + * + */ + public Builder availabilityPolicy(DesktopPoolAvailabilityPolicyArgs availabilityPolicy) { + return availabilityPolicy(Output.of(availabilityPolicy)); + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment which will contain the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment which will contain the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param contactDetails (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder contactDetails(Output contactDetails) { + $.contactDetails = contactDetails; + return this; + } + + /** + * @param contactDetails (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder contactDetails(String contactDetails) { + return contactDetails(Output.of(contactDetails)); + } + + /** + * @param definedTags (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"}` + * + * @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. For more information, 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 providing additional information about the resource. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param devicePolicy (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + * @return builder + * + */ + public Builder devicePolicy(Output devicePolicy) { + $.devicePolicy = devicePolicy; + return this; + } + + /** + * @param devicePolicy (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + * @return builder + * + */ + public Builder devicePolicy(DesktopPoolDevicePolicyArgs devicePolicy) { + return devicePolicy(Output.of(devicePolicy)); + } + + /** + * @param displayName (Updatable) A user friendly display name. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) A user friendly display name. 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. For more information, 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. For more information, 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 image Provides information about the desktop image. + * + * @return builder + * + */ + public Builder image(Output image) { + $.image = image; + return this; + } + + /** + * @param image Provides information about the desktop image. + * + * @return builder + * + */ + public Builder image(DesktopPoolImageArgs image) { + return image(Output.of(image)); + } + + /** + * @param isStorageEnabled Indicates whether storage is enabled for the desktop pool. + * + * @return builder + * + */ + public Builder isStorageEnabled(Output isStorageEnabled) { + $.isStorageEnabled = isStorageEnabled; + return this; + } + + /** + * @param isStorageEnabled Indicates whether storage is enabled for the desktop pool. + * + * @return builder + * + */ + public Builder isStorageEnabled(Boolean isStorageEnabled) { + return isStorageEnabled(Output.of(isStorageEnabled)); + } + + /** + * @param maximumSize (Updatable) The maximum number of desktops permitted in the desktop pool. + * + * @return builder + * + */ + public Builder maximumSize(Output maximumSize) { + $.maximumSize = maximumSize; + return this; + } + + /** + * @param maximumSize (Updatable) The maximum number of desktops permitted in the desktop pool. + * + * @return builder + * + */ + public Builder maximumSize(Integer maximumSize) { + return maximumSize(Output.of(maximumSize)); + } + + /** + * @param networkConfiguration Provides information about the network configuration of the desktop pool. + * + * @return builder + * + */ + public Builder networkConfiguration(Output networkConfiguration) { + $.networkConfiguration = networkConfiguration; + return this; + } + + /** + * @param networkConfiguration Provides information about the network configuration of the desktop pool. + * + * @return builder + * + */ + public Builder networkConfiguration(DesktopPoolNetworkConfigurationArgs networkConfiguration) { + return networkConfiguration(Output.of(networkConfiguration)); + } + + /** + * @param nsgIds A list of network security groups for the desktop pool. + * + * @return builder + * + */ + public Builder nsgIds(@Nullable Output> nsgIds) { + $.nsgIds = nsgIds; + return this; + } + + /** + * @param nsgIds A list of network security groups for the desktop pool. + * + * @return builder + * + */ + public Builder nsgIds(List nsgIds) { + return nsgIds(Output.of(nsgIds)); + } + + /** + * @param nsgIds A list of network security groups for the desktop pool. + * + * @return builder + * + */ + public Builder nsgIds(String... nsgIds) { + return nsgIds(List.of(nsgIds)); + } + + /** + * @param shapeName The shape of the desktop pool. + * + * @return builder + * + */ + public Builder shapeName(Output shapeName) { + $.shapeName = shapeName; + return this; + } + + /** + * @param shapeName The shape of the desktop pool. + * + * @return builder + * + */ + public Builder shapeName(String shapeName) { + return shapeName(Output.of(shapeName)); + } + + /** + * @param standbySize (Updatable) The maximum number of standby desktops available in the desktop pool. + * + * @return builder + * + */ + public Builder standbySize(Output standbySize) { + $.standbySize = standbySize; + return this; + } + + /** + * @param standbySize (Updatable) The maximum number of standby desktops available in the desktop pool. + * + * @return builder + * + */ + public Builder standbySize(Integer standbySize) { + return standbySize(Output.of(standbySize)); + } + + /** + * @param storageBackupPolicyId The backup policy OCID of the storage. + * + * @return builder + * + */ + public Builder storageBackupPolicyId(Output storageBackupPolicyId) { + $.storageBackupPolicyId = storageBackupPolicyId; + return this; + } + + /** + * @param storageBackupPolicyId The backup policy OCID of the storage. + * + * @return builder + * + */ + public Builder storageBackupPolicyId(String storageBackupPolicyId) { + return storageBackupPolicyId(Output.of(storageBackupPolicyId)); + } + + /** + * @param storageSizeInGbs The size in GBs of the storage for the desktop pool. + * + * @return builder + * + */ + public Builder storageSizeInGbs(Output storageSizeInGbs) { + $.storageSizeInGbs = storageSizeInGbs; + return this; + } + + /** + * @param storageSizeInGbs The size in GBs of the storage for the desktop pool. + * + * @return builder + * + */ + public Builder storageSizeInGbs(Integer storageSizeInGbs) { + return storageSizeInGbs(Output.of(storageSizeInGbs)); + } + + /** + * @param timeStartScheduled (Updatable) The start time of the desktop pool. + * + * @return builder + * + */ + public Builder timeStartScheduled(@Nullable Output timeStartScheduled) { + $.timeStartScheduled = timeStartScheduled; + return this; + } + + /** + * @param timeStartScheduled (Updatable) The start time of the desktop pool. + * + * @return builder + * + */ + public Builder timeStartScheduled(String timeStartScheduled) { + return timeStartScheduled(Output.of(timeStartScheduled)); + } + + /** + * @param timeStopScheduled (Updatable) The stop time of the desktop pool. + * + * ** IMPORTANT ** + * 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 timeStopScheduled(@Nullable Output timeStopScheduled) { + $.timeStopScheduled = timeStopScheduled; + return this; + } + + /** + * @param timeStopScheduled (Updatable) The stop time of the desktop pool. + * + * ** IMPORTANT ** + * 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 timeStopScheduled(String timeStopScheduled) { + return timeStopScheduled(Output.of(timeStopScheduled)); + } + + public DesktopPoolArgs build() { + if ($.arePrivilegedUsers == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "arePrivilegedUsers"); + } + if ($.availabilityDomain == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "availabilityDomain"); + } + if ($.availabilityPolicy == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "availabilityPolicy"); + } + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "compartmentId"); + } + if ($.contactDetails == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "contactDetails"); + } + if ($.devicePolicy == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "devicePolicy"); + } + if ($.displayName == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "displayName"); + } + if ($.image == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "image"); + } + if ($.isStorageEnabled == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "isStorageEnabled"); + } + if ($.maximumSize == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "maximumSize"); + } + if ($.networkConfiguration == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "networkConfiguration"); + } + if ($.shapeName == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "shapeName"); + } + if ($.standbySize == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "standbySize"); + } + if ($.storageBackupPolicyId == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "storageBackupPolicyId"); + } + if ($.storageSizeInGbs == null) { + throw new MissingRequiredPropertyException("DesktopPoolArgs", "storageSizeInGbs"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/DesktopsFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/DesktopsFunctions.java new file mode 100644 index 0000000000..79b9706e55 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/DesktopsFunctions.java @@ -0,0 +1,1164 @@ +// *** 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.Desktops; + +import com.pulumi.core.Output; +import com.pulumi.core.TypeShape; +import com.pulumi.deployment.Deployment; +import com.pulumi.deployment.InvokeOptions; +import com.pulumi.oci.Desktops.inputs.GetDesktopArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopPlainArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolDesktopsArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolDesktopsPlainArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolPlainArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolVolumesArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolVolumesPlainArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolsArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolsPlainArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopsArgs; +import com.pulumi.oci.Desktops.inputs.GetDesktopsPlainArgs; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolDesktopsResult; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolResult; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolVolumesResult; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolsResult; +import com.pulumi.oci.Desktops.outputs.GetDesktopResult; +import com.pulumi.oci.Desktops.outputs.GetDesktopsResult; +import com.pulumi.oci.Utilities; +import java.util.concurrent.CompletableFuture; + +public final class DesktopsFunctions { + /** + * This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service. + * + * Provides information about the desktop with the specified OCID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopArgs;
+     * 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 testDesktop = DesktopsFunctions.getDesktop(GetDesktopArgs.builder()
+     *             .desktopId(testDesktopOciDesktopsDesktop.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktop(GetDesktopArgs args) { + return getDesktop(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service. + * + * Provides information about the desktop with the specified OCID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopArgs;
+     * 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 testDesktop = DesktopsFunctions.getDesktop(GetDesktopArgs.builder()
+     *             .desktopId(testDesktopOciDesktopsDesktop.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopPlain(GetDesktopPlainArgs args) { + return getDesktopPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service. + * + * Provides information about the desktop with the specified OCID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopArgs;
+     * 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 testDesktop = DesktopsFunctions.getDesktop(GetDesktopArgs.builder()
+     *             .desktopId(testDesktopOciDesktopsDesktop.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktop(GetDesktopArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Desktops/getDesktop:getDesktop", TypeShape.of(GetDesktopResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service. + * + * Provides information about the desktop with the specified OCID. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopArgs;
+     * 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 testDesktop = DesktopsFunctions.getDesktop(GetDesktopArgs.builder()
+     *             .desktopId(testDesktopOciDesktopsDesktop.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopPlain(GetDesktopPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Desktops/getDesktop:getDesktop", TypeShape.of(GetDesktopResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + * + * Returns information about the desktop pool including all configuration parameters and the current state. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolArgs;
+     * 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 testDesktopPool = DesktopsFunctions.getDesktopPool(GetDesktopPoolArgs.builder()
+     *             .desktopPoolId(testDesktopPoolOciDesktopsDesktopPool.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktopPool(GetDesktopPoolArgs args) { + return getDesktopPool(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + * + * Returns information about the desktop pool including all configuration parameters and the current state. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolArgs;
+     * 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 testDesktopPool = DesktopsFunctions.getDesktopPool(GetDesktopPoolArgs.builder()
+     *             .desktopPoolId(testDesktopPoolOciDesktopsDesktopPool.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopPoolPlain(GetDesktopPoolPlainArgs args) { + return getDesktopPoolPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + * + * Returns information about the desktop pool including all configuration parameters and the current state. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolArgs;
+     * 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 testDesktopPool = DesktopsFunctions.getDesktopPool(GetDesktopPoolArgs.builder()
+     *             .desktopPoolId(testDesktopPoolOciDesktopsDesktopPool.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktopPool(GetDesktopPoolArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Desktops/getDesktopPool:getDesktopPool", TypeShape.of(GetDesktopPoolResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + * + * Returns information about the desktop pool including all configuration parameters and the current state. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolArgs;
+     * 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 testDesktopPool = DesktopsFunctions.getDesktopPool(GetDesktopPoolArgs.builder()
+     *             .desktopPoolId(testDesktopPoolOciDesktopsDesktopPool.id())
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopPoolPlain(GetDesktopPoolPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Desktops/getDesktopPool:getDesktopPool", TypeShape.of(GetDesktopPoolResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolDesktopsArgs;
+     * 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 testDesktopPoolDesktops = DesktopsFunctions.getDesktopPoolDesktops(GetDesktopPoolDesktopsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .availabilityDomain(desktopPoolDesktopAvailabilityDomain)
+     *             .displayName(desktopPoolDesktopDisplayName)
+     *             .id(desktopPoolDesktopId)
+     *             .state(desktopPoolDesktopState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktopPoolDesktops(GetDesktopPoolDesktopsArgs args) { + return getDesktopPoolDesktops(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolDesktopsArgs;
+     * 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 testDesktopPoolDesktops = DesktopsFunctions.getDesktopPoolDesktops(GetDesktopPoolDesktopsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .availabilityDomain(desktopPoolDesktopAvailabilityDomain)
+     *             .displayName(desktopPoolDesktopDisplayName)
+     *             .id(desktopPoolDesktopId)
+     *             .state(desktopPoolDesktopState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopPoolDesktopsPlain(GetDesktopPoolDesktopsPlainArgs args) { + return getDesktopPoolDesktopsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolDesktopsArgs;
+     * 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 testDesktopPoolDesktops = DesktopsFunctions.getDesktopPoolDesktops(GetDesktopPoolDesktopsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .availabilityDomain(desktopPoolDesktopAvailabilityDomain)
+     *             .displayName(desktopPoolDesktopDisplayName)
+     *             .id(desktopPoolDesktopId)
+     *             .state(desktopPoolDesktopState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktopPoolDesktops(GetDesktopPoolDesktopsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Desktops/getDesktopPoolDesktops:getDesktopPoolDesktops", TypeShape.of(GetDesktopPoolDesktopsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolDesktopsArgs;
+     * 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 testDesktopPoolDesktops = DesktopsFunctions.getDesktopPoolDesktops(GetDesktopPoolDesktopsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .availabilityDomain(desktopPoolDesktopAvailabilityDomain)
+     *             .displayName(desktopPoolDesktopDisplayName)
+     *             .id(desktopPoolDesktopId)
+     *             .state(desktopPoolDesktopState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopPoolDesktopsPlain(GetDesktopPoolDesktopsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Desktops/getDesktopPoolDesktops:getDesktopPoolDesktops", TypeShape.of(GetDesktopPoolDesktopsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolVolumesArgs;
+     * 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 testDesktopPoolVolumes = DesktopsFunctions.getDesktopPoolVolumes(GetDesktopPoolVolumesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .availabilityDomain(desktopPoolVolumeAvailabilityDomain)
+     *             .displayName(desktopPoolVolumeDisplayName)
+     *             .id(desktopPoolVolumeId)
+     *             .state(desktopPoolVolumeState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktopPoolVolumes(GetDesktopPoolVolumesArgs args) { + return getDesktopPoolVolumes(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolVolumesArgs;
+     * 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 testDesktopPoolVolumes = DesktopsFunctions.getDesktopPoolVolumes(GetDesktopPoolVolumesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .availabilityDomain(desktopPoolVolumeAvailabilityDomain)
+     *             .displayName(desktopPoolVolumeDisplayName)
+     *             .id(desktopPoolVolumeId)
+     *             .state(desktopPoolVolumeState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopPoolVolumesPlain(GetDesktopPoolVolumesPlainArgs args) { + return getDesktopPoolVolumesPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolVolumesArgs;
+     * 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 testDesktopPoolVolumes = DesktopsFunctions.getDesktopPoolVolumes(GetDesktopPoolVolumesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .availabilityDomain(desktopPoolVolumeAvailabilityDomain)
+     *             .displayName(desktopPoolVolumeDisplayName)
+     *             .id(desktopPoolVolumeId)
+     *             .state(desktopPoolVolumeState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktopPoolVolumes(GetDesktopPoolVolumesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Desktops/getDesktopPoolVolumes:getDesktopPoolVolumes", TypeShape.of(GetDesktopPoolVolumesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolVolumesArgs;
+     * 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 testDesktopPoolVolumes = DesktopsFunctions.getDesktopPoolVolumes(GetDesktopPoolVolumesArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .availabilityDomain(desktopPoolVolumeAvailabilityDomain)
+     *             .displayName(desktopPoolVolumeDisplayName)
+     *             .id(desktopPoolVolumeId)
+     *             .state(desktopPoolVolumeState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopPoolVolumesPlain(GetDesktopPoolVolumesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Desktops/getDesktopPoolVolumes:getDesktopPoolVolumes", TypeShape.of(GetDesktopPoolVolumesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolsArgs;
+     * 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 testDesktopPools = DesktopsFunctions.getDesktopPools(GetDesktopPoolsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .availabilityDomain(desktopPoolAvailabilityDomain)
+     *             .displayName(desktopPoolDisplayName)
+     *             .id(desktopPoolId)
+     *             .state(desktopPoolState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktopPools(GetDesktopPoolsArgs args) { + return getDesktopPools(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolsArgs;
+     * 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 testDesktopPools = DesktopsFunctions.getDesktopPools(GetDesktopPoolsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .availabilityDomain(desktopPoolAvailabilityDomain)
+     *             .displayName(desktopPoolDisplayName)
+     *             .id(desktopPoolId)
+     *             .state(desktopPoolState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopPoolsPlain(GetDesktopPoolsPlainArgs args) { + return getDesktopPoolsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolsArgs;
+     * 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 testDesktopPools = DesktopsFunctions.getDesktopPools(GetDesktopPoolsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .availabilityDomain(desktopPoolAvailabilityDomain)
+     *             .displayName(desktopPoolDisplayName)
+     *             .id(desktopPoolId)
+     *             .state(desktopPoolState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktopPools(GetDesktopPoolsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Desktops/getDesktopPools:getDesktopPools", TypeShape.of(GetDesktopPoolsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopPoolsArgs;
+     * 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 testDesktopPools = DesktopsFunctions.getDesktopPools(GetDesktopPoolsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .availabilityDomain(desktopPoolAvailabilityDomain)
+     *             .displayName(desktopPoolDisplayName)
+     *             .id(desktopPoolId)
+     *             .state(desktopPoolState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopPoolsPlain(GetDesktopPoolsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Desktops/getDesktopPools:getDesktopPools", TypeShape.of(GetDesktopPoolsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopsArgs;
+     * 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 testDesktops = DesktopsFunctions.getDesktops(GetDesktopsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .availabilityDomain(desktopAvailabilityDomain)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .displayName(desktopDisplayName)
+     *             .id(desktopId)
+     *             .state(desktopState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktops(GetDesktopsArgs args) { + return getDesktops(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopsArgs;
+     * 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 testDesktops = DesktopsFunctions.getDesktops(GetDesktopsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .availabilityDomain(desktopAvailabilityDomain)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .displayName(desktopDisplayName)
+     *             .id(desktopId)
+     *             .state(desktopState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopsPlain(GetDesktopsPlainArgs args) { + return getDesktopsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopsArgs;
+     * 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 testDesktops = DesktopsFunctions.getDesktops(GetDesktopsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .availabilityDomain(desktopAvailabilityDomain)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .displayName(desktopDisplayName)
+     *             .id(desktopId)
+     *             .state(desktopState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static Output getDesktops(GetDesktopsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Desktops/getDesktops:getDesktops", TypeShape.of(GetDesktopsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + *
+     * {@code
+     * package generated_program;
+     * 
+     * import com.pulumi.Context;
+     * import com.pulumi.Pulumi;
+     * import com.pulumi.core.Output;
+     * import com.pulumi.oci.Desktops.DesktopsFunctions;
+     * import com.pulumi.oci.Desktops.inputs.GetDesktopsArgs;
+     * 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 testDesktops = DesktopsFunctions.getDesktops(GetDesktopsArgs.builder()
+     *             .compartmentId(compartmentId)
+     *             .availabilityDomain(desktopAvailabilityDomain)
+     *             .desktopPoolId(testDesktopPool.id())
+     *             .displayName(desktopDisplayName)
+     *             .id(desktopId)
+     *             .state(desktopState)
+     *             .build());
+     * 
+     *     }
+     * }
+     * }
+     * 
+ * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDesktopsPlain(GetDesktopsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Desktops/getDesktops:getDesktops", TypeShape.of(GetDesktopsResult.class), args, Utilities.withVersion(options)); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolAvailabilityPolicyArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolAvailabilityPolicyArgs.java new file mode 100644 index 0000000000..f3682bd467 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolAvailabilityPolicyArgs.java @@ -0,0 +1,126 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.inputs.DesktopPoolAvailabilityPolicyStartScheduleArgs; +import com.pulumi.oci.Desktops.inputs.DesktopPoolAvailabilityPolicyStopScheduleArgs; +import java.util.Objects; + + +public final class DesktopPoolAvailabilityPolicyArgs extends com.pulumi.resources.ResourceArgs { + + public static final DesktopPoolAvailabilityPolicyArgs Empty = new DesktopPoolAvailabilityPolicyArgs(); + + /** + * (Updatable) Provides the schedule information for a desktop. + * + */ + @Import(name="startSchedule", required=true) + private Output startSchedule; + + /** + * @return (Updatable) Provides the schedule information for a desktop. + * + */ + public Output startSchedule() { + return this.startSchedule; + } + + /** + * (Updatable) Provides the schedule information for a desktop. + * + */ + @Import(name="stopSchedule", required=true) + private Output stopSchedule; + + /** + * @return (Updatable) Provides the schedule information for a desktop. + * + */ + public Output stopSchedule() { + return this.stopSchedule; + } + + private DesktopPoolAvailabilityPolicyArgs() {} + + private DesktopPoolAvailabilityPolicyArgs(DesktopPoolAvailabilityPolicyArgs $) { + this.startSchedule = $.startSchedule; + this.stopSchedule = $.stopSchedule; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DesktopPoolAvailabilityPolicyArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DesktopPoolAvailabilityPolicyArgs $; + + public Builder() { + $ = new DesktopPoolAvailabilityPolicyArgs(); + } + + public Builder(DesktopPoolAvailabilityPolicyArgs defaults) { + $ = new DesktopPoolAvailabilityPolicyArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param startSchedule (Updatable) Provides the schedule information for a desktop. + * + * @return builder + * + */ + public Builder startSchedule(Output startSchedule) { + $.startSchedule = startSchedule; + return this; + } + + /** + * @param startSchedule (Updatable) Provides the schedule information for a desktop. + * + * @return builder + * + */ + public Builder startSchedule(DesktopPoolAvailabilityPolicyStartScheduleArgs startSchedule) { + return startSchedule(Output.of(startSchedule)); + } + + /** + * @param stopSchedule (Updatable) Provides the schedule information for a desktop. + * + * @return builder + * + */ + public Builder stopSchedule(Output stopSchedule) { + $.stopSchedule = stopSchedule; + return this; + } + + /** + * @param stopSchedule (Updatable) Provides the schedule information for a desktop. + * + * @return builder + * + */ + public Builder stopSchedule(DesktopPoolAvailabilityPolicyStopScheduleArgs stopSchedule) { + return stopSchedule(Output.of(stopSchedule)); + } + + public DesktopPoolAvailabilityPolicyArgs build() { + if ($.startSchedule == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicyArgs", "startSchedule"); + } + if ($.stopSchedule == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicyArgs", "stopSchedule"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolAvailabilityPolicyStartScheduleArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolAvailabilityPolicyStartScheduleArgs.java new file mode 100644 index 0000000000..eef5bdede1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolAvailabilityPolicyStartScheduleArgs.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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class DesktopPoolAvailabilityPolicyStartScheduleArgs extends com.pulumi.resources.ResourceArgs { + + public static final DesktopPoolAvailabilityPolicyStartScheduleArgs Empty = new DesktopPoolAvailabilityPolicyStartScheduleArgs(); + + /** + * (Updatable) A cron expression describing the desktop's schedule. + * + */ + @Import(name="cronExpression", required=true) + private Output cronExpression; + + /** + * @return (Updatable) A cron expression describing the desktop's schedule. + * + */ + public Output cronExpression() { + return this.cronExpression; + } + + /** + * (Updatable) The timezone of the desktop's schedule. + * + */ + @Import(name="timezone", required=true) + private Output timezone; + + /** + * @return (Updatable) The timezone of the desktop's schedule. + * + */ + public Output timezone() { + return this.timezone; + } + + private DesktopPoolAvailabilityPolicyStartScheduleArgs() {} + + private DesktopPoolAvailabilityPolicyStartScheduleArgs(DesktopPoolAvailabilityPolicyStartScheduleArgs $) { + this.cronExpression = $.cronExpression; + this.timezone = $.timezone; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DesktopPoolAvailabilityPolicyStartScheduleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DesktopPoolAvailabilityPolicyStartScheduleArgs $; + + public Builder() { + $ = new DesktopPoolAvailabilityPolicyStartScheduleArgs(); + } + + public Builder(DesktopPoolAvailabilityPolicyStartScheduleArgs defaults) { + $ = new DesktopPoolAvailabilityPolicyStartScheduleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cronExpression (Updatable) A cron expression describing the desktop's schedule. + * + * @return builder + * + */ + public Builder cronExpression(Output cronExpression) { + $.cronExpression = cronExpression; + return this; + } + + /** + * @param cronExpression (Updatable) A cron expression describing the desktop's schedule. + * + * @return builder + * + */ + public Builder cronExpression(String cronExpression) { + return cronExpression(Output.of(cronExpression)); + } + + /** + * @param timezone (Updatable) The timezone of the desktop's schedule. + * + * @return builder + * + */ + public Builder timezone(Output timezone) { + $.timezone = timezone; + return this; + } + + /** + * @param timezone (Updatable) The timezone of the desktop's schedule. + * + * @return builder + * + */ + public Builder timezone(String timezone) { + return timezone(Output.of(timezone)); + } + + public DesktopPoolAvailabilityPolicyStartScheduleArgs build() { + if ($.cronExpression == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicyStartScheduleArgs", "cronExpression"); + } + if ($.timezone == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicyStartScheduleArgs", "timezone"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolAvailabilityPolicyStopScheduleArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolAvailabilityPolicyStopScheduleArgs.java new file mode 100644 index 0000000000..41db96cb12 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolAvailabilityPolicyStopScheduleArgs.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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class DesktopPoolAvailabilityPolicyStopScheduleArgs extends com.pulumi.resources.ResourceArgs { + + public static final DesktopPoolAvailabilityPolicyStopScheduleArgs Empty = new DesktopPoolAvailabilityPolicyStopScheduleArgs(); + + /** + * (Updatable) A cron expression describing the desktop's schedule. + * + */ + @Import(name="cronExpression", required=true) + private Output cronExpression; + + /** + * @return (Updatable) A cron expression describing the desktop's schedule. + * + */ + public Output cronExpression() { + return this.cronExpression; + } + + /** + * (Updatable) The timezone of the desktop's schedule. + * + */ + @Import(name="timezone", required=true) + private Output timezone; + + /** + * @return (Updatable) The timezone of the desktop's schedule. + * + */ + public Output timezone() { + return this.timezone; + } + + private DesktopPoolAvailabilityPolicyStopScheduleArgs() {} + + private DesktopPoolAvailabilityPolicyStopScheduleArgs(DesktopPoolAvailabilityPolicyStopScheduleArgs $) { + this.cronExpression = $.cronExpression; + this.timezone = $.timezone; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DesktopPoolAvailabilityPolicyStopScheduleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DesktopPoolAvailabilityPolicyStopScheduleArgs $; + + public Builder() { + $ = new DesktopPoolAvailabilityPolicyStopScheduleArgs(); + } + + public Builder(DesktopPoolAvailabilityPolicyStopScheduleArgs defaults) { + $ = new DesktopPoolAvailabilityPolicyStopScheduleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cronExpression (Updatable) A cron expression describing the desktop's schedule. + * + * @return builder + * + */ + public Builder cronExpression(Output cronExpression) { + $.cronExpression = cronExpression; + return this; + } + + /** + * @param cronExpression (Updatable) A cron expression describing the desktop's schedule. + * + * @return builder + * + */ + public Builder cronExpression(String cronExpression) { + return cronExpression(Output.of(cronExpression)); + } + + /** + * @param timezone (Updatable) The timezone of the desktop's schedule. + * + * @return builder + * + */ + public Builder timezone(Output timezone) { + $.timezone = timezone; + return this; + } + + /** + * @param timezone (Updatable) The timezone of the desktop's schedule. + * + * @return builder + * + */ + public Builder timezone(String timezone) { + return timezone(Output.of(timezone)); + } + + public DesktopPoolAvailabilityPolicyStopScheduleArgs build() { + if ($.cronExpression == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicyStopScheduleArgs", "cronExpression"); + } + if ($.timezone == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicyStopScheduleArgs", "timezone"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolDevicePolicyArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolDevicePolicyArgs.java new file mode 100644 index 0000000000..773f51dd31 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolDevicePolicyArgs.java @@ -0,0 +1,326 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + + +public final class DesktopPoolDevicePolicyArgs extends com.pulumi.resources.ResourceArgs { + + public static final DesktopPoolDevicePolicyArgs Empty = new DesktopPoolDevicePolicyArgs(); + + /** + * (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + */ + @Import(name="audioMode", required=true) + private Output audioMode; + + /** + * @return (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + */ + public Output audioMode() { + return this.audioMode; + } + + /** + * (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + */ + @Import(name="cdmMode", required=true) + private Output cdmMode; + + /** + * @return (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + */ + public Output cdmMode() { + return this.cdmMode; + } + + /** + * (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + */ + @Import(name="clipboardMode", required=true) + private Output clipboardMode; + + /** + * @return (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + */ + public Output clipboardMode() { + return this.clipboardMode; + } + + /** + * (Updatable) Indicates whether the display is enabled. + * + */ + @Import(name="isDisplayEnabled", required=true) + private Output isDisplayEnabled; + + /** + * @return (Updatable) Indicates whether the display is enabled. + * + */ + public Output isDisplayEnabled() { + return this.isDisplayEnabled; + } + + /** + * (Updatable) Indicates whether the keyboard is enabled. + * + */ + @Import(name="isKeyboardEnabled", required=true) + private Output isKeyboardEnabled; + + /** + * @return (Updatable) Indicates whether the keyboard is enabled. + * + */ + public Output isKeyboardEnabled() { + return this.isKeyboardEnabled; + } + + /** + * (Updatable) Indicates whether the pointer is enabled. + * + */ + @Import(name="isPointerEnabled", required=true) + private Output isPointerEnabled; + + /** + * @return (Updatable) Indicates whether the pointer is enabled. + * + */ + public Output isPointerEnabled() { + return this.isPointerEnabled; + } + + /** + * (Updatable) Indicates whether printing is enabled. + * + */ + @Import(name="isPrintingEnabled", required=true) + private Output isPrintingEnabled; + + /** + * @return (Updatable) Indicates whether printing is enabled. + * + */ + public Output isPrintingEnabled() { + return this.isPrintingEnabled; + } + + private DesktopPoolDevicePolicyArgs() {} + + private DesktopPoolDevicePolicyArgs(DesktopPoolDevicePolicyArgs $) { + this.audioMode = $.audioMode; + this.cdmMode = $.cdmMode; + this.clipboardMode = $.clipboardMode; + this.isDisplayEnabled = $.isDisplayEnabled; + this.isKeyboardEnabled = $.isKeyboardEnabled; + this.isPointerEnabled = $.isPointerEnabled; + this.isPrintingEnabled = $.isPrintingEnabled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DesktopPoolDevicePolicyArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DesktopPoolDevicePolicyArgs $; + + public Builder() { + $ = new DesktopPoolDevicePolicyArgs(); + } + + public Builder(DesktopPoolDevicePolicyArgs defaults) { + $ = new DesktopPoolDevicePolicyArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param audioMode (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + * @return builder + * + */ + public Builder audioMode(Output audioMode) { + $.audioMode = audioMode; + return this; + } + + /** + * @param audioMode (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + * @return builder + * + */ + public Builder audioMode(String audioMode) { + return audioMode(Output.of(audioMode)); + } + + /** + * @param cdmMode (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + * @return builder + * + */ + public Builder cdmMode(Output cdmMode) { + $.cdmMode = cdmMode; + return this; + } + + /** + * @param cdmMode (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + * @return builder + * + */ + public Builder cdmMode(String cdmMode) { + return cdmMode(Output.of(cdmMode)); + } + + /** + * @param clipboardMode (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + * @return builder + * + */ + public Builder clipboardMode(Output clipboardMode) { + $.clipboardMode = clipboardMode; + return this; + } + + /** + * @param clipboardMode (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + * @return builder + * + */ + public Builder clipboardMode(String clipboardMode) { + return clipboardMode(Output.of(clipboardMode)); + } + + /** + * @param isDisplayEnabled (Updatable) Indicates whether the display is enabled. + * + * @return builder + * + */ + public Builder isDisplayEnabled(Output isDisplayEnabled) { + $.isDisplayEnabled = isDisplayEnabled; + return this; + } + + /** + * @param isDisplayEnabled (Updatable) Indicates whether the display is enabled. + * + * @return builder + * + */ + public Builder isDisplayEnabled(Boolean isDisplayEnabled) { + return isDisplayEnabled(Output.of(isDisplayEnabled)); + } + + /** + * @param isKeyboardEnabled (Updatable) Indicates whether the keyboard is enabled. + * + * @return builder + * + */ + public Builder isKeyboardEnabled(Output isKeyboardEnabled) { + $.isKeyboardEnabled = isKeyboardEnabled; + return this; + } + + /** + * @param isKeyboardEnabled (Updatable) Indicates whether the keyboard is enabled. + * + * @return builder + * + */ + public Builder isKeyboardEnabled(Boolean isKeyboardEnabled) { + return isKeyboardEnabled(Output.of(isKeyboardEnabled)); + } + + /** + * @param isPointerEnabled (Updatable) Indicates whether the pointer is enabled. + * + * @return builder + * + */ + public Builder isPointerEnabled(Output isPointerEnabled) { + $.isPointerEnabled = isPointerEnabled; + return this; + } + + /** + * @param isPointerEnabled (Updatable) Indicates whether the pointer is enabled. + * + * @return builder + * + */ + public Builder isPointerEnabled(Boolean isPointerEnabled) { + return isPointerEnabled(Output.of(isPointerEnabled)); + } + + /** + * @param isPrintingEnabled (Updatable) Indicates whether printing is enabled. + * + * @return builder + * + */ + public Builder isPrintingEnabled(Output isPrintingEnabled) { + $.isPrintingEnabled = isPrintingEnabled; + return this; + } + + /** + * @param isPrintingEnabled (Updatable) Indicates whether printing is enabled. + * + * @return builder + * + */ + public Builder isPrintingEnabled(Boolean isPrintingEnabled) { + return isPrintingEnabled(Output.of(isPrintingEnabled)); + } + + public DesktopPoolDevicePolicyArgs build() { + if ($.audioMode == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicyArgs", "audioMode"); + } + if ($.cdmMode == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicyArgs", "cdmMode"); + } + if ($.clipboardMode == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicyArgs", "clipboardMode"); + } + if ($.isDisplayEnabled == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicyArgs", "isDisplayEnabled"); + } + if ($.isKeyboardEnabled == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicyArgs", "isKeyboardEnabled"); + } + if ($.isPointerEnabled == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicyArgs", "isPointerEnabled"); + } + if ($.isPrintingEnabled == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicyArgs", "isPrintingEnabled"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolImageArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolImageArgs.java new file mode 100644 index 0000000000..d3e294e0ee --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolImageArgs.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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class DesktopPoolImageArgs extends com.pulumi.resources.ResourceArgs { + + public static final DesktopPoolImageArgs Empty = new DesktopPoolImageArgs(); + + /** + * The OCID of the desktop image. + * + */ + @Import(name="imageId", required=true) + private Output imageId; + + /** + * @return The OCID of the desktop image. + * + */ + public Output imageId() { + return this.imageId; + } + + /** + * The name of the desktop image. + * + */ + @Import(name="imageName", required=true) + private Output imageName; + + /** + * @return The name of the desktop image. + * + */ + public Output imageName() { + return this.imageName; + } + + private DesktopPoolImageArgs() {} + + private DesktopPoolImageArgs(DesktopPoolImageArgs $) { + this.imageId = $.imageId; + this.imageName = $.imageName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DesktopPoolImageArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DesktopPoolImageArgs $; + + public Builder() { + $ = new DesktopPoolImageArgs(); + } + + public Builder(DesktopPoolImageArgs defaults) { + $ = new DesktopPoolImageArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param imageId The OCID of the desktop image. + * + * @return builder + * + */ + public Builder imageId(Output imageId) { + $.imageId = imageId; + return this; + } + + /** + * @param imageId The OCID of the desktop image. + * + * @return builder + * + */ + public Builder imageId(String imageId) { + return imageId(Output.of(imageId)); + } + + /** + * @param imageName The name of the desktop image. + * + * @return builder + * + */ + public Builder imageName(Output imageName) { + $.imageName = imageName; + return this; + } + + /** + * @param imageName The name of the desktop image. + * + * @return builder + * + */ + public Builder imageName(String imageName) { + return imageName(Output.of(imageName)); + } + + public DesktopPoolImageArgs build() { + if ($.imageId == null) { + throw new MissingRequiredPropertyException("DesktopPoolImageArgs", "imageId"); + } + if ($.imageName == null) { + throw new MissingRequiredPropertyException("DesktopPoolImageArgs", "imageName"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolNetworkConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolNetworkConfigurationArgs.java new file mode 100644 index 0000000000..a46373ac01 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolNetworkConfigurationArgs.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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class DesktopPoolNetworkConfigurationArgs extends com.pulumi.resources.ResourceArgs { + + public static final DesktopPoolNetworkConfigurationArgs Empty = new DesktopPoolNetworkConfigurationArgs(); + + /** + * The OCID of the subnet to use for the desktop pool. + * + */ + @Import(name="subnetId", required=true) + private Output subnetId; + + /** + * @return The OCID of the subnet to use for the desktop pool. + * + */ + public Output subnetId() { + return this.subnetId; + } + + /** + * The OCID of the VCN used by the desktop pool. + * + */ + @Import(name="vcnId", required=true) + private Output vcnId; + + /** + * @return The OCID of the VCN used by the desktop pool. + * + */ + public Output vcnId() { + return this.vcnId; + } + + private DesktopPoolNetworkConfigurationArgs() {} + + private DesktopPoolNetworkConfigurationArgs(DesktopPoolNetworkConfigurationArgs $) { + this.subnetId = $.subnetId; + this.vcnId = $.vcnId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DesktopPoolNetworkConfigurationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DesktopPoolNetworkConfigurationArgs $; + + public Builder() { + $ = new DesktopPoolNetworkConfigurationArgs(); + } + + public Builder(DesktopPoolNetworkConfigurationArgs defaults) { + $ = new DesktopPoolNetworkConfigurationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param subnetId The OCID of the subnet to use for the desktop pool. + * + * @return builder + * + */ + public Builder subnetId(Output subnetId) { + $.subnetId = subnetId; + return this; + } + + /** + * @param subnetId The OCID of the subnet to use for the desktop pool. + * + * @return builder + * + */ + public Builder subnetId(String subnetId) { + return subnetId(Output.of(subnetId)); + } + + /** + * @param vcnId The OCID of the VCN used by the desktop pool. + * + * @return builder + * + */ + public Builder vcnId(Output vcnId) { + $.vcnId = vcnId; + return this; + } + + /** + * @param vcnId The OCID of the VCN used by the desktop pool. + * + * @return builder + * + */ + public Builder vcnId(String vcnId) { + return vcnId(Output.of(vcnId)); + } + + public DesktopPoolNetworkConfigurationArgs build() { + if ($.subnetId == null) { + throw new MissingRequiredPropertyException("DesktopPoolNetworkConfigurationArgs", "subnetId"); + } + if ($.vcnId == null) { + throw new MissingRequiredPropertyException("DesktopPoolNetworkConfigurationArgs", "vcnId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolState.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolState.java new file mode 100644 index 0000000000..a2290f154e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/DesktopPoolState.java @@ -0,0 +1,964 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Desktops.inputs.DesktopPoolAvailabilityPolicyArgs; +import com.pulumi.oci.Desktops.inputs.DesktopPoolDevicePolicyArgs; +import com.pulumi.oci.Desktops.inputs.DesktopPoolImageArgs; +import com.pulumi.oci.Desktops.inputs.DesktopPoolNetworkConfigurationArgs; +import java.lang.Boolean; +import java.lang.Integer; +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 DesktopPoolState extends com.pulumi.resources.ResourceArgs { + + public static final DesktopPoolState Empty = new DesktopPoolState(); + + /** + * The number of active desktops in the desktop pool. + * + */ + @Import(name="activeDesktops") + private @Nullable Output activeDesktops; + + /** + * @return The number of active desktops in the desktop pool. + * + */ + public Optional> activeDesktops() { + return Optional.ofNullable(this.activeDesktops); + } + + /** + * Indicates whether desktop pool users have administrative privileges on their desktop. + * + */ + @Import(name="arePrivilegedUsers") + private @Nullable Output arePrivilegedUsers; + + /** + * @return Indicates whether desktop pool users have administrative privileges on their desktop. + * + */ + public Optional> arePrivilegedUsers() { + return Optional.ofNullable(this.arePrivilegedUsers); + } + + /** + * The availability domain of the desktop pool. + * + */ + @Import(name="availabilityDomain") + private @Nullable Output availabilityDomain; + + /** + * @return The availability domain of the desktop pool. + * + */ + public Optional> availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + + /** + * (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + * + */ + @Import(name="availabilityPolicy") + private @Nullable Output availabilityPolicy; + + /** + * @return (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + * + */ + public Optional> availabilityPolicy() { + return Optional.ofNullable(this.availabilityPolicy); + } + + /** + * (Updatable) The OCID of the compartment which will contain the desktop pool. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return (Updatable) The OCID of the compartment which will contain the desktop pool. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + * + */ + @Import(name="contactDetails") + private @Nullable Output contactDetails; + + /** + * @return (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + * + */ + public Optional> contactDetails() { + return Optional.ofNullable(this.contactDetails); + } + + /** + * (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"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (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 Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + @Import(name="devicePolicy") + private @Nullable Output devicePolicy; + + /** + * @return (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + public Optional> devicePolicy() { + return Optional.ofNullable(this.devicePolicy); + } + + /** + * (Updatable) A user friendly display name. Avoid entering confidential information. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return (Updatable) A user friendly display name. 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. For more information, 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. For more information, 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); + } + + /** + * Provides information about the desktop image. + * + */ + @Import(name="image") + private @Nullable Output image; + + /** + * @return Provides information about the desktop image. + * + */ + public Optional> image() { + return Optional.ofNullable(this.image); + } + + /** + * Indicates whether storage is enabled for the desktop pool. + * + */ + @Import(name="isStorageEnabled") + private @Nullable Output isStorageEnabled; + + /** + * @return Indicates whether storage is enabled for the desktop pool. + * + */ + public Optional> isStorageEnabled() { + return Optional.ofNullable(this.isStorageEnabled); + } + + /** + * (Updatable) The maximum number of desktops permitted in the desktop pool. + * + */ + @Import(name="maximumSize") + private @Nullable Output maximumSize; + + /** + * @return (Updatable) The maximum number of desktops permitted in the desktop pool. + * + */ + public Optional> maximumSize() { + return Optional.ofNullable(this.maximumSize); + } + + /** + * Provides information about the network configuration of the desktop pool. + * + */ + @Import(name="networkConfiguration") + private @Nullable Output networkConfiguration; + + /** + * @return Provides information about the network configuration of the desktop pool. + * + */ + public Optional> networkConfiguration() { + return Optional.ofNullable(this.networkConfiguration); + } + + /** + * A list of network security groups for the desktop pool. + * + */ + @Import(name="nsgIds") + private @Nullable Output> nsgIds; + + /** + * @return A list of network security groups for the desktop pool. + * + */ + public Optional>> nsgIds() { + return Optional.ofNullable(this.nsgIds); + } + + /** + * The shape of the desktop pool. + * + */ + @Import(name="shapeName") + private @Nullable Output shapeName; + + /** + * @return The shape of the desktop pool. + * + */ + public Optional> shapeName() { + return Optional.ofNullable(this.shapeName); + } + + /** + * (Updatable) The maximum number of standby desktops available in the desktop pool. + * + */ + @Import(name="standbySize") + private @Nullable Output standbySize; + + /** + * @return (Updatable) The maximum number of standby desktops available in the desktop pool. + * + */ + public Optional> standbySize() { + return Optional.ofNullable(this.standbySize); + } + + /** + * The current state of the desktop pool. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current state of the desktop pool. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * The backup policy OCID of the storage. + * + */ + @Import(name="storageBackupPolicyId") + private @Nullable Output storageBackupPolicyId; + + /** + * @return The backup policy OCID of the storage. + * + */ + public Optional> storageBackupPolicyId() { + return Optional.ofNullable(this.storageBackupPolicyId); + } + + /** + * The size in GBs of the storage for the desktop pool. + * + */ + @Import(name="storageSizeInGbs") + private @Nullable Output storageSizeInGbs; + + /** + * @return The size in GBs of the storage for the desktop pool. + * + */ + public Optional> storageSizeInGbs() { + return Optional.ofNullable(this.storageSizeInGbs); + } + + /** + * The date and time the resource was created. + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return The date and time the resource was created. + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * (Updatable) The start time of the desktop pool. + * + */ + @Import(name="timeStartScheduled") + private @Nullable Output timeStartScheduled; + + /** + * @return (Updatable) The start time of the desktop pool. + * + */ + public Optional> timeStartScheduled() { + return Optional.ofNullable(this.timeStartScheduled); + } + + /** + * (Updatable) The stop time of the desktop pool. + * + * ** IMPORTANT ** + * 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="timeStopScheduled") + private @Nullable Output timeStopScheduled; + + /** + * @return (Updatable) The stop time of the desktop pool. + * + * ** IMPORTANT ** + * 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> timeStopScheduled() { + return Optional.ofNullable(this.timeStopScheduled); + } + + private DesktopPoolState() {} + + private DesktopPoolState(DesktopPoolState $) { + this.activeDesktops = $.activeDesktops; + this.arePrivilegedUsers = $.arePrivilegedUsers; + this.availabilityDomain = $.availabilityDomain; + this.availabilityPolicy = $.availabilityPolicy; + this.compartmentId = $.compartmentId; + this.contactDetails = $.contactDetails; + this.definedTags = $.definedTags; + this.description = $.description; + this.devicePolicy = $.devicePolicy; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.image = $.image; + this.isStorageEnabled = $.isStorageEnabled; + this.maximumSize = $.maximumSize; + this.networkConfiguration = $.networkConfiguration; + this.nsgIds = $.nsgIds; + this.shapeName = $.shapeName; + this.standbySize = $.standbySize; + this.state = $.state; + this.storageBackupPolicyId = $.storageBackupPolicyId; + this.storageSizeInGbs = $.storageSizeInGbs; + this.timeCreated = $.timeCreated; + this.timeStartScheduled = $.timeStartScheduled; + this.timeStopScheduled = $.timeStopScheduled; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(DesktopPoolState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private DesktopPoolState $; + + public Builder() { + $ = new DesktopPoolState(); + } + + public Builder(DesktopPoolState defaults) { + $ = new DesktopPoolState(Objects.requireNonNull(defaults)); + } + + /** + * @param activeDesktops The number of active desktops in the desktop pool. + * + * @return builder + * + */ + public Builder activeDesktops(@Nullable Output activeDesktops) { + $.activeDesktops = activeDesktops; + return this; + } + + /** + * @param activeDesktops The number of active desktops in the desktop pool. + * + * @return builder + * + */ + public Builder activeDesktops(Integer activeDesktops) { + return activeDesktops(Output.of(activeDesktops)); + } + + /** + * @param arePrivilegedUsers Indicates whether desktop pool users have administrative privileges on their desktop. + * + * @return builder + * + */ + public Builder arePrivilegedUsers(@Nullable Output arePrivilegedUsers) { + $.arePrivilegedUsers = arePrivilegedUsers; + return this; + } + + /** + * @param arePrivilegedUsers Indicates whether desktop pool users have administrative privileges on their desktop. + * + * @return builder + * + */ + public Builder arePrivilegedUsers(Boolean arePrivilegedUsers) { + return arePrivilegedUsers(Output.of(arePrivilegedUsers)); + } + + /** + * @param availabilityDomain The availability domain of the desktop pool. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable Output availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param availabilityDomain The availability domain of the desktop pool. + * + * @return builder + * + */ + public Builder availabilityDomain(String availabilityDomain) { + return availabilityDomain(Output.of(availabilityDomain)); + } + + /** + * @param availabilityPolicy (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + * + * @return builder + * + */ + public Builder availabilityPolicy(@Nullable Output availabilityPolicy) { + $.availabilityPolicy = availabilityPolicy; + return this; + } + + /** + * @param availabilityPolicy (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + * + * @return builder + * + */ + public Builder availabilityPolicy(DesktopPoolAvailabilityPolicyArgs availabilityPolicy) { + return availabilityPolicy(Output.of(availabilityPolicy)); + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment which will contain the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) The OCID of the compartment which will contain the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param contactDetails (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder contactDetails(@Nullable Output contactDetails) { + $.contactDetails = contactDetails; + return this; + } + + /** + * @param contactDetails (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder contactDetails(String contactDetails) { + return contactDetails(Output.of(contactDetails)); + } + + /** + * @param definedTags (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"}` + * + * @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. For more information, 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 providing additional information about the resource. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param devicePolicy (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + * @return builder + * + */ + public Builder devicePolicy(@Nullable Output devicePolicy) { + $.devicePolicy = devicePolicy; + return this; + } + + /** + * @param devicePolicy (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + * @return builder + * + */ + public Builder devicePolicy(DesktopPoolDevicePolicyArgs devicePolicy) { + return devicePolicy(Output.of(devicePolicy)); + } + + /** + * @param displayName (Updatable) A user friendly display name. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) A user friendly display name. 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. For more information, 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. For more information, 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 image Provides information about the desktop image. + * + * @return builder + * + */ + public Builder image(@Nullable Output image) { + $.image = image; + return this; + } + + /** + * @param image Provides information about the desktop image. + * + * @return builder + * + */ + public Builder image(DesktopPoolImageArgs image) { + return image(Output.of(image)); + } + + /** + * @param isStorageEnabled Indicates whether storage is enabled for the desktop pool. + * + * @return builder + * + */ + public Builder isStorageEnabled(@Nullable Output isStorageEnabled) { + $.isStorageEnabled = isStorageEnabled; + return this; + } + + /** + * @param isStorageEnabled Indicates whether storage is enabled for the desktop pool. + * + * @return builder + * + */ + public Builder isStorageEnabled(Boolean isStorageEnabled) { + return isStorageEnabled(Output.of(isStorageEnabled)); + } + + /** + * @param maximumSize (Updatable) The maximum number of desktops permitted in the desktop pool. + * + * @return builder + * + */ + public Builder maximumSize(@Nullable Output maximumSize) { + $.maximumSize = maximumSize; + return this; + } + + /** + * @param maximumSize (Updatable) The maximum number of desktops permitted in the desktop pool. + * + * @return builder + * + */ + public Builder maximumSize(Integer maximumSize) { + return maximumSize(Output.of(maximumSize)); + } + + /** + * @param networkConfiguration Provides information about the network configuration of the desktop pool. + * + * @return builder + * + */ + public Builder networkConfiguration(@Nullable Output networkConfiguration) { + $.networkConfiguration = networkConfiguration; + return this; + } + + /** + * @param networkConfiguration Provides information about the network configuration of the desktop pool. + * + * @return builder + * + */ + public Builder networkConfiguration(DesktopPoolNetworkConfigurationArgs networkConfiguration) { + return networkConfiguration(Output.of(networkConfiguration)); + } + + /** + * @param nsgIds A list of network security groups for the desktop pool. + * + * @return builder + * + */ + public Builder nsgIds(@Nullable Output> nsgIds) { + $.nsgIds = nsgIds; + return this; + } + + /** + * @param nsgIds A list of network security groups for the desktop pool. + * + * @return builder + * + */ + public Builder nsgIds(List nsgIds) { + return nsgIds(Output.of(nsgIds)); + } + + /** + * @param nsgIds A list of network security groups for the desktop pool. + * + * @return builder + * + */ + public Builder nsgIds(String... nsgIds) { + return nsgIds(List.of(nsgIds)); + } + + /** + * @param shapeName The shape of the desktop pool. + * + * @return builder + * + */ + public Builder shapeName(@Nullable Output shapeName) { + $.shapeName = shapeName; + return this; + } + + /** + * @param shapeName The shape of the desktop pool. + * + * @return builder + * + */ + public Builder shapeName(String shapeName) { + return shapeName(Output.of(shapeName)); + } + + /** + * @param standbySize (Updatable) The maximum number of standby desktops available in the desktop pool. + * + * @return builder + * + */ + public Builder standbySize(@Nullable Output standbySize) { + $.standbySize = standbySize; + return this; + } + + /** + * @param standbySize (Updatable) The maximum number of standby desktops available in the desktop pool. + * + * @return builder + * + */ + public Builder standbySize(Integer standbySize) { + return standbySize(Output.of(standbySize)); + } + + /** + * @param state The current state of the desktop pool. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current state of the desktop pool. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param storageBackupPolicyId The backup policy OCID of the storage. + * + * @return builder + * + */ + public Builder storageBackupPolicyId(@Nullable Output storageBackupPolicyId) { + $.storageBackupPolicyId = storageBackupPolicyId; + return this; + } + + /** + * @param storageBackupPolicyId The backup policy OCID of the storage. + * + * @return builder + * + */ + public Builder storageBackupPolicyId(String storageBackupPolicyId) { + return storageBackupPolicyId(Output.of(storageBackupPolicyId)); + } + + /** + * @param storageSizeInGbs The size in GBs of the storage for the desktop pool. + * + * @return builder + * + */ + public Builder storageSizeInGbs(@Nullable Output storageSizeInGbs) { + $.storageSizeInGbs = storageSizeInGbs; + return this; + } + + /** + * @param storageSizeInGbs The size in GBs of the storage for the desktop pool. + * + * @return builder + * + */ + public Builder storageSizeInGbs(Integer storageSizeInGbs) { + return storageSizeInGbs(Output.of(storageSizeInGbs)); + } + + /** + * @param timeCreated The date and time the resource was created. + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated The date and time the resource was created. + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeStartScheduled (Updatable) The start time of the desktop pool. + * + * @return builder + * + */ + public Builder timeStartScheduled(@Nullable Output timeStartScheduled) { + $.timeStartScheduled = timeStartScheduled; + return this; + } + + /** + * @param timeStartScheduled (Updatable) The start time of the desktop pool. + * + * @return builder + * + */ + public Builder timeStartScheduled(String timeStartScheduled) { + return timeStartScheduled(Output.of(timeStartScheduled)); + } + + /** + * @param timeStopScheduled (Updatable) The stop time of the desktop pool. + * + * ** IMPORTANT ** + * 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 timeStopScheduled(@Nullable Output timeStopScheduled) { + $.timeStopScheduled = timeStopScheduled; + return this; + } + + /** + * @param timeStopScheduled (Updatable) The stop time of the desktop pool. + * + * ** IMPORTANT ** + * 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 timeStopScheduled(String timeStopScheduled) { + return timeStopScheduled(Output.of(timeStopScheduled)); + } + + public DesktopPoolState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopArgs.java new file mode 100644 index 0000000000..c7db9dcb3b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopArgs.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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDesktopArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopArgs Empty = new GetDesktopArgs(); + + /** + * The OCID of the desktop. + * + */ + @Import(name="desktopId", required=true) + private Output desktopId; + + /** + * @return The OCID of the desktop. + * + */ + public Output desktopId() { + return this.desktopId; + } + + private GetDesktopArgs() {} + + private GetDesktopArgs(GetDesktopArgs $) { + this.desktopId = $.desktopId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopArgs $; + + public Builder() { + $ = new GetDesktopArgs(); + } + + public Builder(GetDesktopArgs defaults) { + $ = new GetDesktopArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param desktopId The OCID of the desktop. + * + * @return builder + * + */ + public Builder desktopId(Output desktopId) { + $.desktopId = desktopId; + return this; + } + + /** + * @param desktopId The OCID of the desktop. + * + * @return builder + * + */ + public Builder desktopId(String desktopId) { + return desktopId(Output.of(desktopId)); + } + + public GetDesktopArgs build() { + if ($.desktopId == null) { + throw new MissingRequiredPropertyException("GetDesktopArgs", "desktopId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPlainArgs.java new file mode 100644 index 0000000000..6d1160fa17 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPlainArgs.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.Desktops.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDesktopPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPlainArgs Empty = new GetDesktopPlainArgs(); + + /** + * The OCID of the desktop. + * + */ + @Import(name="desktopId", required=true) + private String desktopId; + + /** + * @return The OCID of the desktop. + * + */ + public String desktopId() { + return this.desktopId; + } + + private GetDesktopPlainArgs() {} + + private GetDesktopPlainArgs(GetDesktopPlainArgs $) { + this.desktopId = $.desktopId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPlainArgs $; + + public Builder() { + $ = new GetDesktopPlainArgs(); + } + + public Builder(GetDesktopPlainArgs defaults) { + $ = new GetDesktopPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param desktopId The OCID of the desktop. + * + * @return builder + * + */ + public Builder desktopId(String desktopId) { + $.desktopId = desktopId; + return this; + } + + public GetDesktopPlainArgs build() { + if ($.desktopId == null) { + throw new MissingRequiredPropertyException("GetDesktopPlainArgs", "desktopId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolArgs.java new file mode 100644 index 0000000000..1d907f6cdb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolArgs.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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDesktopPoolArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPoolArgs Empty = new GetDesktopPoolArgs(); + + /** + * The OCID of the desktop pool. + * + */ + @Import(name="desktopPoolId", required=true) + private Output desktopPoolId; + + /** + * @return The OCID of the desktop pool. + * + */ + public Output desktopPoolId() { + return this.desktopPoolId; + } + + private GetDesktopPoolArgs() {} + + private GetDesktopPoolArgs(GetDesktopPoolArgs $) { + this.desktopPoolId = $.desktopPoolId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolArgs $; + + public Builder() { + $ = new GetDesktopPoolArgs(); + } + + public Builder(GetDesktopPoolArgs defaults) { + $ = new GetDesktopPoolArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(Output desktopPoolId) { + $.desktopPoolId = desktopPoolId; + return this; + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(String desktopPoolId) { + return desktopPoolId(Output.of(desktopPoolId)); + } + + public GetDesktopPoolArgs build() { + if ($.desktopPoolId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolArgs", "desktopPoolId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsArgs.java new file mode 100644 index 0000000000..12b9a18bec --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsArgs.java @@ -0,0 +1,298 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolDesktopsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDesktopPoolDesktopsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPoolDesktopsArgs Empty = new GetDesktopPoolDesktopsArgs(); + + /** + * The name of the availability domain. + * + */ + @Import(name="availabilityDomain") + private @Nullable Output availabilityDomain; + + /** + * @return The name of the availability domain. + * + */ + public Optional> availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + + /** + * The OCID of the compartment of the desktop pool. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * The OCID of the desktop pool. + * + */ + @Import(name="desktopPoolId", required=true) + private Output desktopPoolId; + + /** + * @return The OCID of the desktop pool. + * + */ + public Output desktopPoolId() { + return this.desktopPoolId; + } + + /** + * A filter to return only results with the given displayName. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return A filter to return only results with the given displayName. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only results with the given OCID. + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return A filter to return only results with the given OCID. + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * A filter to return only results with the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetDesktopPoolDesktopsArgs() {} + + private GetDesktopPoolDesktopsArgs(GetDesktopPoolDesktopsArgs $) { + this.availabilityDomain = $.availabilityDomain; + this.compartmentId = $.compartmentId; + this.desktopPoolId = $.desktopPoolId; + this.displayName = $.displayName; + this.filters = $.filters; + this.id = $.id; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolDesktopsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolDesktopsArgs $; + + public Builder() { + $ = new GetDesktopPoolDesktopsArgs(); + } + + public Builder(GetDesktopPoolDesktopsArgs defaults) { + $ = new GetDesktopPoolDesktopsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable Output availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(String availabilityDomain) { + return availabilityDomain(Output.of(availabilityDomain)); + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(Output desktopPoolId) { + $.desktopPoolId = desktopPoolId; + return this; + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(String desktopPoolId) { + return desktopPoolId(Output.of(desktopPoolId)); + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @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(GetDesktopPoolDesktopsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetDesktopPoolDesktopsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsArgs", "compartmentId"); + } + if ($.desktopPoolId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsArgs", "desktopPoolId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsFilter.java new file mode 100644 index 0000000000..fc825ee94f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsFilter.java @@ -0,0 +1,97 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDesktopPoolDesktopsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPoolDesktopsFilter Empty = new GetDesktopPoolDesktopsFilter(); + + @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 GetDesktopPoolDesktopsFilter() {} + + private GetDesktopPoolDesktopsFilter(GetDesktopPoolDesktopsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolDesktopsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolDesktopsFilter $; + + public Builder() { + $ = new GetDesktopPoolDesktopsFilter(); + } + + public Builder(GetDesktopPoolDesktopsFilter defaults) { + $ = new GetDesktopPoolDesktopsFilter(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 GetDesktopPoolDesktopsFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsFilterArgs.java new file mode 100644 index 0000000000..dda8811cae --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsFilterArgs.java @@ -0,0 +1,110 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDesktopPoolDesktopsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDesktopPoolDesktopsFilterArgs Empty = new GetDesktopPoolDesktopsFilterArgs(); + + @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 GetDesktopPoolDesktopsFilterArgs() {} + + private GetDesktopPoolDesktopsFilterArgs(GetDesktopPoolDesktopsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolDesktopsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolDesktopsFilterArgs $; + + public Builder() { + $ = new GetDesktopPoolDesktopsFilterArgs(); + } + + public Builder(GetDesktopPoolDesktopsFilterArgs defaults) { + $ = new GetDesktopPoolDesktopsFilterArgs(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 GetDesktopPoolDesktopsFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsPlainArgs.java new file mode 100644 index 0000000000..62fef480b3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolDesktopsPlainArgs.java @@ -0,0 +1,233 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolDesktopsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDesktopPoolDesktopsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPoolDesktopsPlainArgs Empty = new GetDesktopPoolDesktopsPlainArgs(); + + /** + * The name of the availability domain. + * + */ + @Import(name="availabilityDomain") + private @Nullable String availabilityDomain; + + /** + * @return The name of the availability domain. + * + */ + public Optional availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + + /** + * The OCID of the compartment of the desktop pool. + * + */ + @Import(name="compartmentId", required=true) + private String compartmentId; + + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + /** + * The OCID of the desktop pool. + * + */ + @Import(name="desktopPoolId", required=true) + private String desktopPoolId; + + /** + * @return The OCID of the desktop pool. + * + */ + public String desktopPoolId() { + return this.desktopPoolId; + } + + /** + * A filter to return only results with the given displayName. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return only results with the given displayName. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only results with the given OCID. + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return A filter to return only results with the given OCID. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * A filter to return only results with the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetDesktopPoolDesktopsPlainArgs() {} + + private GetDesktopPoolDesktopsPlainArgs(GetDesktopPoolDesktopsPlainArgs $) { + this.availabilityDomain = $.availabilityDomain; + this.compartmentId = $.compartmentId; + this.desktopPoolId = $.desktopPoolId; + this.displayName = $.displayName; + this.filters = $.filters; + this.id = $.id; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolDesktopsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolDesktopsPlainArgs $; + + public Builder() { + $ = new GetDesktopPoolDesktopsPlainArgs(); + } + + public Builder(GetDesktopPoolDesktopsPlainArgs defaults) { + $ = new GetDesktopPoolDesktopsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable String availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(String desktopPoolId) { + $.desktopPoolId = desktopPoolId; + return this; + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @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(GetDesktopPoolDesktopsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetDesktopPoolDesktopsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsPlainArgs", "compartmentId"); + } + if ($.desktopPoolId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsPlainArgs", "desktopPoolId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolPlainArgs.java new file mode 100644 index 0000000000..a50b633905 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolPlainArgs.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.Desktops.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class GetDesktopPoolPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPoolPlainArgs Empty = new GetDesktopPoolPlainArgs(); + + /** + * The OCID of the desktop pool. + * + */ + @Import(name="desktopPoolId", required=true) + private String desktopPoolId; + + /** + * @return The OCID of the desktop pool. + * + */ + public String desktopPoolId() { + return this.desktopPoolId; + } + + private GetDesktopPoolPlainArgs() {} + + private GetDesktopPoolPlainArgs(GetDesktopPoolPlainArgs $) { + this.desktopPoolId = $.desktopPoolId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolPlainArgs $; + + public Builder() { + $ = new GetDesktopPoolPlainArgs(); + } + + public Builder(GetDesktopPoolPlainArgs defaults) { + $ = new GetDesktopPoolPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(String desktopPoolId) { + $.desktopPoolId = desktopPoolId; + return this; + } + + public GetDesktopPoolPlainArgs build() { + if ($.desktopPoolId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolPlainArgs", "desktopPoolId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesArgs.java new file mode 100644 index 0000000000..261f433072 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesArgs.java @@ -0,0 +1,298 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolVolumesFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDesktopPoolVolumesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPoolVolumesArgs Empty = new GetDesktopPoolVolumesArgs(); + + /** + * The name of the availability domain. + * + */ + @Import(name="availabilityDomain") + private @Nullable Output availabilityDomain; + + /** + * @return The name of the availability domain. + * + */ + public Optional> availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + + /** + * The OCID of the compartment of the desktop pool. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * The OCID of the desktop pool. + * + */ + @Import(name="desktopPoolId", required=true) + private Output desktopPoolId; + + /** + * @return The OCID of the desktop pool. + * + */ + public Output desktopPoolId() { + return this.desktopPoolId; + } + + /** + * A filter to return only results with the given displayName. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return A filter to return only results with the given displayName. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only results with the given OCID. + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return A filter to return only results with the given OCID. + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * A filter to return only results with the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetDesktopPoolVolumesArgs() {} + + private GetDesktopPoolVolumesArgs(GetDesktopPoolVolumesArgs $) { + this.availabilityDomain = $.availabilityDomain; + this.compartmentId = $.compartmentId; + this.desktopPoolId = $.desktopPoolId; + this.displayName = $.displayName; + this.filters = $.filters; + this.id = $.id; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolVolumesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolVolumesArgs $; + + public Builder() { + $ = new GetDesktopPoolVolumesArgs(); + } + + public Builder(GetDesktopPoolVolumesArgs defaults) { + $ = new GetDesktopPoolVolumesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable Output availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(String availabilityDomain) { + return availabilityDomain(Output.of(availabilityDomain)); + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(Output desktopPoolId) { + $.desktopPoolId = desktopPoolId; + return this; + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(String desktopPoolId) { + return desktopPoolId(Output.of(desktopPoolId)); + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @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(GetDesktopPoolVolumesFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetDesktopPoolVolumesArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesArgs", "compartmentId"); + } + if ($.desktopPoolId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesArgs", "desktopPoolId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesFilter.java new file mode 100644 index 0000000000..ae7801c9a9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesFilter.java @@ -0,0 +1,111 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDesktopPoolVolumesFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPoolVolumesFilter Empty = new GetDesktopPoolVolumesFilter(); + + /** + * The name of the desktop pool volume. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return The name of the desktop pool volume. + * + */ + 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 GetDesktopPoolVolumesFilter() {} + + private GetDesktopPoolVolumesFilter(GetDesktopPoolVolumesFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolVolumesFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolVolumesFilter $; + + public Builder() { + $ = new GetDesktopPoolVolumesFilter(); + } + + public Builder(GetDesktopPoolVolumesFilter defaults) { + $ = new GetDesktopPoolVolumesFilter(Objects.requireNonNull(defaults)); + } + + /** + * @param name The name of the desktop pool volume. + * + * @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 GetDesktopPoolVolumesFilter build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesFilter", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesFilter", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesFilterArgs.java new file mode 100644 index 0000000000..f911e13068 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesFilterArgs.java @@ -0,0 +1,130 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDesktopPoolVolumesFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetDesktopPoolVolumesFilterArgs Empty = new GetDesktopPoolVolumesFilterArgs(); + + /** + * The name of the desktop pool volume. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return The name of the desktop pool volume. + * + */ + 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 GetDesktopPoolVolumesFilterArgs() {} + + private GetDesktopPoolVolumesFilterArgs(GetDesktopPoolVolumesFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolVolumesFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolVolumesFilterArgs $; + + public Builder() { + $ = new GetDesktopPoolVolumesFilterArgs(); + } + + public Builder(GetDesktopPoolVolumesFilterArgs defaults) { + $ = new GetDesktopPoolVolumesFilterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name The name of the desktop pool volume. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the desktop pool volume. + * + * @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 GetDesktopPoolVolumesFilterArgs build() { + if ($.name == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesFilterArgs", "name"); + } + if ($.values == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesFilterArgs", "values"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesPlainArgs.java new file mode 100644 index 0000000000..fb0558a874 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolVolumesPlainArgs.java @@ -0,0 +1,233 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolVolumesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDesktopPoolVolumesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPoolVolumesPlainArgs Empty = new GetDesktopPoolVolumesPlainArgs(); + + /** + * The name of the availability domain. + * + */ + @Import(name="availabilityDomain") + private @Nullable String availabilityDomain; + + /** + * @return The name of the availability domain. + * + */ + public Optional availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + + /** + * The OCID of the compartment of the desktop pool. + * + */ + @Import(name="compartmentId", required=true) + private String compartmentId; + + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + /** + * The OCID of the desktop pool. + * + */ + @Import(name="desktopPoolId", required=true) + private String desktopPoolId; + + /** + * @return The OCID of the desktop pool. + * + */ + public String desktopPoolId() { + return this.desktopPoolId; + } + + /** + * A filter to return only results with the given displayName. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return only results with the given displayName. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only results with the given OCID. + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return A filter to return only results with the given OCID. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * A filter to return only results with the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetDesktopPoolVolumesPlainArgs() {} + + private GetDesktopPoolVolumesPlainArgs(GetDesktopPoolVolumesPlainArgs $) { + this.availabilityDomain = $.availabilityDomain; + this.compartmentId = $.compartmentId; + this.desktopPoolId = $.desktopPoolId; + this.displayName = $.displayName; + this.filters = $.filters; + this.id = $.id; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolVolumesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolVolumesPlainArgs $; + + public Builder() { + $ = new GetDesktopPoolVolumesPlainArgs(); + } + + public Builder(GetDesktopPoolVolumesPlainArgs defaults) { + $ = new GetDesktopPoolVolumesPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable String availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(String desktopPoolId) { + $.desktopPoolId = desktopPoolId; + return this; + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @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(GetDesktopPoolVolumesFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetDesktopPoolVolumesPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesPlainArgs", "compartmentId"); + } + if ($.desktopPoolId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesPlainArgs", "desktopPoolId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsArgs.java new file mode 100644 index 0000000000..c6ab267cd9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsArgs.java @@ -0,0 +1,258 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDesktopPoolsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPoolsArgs Empty = new GetDesktopPoolsArgs(); + + /** + * The name of the availability domain. + * + */ + @Import(name="availabilityDomain") + private @Nullable Output availabilityDomain; + + /** + * @return The name of the availability domain. + * + */ + public Optional> availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + + /** + * The OCID of the compartment of the desktop pool. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * A filter to return only results with the given displayName. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return A filter to return only results with the given displayName. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only results with the given OCID. + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return A filter to return only results with the given OCID. + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * A filter to return only results with the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetDesktopPoolsArgs() {} + + private GetDesktopPoolsArgs(GetDesktopPoolsArgs $) { + this.availabilityDomain = $.availabilityDomain; + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.id = $.id; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolsArgs $; + + public Builder() { + $ = new GetDesktopPoolsArgs(); + } + + public Builder(GetDesktopPoolsArgs defaults) { + $ = new GetDesktopPoolsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable Output availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(String availabilityDomain) { + return availabilityDomain(Output.of(availabilityDomain)); + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @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(GetDesktopPoolsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetDesktopPoolsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsFilter.java similarity index 66% rename from sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsFilter.java rename to sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsFilter.java index 1c692c2f20..fa23e06953 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsFilter.java @@ -1,7 +1,7 @@ // *** 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.FleetSoftwareUpdate.inputs; +package com.pulumi.oci.Desktops.inputs; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class GetFsuCollectionsFilter extends com.pulumi.resources.InvokeArgs { +public final class GetDesktopPoolsFilter extends com.pulumi.resources.InvokeArgs { - public static final GetFsuCollectionsFilter Empty = new GetFsuCollectionsFilter(); + public static final GetDesktopPoolsFilter Empty = new GetDesktopPoolsFilter(); @Import(name="name", required=true) private String name; @@ -38,9 +38,9 @@ public List values() { return this.values; } - private GetFsuCollectionsFilter() {} + private GetDesktopPoolsFilter() {} - private GetFsuCollectionsFilter(GetFsuCollectionsFilter $) { + private GetDesktopPoolsFilter(GetDesktopPoolsFilter $) { this.name = $.name; this.regex = $.regex; this.values = $.values; @@ -49,19 +49,19 @@ private GetFsuCollectionsFilter(GetFsuCollectionsFilter $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetFsuCollectionsFilter defaults) { + public static Builder builder(GetDesktopPoolsFilter defaults) { return new Builder(defaults); } public static final class Builder { - private GetFsuCollectionsFilter $; + private GetDesktopPoolsFilter $; public Builder() { - $ = new GetFsuCollectionsFilter(); + $ = new GetDesktopPoolsFilter(); } - public Builder(GetFsuCollectionsFilter defaults) { - $ = new GetFsuCollectionsFilter(Objects.requireNonNull(defaults)); + public Builder(GetDesktopPoolsFilter defaults) { + $ = new GetDesktopPoolsFilter(Objects.requireNonNull(defaults)); } public Builder name(String name) { @@ -83,12 +83,12 @@ public Builder values(String... values) { return values(List.of(values)); } - public GetFsuCollectionsFilter build() { + public GetDesktopPoolsFilter build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFilter", "name"); + throw new MissingRequiredPropertyException("GetDesktopPoolsFilter", "name"); } if ($.values == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFilter", "values"); + throw new MissingRequiredPropertyException("GetDesktopPoolsFilter", "values"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsFilterArgs.java similarity index 69% rename from sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsFilterArgs.java rename to sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsFilterArgs.java index 2752b8e43a..7d72bf17e7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsFilterArgs.java @@ -1,7 +1,7 @@ // *** 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.FleetSoftwareUpdate.inputs; +package com.pulumi.oci.Desktops.inputs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; @@ -14,9 +14,9 @@ import javax.annotation.Nullable; -public final class GetFsuCollectionsFilterArgs extends com.pulumi.resources.ResourceArgs { +public final class GetDesktopPoolsFilterArgs extends com.pulumi.resources.ResourceArgs { - public static final GetFsuCollectionsFilterArgs Empty = new GetFsuCollectionsFilterArgs(); + public static final GetDesktopPoolsFilterArgs Empty = new GetDesktopPoolsFilterArgs(); @Import(name="name", required=true) private Output name; @@ -39,9 +39,9 @@ public Output> values() { return this.values; } - private GetFsuCollectionsFilterArgs() {} + private GetDesktopPoolsFilterArgs() {} - private GetFsuCollectionsFilterArgs(GetFsuCollectionsFilterArgs $) { + private GetDesktopPoolsFilterArgs(GetDesktopPoolsFilterArgs $) { this.name = $.name; this.regex = $.regex; this.values = $.values; @@ -50,19 +50,19 @@ private GetFsuCollectionsFilterArgs(GetFsuCollectionsFilterArgs $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetFsuCollectionsFilterArgs defaults) { + public static Builder builder(GetDesktopPoolsFilterArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetFsuCollectionsFilterArgs $; + private GetDesktopPoolsFilterArgs $; public Builder() { - $ = new GetFsuCollectionsFilterArgs(); + $ = new GetDesktopPoolsFilterArgs(); } - public Builder(GetFsuCollectionsFilterArgs defaults) { - $ = new GetFsuCollectionsFilterArgs(Objects.requireNonNull(defaults)); + public Builder(GetDesktopPoolsFilterArgs defaults) { + $ = new GetDesktopPoolsFilterArgs(Objects.requireNonNull(defaults)); } public Builder name(Output name) { @@ -96,12 +96,12 @@ public Builder values(String... values) { return values(List.of(values)); } - public GetFsuCollectionsFilterArgs build() { + public GetDesktopPoolsFilterArgs build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFilterArgs", "name"); + throw new MissingRequiredPropertyException("GetDesktopPoolsFilterArgs", "name"); } if ($.values == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFilterArgs", "values"); + throw new MissingRequiredPropertyException("GetDesktopPoolsFilterArgs", "values"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsPlainArgs.java new file mode 100644 index 0000000000..a73eae1635 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopPoolsPlainArgs.java @@ -0,0 +1,203 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.inputs.GetDesktopPoolsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDesktopPoolsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopPoolsPlainArgs Empty = new GetDesktopPoolsPlainArgs(); + + /** + * The name of the availability domain. + * + */ + @Import(name="availabilityDomain") + private @Nullable String availabilityDomain; + + /** + * @return The name of the availability domain. + * + */ + public Optional availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + + /** + * The OCID of the compartment of the desktop pool. + * + */ + @Import(name="compartmentId", required=true) + private String compartmentId; + + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + /** + * A filter to return only results with the given displayName. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return only results with the given displayName. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only results with the given OCID. + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return A filter to return only results with the given OCID. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * A filter to return only results with the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetDesktopPoolsPlainArgs() {} + + private GetDesktopPoolsPlainArgs(GetDesktopPoolsPlainArgs $) { + this.availabilityDomain = $.availabilityDomain; + this.compartmentId = $.compartmentId; + this.displayName = $.displayName; + this.filters = $.filters; + this.id = $.id; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopPoolsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopPoolsPlainArgs $; + + public Builder() { + $ = new GetDesktopPoolsPlainArgs(); + } + + public Builder(GetDesktopPoolsPlainArgs defaults) { + $ = new GetDesktopPoolsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable String availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @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(GetDesktopPoolsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetDesktopPoolsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsArgs.java new file mode 100644 index 0000000000..5543947637 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsArgs.java @@ -0,0 +1,295 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.inputs.GetDesktopsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDesktopsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopsArgs Empty = new GetDesktopsArgs(); + + /** + * The name of the availability domain. + * + */ + @Import(name="availabilityDomain") + private @Nullable Output availabilityDomain; + + /** + * @return The name of the availability domain. + * + */ + public Optional> availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + + /** + * The OCID of the compartment of the desktop pool. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * The OCID of the desktop pool. + * + */ + @Import(name="desktopPoolId") + private @Nullable Output desktopPoolId; + + /** + * @return The OCID of the desktop pool. + * + */ + public Optional> desktopPoolId() { + return Optional.ofNullable(this.desktopPoolId); + } + + /** + * A filter to return only results with the given displayName. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return A filter to return only results with the given displayName. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only results with the given OCID. + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return A filter to return only results with the given OCID. + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * A filter to return only results with the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetDesktopsArgs() {} + + private GetDesktopsArgs(GetDesktopsArgs $) { + this.availabilityDomain = $.availabilityDomain; + this.compartmentId = $.compartmentId; + this.desktopPoolId = $.desktopPoolId; + this.displayName = $.displayName; + this.filters = $.filters; + this.id = $.id; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopsArgs $; + + public Builder() { + $ = new GetDesktopsArgs(); + } + + public Builder(GetDesktopsArgs defaults) { + $ = new GetDesktopsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable Output availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(String availabilityDomain) { + return availabilityDomain(Output.of(availabilityDomain)); + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(@Nullable Output desktopPoolId) { + $.desktopPoolId = desktopPoolId; + return this; + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(String desktopPoolId) { + return desktopPoolId(Output.of(desktopPoolId)); + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @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(GetDesktopsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetDesktopsArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopsArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsFilter.java similarity index 65% rename from sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsFilter.java rename to sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsFilter.java index 66911c1a02..69642ac162 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsFilter.java @@ -1,7 +1,7 @@ // *** 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.GloballyDistributedDatabase.inputs; +package com.pulumi.oci.Desktops.inputs; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -13,9 +13,9 @@ import javax.annotation.Nullable; -public final class GetPrivateEndpointsFilter extends com.pulumi.resources.InvokeArgs { +public final class GetDesktopsFilter extends com.pulumi.resources.InvokeArgs { - public static final GetPrivateEndpointsFilter Empty = new GetPrivateEndpointsFilter(); + public static final GetDesktopsFilter Empty = new GetDesktopsFilter(); @Import(name="name", required=true) private String name; @@ -38,9 +38,9 @@ public List values() { return this.values; } - private GetPrivateEndpointsFilter() {} + private GetDesktopsFilter() {} - private GetPrivateEndpointsFilter(GetPrivateEndpointsFilter $) { + private GetDesktopsFilter(GetDesktopsFilter $) { this.name = $.name; this.regex = $.regex; this.values = $.values; @@ -49,19 +49,19 @@ private GetPrivateEndpointsFilter(GetPrivateEndpointsFilter $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetPrivateEndpointsFilter defaults) { + public static Builder builder(GetDesktopsFilter defaults) { return new Builder(defaults); } public static final class Builder { - private GetPrivateEndpointsFilter $; + private GetDesktopsFilter $; public Builder() { - $ = new GetPrivateEndpointsFilter(); + $ = new GetDesktopsFilter(); } - public Builder(GetPrivateEndpointsFilter defaults) { - $ = new GetPrivateEndpointsFilter(Objects.requireNonNull(defaults)); + public Builder(GetDesktopsFilter defaults) { + $ = new GetDesktopsFilter(Objects.requireNonNull(defaults)); } public Builder name(String name) { @@ -83,12 +83,12 @@ public Builder values(String... values) { return values(List.of(values)); } - public GetPrivateEndpointsFilter build() { + public GetDesktopsFilter build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsFilter", "name"); + throw new MissingRequiredPropertyException("GetDesktopsFilter", "name"); } if ($.values == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsFilter", "values"); + throw new MissingRequiredPropertyException("GetDesktopsFilter", "values"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsFilterArgs.java similarity index 69% rename from sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsFilterArgs.java rename to sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsFilterArgs.java index 7d991d5a22..1111747dba 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsFilterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsFilterArgs.java @@ -1,7 +1,7 @@ // *** 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.GloballyDistributedDatabase.inputs; +package com.pulumi.oci.Desktops.inputs; import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; @@ -14,9 +14,9 @@ import javax.annotation.Nullable; -public final class GetPrivateEndpointsFilterArgs extends com.pulumi.resources.ResourceArgs { +public final class GetDesktopsFilterArgs extends com.pulumi.resources.ResourceArgs { - public static final GetPrivateEndpointsFilterArgs Empty = new GetPrivateEndpointsFilterArgs(); + public static final GetDesktopsFilterArgs Empty = new GetDesktopsFilterArgs(); @Import(name="name", required=true) private Output name; @@ -39,9 +39,9 @@ public Output> values() { return this.values; } - private GetPrivateEndpointsFilterArgs() {} + private GetDesktopsFilterArgs() {} - private GetPrivateEndpointsFilterArgs(GetPrivateEndpointsFilterArgs $) { + private GetDesktopsFilterArgs(GetDesktopsFilterArgs $) { this.name = $.name; this.regex = $.regex; this.values = $.values; @@ -50,19 +50,19 @@ private GetPrivateEndpointsFilterArgs(GetPrivateEndpointsFilterArgs $) { public static Builder builder() { return new Builder(); } - public static Builder builder(GetPrivateEndpointsFilterArgs defaults) { + public static Builder builder(GetDesktopsFilterArgs defaults) { return new Builder(defaults); } public static final class Builder { - private GetPrivateEndpointsFilterArgs $; + private GetDesktopsFilterArgs $; public Builder() { - $ = new GetPrivateEndpointsFilterArgs(); + $ = new GetDesktopsFilterArgs(); } - public Builder(GetPrivateEndpointsFilterArgs defaults) { - $ = new GetPrivateEndpointsFilterArgs(Objects.requireNonNull(defaults)); + public Builder(GetDesktopsFilterArgs defaults) { + $ = new GetDesktopsFilterArgs(Objects.requireNonNull(defaults)); } public Builder name(Output name) { @@ -96,12 +96,12 @@ public Builder values(String... values) { return values(List.of(values)); } - public GetPrivateEndpointsFilterArgs build() { + public GetDesktopsFilterArgs build() { if ($.name == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsFilterArgs", "name"); + throw new MissingRequiredPropertyException("GetDesktopsFilterArgs", "name"); } if ($.values == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsFilterArgs", "values"); + throw new MissingRequiredPropertyException("GetDesktopsFilterArgs", "values"); } return $; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsPlainArgs.java new file mode 100644 index 0000000000..39967d1322 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/inputs/GetDesktopsPlainArgs.java @@ -0,0 +1,230 @@ +// *** 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.Desktops.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.inputs.GetDesktopsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDesktopsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDesktopsPlainArgs Empty = new GetDesktopsPlainArgs(); + + /** + * The name of the availability domain. + * + */ + @Import(name="availabilityDomain") + private @Nullable String availabilityDomain; + + /** + * @return The name of the availability domain. + * + */ + public Optional availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + + /** + * The OCID of the compartment of the desktop pool. + * + */ + @Import(name="compartmentId", required=true) + private String compartmentId; + + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + /** + * The OCID of the desktop pool. + * + */ + @Import(name="desktopPoolId") + private @Nullable String desktopPoolId; + + /** + * @return The OCID of the desktop pool. + * + */ + public Optional desktopPoolId() { + return Optional.ofNullable(this.desktopPoolId); + } + + /** + * A filter to return only results with the given displayName. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return only results with the given displayName. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return only results with the given OCID. + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return A filter to return only results with the given OCID. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * A filter to return only results with the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetDesktopsPlainArgs() {} + + private GetDesktopsPlainArgs(GetDesktopsPlainArgs $) { + this.availabilityDomain = $.availabilityDomain; + this.compartmentId = $.compartmentId; + this.desktopPoolId = $.desktopPoolId; + this.displayName = $.displayName; + this.filters = $.filters; + this.id = $.id; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDesktopsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDesktopsPlainArgs $; + + public Builder() { + $ = new GetDesktopsPlainArgs(); + } + + public Builder(GetDesktopsPlainArgs defaults) { + $ = new GetDesktopsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param availabilityDomain The name of the availability domain. + * + * @return builder + * + */ + public Builder availabilityDomain(@Nullable String availabilityDomain) { + $.availabilityDomain = availabilityDomain; + return this; + } + + /** + * @param compartmentId The OCID of the compartment of the desktop pool. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param desktopPoolId The OCID of the desktop pool. + * + * @return builder + * + */ + public Builder desktopPoolId(@Nullable String desktopPoolId) { + $.desktopPoolId = desktopPoolId; + return this; + } + + /** + * @param displayName A filter to return only results with the given displayName. + * + * @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(GetDesktopsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param id A filter to return only results with the given OCID. + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param state A filter to return only results with the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetDesktopsPlainArgs build() { + if ($.compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopsPlainArgs", "compartmentId"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolAvailabilityPolicy.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolAvailabilityPolicy.java new file mode 100644 index 0000000000..9df1bc9393 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolAvailabilityPolicy.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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.DesktopPoolAvailabilityPolicyStartSchedule; +import com.pulumi.oci.Desktops.outputs.DesktopPoolAvailabilityPolicyStopSchedule; +import java.util.Objects; + +@CustomType +public final class DesktopPoolAvailabilityPolicy { + /** + * @return (Updatable) Provides the schedule information for a desktop. + * + */ + private DesktopPoolAvailabilityPolicyStartSchedule startSchedule; + /** + * @return (Updatable) Provides the schedule information for a desktop. + * + */ + private DesktopPoolAvailabilityPolicyStopSchedule stopSchedule; + + private DesktopPoolAvailabilityPolicy() {} + /** + * @return (Updatable) Provides the schedule information for a desktop. + * + */ + public DesktopPoolAvailabilityPolicyStartSchedule startSchedule() { + return this.startSchedule; + } + /** + * @return (Updatable) Provides the schedule information for a desktop. + * + */ + public DesktopPoolAvailabilityPolicyStopSchedule stopSchedule() { + return this.stopSchedule; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DesktopPoolAvailabilityPolicy defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private DesktopPoolAvailabilityPolicyStartSchedule startSchedule; + private DesktopPoolAvailabilityPolicyStopSchedule stopSchedule; + public Builder() {} + public Builder(DesktopPoolAvailabilityPolicy defaults) { + Objects.requireNonNull(defaults); + this.startSchedule = defaults.startSchedule; + this.stopSchedule = defaults.stopSchedule; + } + + @CustomType.Setter + public Builder startSchedule(DesktopPoolAvailabilityPolicyStartSchedule startSchedule) { + if (startSchedule == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicy", "startSchedule"); + } + this.startSchedule = startSchedule; + return this; + } + @CustomType.Setter + public Builder stopSchedule(DesktopPoolAvailabilityPolicyStopSchedule stopSchedule) { + if (stopSchedule == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicy", "stopSchedule"); + } + this.stopSchedule = stopSchedule; + return this; + } + public DesktopPoolAvailabilityPolicy build() { + final var _resultValue = new DesktopPoolAvailabilityPolicy(); + _resultValue.startSchedule = startSchedule; + _resultValue.stopSchedule = stopSchedule; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolAvailabilityPolicyStartSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolAvailabilityPolicyStartSchedule.java new file mode 100644 index 0000000000..afa2533a6f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolAvailabilityPolicyStartSchedule.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class DesktopPoolAvailabilityPolicyStartSchedule { + /** + * @return (Updatable) A cron expression describing the desktop's schedule. + * + */ + private String cronExpression; + /** + * @return (Updatable) The timezone of the desktop's schedule. + * + */ + private String timezone; + + private DesktopPoolAvailabilityPolicyStartSchedule() {} + /** + * @return (Updatable) A cron expression describing the desktop's schedule. + * + */ + public String cronExpression() { + return this.cronExpression; + } + /** + * @return (Updatable) The timezone of the desktop's schedule. + * + */ + public String timezone() { + return this.timezone; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DesktopPoolAvailabilityPolicyStartSchedule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cronExpression; + private String timezone; + public Builder() {} + public Builder(DesktopPoolAvailabilityPolicyStartSchedule defaults) { + Objects.requireNonNull(defaults); + this.cronExpression = defaults.cronExpression; + this.timezone = defaults.timezone; + } + + @CustomType.Setter + public Builder cronExpression(String cronExpression) { + if (cronExpression == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicyStartSchedule", "cronExpression"); + } + this.cronExpression = cronExpression; + return this; + } + @CustomType.Setter + public Builder timezone(String timezone) { + if (timezone == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicyStartSchedule", "timezone"); + } + this.timezone = timezone; + return this; + } + public DesktopPoolAvailabilityPolicyStartSchedule build() { + final var _resultValue = new DesktopPoolAvailabilityPolicyStartSchedule(); + _resultValue.cronExpression = cronExpression; + _resultValue.timezone = timezone; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolAvailabilityPolicyStopSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolAvailabilityPolicyStopSchedule.java new file mode 100644 index 0000000000..4b23e68089 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolAvailabilityPolicyStopSchedule.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class DesktopPoolAvailabilityPolicyStopSchedule { + /** + * @return (Updatable) A cron expression describing the desktop's schedule. + * + */ + private String cronExpression; + /** + * @return (Updatable) The timezone of the desktop's schedule. + * + */ + private String timezone; + + private DesktopPoolAvailabilityPolicyStopSchedule() {} + /** + * @return (Updatable) A cron expression describing the desktop's schedule. + * + */ + public String cronExpression() { + return this.cronExpression; + } + /** + * @return (Updatable) The timezone of the desktop's schedule. + * + */ + public String timezone() { + return this.timezone; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DesktopPoolAvailabilityPolicyStopSchedule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cronExpression; + private String timezone; + public Builder() {} + public Builder(DesktopPoolAvailabilityPolicyStopSchedule defaults) { + Objects.requireNonNull(defaults); + this.cronExpression = defaults.cronExpression; + this.timezone = defaults.timezone; + } + + @CustomType.Setter + public Builder cronExpression(String cronExpression) { + if (cronExpression == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicyStopSchedule", "cronExpression"); + } + this.cronExpression = cronExpression; + return this; + } + @CustomType.Setter + public Builder timezone(String timezone) { + if (timezone == null) { + throw new MissingRequiredPropertyException("DesktopPoolAvailabilityPolicyStopSchedule", "timezone"); + } + this.timezone = timezone; + return this; + } + public DesktopPoolAvailabilityPolicyStopSchedule build() { + final var _resultValue = new DesktopPoolAvailabilityPolicyStopSchedule(); + _resultValue.cronExpression = cronExpression; + _resultValue.timezone = timezone; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolDevicePolicy.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolDevicePolicy.java new file mode 100644 index 0000000000..91eb3fc442 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolDevicePolicy.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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class DesktopPoolDevicePolicy { + /** + * @return (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + */ + private String audioMode; + /** + * @return (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + */ + private String cdmMode; + /** + * @return (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + */ + private String clipboardMode; + /** + * @return (Updatable) Indicates whether the display is enabled. + * + */ + private Boolean isDisplayEnabled; + /** + * @return (Updatable) Indicates whether the keyboard is enabled. + * + */ + private Boolean isKeyboardEnabled; + /** + * @return (Updatable) Indicates whether the pointer is enabled. + * + */ + private Boolean isPointerEnabled; + /** + * @return (Updatable) Indicates whether printing is enabled. + * + */ + private Boolean isPrintingEnabled; + + private DesktopPoolDevicePolicy() {} + /** + * @return (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + */ + public String audioMode() { + return this.audioMode; + } + /** + * @return (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + */ + public String cdmMode() { + return this.cdmMode; + } + /** + * @return (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + */ + public String clipboardMode() { + return this.clipboardMode; + } + /** + * @return (Updatable) Indicates whether the display is enabled. + * + */ + public Boolean isDisplayEnabled() { + return this.isDisplayEnabled; + } + /** + * @return (Updatable) Indicates whether the keyboard is enabled. + * + */ + public Boolean isKeyboardEnabled() { + return this.isKeyboardEnabled; + } + /** + * @return (Updatable) Indicates whether the pointer is enabled. + * + */ + public Boolean isPointerEnabled() { + return this.isPointerEnabled; + } + /** + * @return (Updatable) Indicates whether printing is enabled. + * + */ + public Boolean isPrintingEnabled() { + return this.isPrintingEnabled; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DesktopPoolDevicePolicy defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String audioMode; + private String cdmMode; + private String clipboardMode; + private Boolean isDisplayEnabled; + private Boolean isKeyboardEnabled; + private Boolean isPointerEnabled; + private Boolean isPrintingEnabled; + public Builder() {} + public Builder(DesktopPoolDevicePolicy defaults) { + Objects.requireNonNull(defaults); + this.audioMode = defaults.audioMode; + this.cdmMode = defaults.cdmMode; + this.clipboardMode = defaults.clipboardMode; + this.isDisplayEnabled = defaults.isDisplayEnabled; + this.isKeyboardEnabled = defaults.isKeyboardEnabled; + this.isPointerEnabled = defaults.isPointerEnabled; + this.isPrintingEnabled = defaults.isPrintingEnabled; + } + + @CustomType.Setter + public Builder audioMode(String audioMode) { + if (audioMode == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicy", "audioMode"); + } + this.audioMode = audioMode; + return this; + } + @CustomType.Setter + public Builder cdmMode(String cdmMode) { + if (cdmMode == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicy", "cdmMode"); + } + this.cdmMode = cdmMode; + return this; + } + @CustomType.Setter + public Builder clipboardMode(String clipboardMode) { + if (clipboardMode == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicy", "clipboardMode"); + } + this.clipboardMode = clipboardMode; + return this; + } + @CustomType.Setter + public Builder isDisplayEnabled(Boolean isDisplayEnabled) { + if (isDisplayEnabled == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicy", "isDisplayEnabled"); + } + this.isDisplayEnabled = isDisplayEnabled; + return this; + } + @CustomType.Setter + public Builder isKeyboardEnabled(Boolean isKeyboardEnabled) { + if (isKeyboardEnabled == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicy", "isKeyboardEnabled"); + } + this.isKeyboardEnabled = isKeyboardEnabled; + return this; + } + @CustomType.Setter + public Builder isPointerEnabled(Boolean isPointerEnabled) { + if (isPointerEnabled == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicy", "isPointerEnabled"); + } + this.isPointerEnabled = isPointerEnabled; + return this; + } + @CustomType.Setter + public Builder isPrintingEnabled(Boolean isPrintingEnabled) { + if (isPrintingEnabled == null) { + throw new MissingRequiredPropertyException("DesktopPoolDevicePolicy", "isPrintingEnabled"); + } + this.isPrintingEnabled = isPrintingEnabled; + return this; + } + public DesktopPoolDevicePolicy build() { + final var _resultValue = new DesktopPoolDevicePolicy(); + _resultValue.audioMode = audioMode; + _resultValue.cdmMode = cdmMode; + _resultValue.clipboardMode = clipboardMode; + _resultValue.isDisplayEnabled = isDisplayEnabled; + _resultValue.isKeyboardEnabled = isKeyboardEnabled; + _resultValue.isPointerEnabled = isPointerEnabled; + _resultValue.isPrintingEnabled = isPrintingEnabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolImage.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolImage.java new file mode 100644 index 0000000000..2b802d5fc1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolImage.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class DesktopPoolImage { + /** + * @return The OCID of the desktop image. + * + */ + private String imageId; + /** + * @return The name of the desktop image. + * + */ + private String imageName; + + private DesktopPoolImage() {} + /** + * @return The OCID of the desktop image. + * + */ + public String imageId() { + return this.imageId; + } + /** + * @return The name of the desktop image. + * + */ + public String imageName() { + return this.imageName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DesktopPoolImage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String imageId; + private String imageName; + public Builder() {} + public Builder(DesktopPoolImage defaults) { + Objects.requireNonNull(defaults); + this.imageId = defaults.imageId; + this.imageName = defaults.imageName; + } + + @CustomType.Setter + public Builder imageId(String imageId) { + if (imageId == null) { + throw new MissingRequiredPropertyException("DesktopPoolImage", "imageId"); + } + this.imageId = imageId; + return this; + } + @CustomType.Setter + public Builder imageName(String imageName) { + if (imageName == null) { + throw new MissingRequiredPropertyException("DesktopPoolImage", "imageName"); + } + this.imageName = imageName; + return this; + } + public DesktopPoolImage build() { + final var _resultValue = new DesktopPoolImage(); + _resultValue.imageId = imageId; + _resultValue.imageName = imageName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolNetworkConfiguration.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolNetworkConfiguration.java new file mode 100644 index 0000000000..fe1d71f853 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/DesktopPoolNetworkConfiguration.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class DesktopPoolNetworkConfiguration { + /** + * @return The OCID of the subnet to use for the desktop pool. + * + */ + private String subnetId; + /** + * @return The OCID of the VCN used by the desktop pool. + * + */ + private String vcnId; + + private DesktopPoolNetworkConfiguration() {} + /** + * @return The OCID of the subnet to use for the desktop pool. + * + */ + public String subnetId() { + return this.subnetId; + } + /** + * @return The OCID of the VCN used by the desktop pool. + * + */ + public String vcnId() { + return this.vcnId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(DesktopPoolNetworkConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String subnetId; + private String vcnId; + public Builder() {} + public Builder(DesktopPoolNetworkConfiguration defaults) { + Objects.requireNonNull(defaults); + this.subnetId = defaults.subnetId; + this.vcnId = defaults.vcnId; + } + + @CustomType.Setter + public Builder subnetId(String subnetId) { + if (subnetId == null) { + throw new MissingRequiredPropertyException("DesktopPoolNetworkConfiguration", "subnetId"); + } + this.subnetId = subnetId; + return this; + } + @CustomType.Setter + public Builder vcnId(String vcnId) { + if (vcnId == null) { + throw new MissingRequiredPropertyException("DesktopPoolNetworkConfiguration", "vcnId"); + } + this.vcnId = vcnId; + return this; + } + public DesktopPoolNetworkConfiguration build() { + final var _resultValue = new DesktopPoolNetworkConfiguration(); + _resultValue.subnetId = subnetId; + _resultValue.vcnId = vcnId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopDevicePolicy.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopDevicePolicy.java new file mode 100644 index 0000000000..05255ffafb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopDevicePolicy.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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopDevicePolicy { + /** + * @return The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + */ + private String audioMode; + /** + * @return The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + */ + private String cdmMode; + /** + * @return The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + */ + private String clipboardMode; + /** + * @return Indicates whether the display is enabled. + * + */ + private Boolean isDisplayEnabled; + /** + * @return Indicates whether the keyboard is enabled. + * + */ + private Boolean isKeyboardEnabled; + /** + * @return Indicates whether the pointer is enabled. + * + */ + private Boolean isPointerEnabled; + /** + * @return Indicates whether printing is enabled. + * + */ + private Boolean isPrintingEnabled; + + private GetDesktopDevicePolicy() {} + /** + * @return The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + */ + public String audioMode() { + return this.audioMode; + } + /** + * @return The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + */ + public String cdmMode() { + return this.cdmMode; + } + /** + * @return The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + */ + public String clipboardMode() { + return this.clipboardMode; + } + /** + * @return Indicates whether the display is enabled. + * + */ + public Boolean isDisplayEnabled() { + return this.isDisplayEnabled; + } + /** + * @return Indicates whether the keyboard is enabled. + * + */ + public Boolean isKeyboardEnabled() { + return this.isKeyboardEnabled; + } + /** + * @return Indicates whether the pointer is enabled. + * + */ + public Boolean isPointerEnabled() { + return this.isPointerEnabled; + } + /** + * @return Indicates whether printing is enabled. + * + */ + public Boolean isPrintingEnabled() { + return this.isPrintingEnabled; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopDevicePolicy defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String audioMode; + private String cdmMode; + private String clipboardMode; + private Boolean isDisplayEnabled; + private Boolean isKeyboardEnabled; + private Boolean isPointerEnabled; + private Boolean isPrintingEnabled; + public Builder() {} + public Builder(GetDesktopDevicePolicy defaults) { + Objects.requireNonNull(defaults); + this.audioMode = defaults.audioMode; + this.cdmMode = defaults.cdmMode; + this.clipboardMode = defaults.clipboardMode; + this.isDisplayEnabled = defaults.isDisplayEnabled; + this.isKeyboardEnabled = defaults.isKeyboardEnabled; + this.isPointerEnabled = defaults.isPointerEnabled; + this.isPrintingEnabled = defaults.isPrintingEnabled; + } + + @CustomType.Setter + public Builder audioMode(String audioMode) { + if (audioMode == null) { + throw new MissingRequiredPropertyException("GetDesktopDevicePolicy", "audioMode"); + } + this.audioMode = audioMode; + return this; + } + @CustomType.Setter + public Builder cdmMode(String cdmMode) { + if (cdmMode == null) { + throw new MissingRequiredPropertyException("GetDesktopDevicePolicy", "cdmMode"); + } + this.cdmMode = cdmMode; + return this; + } + @CustomType.Setter + public Builder clipboardMode(String clipboardMode) { + if (clipboardMode == null) { + throw new MissingRequiredPropertyException("GetDesktopDevicePolicy", "clipboardMode"); + } + this.clipboardMode = clipboardMode; + return this; + } + @CustomType.Setter + public Builder isDisplayEnabled(Boolean isDisplayEnabled) { + if (isDisplayEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopDevicePolicy", "isDisplayEnabled"); + } + this.isDisplayEnabled = isDisplayEnabled; + return this; + } + @CustomType.Setter + public Builder isKeyboardEnabled(Boolean isKeyboardEnabled) { + if (isKeyboardEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopDevicePolicy", "isKeyboardEnabled"); + } + this.isKeyboardEnabled = isKeyboardEnabled; + return this; + } + @CustomType.Setter + public Builder isPointerEnabled(Boolean isPointerEnabled) { + if (isPointerEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopDevicePolicy", "isPointerEnabled"); + } + this.isPointerEnabled = isPointerEnabled; + return this; + } + @CustomType.Setter + public Builder isPrintingEnabled(Boolean isPrintingEnabled) { + if (isPrintingEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopDevicePolicy", "isPrintingEnabled"); + } + this.isPrintingEnabled = isPrintingEnabled; + return this; + } + public GetDesktopDevicePolicy build() { + final var _resultValue = new GetDesktopDevicePolicy(); + _resultValue.audioMode = audioMode; + _resultValue.cdmMode = cdmMode; + _resultValue.clipboardMode = clipboardMode; + _resultValue.isDisplayEnabled = isDisplayEnabled; + _resultValue.isKeyboardEnabled = isKeyboardEnabled; + _resultValue.isPointerEnabled = isPointerEnabled; + _resultValue.isPrintingEnabled = isPrintingEnabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopHostingOption.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopHostingOption.java new file mode 100644 index 0000000000..205094ebdf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopHostingOption.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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopHostingOptionImage; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDesktopHostingOption { + /** + * @return The connection address of the desktop. + * + */ + private String connectAddress; + /** + * @return Provides information about the desktop image. + * + */ + private List images; + + private GetDesktopHostingOption() {} + /** + * @return The connection address of the desktop. + * + */ + public String connectAddress() { + return this.connectAddress; + } + /** + * @return Provides information about the desktop image. + * + */ + public List images() { + return this.images; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopHostingOption defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String connectAddress; + private List images; + public Builder() {} + public Builder(GetDesktopHostingOption defaults) { + Objects.requireNonNull(defaults); + this.connectAddress = defaults.connectAddress; + this.images = defaults.images; + } + + @CustomType.Setter + public Builder connectAddress(String connectAddress) { + if (connectAddress == null) { + throw new MissingRequiredPropertyException("GetDesktopHostingOption", "connectAddress"); + } + this.connectAddress = connectAddress; + return this; + } + @CustomType.Setter + public Builder images(List images) { + if (images == null) { + throw new MissingRequiredPropertyException("GetDesktopHostingOption", "images"); + } + this.images = images; + return this; + } + public Builder images(GetDesktopHostingOptionImage... images) { + return images(List.of(images)); + } + public GetDesktopHostingOption build() { + final var _resultValue = new GetDesktopHostingOption(); + _resultValue.connectAddress = connectAddress; + _resultValue.images = images; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopHostingOptionImage.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopHostingOptionImage.java new file mode 100644 index 0000000000..f679210ef3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopHostingOptionImage.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopHostingOptionImage { + /** + * @return The OCID of the desktop image. + * + */ + private String imageId; + /** + * @return The name of the desktop image. + * + */ + private String imageName; + + private GetDesktopHostingOptionImage() {} + /** + * @return The OCID of the desktop image. + * + */ + public String imageId() { + return this.imageId; + } + /** + * @return The name of the desktop image. + * + */ + public String imageName() { + return this.imageName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopHostingOptionImage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String imageId; + private String imageName; + public Builder() {} + public Builder(GetDesktopHostingOptionImage defaults) { + Objects.requireNonNull(defaults); + this.imageId = defaults.imageId; + this.imageName = defaults.imageName; + } + + @CustomType.Setter + public Builder imageId(String imageId) { + if (imageId == null) { + throw new MissingRequiredPropertyException("GetDesktopHostingOptionImage", "imageId"); + } + this.imageId = imageId; + return this; + } + @CustomType.Setter + public Builder imageName(String imageName) { + if (imageName == null) { + throw new MissingRequiredPropertyException("GetDesktopHostingOptionImage", "imageName"); + } + this.imageName = imageName; + return this; + } + public GetDesktopHostingOptionImage build() { + final var _resultValue = new GetDesktopHostingOptionImage(); + _resultValue.imageId = imageId; + _resultValue.imageName = imageName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolAvailabilityPolicy.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolAvailabilityPolicy.java new file mode 100644 index 0000000000..31c84f12ac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolAvailabilityPolicy.java @@ -0,0 +1,89 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolAvailabilityPolicyStartSchedule; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolAvailabilityPolicyStopSchedule; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolAvailabilityPolicy { + /** + * @return Provides the schedule information for a desktop. + * + */ + private List startSchedules; + /** + * @return Provides the schedule information for a desktop. + * + */ + private List stopSchedules; + + private GetDesktopPoolAvailabilityPolicy() {} + /** + * @return Provides the schedule information for a desktop. + * + */ + public List startSchedules() { + return this.startSchedules; + } + /** + * @return Provides the schedule information for a desktop. + * + */ + public List stopSchedules() { + return this.stopSchedules; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolAvailabilityPolicy defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List startSchedules; + private List stopSchedules; + public Builder() {} + public Builder(GetDesktopPoolAvailabilityPolicy defaults) { + Objects.requireNonNull(defaults); + this.startSchedules = defaults.startSchedules; + this.stopSchedules = defaults.stopSchedules; + } + + @CustomType.Setter + public Builder startSchedules(List startSchedules) { + if (startSchedules == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolAvailabilityPolicy", "startSchedules"); + } + this.startSchedules = startSchedules; + return this; + } + public Builder startSchedules(GetDesktopPoolAvailabilityPolicyStartSchedule... startSchedules) { + return startSchedules(List.of(startSchedules)); + } + @CustomType.Setter + public Builder stopSchedules(List stopSchedules) { + if (stopSchedules == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolAvailabilityPolicy", "stopSchedules"); + } + this.stopSchedules = stopSchedules; + return this; + } + public Builder stopSchedules(GetDesktopPoolAvailabilityPolicyStopSchedule... stopSchedules) { + return stopSchedules(List.of(stopSchedules)); + } + public GetDesktopPoolAvailabilityPolicy build() { + final var _resultValue = new GetDesktopPoolAvailabilityPolicy(); + _resultValue.startSchedules = startSchedules; + _resultValue.stopSchedules = stopSchedules; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolAvailabilityPolicyStartSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolAvailabilityPolicyStartSchedule.java new file mode 100644 index 0000000000..715cc5570c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolAvailabilityPolicyStartSchedule.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolAvailabilityPolicyStartSchedule { + /** + * @return A cron expression describing the desktop's schedule. + * + */ + private String cronExpression; + /** + * @return The timezone of the desktop's schedule. + * + */ + private String timezone; + + private GetDesktopPoolAvailabilityPolicyStartSchedule() {} + /** + * @return A cron expression describing the desktop's schedule. + * + */ + public String cronExpression() { + return this.cronExpression; + } + /** + * @return The timezone of the desktop's schedule. + * + */ + public String timezone() { + return this.timezone; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolAvailabilityPolicyStartSchedule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cronExpression; + private String timezone; + public Builder() {} + public Builder(GetDesktopPoolAvailabilityPolicyStartSchedule defaults) { + Objects.requireNonNull(defaults); + this.cronExpression = defaults.cronExpression; + this.timezone = defaults.timezone; + } + + @CustomType.Setter + public Builder cronExpression(String cronExpression) { + if (cronExpression == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolAvailabilityPolicyStartSchedule", "cronExpression"); + } + this.cronExpression = cronExpression; + return this; + } + @CustomType.Setter + public Builder timezone(String timezone) { + if (timezone == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolAvailabilityPolicyStartSchedule", "timezone"); + } + this.timezone = timezone; + return this; + } + public GetDesktopPoolAvailabilityPolicyStartSchedule build() { + final var _resultValue = new GetDesktopPoolAvailabilityPolicyStartSchedule(); + _resultValue.cronExpression = cronExpression; + _resultValue.timezone = timezone; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolAvailabilityPolicyStopSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolAvailabilityPolicyStopSchedule.java new file mode 100644 index 0000000000..43a732a4a7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolAvailabilityPolicyStopSchedule.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolAvailabilityPolicyStopSchedule { + /** + * @return A cron expression describing the desktop's schedule. + * + */ + private String cronExpression; + /** + * @return The timezone of the desktop's schedule. + * + */ + private String timezone; + + private GetDesktopPoolAvailabilityPolicyStopSchedule() {} + /** + * @return A cron expression describing the desktop's schedule. + * + */ + public String cronExpression() { + return this.cronExpression; + } + /** + * @return The timezone of the desktop's schedule. + * + */ + public String timezone() { + return this.timezone; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolAvailabilityPolicyStopSchedule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cronExpression; + private String timezone; + public Builder() {} + public Builder(GetDesktopPoolAvailabilityPolicyStopSchedule defaults) { + Objects.requireNonNull(defaults); + this.cronExpression = defaults.cronExpression; + this.timezone = defaults.timezone; + } + + @CustomType.Setter + public Builder cronExpression(String cronExpression) { + if (cronExpression == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolAvailabilityPolicyStopSchedule", "cronExpression"); + } + this.cronExpression = cronExpression; + return this; + } + @CustomType.Setter + public Builder timezone(String timezone) { + if (timezone == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolAvailabilityPolicyStopSchedule", "timezone"); + } + this.timezone = timezone; + return this; + } + public GetDesktopPoolAvailabilityPolicyStopSchedule build() { + final var _resultValue = new GetDesktopPoolAvailabilityPolicyStopSchedule(); + _resultValue.cronExpression = cronExpression; + _resultValue.timezone = timezone; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollection.java new file mode 100644 index 0000000000..a0a132def7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollection.java @@ -0,0 +1,62 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolDesktopsDesktopPoolDesktopCollection { + /** + * @return A list of desktops. + * + */ + private List items; + + private GetDesktopPoolDesktopsDesktopPoolDesktopCollection() {} + /** + * @return A list of desktops. + * + */ + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolDesktopsDesktopPoolDesktopCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDesktopPoolDesktopsDesktopPoolDesktopCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsDesktopPoolDesktopCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem... items) { + return items(List.of(items)); + } + public GetDesktopPoolDesktopsDesktopPoolDesktopCollection build() { + final var _resultValue = new GetDesktopPoolDesktopsDesktopPoolDesktopCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem.java new file mode 100644 index 0000000000..e230901b16 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem.java @@ -0,0 +1,221 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem { + /** + * @return 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"}` + * + */ + private Map definedTags; + /** + * @return The OCID of the desktop. + * + */ + private String desktopId; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return The OCID of the compute resource used by this desktop. + * + */ + private String instanceId; + /** + * @return Indicates whether the desktop is assigned to a user. + * + */ + private Boolean isAssigned; + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + private String state; + /** + * @return The date and time the resource was created. + * + */ + private String timeCreated; + /** + * @return The owner of the desktop. + * + */ + private String userName; + + private GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem() {} + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + /** + * @return The OCID of the desktop. + * + */ + public String desktopId() { + return this.desktopId; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The OCID of the compute resource used by this desktop. + * + */ + public String instanceId() { + return this.instanceId; + } + /** + * @return Indicates whether the desktop is assigned to a user. + * + */ + public Boolean isAssigned() { + return this.isAssigned; + } + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public String state() { + return this.state; + } + /** + * @return The date and time the resource was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The owner of the desktop. + * + */ + public String userName() { + return this.userName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Map definedTags; + private String desktopId; + private Map freeformTags; + private String instanceId; + private Boolean isAssigned; + private String state; + private String timeCreated; + private String userName; + public Builder() {} + public Builder(GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.definedTags = defaults.definedTags; + this.desktopId = defaults.desktopId; + this.freeformTags = defaults.freeformTags; + this.instanceId = defaults.instanceId; + this.isAssigned = defaults.isAssigned; + this.state = defaults.state; + this.timeCreated = defaults.timeCreated; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder desktopId(String desktopId) { + if (desktopId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem", "desktopId"); + } + this.desktopId = desktopId; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder instanceId(String instanceId) { + if (instanceId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem", "instanceId"); + } + this.instanceId = instanceId; + return this; + } + @CustomType.Setter + public Builder isAssigned(Boolean isAssigned) { + if (isAssigned == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem", "isAssigned"); + } + this.isAssigned = isAssigned; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder userName(String userName) { + if (userName == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem", "userName"); + } + this.userName = userName; + return this; + } + public GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem build() { + final var _resultValue = new GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem(); + _resultValue.definedTags = definedTags; + _resultValue.desktopId = desktopId; + _resultValue.freeformTags = freeformTags; + _resultValue.instanceId = instanceId; + _resultValue.isAssigned = isAssigned; + _resultValue.state = state; + _resultValue.timeCreated = timeCreated; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsFilter.java new file mode 100644 index 0000000000..6b21da9e03 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsFilter.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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +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 GetDesktopPoolDesktopsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetDesktopPoolDesktopsFilter() {} + 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(GetDesktopPoolDesktopsFilter 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(GetDesktopPoolDesktopsFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsFilter", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + if (values == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsFilter", "values"); + } + this.values = values; + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetDesktopPoolDesktopsFilter build() { + final var _resultValue = new GetDesktopPoolDesktopsFilter(); + _resultValue.name = name; + _resultValue.regex = regex; + _resultValue.values = values; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsResult.java new file mode 100644 index 0000000000..26cc94ffa9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDesktopsResult.java @@ -0,0 +1,172 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolDesktopsDesktopPoolDesktopCollection; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolDesktopsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDesktopPoolDesktopsResult { + private @Nullable String availabilityDomain; + private String compartmentId; + /** + * @return The list of desktop_pool_desktop_collection. + * + */ + private List desktopPoolDesktopCollections; + private String desktopPoolId; + private @Nullable String displayName; + private @Nullable List filters; + private @Nullable String id; + /** + * @return The state of the desktop. + * + */ + private @Nullable String state; + + private GetDesktopPoolDesktopsResult() {} + public Optional availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The list of desktop_pool_desktop_collection. + * + */ + public List desktopPoolDesktopCollections() { + return this.desktopPoolDesktopCollections; + } + public String desktopPoolId() { + return this.desktopPoolId; + } + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return The state of the desktop. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolDesktopsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String availabilityDomain; + private String compartmentId; + private List desktopPoolDesktopCollections; + private String desktopPoolId; + private @Nullable String displayName; + private @Nullable List filters; + private @Nullable String id; + private @Nullable String state; + public Builder() {} + public Builder(GetDesktopPoolDesktopsResult defaults) { + Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; + this.compartmentId = defaults.compartmentId; + this.desktopPoolDesktopCollections = defaults.desktopPoolDesktopCollections; + this.desktopPoolId = defaults.desktopPoolId; + this.displayName = defaults.displayName; + this.filters = defaults.filters; + this.id = defaults.id; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder availabilityDomain(@Nullable String availabilityDomain) { + + this.availabilityDomain = availabilityDomain; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder desktopPoolDesktopCollections(List desktopPoolDesktopCollections) { + if (desktopPoolDesktopCollections == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsResult", "desktopPoolDesktopCollections"); + } + this.desktopPoolDesktopCollections = desktopPoolDesktopCollections; + return this; + } + public Builder desktopPoolDesktopCollections(GetDesktopPoolDesktopsDesktopPoolDesktopCollection... desktopPoolDesktopCollections) { + return desktopPoolDesktopCollections(List.of(desktopPoolDesktopCollections)); + } + @CustomType.Setter + public Builder desktopPoolId(String desktopPoolId) { + if (desktopPoolId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDesktopsResult", "desktopPoolId"); + } + this.desktopPoolId = desktopPoolId; + 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(GetDesktopPoolDesktopsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public GetDesktopPoolDesktopsResult build() { + final var _resultValue = new GetDesktopPoolDesktopsResult(); + _resultValue.availabilityDomain = availabilityDomain; + _resultValue.compartmentId = compartmentId; + _resultValue.desktopPoolDesktopCollections = desktopPoolDesktopCollections; + _resultValue.desktopPoolId = desktopPoolId; + _resultValue.displayName = displayName; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDevicePolicy.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDevicePolicy.java new file mode 100644 index 0000000000..b788bec5b1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolDevicePolicy.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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolDevicePolicy { + /** + * @return The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + */ + private String audioMode; + /** + * @return The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + */ + private String cdmMode; + /** + * @return The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + */ + private String clipboardMode; + /** + * @return Indicates whether the display is enabled. + * + */ + private Boolean isDisplayEnabled; + /** + * @return Indicates whether the keyboard is enabled. + * + */ + private Boolean isKeyboardEnabled; + /** + * @return Indicates whether the pointer is enabled. + * + */ + private Boolean isPointerEnabled; + /** + * @return Indicates whether printing is enabled. + * + */ + private Boolean isPrintingEnabled; + + private GetDesktopPoolDevicePolicy() {} + /** + * @return The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + */ + public String audioMode() { + return this.audioMode; + } + /** + * @return The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + */ + public String cdmMode() { + return this.cdmMode; + } + /** + * @return The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + */ + public String clipboardMode() { + return this.clipboardMode; + } + /** + * @return Indicates whether the display is enabled. + * + */ + public Boolean isDisplayEnabled() { + return this.isDisplayEnabled; + } + /** + * @return Indicates whether the keyboard is enabled. + * + */ + public Boolean isKeyboardEnabled() { + return this.isKeyboardEnabled; + } + /** + * @return Indicates whether the pointer is enabled. + * + */ + public Boolean isPointerEnabled() { + return this.isPointerEnabled; + } + /** + * @return Indicates whether printing is enabled. + * + */ + public Boolean isPrintingEnabled() { + return this.isPrintingEnabled; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolDevicePolicy defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String audioMode; + private String cdmMode; + private String clipboardMode; + private Boolean isDisplayEnabled; + private Boolean isKeyboardEnabled; + private Boolean isPointerEnabled; + private Boolean isPrintingEnabled; + public Builder() {} + public Builder(GetDesktopPoolDevicePolicy defaults) { + Objects.requireNonNull(defaults); + this.audioMode = defaults.audioMode; + this.cdmMode = defaults.cdmMode; + this.clipboardMode = defaults.clipboardMode; + this.isDisplayEnabled = defaults.isDisplayEnabled; + this.isKeyboardEnabled = defaults.isKeyboardEnabled; + this.isPointerEnabled = defaults.isPointerEnabled; + this.isPrintingEnabled = defaults.isPrintingEnabled; + } + + @CustomType.Setter + public Builder audioMode(String audioMode) { + if (audioMode == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDevicePolicy", "audioMode"); + } + this.audioMode = audioMode; + return this; + } + @CustomType.Setter + public Builder cdmMode(String cdmMode) { + if (cdmMode == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDevicePolicy", "cdmMode"); + } + this.cdmMode = cdmMode; + return this; + } + @CustomType.Setter + public Builder clipboardMode(String clipboardMode) { + if (clipboardMode == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDevicePolicy", "clipboardMode"); + } + this.clipboardMode = clipboardMode; + return this; + } + @CustomType.Setter + public Builder isDisplayEnabled(Boolean isDisplayEnabled) { + if (isDisplayEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDevicePolicy", "isDisplayEnabled"); + } + this.isDisplayEnabled = isDisplayEnabled; + return this; + } + @CustomType.Setter + public Builder isKeyboardEnabled(Boolean isKeyboardEnabled) { + if (isKeyboardEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDevicePolicy", "isKeyboardEnabled"); + } + this.isKeyboardEnabled = isKeyboardEnabled; + return this; + } + @CustomType.Setter + public Builder isPointerEnabled(Boolean isPointerEnabled) { + if (isPointerEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDevicePolicy", "isPointerEnabled"); + } + this.isPointerEnabled = isPointerEnabled; + return this; + } + @CustomType.Setter + public Builder isPrintingEnabled(Boolean isPrintingEnabled) { + if (isPrintingEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolDevicePolicy", "isPrintingEnabled"); + } + this.isPrintingEnabled = isPrintingEnabled; + return this; + } + public GetDesktopPoolDevicePolicy build() { + final var _resultValue = new GetDesktopPoolDevicePolicy(); + _resultValue.audioMode = audioMode; + _resultValue.cdmMode = cdmMode; + _resultValue.clipboardMode = clipboardMode; + _resultValue.isDisplayEnabled = isDisplayEnabled; + _resultValue.isKeyboardEnabled = isKeyboardEnabled; + _resultValue.isPointerEnabled = isPointerEnabled; + _resultValue.isPrintingEnabled = isPrintingEnabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolImage.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolImage.java new file mode 100644 index 0000000000..d7712333a6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolImage.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolImage { + /** + * @return The OCID of the desktop image. + * + */ + private String imageId; + /** + * @return The name of the desktop image. + * + */ + private String imageName; + + private GetDesktopPoolImage() {} + /** + * @return The OCID of the desktop image. + * + */ + public String imageId() { + return this.imageId; + } + /** + * @return The name of the desktop image. + * + */ + public String imageName() { + return this.imageName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolImage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String imageId; + private String imageName; + public Builder() {} + public Builder(GetDesktopPoolImage defaults) { + Objects.requireNonNull(defaults); + this.imageId = defaults.imageId; + this.imageName = defaults.imageName; + } + + @CustomType.Setter + public Builder imageId(String imageId) { + if (imageId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolImage", "imageId"); + } + this.imageId = imageId; + return this; + } + @CustomType.Setter + public Builder imageName(String imageName) { + if (imageName == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolImage", "imageName"); + } + this.imageName = imageName; + return this; + } + public GetDesktopPoolImage build() { + final var _resultValue = new GetDesktopPoolImage(); + _resultValue.imageId = imageId; + _resultValue.imageName = imageName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolNetworkConfiguration.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolNetworkConfiguration.java new file mode 100644 index 0000000000..54b63058fe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolNetworkConfiguration.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolNetworkConfiguration { + /** + * @return The OCID of the subnet to use for the desktop pool. + * + */ + private String subnetId; + /** + * @return The OCID of the VCN used by the desktop pool. + * + */ + private String vcnId; + + private GetDesktopPoolNetworkConfiguration() {} + /** + * @return The OCID of the subnet to use for the desktop pool. + * + */ + public String subnetId() { + return this.subnetId; + } + /** + * @return The OCID of the VCN used by the desktop pool. + * + */ + public String vcnId() { + return this.vcnId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolNetworkConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String subnetId; + private String vcnId; + public Builder() {} + public Builder(GetDesktopPoolNetworkConfiguration defaults) { + Objects.requireNonNull(defaults); + this.subnetId = defaults.subnetId; + this.vcnId = defaults.vcnId; + } + + @CustomType.Setter + public Builder subnetId(String subnetId) { + if (subnetId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolNetworkConfiguration", "subnetId"); + } + this.subnetId = subnetId; + return this; + } + @CustomType.Setter + public Builder vcnId(String vcnId) { + if (vcnId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolNetworkConfiguration", "vcnId"); + } + this.vcnId = vcnId; + return this; + } + public GetDesktopPoolNetworkConfiguration build() { + final var _resultValue = new GetDesktopPoolNetworkConfiguration(); + _resultValue.subnetId = subnetId; + _resultValue.vcnId = vcnId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolResult.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolResult.java new file mode 100644 index 0000000000..613d2d3da4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolResult.java @@ -0,0 +1,648 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolAvailabilityPolicy; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolDevicePolicy; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolImage; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolNetworkConfiguration; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolResult { + /** + * @return The number of active desktops in the desktop pool. + * + */ + private Integer activeDesktops; + /** + * @return Indicates whether desktop pool users have administrative privileges on their desktop. + * + */ + private Boolean arePrivilegedUsers; + /** + * @return The availability domain of the desktop pool. + * + */ + private String availabilityDomain; + /** + * @return Provides the start and stop schedule information for desktop availability of the desktop pool. + * + */ + private List availabilityPolicies; + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + private String compartmentId; + /** + * @return Contact information of the desktop pool administrator. Avoid entering confidential information. + * + */ + private String contactDetails; + /** + * @return 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"}` + * + */ + private Map definedTags; + /** + * @return A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + */ + private String description; + private String desktopPoolId; + /** + * @return Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + private List devicePolicies; + /** + * @return A user friendly display name. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return The OCID of the desktop pool. + * + */ + private String id; + /** + * @return Provides information about the desktop image. + * + */ + private List images; + /** + * @return Indicates whether storage is enabled for the desktop pool. + * + */ + private Boolean isStorageEnabled; + /** + * @return The maximum number of desktops permitted in the desktop pool. + * + */ + private Integer maximumSize; + /** + * @return Provides information about the network configuration of the desktop pool. + * + */ + private List networkConfigurations; + /** + * @return A list of network security groups for the desktop pool. + * + */ + private List nsgIds; + /** + * @return The shape of the desktop pool. + * + */ + private String shapeName; + /** + * @return The maximum number of standby desktops available in the desktop pool. + * + */ + private Integer standbySize; + /** + * @return The current state of the desktop pool. + * + */ + private String state; + /** + * @return The backup policy OCID of the storage. + * + */ + private String storageBackupPolicyId; + /** + * @return The size in GBs of the storage for the desktop pool. + * + */ + private Integer storageSizeInGbs; + /** + * @return The date and time the resource was created. + * + */ + private String timeCreated; + /** + * @return The start time of the desktop pool. + * + */ + private String timeStartScheduled; + /** + * @return The stop time of the desktop pool. + * + */ + private String timeStopScheduled; + + private GetDesktopPoolResult() {} + /** + * @return The number of active desktops in the desktop pool. + * + */ + public Integer activeDesktops() { + return this.activeDesktops; + } + /** + * @return Indicates whether desktop pool users have administrative privileges on their desktop. + * + */ + public Boolean arePrivilegedUsers() { + return this.arePrivilegedUsers; + } + /** + * @return The availability domain of the desktop pool. + * + */ + public String availabilityDomain() { + return this.availabilityDomain; + } + /** + * @return Provides the start and stop schedule information for desktop availability of the desktop pool. + * + */ + public List availabilityPolicies() { + return this.availabilityPolicies; + } + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Contact information of the desktop pool administrator. Avoid entering confidential information. + * + */ + public String contactDetails() { + return this.contactDetails; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + /** + * @return A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + */ + public String description() { + return this.description; + } + public String desktopPoolId() { + return this.desktopPoolId; + } + /** + * @return Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + public List devicePolicies() { + return this.devicePolicies; + } + /** + * @return A user friendly display name. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The OCID of the desktop pool. + * + */ + public String id() { + return this.id; + } + /** + * @return Provides information about the desktop image. + * + */ + public List images() { + return this.images; + } + /** + * @return Indicates whether storage is enabled for the desktop pool. + * + */ + public Boolean isStorageEnabled() { + return this.isStorageEnabled; + } + /** + * @return The maximum number of desktops permitted in the desktop pool. + * + */ + public Integer maximumSize() { + return this.maximumSize; + } + /** + * @return Provides information about the network configuration of the desktop pool. + * + */ + public List networkConfigurations() { + return this.networkConfigurations; + } + /** + * @return A list of network security groups for the desktop pool. + * + */ + public List nsgIds() { + return this.nsgIds; + } + /** + * @return The shape of the desktop pool. + * + */ + public String shapeName() { + return this.shapeName; + } + /** + * @return The maximum number of standby desktops available in the desktop pool. + * + */ + public Integer standbySize() { + return this.standbySize; + } + /** + * @return The current state of the desktop pool. + * + */ + public String state() { + return this.state; + } + /** + * @return The backup policy OCID of the storage. + * + */ + public String storageBackupPolicyId() { + return this.storageBackupPolicyId; + } + /** + * @return The size in GBs of the storage for the desktop pool. + * + */ + public Integer storageSizeInGbs() { + return this.storageSizeInGbs; + } + /** + * @return The date and time the resource was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The start time of the desktop pool. + * + */ + public String timeStartScheduled() { + return this.timeStartScheduled; + } + /** + * @return The stop time of the desktop pool. + * + */ + public String timeStopScheduled() { + return this.timeStopScheduled; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer activeDesktops; + private Boolean arePrivilegedUsers; + private String availabilityDomain; + private List availabilityPolicies; + private String compartmentId; + private String contactDetails; + private Map definedTags; + private String description; + private String desktopPoolId; + private List devicePolicies; + private String displayName; + private Map freeformTags; + private String id; + private List images; + private Boolean isStorageEnabled; + private Integer maximumSize; + private List networkConfigurations; + private List nsgIds; + private String shapeName; + private Integer standbySize; + private String state; + private String storageBackupPolicyId; + private Integer storageSizeInGbs; + private String timeCreated; + private String timeStartScheduled; + private String timeStopScheduled; + public Builder() {} + public Builder(GetDesktopPoolResult defaults) { + Objects.requireNonNull(defaults); + this.activeDesktops = defaults.activeDesktops; + this.arePrivilegedUsers = defaults.arePrivilegedUsers; + this.availabilityDomain = defaults.availabilityDomain; + this.availabilityPolicies = defaults.availabilityPolicies; + this.compartmentId = defaults.compartmentId; + this.contactDetails = defaults.contactDetails; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.desktopPoolId = defaults.desktopPoolId; + this.devicePolicies = defaults.devicePolicies; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.images = defaults.images; + this.isStorageEnabled = defaults.isStorageEnabled; + this.maximumSize = defaults.maximumSize; + this.networkConfigurations = defaults.networkConfigurations; + this.nsgIds = defaults.nsgIds; + this.shapeName = defaults.shapeName; + this.standbySize = defaults.standbySize; + this.state = defaults.state; + this.storageBackupPolicyId = defaults.storageBackupPolicyId; + this.storageSizeInGbs = defaults.storageSizeInGbs; + this.timeCreated = defaults.timeCreated; + this.timeStartScheduled = defaults.timeStartScheduled; + this.timeStopScheduled = defaults.timeStopScheduled; + } + + @CustomType.Setter + public Builder activeDesktops(Integer activeDesktops) { + if (activeDesktops == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "activeDesktops"); + } + this.activeDesktops = activeDesktops; + return this; + } + @CustomType.Setter + public Builder arePrivilegedUsers(Boolean arePrivilegedUsers) { + if (arePrivilegedUsers == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "arePrivilegedUsers"); + } + this.arePrivilegedUsers = arePrivilegedUsers; + return this; + } + @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } + @CustomType.Setter + public Builder availabilityPolicies(List availabilityPolicies) { + if (availabilityPolicies == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "availabilityPolicies"); + } + this.availabilityPolicies = availabilityPolicies; + return this; + } + public Builder availabilityPolicies(GetDesktopPoolAvailabilityPolicy... availabilityPolicies) { + return availabilityPolicies(List.of(availabilityPolicies)); + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder contactDetails(String contactDetails) { + if (contactDetails == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "contactDetails"); + } + this.contactDetails = contactDetails; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder desktopPoolId(String desktopPoolId) { + if (desktopPoolId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "desktopPoolId"); + } + this.desktopPoolId = desktopPoolId; + return this; + } + @CustomType.Setter + public Builder devicePolicies(List devicePolicies) { + if (devicePolicies == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "devicePolicies"); + } + this.devicePolicies = devicePolicies; + return this; + } + public Builder devicePolicies(GetDesktopPoolDevicePolicy... devicePolicies) { + return devicePolicies(List.of(devicePolicies)); + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder images(List images) { + if (images == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "images"); + } + this.images = images; + return this; + } + public Builder images(GetDesktopPoolImage... images) { + return images(List.of(images)); + } + @CustomType.Setter + public Builder isStorageEnabled(Boolean isStorageEnabled) { + if (isStorageEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "isStorageEnabled"); + } + this.isStorageEnabled = isStorageEnabled; + return this; + } + @CustomType.Setter + public Builder maximumSize(Integer maximumSize) { + if (maximumSize == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "maximumSize"); + } + this.maximumSize = maximumSize; + return this; + } + @CustomType.Setter + public Builder networkConfigurations(List networkConfigurations) { + if (networkConfigurations == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "networkConfigurations"); + } + this.networkConfigurations = networkConfigurations; + return this; + } + public Builder networkConfigurations(GetDesktopPoolNetworkConfiguration... networkConfigurations) { + return networkConfigurations(List.of(networkConfigurations)); + } + @CustomType.Setter + public Builder nsgIds(List nsgIds) { + if (nsgIds == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "nsgIds"); + } + this.nsgIds = nsgIds; + return this; + } + public Builder nsgIds(String... nsgIds) { + return nsgIds(List.of(nsgIds)); + } + @CustomType.Setter + public Builder shapeName(String shapeName) { + if (shapeName == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "shapeName"); + } + this.shapeName = shapeName; + return this; + } + @CustomType.Setter + public Builder standbySize(Integer standbySize) { + if (standbySize == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "standbySize"); + } + this.standbySize = standbySize; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder storageBackupPolicyId(String storageBackupPolicyId) { + if (storageBackupPolicyId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "storageBackupPolicyId"); + } + this.storageBackupPolicyId = storageBackupPolicyId; + return this; + } + @CustomType.Setter + public Builder storageSizeInGbs(Integer storageSizeInGbs) { + if (storageSizeInGbs == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "storageSizeInGbs"); + } + this.storageSizeInGbs = storageSizeInGbs; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeStartScheduled(String timeStartScheduled) { + if (timeStartScheduled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "timeStartScheduled"); + } + this.timeStartScheduled = timeStartScheduled; + return this; + } + @CustomType.Setter + public Builder timeStopScheduled(String timeStopScheduled) { + if (timeStopScheduled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolResult", "timeStopScheduled"); + } + this.timeStopScheduled = timeStopScheduled; + return this; + } + public GetDesktopPoolResult build() { + final var _resultValue = new GetDesktopPoolResult(); + _resultValue.activeDesktops = activeDesktops; + _resultValue.arePrivilegedUsers = arePrivilegedUsers; + _resultValue.availabilityDomain = availabilityDomain; + _resultValue.availabilityPolicies = availabilityPolicies; + _resultValue.compartmentId = compartmentId; + _resultValue.contactDetails = contactDetails; + _resultValue.definedTags = definedTags; + _resultValue.description = description; + _resultValue.desktopPoolId = desktopPoolId; + _resultValue.devicePolicies = devicePolicies; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.images = images; + _resultValue.isStorageEnabled = isStorageEnabled; + _resultValue.maximumSize = maximumSize; + _resultValue.networkConfigurations = networkConfigurations; + _resultValue.nsgIds = nsgIds; + _resultValue.shapeName = shapeName; + _resultValue.standbySize = standbySize; + _resultValue.state = state; + _resultValue.storageBackupPolicyId = storageBackupPolicyId; + _resultValue.storageSizeInGbs = storageSizeInGbs; + _resultValue.timeCreated = timeCreated; + _resultValue.timeStartScheduled = timeStartScheduled; + _resultValue.timeStopScheduled = timeStopScheduled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollection.java new file mode 100644 index 0000000000..d74396ee62 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollection.java @@ -0,0 +1,62 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolVolumesDesktopPoolVolumeCollection { + /** + * @return A list of desktop pool volumes. + * + */ + private List items; + + private GetDesktopPoolVolumesDesktopPoolVolumeCollection() {} + /** + * @return A list of desktop pool volumes. + * + */ + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolVolumesDesktopPoolVolumeCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDesktopPoolVolumesDesktopPoolVolumeCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesDesktopPoolVolumeCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem... items) { + return items(List.of(items)); + } + public GetDesktopPoolVolumesDesktopPoolVolumeCollection build() { + final var _resultValue = new GetDesktopPoolVolumesDesktopPoolVolumeCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem.java new file mode 100644 index 0000000000..255b7caa78 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem.java @@ -0,0 +1,220 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem { + /** + * @return The name of the availability domain. + * + */ + private String availabilityDomain; + /** + * @return 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"}` + * + */ + private Map definedTags; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return A filter to return only results with the given OCID. + * + */ + private String id; + /** + * @return The name of the desktop pool volume. + * + */ + private String name; + /** + * @return The OCID of the desktop pool to which this volume belongs. + * + */ + private String poolId; + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + private String state; + /** + * @return The owner of the desktop pool volume. + * + */ + private String userName; + + private GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem() {} + /** + * @return The name of the availability domain. + * + */ + public String availabilityDomain() { + return this.availabilityDomain; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return A filter to return only results with the given OCID. + * + */ + public String id() { + return this.id; + } + /** + * @return The name of the desktop pool volume. + * + */ + public String name() { + return this.name; + } + /** + * @return The OCID of the desktop pool to which this volume belongs. + * + */ + public String poolId() { + return this.poolId; + } + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public String state() { + return this.state; + } + /** + * @return The owner of the desktop pool volume. + * + */ + public String userName() { + return this.userName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String availabilityDomain; + private Map definedTags; + private Map freeformTags; + private String id; + private String name; + private String poolId; + private String state; + private String userName; + public Builder() {} + public Builder(GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; + this.definedTags = defaults.definedTags; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.name = defaults.name; + this.poolId = defaults.poolId; + this.state = defaults.state; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem", "name"); + } + this.name = name; + return this; + } + @CustomType.Setter + public Builder poolId(String poolId) { + if (poolId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem", "poolId"); + } + this.poolId = poolId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder userName(String userName) { + if (userName == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem", "userName"); + } + this.userName = userName; + return this; + } + public GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem build() { + final var _resultValue = new GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem(); + _resultValue.availabilityDomain = availabilityDomain; + _resultValue.definedTags = definedTags; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.name = name; + _resultValue.poolId = poolId; + _resultValue.state = state; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesFilter.java similarity index 75% rename from sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesFilter.java rename to sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesFilter.java index 01295c4e06..ec19ed831b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesFilter.java @@ -1,7 +1,7 @@ // *** 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.GloballyDistributedDatabase.outputs; +package com.pulumi.oci.Desktops.outputs; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -13,18 +13,18 @@ import javax.annotation.Nullable; @CustomType -public final class GetShardedDatabasesFilter { +public final class GetDesktopPoolVolumesFilter { /** - * @return Name of the shard. + * @return The name of the desktop pool volume. * */ private String name; private @Nullable Boolean regex; private List values; - private GetShardedDatabasesFilter() {} + private GetDesktopPoolVolumesFilter() {} /** - * @return Name of the shard. + * @return The name of the desktop pool volume. * */ public String name() { @@ -41,7 +41,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetShardedDatabasesFilter defaults) { + public static Builder builder(GetDesktopPoolVolumesFilter defaults) { return new Builder(defaults); } @CustomType.Builder @@ -50,7 +50,7 @@ public static final class Builder { private @Nullable Boolean regex; private List values; public Builder() {} - public Builder(GetShardedDatabasesFilter defaults) { + public Builder(GetDesktopPoolVolumesFilter defaults) { Objects.requireNonNull(defaults); this.name = defaults.name; this.regex = defaults.regex; @@ -60,7 +60,7 @@ public Builder(GetShardedDatabasesFilter defaults) { @CustomType.Setter public Builder name(String name) { if (name == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesFilter", "name"); + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesFilter", "name"); } this.name = name; return this; @@ -74,7 +74,7 @@ public Builder regex(@Nullable Boolean regex) { @CustomType.Setter public Builder values(List values) { if (values == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesFilter", "values"); + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesFilter", "values"); } this.values = values; return this; @@ -82,8 +82,8 @@ public Builder values(List values) { public Builder values(String... values) { return values(List.of(values)); } - public GetShardedDatabasesFilter build() { - final var _resultValue = new GetShardedDatabasesFilter(); + public GetDesktopPoolVolumesFilter build() { + final var _resultValue = new GetDesktopPoolVolumesFilter(); _resultValue.name = name; _resultValue.regex = regex; _resultValue.values = values; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesResult.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesResult.java new file mode 100644 index 0000000000..4240865a2d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolVolumesResult.java @@ -0,0 +1,188 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolVolumesDesktopPoolVolumeCollection; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolVolumesFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDesktopPoolVolumesResult { + /** + * @return The availability domain of the desktop pool. + * + */ + private @Nullable String availabilityDomain; + private String compartmentId; + private String desktopPoolId; + /** + * @return The list of desktop_pool_volume_collection. + * + */ + private List desktopPoolVolumeCollections; + private @Nullable String displayName; + private @Nullable List filters; + /** + * @return The OCID of the desktop pool volume. + * + */ + private @Nullable String id; + /** + * @return The state of the desktop pool volume. + * + */ + private @Nullable String state; + + private GetDesktopPoolVolumesResult() {} + /** + * @return The availability domain of the desktop pool. + * + */ + public Optional availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + public String compartmentId() { + return this.compartmentId; + } + public String desktopPoolId() { + return this.desktopPoolId; + } + /** + * @return The list of desktop_pool_volume_collection. + * + */ + public List desktopPoolVolumeCollections() { + return this.desktopPoolVolumeCollections; + } + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + /** + * @return The OCID of the desktop pool volume. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return The state of the desktop pool volume. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolVolumesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String availabilityDomain; + private String compartmentId; + private String desktopPoolId; + private List desktopPoolVolumeCollections; + private @Nullable String displayName; + private @Nullable List filters; + private @Nullable String id; + private @Nullable String state; + public Builder() {} + public Builder(GetDesktopPoolVolumesResult defaults) { + Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; + this.compartmentId = defaults.compartmentId; + this.desktopPoolId = defaults.desktopPoolId; + this.desktopPoolVolumeCollections = defaults.desktopPoolVolumeCollections; + this.displayName = defaults.displayName; + this.filters = defaults.filters; + this.id = defaults.id; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder availabilityDomain(@Nullable String availabilityDomain) { + + this.availabilityDomain = availabilityDomain; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder desktopPoolId(String desktopPoolId) { + if (desktopPoolId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesResult", "desktopPoolId"); + } + this.desktopPoolId = desktopPoolId; + return this; + } + @CustomType.Setter + public Builder desktopPoolVolumeCollections(List desktopPoolVolumeCollections) { + if (desktopPoolVolumeCollections == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolVolumesResult", "desktopPoolVolumeCollections"); + } + this.desktopPoolVolumeCollections = desktopPoolVolumeCollections; + return this; + } + public Builder desktopPoolVolumeCollections(GetDesktopPoolVolumesDesktopPoolVolumeCollection... desktopPoolVolumeCollections) { + return desktopPoolVolumeCollections(List.of(desktopPoolVolumeCollections)); + } + @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(GetDesktopPoolVolumesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public GetDesktopPoolVolumesResult build() { + final var _resultValue = new GetDesktopPoolVolumesResult(); + _resultValue.availabilityDomain = availabilityDomain; + _resultValue.compartmentId = compartmentId; + _resultValue.desktopPoolId = desktopPoolId; + _resultValue.desktopPoolVolumeCollections = desktopPoolVolumeCollections; + _resultValue.displayName = displayName; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollection.java new file mode 100644 index 0000000000..36c6af4bb1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollection.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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolsDesktopPoolCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolsDesktopPoolCollection { + private List items; + + private GetDesktopPoolsDesktopPoolCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolsDesktopPoolCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDesktopPoolsDesktopPoolCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDesktopPoolsDesktopPoolCollectionItem... items) { + return items(List.of(items)); + } + public GetDesktopPoolsDesktopPoolCollection build() { + final var _resultValue = new GetDesktopPoolsDesktopPoolCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItem.java new file mode 100644 index 0000000000..00e7851ea3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItem.java @@ -0,0 +1,633 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolsDesktopPoolCollectionItemImage; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration; +import java.lang.Boolean; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolsDesktopPoolCollectionItem { + /** + * @return The number of active desktops in the desktop pool. + * + */ + private Integer activeDesktops; + /** + * @return Indicates whether desktop pool users have administrative privileges on their desktop. + * + */ + private Boolean arePrivilegedUsers; + /** + * @return The name of the availability domain. + * + */ + private String availabilityDomain; + /** + * @return Provides the start and stop schedule information for desktop availability of the desktop pool. + * + */ + private List availabilityPolicies; + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + private String compartmentId; + /** + * @return Contact information of the desktop pool administrator. Avoid entering confidential information. + * + */ + private String contactDetails; + /** + * @return 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"}` + * + */ + private Map definedTags; + /** + * @return A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + */ + private String description; + /** + * @return Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + private List devicePolicies; + /** + * @return A filter to return only results with the given displayName. + * + */ + private String displayName; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return A filter to return only results with the given OCID. + * + */ + private String id; + /** + * @return Provides information about the desktop image. + * + */ + private List images; + /** + * @return Indicates whether storage is enabled for the desktop pool. + * + */ + private Boolean isStorageEnabled; + /** + * @return The maximum number of desktops permitted in the desktop pool. + * + */ + private Integer maximumSize; + /** + * @return Provides information about the network configuration of the desktop pool. + * + */ + private List networkConfigurations; + /** + * @return A list of network security groups for the desktop pool. + * + */ + private List nsgIds; + /** + * @return The shape of the desktop pool. + * + */ + private String shapeName; + /** + * @return The maximum number of standby desktops available in the desktop pool. + * + */ + private Integer standbySize; + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + private String state; + /** + * @return The backup policy OCID of the storage. + * + */ + private String storageBackupPolicyId; + /** + * @return The size in GBs of the storage for the desktop pool. + * + */ + private Integer storageSizeInGbs; + /** + * @return The date and time the resource was created. + * + */ + private String timeCreated; + /** + * @return The start time of the desktop pool. + * + */ + private String timeStartScheduled; + /** + * @return The stop time of the desktop pool. + * + */ + private String timeStopScheduled; + + private GetDesktopPoolsDesktopPoolCollectionItem() {} + /** + * @return The number of active desktops in the desktop pool. + * + */ + public Integer activeDesktops() { + return this.activeDesktops; + } + /** + * @return Indicates whether desktop pool users have administrative privileges on their desktop. + * + */ + public Boolean arePrivilegedUsers() { + return this.arePrivilegedUsers; + } + /** + * @return The name of the availability domain. + * + */ + public String availabilityDomain() { + return this.availabilityDomain; + } + /** + * @return Provides the start and stop schedule information for desktop availability of the desktop pool. + * + */ + public List availabilityPolicies() { + return this.availabilityPolicies; + } + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Contact information of the desktop pool administrator. Avoid entering confidential information. + * + */ + public String contactDetails() { + return this.contactDetails; + } + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + /** + * @return A user friendly description providing additional information about the resource. Avoid entering confidential information. + * + */ + public String description() { + return this.description; + } + /** + * @return Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + public List devicePolicies() { + return this.devicePolicies; + } + /** + * @return A filter to return only results with the given displayName. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return A filter to return only results with the given OCID. + * + */ + public String id() { + return this.id; + } + /** + * @return Provides information about the desktop image. + * + */ + public List images() { + return this.images; + } + /** + * @return Indicates whether storage is enabled for the desktop pool. + * + */ + public Boolean isStorageEnabled() { + return this.isStorageEnabled; + } + /** + * @return The maximum number of desktops permitted in the desktop pool. + * + */ + public Integer maximumSize() { + return this.maximumSize; + } + /** + * @return Provides information about the network configuration of the desktop pool. + * + */ + public List networkConfigurations() { + return this.networkConfigurations; + } + /** + * @return A list of network security groups for the desktop pool. + * + */ + public List nsgIds() { + return this.nsgIds; + } + /** + * @return The shape of the desktop pool. + * + */ + public String shapeName() { + return this.shapeName; + } + /** + * @return The maximum number of standby desktops available in the desktop pool. + * + */ + public Integer standbySize() { + return this.standbySize; + } + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public String state() { + return this.state; + } + /** + * @return The backup policy OCID of the storage. + * + */ + public String storageBackupPolicyId() { + return this.storageBackupPolicyId; + } + /** + * @return The size in GBs of the storage for the desktop pool. + * + */ + public Integer storageSizeInGbs() { + return this.storageSizeInGbs; + } + /** + * @return The date and time the resource was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The start time of the desktop pool. + * + */ + public String timeStartScheduled() { + return this.timeStartScheduled; + } + /** + * @return The stop time of the desktop pool. + * + */ + public String timeStopScheduled() { + return this.timeStopScheduled; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolsDesktopPoolCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer activeDesktops; + private Boolean arePrivilegedUsers; + private String availabilityDomain; + private List availabilityPolicies; + private String compartmentId; + private String contactDetails; + private Map definedTags; + private String description; + private List devicePolicies; + private String displayName; + private Map freeformTags; + private String id; + private List images; + private Boolean isStorageEnabled; + private Integer maximumSize; + private List networkConfigurations; + private List nsgIds; + private String shapeName; + private Integer standbySize; + private String state; + private String storageBackupPolicyId; + private Integer storageSizeInGbs; + private String timeCreated; + private String timeStartScheduled; + private String timeStopScheduled; + public Builder() {} + public Builder(GetDesktopPoolsDesktopPoolCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.activeDesktops = defaults.activeDesktops; + this.arePrivilegedUsers = defaults.arePrivilegedUsers; + this.availabilityDomain = defaults.availabilityDomain; + this.availabilityPolicies = defaults.availabilityPolicies; + this.compartmentId = defaults.compartmentId; + this.contactDetails = defaults.contactDetails; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.devicePolicies = defaults.devicePolicies; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.images = defaults.images; + this.isStorageEnabled = defaults.isStorageEnabled; + this.maximumSize = defaults.maximumSize; + this.networkConfigurations = defaults.networkConfigurations; + this.nsgIds = defaults.nsgIds; + this.shapeName = defaults.shapeName; + this.standbySize = defaults.standbySize; + this.state = defaults.state; + this.storageBackupPolicyId = defaults.storageBackupPolicyId; + this.storageSizeInGbs = defaults.storageSizeInGbs; + this.timeCreated = defaults.timeCreated; + this.timeStartScheduled = defaults.timeStartScheduled; + this.timeStopScheduled = defaults.timeStopScheduled; + } + + @CustomType.Setter + public Builder activeDesktops(Integer activeDesktops) { + if (activeDesktops == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "activeDesktops"); + } + this.activeDesktops = activeDesktops; + return this; + } + @CustomType.Setter + public Builder arePrivilegedUsers(Boolean arePrivilegedUsers) { + if (arePrivilegedUsers == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "arePrivilegedUsers"); + } + this.arePrivilegedUsers = arePrivilegedUsers; + return this; + } + @CustomType.Setter + public Builder availabilityDomain(String availabilityDomain) { + if (availabilityDomain == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "availabilityDomain"); + } + this.availabilityDomain = availabilityDomain; + return this; + } + @CustomType.Setter + public Builder availabilityPolicies(List availabilityPolicies) { + if (availabilityPolicies == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "availabilityPolicies"); + } + this.availabilityPolicies = availabilityPolicies; + return this; + } + public Builder availabilityPolicies(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy... availabilityPolicies) { + return availabilityPolicies(List.of(availabilityPolicies)); + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder contactDetails(String contactDetails) { + if (contactDetails == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "contactDetails"); + } + this.contactDetails = contactDetails; + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder devicePolicies(List devicePolicies) { + if (devicePolicies == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "devicePolicies"); + } + this.devicePolicies = devicePolicies; + return this; + } + public Builder devicePolicies(GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy... devicePolicies) { + return devicePolicies(List.of(devicePolicies)); + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder images(List images) { + if (images == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "images"); + } + this.images = images; + return this; + } + public Builder images(GetDesktopPoolsDesktopPoolCollectionItemImage... images) { + return images(List.of(images)); + } + @CustomType.Setter + public Builder isStorageEnabled(Boolean isStorageEnabled) { + if (isStorageEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "isStorageEnabled"); + } + this.isStorageEnabled = isStorageEnabled; + return this; + } + @CustomType.Setter + public Builder maximumSize(Integer maximumSize) { + if (maximumSize == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "maximumSize"); + } + this.maximumSize = maximumSize; + return this; + } + @CustomType.Setter + public Builder networkConfigurations(List networkConfigurations) { + if (networkConfigurations == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "networkConfigurations"); + } + this.networkConfigurations = networkConfigurations; + return this; + } + public Builder networkConfigurations(GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration... networkConfigurations) { + return networkConfigurations(List.of(networkConfigurations)); + } + @CustomType.Setter + public Builder nsgIds(List nsgIds) { + if (nsgIds == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "nsgIds"); + } + this.nsgIds = nsgIds; + return this; + } + public Builder nsgIds(String... nsgIds) { + return nsgIds(List.of(nsgIds)); + } + @CustomType.Setter + public Builder shapeName(String shapeName) { + if (shapeName == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "shapeName"); + } + this.shapeName = shapeName; + return this; + } + @CustomType.Setter + public Builder standbySize(Integer standbySize) { + if (standbySize == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "standbySize"); + } + this.standbySize = standbySize; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder storageBackupPolicyId(String storageBackupPolicyId) { + if (storageBackupPolicyId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "storageBackupPolicyId"); + } + this.storageBackupPolicyId = storageBackupPolicyId; + return this; + } + @CustomType.Setter + public Builder storageSizeInGbs(Integer storageSizeInGbs) { + if (storageSizeInGbs == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "storageSizeInGbs"); + } + this.storageSizeInGbs = storageSizeInGbs; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder timeStartScheduled(String timeStartScheduled) { + if (timeStartScheduled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "timeStartScheduled"); + } + this.timeStartScheduled = timeStartScheduled; + return this; + } + @CustomType.Setter + public Builder timeStopScheduled(String timeStopScheduled) { + if (timeStopScheduled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItem", "timeStopScheduled"); + } + this.timeStopScheduled = timeStopScheduled; + return this; + } + public GetDesktopPoolsDesktopPoolCollectionItem build() { + final var _resultValue = new GetDesktopPoolsDesktopPoolCollectionItem(); + _resultValue.activeDesktops = activeDesktops; + _resultValue.arePrivilegedUsers = arePrivilegedUsers; + _resultValue.availabilityDomain = availabilityDomain; + _resultValue.availabilityPolicies = availabilityPolicies; + _resultValue.compartmentId = compartmentId; + _resultValue.contactDetails = contactDetails; + _resultValue.definedTags = definedTags; + _resultValue.description = description; + _resultValue.devicePolicies = devicePolicies; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.images = images; + _resultValue.isStorageEnabled = isStorageEnabled; + _resultValue.maximumSize = maximumSize; + _resultValue.networkConfigurations = networkConfigurations; + _resultValue.nsgIds = nsgIds; + _resultValue.shapeName = shapeName; + _resultValue.standbySize = standbySize; + _resultValue.state = state; + _resultValue.storageBackupPolicyId = storageBackupPolicyId; + _resultValue.storageSizeInGbs = storageSizeInGbs; + _resultValue.timeCreated = timeCreated; + _resultValue.timeStartScheduled = timeStartScheduled; + _resultValue.timeStopScheduled = timeStopScheduled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy.java new file mode 100644 index 0000000000..b5f9921ac7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy.java @@ -0,0 +1,89 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy { + /** + * @return Provides the schedule information for a desktop. + * + */ + private List startSchedules; + /** + * @return Provides the schedule information for a desktop. + * + */ + private List stopSchedules; + + private GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy() {} + /** + * @return Provides the schedule information for a desktop. + * + */ + public List startSchedules() { + return this.startSchedules; + } + /** + * @return Provides the schedule information for a desktop. + * + */ + public List stopSchedules() { + return this.stopSchedules; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List startSchedules; + private List stopSchedules; + public Builder() {} + public Builder(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy defaults) { + Objects.requireNonNull(defaults); + this.startSchedules = defaults.startSchedules; + this.stopSchedules = defaults.stopSchedules; + } + + @CustomType.Setter + public Builder startSchedules(List startSchedules) { + if (startSchedules == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy", "startSchedules"); + } + this.startSchedules = startSchedules; + return this; + } + public Builder startSchedules(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule... startSchedules) { + return startSchedules(List.of(startSchedules)); + } + @CustomType.Setter + public Builder stopSchedules(List stopSchedules) { + if (stopSchedules == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy", "stopSchedules"); + } + this.stopSchedules = stopSchedules; + return this; + } + public Builder stopSchedules(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule... stopSchedules) { + return stopSchedules(List.of(stopSchedules)); + } + public GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy build() { + final var _resultValue = new GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy(); + _resultValue.startSchedules = startSchedules; + _resultValue.stopSchedules = stopSchedules; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule.java new file mode 100644 index 0000000000..69651fb894 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule { + /** + * @return A cron expression describing the desktop's schedule. + * + */ + private String cronExpression; + /** + * @return The timezone of the desktop's schedule. + * + */ + private String timezone; + + private GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule() {} + /** + * @return A cron expression describing the desktop's schedule. + * + */ + public String cronExpression() { + return this.cronExpression; + } + /** + * @return The timezone of the desktop's schedule. + * + */ + public String timezone() { + return this.timezone; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cronExpression; + private String timezone; + public Builder() {} + public Builder(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule defaults) { + Objects.requireNonNull(defaults); + this.cronExpression = defaults.cronExpression; + this.timezone = defaults.timezone; + } + + @CustomType.Setter + public Builder cronExpression(String cronExpression) { + if (cronExpression == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule", "cronExpression"); + } + this.cronExpression = cronExpression; + return this; + } + @CustomType.Setter + public Builder timezone(String timezone) { + if (timezone == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule", "timezone"); + } + this.timezone = timezone; + return this; + } + public GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule build() { + final var _resultValue = new GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule(); + _resultValue.cronExpression = cronExpression; + _resultValue.timezone = timezone; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule.java new file mode 100644 index 0000000000..b78fd89d5b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule { + /** + * @return A cron expression describing the desktop's schedule. + * + */ + private String cronExpression; + /** + * @return The timezone of the desktop's schedule. + * + */ + private String timezone; + + private GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule() {} + /** + * @return A cron expression describing the desktop's schedule. + * + */ + public String cronExpression() { + return this.cronExpression; + } + /** + * @return The timezone of the desktop's schedule. + * + */ + public String timezone() { + return this.timezone; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cronExpression; + private String timezone; + public Builder() {} + public Builder(GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule defaults) { + Objects.requireNonNull(defaults); + this.cronExpression = defaults.cronExpression; + this.timezone = defaults.timezone; + } + + @CustomType.Setter + public Builder cronExpression(String cronExpression) { + if (cronExpression == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule", "cronExpression"); + } + this.cronExpression = cronExpression; + return this; + } + @CustomType.Setter + public Builder timezone(String timezone) { + if (timezone == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule", "timezone"); + } + this.timezone = timezone; + return this; + } + public GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule build() { + final var _resultValue = new GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule(); + _resultValue.cronExpression = cronExpression; + _resultValue.timezone = timezone; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy.java new file mode 100644 index 0000000000..85d52e150b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy.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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy { + /** + * @return The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + */ + private String audioMode; + /** + * @return The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + */ + private String cdmMode; + /** + * @return The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + */ + private String clipboardMode; + /** + * @return Indicates whether the display is enabled. + * + */ + private Boolean isDisplayEnabled; + /** + * @return Indicates whether the keyboard is enabled. + * + */ + private Boolean isKeyboardEnabled; + /** + * @return Indicates whether the pointer is enabled. + * + */ + private Boolean isPointerEnabled; + /** + * @return Indicates whether printing is enabled. + * + */ + private Boolean isPrintingEnabled; + + private GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy() {} + /** + * @return The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + * + */ + public String audioMode() { + return this.audioMode; + } + /** + * @return The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + * + */ + public String cdmMode() { + return this.cdmMode; + } + /** + * @return The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + * + */ + public String clipboardMode() { + return this.clipboardMode; + } + /** + * @return Indicates whether the display is enabled. + * + */ + public Boolean isDisplayEnabled() { + return this.isDisplayEnabled; + } + /** + * @return Indicates whether the keyboard is enabled. + * + */ + public Boolean isKeyboardEnabled() { + return this.isKeyboardEnabled; + } + /** + * @return Indicates whether the pointer is enabled. + * + */ + public Boolean isPointerEnabled() { + return this.isPointerEnabled; + } + /** + * @return Indicates whether printing is enabled. + * + */ + public Boolean isPrintingEnabled() { + return this.isPrintingEnabled; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String audioMode; + private String cdmMode; + private String clipboardMode; + private Boolean isDisplayEnabled; + private Boolean isKeyboardEnabled; + private Boolean isPointerEnabled; + private Boolean isPrintingEnabled; + public Builder() {} + public Builder(GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy defaults) { + Objects.requireNonNull(defaults); + this.audioMode = defaults.audioMode; + this.cdmMode = defaults.cdmMode; + this.clipboardMode = defaults.clipboardMode; + this.isDisplayEnabled = defaults.isDisplayEnabled; + this.isKeyboardEnabled = defaults.isKeyboardEnabled; + this.isPointerEnabled = defaults.isPointerEnabled; + this.isPrintingEnabled = defaults.isPrintingEnabled; + } + + @CustomType.Setter + public Builder audioMode(String audioMode) { + if (audioMode == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy", "audioMode"); + } + this.audioMode = audioMode; + return this; + } + @CustomType.Setter + public Builder cdmMode(String cdmMode) { + if (cdmMode == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy", "cdmMode"); + } + this.cdmMode = cdmMode; + return this; + } + @CustomType.Setter + public Builder clipboardMode(String clipboardMode) { + if (clipboardMode == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy", "clipboardMode"); + } + this.clipboardMode = clipboardMode; + return this; + } + @CustomType.Setter + public Builder isDisplayEnabled(Boolean isDisplayEnabled) { + if (isDisplayEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy", "isDisplayEnabled"); + } + this.isDisplayEnabled = isDisplayEnabled; + return this; + } + @CustomType.Setter + public Builder isKeyboardEnabled(Boolean isKeyboardEnabled) { + if (isKeyboardEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy", "isKeyboardEnabled"); + } + this.isKeyboardEnabled = isKeyboardEnabled; + return this; + } + @CustomType.Setter + public Builder isPointerEnabled(Boolean isPointerEnabled) { + if (isPointerEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy", "isPointerEnabled"); + } + this.isPointerEnabled = isPointerEnabled; + return this; + } + @CustomType.Setter + public Builder isPrintingEnabled(Boolean isPrintingEnabled) { + if (isPrintingEnabled == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy", "isPrintingEnabled"); + } + this.isPrintingEnabled = isPrintingEnabled; + return this; + } + public GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy build() { + final var _resultValue = new GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy(); + _resultValue.audioMode = audioMode; + _resultValue.cdmMode = cdmMode; + _resultValue.clipboardMode = clipboardMode; + _resultValue.isDisplayEnabled = isDisplayEnabled; + _resultValue.isKeyboardEnabled = isKeyboardEnabled; + _resultValue.isPointerEnabled = isPointerEnabled; + _resultValue.isPrintingEnabled = isPrintingEnabled; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemImage.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemImage.java new file mode 100644 index 0000000000..67b9eb0ed9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemImage.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolsDesktopPoolCollectionItemImage { + /** + * @return The OCID of the desktop image. + * + */ + private String imageId; + /** + * @return The name of the desktop image. + * + */ + private String imageName; + + private GetDesktopPoolsDesktopPoolCollectionItemImage() {} + /** + * @return The OCID of the desktop image. + * + */ + public String imageId() { + return this.imageId; + } + /** + * @return The name of the desktop image. + * + */ + public String imageName() { + return this.imageName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolsDesktopPoolCollectionItemImage defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String imageId; + private String imageName; + public Builder() {} + public Builder(GetDesktopPoolsDesktopPoolCollectionItemImage defaults) { + Objects.requireNonNull(defaults); + this.imageId = defaults.imageId; + this.imageName = defaults.imageName; + } + + @CustomType.Setter + public Builder imageId(String imageId) { + if (imageId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemImage", "imageId"); + } + this.imageId = imageId; + return this; + } + @CustomType.Setter + public Builder imageName(String imageName) { + if (imageName == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemImage", "imageName"); + } + this.imageName = imageName; + return this; + } + public GetDesktopPoolsDesktopPoolCollectionItemImage build() { + final var _resultValue = new GetDesktopPoolsDesktopPoolCollectionItemImage(); + _resultValue.imageId = imageId; + _resultValue.imageName = imageName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration.java new file mode 100644 index 0000000000..09ce39d205 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration.java @@ -0,0 +1,81 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration { + /** + * @return The OCID of the subnet to use for the desktop pool. + * + */ + private String subnetId; + /** + * @return The OCID of the VCN used by the desktop pool. + * + */ + private String vcnId; + + private GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration() {} + /** + * @return The OCID of the subnet to use for the desktop pool. + * + */ + public String subnetId() { + return this.subnetId; + } + /** + * @return The OCID of the VCN used by the desktop pool. + * + */ + public String vcnId() { + return this.vcnId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String subnetId; + private String vcnId; + public Builder() {} + public Builder(GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration defaults) { + Objects.requireNonNull(defaults); + this.subnetId = defaults.subnetId; + this.vcnId = defaults.vcnId; + } + + @CustomType.Setter + public Builder subnetId(String subnetId) { + if (subnetId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration", "subnetId"); + } + this.subnetId = subnetId; + return this; + } + @CustomType.Setter + public Builder vcnId(String vcnId) { + if (vcnId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration", "vcnId"); + } + this.vcnId = vcnId; + return this; + } + public GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration build() { + final var _resultValue = new GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration(); + _resultValue.subnetId = subnetId; + _resultValue.vcnId = vcnId; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsFilter.java similarity index 78% rename from sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFilter.java rename to sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsFilter.java index 3ade781d65..be2916d8b7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsFilter.java @@ -1,7 +1,7 @@ // *** 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.FleetSoftwareUpdate.outputs; +package com.pulumi.oci.Desktops.outputs; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -13,12 +13,12 @@ import javax.annotation.Nullable; @CustomType -public final class GetFsuCollectionsFilter { +public final class GetDesktopPoolsFilter { private String name; private @Nullable Boolean regex; private List values; - private GetFsuCollectionsFilter() {} + private GetDesktopPoolsFilter() {} public String name() { return this.name; } @@ -33,7 +33,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetFsuCollectionsFilter defaults) { + public static Builder builder(GetDesktopPoolsFilter defaults) { return new Builder(defaults); } @CustomType.Builder @@ -42,7 +42,7 @@ public static final class Builder { private @Nullable Boolean regex; private List values; public Builder() {} - public Builder(GetFsuCollectionsFilter defaults) { + public Builder(GetDesktopPoolsFilter defaults) { Objects.requireNonNull(defaults); this.name = defaults.name; this.regex = defaults.regex; @@ -52,7 +52,7 @@ public Builder(GetFsuCollectionsFilter defaults) { @CustomType.Setter public Builder name(String name) { if (name == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFilter", "name"); + throw new MissingRequiredPropertyException("GetDesktopPoolsFilter", "name"); } this.name = name; return this; @@ -66,7 +66,7 @@ public Builder regex(@Nullable Boolean regex) { @CustomType.Setter public Builder values(List values) { if (values == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFilter", "values"); + throw new MissingRequiredPropertyException("GetDesktopPoolsFilter", "values"); } this.values = values; return this; @@ -74,8 +74,8 @@ public Builder values(List values) { public Builder values(String... values) { return values(List.of(values)); } - public GetFsuCollectionsFilter build() { - final var _resultValue = new GetFsuCollectionsFilter(); + public GetDesktopPoolsFilter build() { + final var _resultValue = new GetDesktopPoolsFilter(); _resultValue.name = name; _resultValue.regex = regex; _resultValue.values = values; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsResult.java new file mode 100644 index 0000000000..86403cf000 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopPoolsResult.java @@ -0,0 +1,189 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolsDesktopPoolCollection; +import com.pulumi.oci.Desktops.outputs.GetDesktopPoolsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDesktopPoolsResult { + /** + * @return The availability domain of the desktop pool. + * + */ + private @Nullable String availabilityDomain; + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + private String compartmentId; + /** + * @return The list of desktop_pool_collection. + * + */ + private List desktopPoolCollections; + /** + * @return A user friendly display name. Avoid entering confidential information. + * + */ + private @Nullable String displayName; + private @Nullable List filters; + /** + * @return The OCID of the desktop pool. + * + */ + private @Nullable String id; + /** + * @return The current state of the desktop pool. + * + */ + private @Nullable String state; + + private GetDesktopPoolsResult() {} + /** + * @return The availability domain of the desktop pool. + * + */ + public Optional availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + /** + * @return The OCID of the compartment of the desktop pool. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The list of desktop_pool_collection. + * + */ + public List desktopPoolCollections() { + return this.desktopPoolCollections; + } + /** + * @return A user friendly display name. 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 OCID of the desktop pool. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return The current state of the desktop pool. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopPoolsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String availabilityDomain; + private String compartmentId; + private List desktopPoolCollections; + private @Nullable String displayName; + private @Nullable List filters; + private @Nullable String id; + private @Nullable String state; + public Builder() {} + public Builder(GetDesktopPoolsResult defaults) { + Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; + this.compartmentId = defaults.compartmentId; + this.desktopPoolCollections = defaults.desktopPoolCollections; + this.displayName = defaults.displayName; + this.filters = defaults.filters; + this.id = defaults.id; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder availabilityDomain(@Nullable String availabilityDomain) { + + this.availabilityDomain = availabilityDomain; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder desktopPoolCollections(List desktopPoolCollections) { + if (desktopPoolCollections == null) { + throw new MissingRequiredPropertyException("GetDesktopPoolsResult", "desktopPoolCollections"); + } + this.desktopPoolCollections = desktopPoolCollections; + return this; + } + public Builder desktopPoolCollections(GetDesktopPoolsDesktopPoolCollection... desktopPoolCollections) { + return desktopPoolCollections(List.of(desktopPoolCollections)); + } + @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(GetDesktopPoolsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public GetDesktopPoolsResult build() { + final var _resultValue = new GetDesktopPoolsResult(); + _resultValue.availabilityDomain = availabilityDomain; + _resultValue.compartmentId = compartmentId; + _resultValue.desktopPoolCollections = desktopPoolCollections; + _resultValue.displayName = displayName; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopResult.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopResult.java new file mode 100644 index 0000000000..9744a2e6b9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopResult.java @@ -0,0 +1,290 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopDevicePolicy; +import com.pulumi.oci.Desktops.outputs.GetDesktopHostingOption; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDesktopResult { + /** + * @return 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"}` + * + */ + private Map definedTags; + private String desktopId; + /** + * @return Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + private List devicePolicies; + /** + * @return A user friendly display name. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return Provides information about where a desktop is hosted. + * + */ + private List hostingOptions; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The OCID of the desktop pool the desktop is a member of. + * + */ + private String poolId; + /** + * @return The state of the desktop. + * + */ + private String state; + /** + * @return The date and time the resource was created. + * + */ + private String timeCreated; + /** + * @return The owner of the desktop. + * + */ + private String userName; + + private GetDesktopResult() {} + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + public String desktopId() { + return this.desktopId; + } + /** + * @return Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + * + */ + public List devicePolicies() { + return this.devicePolicies; + } + /** + * @return A user friendly display name. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return Provides information about where a desktop is hosted. + * + */ + public List hostingOptions() { + return this.hostingOptions; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return The OCID of the desktop pool the desktop is a member of. + * + */ + public String poolId() { + return this.poolId; + } + /** + * @return The state of the desktop. + * + */ + public String state() { + return this.state; + } + /** + * @return The date and time the resource was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The owner of the desktop. + * + */ + public String userName() { + return this.userName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Map definedTags; + private String desktopId; + private List devicePolicies; + private String displayName; + private Map freeformTags; + private List hostingOptions; + private String id; + private String poolId; + private String state; + private String timeCreated; + private String userName; + public Builder() {} + public Builder(GetDesktopResult defaults) { + Objects.requireNonNull(defaults); + this.definedTags = defaults.definedTags; + this.desktopId = defaults.desktopId; + this.devicePolicies = defaults.devicePolicies; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.hostingOptions = defaults.hostingOptions; + this.id = defaults.id; + this.poolId = defaults.poolId; + this.state = defaults.state; + this.timeCreated = defaults.timeCreated; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder desktopId(String desktopId) { + if (desktopId == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "desktopId"); + } + this.desktopId = desktopId; + return this; + } + @CustomType.Setter + public Builder devicePolicies(List devicePolicies) { + if (devicePolicies == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "devicePolicies"); + } + this.devicePolicies = devicePolicies; + return this; + } + public Builder devicePolicies(GetDesktopDevicePolicy... devicePolicies) { + return devicePolicies(List.of(devicePolicies)); + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder hostingOptions(List hostingOptions) { + if (hostingOptions == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "hostingOptions"); + } + this.hostingOptions = hostingOptions; + return this; + } + public Builder hostingOptions(GetDesktopHostingOption... hostingOptions) { + return hostingOptions(List.of(hostingOptions)); + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder poolId(String poolId) { + if (poolId == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "poolId"); + } + this.poolId = poolId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder userName(String userName) { + if (userName == null) { + throw new MissingRequiredPropertyException("GetDesktopResult", "userName"); + } + this.userName = userName; + return this; + } + public GetDesktopResult build() { + final var _resultValue = new GetDesktopResult(); + _resultValue.definedTags = definedTags; + _resultValue.desktopId = desktopId; + _resultValue.devicePolicies = devicePolicies; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.hostingOptions = hostingOptions; + _resultValue.id = id; + _resultValue.poolId = poolId; + _resultValue.state = state; + _resultValue.timeCreated = timeCreated; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsDesktopCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsDesktopCollection.java new file mode 100644 index 0000000000..0cfc088742 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsDesktopCollection.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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopsDesktopCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDesktopsDesktopCollection { + private List items; + + private GetDesktopsDesktopCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopsDesktopCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetDesktopsDesktopCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + if (items == null) { + throw new MissingRequiredPropertyException("GetDesktopsDesktopCollection", "items"); + } + this.items = items; + return this; + } + public Builder items(GetDesktopsDesktopCollectionItem... items) { + return items(List.of(items)); + } + public GetDesktopsDesktopCollection build() { + final var _resultValue = new GetDesktopsDesktopCollection(); + _resultValue.items = items; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsDesktopCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsDesktopCollectionItem.java new file mode 100644 index 0000000000..eb5ec29b93 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsDesktopCollectionItem.java @@ -0,0 +1,220 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetDesktopsDesktopCollectionItem { + /** + * @return 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"}` + * + */ + private Map definedTags; + /** + * @return A filter to return only results with the given displayName. + * + */ + private String displayName; + /** + * @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"}` + * + */ + private Map freeformTags; + /** + * @return A filter to return only results with the given OCID. + * + */ + private String id; + /** + * @return The OCID of the desktop pool the desktop is a member of. + * + */ + private String poolId; + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + private String state; + /** + * @return The date and time the resource was created. + * + */ + private String timeCreated; + /** + * @return The owner of the desktop. + * + */ + private String userName; + + private GetDesktopsDesktopCollectionItem() {} + /** + * @return 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 Map definedTags() { + return this.definedTags; + } + /** + * @return A filter to return only results with the given displayName. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @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"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return A filter to return only results with the given OCID. + * + */ + public String id() { + return this.id; + } + /** + * @return The OCID of the desktop pool the desktop is a member of. + * + */ + public String poolId() { + return this.poolId; + } + /** + * @return A filter to return only results with the given lifecycleState. + * + */ + public String state() { + return this.state; + } + /** + * @return The date and time the resource was created. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The owner of the desktop. + * + */ + public String userName() { + return this.userName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopsDesktopCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Map definedTags; + private String displayName; + private Map freeformTags; + private String id; + private String poolId; + private String state; + private String timeCreated; + private String userName; + public Builder() {} + public Builder(GetDesktopsDesktopCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.definedTags = defaults.definedTags; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.poolId = defaults.poolId; + this.state = defaults.state; + this.timeCreated = defaults.timeCreated; + this.userName = defaults.userName; + } + + @CustomType.Setter + public Builder definedTags(Map definedTags) { + if (definedTags == null) { + throw new MissingRequiredPropertyException("GetDesktopsDesktopCollectionItem", "definedTags"); + } + this.definedTags = definedTags; + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + if (displayName == null) { + throw new MissingRequiredPropertyException("GetDesktopsDesktopCollectionItem", "displayName"); + } + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + if (freeformTags == null) { + throw new MissingRequiredPropertyException("GetDesktopsDesktopCollectionItem", "freeformTags"); + } + this.freeformTags = freeformTags; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDesktopsDesktopCollectionItem", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder poolId(String poolId) { + if (poolId == null) { + throw new MissingRequiredPropertyException("GetDesktopsDesktopCollectionItem", "poolId"); + } + this.poolId = poolId; + return this; + } + @CustomType.Setter + public Builder state(String state) { + if (state == null) { + throw new MissingRequiredPropertyException("GetDesktopsDesktopCollectionItem", "state"); + } + this.state = state; + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + if (timeCreated == null) { + throw new MissingRequiredPropertyException("GetDesktopsDesktopCollectionItem", "timeCreated"); + } + this.timeCreated = timeCreated; + return this; + } + @CustomType.Setter + public Builder userName(String userName) { + if (userName == null) { + throw new MissingRequiredPropertyException("GetDesktopsDesktopCollectionItem", "userName"); + } + this.userName = userName; + return this; + } + public GetDesktopsDesktopCollectionItem build() { + final var _resultValue = new GetDesktopsDesktopCollectionItem(); + _resultValue.definedTags = definedTags; + _resultValue.displayName = displayName; + _resultValue.freeformTags = freeformTags; + _resultValue.id = id; + _resultValue.poolId = poolId; + _resultValue.state = state; + _resultValue.timeCreated = timeCreated; + _resultValue.userName = userName; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsFilter.java similarity index 77% rename from sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsFilter.java rename to sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsFilter.java index a83abb6e1a..e0c64eb2b2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsFilter.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsFilter.java @@ -1,7 +1,7 @@ // *** 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.GloballyDistributedDatabase.outputs; +package com.pulumi.oci.Desktops.outputs; import com.pulumi.core.annotations.CustomType; import com.pulumi.exceptions.MissingRequiredPropertyException; @@ -13,12 +13,12 @@ import javax.annotation.Nullable; @CustomType -public final class GetPrivateEndpointsFilter { +public final class GetDesktopsFilter { private String name; private @Nullable Boolean regex; private List values; - private GetPrivateEndpointsFilter() {} + private GetDesktopsFilter() {} public String name() { return this.name; } @@ -33,7 +33,7 @@ public static Builder builder() { return new Builder(); } - public static Builder builder(GetPrivateEndpointsFilter defaults) { + public static Builder builder(GetDesktopsFilter defaults) { return new Builder(defaults); } @CustomType.Builder @@ -42,7 +42,7 @@ public static final class Builder { private @Nullable Boolean regex; private List values; public Builder() {} - public Builder(GetPrivateEndpointsFilter defaults) { + public Builder(GetDesktopsFilter defaults) { Objects.requireNonNull(defaults); this.name = defaults.name; this.regex = defaults.regex; @@ -52,7 +52,7 @@ public Builder(GetPrivateEndpointsFilter defaults) { @CustomType.Setter public Builder name(String name) { if (name == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsFilter", "name"); + throw new MissingRequiredPropertyException("GetDesktopsFilter", "name"); } this.name = name; return this; @@ -66,7 +66,7 @@ public Builder regex(@Nullable Boolean regex) { @CustomType.Setter public Builder values(List values) { if (values == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsFilter", "values"); + throw new MissingRequiredPropertyException("GetDesktopsFilter", "values"); } this.values = values; return this; @@ -74,8 +74,8 @@ public Builder values(List values) { public Builder values(String... values) { return values(List.of(values)); } - public GetPrivateEndpointsFilter build() { - final var _resultValue = new GetPrivateEndpointsFilter(); + public GetDesktopsFilter build() { + final var _resultValue = new GetDesktopsFilter(); _resultValue.name = name; _resultValue.regex = regex; _resultValue.values = values; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsResult.java new file mode 100644 index 0000000000..9f79811d26 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Desktops/outputs/GetDesktopsResult.java @@ -0,0 +1,186 @@ +// *** 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.Desktops.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import com.pulumi.oci.Desktops.outputs.GetDesktopsDesktopCollection; +import com.pulumi.oci.Desktops.outputs.GetDesktopsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDesktopsResult { + private @Nullable String availabilityDomain; + private String compartmentId; + /** + * @return The list of desktop_collection. + * + */ + private List desktopCollections; + private @Nullable String desktopPoolId; + /** + * @return A user friendly display name. Avoid entering confidential information. + * + */ + private @Nullable String displayName; + private @Nullable List filters; + /** + * @return The OCID of the desktop. + * + */ + private @Nullable String id; + /** + * @return The state of the desktop. + * + */ + private @Nullable String state; + + private GetDesktopsResult() {} + public Optional availabilityDomain() { + return Optional.ofNullable(this.availabilityDomain); + } + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The list of desktop_collection. + * + */ + public List desktopCollections() { + return this.desktopCollections; + } + public Optional desktopPoolId() { + return Optional.ofNullable(this.desktopPoolId); + } + /** + * @return A user friendly display name. 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 OCID of the desktop. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return The state of the desktop. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDesktopsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String availabilityDomain; + private String compartmentId; + private List desktopCollections; + private @Nullable String desktopPoolId; + private @Nullable String displayName; + private @Nullable List filters; + private @Nullable String id; + private @Nullable String state; + public Builder() {} + public Builder(GetDesktopsResult defaults) { + Objects.requireNonNull(defaults); + this.availabilityDomain = defaults.availabilityDomain; + this.compartmentId = defaults.compartmentId; + this.desktopCollections = defaults.desktopCollections; + this.desktopPoolId = defaults.desktopPoolId; + this.displayName = defaults.displayName; + this.filters = defaults.filters; + this.id = defaults.id; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder availabilityDomain(@Nullable String availabilityDomain) { + + this.availabilityDomain = availabilityDomain; + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + if (compartmentId == null) { + throw new MissingRequiredPropertyException("GetDesktopsResult", "compartmentId"); + } + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder desktopCollections(List desktopCollections) { + if (desktopCollections == null) { + throw new MissingRequiredPropertyException("GetDesktopsResult", "desktopCollections"); + } + this.desktopCollections = desktopCollections; + return this; + } + public Builder desktopCollections(GetDesktopsDesktopCollection... desktopCollections) { + return desktopCollections(List.of(desktopCollections)); + } + @CustomType.Setter + public Builder desktopPoolId(@Nullable String desktopPoolId) { + + this.desktopPoolId = desktopPoolId; + 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(GetDesktopsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + + this.state = state; + return this; + } + public GetDesktopsResult build() { + final var _resultValue = new GetDesktopsResult(); + _resultValue.availabilityDomain = availabilityDomain; + _resultValue.compartmentId = compartmentId; + _resultValue.desktopCollections = desktopCollections; + _resultValue.desktopPoolId = desktopPoolId; + _resultValue.displayName = displayName; + _resultValue.filters = filters; + _resultValue.id = id; + _resultValue.state = state; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/MountTarget.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/MountTarget.java index 4ea8f890bf..dd27f2bcdf 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/MountTarget.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/MountTarget.java @@ -109,6 +109,7 @@ * .userSearchBase(mountTargetLdapIdmapUserSearchBase) * .build()) * .nsgIds(mountTargetNsgIds) + * .requestedThroughput(mountTargetRequestedThroughput) * .build()); * * } @@ -253,22 +254,14 @@ public Output idmapType() { return this.idmapType; } /** - * A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` * */ @Export(name="ipAddress", refs={String.class}, tree="[0]") private Output ipAddress; /** - * @return A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * @return A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` * */ public Output ipAddress() { @@ -330,6 +323,20 @@ public Output lifecycleDetails() { public Output> nsgIds() { return this.nsgIds; } + /** + * Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + @Export(name="observedThroughput", refs={String.class}, tree="[0]") + private Output observedThroughput; + + /** + * @return Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + public Output observedThroughput() { + return this.observedThroughput; + } /** * The OCIDs of the private IP addresses associated with this mount target. * @@ -344,6 +351,34 @@ public Output> nsgIds() { public Output> privateIpIds() { return this.privateIpIds; } + /** + * (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + @Export(name="requestedThroughput", refs={String.class}, tree="[0]") + private Output requestedThroughput; + + /** + * @return (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + public Output requestedThroughput() { + return this.requestedThroughput; + } + /** + * * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + @Export(name="reservedStorageCapacity", refs={String.class}, tree="[0]") + private Output reservedStorageCapacity; + + /** + * @return * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + public Output reservedStorageCapacity() { + return this.reservedStorageCapacity; + } /** * The current state of the mount target. * @@ -378,6 +413,20 @@ public Output state() { public Output subnetId() { return this.subnetId; } + /** + * The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + * + */ + @Export(name="timeBillingCycleEnd", refs={String.class}, tree="[0]") + private Output timeBillingCycleEnd; + + /** + * @return The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + * + */ + public Output timeBillingCycleEnd() { + return this.timeBillingCycleEnd; + } /** * 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` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/MountTargetArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/MountTargetArgs.java index 7d8bccdffa..67122b6546 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/MountTargetArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/MountTargetArgs.java @@ -138,22 +138,14 @@ public Optional> idmapType() { } /** - * A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` * */ @Import(name="ipAddress") private @Nullable Output ipAddress; /** - * @return A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * @return A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` * */ public Optional> ipAddress() { @@ -205,6 +197,21 @@ public Optional>> nsgIds() { return Optional.ofNullable(this.nsgIds); } + /** + * (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + @Import(name="requestedThroughput") + private @Nullable Output requestedThroughput; + + /** + * @return (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + public Optional> requestedThroughput() { + return Optional.ofNullable(this.requestedThroughput); + } + /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. * @@ -240,6 +247,7 @@ private MountTargetArgs(MountTargetArgs $) { this.kerberos = $.kerberos; this.ldapIdmap = $.ldapIdmap; this.nsgIds = $.nsgIds; + this.requestedThroughput = $.requestedThroughput; this.subnetId = $.subnetId; } @@ -421,11 +429,7 @@ public Builder idmapType(String idmapType) { } /** - * @param ipAddress A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * @param ipAddress A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` * * @return builder * @@ -436,11 +440,7 @@ public Builder ipAddress(@Nullable Output ipAddress) { } /** - * @param ipAddress A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * @param ipAddress A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` * * @return builder * @@ -522,6 +522,27 @@ public Builder nsgIds(String... nsgIds) { return nsgIds(List.of(nsgIds)); } + /** + * @param requestedThroughput (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + * @return builder + * + */ + public Builder requestedThroughput(@Nullable Output requestedThroughput) { + $.requestedThroughput = requestedThroughput; + return this; + } + + /** + * @param requestedThroughput (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + * @return builder + * + */ + public Builder requestedThroughput(String requestedThroughput) { + return requestedThroughput(Output.of(requestedThroughput)); + } + /** * @param subnetId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/MountTargetState.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/MountTargetState.java index 71011fc52a..618439c742 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/MountTargetState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/inputs/MountTargetState.java @@ -152,22 +152,14 @@ public Optional> idmapType() { } /** - * A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` * */ @Import(name="ipAddress") private @Nullable Output ipAddress; /** - * @return A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * @return A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` * */ public Optional> ipAddress() { @@ -234,6 +226,21 @@ public Optional>> nsgIds() { return Optional.ofNullable(this.nsgIds); } + /** + * Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + @Import(name="observedThroughput") + private @Nullable Output observedThroughput; + + /** + * @return Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + public Optional> observedThroughput() { + return Optional.ofNullable(this.observedThroughput); + } + /** * The OCIDs of the private IP addresses associated with this mount target. * @@ -249,6 +256,36 @@ public Optional>> privateIpIds() { return Optional.ofNullable(this.privateIpIds); } + /** + * (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + @Import(name="requestedThroughput") + private @Nullable Output requestedThroughput; + + /** + * @return (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + public Optional> requestedThroughput() { + return Optional.ofNullable(this.requestedThroughput); + } + + /** + * * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + @Import(name="reservedStorageCapacity") + private @Nullable Output reservedStorageCapacity; + + /** + * @return * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + public Optional> reservedStorageCapacity() { + return Optional.ofNullable(this.reservedStorageCapacity); + } + /** * The current state of the mount target. * @@ -285,6 +322,21 @@ public Optional> subnetId() { return Optional.ofNullable(this.subnetId); } + /** + * The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + * + */ + @Import(name="timeBillingCycleEnd") + private @Nullable Output timeBillingCycleEnd; + + /** + * @return The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + * + */ + public Optional> timeBillingCycleEnd() { + return Optional.ofNullable(this.timeBillingCycleEnd); + } + /** * 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` * @@ -316,9 +368,13 @@ private MountTargetState(MountTargetState $) { this.ldapIdmap = $.ldapIdmap; this.lifecycleDetails = $.lifecycleDetails; this.nsgIds = $.nsgIds; + this.observedThroughput = $.observedThroughput; this.privateIpIds = $.privateIpIds; + this.requestedThroughput = $.requestedThroughput; + this.reservedStorageCapacity = $.reservedStorageCapacity; this.state = $.state; this.subnetId = $.subnetId; + this.timeBillingCycleEnd = $.timeBillingCycleEnd; this.timeCreated = $.timeCreated; } @@ -521,11 +577,7 @@ public Builder idmapType(String idmapType) { } /** - * @param ipAddress A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * @param ipAddress A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` * * @return builder * @@ -536,11 +588,7 @@ public Builder ipAddress(@Nullable Output ipAddress) { } /** - * @param ipAddress A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * @param ipAddress A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` * * @return builder * @@ -643,6 +691,27 @@ public Builder nsgIds(String... nsgIds) { return nsgIds(List.of(nsgIds)); } + /** + * @param observedThroughput Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + * @return builder + * + */ + public Builder observedThroughput(@Nullable Output observedThroughput) { + $.observedThroughput = observedThroughput; + return this; + } + + /** + * @param observedThroughput Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + * @return builder + * + */ + public Builder observedThroughput(String observedThroughput) { + return observedThroughput(Output.of(observedThroughput)); + } + /** * @param privateIpIds The OCIDs of the private IP addresses associated with this mount target. * @@ -674,6 +743,48 @@ public Builder privateIpIds(String... privateIpIds) { return privateIpIds(List.of(privateIpIds)); } + /** + * @param requestedThroughput (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + * @return builder + * + */ + public Builder requestedThroughput(@Nullable Output requestedThroughput) { + $.requestedThroughput = requestedThroughput; + return this; + } + + /** + * @param requestedThroughput (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + * @return builder + * + */ + public Builder requestedThroughput(String requestedThroughput) { + return requestedThroughput(Output.of(requestedThroughput)); + } + + /** + * @param reservedStorageCapacity * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + * @return builder + * + */ + public Builder reservedStorageCapacity(@Nullable Output reservedStorageCapacity) { + $.reservedStorageCapacity = reservedStorageCapacity; + return this; + } + + /** + * @param reservedStorageCapacity * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + * @return builder + * + */ + public Builder reservedStorageCapacity(String reservedStorageCapacity) { + return reservedStorageCapacity(Output.of(reservedStorageCapacity)); + } + /** * @param state The current state of the mount target. * @@ -722,6 +833,27 @@ public Builder subnetId(String subnetId) { return subnetId(Output.of(subnetId)); } + /** + * @param timeBillingCycleEnd The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + * + * @return builder + * + */ + public Builder timeBillingCycleEnd(@Nullable Output timeBillingCycleEnd) { + $.timeBillingCycleEnd = timeBillingCycleEnd; + return this; + } + + /** + * @param timeBillingCycleEnd The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + * + * @return builder + * + */ + public Builder timeBillingCycleEnd(String timeBillingCycleEnd) { + return timeBillingCycleEnd(Output.of(timeBillingCycleEnd)); + } + /** * @param timeCreated 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` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetMountTargetsMountTarget.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetMountTargetsMountTarget.java index 00b0c15cc9..78e7db791f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetMountTargetsMountTarget.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/outputs/GetMountTargetsMountTarget.java @@ -76,11 +76,26 @@ public final class GetMountTargetsMountTarget { * */ private List nsgIds; + /** + * @return Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + private String observedThroughput; /** * @return The OCIDs of the private IP addresses associated with this mount target. * */ private List privateIpIds; + /** + * @return * New throughput for mount target at the end of billing cycle in Gbps. + * + */ + private String requestedThroughput; + /** + * @return * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + private String reservedStorageCapacity; /** * @return Filter results by the specified lifecycle state. Must be a valid state for the resource type. * @@ -91,6 +106,11 @@ public final class GetMountTargetsMountTarget { * */ private String subnetId; + /** + * @return The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + * + */ + private String timeBillingCycleEnd; /** * @return 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` * @@ -188,6 +208,13 @@ public String lifecycleDetails() { public List nsgIds() { return this.nsgIds; } + /** + * @return Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + public String observedThroughput() { + return this.observedThroughput; + } /** * @return The OCIDs of the private IP addresses associated with this mount target. * @@ -195,6 +222,20 @@ public List nsgIds() { public List privateIpIds() { return this.privateIpIds; } + /** + * @return * New throughput for mount target at the end of billing cycle in Gbps. + * + */ + public String requestedThroughput() { + return this.requestedThroughput; + } + /** + * @return * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + * + */ + public String reservedStorageCapacity() { + return this.reservedStorageCapacity; + } /** * @return Filter results by the specified lifecycle state. Must be a valid state for the resource type. * @@ -209,6 +250,13 @@ public String state() { public String subnetId() { return this.subnetId; } + /** + * @return The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + * + */ + public String timeBillingCycleEnd() { + return this.timeBillingCycleEnd; + } /** * @return 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` * @@ -240,9 +288,13 @@ public static final class Builder { private List ldapIdmaps; private String lifecycleDetails; private List nsgIds; + private String observedThroughput; private List privateIpIds; + private String requestedThroughput; + private String reservedStorageCapacity; private String state; private String subnetId; + private String timeBillingCycleEnd; private String timeCreated; public Builder() {} public Builder(GetMountTargetsMountTarget defaults) { @@ -261,9 +313,13 @@ public Builder(GetMountTargetsMountTarget defaults) { this.ldapIdmaps = defaults.ldapIdmaps; this.lifecycleDetails = defaults.lifecycleDetails; this.nsgIds = defaults.nsgIds; + this.observedThroughput = defaults.observedThroughput; this.privateIpIds = defaults.privateIpIds; + this.requestedThroughput = defaults.requestedThroughput; + this.reservedStorageCapacity = defaults.reservedStorageCapacity; this.state = defaults.state; this.subnetId = defaults.subnetId; + this.timeBillingCycleEnd = defaults.timeBillingCycleEnd; this.timeCreated = defaults.timeCreated; } @@ -389,6 +445,14 @@ public Builder nsgIds(String... nsgIds) { return nsgIds(List.of(nsgIds)); } @CustomType.Setter + public Builder observedThroughput(String observedThroughput) { + if (observedThroughput == null) { + throw new MissingRequiredPropertyException("GetMountTargetsMountTarget", "observedThroughput"); + } + this.observedThroughput = observedThroughput; + return this; + } + @CustomType.Setter public Builder privateIpIds(List privateIpIds) { if (privateIpIds == null) { throw new MissingRequiredPropertyException("GetMountTargetsMountTarget", "privateIpIds"); @@ -400,6 +464,22 @@ public Builder privateIpIds(String... privateIpIds) { return privateIpIds(List.of(privateIpIds)); } @CustomType.Setter + public Builder requestedThroughput(String requestedThroughput) { + if (requestedThroughput == null) { + throw new MissingRequiredPropertyException("GetMountTargetsMountTarget", "requestedThroughput"); + } + this.requestedThroughput = requestedThroughput; + return this; + } + @CustomType.Setter + public Builder reservedStorageCapacity(String reservedStorageCapacity) { + if (reservedStorageCapacity == null) { + throw new MissingRequiredPropertyException("GetMountTargetsMountTarget", "reservedStorageCapacity"); + } + this.reservedStorageCapacity = reservedStorageCapacity; + return this; + } + @CustomType.Setter public Builder state(String state) { if (state == null) { throw new MissingRequiredPropertyException("GetMountTargetsMountTarget", "state"); @@ -416,6 +496,14 @@ public Builder subnetId(String subnetId) { return this; } @CustomType.Setter + public Builder timeBillingCycleEnd(String timeBillingCycleEnd) { + if (timeBillingCycleEnd == null) { + throw new MissingRequiredPropertyException("GetMountTargetsMountTarget", "timeBillingCycleEnd"); + } + this.timeBillingCycleEnd = timeBillingCycleEnd; + return this; + } + @CustomType.Setter public Builder timeCreated(String timeCreated) { if (timeCreated == null) { throw new MissingRequiredPropertyException("GetMountTargetsMountTarget", "timeCreated"); @@ -439,9 +527,13 @@ public GetMountTargetsMountTarget build() { _resultValue.ldapIdmaps = ldapIdmaps; _resultValue.lifecycleDetails = lifecycleDetails; _resultValue.nsgIds = nsgIds; + _resultValue.observedThroughput = observedThroughput; _resultValue.privateIpIds = privateIpIds; + _resultValue.requestedThroughput = requestedThroughput; + _resultValue.reservedStorageCapacity = reservedStorageCapacity; _resultValue.state = state; _resultValue.subnetId = subnetId; + _resultValue.timeBillingCycleEnd = timeBillingCycleEnd; _resultValue.timeCreated = timeCreated; return _resultValue; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FleetSoftwareUpdateFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FleetSoftwareUpdateFunctions.java deleted file mode 100644 index e1c8df99f0..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FleetSoftwareUpdateFunctions.java +++ /dev/null @@ -1,74 +0,0 @@ -// *** 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.FleetSoftwareUpdate; - -import com.pulumi.core.Output; -import com.pulumi.core.TypeShape; -import com.pulumi.deployment.Deployment; -import com.pulumi.deployment.InvokeOptions; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCollectionArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCollectionPlainArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCollectionsArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCollectionsPlainArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCycleArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCyclePlainArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCyclesArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCyclesPlainArgs; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionResult; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionsResult; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCycleResult; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCyclesResult; -import com.pulumi.oci.Utilities; -import java.util.concurrent.CompletableFuture; - -public final class FleetSoftwareUpdateFunctions { - public static Output getFsuCollection(GetFsuCollectionArgs args) { - return getFsuCollection(args, InvokeOptions.Empty); - } - public static CompletableFuture getFsuCollectionPlain(GetFsuCollectionPlainArgs args) { - return getFsuCollectionPlain(args, InvokeOptions.Empty); - } - public static Output getFsuCollection(GetFsuCollectionArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:FleetSoftwareUpdate/getFsuCollection:getFsuCollection", TypeShape.of(GetFsuCollectionResult.class), args, Utilities.withVersion(options)); - } - public static CompletableFuture getFsuCollectionPlain(GetFsuCollectionPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:FleetSoftwareUpdate/getFsuCollection:getFsuCollection", TypeShape.of(GetFsuCollectionResult.class), args, Utilities.withVersion(options)); - } - public static Output getFsuCollections(GetFsuCollectionsArgs args) { - return getFsuCollections(args, InvokeOptions.Empty); - } - public static CompletableFuture getFsuCollectionsPlain(GetFsuCollectionsPlainArgs args) { - return getFsuCollectionsPlain(args, InvokeOptions.Empty); - } - public static Output getFsuCollections(GetFsuCollectionsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:FleetSoftwareUpdate/getFsuCollections:getFsuCollections", TypeShape.of(GetFsuCollectionsResult.class), args, Utilities.withVersion(options)); - } - public static CompletableFuture getFsuCollectionsPlain(GetFsuCollectionsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:FleetSoftwareUpdate/getFsuCollections:getFsuCollections", TypeShape.of(GetFsuCollectionsResult.class), args, Utilities.withVersion(options)); - } - public static Output getFsuCycle(GetFsuCycleArgs args) { - return getFsuCycle(args, InvokeOptions.Empty); - } - public static CompletableFuture getFsuCyclePlain(GetFsuCyclePlainArgs args) { - return getFsuCyclePlain(args, InvokeOptions.Empty); - } - public static Output getFsuCycle(GetFsuCycleArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:FleetSoftwareUpdate/getFsuCycle:getFsuCycle", TypeShape.of(GetFsuCycleResult.class), args, Utilities.withVersion(options)); - } - public static CompletableFuture getFsuCyclePlain(GetFsuCyclePlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:FleetSoftwareUpdate/getFsuCycle:getFsuCycle", TypeShape.of(GetFsuCycleResult.class), args, Utilities.withVersion(options)); - } - public static Output getFsuCycles(GetFsuCyclesArgs args) { - return getFsuCycles(args, InvokeOptions.Empty); - } - public static CompletableFuture getFsuCyclesPlain(GetFsuCyclesPlainArgs args) { - return getFsuCyclesPlain(args, InvokeOptions.Empty); - } - public static Output getFsuCycles(GetFsuCyclesArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:FleetSoftwareUpdate/getFsuCycles:getFsuCycles", TypeShape.of(GetFsuCyclesResult.class), args, Utilities.withVersion(options)); - } - public static CompletableFuture getFsuCyclesPlain(GetFsuCyclesPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:FleetSoftwareUpdate/getFsuCycles:getFsuCycles", TypeShape.of(GetFsuCyclesResult.class), args, Utilities.withVersion(options)); - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCollection.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCollection.java deleted file mode 100644 index 40447f3e37..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCollection.java +++ /dev/null @@ -1,169 +0,0 @@ -// *** 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.FleetSoftwareUpdate; - -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.FleetSoftwareUpdate.FsuCollectionArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCollectionState; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.FsuCollectionActiveFsuCycle; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.FsuCollectionFleetDiscovery; -import com.pulumi.oci.Utilities; -import java.lang.Integer; -import java.lang.String; -import java.util.List; -import java.util.Map; -import javax.annotation.Nullable; - -@ResourceType(type="oci:FleetSoftwareUpdate/fsuCollection:FsuCollection") -public class FsuCollection extends com.pulumi.resources.CustomResource { - @Export(name="activeFsuCycles", refs={List.class,FsuCollectionActiveFsuCycle.class}, tree="[0,1]") - private Output> activeFsuCycles; - - public Output> activeFsuCycles() { - return this.activeFsuCycles; - } - @Export(name="compartmentId", refs={String.class}, tree="[0]") - private Output compartmentId; - - public Output compartmentId() { - return this.compartmentId; - } - @Export(name="definedTags", refs={Map.class,String.class}, tree="[0,1,1]") - private Output> definedTags; - - public Output> definedTags() { - return this.definedTags; - } - @Export(name="displayName", refs={String.class}, tree="[0]") - private Output displayName; - - public Output displayName() { - return this.displayName; - } - @Export(name="fleetDiscovery", refs={FsuCollectionFleetDiscovery.class}, tree="[0]") - private Output fleetDiscovery; - - public Output fleetDiscovery() { - return this.fleetDiscovery; - } - @Export(name="freeformTags", refs={Map.class,String.class}, tree="[0,1,1]") - private Output> freeformTags; - - public Output> freeformTags() { - return this.freeformTags; - } - @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") - private Output lifecycleDetails; - - public Output lifecycleDetails() { - return this.lifecycleDetails; - } - @Export(name="serviceType", refs={String.class}, tree="[0]") - private Output serviceType; - - public Output serviceType() { - return this.serviceType; - } - @Export(name="sourceMajorVersion", refs={String.class}, tree="[0]") - private Output sourceMajorVersion; - - public Output sourceMajorVersion() { - return this.sourceMajorVersion; - } - @Export(name="state", refs={String.class}, tree="[0]") - private Output state; - - public Output state() { - return this.state; - } - @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") - private Output> systemTags; - - public Output> systemTags() { - return this.systemTags; - } - @Export(name="targetCount", refs={Integer.class}, tree="[0]") - private Output targetCount; - - public Output targetCount() { - return this.targetCount; - } - @Export(name="timeCreated", refs={String.class}, tree="[0]") - private Output timeCreated; - - public Output timeCreated() { - return this.timeCreated; - } - @Export(name="timeUpdated", refs={String.class}, tree="[0]") - private Output timeUpdated; - - public Output timeUpdated() { - return this.timeUpdated; - } - @Export(name="type", refs={String.class}, tree="[0]") - private Output type; - - public Output type() { - return this.type; - } - - /** - * - * @param name The _unique_ name of the resulting resource. - */ - public FsuCollection(java.lang.String name) { - this(name, FsuCollectionArgs.Empty); - } - /** - * - * @param name The _unique_ name of the resulting resource. - * @param args The arguments to use to populate this resource's properties. - */ - public FsuCollection(java.lang.String name, FsuCollectionArgs 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 FsuCollection(java.lang.String name, FsuCollectionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("oci:FleetSoftwareUpdate/fsuCollection:FsuCollection", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); - } - - private FsuCollection(java.lang.String name, Output id, @Nullable FsuCollectionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("oci:FleetSoftwareUpdate/fsuCollection:FsuCollection", name, state, makeResourceOptions(options, id), false); - } - - private static FsuCollectionArgs makeArgs(FsuCollectionArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { - if (options != null && options.getUrn().isPresent()) { - return null; - } - return args == null ? FsuCollectionArgs.Empty : args; - } - - 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 FsuCollection get(java.lang.String name, Output id, @Nullable FsuCollectionState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { - return new FsuCollection(name, id, state, options); - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCollectionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCollectionArgs.java deleted file mode 100644 index 5ff423f368..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCollectionArgs.java +++ /dev/null @@ -1,197 +0,0 @@ -// *** 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.FleetSoftwareUpdate; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCollectionFleetDiscoveryArgs; -import java.lang.String; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class FsuCollectionArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCollectionArgs Empty = new FsuCollectionArgs(); - - @Import(name="compartmentId", required=true) - private Output compartmentId; - - public Output compartmentId() { - return this.compartmentId; - } - - @Import(name="definedTags") - private @Nullable Output> definedTags; - - public Optional>> definedTags() { - return Optional.ofNullable(this.definedTags); - } - - @Import(name="displayName") - private @Nullable Output displayName; - - public Optional> displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="fleetDiscovery") - private @Nullable Output fleetDiscovery; - - public Optional> fleetDiscovery() { - return Optional.ofNullable(this.fleetDiscovery); - } - - @Import(name="freeformTags") - private @Nullable Output> freeformTags; - - public Optional>> freeformTags() { - return Optional.ofNullable(this.freeformTags); - } - - @Import(name="serviceType", required=true) - private Output serviceType; - - public Output serviceType() { - return this.serviceType; - } - - @Import(name="sourceMajorVersion", required=true) - private Output sourceMajorVersion; - - public Output sourceMajorVersion() { - return this.sourceMajorVersion; - } - - @Import(name="type", required=true) - private Output type; - - public Output type() { - return this.type; - } - - private FsuCollectionArgs() {} - - private FsuCollectionArgs(FsuCollectionArgs $) { - this.compartmentId = $.compartmentId; - this.definedTags = $.definedTags; - this.displayName = $.displayName; - this.fleetDiscovery = $.fleetDiscovery; - this.freeformTags = $.freeformTags; - this.serviceType = $.serviceType; - this.sourceMajorVersion = $.sourceMajorVersion; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCollectionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCollectionArgs $; - - public Builder() { - $ = new FsuCollectionArgs(); - } - - public Builder(FsuCollectionArgs defaults) { - $ = new FsuCollectionArgs(Objects.requireNonNull(defaults)); - } - - public Builder compartmentId(Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - public Builder compartmentId(String compartmentId) { - return compartmentId(Output.of(compartmentId)); - } - - public Builder definedTags(@Nullable Output> definedTags) { - $.definedTags = definedTags; - return this; - } - - public Builder definedTags(Map definedTags) { - return definedTags(Output.of(definedTags)); - } - - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - public Builder displayName(String displayName) { - return displayName(Output.of(displayName)); - } - - public Builder fleetDiscovery(@Nullable Output fleetDiscovery) { - $.fleetDiscovery = fleetDiscovery; - return this; - } - - public Builder fleetDiscovery(FsuCollectionFleetDiscoveryArgs fleetDiscovery) { - return fleetDiscovery(Output.of(fleetDiscovery)); - } - - public Builder freeformTags(@Nullable Output> freeformTags) { - $.freeformTags = freeformTags; - return this; - } - - public Builder freeformTags(Map freeformTags) { - return freeformTags(Output.of(freeformTags)); - } - - public Builder serviceType(Output serviceType) { - $.serviceType = serviceType; - return this; - } - - public Builder serviceType(String serviceType) { - return serviceType(Output.of(serviceType)); - } - - public Builder sourceMajorVersion(Output sourceMajorVersion) { - $.sourceMajorVersion = sourceMajorVersion; - return this; - } - - public Builder sourceMajorVersion(String sourceMajorVersion) { - return sourceMajorVersion(Output.of(sourceMajorVersion)); - } - - public Builder type(Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public FsuCollectionArgs build() { - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("FsuCollectionArgs", "compartmentId"); - } - if ($.serviceType == null) { - throw new MissingRequiredPropertyException("FsuCollectionArgs", "serviceType"); - } - if ($.sourceMajorVersion == null) { - throw new MissingRequiredPropertyException("FsuCollectionArgs", "sourceMajorVersion"); - } - if ($.type == null) { - throw new MissingRequiredPropertyException("FsuCollectionArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCycle.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCycle.java deleted file mode 100644 index c3bbfba13e..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCycle.java +++ /dev/null @@ -1,234 +0,0 @@ -// *** 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.FleetSoftwareUpdate; - -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.FleetSoftwareUpdate.FsuCycleArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleState; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.FsuCycleApplyActionSchedule; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.FsuCycleBatchingStrategy; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.FsuCycleDiagnosticsCollection; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.FsuCycleGoalVersionDetails; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.FsuCycleNextActionToExecute; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.FsuCycleStageActionSchedule; -import com.pulumi.oci.Utilities; -import java.lang.Boolean; -import java.lang.Integer; -import java.lang.String; -import java.util.List; -import java.util.Map; -import javax.annotation.Nullable; - -@ResourceType(type="oci:FleetSoftwareUpdate/fsuCycle:FsuCycle") -public class FsuCycle extends com.pulumi.resources.CustomResource { - @Export(name="applyActionSchedule", refs={FsuCycleApplyActionSchedule.class}, tree="[0]") - private Output applyActionSchedule; - - public Output applyActionSchedule() { - return this.applyActionSchedule; - } - @Export(name="batchingStrategy", refs={FsuCycleBatchingStrategy.class}, tree="[0]") - private Output batchingStrategy; - - public Output batchingStrategy() { - return this.batchingStrategy; - } - @Export(name="collectionType", refs={String.class}, tree="[0]") - private Output collectionType; - - public Output collectionType() { - return this.collectionType; - } - @Export(name="compartmentId", refs={String.class}, tree="[0]") - private Output compartmentId; - - public Output compartmentId() { - return this.compartmentId; - } - @Export(name="definedTags", refs={Map.class,String.class}, tree="[0,1,1]") - private Output> definedTags; - - public Output> definedTags() { - return this.definedTags; - } - @Export(name="diagnosticsCollection", refs={FsuCycleDiagnosticsCollection.class}, tree="[0]") - private Output diagnosticsCollection; - - public Output diagnosticsCollection() { - return this.diagnosticsCollection; - } - @Export(name="displayName", refs={String.class}, tree="[0]") - private Output displayName; - - public Output displayName() { - return this.displayName; - } - @Export(name="executingFsuActionId", refs={String.class}, tree="[0]") - private Output executingFsuActionId; - - public Output executingFsuActionId() { - return this.executingFsuActionId; - } - @Export(name="freeformTags", refs={Map.class,String.class}, tree="[0,1,1]") - private Output> freeformTags; - - public Output> freeformTags() { - return this.freeformTags; - } - @Export(name="fsuCollectionId", refs={String.class}, tree="[0]") - private Output fsuCollectionId; - - public Output fsuCollectionId() { - return this.fsuCollectionId; - } - @Export(name="goalVersionDetails", refs={FsuCycleGoalVersionDetails.class}, tree="[0]") - private Output goalVersionDetails; - - public Output goalVersionDetails() { - return this.goalVersionDetails; - } - @Export(name="isIgnoreMissingPatches", refs={List.class,String.class}, tree="[0,1]") - private Output> isIgnoreMissingPatches; - - public Output> isIgnoreMissingPatches() { - return this.isIgnoreMissingPatches; - } - @Export(name="isIgnorePatches", refs={Boolean.class}, tree="[0]") - private Output isIgnorePatches; - - public Output isIgnorePatches() { - return this.isIgnorePatches; - } - @Export(name="isKeepPlacement", refs={Boolean.class}, tree="[0]") - private Output isKeepPlacement; - - public Output isKeepPlacement() { - return this.isKeepPlacement; - } - @Export(name="lastCompletedAction", refs={String.class}, tree="[0]") - private Output lastCompletedAction; - - public Output lastCompletedAction() { - return this.lastCompletedAction; - } - @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") - private Output lifecycleDetails; - - public Output lifecycleDetails() { - return this.lifecycleDetails; - } - @Export(name="maxDrainTimeoutInSeconds", refs={Integer.class}, tree="[0]") - private Output maxDrainTimeoutInSeconds; - - public Output maxDrainTimeoutInSeconds() { - return this.maxDrainTimeoutInSeconds; - } - @Export(name="nextActionToExecutes", refs={List.class,FsuCycleNextActionToExecute.class}, tree="[0,1]") - private Output> nextActionToExecutes; - - public Output> nextActionToExecutes() { - return this.nextActionToExecutes; - } - @Export(name="stageActionSchedule", refs={FsuCycleStageActionSchedule.class}, tree="[0]") - private Output stageActionSchedule; - - public Output stageActionSchedule() { - return this.stageActionSchedule; - } - @Export(name="state", refs={String.class}, tree="[0]") - private Output state; - - public Output state() { - return this.state; - } - @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") - private Output> systemTags; - - public Output> systemTags() { - return this.systemTags; - } - @Export(name="timeCreated", refs={String.class}, tree="[0]") - private Output timeCreated; - - public Output timeCreated() { - return this.timeCreated; - } - @Export(name="timeFinished", refs={String.class}, tree="[0]") - private Output timeFinished; - - public Output timeFinished() { - return this.timeFinished; - } - @Export(name="timeUpdated", refs={String.class}, tree="[0]") - private Output timeUpdated; - - public Output timeUpdated() { - return this.timeUpdated; - } - @Export(name="type", refs={String.class}, tree="[0]") - private Output type; - - public Output type() { - return this.type; - } - - /** - * - * @param name The _unique_ name of the resulting resource. - */ - public FsuCycle(java.lang.String name) { - this(name, FsuCycleArgs.Empty); - } - /** - * - * @param name The _unique_ name of the resulting resource. - * @param args The arguments to use to populate this resource's properties. - */ - public FsuCycle(java.lang.String name, FsuCycleArgs 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 FsuCycle(java.lang.String name, FsuCycleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("oci:FleetSoftwareUpdate/fsuCycle:FsuCycle", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); - } - - private FsuCycle(java.lang.String name, Output id, @Nullable FsuCycleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("oci:FleetSoftwareUpdate/fsuCycle:FsuCycle", name, state, makeResourceOptions(options, id), false); - } - - private static FsuCycleArgs makeArgs(FsuCycleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { - if (options != null && options.getUrn().isPresent()) { - return null; - } - return args == null ? FsuCycleArgs.Empty : args; - } - - 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 FsuCycle get(java.lang.String name, Output id, @Nullable FsuCycleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { - return new FsuCycle(name, id, state, options); - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCycleArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCycleArgs.java deleted file mode 100644 index fd6340c06c..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/FsuCycleArgs.java +++ /dev/null @@ -1,327 +0,0 @@ -// *** 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.FleetSoftwareUpdate; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleApplyActionScheduleArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleBatchingStrategyArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleDiagnosticsCollectionArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleGoalVersionDetailsArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleStageActionScheduleArgs; -import java.lang.Boolean; -import java.lang.Integer; -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 FsuCycleArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCycleArgs Empty = new FsuCycleArgs(); - - @Import(name="applyActionSchedule") - private @Nullable Output applyActionSchedule; - - public Optional> applyActionSchedule() { - return Optional.ofNullable(this.applyActionSchedule); - } - - @Import(name="batchingStrategy") - private @Nullable Output batchingStrategy; - - public Optional> batchingStrategy() { - return Optional.ofNullable(this.batchingStrategy); - } - - @Import(name="compartmentId", required=true) - private Output compartmentId; - - public Output compartmentId() { - return this.compartmentId; - } - - @Import(name="definedTags") - private @Nullable Output> definedTags; - - public Optional>> definedTags() { - return Optional.ofNullable(this.definedTags); - } - - @Import(name="diagnosticsCollection") - private @Nullable Output diagnosticsCollection; - - public Optional> diagnosticsCollection() { - return Optional.ofNullable(this.diagnosticsCollection); - } - - @Import(name="displayName") - private @Nullable Output displayName; - - public Optional> displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="freeformTags") - private @Nullable Output> freeformTags; - - public Optional>> freeformTags() { - return Optional.ofNullable(this.freeformTags); - } - - @Import(name="fsuCollectionId", required=true) - private Output fsuCollectionId; - - public Output fsuCollectionId() { - return this.fsuCollectionId; - } - - @Import(name="goalVersionDetails", required=true) - private Output goalVersionDetails; - - public Output goalVersionDetails() { - return this.goalVersionDetails; - } - - @Import(name="isIgnoreMissingPatches") - private @Nullable Output> isIgnoreMissingPatches; - - public Optional>> isIgnoreMissingPatches() { - return Optional.ofNullable(this.isIgnoreMissingPatches); - } - - @Import(name="isIgnorePatches") - private @Nullable Output isIgnorePatches; - - public Optional> isIgnorePatches() { - return Optional.ofNullable(this.isIgnorePatches); - } - - @Import(name="isKeepPlacement") - private @Nullable Output isKeepPlacement; - - public Optional> isKeepPlacement() { - return Optional.ofNullable(this.isKeepPlacement); - } - - @Import(name="maxDrainTimeoutInSeconds") - private @Nullable Output maxDrainTimeoutInSeconds; - - public Optional> maxDrainTimeoutInSeconds() { - return Optional.ofNullable(this.maxDrainTimeoutInSeconds); - } - - @Import(name="stageActionSchedule") - private @Nullable Output stageActionSchedule; - - public Optional> stageActionSchedule() { - return Optional.ofNullable(this.stageActionSchedule); - } - - @Import(name="type", required=true) - private Output type; - - public Output type() { - return this.type; - } - - private FsuCycleArgs() {} - - private FsuCycleArgs(FsuCycleArgs $) { - this.applyActionSchedule = $.applyActionSchedule; - this.batchingStrategy = $.batchingStrategy; - this.compartmentId = $.compartmentId; - this.definedTags = $.definedTags; - this.diagnosticsCollection = $.diagnosticsCollection; - this.displayName = $.displayName; - this.freeformTags = $.freeformTags; - this.fsuCollectionId = $.fsuCollectionId; - this.goalVersionDetails = $.goalVersionDetails; - this.isIgnoreMissingPatches = $.isIgnoreMissingPatches; - this.isIgnorePatches = $.isIgnorePatches; - this.isKeepPlacement = $.isKeepPlacement; - this.maxDrainTimeoutInSeconds = $.maxDrainTimeoutInSeconds; - this.stageActionSchedule = $.stageActionSchedule; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCycleArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCycleArgs $; - - public Builder() { - $ = new FsuCycleArgs(); - } - - public Builder(FsuCycleArgs defaults) { - $ = new FsuCycleArgs(Objects.requireNonNull(defaults)); - } - - public Builder applyActionSchedule(@Nullable Output applyActionSchedule) { - $.applyActionSchedule = applyActionSchedule; - return this; - } - - public Builder applyActionSchedule(FsuCycleApplyActionScheduleArgs applyActionSchedule) { - return applyActionSchedule(Output.of(applyActionSchedule)); - } - - public Builder batchingStrategy(@Nullable Output batchingStrategy) { - $.batchingStrategy = batchingStrategy; - return this; - } - - public Builder batchingStrategy(FsuCycleBatchingStrategyArgs batchingStrategy) { - return batchingStrategy(Output.of(batchingStrategy)); - } - - public Builder compartmentId(Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - public Builder compartmentId(String compartmentId) { - return compartmentId(Output.of(compartmentId)); - } - - public Builder definedTags(@Nullable Output> definedTags) { - $.definedTags = definedTags; - return this; - } - - public Builder definedTags(Map definedTags) { - return definedTags(Output.of(definedTags)); - } - - public Builder diagnosticsCollection(@Nullable Output diagnosticsCollection) { - $.diagnosticsCollection = diagnosticsCollection; - return this; - } - - public Builder diagnosticsCollection(FsuCycleDiagnosticsCollectionArgs diagnosticsCollection) { - return diagnosticsCollection(Output.of(diagnosticsCollection)); - } - - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - public Builder displayName(String displayName) { - return displayName(Output.of(displayName)); - } - - public Builder freeformTags(@Nullable Output> freeformTags) { - $.freeformTags = freeformTags; - return this; - } - - public Builder freeformTags(Map freeformTags) { - return freeformTags(Output.of(freeformTags)); - } - - public Builder fsuCollectionId(Output fsuCollectionId) { - $.fsuCollectionId = fsuCollectionId; - return this; - } - - public Builder fsuCollectionId(String fsuCollectionId) { - return fsuCollectionId(Output.of(fsuCollectionId)); - } - - public Builder goalVersionDetails(Output goalVersionDetails) { - $.goalVersionDetails = goalVersionDetails; - return this; - } - - public Builder goalVersionDetails(FsuCycleGoalVersionDetailsArgs goalVersionDetails) { - return goalVersionDetails(Output.of(goalVersionDetails)); - } - - public Builder isIgnoreMissingPatches(@Nullable Output> isIgnoreMissingPatches) { - $.isIgnoreMissingPatches = isIgnoreMissingPatches; - return this; - } - - public Builder isIgnoreMissingPatches(List isIgnoreMissingPatches) { - return isIgnoreMissingPatches(Output.of(isIgnoreMissingPatches)); - } - - public Builder isIgnoreMissingPatches(String... isIgnoreMissingPatches) { - return isIgnoreMissingPatches(List.of(isIgnoreMissingPatches)); - } - - public Builder isIgnorePatches(@Nullable Output isIgnorePatches) { - $.isIgnorePatches = isIgnorePatches; - return this; - } - - public Builder isIgnorePatches(Boolean isIgnorePatches) { - return isIgnorePatches(Output.of(isIgnorePatches)); - } - - public Builder isKeepPlacement(@Nullable Output isKeepPlacement) { - $.isKeepPlacement = isKeepPlacement; - return this; - } - - public Builder isKeepPlacement(Boolean isKeepPlacement) { - return isKeepPlacement(Output.of(isKeepPlacement)); - } - - public Builder maxDrainTimeoutInSeconds(@Nullable Output maxDrainTimeoutInSeconds) { - $.maxDrainTimeoutInSeconds = maxDrainTimeoutInSeconds; - return this; - } - - public Builder maxDrainTimeoutInSeconds(Integer maxDrainTimeoutInSeconds) { - return maxDrainTimeoutInSeconds(Output.of(maxDrainTimeoutInSeconds)); - } - - public Builder stageActionSchedule(@Nullable Output stageActionSchedule) { - $.stageActionSchedule = stageActionSchedule; - return this; - } - - public Builder stageActionSchedule(FsuCycleStageActionScheduleArgs stageActionSchedule) { - return stageActionSchedule(Output.of(stageActionSchedule)); - } - - public Builder type(Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public FsuCycleArgs build() { - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("FsuCycleArgs", "compartmentId"); - } - if ($.fsuCollectionId == null) { - throw new MissingRequiredPropertyException("FsuCycleArgs", "fsuCollectionId"); - } - if ($.goalVersionDetails == null) { - throw new MissingRequiredPropertyException("FsuCycleArgs", "goalVersionDetails"); - } - if ($.type == null) { - throw new MissingRequiredPropertyException("FsuCycleArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionActiveFsuCycleArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionActiveFsuCycleArgs.java deleted file mode 100644 index 0455292a1d..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionActiveFsuCycleArgs.java +++ /dev/null @@ -1,80 +0,0 @@ -// *** 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.FleetSoftwareUpdate.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 FsuCollectionActiveFsuCycleArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCollectionActiveFsuCycleArgs Empty = new FsuCollectionActiveFsuCycleArgs(); - - @Import(name="displayName") - private @Nullable Output displayName; - - public Optional> displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="id") - private @Nullable Output id; - - public Optional> id() { - return Optional.ofNullable(this.id); - } - - private FsuCollectionActiveFsuCycleArgs() {} - - private FsuCollectionActiveFsuCycleArgs(FsuCollectionActiveFsuCycleArgs $) { - this.displayName = $.displayName; - this.id = $.id; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCollectionActiveFsuCycleArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCollectionActiveFsuCycleArgs $; - - public Builder() { - $ = new FsuCollectionActiveFsuCycleArgs(); - } - - public Builder(FsuCollectionActiveFsuCycleArgs defaults) { - $ = new FsuCollectionActiveFsuCycleArgs(Objects.requireNonNull(defaults)); - } - - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - public Builder displayName(String displayName) { - return displayName(Output.of(displayName)); - } - - public Builder id(@Nullable Output id) { - $.id = id; - return this; - } - - public Builder id(String id) { - return id(Output.of(id)); - } - - public FsuCollectionActiveFsuCycleArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionFleetDiscoveryArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionFleetDiscoveryArgs.java deleted file mode 100644 index b7c434efa4..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionFleetDiscoveryArgs.java +++ /dev/null @@ -1,145 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCollectionFleetDiscoveryFilterArgs; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class FsuCollectionFleetDiscoveryArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCollectionFleetDiscoveryArgs Empty = new FsuCollectionFleetDiscoveryArgs(); - - @Import(name="filters") - private @Nullable Output> filters; - - public Optional>> filters() { - return Optional.ofNullable(this.filters); - } - - @Import(name="fsuDiscoveryId") - private @Nullable Output fsuDiscoveryId; - - public Optional> fsuDiscoveryId() { - return Optional.ofNullable(this.fsuDiscoveryId); - } - - @Import(name="query") - private @Nullable Output query; - - public Optional> query() { - return Optional.ofNullable(this.query); - } - - @Import(name="strategy", required=true) - private Output strategy; - - public Output strategy() { - return this.strategy; - } - - @Import(name="targets") - private @Nullable Output> targets; - - public Optional>> targets() { - return Optional.ofNullable(this.targets); - } - - private FsuCollectionFleetDiscoveryArgs() {} - - private FsuCollectionFleetDiscoveryArgs(FsuCollectionFleetDiscoveryArgs $) { - this.filters = $.filters; - this.fsuDiscoveryId = $.fsuDiscoveryId; - this.query = $.query; - this.strategy = $.strategy; - this.targets = $.targets; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCollectionFleetDiscoveryArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCollectionFleetDiscoveryArgs $; - - public Builder() { - $ = new FsuCollectionFleetDiscoveryArgs(); - } - - public Builder(FsuCollectionFleetDiscoveryArgs defaults) { - $ = new FsuCollectionFleetDiscoveryArgs(Objects.requireNonNull(defaults)); - } - - public Builder filters(@Nullable Output> filters) { - $.filters = filters; - return this; - } - - public Builder filters(List filters) { - return filters(Output.of(filters)); - } - - public Builder filters(FsuCollectionFleetDiscoveryFilterArgs... filters) { - return filters(List.of(filters)); - } - - public Builder fsuDiscoveryId(@Nullable Output fsuDiscoveryId) { - $.fsuDiscoveryId = fsuDiscoveryId; - return this; - } - - public Builder fsuDiscoveryId(String fsuDiscoveryId) { - return fsuDiscoveryId(Output.of(fsuDiscoveryId)); - } - - public Builder query(@Nullable Output query) { - $.query = query; - return this; - } - - public Builder query(String query) { - return query(Output.of(query)); - } - - public Builder strategy(Output strategy) { - $.strategy = strategy; - return this; - } - - public Builder strategy(String strategy) { - return strategy(Output.of(strategy)); - } - - public Builder targets(@Nullable Output> targets) { - $.targets = targets; - return this; - } - - public Builder targets(List targets) { - return targets(Output.of(targets)); - } - - public Builder targets(String... targets) { - return targets(List.of(targets)); - } - - public FsuCollectionFleetDiscoveryArgs build() { - if ($.strategy == null) { - throw new MissingRequiredPropertyException("FsuCollectionFleetDiscoveryArgs", "strategy"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionFleetDiscoveryFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionFleetDiscoveryFilterArgs.java deleted file mode 100644 index 8ff2c61262..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionFleetDiscoveryFilterArgs.java +++ /dev/null @@ -1,204 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCollectionFleetDiscoveryFilterTagArgs; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class FsuCollectionFleetDiscoveryFilterArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCollectionFleetDiscoveryFilterArgs Empty = new FsuCollectionFleetDiscoveryFilterArgs(); - - @Import(name="entityType") - private @Nullable Output entityType; - - public Optional> entityType() { - return Optional.ofNullable(this.entityType); - } - - @Import(name="identifiers") - private @Nullable Output> identifiers; - - public Optional>> identifiers() { - return Optional.ofNullable(this.identifiers); - } - - @Import(name="mode") - private @Nullable Output mode; - - public Optional> mode() { - return Optional.ofNullable(this.mode); - } - - @Import(name="names") - private @Nullable Output> names; - - public Optional>> names() { - return Optional.ofNullable(this.names); - } - - @Import(name="operator") - private @Nullable Output operator; - - public Optional> operator() { - return Optional.ofNullable(this.operator); - } - - @Import(name="tags") - private @Nullable Output> tags; - - public Optional>> tags() { - return Optional.ofNullable(this.tags); - } - - @Import(name="type", required=true) - private Output type; - - public Output type() { - return this.type; - } - - @Import(name="versions") - private @Nullable Output> versions; - - public Optional>> versions() { - return Optional.ofNullable(this.versions); - } - - private FsuCollectionFleetDiscoveryFilterArgs() {} - - private FsuCollectionFleetDiscoveryFilterArgs(FsuCollectionFleetDiscoveryFilterArgs $) { - this.entityType = $.entityType; - this.identifiers = $.identifiers; - this.mode = $.mode; - this.names = $.names; - this.operator = $.operator; - this.tags = $.tags; - this.type = $.type; - this.versions = $.versions; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCollectionFleetDiscoveryFilterArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCollectionFleetDiscoveryFilterArgs $; - - public Builder() { - $ = new FsuCollectionFleetDiscoveryFilterArgs(); - } - - public Builder(FsuCollectionFleetDiscoveryFilterArgs defaults) { - $ = new FsuCollectionFleetDiscoveryFilterArgs(Objects.requireNonNull(defaults)); - } - - public Builder entityType(@Nullable Output entityType) { - $.entityType = entityType; - return this; - } - - public Builder entityType(String entityType) { - return entityType(Output.of(entityType)); - } - - public Builder identifiers(@Nullable Output> identifiers) { - $.identifiers = identifiers; - return this; - } - - public Builder identifiers(List identifiers) { - return identifiers(Output.of(identifiers)); - } - - public Builder identifiers(String... identifiers) { - return identifiers(List.of(identifiers)); - } - - public Builder mode(@Nullable Output mode) { - $.mode = mode; - return this; - } - - public Builder mode(String mode) { - return mode(Output.of(mode)); - } - - public Builder names(@Nullable Output> names) { - $.names = names; - return this; - } - - public Builder names(List names) { - return names(Output.of(names)); - } - - public Builder names(String... names) { - return names(List.of(names)); - } - - public Builder operator(@Nullable Output operator) { - $.operator = operator; - return this; - } - - public Builder operator(String operator) { - return operator(Output.of(operator)); - } - - public Builder tags(@Nullable Output> tags) { - $.tags = tags; - return this; - } - - public Builder tags(List tags) { - return tags(Output.of(tags)); - } - - public Builder tags(FsuCollectionFleetDiscoveryFilterTagArgs... tags) { - return tags(List.of(tags)); - } - - public Builder type(Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public Builder versions(@Nullable Output> versions) { - $.versions = versions; - return this; - } - - public Builder versions(List versions) { - return versions(Output.of(versions)); - } - - public Builder versions(String... versions) { - return versions(List.of(versions)); - } - - public FsuCollectionFleetDiscoveryFilterArgs build() { - if ($.type == null) { - throw new MissingRequiredPropertyException("FsuCollectionFleetDiscoveryFilterArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionFleetDiscoveryFilterTagArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionFleetDiscoveryFilterTagArgs.java deleted file mode 100644 index b39e02ece4..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionFleetDiscoveryFilterTagArgs.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class FsuCollectionFleetDiscoveryFilterTagArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCollectionFleetDiscoveryFilterTagArgs Empty = new FsuCollectionFleetDiscoveryFilterTagArgs(); - - @Import(name="key", required=true) - private Output key; - - public Output key() { - return this.key; - } - - @Import(name="namespace") - private @Nullable Output namespace; - - public Optional> namespace() { - return Optional.ofNullable(this.namespace); - } - - @Import(name="value", required=true) - private Output value; - - public Output value() { - return this.value; - } - - private FsuCollectionFleetDiscoveryFilterTagArgs() {} - - private FsuCollectionFleetDiscoveryFilterTagArgs(FsuCollectionFleetDiscoveryFilterTagArgs $) { - this.key = $.key; - this.namespace = $.namespace; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCollectionFleetDiscoveryFilterTagArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCollectionFleetDiscoveryFilterTagArgs $; - - public Builder() { - $ = new FsuCollectionFleetDiscoveryFilterTagArgs(); - } - - public Builder(FsuCollectionFleetDiscoveryFilterTagArgs defaults) { - $ = new FsuCollectionFleetDiscoveryFilterTagArgs(Objects.requireNonNull(defaults)); - } - - public Builder key(Output key) { - $.key = key; - return this; - } - - public Builder key(String key) { - return key(Output.of(key)); - } - - public Builder namespace(@Nullable Output namespace) { - $.namespace = namespace; - return this; - } - - public Builder namespace(String namespace) { - return namespace(Output.of(namespace)); - } - - public Builder value(Output value) { - $.value = value; - return this; - } - - public Builder value(String value) { - return value(Output.of(value)); - } - - public FsuCollectionFleetDiscoveryFilterTagArgs build() { - if ($.key == null) { - throw new MissingRequiredPropertyException("FsuCollectionFleetDiscoveryFilterTagArgs", "key"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("FsuCollectionFleetDiscoveryFilterTagArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionState.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionState.java deleted file mode 100644 index ac8274e14d..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCollectionState.java +++ /dev/null @@ -1,310 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCollectionActiveFsuCycleArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCollectionFleetDiscoveryArgs; -import java.lang.Integer; -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 FsuCollectionState extends com.pulumi.resources.ResourceArgs { - - public static final FsuCollectionState Empty = new FsuCollectionState(); - - @Import(name="activeFsuCycles") - private @Nullable Output> activeFsuCycles; - - public Optional>> activeFsuCycles() { - return Optional.ofNullable(this.activeFsuCycles); - } - - @Import(name="compartmentId") - private @Nullable Output compartmentId; - - public Optional> compartmentId() { - return Optional.ofNullable(this.compartmentId); - } - - @Import(name="definedTags") - private @Nullable Output> definedTags; - - public Optional>> definedTags() { - return Optional.ofNullable(this.definedTags); - } - - @Import(name="displayName") - private @Nullable Output displayName; - - public Optional> displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="fleetDiscovery") - private @Nullable Output fleetDiscovery; - - public Optional> fleetDiscovery() { - return Optional.ofNullable(this.fleetDiscovery); - } - - @Import(name="freeformTags") - private @Nullable Output> freeformTags; - - public Optional>> freeformTags() { - return Optional.ofNullable(this.freeformTags); - } - - @Import(name="lifecycleDetails") - private @Nullable Output lifecycleDetails; - - public Optional> lifecycleDetails() { - return Optional.ofNullable(this.lifecycleDetails); - } - - @Import(name="serviceType") - private @Nullable Output serviceType; - - public Optional> serviceType() { - return Optional.ofNullable(this.serviceType); - } - - @Import(name="sourceMajorVersion") - private @Nullable Output sourceMajorVersion; - - public Optional> sourceMajorVersion() { - return Optional.ofNullable(this.sourceMajorVersion); - } - - @Import(name="state") - private @Nullable Output state; - - public Optional> state() { - return Optional.ofNullable(this.state); - } - - @Import(name="systemTags") - private @Nullable Output> systemTags; - - public Optional>> systemTags() { - return Optional.ofNullable(this.systemTags); - } - - @Import(name="targetCount") - private @Nullable Output targetCount; - - public Optional> targetCount() { - return Optional.ofNullable(this.targetCount); - } - - @Import(name="timeCreated") - private @Nullable Output timeCreated; - - public Optional> timeCreated() { - return Optional.ofNullable(this.timeCreated); - } - - @Import(name="timeUpdated") - private @Nullable Output timeUpdated; - - public Optional> timeUpdated() { - return Optional.ofNullable(this.timeUpdated); - } - - @Import(name="type") - private @Nullable Output type; - - public Optional> type() { - return Optional.ofNullable(this.type); - } - - private FsuCollectionState() {} - - private FsuCollectionState(FsuCollectionState $) { - this.activeFsuCycles = $.activeFsuCycles; - this.compartmentId = $.compartmentId; - this.definedTags = $.definedTags; - this.displayName = $.displayName; - this.fleetDiscovery = $.fleetDiscovery; - this.freeformTags = $.freeformTags; - this.lifecycleDetails = $.lifecycleDetails; - this.serviceType = $.serviceType; - this.sourceMajorVersion = $.sourceMajorVersion; - this.state = $.state; - this.systemTags = $.systemTags; - this.targetCount = $.targetCount; - this.timeCreated = $.timeCreated; - this.timeUpdated = $.timeUpdated; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCollectionState defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCollectionState $; - - public Builder() { - $ = new FsuCollectionState(); - } - - public Builder(FsuCollectionState defaults) { - $ = new FsuCollectionState(Objects.requireNonNull(defaults)); - } - - public Builder activeFsuCycles(@Nullable Output> activeFsuCycles) { - $.activeFsuCycles = activeFsuCycles; - return this; - } - - public Builder activeFsuCycles(List activeFsuCycles) { - return activeFsuCycles(Output.of(activeFsuCycles)); - } - - public Builder activeFsuCycles(FsuCollectionActiveFsuCycleArgs... activeFsuCycles) { - return activeFsuCycles(List.of(activeFsuCycles)); - } - - public Builder compartmentId(@Nullable Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - public Builder compartmentId(String compartmentId) { - return compartmentId(Output.of(compartmentId)); - } - - public Builder definedTags(@Nullable Output> definedTags) { - $.definedTags = definedTags; - return this; - } - - public Builder definedTags(Map definedTags) { - return definedTags(Output.of(definedTags)); - } - - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - public Builder displayName(String displayName) { - return displayName(Output.of(displayName)); - } - - public Builder fleetDiscovery(@Nullable Output fleetDiscovery) { - $.fleetDiscovery = fleetDiscovery; - return this; - } - - public Builder fleetDiscovery(FsuCollectionFleetDiscoveryArgs fleetDiscovery) { - return fleetDiscovery(Output.of(fleetDiscovery)); - } - - public Builder freeformTags(@Nullable Output> freeformTags) { - $.freeformTags = freeformTags; - return this; - } - - public Builder freeformTags(Map freeformTags) { - return freeformTags(Output.of(freeformTags)); - } - - public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { - $.lifecycleDetails = lifecycleDetails; - return this; - } - - public Builder lifecycleDetails(String lifecycleDetails) { - return lifecycleDetails(Output.of(lifecycleDetails)); - } - - public Builder serviceType(@Nullable Output serviceType) { - $.serviceType = serviceType; - return this; - } - - public Builder serviceType(String serviceType) { - return serviceType(Output.of(serviceType)); - } - - public Builder sourceMajorVersion(@Nullable Output sourceMajorVersion) { - $.sourceMajorVersion = sourceMajorVersion; - return this; - } - - public Builder sourceMajorVersion(String sourceMajorVersion) { - return sourceMajorVersion(Output.of(sourceMajorVersion)); - } - - public Builder state(@Nullable Output state) { - $.state = state; - return this; - } - - public Builder state(String state) { - return state(Output.of(state)); - } - - public Builder systemTags(@Nullable Output> systemTags) { - $.systemTags = systemTags; - return this; - } - - public Builder systemTags(Map systemTags) { - return systemTags(Output.of(systemTags)); - } - - public Builder targetCount(@Nullable Output targetCount) { - $.targetCount = targetCount; - return this; - } - - public Builder targetCount(Integer targetCount) { - return targetCount(Output.of(targetCount)); - } - - public Builder timeCreated(@Nullable Output timeCreated) { - $.timeCreated = timeCreated; - return this; - } - - public Builder timeCreated(String timeCreated) { - return timeCreated(Output.of(timeCreated)); - } - - public Builder timeUpdated(@Nullable Output timeUpdated) { - $.timeUpdated = timeUpdated; - return this; - } - - public Builder timeUpdated(String timeUpdated) { - return timeUpdated(Output.of(timeUpdated)); - } - - public Builder type(@Nullable Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public FsuCollectionState build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleApplyActionScheduleArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleApplyActionScheduleArgs.java deleted file mode 100644 index efbe91503d..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleApplyActionScheduleArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class FsuCycleApplyActionScheduleArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCycleApplyActionScheduleArgs Empty = new FsuCycleApplyActionScheduleArgs(); - - @Import(name="timeToStart", required=true) - private Output timeToStart; - - public Output timeToStart() { - return this.timeToStart; - } - - @Import(name="type", required=true) - private Output type; - - public Output type() { - return this.type; - } - - private FsuCycleApplyActionScheduleArgs() {} - - private FsuCycleApplyActionScheduleArgs(FsuCycleApplyActionScheduleArgs $) { - this.timeToStart = $.timeToStart; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCycleApplyActionScheduleArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCycleApplyActionScheduleArgs $; - - public Builder() { - $ = new FsuCycleApplyActionScheduleArgs(); - } - - public Builder(FsuCycleApplyActionScheduleArgs defaults) { - $ = new FsuCycleApplyActionScheduleArgs(Objects.requireNonNull(defaults)); - } - - public Builder timeToStart(Output timeToStart) { - $.timeToStart = timeToStart; - return this; - } - - public Builder timeToStart(String timeToStart) { - return timeToStart(Output.of(timeToStart)); - } - - public Builder type(Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public FsuCycleApplyActionScheduleArgs build() { - if ($.timeToStart == null) { - throw new MissingRequiredPropertyException("FsuCycleApplyActionScheduleArgs", "timeToStart"); - } - if ($.type == null) { - throw new MissingRequiredPropertyException("FsuCycleApplyActionScheduleArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleBatchingStrategyArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleBatchingStrategyArgs.java deleted file mode 100644 index 6b3e3a17c9..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleBatchingStrategyArgs.java +++ /dev/null @@ -1,116 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.lang.Boolean; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class FsuCycleBatchingStrategyArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCycleBatchingStrategyArgs Empty = new FsuCycleBatchingStrategyArgs(); - - @Import(name="isForceRolling") - private @Nullable Output isForceRolling; - - public Optional> isForceRolling() { - return Optional.ofNullable(this.isForceRolling); - } - - @Import(name="isWaitForBatchResume") - private @Nullable Output isWaitForBatchResume; - - public Optional> isWaitForBatchResume() { - return Optional.ofNullable(this.isWaitForBatchResume); - } - - @Import(name="percentage") - private @Nullable Output percentage; - - public Optional> percentage() { - return Optional.ofNullable(this.percentage); - } - - @Import(name="type") - private @Nullable Output type; - - public Optional> type() { - return Optional.ofNullable(this.type); - } - - private FsuCycleBatchingStrategyArgs() {} - - private FsuCycleBatchingStrategyArgs(FsuCycleBatchingStrategyArgs $) { - this.isForceRolling = $.isForceRolling; - this.isWaitForBatchResume = $.isWaitForBatchResume; - this.percentage = $.percentage; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCycleBatchingStrategyArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCycleBatchingStrategyArgs $; - - public Builder() { - $ = new FsuCycleBatchingStrategyArgs(); - } - - public Builder(FsuCycleBatchingStrategyArgs defaults) { - $ = new FsuCycleBatchingStrategyArgs(Objects.requireNonNull(defaults)); - } - - public Builder isForceRolling(@Nullable Output isForceRolling) { - $.isForceRolling = isForceRolling; - return this; - } - - public Builder isForceRolling(Boolean isForceRolling) { - return isForceRolling(Output.of(isForceRolling)); - } - - public Builder isWaitForBatchResume(@Nullable Output isWaitForBatchResume) { - $.isWaitForBatchResume = isWaitForBatchResume; - return this; - } - - public Builder isWaitForBatchResume(Boolean isWaitForBatchResume) { - return isWaitForBatchResume(Output.of(isWaitForBatchResume)); - } - - public Builder percentage(@Nullable Output percentage) { - $.percentage = percentage; - return this; - } - - public Builder percentage(Integer percentage) { - return percentage(Output.of(percentage)); - } - - public Builder type(@Nullable Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public FsuCycleBatchingStrategyArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleDiagnosticsCollectionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleDiagnosticsCollectionArgs.java deleted file mode 100644 index f83f471640..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleDiagnosticsCollectionArgs.java +++ /dev/null @@ -1,63 +0,0 @@ -// *** 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.FleetSoftwareUpdate.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 FsuCycleDiagnosticsCollectionArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCycleDiagnosticsCollectionArgs Empty = new FsuCycleDiagnosticsCollectionArgs(); - - @Import(name="logCollectionMode") - private @Nullable Output logCollectionMode; - - public Optional> logCollectionMode() { - return Optional.ofNullable(this.logCollectionMode); - } - - private FsuCycleDiagnosticsCollectionArgs() {} - - private FsuCycleDiagnosticsCollectionArgs(FsuCycleDiagnosticsCollectionArgs $) { - this.logCollectionMode = $.logCollectionMode; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCycleDiagnosticsCollectionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCycleDiagnosticsCollectionArgs $; - - public Builder() { - $ = new FsuCycleDiagnosticsCollectionArgs(); - } - - public Builder(FsuCycleDiagnosticsCollectionArgs defaults) { - $ = new FsuCycleDiagnosticsCollectionArgs(Objects.requireNonNull(defaults)); - } - - public Builder logCollectionMode(@Nullable Output logCollectionMode) { - $.logCollectionMode = logCollectionMode; - return this; - } - - public Builder logCollectionMode(String logCollectionMode) { - return logCollectionMode(Output.of(logCollectionMode)); - } - - public FsuCycleDiagnosticsCollectionArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleGoalVersionDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleGoalVersionDetailsArgs.java deleted file mode 100644 index 04b3490ff6..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleGoalVersionDetailsArgs.java +++ /dev/null @@ -1,135 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class FsuCycleGoalVersionDetailsArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCycleGoalVersionDetailsArgs Empty = new FsuCycleGoalVersionDetailsArgs(); - - @Import(name="homePolicy") - private @Nullable Output homePolicy; - - public Optional> homePolicy() { - return Optional.ofNullable(this.homePolicy); - } - - @Import(name="newHomePrefix") - private @Nullable Output newHomePrefix; - - public Optional> newHomePrefix() { - return Optional.ofNullable(this.newHomePrefix); - } - - @Import(name="softwareImageId") - private @Nullable Output softwareImageId; - - public Optional> softwareImageId() { - return Optional.ofNullable(this.softwareImageId); - } - - @Import(name="type", required=true) - private Output type; - - public Output type() { - return this.type; - } - - @Import(name="version") - private @Nullable Output version; - - public Optional> version() { - return Optional.ofNullable(this.version); - } - - private FsuCycleGoalVersionDetailsArgs() {} - - private FsuCycleGoalVersionDetailsArgs(FsuCycleGoalVersionDetailsArgs $) { - this.homePolicy = $.homePolicy; - this.newHomePrefix = $.newHomePrefix; - this.softwareImageId = $.softwareImageId; - this.type = $.type; - this.version = $.version; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCycleGoalVersionDetailsArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCycleGoalVersionDetailsArgs $; - - public Builder() { - $ = new FsuCycleGoalVersionDetailsArgs(); - } - - public Builder(FsuCycleGoalVersionDetailsArgs defaults) { - $ = new FsuCycleGoalVersionDetailsArgs(Objects.requireNonNull(defaults)); - } - - public Builder homePolicy(@Nullable Output homePolicy) { - $.homePolicy = homePolicy; - return this; - } - - public Builder homePolicy(String homePolicy) { - return homePolicy(Output.of(homePolicy)); - } - - public Builder newHomePrefix(@Nullable Output newHomePrefix) { - $.newHomePrefix = newHomePrefix; - return this; - } - - public Builder newHomePrefix(String newHomePrefix) { - return newHomePrefix(Output.of(newHomePrefix)); - } - - public Builder softwareImageId(@Nullable Output softwareImageId) { - $.softwareImageId = softwareImageId; - return this; - } - - public Builder softwareImageId(String softwareImageId) { - return softwareImageId(Output.of(softwareImageId)); - } - - public Builder type(Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public Builder version(@Nullable Output version) { - $.version = version; - return this; - } - - public Builder version(String version) { - return version(Output.of(version)); - } - - public FsuCycleGoalVersionDetailsArgs build() { - if ($.type == null) { - throw new MissingRequiredPropertyException("FsuCycleGoalVersionDetailsArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleNextActionToExecuteArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleNextActionToExecuteArgs.java deleted file mode 100644 index ed12db5aaf..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleNextActionToExecuteArgs.java +++ /dev/null @@ -1,80 +0,0 @@ -// *** 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.FleetSoftwareUpdate.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 FsuCycleNextActionToExecuteArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCycleNextActionToExecuteArgs Empty = new FsuCycleNextActionToExecuteArgs(); - - @Import(name="timeToStart") - private @Nullable Output timeToStart; - - public Optional> timeToStart() { - return Optional.ofNullable(this.timeToStart); - } - - @Import(name="type") - private @Nullable Output type; - - public Optional> type() { - return Optional.ofNullable(this.type); - } - - private FsuCycleNextActionToExecuteArgs() {} - - private FsuCycleNextActionToExecuteArgs(FsuCycleNextActionToExecuteArgs $) { - this.timeToStart = $.timeToStart; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCycleNextActionToExecuteArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCycleNextActionToExecuteArgs $; - - public Builder() { - $ = new FsuCycleNextActionToExecuteArgs(); - } - - public Builder(FsuCycleNextActionToExecuteArgs defaults) { - $ = new FsuCycleNextActionToExecuteArgs(Objects.requireNonNull(defaults)); - } - - public Builder timeToStart(@Nullable Output timeToStart) { - $.timeToStart = timeToStart; - return this; - } - - public Builder timeToStart(String timeToStart) { - return timeToStart(Output.of(timeToStart)); - } - - public Builder type(@Nullable Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public FsuCycleNextActionToExecuteArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleStageActionScheduleArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleStageActionScheduleArgs.java deleted file mode 100644 index ba511f98f5..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleStageActionScheduleArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class FsuCycleStageActionScheduleArgs extends com.pulumi.resources.ResourceArgs { - - public static final FsuCycleStageActionScheduleArgs Empty = new FsuCycleStageActionScheduleArgs(); - - @Import(name="timeToStart", required=true) - private Output timeToStart; - - public Output timeToStart() { - return this.timeToStart; - } - - @Import(name="type", required=true) - private Output type; - - public Output type() { - return this.type; - } - - private FsuCycleStageActionScheduleArgs() {} - - private FsuCycleStageActionScheduleArgs(FsuCycleStageActionScheduleArgs $) { - this.timeToStart = $.timeToStart; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCycleStageActionScheduleArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCycleStageActionScheduleArgs $; - - public Builder() { - $ = new FsuCycleStageActionScheduleArgs(); - } - - public Builder(FsuCycleStageActionScheduleArgs defaults) { - $ = new FsuCycleStageActionScheduleArgs(Objects.requireNonNull(defaults)); - } - - public Builder timeToStart(Output timeToStart) { - $.timeToStart = timeToStart; - return this; - } - - public Builder timeToStart(String timeToStart) { - return timeToStart(Output.of(timeToStart)); - } - - public Builder type(Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public FsuCycleStageActionScheduleArgs build() { - if ($.timeToStart == null) { - throw new MissingRequiredPropertyException("FsuCycleStageActionScheduleArgs", "timeToStart"); - } - if ($.type == null) { - throw new MissingRequiredPropertyException("FsuCycleStageActionScheduleArgs", "type"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleState.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleState.java deleted file mode 100644 index ea6c9ee597..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/FsuCycleState.java +++ /dev/null @@ -1,489 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleApplyActionScheduleArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleBatchingStrategyArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleDiagnosticsCollectionArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleGoalVersionDetailsArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleNextActionToExecuteArgs; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.FsuCycleStageActionScheduleArgs; -import java.lang.Boolean; -import java.lang.Integer; -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 FsuCycleState extends com.pulumi.resources.ResourceArgs { - - public static final FsuCycleState Empty = new FsuCycleState(); - - @Import(name="applyActionSchedule") - private @Nullable Output applyActionSchedule; - - public Optional> applyActionSchedule() { - return Optional.ofNullable(this.applyActionSchedule); - } - - @Import(name="batchingStrategy") - private @Nullable Output batchingStrategy; - - public Optional> batchingStrategy() { - return Optional.ofNullable(this.batchingStrategy); - } - - @Import(name="collectionType") - private @Nullable Output collectionType; - - public Optional> collectionType() { - return Optional.ofNullable(this.collectionType); - } - - @Import(name="compartmentId") - private @Nullable Output compartmentId; - - public Optional> compartmentId() { - return Optional.ofNullable(this.compartmentId); - } - - @Import(name="definedTags") - private @Nullable Output> definedTags; - - public Optional>> definedTags() { - return Optional.ofNullable(this.definedTags); - } - - @Import(name="diagnosticsCollection") - private @Nullable Output diagnosticsCollection; - - public Optional> diagnosticsCollection() { - return Optional.ofNullable(this.diagnosticsCollection); - } - - @Import(name="displayName") - private @Nullable Output displayName; - - public Optional> displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="executingFsuActionId") - private @Nullable Output executingFsuActionId; - - public Optional> executingFsuActionId() { - return Optional.ofNullable(this.executingFsuActionId); - } - - @Import(name="freeformTags") - private @Nullable Output> freeformTags; - - public Optional>> freeformTags() { - return Optional.ofNullable(this.freeformTags); - } - - @Import(name="fsuCollectionId") - private @Nullable Output fsuCollectionId; - - public Optional> fsuCollectionId() { - return Optional.ofNullable(this.fsuCollectionId); - } - - @Import(name="goalVersionDetails") - private @Nullable Output goalVersionDetails; - - public Optional> goalVersionDetails() { - return Optional.ofNullable(this.goalVersionDetails); - } - - @Import(name="isIgnoreMissingPatches") - private @Nullable Output> isIgnoreMissingPatches; - - public Optional>> isIgnoreMissingPatches() { - return Optional.ofNullable(this.isIgnoreMissingPatches); - } - - @Import(name="isIgnorePatches") - private @Nullable Output isIgnorePatches; - - public Optional> isIgnorePatches() { - return Optional.ofNullable(this.isIgnorePatches); - } - - @Import(name="isKeepPlacement") - private @Nullable Output isKeepPlacement; - - public Optional> isKeepPlacement() { - return Optional.ofNullable(this.isKeepPlacement); - } - - @Import(name="lastCompletedAction") - private @Nullable Output lastCompletedAction; - - public Optional> lastCompletedAction() { - return Optional.ofNullable(this.lastCompletedAction); - } - - @Import(name="lifecycleDetails") - private @Nullable Output lifecycleDetails; - - public Optional> lifecycleDetails() { - return Optional.ofNullable(this.lifecycleDetails); - } - - @Import(name="maxDrainTimeoutInSeconds") - private @Nullable Output maxDrainTimeoutInSeconds; - - public Optional> maxDrainTimeoutInSeconds() { - return Optional.ofNullable(this.maxDrainTimeoutInSeconds); - } - - @Import(name="nextActionToExecutes") - private @Nullable Output> nextActionToExecutes; - - public Optional>> nextActionToExecutes() { - return Optional.ofNullable(this.nextActionToExecutes); - } - - @Import(name="stageActionSchedule") - private @Nullable Output stageActionSchedule; - - public Optional> stageActionSchedule() { - return Optional.ofNullable(this.stageActionSchedule); - } - - @Import(name="state") - private @Nullable Output state; - - public Optional> state() { - return Optional.ofNullable(this.state); - } - - @Import(name="systemTags") - private @Nullable Output> systemTags; - - public Optional>> systemTags() { - return Optional.ofNullable(this.systemTags); - } - - @Import(name="timeCreated") - private @Nullable Output timeCreated; - - public Optional> timeCreated() { - return Optional.ofNullable(this.timeCreated); - } - - @Import(name="timeFinished") - private @Nullable Output timeFinished; - - public Optional> timeFinished() { - return Optional.ofNullable(this.timeFinished); - } - - @Import(name="timeUpdated") - private @Nullable Output timeUpdated; - - public Optional> timeUpdated() { - return Optional.ofNullable(this.timeUpdated); - } - - @Import(name="type") - private @Nullable Output type; - - public Optional> type() { - return Optional.ofNullable(this.type); - } - - private FsuCycleState() {} - - private FsuCycleState(FsuCycleState $) { - this.applyActionSchedule = $.applyActionSchedule; - this.batchingStrategy = $.batchingStrategy; - this.collectionType = $.collectionType; - this.compartmentId = $.compartmentId; - this.definedTags = $.definedTags; - this.diagnosticsCollection = $.diagnosticsCollection; - this.displayName = $.displayName; - this.executingFsuActionId = $.executingFsuActionId; - this.freeformTags = $.freeformTags; - this.fsuCollectionId = $.fsuCollectionId; - this.goalVersionDetails = $.goalVersionDetails; - this.isIgnoreMissingPatches = $.isIgnoreMissingPatches; - this.isIgnorePatches = $.isIgnorePatches; - this.isKeepPlacement = $.isKeepPlacement; - this.lastCompletedAction = $.lastCompletedAction; - this.lifecycleDetails = $.lifecycleDetails; - this.maxDrainTimeoutInSeconds = $.maxDrainTimeoutInSeconds; - this.nextActionToExecutes = $.nextActionToExecutes; - this.stageActionSchedule = $.stageActionSchedule; - this.state = $.state; - this.systemTags = $.systemTags; - this.timeCreated = $.timeCreated; - this.timeFinished = $.timeFinished; - this.timeUpdated = $.timeUpdated; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(FsuCycleState defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private FsuCycleState $; - - public Builder() { - $ = new FsuCycleState(); - } - - public Builder(FsuCycleState defaults) { - $ = new FsuCycleState(Objects.requireNonNull(defaults)); - } - - public Builder applyActionSchedule(@Nullable Output applyActionSchedule) { - $.applyActionSchedule = applyActionSchedule; - return this; - } - - public Builder applyActionSchedule(FsuCycleApplyActionScheduleArgs applyActionSchedule) { - return applyActionSchedule(Output.of(applyActionSchedule)); - } - - public Builder batchingStrategy(@Nullable Output batchingStrategy) { - $.batchingStrategy = batchingStrategy; - return this; - } - - public Builder batchingStrategy(FsuCycleBatchingStrategyArgs batchingStrategy) { - return batchingStrategy(Output.of(batchingStrategy)); - } - - public Builder collectionType(@Nullable Output collectionType) { - $.collectionType = collectionType; - return this; - } - - public Builder collectionType(String collectionType) { - return collectionType(Output.of(collectionType)); - } - - public Builder compartmentId(@Nullable Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - public Builder compartmentId(String compartmentId) { - return compartmentId(Output.of(compartmentId)); - } - - public Builder definedTags(@Nullable Output> definedTags) { - $.definedTags = definedTags; - return this; - } - - public Builder definedTags(Map definedTags) { - return definedTags(Output.of(definedTags)); - } - - public Builder diagnosticsCollection(@Nullable Output diagnosticsCollection) { - $.diagnosticsCollection = diagnosticsCollection; - return this; - } - - public Builder diagnosticsCollection(FsuCycleDiagnosticsCollectionArgs diagnosticsCollection) { - return diagnosticsCollection(Output.of(diagnosticsCollection)); - } - - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - public Builder displayName(String displayName) { - return displayName(Output.of(displayName)); - } - - public Builder executingFsuActionId(@Nullable Output executingFsuActionId) { - $.executingFsuActionId = executingFsuActionId; - return this; - } - - public Builder executingFsuActionId(String executingFsuActionId) { - return executingFsuActionId(Output.of(executingFsuActionId)); - } - - public Builder freeformTags(@Nullable Output> freeformTags) { - $.freeformTags = freeformTags; - return this; - } - - public Builder freeformTags(Map freeformTags) { - return freeformTags(Output.of(freeformTags)); - } - - public Builder fsuCollectionId(@Nullable Output fsuCollectionId) { - $.fsuCollectionId = fsuCollectionId; - return this; - } - - public Builder fsuCollectionId(String fsuCollectionId) { - return fsuCollectionId(Output.of(fsuCollectionId)); - } - - public Builder goalVersionDetails(@Nullable Output goalVersionDetails) { - $.goalVersionDetails = goalVersionDetails; - return this; - } - - public Builder goalVersionDetails(FsuCycleGoalVersionDetailsArgs goalVersionDetails) { - return goalVersionDetails(Output.of(goalVersionDetails)); - } - - public Builder isIgnoreMissingPatches(@Nullable Output> isIgnoreMissingPatches) { - $.isIgnoreMissingPatches = isIgnoreMissingPatches; - return this; - } - - public Builder isIgnoreMissingPatches(List isIgnoreMissingPatches) { - return isIgnoreMissingPatches(Output.of(isIgnoreMissingPatches)); - } - - public Builder isIgnoreMissingPatches(String... isIgnoreMissingPatches) { - return isIgnoreMissingPatches(List.of(isIgnoreMissingPatches)); - } - - public Builder isIgnorePatches(@Nullable Output isIgnorePatches) { - $.isIgnorePatches = isIgnorePatches; - return this; - } - - public Builder isIgnorePatches(Boolean isIgnorePatches) { - return isIgnorePatches(Output.of(isIgnorePatches)); - } - - public Builder isKeepPlacement(@Nullable Output isKeepPlacement) { - $.isKeepPlacement = isKeepPlacement; - return this; - } - - public Builder isKeepPlacement(Boolean isKeepPlacement) { - return isKeepPlacement(Output.of(isKeepPlacement)); - } - - public Builder lastCompletedAction(@Nullable Output lastCompletedAction) { - $.lastCompletedAction = lastCompletedAction; - return this; - } - - public Builder lastCompletedAction(String lastCompletedAction) { - return lastCompletedAction(Output.of(lastCompletedAction)); - } - - public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { - $.lifecycleDetails = lifecycleDetails; - return this; - } - - public Builder lifecycleDetails(String lifecycleDetails) { - return lifecycleDetails(Output.of(lifecycleDetails)); - } - - public Builder maxDrainTimeoutInSeconds(@Nullable Output maxDrainTimeoutInSeconds) { - $.maxDrainTimeoutInSeconds = maxDrainTimeoutInSeconds; - return this; - } - - public Builder maxDrainTimeoutInSeconds(Integer maxDrainTimeoutInSeconds) { - return maxDrainTimeoutInSeconds(Output.of(maxDrainTimeoutInSeconds)); - } - - public Builder nextActionToExecutes(@Nullable Output> nextActionToExecutes) { - $.nextActionToExecutes = nextActionToExecutes; - return this; - } - - public Builder nextActionToExecutes(List nextActionToExecutes) { - return nextActionToExecutes(Output.of(nextActionToExecutes)); - } - - public Builder nextActionToExecutes(FsuCycleNextActionToExecuteArgs... nextActionToExecutes) { - return nextActionToExecutes(List.of(nextActionToExecutes)); - } - - public Builder stageActionSchedule(@Nullable Output stageActionSchedule) { - $.stageActionSchedule = stageActionSchedule; - return this; - } - - public Builder stageActionSchedule(FsuCycleStageActionScheduleArgs stageActionSchedule) { - return stageActionSchedule(Output.of(stageActionSchedule)); - } - - public Builder state(@Nullable Output state) { - $.state = state; - return this; - } - - public Builder state(String state) { - return state(Output.of(state)); - } - - public Builder systemTags(@Nullable Output> systemTags) { - $.systemTags = systemTags; - return this; - } - - public Builder systemTags(Map systemTags) { - return systemTags(Output.of(systemTags)); - } - - public Builder timeCreated(@Nullable Output timeCreated) { - $.timeCreated = timeCreated; - return this; - } - - public Builder timeCreated(String timeCreated) { - return timeCreated(Output.of(timeCreated)); - } - - public Builder timeFinished(@Nullable Output timeFinished) { - $.timeFinished = timeFinished; - return this; - } - - public Builder timeFinished(String timeFinished) { - return timeFinished(Output.of(timeFinished)); - } - - public Builder timeUpdated(@Nullable Output timeUpdated) { - $.timeUpdated = timeUpdated; - return this; - } - - public Builder timeUpdated(String timeUpdated) { - return timeUpdated(Output.of(timeUpdated)); - } - - public Builder type(@Nullable Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public FsuCycleState build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionArgs.java deleted file mode 100644 index 8182309c1e..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionArgs.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class GetFsuCollectionArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetFsuCollectionArgs Empty = new GetFsuCollectionArgs(); - - @Import(name="fsuCollectionId", required=true) - private Output fsuCollectionId; - - public Output fsuCollectionId() { - return this.fsuCollectionId; - } - - private GetFsuCollectionArgs() {} - - private GetFsuCollectionArgs(GetFsuCollectionArgs $) { - this.fsuCollectionId = $.fsuCollectionId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetFsuCollectionArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetFsuCollectionArgs $; - - public Builder() { - $ = new GetFsuCollectionArgs(); - } - - public Builder(GetFsuCollectionArgs defaults) { - $ = new GetFsuCollectionArgs(Objects.requireNonNull(defaults)); - } - - public Builder fsuCollectionId(Output fsuCollectionId) { - $.fsuCollectionId = fsuCollectionId; - return this; - } - - public Builder fsuCollectionId(String fsuCollectionId) { - return fsuCollectionId(Output.of(fsuCollectionId)); - } - - public GetFsuCollectionArgs build() { - if ($.fsuCollectionId == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionArgs", "fsuCollectionId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionPlainArgs.java deleted file mode 100644 index c538c6ecf0..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionPlainArgs.java +++ /dev/null @@ -1,60 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class GetFsuCollectionPlainArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetFsuCollectionPlainArgs Empty = new GetFsuCollectionPlainArgs(); - - @Import(name="fsuCollectionId", required=true) - private String fsuCollectionId; - - public String fsuCollectionId() { - return this.fsuCollectionId; - } - - private GetFsuCollectionPlainArgs() {} - - private GetFsuCollectionPlainArgs(GetFsuCollectionPlainArgs $) { - this.fsuCollectionId = $.fsuCollectionId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetFsuCollectionPlainArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetFsuCollectionPlainArgs $; - - public Builder() { - $ = new GetFsuCollectionPlainArgs(); - } - - public Builder(GetFsuCollectionPlainArgs defaults) { - $ = new GetFsuCollectionPlainArgs(Objects.requireNonNull(defaults)); - } - - public Builder fsuCollectionId(String fsuCollectionId) { - $.fsuCollectionId = fsuCollectionId; - return this; - } - - public GetFsuCollectionPlainArgs build() { - if ($.fsuCollectionId == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionPlainArgs", "fsuCollectionId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsArgs.java deleted file mode 100644 index b1bdc6c83b..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsArgs.java +++ /dev/null @@ -1,141 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCollectionsFilterArgs; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetFsuCollectionsArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetFsuCollectionsArgs Empty = new GetFsuCollectionsArgs(); - - @Import(name="compartmentId", required=true) - private Output compartmentId; - - public Output compartmentId() { - return this.compartmentId; - } - - @Import(name="displayName") - private @Nullable Output displayName; - - public Optional> displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="filters") - private @Nullable Output> filters; - - public Optional>> filters() { - return Optional.ofNullable(this.filters); - } - - @Import(name="state") - private @Nullable Output state; - - public Optional> state() { - return Optional.ofNullable(this.state); - } - - @Import(name="type") - private @Nullable Output type; - - public Optional> type() { - return Optional.ofNullable(this.type); - } - - private GetFsuCollectionsArgs() {} - - private GetFsuCollectionsArgs(GetFsuCollectionsArgs $) { - this.compartmentId = $.compartmentId; - this.displayName = $.displayName; - this.filters = $.filters; - this.state = $.state; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetFsuCollectionsArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetFsuCollectionsArgs $; - - public Builder() { - $ = new GetFsuCollectionsArgs(); - } - - public Builder(GetFsuCollectionsArgs defaults) { - $ = new GetFsuCollectionsArgs(Objects.requireNonNull(defaults)); - } - - public Builder compartmentId(Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - public Builder compartmentId(String compartmentId) { - return compartmentId(Output.of(compartmentId)); - } - - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - 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(GetFsuCollectionsFilterArgs... filters) { - return filters(List.of(filters)); - } - - public Builder state(@Nullable Output state) { - $.state = state; - return this; - } - - public Builder state(String state) { - return state(Output.of(state)); - } - - public Builder type(@Nullable Output type) { - $.type = type; - return this; - } - - public Builder type(String type) { - return type(Output.of(type)); - } - - public GetFsuCollectionsArgs build() { - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsArgs", "compartmentId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsPlainArgs.java deleted file mode 100644 index ca1f7d3e75..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCollectionsPlainArgs.java +++ /dev/null @@ -1,120 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCollectionsFilter; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetFsuCollectionsPlainArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetFsuCollectionsPlainArgs Empty = new GetFsuCollectionsPlainArgs(); - - @Import(name="compartmentId", required=true) - private String compartmentId; - - public String compartmentId() { - return this.compartmentId; - } - - @Import(name="displayName") - private @Nullable String displayName; - - public Optional displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="filters") - private @Nullable List filters; - - public Optional> filters() { - return Optional.ofNullable(this.filters); - } - - @Import(name="state") - private @Nullable String state; - - public Optional state() { - return Optional.ofNullable(this.state); - } - - @Import(name="type") - private @Nullable String type; - - public Optional type() { - return Optional.ofNullable(this.type); - } - - private GetFsuCollectionsPlainArgs() {} - - private GetFsuCollectionsPlainArgs(GetFsuCollectionsPlainArgs $) { - this.compartmentId = $.compartmentId; - this.displayName = $.displayName; - this.filters = $.filters; - this.state = $.state; - this.type = $.type; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetFsuCollectionsPlainArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetFsuCollectionsPlainArgs $; - - public Builder() { - $ = new GetFsuCollectionsPlainArgs(); - } - - public Builder(GetFsuCollectionsPlainArgs defaults) { - $ = new GetFsuCollectionsPlainArgs(Objects.requireNonNull(defaults)); - } - - public Builder compartmentId(String compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - public Builder displayName(@Nullable String displayName) { - $.displayName = displayName; - return this; - } - - public Builder filters(@Nullable List filters) { - $.filters = filters; - return this; - } - - public Builder filters(GetFsuCollectionsFilter... filters) { - return filters(List.of(filters)); - } - - public Builder state(@Nullable String state) { - $.state = state; - return this; - } - - public Builder type(@Nullable String type) { - $.type = type; - return this; - } - - public GetFsuCollectionsPlainArgs build() { - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsPlainArgs", "compartmentId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCycleArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCycleArgs.java deleted file mode 100644 index 2fd072d964..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCycleArgs.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class GetFsuCycleArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetFsuCycleArgs Empty = new GetFsuCycleArgs(); - - @Import(name="fsuCycleId", required=true) - private Output fsuCycleId; - - public Output fsuCycleId() { - return this.fsuCycleId; - } - - private GetFsuCycleArgs() {} - - private GetFsuCycleArgs(GetFsuCycleArgs $) { - this.fsuCycleId = $.fsuCycleId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetFsuCycleArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetFsuCycleArgs $; - - public Builder() { - $ = new GetFsuCycleArgs(); - } - - public Builder(GetFsuCycleArgs defaults) { - $ = new GetFsuCycleArgs(Objects.requireNonNull(defaults)); - } - - public Builder fsuCycleId(Output fsuCycleId) { - $.fsuCycleId = fsuCycleId; - return this; - } - - public Builder fsuCycleId(String fsuCycleId) { - return fsuCycleId(Output.of(fsuCycleId)); - } - - public GetFsuCycleArgs build() { - if ($.fsuCycleId == null) { - throw new MissingRequiredPropertyException("GetFsuCycleArgs", "fsuCycleId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclePlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclePlainArgs.java deleted file mode 100644 index 8dcb82ade7..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclePlainArgs.java +++ /dev/null @@ -1,60 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class GetFsuCyclePlainArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetFsuCyclePlainArgs Empty = new GetFsuCyclePlainArgs(); - - @Import(name="fsuCycleId", required=true) - private String fsuCycleId; - - public String fsuCycleId() { - return this.fsuCycleId; - } - - private GetFsuCyclePlainArgs() {} - - private GetFsuCyclePlainArgs(GetFsuCyclePlainArgs $) { - this.fsuCycleId = $.fsuCycleId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetFsuCyclePlainArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetFsuCyclePlainArgs $; - - public Builder() { - $ = new GetFsuCyclePlainArgs(); - } - - public Builder(GetFsuCyclePlainArgs defaults) { - $ = new GetFsuCyclePlainArgs(Objects.requireNonNull(defaults)); - } - - public Builder fsuCycleId(String fsuCycleId) { - $.fsuCycleId = fsuCycleId; - return this; - } - - public GetFsuCyclePlainArgs build() { - if ($.fsuCycleId == null) { - throw new MissingRequiredPropertyException("GetFsuCyclePlainArgs", "fsuCycleId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesArgs.java deleted file mode 100644 index 030ef001e6..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesArgs.java +++ /dev/null @@ -1,175 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCyclesFilterArgs; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetFsuCyclesArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetFsuCyclesArgs Empty = new GetFsuCyclesArgs(); - - @Import(name="collectionType") - private @Nullable Output collectionType; - - public Optional> collectionType() { - return Optional.ofNullable(this.collectionType); - } - - @Import(name="compartmentId", required=true) - private Output compartmentId; - - public Output compartmentId() { - return this.compartmentId; - } - - @Import(name="displayName") - private @Nullable Output displayName; - - public Optional> displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="filters") - private @Nullable Output> filters; - - public Optional>> filters() { - return Optional.ofNullable(this.filters); - } - - @Import(name="fsuCollectionId") - private @Nullable Output fsuCollectionId; - - public Optional> fsuCollectionId() { - return Optional.ofNullable(this.fsuCollectionId); - } - - @Import(name="state") - private @Nullable Output state; - - public Optional> state() { - return Optional.ofNullable(this.state); - } - - @Import(name="targetVersion") - private @Nullable Output targetVersion; - - public Optional> targetVersion() { - return Optional.ofNullable(this.targetVersion); - } - - private GetFsuCyclesArgs() {} - - private GetFsuCyclesArgs(GetFsuCyclesArgs $) { - this.collectionType = $.collectionType; - this.compartmentId = $.compartmentId; - this.displayName = $.displayName; - this.filters = $.filters; - this.fsuCollectionId = $.fsuCollectionId; - this.state = $.state; - this.targetVersion = $.targetVersion; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetFsuCyclesArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetFsuCyclesArgs $; - - public Builder() { - $ = new GetFsuCyclesArgs(); - } - - public Builder(GetFsuCyclesArgs defaults) { - $ = new GetFsuCyclesArgs(Objects.requireNonNull(defaults)); - } - - public Builder collectionType(@Nullable Output collectionType) { - $.collectionType = collectionType; - return this; - } - - public Builder collectionType(String collectionType) { - return collectionType(Output.of(collectionType)); - } - - public Builder compartmentId(Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - public Builder compartmentId(String compartmentId) { - return compartmentId(Output.of(compartmentId)); - } - - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - 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(GetFsuCyclesFilterArgs... filters) { - return filters(List.of(filters)); - } - - public Builder fsuCollectionId(@Nullable Output fsuCollectionId) { - $.fsuCollectionId = fsuCollectionId; - return this; - } - - public Builder fsuCollectionId(String fsuCollectionId) { - return fsuCollectionId(Output.of(fsuCollectionId)); - } - - public Builder state(@Nullable Output state) { - $.state = state; - return this; - } - - public Builder state(String state) { - return state(Output.of(state)); - } - - public Builder targetVersion(@Nullable Output targetVersion) { - $.targetVersion = targetVersion; - return this; - } - - public Builder targetVersion(String targetVersion) { - return targetVersion(Output.of(targetVersion)); - } - - public GetFsuCyclesArgs build() { - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesArgs", "compartmentId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesPlainArgs.java deleted file mode 100644 index cf80ee6499..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/inputs/GetFsuCyclesPlainArgs.java +++ /dev/null @@ -1,146 +0,0 @@ -// *** 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.FleetSoftwareUpdate.inputs; - -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.inputs.GetFsuCyclesFilter; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetFsuCyclesPlainArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetFsuCyclesPlainArgs Empty = new GetFsuCyclesPlainArgs(); - - @Import(name="collectionType") - private @Nullable String collectionType; - - public Optional collectionType() { - return Optional.ofNullable(this.collectionType); - } - - @Import(name="compartmentId", required=true) - private String compartmentId; - - public String compartmentId() { - return this.compartmentId; - } - - @Import(name="displayName") - private @Nullable String displayName; - - public Optional displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="filters") - private @Nullable List filters; - - public Optional> filters() { - return Optional.ofNullable(this.filters); - } - - @Import(name="fsuCollectionId") - private @Nullable String fsuCollectionId; - - public Optional fsuCollectionId() { - return Optional.ofNullable(this.fsuCollectionId); - } - - @Import(name="state") - private @Nullable String state; - - public Optional state() { - return Optional.ofNullable(this.state); - } - - @Import(name="targetVersion") - private @Nullable String targetVersion; - - public Optional targetVersion() { - return Optional.ofNullable(this.targetVersion); - } - - private GetFsuCyclesPlainArgs() {} - - private GetFsuCyclesPlainArgs(GetFsuCyclesPlainArgs $) { - this.collectionType = $.collectionType; - this.compartmentId = $.compartmentId; - this.displayName = $.displayName; - this.filters = $.filters; - this.fsuCollectionId = $.fsuCollectionId; - this.state = $.state; - this.targetVersion = $.targetVersion; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetFsuCyclesPlainArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetFsuCyclesPlainArgs $; - - public Builder() { - $ = new GetFsuCyclesPlainArgs(); - } - - public Builder(GetFsuCyclesPlainArgs defaults) { - $ = new GetFsuCyclesPlainArgs(Objects.requireNonNull(defaults)); - } - - public Builder collectionType(@Nullable String collectionType) { - $.collectionType = collectionType; - return this; - } - - public Builder compartmentId(String compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - public Builder displayName(@Nullable String displayName) { - $.displayName = displayName; - return this; - } - - public Builder filters(@Nullable List filters) { - $.filters = filters; - return this; - } - - public Builder filters(GetFsuCyclesFilter... filters) { - return filters(List.of(filters)); - } - - public Builder fsuCollectionId(@Nullable String fsuCollectionId) { - $.fsuCollectionId = fsuCollectionId; - return this; - } - - public Builder state(@Nullable String state) { - $.state = state; - return this; - } - - public Builder targetVersion(@Nullable String targetVersion) { - $.targetVersion = targetVersion; - return this; - } - - public GetFsuCyclesPlainArgs build() { - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesPlainArgs", "compartmentId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionActiveFsuCycle.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionActiveFsuCycle.java deleted file mode 100644 index 2d5e5c490a..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionActiveFsuCycle.java +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.FleetSoftwareUpdate.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 FsuCollectionActiveFsuCycle { - private @Nullable String displayName; - private @Nullable String id; - - private FsuCollectionActiveFsuCycle() {} - public Optional displayName() { - return Optional.ofNullable(this.displayName); - } - public Optional id() { - return Optional.ofNullable(this.id); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(FsuCollectionActiveFsuCycle defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String displayName; - private @Nullable String id; - public Builder() {} - public Builder(FsuCollectionActiveFsuCycle defaults) { - Objects.requireNonNull(defaults); - this.displayName = defaults.displayName; - this.id = defaults.id; - } - - @CustomType.Setter - public Builder displayName(@Nullable String displayName) { - - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder id(@Nullable String id) { - - this.id = id; - return this; - } - public FsuCollectionActiveFsuCycle build() { - final var _resultValue = new FsuCollectionActiveFsuCycle(); - _resultValue.displayName = displayName; - _resultValue.id = id; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionFleetDiscovery.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionFleetDiscovery.java deleted file mode 100644 index 7394535137..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionFleetDiscovery.java +++ /dev/null @@ -1,112 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.FsuCollectionFleetDiscoveryFilter; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class FsuCollectionFleetDiscovery { - private @Nullable List filters; - private @Nullable String fsuDiscoveryId; - private @Nullable String query; - private String strategy; - private @Nullable List targets; - - private FsuCollectionFleetDiscovery() {} - public List filters() { - return this.filters == null ? List.of() : this.filters; - } - public Optional fsuDiscoveryId() { - return Optional.ofNullable(this.fsuDiscoveryId); - } - public Optional query() { - return Optional.ofNullable(this.query); - } - public String strategy() { - return this.strategy; - } - public List targets() { - return this.targets == null ? List.of() : this.targets; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(FsuCollectionFleetDiscovery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable List filters; - private @Nullable String fsuDiscoveryId; - private @Nullable String query; - private String strategy; - private @Nullable List targets; - public Builder() {} - public Builder(FsuCollectionFleetDiscovery defaults) { - Objects.requireNonNull(defaults); - this.filters = defaults.filters; - this.fsuDiscoveryId = defaults.fsuDiscoveryId; - this.query = defaults.query; - this.strategy = defaults.strategy; - this.targets = defaults.targets; - } - - @CustomType.Setter - public Builder filters(@Nullable List filters) { - - this.filters = filters; - return this; - } - public Builder filters(FsuCollectionFleetDiscoveryFilter... filters) { - return filters(List.of(filters)); - } - @CustomType.Setter - public Builder fsuDiscoveryId(@Nullable String fsuDiscoveryId) { - - this.fsuDiscoveryId = fsuDiscoveryId; - return this; - } - @CustomType.Setter - public Builder query(@Nullable String query) { - - this.query = query; - return this; - } - @CustomType.Setter - public Builder strategy(String strategy) { - if (strategy == null) { - throw new MissingRequiredPropertyException("FsuCollectionFleetDiscovery", "strategy"); - } - this.strategy = strategy; - return this; - } - @CustomType.Setter - public Builder targets(@Nullable List targets) { - - this.targets = targets; - return this; - } - public Builder targets(String... targets) { - return targets(List.of(targets)); - } - public FsuCollectionFleetDiscovery build() { - final var _resultValue = new FsuCollectionFleetDiscovery(); - _resultValue.filters = filters; - _resultValue.fsuDiscoveryId = fsuDiscoveryId; - _resultValue.query = query; - _resultValue.strategy = strategy; - _resultValue.targets = targets; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionFleetDiscoveryFilter.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionFleetDiscoveryFilter.java deleted file mode 100644 index c12a47fcf9..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionFleetDiscoveryFilter.java +++ /dev/null @@ -1,157 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.FsuCollectionFleetDiscoveryFilterTag; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class FsuCollectionFleetDiscoveryFilter { - private @Nullable String entityType; - private @Nullable List identifiers; - private @Nullable String mode; - private @Nullable List names; - private @Nullable String operator; - private @Nullable List tags; - private String type; - private @Nullable List versions; - - private FsuCollectionFleetDiscoveryFilter() {} - public Optional entityType() { - return Optional.ofNullable(this.entityType); - } - public List identifiers() { - return this.identifiers == null ? List.of() : this.identifiers; - } - public Optional mode() { - return Optional.ofNullable(this.mode); - } - public List names() { - return this.names == null ? List.of() : this.names; - } - public Optional operator() { - return Optional.ofNullable(this.operator); - } - public List tags() { - return this.tags == null ? List.of() : this.tags; - } - public String type() { - return this.type; - } - public List versions() { - return this.versions == null ? List.of() : this.versions; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(FsuCollectionFleetDiscoveryFilter defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String entityType; - private @Nullable List identifiers; - private @Nullable String mode; - private @Nullable List names; - private @Nullable String operator; - private @Nullable List tags; - private String type; - private @Nullable List versions; - public Builder() {} - public Builder(FsuCollectionFleetDiscoveryFilter defaults) { - Objects.requireNonNull(defaults); - this.entityType = defaults.entityType; - this.identifiers = defaults.identifiers; - this.mode = defaults.mode; - this.names = defaults.names; - this.operator = defaults.operator; - this.tags = defaults.tags; - this.type = defaults.type; - this.versions = defaults.versions; - } - - @CustomType.Setter - public Builder entityType(@Nullable String entityType) { - - this.entityType = entityType; - return this; - } - @CustomType.Setter - public Builder identifiers(@Nullable List identifiers) { - - this.identifiers = identifiers; - return this; - } - public Builder identifiers(String... identifiers) { - return identifiers(List.of(identifiers)); - } - @CustomType.Setter - public Builder mode(@Nullable String mode) { - - this.mode = mode; - return this; - } - @CustomType.Setter - public Builder names(@Nullable List names) { - - this.names = names; - return this; - } - public Builder names(String... names) { - return names(List.of(names)); - } - @CustomType.Setter - public Builder operator(@Nullable String operator) { - - this.operator = operator; - return this; - } - @CustomType.Setter - public Builder tags(@Nullable List tags) { - - this.tags = tags; - return this; - } - public Builder tags(FsuCollectionFleetDiscoveryFilterTag... tags) { - return tags(List.of(tags)); - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("FsuCollectionFleetDiscoveryFilter", "type"); - } - this.type = type; - return this; - } - @CustomType.Setter - public Builder versions(@Nullable List versions) { - - this.versions = versions; - return this; - } - public Builder versions(String... versions) { - return versions(List.of(versions)); - } - public FsuCollectionFleetDiscoveryFilter build() { - final var _resultValue = new FsuCollectionFleetDiscoveryFilter(); - _resultValue.entityType = entityType; - _resultValue.identifiers = identifiers; - _resultValue.mode = mode; - _resultValue.names = names; - _resultValue.operator = operator; - _resultValue.tags = tags; - _resultValue.type = type; - _resultValue.versions = versions; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionFleetDiscoveryFilterTag.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionFleetDiscoveryFilterTag.java deleted file mode 100644 index 13b018b0fe..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCollectionFleetDiscoveryFilterTag.java +++ /dev/null @@ -1,80 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class FsuCollectionFleetDiscoveryFilterTag { - private String key; - private @Nullable String namespace; - private String value; - - private FsuCollectionFleetDiscoveryFilterTag() {} - public String key() { - return this.key; - } - public Optional namespace() { - return Optional.ofNullable(this.namespace); - } - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(FsuCollectionFleetDiscoveryFilterTag defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String key; - private @Nullable String namespace; - private String value; - public Builder() {} - public Builder(FsuCollectionFleetDiscoveryFilterTag defaults) { - Objects.requireNonNull(defaults); - this.key = defaults.key; - this.namespace = defaults.namespace; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder key(String key) { - if (key == null) { - throw new MissingRequiredPropertyException("FsuCollectionFleetDiscoveryFilterTag", "key"); - } - this.key = key; - return this; - } - @CustomType.Setter - public Builder namespace(@Nullable String namespace) { - - this.namespace = namespace; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("FsuCollectionFleetDiscoveryFilterTag", "value"); - } - this.value = value; - return this; - } - public FsuCollectionFleetDiscoveryFilterTag build() { - final var _resultValue = new FsuCollectionFleetDiscoveryFilterTag(); - _resultValue.key = key; - _resultValue.namespace = namespace; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleApplyActionSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleApplyActionSchedule.java deleted file mode 100644 index a30311ed6f..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleApplyActionSchedule.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class FsuCycleApplyActionSchedule { - private String timeToStart; - private String type; - - private FsuCycleApplyActionSchedule() {} - public String timeToStart() { - return this.timeToStart; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(FsuCycleApplyActionSchedule defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String timeToStart; - private String type; - public Builder() {} - public Builder(FsuCycleApplyActionSchedule defaults) { - Objects.requireNonNull(defaults); - this.timeToStart = defaults.timeToStart; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder timeToStart(String timeToStart) { - if (timeToStart == null) { - throw new MissingRequiredPropertyException("FsuCycleApplyActionSchedule", "timeToStart"); - } - this.timeToStart = timeToStart; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("FsuCycleApplyActionSchedule", "type"); - } - this.type = type; - return this; - } - public FsuCycleApplyActionSchedule build() { - final var _resultValue = new FsuCycleApplyActionSchedule(); - _resultValue.timeToStart = timeToStart; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleBatchingStrategy.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleBatchingStrategy.java deleted file mode 100644 index c03e260635..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleBatchingStrategy.java +++ /dev/null @@ -1,90 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.lang.Boolean; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class FsuCycleBatchingStrategy { - private @Nullable Boolean isForceRolling; - private @Nullable Boolean isWaitForBatchResume; - private @Nullable Integer percentage; - private @Nullable String type; - - private FsuCycleBatchingStrategy() {} - public Optional isForceRolling() { - return Optional.ofNullable(this.isForceRolling); - } - public Optional isWaitForBatchResume() { - return Optional.ofNullable(this.isWaitForBatchResume); - } - public Optional percentage() { - return Optional.ofNullable(this.percentage); - } - public Optional type() { - return Optional.ofNullable(this.type); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(FsuCycleBatchingStrategy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable Boolean isForceRolling; - private @Nullable Boolean isWaitForBatchResume; - private @Nullable Integer percentage; - private @Nullable String type; - public Builder() {} - public Builder(FsuCycleBatchingStrategy defaults) { - Objects.requireNonNull(defaults); - this.isForceRolling = defaults.isForceRolling; - this.isWaitForBatchResume = defaults.isWaitForBatchResume; - this.percentage = defaults.percentage; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder isForceRolling(@Nullable Boolean isForceRolling) { - - this.isForceRolling = isForceRolling; - return this; - } - @CustomType.Setter - public Builder isWaitForBatchResume(@Nullable Boolean isWaitForBatchResume) { - - this.isWaitForBatchResume = isWaitForBatchResume; - return this; - } - @CustomType.Setter - public Builder percentage(@Nullable Integer percentage) { - - this.percentage = percentage; - return this; - } - @CustomType.Setter - public Builder type(@Nullable String type) { - - this.type = type; - return this; - } - public FsuCycleBatchingStrategy build() { - final var _resultValue = new FsuCycleBatchingStrategy(); - _resultValue.isForceRolling = isForceRolling; - _resultValue.isWaitForBatchResume = isWaitForBatchResume; - _resultValue.percentage = percentage; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleDiagnosticsCollection.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleDiagnosticsCollection.java deleted file mode 100644 index 515b7be7ad..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleDiagnosticsCollection.java +++ /dev/null @@ -1,49 +0,0 @@ -// *** 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.FleetSoftwareUpdate.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 FsuCycleDiagnosticsCollection { - private @Nullable String logCollectionMode; - - private FsuCycleDiagnosticsCollection() {} - public Optional logCollectionMode() { - return Optional.ofNullable(this.logCollectionMode); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(FsuCycleDiagnosticsCollection defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String logCollectionMode; - public Builder() {} - public Builder(FsuCycleDiagnosticsCollection defaults) { - Objects.requireNonNull(defaults); - this.logCollectionMode = defaults.logCollectionMode; - } - - @CustomType.Setter - public Builder logCollectionMode(@Nullable String logCollectionMode) { - - this.logCollectionMode = logCollectionMode; - return this; - } - public FsuCycleDiagnosticsCollection build() { - final var _resultValue = new FsuCycleDiagnosticsCollection(); - _resultValue.logCollectionMode = logCollectionMode; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleGoalVersionDetails.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleGoalVersionDetails.java deleted file mode 100644 index 0364b9cd3e..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleGoalVersionDetails.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class FsuCycleGoalVersionDetails { - private @Nullable String homePolicy; - private @Nullable String newHomePrefix; - private @Nullable String softwareImageId; - private String type; - private @Nullable String version; - - private FsuCycleGoalVersionDetails() {} - public Optional homePolicy() { - return Optional.ofNullable(this.homePolicy); - } - public Optional newHomePrefix() { - return Optional.ofNullable(this.newHomePrefix); - } - public Optional softwareImageId() { - return Optional.ofNullable(this.softwareImageId); - } - public String type() { - return this.type; - } - public Optional version() { - return Optional.ofNullable(this.version); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(FsuCycleGoalVersionDetails defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String homePolicy; - private @Nullable String newHomePrefix; - private @Nullable String softwareImageId; - private String type; - private @Nullable String version; - public Builder() {} - public Builder(FsuCycleGoalVersionDetails defaults) { - Objects.requireNonNull(defaults); - this.homePolicy = defaults.homePolicy; - this.newHomePrefix = defaults.newHomePrefix; - this.softwareImageId = defaults.softwareImageId; - this.type = defaults.type; - this.version = defaults.version; - } - - @CustomType.Setter - public Builder homePolicy(@Nullable String homePolicy) { - - this.homePolicy = homePolicy; - return this; - } - @CustomType.Setter - public Builder newHomePrefix(@Nullable String newHomePrefix) { - - this.newHomePrefix = newHomePrefix; - return this; - } - @CustomType.Setter - public Builder softwareImageId(@Nullable String softwareImageId) { - - this.softwareImageId = softwareImageId; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("FsuCycleGoalVersionDetails", "type"); - } - this.type = type; - return this; - } - @CustomType.Setter - public Builder version(@Nullable String version) { - - this.version = version; - return this; - } - public FsuCycleGoalVersionDetails build() { - final var _resultValue = new FsuCycleGoalVersionDetails(); - _resultValue.homePolicy = homePolicy; - _resultValue.newHomePrefix = newHomePrefix; - _resultValue.softwareImageId = softwareImageId; - _resultValue.type = type; - _resultValue.version = version; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleNextActionToExecute.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleNextActionToExecute.java deleted file mode 100644 index d27d0e379e..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleNextActionToExecute.java +++ /dev/null @@ -1,62 +0,0 @@ -// *** 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.FleetSoftwareUpdate.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 FsuCycleNextActionToExecute { - private @Nullable String timeToStart; - private @Nullable String type; - - private FsuCycleNextActionToExecute() {} - public Optional timeToStart() { - return Optional.ofNullable(this.timeToStart); - } - public Optional type() { - return Optional.ofNullable(this.type); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(FsuCycleNextActionToExecute defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String timeToStart; - private @Nullable String type; - public Builder() {} - public Builder(FsuCycleNextActionToExecute defaults) { - Objects.requireNonNull(defaults); - this.timeToStart = defaults.timeToStart; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder timeToStart(@Nullable String timeToStart) { - - this.timeToStart = timeToStart; - return this; - } - @CustomType.Setter - public Builder type(@Nullable String type) { - - this.type = type; - return this; - } - public FsuCycleNextActionToExecute build() { - final var _resultValue = new FsuCycleNextActionToExecute(); - _resultValue.timeToStart = timeToStart; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleStageActionSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleStageActionSchedule.java deleted file mode 100644 index 8cc620bf4a..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/FsuCycleStageActionSchedule.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class FsuCycleStageActionSchedule { - private String timeToStart; - private String type; - - private FsuCycleStageActionSchedule() {} - public String timeToStart() { - return this.timeToStart; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(FsuCycleStageActionSchedule defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String timeToStart; - private String type; - public Builder() {} - public Builder(FsuCycleStageActionSchedule defaults) { - Objects.requireNonNull(defaults); - this.timeToStart = defaults.timeToStart; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder timeToStart(String timeToStart) { - if (timeToStart == null) { - throw new MissingRequiredPropertyException("FsuCycleStageActionSchedule", "timeToStart"); - } - this.timeToStart = timeToStart; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("FsuCycleStageActionSchedule", "type"); - } - this.type = type; - return this; - } - public FsuCycleStageActionSchedule build() { - final var _resultValue = new FsuCycleStageActionSchedule(); - _resultValue.timeToStart = timeToStart; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionActiveFsuCycle.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionActiveFsuCycle.java deleted file mode 100644 index f75f08f5b8..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionActiveFsuCycle.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionActiveFsuCycle { - private String displayName; - private String id; - - private GetFsuCollectionActiveFsuCycle() {} - public String displayName() { - return this.displayName; - } - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionActiveFsuCycle defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String displayName; - private String id; - public Builder() {} - public Builder(GetFsuCollectionActiveFsuCycle defaults) { - Objects.requireNonNull(defaults); - this.displayName = defaults.displayName; - this.id = defaults.id; - } - - @CustomType.Setter - public Builder displayName(String displayName) { - if (displayName == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionActiveFsuCycle", "displayName"); - } - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionActiveFsuCycle", "id"); - } - this.id = id; - return this; - } - public GetFsuCollectionActiveFsuCycle build() { - final var _resultValue = new GetFsuCollectionActiveFsuCycle(); - _resultValue.displayName = displayName; - _resultValue.id = id; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionFleetDiscovery.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionFleetDiscovery.java deleted file mode 100644 index 8155286a08..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionFleetDiscovery.java +++ /dev/null @@ -1,118 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionFleetDiscoveryFilter; -import java.lang.String; -import java.util.List; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionFleetDiscovery { - private List filters; - private String fsuDiscoveryId; - private String query; - private String strategy; - private List targets; - - private GetFsuCollectionFleetDiscovery() {} - public List filters() { - return this.filters; - } - public String fsuDiscoveryId() { - return this.fsuDiscoveryId; - } - public String query() { - return this.query; - } - public String strategy() { - return this.strategy; - } - public List targets() { - return this.targets; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionFleetDiscovery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List filters; - private String fsuDiscoveryId; - private String query; - private String strategy; - private List targets; - public Builder() {} - public Builder(GetFsuCollectionFleetDiscovery defaults) { - Objects.requireNonNull(defaults); - this.filters = defaults.filters; - this.fsuDiscoveryId = defaults.fsuDiscoveryId; - this.query = defaults.query; - this.strategy = defaults.strategy; - this.targets = defaults.targets; - } - - @CustomType.Setter - public Builder filters(List filters) { - if (filters == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscovery", "filters"); - } - this.filters = filters; - return this; - } - public Builder filters(GetFsuCollectionFleetDiscoveryFilter... filters) { - return filters(List.of(filters)); - } - @CustomType.Setter - public Builder fsuDiscoveryId(String fsuDiscoveryId) { - if (fsuDiscoveryId == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscovery", "fsuDiscoveryId"); - } - this.fsuDiscoveryId = fsuDiscoveryId; - return this; - } - @CustomType.Setter - public Builder query(String query) { - if (query == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscovery", "query"); - } - this.query = query; - return this; - } - @CustomType.Setter - public Builder strategy(String strategy) { - if (strategy == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscovery", "strategy"); - } - this.strategy = strategy; - return this; - } - @CustomType.Setter - public Builder targets(List targets) { - if (targets == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscovery", "targets"); - } - this.targets = targets; - return this; - } - public Builder targets(String... targets) { - return targets(List.of(targets)); - } - public GetFsuCollectionFleetDiscovery build() { - final var _resultValue = new GetFsuCollectionFleetDiscovery(); - _resultValue.filters = filters; - _resultValue.fsuDiscoveryId = fsuDiscoveryId; - _resultValue.query = query; - _resultValue.strategy = strategy; - _resultValue.targets = targets; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionFleetDiscoveryFilter.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionFleetDiscoveryFilter.java deleted file mode 100644 index 3ebcf07927..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionFleetDiscoveryFilter.java +++ /dev/null @@ -1,169 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionFleetDiscoveryFilterTag; -import java.lang.String; -import java.util.List; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionFleetDiscoveryFilter { - private String entityType; - private List identifiers; - private String mode; - private List names; - private String operator; - private List tags; - private String type; - private List versions; - - private GetFsuCollectionFleetDiscoveryFilter() {} - public String entityType() { - return this.entityType; - } - public List identifiers() { - return this.identifiers; - } - public String mode() { - return this.mode; - } - public List names() { - return this.names; - } - public String operator() { - return this.operator; - } - public List tags() { - return this.tags; - } - public String type() { - return this.type; - } - public List versions() { - return this.versions; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionFleetDiscoveryFilter defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String entityType; - private List identifiers; - private String mode; - private List names; - private String operator; - private List tags; - private String type; - private List versions; - public Builder() {} - public Builder(GetFsuCollectionFleetDiscoveryFilter defaults) { - Objects.requireNonNull(defaults); - this.entityType = defaults.entityType; - this.identifiers = defaults.identifiers; - this.mode = defaults.mode; - this.names = defaults.names; - this.operator = defaults.operator; - this.tags = defaults.tags; - this.type = defaults.type; - this.versions = defaults.versions; - } - - @CustomType.Setter - public Builder entityType(String entityType) { - if (entityType == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilter", "entityType"); - } - this.entityType = entityType; - return this; - } - @CustomType.Setter - public Builder identifiers(List identifiers) { - if (identifiers == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilter", "identifiers"); - } - this.identifiers = identifiers; - return this; - } - public Builder identifiers(String... identifiers) { - return identifiers(List.of(identifiers)); - } - @CustomType.Setter - public Builder mode(String mode) { - if (mode == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilter", "mode"); - } - this.mode = mode; - return this; - } - @CustomType.Setter - public Builder names(List names) { - if (names == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilter", "names"); - } - this.names = names; - return this; - } - public Builder names(String... names) { - return names(List.of(names)); - } - @CustomType.Setter - public Builder operator(String operator) { - if (operator == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilter", "operator"); - } - this.operator = operator; - return this; - } - @CustomType.Setter - public Builder tags(List tags) { - if (tags == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilter", "tags"); - } - this.tags = tags; - return this; - } - public Builder tags(GetFsuCollectionFleetDiscoveryFilterTag... tags) { - return tags(List.of(tags)); - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilter", "type"); - } - this.type = type; - return this; - } - @CustomType.Setter - public Builder versions(List versions) { - if (versions == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilter", "versions"); - } - this.versions = versions; - return this; - } - public Builder versions(String... versions) { - return versions(List.of(versions)); - } - public GetFsuCollectionFleetDiscoveryFilter build() { - final var _resultValue = new GetFsuCollectionFleetDiscoveryFilter(); - _resultValue.entityType = entityType; - _resultValue.identifiers = identifiers; - _resultValue.mode = mode; - _resultValue.names = names; - _resultValue.operator = operator; - _resultValue.tags = tags; - _resultValue.type = type; - _resultValue.versions = versions; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionFleetDiscoveryFilterTag.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionFleetDiscoveryFilterTag.java deleted file mode 100644 index 01afc33127..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionFleetDiscoveryFilterTag.java +++ /dev/null @@ -1,80 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionFleetDiscoveryFilterTag { - private String key; - private String namespace; - private String value; - - private GetFsuCollectionFleetDiscoveryFilterTag() {} - public String key() { - return this.key; - } - public String namespace() { - return this.namespace; - } - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionFleetDiscoveryFilterTag defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String key; - private String namespace; - private String value; - public Builder() {} - public Builder(GetFsuCollectionFleetDiscoveryFilterTag defaults) { - Objects.requireNonNull(defaults); - this.key = defaults.key; - this.namespace = defaults.namespace; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder key(String key) { - if (key == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilterTag", "key"); - } - this.key = key; - return this; - } - @CustomType.Setter - public Builder namespace(String namespace) { - if (namespace == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilterTag", "namespace"); - } - this.namespace = namespace; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionFleetDiscoveryFilterTag", "value"); - } - this.value = value; - return this; - } - public GetFsuCollectionFleetDiscoveryFilterTag build() { - final var _resultValue = new GetFsuCollectionFleetDiscoveryFilterTag(); - _resultValue.key = key; - _resultValue.namespace = namespace; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionResult.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionResult.java deleted file mode 100644 index 449658f081..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionResult.java +++ /dev/null @@ -1,301 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionActiveFsuCycle; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionFleetDiscovery; -import java.lang.Integer; -import java.lang.String; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionResult { - private List activeFsuCycles; - private String compartmentId; - private Map definedTags; - private String displayName; - private List fleetDiscoveries; - private Map freeformTags; - private String fsuCollectionId; - private String id; - private String lifecycleDetails; - private String serviceType; - private String sourceMajorVersion; - private String state; - private Map systemTags; - private Integer targetCount; - private String timeCreated; - private String timeUpdated; - private String type; - - private GetFsuCollectionResult() {} - public List activeFsuCycles() { - return this.activeFsuCycles; - } - public String compartmentId() { - return this.compartmentId; - } - public Map definedTags() { - return this.definedTags; - } - public String displayName() { - return this.displayName; - } - public List fleetDiscoveries() { - return this.fleetDiscoveries; - } - public Map freeformTags() { - return this.freeformTags; - } - public String fsuCollectionId() { - return this.fsuCollectionId; - } - public String id() { - return this.id; - } - public String lifecycleDetails() { - return this.lifecycleDetails; - } - public String serviceType() { - return this.serviceType; - } - public String sourceMajorVersion() { - return this.sourceMajorVersion; - } - public String state() { - return this.state; - } - public Map systemTags() { - return this.systemTags; - } - public Integer targetCount() { - return this.targetCount; - } - public String timeCreated() { - return this.timeCreated; - } - public String timeUpdated() { - return this.timeUpdated; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionResult defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List activeFsuCycles; - private String compartmentId; - private Map definedTags; - private String displayName; - private List fleetDiscoveries; - private Map freeformTags; - private String fsuCollectionId; - private String id; - private String lifecycleDetails; - private String serviceType; - private String sourceMajorVersion; - private String state; - private Map systemTags; - private Integer targetCount; - private String timeCreated; - private String timeUpdated; - private String type; - public Builder() {} - public Builder(GetFsuCollectionResult defaults) { - Objects.requireNonNull(defaults); - this.activeFsuCycles = defaults.activeFsuCycles; - this.compartmentId = defaults.compartmentId; - this.definedTags = defaults.definedTags; - this.displayName = defaults.displayName; - this.fleetDiscoveries = defaults.fleetDiscoveries; - this.freeformTags = defaults.freeformTags; - this.fsuCollectionId = defaults.fsuCollectionId; - this.id = defaults.id; - this.lifecycleDetails = defaults.lifecycleDetails; - this.serviceType = defaults.serviceType; - this.sourceMajorVersion = defaults.sourceMajorVersion; - this.state = defaults.state; - this.systemTags = defaults.systemTags; - this.targetCount = defaults.targetCount; - this.timeCreated = defaults.timeCreated; - this.timeUpdated = defaults.timeUpdated; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder activeFsuCycles(List activeFsuCycles) { - if (activeFsuCycles == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "activeFsuCycles"); - } - this.activeFsuCycles = activeFsuCycles; - return this; - } - public Builder activeFsuCycles(GetFsuCollectionActiveFsuCycle... activeFsuCycles) { - return activeFsuCycles(List.of(activeFsuCycles)); - } - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "compartmentId"); - } - this.compartmentId = compartmentId; - return this; - } - @CustomType.Setter - public Builder definedTags(Map definedTags) { - if (definedTags == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "definedTags"); - } - this.definedTags = definedTags; - return this; - } - @CustomType.Setter - public Builder displayName(String displayName) { - if (displayName == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "displayName"); - } - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder fleetDiscoveries(List fleetDiscoveries) { - if (fleetDiscoveries == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "fleetDiscoveries"); - } - this.fleetDiscoveries = fleetDiscoveries; - return this; - } - public Builder fleetDiscoveries(GetFsuCollectionFleetDiscovery... fleetDiscoveries) { - return fleetDiscoveries(List.of(fleetDiscoveries)); - } - @CustomType.Setter - public Builder freeformTags(Map freeformTags) { - if (freeformTags == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "freeformTags"); - } - this.freeformTags = freeformTags; - return this; - } - @CustomType.Setter - public Builder fsuCollectionId(String fsuCollectionId) { - if (fsuCollectionId == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "fsuCollectionId"); - } - this.fsuCollectionId = fsuCollectionId; - return this; - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder lifecycleDetails(String lifecycleDetails) { - if (lifecycleDetails == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "lifecycleDetails"); - } - this.lifecycleDetails = lifecycleDetails; - return this; - } - @CustomType.Setter - public Builder serviceType(String serviceType) { - if (serviceType == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "serviceType"); - } - this.serviceType = serviceType; - return this; - } - @CustomType.Setter - public Builder sourceMajorVersion(String sourceMajorVersion) { - if (sourceMajorVersion == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "sourceMajorVersion"); - } - this.sourceMajorVersion = sourceMajorVersion; - return this; - } - @CustomType.Setter - public Builder state(String state) { - if (state == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "state"); - } - this.state = state; - return this; - } - @CustomType.Setter - public Builder systemTags(Map systemTags) { - if (systemTags == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "systemTags"); - } - this.systemTags = systemTags; - return this; - } - @CustomType.Setter - public Builder targetCount(Integer targetCount) { - if (targetCount == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "targetCount"); - } - this.targetCount = targetCount; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionResult", "type"); - } - this.type = type; - return this; - } - public GetFsuCollectionResult build() { - final var _resultValue = new GetFsuCollectionResult(); - _resultValue.activeFsuCycles = activeFsuCycles; - _resultValue.compartmentId = compartmentId; - _resultValue.definedTags = definedTags; - _resultValue.displayName = displayName; - _resultValue.fleetDiscoveries = fleetDiscoveries; - _resultValue.freeformTags = freeformTags; - _resultValue.fsuCollectionId = fsuCollectionId; - _resultValue.id = id; - _resultValue.lifecycleDetails = lifecycleDetails; - _resultValue.serviceType = serviceType; - _resultValue.sourceMajorVersion = sourceMajorVersion; - _resultValue.state = state; - _resultValue.systemTags = systemTags; - _resultValue.targetCount = targetCount; - _resultValue.timeCreated = timeCreated; - _resultValue.timeUpdated = timeUpdated; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollection.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollection.java deleted file mode 100644 index 486cad97bb..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollection.java +++ /dev/null @@ -1,54 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItem; -import java.util.List; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionsFsuCollectionSummaryCollection { - private List items; - - private GetFsuCollectionsFsuCollectionSummaryCollection() {} - public List items() { - return this.items; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionsFsuCollectionSummaryCollection defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List items; - public Builder() {} - public Builder(GetFsuCollectionsFsuCollectionSummaryCollection defaults) { - Objects.requireNonNull(defaults); - this.items = defaults.items; - } - - @CustomType.Setter - public Builder items(List items) { - if (items == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollection", "items"); - } - this.items = items; - return this; - } - public Builder items(GetFsuCollectionsFsuCollectionSummaryCollectionItem... items) { - return items(List.of(items)); - } - public GetFsuCollectionsFsuCollectionSummaryCollection build() { - final var _resultValue = new GetFsuCollectionsFsuCollectionSummaryCollection(); - _resultValue.items = items; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItem.java deleted file mode 100644 index e27f036b51..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItem.java +++ /dev/null @@ -1,286 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery; -import java.lang.Integer; -import java.lang.String; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionsFsuCollectionSummaryCollectionItem { - private List activeFsuCycles; - private String compartmentId; - private Map definedTags; - private String displayName; - private List fleetDiscoveries; - private Map freeformTags; - private String id; - private String lifecycleDetails; - private String serviceType; - private String sourceMajorVersion; - private String state; - private Map systemTags; - private Integer targetCount; - private String timeCreated; - private String timeUpdated; - private String type; - - private GetFsuCollectionsFsuCollectionSummaryCollectionItem() {} - public List activeFsuCycles() { - return this.activeFsuCycles; - } - public String compartmentId() { - return this.compartmentId; - } - public Map definedTags() { - return this.definedTags; - } - public String displayName() { - return this.displayName; - } - public List fleetDiscoveries() { - return this.fleetDiscoveries; - } - public Map freeformTags() { - return this.freeformTags; - } - public String id() { - return this.id; - } - public String lifecycleDetails() { - return this.lifecycleDetails; - } - public String serviceType() { - return this.serviceType; - } - public String sourceMajorVersion() { - return this.sourceMajorVersion; - } - public String state() { - return this.state; - } - public Map systemTags() { - return this.systemTags; - } - public Integer targetCount() { - return this.targetCount; - } - public String timeCreated() { - return this.timeCreated; - } - public String timeUpdated() { - return this.timeUpdated; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionsFsuCollectionSummaryCollectionItem defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List activeFsuCycles; - private String compartmentId; - private Map definedTags; - private String displayName; - private List fleetDiscoveries; - private Map freeformTags; - private String id; - private String lifecycleDetails; - private String serviceType; - private String sourceMajorVersion; - private String state; - private Map systemTags; - private Integer targetCount; - private String timeCreated; - private String timeUpdated; - private String type; - public Builder() {} - public Builder(GetFsuCollectionsFsuCollectionSummaryCollectionItem defaults) { - Objects.requireNonNull(defaults); - this.activeFsuCycles = defaults.activeFsuCycles; - this.compartmentId = defaults.compartmentId; - this.definedTags = defaults.definedTags; - this.displayName = defaults.displayName; - this.fleetDiscoveries = defaults.fleetDiscoveries; - this.freeformTags = defaults.freeformTags; - this.id = defaults.id; - this.lifecycleDetails = defaults.lifecycleDetails; - this.serviceType = defaults.serviceType; - this.sourceMajorVersion = defaults.sourceMajorVersion; - this.state = defaults.state; - this.systemTags = defaults.systemTags; - this.targetCount = defaults.targetCount; - this.timeCreated = defaults.timeCreated; - this.timeUpdated = defaults.timeUpdated; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder activeFsuCycles(List activeFsuCycles) { - if (activeFsuCycles == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "activeFsuCycles"); - } - this.activeFsuCycles = activeFsuCycles; - return this; - } - public Builder activeFsuCycles(GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle... activeFsuCycles) { - return activeFsuCycles(List.of(activeFsuCycles)); - } - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "compartmentId"); - } - this.compartmentId = compartmentId; - return this; - } - @CustomType.Setter - public Builder definedTags(Map definedTags) { - if (definedTags == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "definedTags"); - } - this.definedTags = definedTags; - return this; - } - @CustomType.Setter - public Builder displayName(String displayName) { - if (displayName == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "displayName"); - } - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder fleetDiscoveries(List fleetDiscoveries) { - if (fleetDiscoveries == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "fleetDiscoveries"); - } - this.fleetDiscoveries = fleetDiscoveries; - return this; - } - public Builder fleetDiscoveries(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery... fleetDiscoveries) { - return fleetDiscoveries(List.of(fleetDiscoveries)); - } - @CustomType.Setter - public Builder freeformTags(Map freeformTags) { - if (freeformTags == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "freeformTags"); - } - this.freeformTags = freeformTags; - return this; - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder lifecycleDetails(String lifecycleDetails) { - if (lifecycleDetails == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "lifecycleDetails"); - } - this.lifecycleDetails = lifecycleDetails; - return this; - } - @CustomType.Setter - public Builder serviceType(String serviceType) { - if (serviceType == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "serviceType"); - } - this.serviceType = serviceType; - return this; - } - @CustomType.Setter - public Builder sourceMajorVersion(String sourceMajorVersion) { - if (sourceMajorVersion == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "sourceMajorVersion"); - } - this.sourceMajorVersion = sourceMajorVersion; - return this; - } - @CustomType.Setter - public Builder state(String state) { - if (state == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "state"); - } - this.state = state; - return this; - } - @CustomType.Setter - public Builder systemTags(Map systemTags) { - if (systemTags == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "systemTags"); - } - this.systemTags = systemTags; - return this; - } - @CustomType.Setter - public Builder targetCount(Integer targetCount) { - if (targetCount == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "targetCount"); - } - this.targetCount = targetCount; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItem", "type"); - } - this.type = type; - return this; - } - public GetFsuCollectionsFsuCollectionSummaryCollectionItem build() { - final var _resultValue = new GetFsuCollectionsFsuCollectionSummaryCollectionItem(); - _resultValue.activeFsuCycles = activeFsuCycles; - _resultValue.compartmentId = compartmentId; - _resultValue.definedTags = definedTags; - _resultValue.displayName = displayName; - _resultValue.fleetDiscoveries = fleetDiscoveries; - _resultValue.freeformTags = freeformTags; - _resultValue.id = id; - _resultValue.lifecycleDetails = lifecycleDetails; - _resultValue.serviceType = serviceType; - _resultValue.sourceMajorVersion = sourceMajorVersion; - _resultValue.state = state; - _resultValue.systemTags = systemTags; - _resultValue.targetCount = targetCount; - _resultValue.timeCreated = timeCreated; - _resultValue.timeUpdated = timeUpdated; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle.java deleted file mode 100644 index 3321902dda..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle { - private String displayName; - private String id; - - private GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle() {} - public String displayName() { - return this.displayName; - } - public String id() { - return this.id; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String displayName; - private String id; - public Builder() {} - public Builder(GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle defaults) { - Objects.requireNonNull(defaults); - this.displayName = defaults.displayName; - this.id = defaults.id; - } - - @CustomType.Setter - public Builder displayName(String displayName) { - if (displayName == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle", "displayName"); - } - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle", "id"); - } - this.id = id; - return this; - } - public GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle build() { - final var _resultValue = new GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle(); - _resultValue.displayName = displayName; - _resultValue.id = id; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery.java deleted file mode 100644 index 68668a8d50..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery.java +++ /dev/null @@ -1,118 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter; -import java.lang.String; -import java.util.List; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery { - private List filters; - private String fsuDiscoveryId; - private String query; - private String strategy; - private List targets; - - private GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery() {} - public List filters() { - return this.filters; - } - public String fsuDiscoveryId() { - return this.fsuDiscoveryId; - } - public String query() { - return this.query; - } - public String strategy() { - return this.strategy; - } - public List targets() { - return this.targets; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List filters; - private String fsuDiscoveryId; - private String query; - private String strategy; - private List targets; - public Builder() {} - public Builder(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery defaults) { - Objects.requireNonNull(defaults); - this.filters = defaults.filters; - this.fsuDiscoveryId = defaults.fsuDiscoveryId; - this.query = defaults.query; - this.strategy = defaults.strategy; - this.targets = defaults.targets; - } - - @CustomType.Setter - public Builder filters(List filters) { - if (filters == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery", "filters"); - } - this.filters = filters; - return this; - } - public Builder filters(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter... filters) { - return filters(List.of(filters)); - } - @CustomType.Setter - public Builder fsuDiscoveryId(String fsuDiscoveryId) { - if (fsuDiscoveryId == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery", "fsuDiscoveryId"); - } - this.fsuDiscoveryId = fsuDiscoveryId; - return this; - } - @CustomType.Setter - public Builder query(String query) { - if (query == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery", "query"); - } - this.query = query; - return this; - } - @CustomType.Setter - public Builder strategy(String strategy) { - if (strategy == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery", "strategy"); - } - this.strategy = strategy; - return this; - } - @CustomType.Setter - public Builder targets(List targets) { - if (targets == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery", "targets"); - } - this.targets = targets; - return this; - } - public Builder targets(String... targets) { - return targets(List.of(targets)); - } - public GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery build() { - final var _resultValue = new GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery(); - _resultValue.filters = filters; - _resultValue.fsuDiscoveryId = fsuDiscoveryId; - _resultValue.query = query; - _resultValue.strategy = strategy; - _resultValue.targets = targets; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter.java deleted file mode 100644 index 2408fa0a59..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter.java +++ /dev/null @@ -1,169 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag; -import java.lang.String; -import java.util.List; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter { - private String entityType; - private List identifiers; - private String mode; - private List names; - private String operator; - private List tags; - private String type; - private List versions; - - private GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter() {} - public String entityType() { - return this.entityType; - } - public List identifiers() { - return this.identifiers; - } - public String mode() { - return this.mode; - } - public List names() { - return this.names; - } - public String operator() { - return this.operator; - } - public List tags() { - return this.tags; - } - public String type() { - return this.type; - } - public List versions() { - return this.versions; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String entityType; - private List identifiers; - private String mode; - private List names; - private String operator; - private List tags; - private String type; - private List versions; - public Builder() {} - public Builder(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter defaults) { - Objects.requireNonNull(defaults); - this.entityType = defaults.entityType; - this.identifiers = defaults.identifiers; - this.mode = defaults.mode; - this.names = defaults.names; - this.operator = defaults.operator; - this.tags = defaults.tags; - this.type = defaults.type; - this.versions = defaults.versions; - } - - @CustomType.Setter - public Builder entityType(String entityType) { - if (entityType == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter", "entityType"); - } - this.entityType = entityType; - return this; - } - @CustomType.Setter - public Builder identifiers(List identifiers) { - if (identifiers == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter", "identifiers"); - } - this.identifiers = identifiers; - return this; - } - public Builder identifiers(String... identifiers) { - return identifiers(List.of(identifiers)); - } - @CustomType.Setter - public Builder mode(String mode) { - if (mode == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter", "mode"); - } - this.mode = mode; - return this; - } - @CustomType.Setter - public Builder names(List names) { - if (names == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter", "names"); - } - this.names = names; - return this; - } - public Builder names(String... names) { - return names(List.of(names)); - } - @CustomType.Setter - public Builder operator(String operator) { - if (operator == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter", "operator"); - } - this.operator = operator; - return this; - } - @CustomType.Setter - public Builder tags(List tags) { - if (tags == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter", "tags"); - } - this.tags = tags; - return this; - } - public Builder tags(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag... tags) { - return tags(List.of(tags)); - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter", "type"); - } - this.type = type; - return this; - } - @CustomType.Setter - public Builder versions(List versions) { - if (versions == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter", "versions"); - } - this.versions = versions; - return this; - } - public Builder versions(String... versions) { - return versions(List.of(versions)); - } - public GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter build() { - final var _resultValue = new GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter(); - _resultValue.entityType = entityType; - _resultValue.identifiers = identifiers; - _resultValue.mode = mode; - _resultValue.names = names; - _resultValue.operator = operator; - _resultValue.tags = tags; - _resultValue.type = type; - _resultValue.versions = versions; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag.java deleted file mode 100644 index 3548592bdc..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag.java +++ /dev/null @@ -1,80 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag { - private String key; - private String namespace; - private String value; - - private GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag() {} - public String key() { - return this.key; - } - public String namespace() { - return this.namespace; - } - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String key; - private String namespace; - private String value; - public Builder() {} - public Builder(GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag defaults) { - Objects.requireNonNull(defaults); - this.key = defaults.key; - this.namespace = defaults.namespace; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder key(String key) { - if (key == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag", "key"); - } - this.key = key; - return this; - } - @CustomType.Setter - public Builder namespace(String namespace) { - if (namespace == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag", "namespace"); - } - this.namespace = namespace; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag", "value"); - } - this.value = value; - return this; - } - public GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag build() { - final var _resultValue = new GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag(); - _resultValue.key = key; - _resultValue.namespace = namespace; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsResult.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsResult.java deleted file mode 100644 index 69c84f20cb..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCollectionsResult.java +++ /dev/null @@ -1,151 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionsFilter; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCollectionsFsuCollectionSummaryCollection; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class GetFsuCollectionsResult { - private String compartmentId; - private @Nullable String displayName; - private @Nullable List filters; - private List fsuCollectionSummaryCollections; - /** - * @return The provider-assigned unique ID for this managed resource. - * - */ - private String id; - private @Nullable String state; - private @Nullable String type; - - private GetFsuCollectionsResult() {} - public String compartmentId() { - return this.compartmentId; - } - public Optional displayName() { - return Optional.ofNullable(this.displayName); - } - public List filters() { - return this.filters == null ? List.of() : this.filters; - } - public List fsuCollectionSummaryCollections() { - return this.fsuCollectionSummaryCollections; - } - /** - * @return The provider-assigned unique ID for this managed resource. - * - */ - public String id() { - return this.id; - } - public Optional state() { - return Optional.ofNullable(this.state); - } - public Optional type() { - return Optional.ofNullable(this.type); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCollectionsResult defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String compartmentId; - private @Nullable String displayName; - private @Nullable List filters; - private List fsuCollectionSummaryCollections; - private String id; - private @Nullable String state; - private @Nullable String type; - public Builder() {} - public Builder(GetFsuCollectionsResult defaults) { - Objects.requireNonNull(defaults); - this.compartmentId = defaults.compartmentId; - this.displayName = defaults.displayName; - this.filters = defaults.filters; - this.fsuCollectionSummaryCollections = defaults.fsuCollectionSummaryCollections; - this.id = defaults.id; - this.state = defaults.state; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsResult", "compartmentId"); - } - this.compartmentId = compartmentId; - 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(GetFsuCollectionsFilter... filters) { - return filters(List.of(filters)); - } - @CustomType.Setter - public Builder fsuCollectionSummaryCollections(List fsuCollectionSummaryCollections) { - if (fsuCollectionSummaryCollections == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsResult", "fsuCollectionSummaryCollections"); - } - this.fsuCollectionSummaryCollections = fsuCollectionSummaryCollections; - return this; - } - public Builder fsuCollectionSummaryCollections(GetFsuCollectionsFsuCollectionSummaryCollection... fsuCollectionSummaryCollections) { - return fsuCollectionSummaryCollections(List.of(fsuCollectionSummaryCollections)); - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetFsuCollectionsResult", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder state(@Nullable String state) { - - this.state = state; - return this; - } - @CustomType.Setter - public Builder type(@Nullable String type) { - - this.type = type; - return this; - } - public GetFsuCollectionsResult build() { - final var _resultValue = new GetFsuCollectionsResult(); - _resultValue.compartmentId = compartmentId; - _resultValue.displayName = displayName; - _resultValue.filters = filters; - _resultValue.fsuCollectionSummaryCollections = fsuCollectionSummaryCollections; - _resultValue.id = id; - _resultValue.state = state; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleApplyActionSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleApplyActionSchedule.java deleted file mode 100644 index 8b9dd45eda..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleApplyActionSchedule.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCycleApplyActionSchedule { - private String timeToStart; - private String type; - - private GetFsuCycleApplyActionSchedule() {} - public String timeToStart() { - return this.timeToStart; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCycleApplyActionSchedule defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String timeToStart; - private String type; - public Builder() {} - public Builder(GetFsuCycleApplyActionSchedule defaults) { - Objects.requireNonNull(defaults); - this.timeToStart = defaults.timeToStart; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder timeToStart(String timeToStart) { - if (timeToStart == null) { - throw new MissingRequiredPropertyException("GetFsuCycleApplyActionSchedule", "timeToStart"); - } - this.timeToStart = timeToStart; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCycleApplyActionSchedule", "type"); - } - this.type = type; - return this; - } - public GetFsuCycleApplyActionSchedule build() { - final var _resultValue = new GetFsuCycleApplyActionSchedule(); - _resultValue.timeToStart = timeToStart; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleBatchingStrategy.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleBatchingStrategy.java deleted file mode 100644 index 6f5f777f9a..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleBatchingStrategy.java +++ /dev/null @@ -1,97 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Boolean; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCycleBatchingStrategy { - private Boolean isForceRolling; - private Boolean isWaitForBatchResume; - private Integer percentage; - private String type; - - private GetFsuCycleBatchingStrategy() {} - public Boolean isForceRolling() { - return this.isForceRolling; - } - public Boolean isWaitForBatchResume() { - return this.isWaitForBatchResume; - } - public Integer percentage() { - return this.percentage; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCycleBatchingStrategy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private Boolean isForceRolling; - private Boolean isWaitForBatchResume; - private Integer percentage; - private String type; - public Builder() {} - public Builder(GetFsuCycleBatchingStrategy defaults) { - Objects.requireNonNull(defaults); - this.isForceRolling = defaults.isForceRolling; - this.isWaitForBatchResume = defaults.isWaitForBatchResume; - this.percentage = defaults.percentage; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder isForceRolling(Boolean isForceRolling) { - if (isForceRolling == null) { - throw new MissingRequiredPropertyException("GetFsuCycleBatchingStrategy", "isForceRolling"); - } - this.isForceRolling = isForceRolling; - return this; - } - @CustomType.Setter - public Builder isWaitForBatchResume(Boolean isWaitForBatchResume) { - if (isWaitForBatchResume == null) { - throw new MissingRequiredPropertyException("GetFsuCycleBatchingStrategy", "isWaitForBatchResume"); - } - this.isWaitForBatchResume = isWaitForBatchResume; - return this; - } - @CustomType.Setter - public Builder percentage(Integer percentage) { - if (percentage == null) { - throw new MissingRequiredPropertyException("GetFsuCycleBatchingStrategy", "percentage"); - } - this.percentage = percentage; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCycleBatchingStrategy", "type"); - } - this.type = type; - return this; - } - public GetFsuCycleBatchingStrategy build() { - final var _resultValue = new GetFsuCycleBatchingStrategy(); - _resultValue.isForceRolling = isForceRolling; - _resultValue.isWaitForBatchResume = isWaitForBatchResume; - _resultValue.percentage = percentage; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleDiagnosticsCollection.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleDiagnosticsCollection.java deleted file mode 100644 index a3fbd92b8c..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleDiagnosticsCollection.java +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCycleDiagnosticsCollection { - private String logCollectionMode; - - private GetFsuCycleDiagnosticsCollection() {} - public String logCollectionMode() { - return this.logCollectionMode; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCycleDiagnosticsCollection defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String logCollectionMode; - public Builder() {} - public Builder(GetFsuCycleDiagnosticsCollection defaults) { - Objects.requireNonNull(defaults); - this.logCollectionMode = defaults.logCollectionMode; - } - - @CustomType.Setter - public Builder logCollectionMode(String logCollectionMode) { - if (logCollectionMode == null) { - throw new MissingRequiredPropertyException("GetFsuCycleDiagnosticsCollection", "logCollectionMode"); - } - this.logCollectionMode = logCollectionMode; - return this; - } - public GetFsuCycleDiagnosticsCollection build() { - final var _resultValue = new GetFsuCycleDiagnosticsCollection(); - _resultValue.logCollectionMode = logCollectionMode; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleGoalVersionDetail.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleGoalVersionDetail.java deleted file mode 100644 index 366b8e8480..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleGoalVersionDetail.java +++ /dev/null @@ -1,110 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCycleGoalVersionDetail { - private String homePolicy; - private String newHomePrefix; - private String softwareImageId; - private String type; - private String version; - - private GetFsuCycleGoalVersionDetail() {} - public String homePolicy() { - return this.homePolicy; - } - public String newHomePrefix() { - return this.newHomePrefix; - } - public String softwareImageId() { - return this.softwareImageId; - } - public String type() { - return this.type; - } - public String version() { - return this.version; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCycleGoalVersionDetail defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String homePolicy; - private String newHomePrefix; - private String softwareImageId; - private String type; - private String version; - public Builder() {} - public Builder(GetFsuCycleGoalVersionDetail defaults) { - Objects.requireNonNull(defaults); - this.homePolicy = defaults.homePolicy; - this.newHomePrefix = defaults.newHomePrefix; - this.softwareImageId = defaults.softwareImageId; - this.type = defaults.type; - this.version = defaults.version; - } - - @CustomType.Setter - public Builder homePolicy(String homePolicy) { - if (homePolicy == null) { - throw new MissingRequiredPropertyException("GetFsuCycleGoalVersionDetail", "homePolicy"); - } - this.homePolicy = homePolicy; - return this; - } - @CustomType.Setter - public Builder newHomePrefix(String newHomePrefix) { - if (newHomePrefix == null) { - throw new MissingRequiredPropertyException("GetFsuCycleGoalVersionDetail", "newHomePrefix"); - } - this.newHomePrefix = newHomePrefix; - return this; - } - @CustomType.Setter - public Builder softwareImageId(String softwareImageId) { - if (softwareImageId == null) { - throw new MissingRequiredPropertyException("GetFsuCycleGoalVersionDetail", "softwareImageId"); - } - this.softwareImageId = softwareImageId; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCycleGoalVersionDetail", "type"); - } - this.type = type; - return this; - } - @CustomType.Setter - public Builder version(String version) { - if (version == null) { - throw new MissingRequiredPropertyException("GetFsuCycleGoalVersionDetail", "version"); - } - this.version = version; - return this; - } - public GetFsuCycleGoalVersionDetail build() { - final var _resultValue = new GetFsuCycleGoalVersionDetail(); - _resultValue.homePolicy = homePolicy; - _resultValue.newHomePrefix = newHomePrefix; - _resultValue.softwareImageId = softwareImageId; - _resultValue.type = type; - _resultValue.version = version; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleNextActionToExecute.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleNextActionToExecute.java deleted file mode 100644 index db02d76f41..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleNextActionToExecute.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCycleNextActionToExecute { - private String timeToStart; - private String type; - - private GetFsuCycleNextActionToExecute() {} - public String timeToStart() { - return this.timeToStart; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCycleNextActionToExecute defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String timeToStart; - private String type; - public Builder() {} - public Builder(GetFsuCycleNextActionToExecute defaults) { - Objects.requireNonNull(defaults); - this.timeToStart = defaults.timeToStart; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder timeToStart(String timeToStart) { - if (timeToStart == null) { - throw new MissingRequiredPropertyException("GetFsuCycleNextActionToExecute", "timeToStart"); - } - this.timeToStart = timeToStart; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCycleNextActionToExecute", "type"); - } - this.type = type; - return this; - } - public GetFsuCycleNextActionToExecute build() { - final var _resultValue = new GetFsuCycleNextActionToExecute(); - _resultValue.timeToStart = timeToStart; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleResult.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleResult.java deleted file mode 100644 index 4833008d69..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleResult.java +++ /dev/null @@ -1,471 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCycleApplyActionSchedule; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCycleBatchingStrategy; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCycleDiagnosticsCollection; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCycleGoalVersionDetail; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCycleNextActionToExecute; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCycleStageActionSchedule; -import java.lang.Boolean; -import java.lang.Integer; -import java.lang.String; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetFsuCycleResult { - private List applyActionSchedules; - private List batchingStrategies; - private String collectionType; - private String compartmentId; - private Map definedTags; - private List diagnosticsCollections; - private String displayName; - private String executingFsuActionId; - private Map freeformTags; - private String fsuCollectionId; - private String fsuCycleId; - private List goalVersionDetails; - private String id; - private List isIgnoreMissingPatches; - private Boolean isIgnorePatches; - private Boolean isKeepPlacement; - private String lastCompletedAction; - private String lifecycleDetails; - private Integer maxDrainTimeoutInSeconds; - private List nextActionToExecutes; - private List stageActionSchedules; - private String state; - private Map systemTags; - private String timeCreated; - private String timeFinished; - private String timeUpdated; - private String type; - - private GetFsuCycleResult() {} - public List applyActionSchedules() { - return this.applyActionSchedules; - } - public List batchingStrategies() { - return this.batchingStrategies; - } - public String collectionType() { - return this.collectionType; - } - public String compartmentId() { - return this.compartmentId; - } - public Map definedTags() { - return this.definedTags; - } - public List diagnosticsCollections() { - return this.diagnosticsCollections; - } - public String displayName() { - return this.displayName; - } - public String executingFsuActionId() { - return this.executingFsuActionId; - } - public Map freeformTags() { - return this.freeformTags; - } - public String fsuCollectionId() { - return this.fsuCollectionId; - } - public String fsuCycleId() { - return this.fsuCycleId; - } - public List goalVersionDetails() { - return this.goalVersionDetails; - } - public String id() { - return this.id; - } - public List isIgnoreMissingPatches() { - return this.isIgnoreMissingPatches; - } - public Boolean isIgnorePatches() { - return this.isIgnorePatches; - } - public Boolean isKeepPlacement() { - return this.isKeepPlacement; - } - public String lastCompletedAction() { - return this.lastCompletedAction; - } - public String lifecycleDetails() { - return this.lifecycleDetails; - } - public Integer maxDrainTimeoutInSeconds() { - return this.maxDrainTimeoutInSeconds; - } - public List nextActionToExecutes() { - return this.nextActionToExecutes; - } - public List stageActionSchedules() { - return this.stageActionSchedules; - } - public String state() { - return this.state; - } - public Map systemTags() { - return this.systemTags; - } - public String timeCreated() { - return this.timeCreated; - } - public String timeFinished() { - return this.timeFinished; - } - public String timeUpdated() { - return this.timeUpdated; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCycleResult defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List applyActionSchedules; - private List batchingStrategies; - private String collectionType; - private String compartmentId; - private Map definedTags; - private List diagnosticsCollections; - private String displayName; - private String executingFsuActionId; - private Map freeformTags; - private String fsuCollectionId; - private String fsuCycleId; - private List goalVersionDetails; - private String id; - private List isIgnoreMissingPatches; - private Boolean isIgnorePatches; - private Boolean isKeepPlacement; - private String lastCompletedAction; - private String lifecycleDetails; - private Integer maxDrainTimeoutInSeconds; - private List nextActionToExecutes; - private List stageActionSchedules; - private String state; - private Map systemTags; - private String timeCreated; - private String timeFinished; - private String timeUpdated; - private String type; - public Builder() {} - public Builder(GetFsuCycleResult defaults) { - Objects.requireNonNull(defaults); - this.applyActionSchedules = defaults.applyActionSchedules; - this.batchingStrategies = defaults.batchingStrategies; - this.collectionType = defaults.collectionType; - this.compartmentId = defaults.compartmentId; - this.definedTags = defaults.definedTags; - this.diagnosticsCollections = defaults.diagnosticsCollections; - this.displayName = defaults.displayName; - this.executingFsuActionId = defaults.executingFsuActionId; - this.freeformTags = defaults.freeformTags; - this.fsuCollectionId = defaults.fsuCollectionId; - this.fsuCycleId = defaults.fsuCycleId; - this.goalVersionDetails = defaults.goalVersionDetails; - this.id = defaults.id; - this.isIgnoreMissingPatches = defaults.isIgnoreMissingPatches; - this.isIgnorePatches = defaults.isIgnorePatches; - this.isKeepPlacement = defaults.isKeepPlacement; - this.lastCompletedAction = defaults.lastCompletedAction; - this.lifecycleDetails = defaults.lifecycleDetails; - this.maxDrainTimeoutInSeconds = defaults.maxDrainTimeoutInSeconds; - this.nextActionToExecutes = defaults.nextActionToExecutes; - this.stageActionSchedules = defaults.stageActionSchedules; - this.state = defaults.state; - this.systemTags = defaults.systemTags; - this.timeCreated = defaults.timeCreated; - this.timeFinished = defaults.timeFinished; - this.timeUpdated = defaults.timeUpdated; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder applyActionSchedules(List applyActionSchedules) { - if (applyActionSchedules == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "applyActionSchedules"); - } - this.applyActionSchedules = applyActionSchedules; - return this; - } - public Builder applyActionSchedules(GetFsuCycleApplyActionSchedule... applyActionSchedules) { - return applyActionSchedules(List.of(applyActionSchedules)); - } - @CustomType.Setter - public Builder batchingStrategies(List batchingStrategies) { - if (batchingStrategies == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "batchingStrategies"); - } - this.batchingStrategies = batchingStrategies; - return this; - } - public Builder batchingStrategies(GetFsuCycleBatchingStrategy... batchingStrategies) { - return batchingStrategies(List.of(batchingStrategies)); - } - @CustomType.Setter - public Builder collectionType(String collectionType) { - if (collectionType == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "collectionType"); - } - this.collectionType = collectionType; - return this; - } - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "compartmentId"); - } - this.compartmentId = compartmentId; - return this; - } - @CustomType.Setter - public Builder definedTags(Map definedTags) { - if (definedTags == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "definedTags"); - } - this.definedTags = definedTags; - return this; - } - @CustomType.Setter - public Builder diagnosticsCollections(List diagnosticsCollections) { - if (diagnosticsCollections == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "diagnosticsCollections"); - } - this.diagnosticsCollections = diagnosticsCollections; - return this; - } - public Builder diagnosticsCollections(GetFsuCycleDiagnosticsCollection... diagnosticsCollections) { - return diagnosticsCollections(List.of(diagnosticsCollections)); - } - @CustomType.Setter - public Builder displayName(String displayName) { - if (displayName == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "displayName"); - } - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder executingFsuActionId(String executingFsuActionId) { - if (executingFsuActionId == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "executingFsuActionId"); - } - this.executingFsuActionId = executingFsuActionId; - return this; - } - @CustomType.Setter - public Builder freeformTags(Map freeformTags) { - if (freeformTags == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "freeformTags"); - } - this.freeformTags = freeformTags; - return this; - } - @CustomType.Setter - public Builder fsuCollectionId(String fsuCollectionId) { - if (fsuCollectionId == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "fsuCollectionId"); - } - this.fsuCollectionId = fsuCollectionId; - return this; - } - @CustomType.Setter - public Builder fsuCycleId(String fsuCycleId) { - if (fsuCycleId == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "fsuCycleId"); - } - this.fsuCycleId = fsuCycleId; - return this; - } - @CustomType.Setter - public Builder goalVersionDetails(List goalVersionDetails) { - if (goalVersionDetails == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "goalVersionDetails"); - } - this.goalVersionDetails = goalVersionDetails; - return this; - } - public Builder goalVersionDetails(GetFsuCycleGoalVersionDetail... goalVersionDetails) { - return goalVersionDetails(List.of(goalVersionDetails)); - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder isIgnoreMissingPatches(List isIgnoreMissingPatches) { - if (isIgnoreMissingPatches == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "isIgnoreMissingPatches"); - } - this.isIgnoreMissingPatches = isIgnoreMissingPatches; - return this; - } - public Builder isIgnoreMissingPatches(String... isIgnoreMissingPatches) { - return isIgnoreMissingPatches(List.of(isIgnoreMissingPatches)); - } - @CustomType.Setter - public Builder isIgnorePatches(Boolean isIgnorePatches) { - if (isIgnorePatches == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "isIgnorePatches"); - } - this.isIgnorePatches = isIgnorePatches; - return this; - } - @CustomType.Setter - public Builder isKeepPlacement(Boolean isKeepPlacement) { - if (isKeepPlacement == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "isKeepPlacement"); - } - this.isKeepPlacement = isKeepPlacement; - return this; - } - @CustomType.Setter - public Builder lastCompletedAction(String lastCompletedAction) { - if (lastCompletedAction == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "lastCompletedAction"); - } - this.lastCompletedAction = lastCompletedAction; - return this; - } - @CustomType.Setter - public Builder lifecycleDetails(String lifecycleDetails) { - if (lifecycleDetails == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "lifecycleDetails"); - } - this.lifecycleDetails = lifecycleDetails; - return this; - } - @CustomType.Setter - public Builder maxDrainTimeoutInSeconds(Integer maxDrainTimeoutInSeconds) { - if (maxDrainTimeoutInSeconds == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "maxDrainTimeoutInSeconds"); - } - this.maxDrainTimeoutInSeconds = maxDrainTimeoutInSeconds; - return this; - } - @CustomType.Setter - public Builder nextActionToExecutes(List nextActionToExecutes) { - if (nextActionToExecutes == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "nextActionToExecutes"); - } - this.nextActionToExecutes = nextActionToExecutes; - return this; - } - public Builder nextActionToExecutes(GetFsuCycleNextActionToExecute... nextActionToExecutes) { - return nextActionToExecutes(List.of(nextActionToExecutes)); - } - @CustomType.Setter - public Builder stageActionSchedules(List stageActionSchedules) { - if (stageActionSchedules == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "stageActionSchedules"); - } - this.stageActionSchedules = stageActionSchedules; - return this; - } - public Builder stageActionSchedules(GetFsuCycleStageActionSchedule... stageActionSchedules) { - return stageActionSchedules(List.of(stageActionSchedules)); - } - @CustomType.Setter - public Builder state(String state) { - if (state == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "state"); - } - this.state = state; - return this; - } - @CustomType.Setter - public Builder systemTags(Map systemTags) { - if (systemTags == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "systemTags"); - } - this.systemTags = systemTags; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeFinished(String timeFinished) { - if (timeFinished == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "timeFinished"); - } - this.timeFinished = timeFinished; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCycleResult", "type"); - } - this.type = type; - return this; - } - public GetFsuCycleResult build() { - final var _resultValue = new GetFsuCycleResult(); - _resultValue.applyActionSchedules = applyActionSchedules; - _resultValue.batchingStrategies = batchingStrategies; - _resultValue.collectionType = collectionType; - _resultValue.compartmentId = compartmentId; - _resultValue.definedTags = definedTags; - _resultValue.diagnosticsCollections = diagnosticsCollections; - _resultValue.displayName = displayName; - _resultValue.executingFsuActionId = executingFsuActionId; - _resultValue.freeformTags = freeformTags; - _resultValue.fsuCollectionId = fsuCollectionId; - _resultValue.fsuCycleId = fsuCycleId; - _resultValue.goalVersionDetails = goalVersionDetails; - _resultValue.id = id; - _resultValue.isIgnoreMissingPatches = isIgnoreMissingPatches; - _resultValue.isIgnorePatches = isIgnorePatches; - _resultValue.isKeepPlacement = isKeepPlacement; - _resultValue.lastCompletedAction = lastCompletedAction; - _resultValue.lifecycleDetails = lifecycleDetails; - _resultValue.maxDrainTimeoutInSeconds = maxDrainTimeoutInSeconds; - _resultValue.nextActionToExecutes = nextActionToExecutes; - _resultValue.stageActionSchedules = stageActionSchedules; - _resultValue.state = state; - _resultValue.systemTags = systemTags; - _resultValue.timeCreated = timeCreated; - _resultValue.timeFinished = timeFinished; - _resultValue.timeUpdated = timeUpdated; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleStageActionSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleStageActionSchedule.java deleted file mode 100644 index 1a0efab5d6..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCycleStageActionSchedule.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCycleStageActionSchedule { - private String timeToStart; - private String type; - - private GetFsuCycleStageActionSchedule() {} - public String timeToStart() { - return this.timeToStart; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCycleStageActionSchedule defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String timeToStart; - private String type; - public Builder() {} - public Builder(GetFsuCycleStageActionSchedule defaults) { - Objects.requireNonNull(defaults); - this.timeToStart = defaults.timeToStart; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder timeToStart(String timeToStart) { - if (timeToStart == null) { - throw new MissingRequiredPropertyException("GetFsuCycleStageActionSchedule", "timeToStart"); - } - this.timeToStart = timeToStart; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCycleStageActionSchedule", "type"); - } - this.type = type; - return this; - } - public GetFsuCycleStageActionSchedule build() { - final var _resultValue = new GetFsuCycleStageActionSchedule(); - _resultValue.timeToStart = timeToStart; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollection.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollection.java deleted file mode 100644 index 67f87507a5..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollection.java +++ /dev/null @@ -1,54 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCyclesFsuCycleSummaryCollectionItem; -import java.util.List; -import java.util.Objects; - -@CustomType -public final class GetFsuCyclesFsuCycleSummaryCollection { - private List items; - - private GetFsuCyclesFsuCycleSummaryCollection() {} - public List items() { - return this.items; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCyclesFsuCycleSummaryCollection defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List items; - public Builder() {} - public Builder(GetFsuCyclesFsuCycleSummaryCollection defaults) { - Objects.requireNonNull(defaults); - this.items = defaults.items; - } - - @CustomType.Setter - public Builder items(List items) { - if (items == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollection", "items"); - } - this.items = items; - return this; - } - public Builder items(GetFsuCyclesFsuCycleSummaryCollectionItem... items) { - return items(List.of(items)); - } - public GetFsuCyclesFsuCycleSummaryCollection build() { - final var _resultValue = new GetFsuCyclesFsuCycleSummaryCollection(); - _resultValue.items = items; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItem.java deleted file mode 100644 index 45a09f1f15..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItem.java +++ /dev/null @@ -1,456 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule; -import java.lang.Boolean; -import java.lang.Integer; -import java.lang.String; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetFsuCyclesFsuCycleSummaryCollectionItem { - private List applyActionSchedules; - private List batchingStrategies; - private String collectionType; - private String compartmentId; - private Map definedTags; - private List diagnosticsCollections; - private String displayName; - private String executingFsuActionId; - private Map freeformTags; - private String fsuCollectionId; - private List goalVersionDetails; - private String id; - private List isIgnoreMissingPatches; - private Boolean isIgnorePatches; - private Boolean isKeepPlacement; - private String lastCompletedAction; - private String lifecycleDetails; - private Integer maxDrainTimeoutInSeconds; - private List nextActionToExecutes; - private List stageActionSchedules; - private String state; - private Map systemTags; - private String timeCreated; - private String timeFinished; - private String timeUpdated; - private String type; - - private GetFsuCyclesFsuCycleSummaryCollectionItem() {} - public List applyActionSchedules() { - return this.applyActionSchedules; - } - public List batchingStrategies() { - return this.batchingStrategies; - } - public String collectionType() { - return this.collectionType; - } - public String compartmentId() { - return this.compartmentId; - } - public Map definedTags() { - return this.definedTags; - } - public List diagnosticsCollections() { - return this.diagnosticsCollections; - } - public String displayName() { - return this.displayName; - } - public String executingFsuActionId() { - return this.executingFsuActionId; - } - public Map freeformTags() { - return this.freeformTags; - } - public String fsuCollectionId() { - return this.fsuCollectionId; - } - public List goalVersionDetails() { - return this.goalVersionDetails; - } - public String id() { - return this.id; - } - public List isIgnoreMissingPatches() { - return this.isIgnoreMissingPatches; - } - public Boolean isIgnorePatches() { - return this.isIgnorePatches; - } - public Boolean isKeepPlacement() { - return this.isKeepPlacement; - } - public String lastCompletedAction() { - return this.lastCompletedAction; - } - public String lifecycleDetails() { - return this.lifecycleDetails; - } - public Integer maxDrainTimeoutInSeconds() { - return this.maxDrainTimeoutInSeconds; - } - public List nextActionToExecutes() { - return this.nextActionToExecutes; - } - public List stageActionSchedules() { - return this.stageActionSchedules; - } - public String state() { - return this.state; - } - public Map systemTags() { - return this.systemTags; - } - public String timeCreated() { - return this.timeCreated; - } - public String timeFinished() { - return this.timeFinished; - } - public String timeUpdated() { - return this.timeUpdated; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCyclesFsuCycleSummaryCollectionItem defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List applyActionSchedules; - private List batchingStrategies; - private String collectionType; - private String compartmentId; - private Map definedTags; - private List diagnosticsCollections; - private String displayName; - private String executingFsuActionId; - private Map freeformTags; - private String fsuCollectionId; - private List goalVersionDetails; - private String id; - private List isIgnoreMissingPatches; - private Boolean isIgnorePatches; - private Boolean isKeepPlacement; - private String lastCompletedAction; - private String lifecycleDetails; - private Integer maxDrainTimeoutInSeconds; - private List nextActionToExecutes; - private List stageActionSchedules; - private String state; - private Map systemTags; - private String timeCreated; - private String timeFinished; - private String timeUpdated; - private String type; - public Builder() {} - public Builder(GetFsuCyclesFsuCycleSummaryCollectionItem defaults) { - Objects.requireNonNull(defaults); - this.applyActionSchedules = defaults.applyActionSchedules; - this.batchingStrategies = defaults.batchingStrategies; - this.collectionType = defaults.collectionType; - this.compartmentId = defaults.compartmentId; - this.definedTags = defaults.definedTags; - this.diagnosticsCollections = defaults.diagnosticsCollections; - this.displayName = defaults.displayName; - this.executingFsuActionId = defaults.executingFsuActionId; - this.freeformTags = defaults.freeformTags; - this.fsuCollectionId = defaults.fsuCollectionId; - this.goalVersionDetails = defaults.goalVersionDetails; - this.id = defaults.id; - this.isIgnoreMissingPatches = defaults.isIgnoreMissingPatches; - this.isIgnorePatches = defaults.isIgnorePatches; - this.isKeepPlacement = defaults.isKeepPlacement; - this.lastCompletedAction = defaults.lastCompletedAction; - this.lifecycleDetails = defaults.lifecycleDetails; - this.maxDrainTimeoutInSeconds = defaults.maxDrainTimeoutInSeconds; - this.nextActionToExecutes = defaults.nextActionToExecutes; - this.stageActionSchedules = defaults.stageActionSchedules; - this.state = defaults.state; - this.systemTags = defaults.systemTags; - this.timeCreated = defaults.timeCreated; - this.timeFinished = defaults.timeFinished; - this.timeUpdated = defaults.timeUpdated; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder applyActionSchedules(List applyActionSchedules) { - if (applyActionSchedules == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "applyActionSchedules"); - } - this.applyActionSchedules = applyActionSchedules; - return this; - } - public Builder applyActionSchedules(GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule... applyActionSchedules) { - return applyActionSchedules(List.of(applyActionSchedules)); - } - @CustomType.Setter - public Builder batchingStrategies(List batchingStrategies) { - if (batchingStrategies == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "batchingStrategies"); - } - this.batchingStrategies = batchingStrategies; - return this; - } - public Builder batchingStrategies(GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy... batchingStrategies) { - return batchingStrategies(List.of(batchingStrategies)); - } - @CustomType.Setter - public Builder collectionType(String collectionType) { - if (collectionType == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "collectionType"); - } - this.collectionType = collectionType; - return this; - } - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "compartmentId"); - } - this.compartmentId = compartmentId; - return this; - } - @CustomType.Setter - public Builder definedTags(Map definedTags) { - if (definedTags == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "definedTags"); - } - this.definedTags = definedTags; - return this; - } - @CustomType.Setter - public Builder diagnosticsCollections(List diagnosticsCollections) { - if (diagnosticsCollections == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "diagnosticsCollections"); - } - this.diagnosticsCollections = diagnosticsCollections; - return this; - } - public Builder diagnosticsCollections(GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection... diagnosticsCollections) { - return diagnosticsCollections(List.of(diagnosticsCollections)); - } - @CustomType.Setter - public Builder displayName(String displayName) { - if (displayName == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "displayName"); - } - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder executingFsuActionId(String executingFsuActionId) { - if (executingFsuActionId == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "executingFsuActionId"); - } - this.executingFsuActionId = executingFsuActionId; - return this; - } - @CustomType.Setter - public Builder freeformTags(Map freeformTags) { - if (freeformTags == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "freeformTags"); - } - this.freeformTags = freeformTags; - return this; - } - @CustomType.Setter - public Builder fsuCollectionId(String fsuCollectionId) { - if (fsuCollectionId == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "fsuCollectionId"); - } - this.fsuCollectionId = fsuCollectionId; - return this; - } - @CustomType.Setter - public Builder goalVersionDetails(List goalVersionDetails) { - if (goalVersionDetails == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "goalVersionDetails"); - } - this.goalVersionDetails = goalVersionDetails; - return this; - } - public Builder goalVersionDetails(GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail... goalVersionDetails) { - return goalVersionDetails(List.of(goalVersionDetails)); - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder isIgnoreMissingPatches(List isIgnoreMissingPatches) { - if (isIgnoreMissingPatches == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "isIgnoreMissingPatches"); - } - this.isIgnoreMissingPatches = isIgnoreMissingPatches; - return this; - } - public Builder isIgnoreMissingPatches(String... isIgnoreMissingPatches) { - return isIgnoreMissingPatches(List.of(isIgnoreMissingPatches)); - } - @CustomType.Setter - public Builder isIgnorePatches(Boolean isIgnorePatches) { - if (isIgnorePatches == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "isIgnorePatches"); - } - this.isIgnorePatches = isIgnorePatches; - return this; - } - @CustomType.Setter - public Builder isKeepPlacement(Boolean isKeepPlacement) { - if (isKeepPlacement == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "isKeepPlacement"); - } - this.isKeepPlacement = isKeepPlacement; - return this; - } - @CustomType.Setter - public Builder lastCompletedAction(String lastCompletedAction) { - if (lastCompletedAction == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "lastCompletedAction"); - } - this.lastCompletedAction = lastCompletedAction; - return this; - } - @CustomType.Setter - public Builder lifecycleDetails(String lifecycleDetails) { - if (lifecycleDetails == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "lifecycleDetails"); - } - this.lifecycleDetails = lifecycleDetails; - return this; - } - @CustomType.Setter - public Builder maxDrainTimeoutInSeconds(Integer maxDrainTimeoutInSeconds) { - if (maxDrainTimeoutInSeconds == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "maxDrainTimeoutInSeconds"); - } - this.maxDrainTimeoutInSeconds = maxDrainTimeoutInSeconds; - return this; - } - @CustomType.Setter - public Builder nextActionToExecutes(List nextActionToExecutes) { - if (nextActionToExecutes == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "nextActionToExecutes"); - } - this.nextActionToExecutes = nextActionToExecutes; - return this; - } - public Builder nextActionToExecutes(GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute... nextActionToExecutes) { - return nextActionToExecutes(List.of(nextActionToExecutes)); - } - @CustomType.Setter - public Builder stageActionSchedules(List stageActionSchedules) { - if (stageActionSchedules == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "stageActionSchedules"); - } - this.stageActionSchedules = stageActionSchedules; - return this; - } - public Builder stageActionSchedules(GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule... stageActionSchedules) { - return stageActionSchedules(List.of(stageActionSchedules)); - } - @CustomType.Setter - public Builder state(String state) { - if (state == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "state"); - } - this.state = state; - return this; - } - @CustomType.Setter - public Builder systemTags(Map systemTags) { - if (systemTags == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "systemTags"); - } - this.systemTags = systemTags; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeFinished(String timeFinished) { - if (timeFinished == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "timeFinished"); - } - this.timeFinished = timeFinished; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItem", "type"); - } - this.type = type; - return this; - } - public GetFsuCyclesFsuCycleSummaryCollectionItem build() { - final var _resultValue = new GetFsuCyclesFsuCycleSummaryCollectionItem(); - _resultValue.applyActionSchedules = applyActionSchedules; - _resultValue.batchingStrategies = batchingStrategies; - _resultValue.collectionType = collectionType; - _resultValue.compartmentId = compartmentId; - _resultValue.definedTags = definedTags; - _resultValue.diagnosticsCollections = diagnosticsCollections; - _resultValue.displayName = displayName; - _resultValue.executingFsuActionId = executingFsuActionId; - _resultValue.freeformTags = freeformTags; - _resultValue.fsuCollectionId = fsuCollectionId; - _resultValue.goalVersionDetails = goalVersionDetails; - _resultValue.id = id; - _resultValue.isIgnoreMissingPatches = isIgnoreMissingPatches; - _resultValue.isIgnorePatches = isIgnorePatches; - _resultValue.isKeepPlacement = isKeepPlacement; - _resultValue.lastCompletedAction = lastCompletedAction; - _resultValue.lifecycleDetails = lifecycleDetails; - _resultValue.maxDrainTimeoutInSeconds = maxDrainTimeoutInSeconds; - _resultValue.nextActionToExecutes = nextActionToExecutes; - _resultValue.stageActionSchedules = stageActionSchedules; - _resultValue.state = state; - _resultValue.systemTags = systemTags; - _resultValue.timeCreated = timeCreated; - _resultValue.timeFinished = timeFinished; - _resultValue.timeUpdated = timeUpdated; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule.java deleted file mode 100644 index 25884c5de9..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule { - private String timeToStart; - private String type; - - private GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule() {} - public String timeToStart() { - return this.timeToStart; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String timeToStart; - private String type; - public Builder() {} - public Builder(GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule defaults) { - Objects.requireNonNull(defaults); - this.timeToStart = defaults.timeToStart; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder timeToStart(String timeToStart) { - if (timeToStart == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule", "timeToStart"); - } - this.timeToStart = timeToStart; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule", "type"); - } - this.type = type; - return this; - } - public GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule build() { - final var _resultValue = new GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule(); - _resultValue.timeToStart = timeToStart; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy.java deleted file mode 100644 index 63ba1ce786..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy.java +++ /dev/null @@ -1,97 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Boolean; -import java.lang.Integer; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy { - private Boolean isForceRolling; - private Boolean isWaitForBatchResume; - private Integer percentage; - private String type; - - private GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy() {} - public Boolean isForceRolling() { - return this.isForceRolling; - } - public Boolean isWaitForBatchResume() { - return this.isWaitForBatchResume; - } - public Integer percentage() { - return this.percentage; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private Boolean isForceRolling; - private Boolean isWaitForBatchResume; - private Integer percentage; - private String type; - public Builder() {} - public Builder(GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy defaults) { - Objects.requireNonNull(defaults); - this.isForceRolling = defaults.isForceRolling; - this.isWaitForBatchResume = defaults.isWaitForBatchResume; - this.percentage = defaults.percentage; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder isForceRolling(Boolean isForceRolling) { - if (isForceRolling == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy", "isForceRolling"); - } - this.isForceRolling = isForceRolling; - return this; - } - @CustomType.Setter - public Builder isWaitForBatchResume(Boolean isWaitForBatchResume) { - if (isWaitForBatchResume == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy", "isWaitForBatchResume"); - } - this.isWaitForBatchResume = isWaitForBatchResume; - return this; - } - @CustomType.Setter - public Builder percentage(Integer percentage) { - if (percentage == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy", "percentage"); - } - this.percentage = percentage; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy", "type"); - } - this.type = type; - return this; - } - public GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy build() { - final var _resultValue = new GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy(); - _resultValue.isForceRolling = isForceRolling; - _resultValue.isWaitForBatchResume = isWaitForBatchResume; - _resultValue.percentage = percentage; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection.java deleted file mode 100644 index 006794f9d3..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection.java +++ /dev/null @@ -1,50 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection { - private String logCollectionMode; - - private GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection() {} - public String logCollectionMode() { - return this.logCollectionMode; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String logCollectionMode; - public Builder() {} - public Builder(GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection defaults) { - Objects.requireNonNull(defaults); - this.logCollectionMode = defaults.logCollectionMode; - } - - @CustomType.Setter - public Builder logCollectionMode(String logCollectionMode) { - if (logCollectionMode == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection", "logCollectionMode"); - } - this.logCollectionMode = logCollectionMode; - return this; - } - public GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection build() { - final var _resultValue = new GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection(); - _resultValue.logCollectionMode = logCollectionMode; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail.java deleted file mode 100644 index cada571dd7..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail.java +++ /dev/null @@ -1,110 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail { - private String homePolicy; - private String newHomePrefix; - private String softwareImageId; - private String type; - private String version; - - private GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail() {} - public String homePolicy() { - return this.homePolicy; - } - public String newHomePrefix() { - return this.newHomePrefix; - } - public String softwareImageId() { - return this.softwareImageId; - } - public String type() { - return this.type; - } - public String version() { - return this.version; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String homePolicy; - private String newHomePrefix; - private String softwareImageId; - private String type; - private String version; - public Builder() {} - public Builder(GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail defaults) { - Objects.requireNonNull(defaults); - this.homePolicy = defaults.homePolicy; - this.newHomePrefix = defaults.newHomePrefix; - this.softwareImageId = defaults.softwareImageId; - this.type = defaults.type; - this.version = defaults.version; - } - - @CustomType.Setter - public Builder homePolicy(String homePolicy) { - if (homePolicy == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail", "homePolicy"); - } - this.homePolicy = homePolicy; - return this; - } - @CustomType.Setter - public Builder newHomePrefix(String newHomePrefix) { - if (newHomePrefix == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail", "newHomePrefix"); - } - this.newHomePrefix = newHomePrefix; - return this; - } - @CustomType.Setter - public Builder softwareImageId(String softwareImageId) { - if (softwareImageId == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail", "softwareImageId"); - } - this.softwareImageId = softwareImageId; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail", "type"); - } - this.type = type; - return this; - } - @CustomType.Setter - public Builder version(String version) { - if (version == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail", "version"); - } - this.version = version; - return this; - } - public GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail build() { - final var _resultValue = new GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail(); - _resultValue.homePolicy = homePolicy; - _resultValue.newHomePrefix = newHomePrefix; - _resultValue.softwareImageId = softwareImageId; - _resultValue.type = type; - _resultValue.version = version; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute.java deleted file mode 100644 index ed4604029f..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute { - private String timeToStart; - private String type; - - private GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute() {} - public String timeToStart() { - return this.timeToStart; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String timeToStart; - private String type; - public Builder() {} - public Builder(GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute defaults) { - Objects.requireNonNull(defaults); - this.timeToStart = defaults.timeToStart; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder timeToStart(String timeToStart) { - if (timeToStart == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute", "timeToStart"); - } - this.timeToStart = timeToStart; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute", "type"); - } - this.type = type; - return this; - } - public GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute build() { - final var _resultValue = new GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute(); - _resultValue.timeToStart = timeToStart; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule.java deleted file mode 100644 index 35c08e8acb..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule.java +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule { - private String timeToStart; - private String type; - - private GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule() {} - public String timeToStart() { - return this.timeToStart; - } - public String type() { - return this.type; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String timeToStart; - private String type; - public Builder() {} - public Builder(GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule defaults) { - Objects.requireNonNull(defaults); - this.timeToStart = defaults.timeToStart; - this.type = defaults.type; - } - - @CustomType.Setter - public Builder timeToStart(String timeToStart) { - if (timeToStart == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule", "timeToStart"); - } - this.timeToStart = timeToStart; - return this; - } - @CustomType.Setter - public Builder type(String type) { - if (type == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule", "type"); - } - this.type = type; - return this; - } - public GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule build() { - final var _resultValue = new GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule(); - _resultValue.timeToStart = timeToStart; - _resultValue.type = type; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesResult.java b/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesResult.java deleted file mode 100644 index e90611de2b..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/FleetSoftwareUpdate/outputs/GetFsuCyclesResult.java +++ /dev/null @@ -1,177 +0,0 @@ -// *** 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.FleetSoftwareUpdate.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCyclesFilter; -import com.pulumi.oci.FleetSoftwareUpdate.outputs.GetFsuCyclesFsuCycleSummaryCollection; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class GetFsuCyclesResult { - private @Nullable String collectionType; - private String compartmentId; - private @Nullable String displayName; - private @Nullable List filters; - private @Nullable String fsuCollectionId; - private List fsuCycleSummaryCollections; - /** - * @return The provider-assigned unique ID for this managed resource. - * - */ - private String id; - private @Nullable String state; - private @Nullable String targetVersion; - - private GetFsuCyclesResult() {} - public Optional collectionType() { - return Optional.ofNullable(this.collectionType); - } - public String compartmentId() { - return this.compartmentId; - } - public Optional displayName() { - return Optional.ofNullable(this.displayName); - } - public List filters() { - return this.filters == null ? List.of() : this.filters; - } - public Optional fsuCollectionId() { - return Optional.ofNullable(this.fsuCollectionId); - } - public List fsuCycleSummaryCollections() { - return this.fsuCycleSummaryCollections; - } - /** - * @return The provider-assigned unique ID for this managed resource. - * - */ - public String id() { - return this.id; - } - public Optional state() { - return Optional.ofNullable(this.state); - } - public Optional targetVersion() { - return Optional.ofNullable(this.targetVersion); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetFsuCyclesResult defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable String collectionType; - private String compartmentId; - private @Nullable String displayName; - private @Nullable List filters; - private @Nullable String fsuCollectionId; - private List fsuCycleSummaryCollections; - private String id; - private @Nullable String state; - private @Nullable String targetVersion; - public Builder() {} - public Builder(GetFsuCyclesResult defaults) { - Objects.requireNonNull(defaults); - this.collectionType = defaults.collectionType; - this.compartmentId = defaults.compartmentId; - this.displayName = defaults.displayName; - this.filters = defaults.filters; - this.fsuCollectionId = defaults.fsuCollectionId; - this.fsuCycleSummaryCollections = defaults.fsuCycleSummaryCollections; - this.id = defaults.id; - this.state = defaults.state; - this.targetVersion = defaults.targetVersion; - } - - @CustomType.Setter - public Builder collectionType(@Nullable String collectionType) { - - this.collectionType = collectionType; - return this; - } - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesResult", "compartmentId"); - } - this.compartmentId = compartmentId; - 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(GetFsuCyclesFilter... filters) { - return filters(List.of(filters)); - } - @CustomType.Setter - public Builder fsuCollectionId(@Nullable String fsuCollectionId) { - - this.fsuCollectionId = fsuCollectionId; - return this; - } - @CustomType.Setter - public Builder fsuCycleSummaryCollections(List fsuCycleSummaryCollections) { - if (fsuCycleSummaryCollections == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesResult", "fsuCycleSummaryCollections"); - } - this.fsuCycleSummaryCollections = fsuCycleSummaryCollections; - return this; - } - public Builder fsuCycleSummaryCollections(GetFsuCyclesFsuCycleSummaryCollection... fsuCycleSummaryCollections) { - return fsuCycleSummaryCollections(List.of(fsuCycleSummaryCollections)); - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetFsuCyclesResult", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder state(@Nullable String state) { - - this.state = state; - return this; - } - @CustomType.Setter - public Builder targetVersion(@Nullable String targetVersion) { - - this.targetVersion = targetVersion; - return this; - } - public GetFsuCyclesResult build() { - final var _resultValue = new GetFsuCyclesResult(); - _resultValue.collectionType = collectionType; - _resultValue.compartmentId = compartmentId; - _resultValue.displayName = displayName; - _resultValue.filters = filters; - _resultValue.fsuCollectionId = fsuCollectionId; - _resultValue.fsuCycleSummaryCollections = fsuCycleSummaryCollections; - _resultValue.id = id; - _resultValue.state = state; - _resultValue.targetVersion = targetVersion; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/GloballyDistributedDatabaseFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/GloballyDistributedDatabaseFunctions.java deleted file mode 100644 index 309c13b0c3..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/GloballyDistributedDatabaseFunctions.java +++ /dev/null @@ -1,750 +0,0 @@ -// *** 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.GloballyDistributedDatabase; - -import com.pulumi.core.Output; -import com.pulumi.core.TypeShape; -import com.pulumi.deployment.Deployment; -import com.pulumi.deployment.InvokeOptions; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetPrivateEndpointArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetPrivateEndpointPlainArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetPrivateEndpointsArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetPrivateEndpointsPlainArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabaseArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabasePlainArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabasesArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabasesPlainArgs; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetPrivateEndpointResult; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetPrivateEndpointsResult; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabaseResult; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabasesResult; -import com.pulumi.oci.Utilities; -import java.util.concurrent.CompletableFuture; - -public final class GloballyDistributedDatabaseFunctions { - /** - * This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Get the PrivateEndpoint resource. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoint = GloballyDistributedDatabaseFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder()
-     *             .privateEndpointId(testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id())
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getPrivateEndpoint(GetPrivateEndpointArgs args) { - return getPrivateEndpoint(args, InvokeOptions.Empty); - } - /** - * This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Get the PrivateEndpoint resource. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoint = GloballyDistributedDatabaseFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder()
-     *             .privateEndpointId(testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id())
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static CompletableFuture getPrivateEndpointPlain(GetPrivateEndpointPlainArgs args) { - return getPrivateEndpointPlain(args, InvokeOptions.Empty); - } - /** - * This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Get the PrivateEndpoint resource. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoint = GloballyDistributedDatabaseFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder()
-     *             .privateEndpointId(testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id())
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getPrivateEndpoint(GetPrivateEndpointArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint", TypeShape.of(GetPrivateEndpointResult.class), args, Utilities.withVersion(options)); - } - /** - * This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Get the PrivateEndpoint resource. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoint = GloballyDistributedDatabaseFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder()
-     *             .privateEndpointId(testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id())
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static CompletableFuture getPrivateEndpointPlain(GetPrivateEndpointPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint", TypeShape.of(GetPrivateEndpointResult.class), args, Utilities.withVersion(options)); - } - /** - * This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of PrivateEndpoints. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoints = GloballyDistributedDatabaseFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .displayName(privateEndpointDisplayName)
-     *             .state(privateEndpointState)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getPrivateEndpoints(GetPrivateEndpointsArgs args) { - return getPrivateEndpoints(args, InvokeOptions.Empty); - } - /** - * This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of PrivateEndpoints. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoints = GloballyDistributedDatabaseFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .displayName(privateEndpointDisplayName)
-     *             .state(privateEndpointState)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static CompletableFuture getPrivateEndpointsPlain(GetPrivateEndpointsPlainArgs args) { - return getPrivateEndpointsPlain(args, InvokeOptions.Empty); - } - /** - * This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of PrivateEndpoints. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoints = GloballyDistributedDatabaseFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .displayName(privateEndpointDisplayName)
-     *             .state(privateEndpointState)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getPrivateEndpoints(GetPrivateEndpointsArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints", TypeShape.of(GetPrivateEndpointsResult.class), args, Utilities.withVersion(options)); - } - /** - * This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of PrivateEndpoints. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoints = GloballyDistributedDatabaseFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .displayName(privateEndpointDisplayName)
-     *             .state(privateEndpointState)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static CompletableFuture getPrivateEndpointsPlain(GetPrivateEndpointsPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints", TypeShape.of(GetPrivateEndpointsResult.class), args, Utilities.withVersion(options)); - } - /** - * This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Gets the details of the Sharded database identified by given id. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabaseArgs;
-     * 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 testShardedDatabase = GloballyDistributedDatabaseFunctions.getShardedDatabase(GetShardedDatabaseArgs.builder()
-     *             .shardedDatabaseId(testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.id())
-     *             .metadata(shardedDatabaseMetadata)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getShardedDatabase(GetShardedDatabaseArgs args) { - return getShardedDatabase(args, InvokeOptions.Empty); - } - /** - * This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Gets the details of the Sharded database identified by given id. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabaseArgs;
-     * 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 testShardedDatabase = GloballyDistributedDatabaseFunctions.getShardedDatabase(GetShardedDatabaseArgs.builder()
-     *             .shardedDatabaseId(testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.id())
-     *             .metadata(shardedDatabaseMetadata)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static CompletableFuture getShardedDatabasePlain(GetShardedDatabasePlainArgs args) { - return getShardedDatabasePlain(args, InvokeOptions.Empty); - } - /** - * This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Gets the details of the Sharded database identified by given id. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabaseArgs;
-     * 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 testShardedDatabase = GloballyDistributedDatabaseFunctions.getShardedDatabase(GetShardedDatabaseArgs.builder()
-     *             .shardedDatabaseId(testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.id())
-     *             .metadata(shardedDatabaseMetadata)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getShardedDatabase(GetShardedDatabaseArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:GloballyDistributedDatabase/getShardedDatabase:getShardedDatabase", TypeShape.of(GetShardedDatabaseResult.class), args, Utilities.withVersion(options)); - } - /** - * This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Gets the details of the Sharded database identified by given id. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabaseArgs;
-     * 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 testShardedDatabase = GloballyDistributedDatabaseFunctions.getShardedDatabase(GetShardedDatabaseArgs.builder()
-     *             .shardedDatabaseId(testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.id())
-     *             .metadata(shardedDatabaseMetadata)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static CompletableFuture getShardedDatabasePlain(GetShardedDatabasePlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:GloballyDistributedDatabase/getShardedDatabase:getShardedDatabase", TypeShape.of(GetShardedDatabaseResult.class), args, Utilities.withVersion(options)); - } - /** - * This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of Sharded databases. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabasesArgs;
-     * 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 testShardedDatabases = GloballyDistributedDatabaseFunctions.getShardedDatabases(GetShardedDatabasesArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .displayName(shardedDatabaseDisplayName)
-     *             .state(shardedDatabaseState)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getShardedDatabases(GetShardedDatabasesArgs args) { - return getShardedDatabases(args, InvokeOptions.Empty); - } - /** - * This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of Sharded databases. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabasesArgs;
-     * 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 testShardedDatabases = GloballyDistributedDatabaseFunctions.getShardedDatabases(GetShardedDatabasesArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .displayName(shardedDatabaseDisplayName)
-     *             .state(shardedDatabaseState)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static CompletableFuture getShardedDatabasesPlain(GetShardedDatabasesPlainArgs args) { - return getShardedDatabasesPlain(args, InvokeOptions.Empty); - } - /** - * This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of Sharded databases. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabasesArgs;
-     * 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 testShardedDatabases = GloballyDistributedDatabaseFunctions.getShardedDatabases(GetShardedDatabasesArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .displayName(shardedDatabaseDisplayName)
-     *             .state(shardedDatabaseState)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static Output getShardedDatabases(GetShardedDatabasesArgs args, InvokeOptions options) { - return Deployment.getInstance().invoke("oci:GloballyDistributedDatabase/getShardedDatabases:getShardedDatabases", TypeShape.of(GetShardedDatabasesResult.class), args, Utilities.withVersion(options)); - } - /** - * This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of Sharded databases. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
-     * {@code
-     * package generated_program;
-     * 
-     * import com.pulumi.Context;
-     * import com.pulumi.Pulumi;
-     * import com.pulumi.core.Output;
-     * import com.pulumi.oci.GloballyDistributedDatabase.GloballyDistributedDatabaseFunctions;
-     * import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabasesArgs;
-     * 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 testShardedDatabases = GloballyDistributedDatabaseFunctions.getShardedDatabases(GetShardedDatabasesArgs.builder()
-     *             .compartmentId(compartmentId)
-     *             .displayName(shardedDatabaseDisplayName)
-     *             .state(shardedDatabaseState)
-     *             .build());
-     * 
-     *     }
-     * }
-     * }
-     * 
- * <!--End PulumiCodeChooser --> - * - */ - public static CompletableFuture getShardedDatabasesPlain(GetShardedDatabasesPlainArgs args, InvokeOptions options) { - return Deployment.getInstance().invokeAsync("oci:GloballyDistributedDatabase/getShardedDatabases:getShardedDatabases", TypeShape.of(GetShardedDatabasesResult.class), args, Utilities.withVersion(options)); - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/PrivateEndpoint.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/PrivateEndpoint.java deleted file mode 100644 index 55c068154c..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/PrivateEndpoint.java +++ /dev/null @@ -1,347 +0,0 @@ -// *** 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.GloballyDistributedDatabase; - -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.GloballyDistributedDatabase.PrivateEndpointArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.PrivateEndpointState; -import com.pulumi.oci.Utilities; -import java.lang.String; -import java.util.List; -import java.util.Map; -import javax.annotation.Nullable; - -/** - * This resource provides the Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Creates a PrivateEndpoint. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - *
- * {@code
- * package generated_program;
- * 
- * import com.pulumi.Context;
- * import com.pulumi.Pulumi;
- * import com.pulumi.core.Output;
- * import com.pulumi.oci.GloballyDistributedDatabase.PrivateEndpoint;
- * import com.pulumi.oci.GloballyDistributedDatabase.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 testPrivateEndpoint = new PrivateEndpoint("testPrivateEndpoint", PrivateEndpointArgs.builder()
- *             .compartmentId(compartmentId)
- *             .displayName(privateEndpointDisplayName)
- *             .subnetId(testSubnet.id())
- *             .definedTags(Map.of("foo-namespace.bar-key", "value"))
- *             .description(privateEndpointDescription)
- *             .freeformTags(Map.of("bar-key", "value"))
- *             .nsgIds(privateEndpointNsgIds)
- *             .build());
- * 
- *     }
- * }
- * }
- * 
- * <!--End PulumiCodeChooser --> - * - * ## Import - * - * PrivateEndpoints can be imported using the `id`, e.g. - * - * ```sh - * $ pulumi import oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint test_private_endpoint "id" - * ``` - * - */ -@ResourceType(type="oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint") -public class PrivateEndpoint extends com.pulumi.resources.CustomResource { - /** - * (Updatable) Identifier of the compartment where private endpoint is to be created. - * - */ - @Export(name="compartmentId", refs={String.class}, tree="[0]") - private Output compartmentId; - - /** - * @return (Updatable) Identifier of the compartment where private endpoint is to be created. - * - */ - 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}, tree="[0,1,1]") - 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) PrivateEndpoint description. - * - */ - @Export(name="description", refs={String.class}, tree="[0]") - private Output description; - - /** - * @return (Updatable) PrivateEndpoint description. - * - */ - public Output description() { - return this.description; - } - /** - * (Updatable) Private endpoint display name. - * - */ - @Export(name="displayName", refs={String.class}, tree="[0]") - private Output displayName; - - /** - * @return (Updatable) Private endpoint display name. - * - */ - 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}, tree="[0,1,1]") - 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; - } - /** - * Detailed message for the lifecycle state. - * - */ - @Export(name="lifecycleStateDetails", refs={String.class}, tree="[0]") - private Output lifecycleStateDetails; - - /** - * @return Detailed message for the lifecycle state. - * - */ - public Output lifecycleStateDetails() { - return this.lifecycleStateDetails; - } - /** - * (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - */ - @Export(name="nsgIds", refs={List.class,String.class}, tree="[0,1]") - private Output> nsgIds; - - /** - * @return (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - */ - public Output> nsgIds() { - return this.nsgIds; - } - /** - * IP address of the Private Endpoint. - * - */ - @Export(name="privateIp", refs={String.class}, tree="[0]") - private Output privateIp; - - /** - * @return IP address of the Private Endpoint. - * - */ - public Output privateIp() { - return this.privateIp; - } - /** - * The OCIDs of sharded databases that consumes the given private endpoint. - * - */ - @Export(name="shardedDatabases", refs={List.class,String.class}, tree="[0,1]") - private Output> shardedDatabases; - - /** - * @return The OCIDs of sharded databases that consumes the given private endpoint. - * - */ - public Output> shardedDatabases() { - return this.shardedDatabases; - } - /** - * Lifecycle states for private endpoint. - * - */ - @Export(name="state", refs={String.class}, tree="[0]") - private Output state; - - /** - * @return Lifecycle states for private endpoint. - * - */ - public Output state() { - return this.state; - } - /** - * Identifier of the customer subnet against which 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 Identifier of the customer subnet against which 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; - } - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") - private Output> systemTags; - - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - public Output> systemTags() { - return this.systemTags; - } - /** - * The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - * - */ - @Export(name="timeCreated", refs={String.class}, tree="[0]") - private Output timeCreated; - - /** - * @return The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - * - */ - public Output timeCreated() { - return this.timeCreated; - } - /** - * The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - * - */ - @Export(name="timeUpdated", refs={String.class}, tree="[0]") - private Output timeUpdated; - - /** - * @return The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - * - */ - public Output timeUpdated() { - return this.timeUpdated; - } - /** - * Identifier of the VCN in which subnet exists. - * - */ - @Export(name="vcnId", refs={String.class}, tree="[0]") - private Output vcnId; - - /** - * @return Identifier of the VCN in which subnet exists. - * - */ - public Output vcnId() { - return this.vcnId; - } - - /** - * - * @param name The _unique_ name of the resulting resource. - */ - public PrivateEndpoint(java.lang.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(java.lang.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(java.lang.String name, PrivateEndpointArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); - } - - private PrivateEndpoint(java.lang.String name, Output id, @Nullable PrivateEndpointState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint", name, state, makeResourceOptions(options, id), false); - } - - private static PrivateEndpointArgs makeArgs(PrivateEndpointArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { - if (options != null && options.getUrn().isPresent()) { - return null; - } - return args == null ? PrivateEndpointArgs.Empty : args; - } - - 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(java.lang.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/GloballyDistributedDatabase/PrivateEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/PrivateEndpointArgs.java deleted file mode 100644 index 65100f2ec6..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/PrivateEndpointArgs.java +++ /dev/null @@ -1,339 +0,0 @@ -// *** 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.GloballyDistributedDatabase; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -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) Identifier of the compartment where private endpoint is to be created. - * - */ - @Import(name="compartmentId", required=true) - private Output compartmentId; - - /** - * @return (Updatable) Identifier of the compartment where private endpoint is to be created. - * - */ - 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) PrivateEndpoint description. - * - */ - @Import(name="description") - private @Nullable Output description; - - /** - * @return (Updatable) PrivateEndpoint description. - * - */ - public Optional> description() { - return Optional.ofNullable(this.description); - } - - /** - * (Updatable) Private endpoint display name. - * - */ - @Import(name="displayName", required=true) - private Output displayName; - - /** - * @return (Updatable) Private endpoint display name. - * - */ - 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) The OCIDs of the network security groups that the private endpoint belongs to. - * - */ - @Import(name="nsgIds") - private @Nullable Output> nsgIds; - - /** - * @return (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - */ - public Optional>> nsgIds() { - return Optional.ofNullable(this.nsgIds); - } - - /** - * Identifier of the customer subnet against which 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 Identifier of the customer subnet against which 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 PrivateEndpointArgs() {} - - private PrivateEndpointArgs(PrivateEndpointArgs $) { - this.compartmentId = $.compartmentId; - this.definedTags = $.definedTags; - this.description = $.description; - this.displayName = $.displayName; - this.freeformTags = $.freeformTags; - this.nsgIds = $.nsgIds; - 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) Identifier of the compartment where private endpoint is to be created. - * - * @return builder - * - */ - public Builder compartmentId(Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - /** - * @param compartmentId (Updatable) Identifier of the compartment where private endpoint is to be created. - * - * @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) PrivateEndpoint description. - * - * @return builder - * - */ - public Builder description(@Nullable Output description) { - $.description = description; - return this; - } - - /** - * @param description (Updatable) PrivateEndpoint description. - * - * @return builder - * - */ - public Builder description(String description) { - return description(Output.of(description)); - } - - /** - * @param displayName (Updatable) Private endpoint display name. - * - * @return builder - * - */ - public Builder displayName(Output displayName) { - $.displayName = displayName; - return this; - } - - /** - * @param displayName (Updatable) Private endpoint display name. - * - * @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 nsgIds (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - * @return builder - * - */ - public Builder nsgIds(@Nullable Output> nsgIds) { - $.nsgIds = nsgIds; - return this; - } - - /** - * @param nsgIds (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - * @return builder - * - */ - public Builder nsgIds(List nsgIds) { - return nsgIds(Output.of(nsgIds)); - } - - /** - * @param nsgIds (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - * @return builder - * - */ - public Builder nsgIds(String... nsgIds) { - return nsgIds(List.of(nsgIds)); - } - - /** - * @param subnetId Identifier of the customer subnet against which 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 Identifier of the customer subnet against which 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 PrivateEndpointArgs build() { - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("PrivateEndpointArgs", "compartmentId"); - } - if ($.displayName == null) { - throw new MissingRequiredPropertyException("PrivateEndpointArgs", "displayName"); - } - if ($.subnetId == null) { - throw new MissingRequiredPropertyException("PrivateEndpointArgs", "subnetId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/ShardedDatabase.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/ShardedDatabase.java deleted file mode 100644 index 544717ed5b..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/ShardedDatabase.java +++ /dev/null @@ -1,670 +0,0 @@ -// *** 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.GloballyDistributedDatabase; - -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.GloballyDistributedDatabase.ShardedDatabaseArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabaseState; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.ShardedDatabaseCatalogDetail; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.ShardedDatabaseConnectionString; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.ShardedDatabaseGsm; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.ShardedDatabasePatchOperation; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.ShardedDatabaseShardDetail; -import com.pulumi.oci.Utilities; -import java.lang.Integer; -import java.lang.String; -import java.util.List; -import java.util.Map; -import java.util.Optional; -import javax.annotation.Nullable; - -/** - * This resource provides the Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Creates a Sharded Database. - * - * Patch operation to add, remove or update shards to the sharded database topology. In single patch - * operation, multiple shards can be either added, or removed or updated. Combination of inserts, update - * and remove in single operation is not allowed. - * - * ## Example Usage - * - * <!--Start PulumiCodeChooser --> - * <!--End PulumiCodeChooser --> - * - * ## Import - * - * ShardedDatabases can be imported using the `id`, e.g. - * - * ```sh - * $ pulumi import oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase test_sharded_database "id" - * ``` - * - */ -@ResourceType(type="oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase") -public class ShardedDatabase extends com.pulumi.resources.CustomResource { - /** - * Collection of ATP-Dedicated catalogs that needs to be created. - * - */ - @Export(name="catalogDetails", refs={List.class,ShardedDatabaseCatalogDetail.class}, tree="[0,1]") - private Output> catalogDetails; - - /** - * @return Collection of ATP-Dedicated catalogs that needs to be created. - * - */ - public Output> catalogDetails() { - return this.catalogDetails; - } - /** - * The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - @Export(name="characterSet", refs={String.class}, tree="[0]") - private Output characterSet; - - /** - * @return The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - public Output characterSet() { - return this.characterSet; - } - /** - * The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - */ - @Export(name="chunks", refs={Integer.class}, tree="[0]") - private Output chunks; - - /** - * @return The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - */ - public Output chunks() { - return this.chunks; - } - /** - * The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - */ - @Export(name="clusterCertificateCommonName", refs={String.class}, tree="[0]") - private Output clusterCertificateCommonName; - - /** - * @return The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - */ - public Output clusterCertificateCommonName() { - return this.clusterCertificateCommonName; - } - /** - * (Updatable) Identifier of the compartment where sharded database is to be created. - * - */ - @Export(name="compartmentId", refs={String.class}, tree="[0]") - private Output compartmentId; - - /** - * @return (Updatable) Identifier of the compartment where sharded database is to be created. - * - */ - public Output compartmentId() { - return this.compartmentId; - } - /** - * (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - * - */ - @Export(name="configureGsmsTrigger", refs={Integer.class}, tree="[0]") - private Output configureGsmsTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - * - */ - public Output configureGsmsTrigger() { - return this.configureGsmsTrigger; - } - /** - * (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - * - */ - @Export(name="configureShardingTrigger", refs={Integer.class}, tree="[0]") - private Output configureShardingTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - * - */ - public Output> configureShardingTrigger() { - return Codegen.optional(this.configureShardingTrigger); - } - /** - * Details of sharded database connection String. - * - */ - @Export(name="connectionStrings", refs={List.class,ShardedDatabaseConnectionString.class}, tree="[0,1]") - private Output> connectionStrings; - - /** - * @return Details of sharded database connection String. - * - */ - public Output> connectionStrings() { - return this.connectionStrings; - } - /** - * The database deployment type. - * - */ - @Export(name="dbDeploymentType", refs={String.class}, tree="[0]") - private Output dbDeploymentType; - - /** - * @return The database deployment type. - * - */ - public Output dbDeploymentType() { - return this.dbDeploymentType; - } - /** - * Oracle Database version of the Autonomous Container Database. - * - */ - @Export(name="dbVersion", refs={String.class}, tree="[0]") - private Output dbVersion; - - /** - * @return Oracle Database version of the Autonomous Container Database. - * - */ - public Output dbVersion() { - return this.dbVersion; - } - /** - * Possible workload types. - * - */ - @Export(name="dbWorkload", refs={String.class}, tree="[0]") - private Output dbWorkload; - - /** - * @return Possible workload types. - * - */ - public Output dbWorkload() { - return this.dbWorkload; - } - /** - * (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}, tree="[0,1,1]") - 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) Oracle sharded database display name. - * - */ - @Export(name="displayName", refs={String.class}, tree="[0]") - private Output displayName; - - /** - * @return (Updatable) Oracle sharded database display name. - * - */ - public Output displayName() { - return this.displayName; - } - /** - * (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - @Export(name="downloadGsmCertificateSigningRequestTrigger", refs={Integer.class}, tree="[0]") - private Output downloadGsmCertificateSigningRequestTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - public Output> downloadGsmCertificateSigningRequestTrigger() { - return Codegen.optional(this.downloadGsmCertificateSigningRequestTrigger); - } - /** - * (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}, tree="[0,1,1]") - 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; - } - /** - * (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - @Export(name="generateGsmCertificateSigningRequestTrigger", refs={Integer.class}, tree="[0]") - private Output generateGsmCertificateSigningRequestTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - public Output> generateGsmCertificateSigningRequestTrigger() { - return Codegen.optional(this.generateGsmCertificateSigningRequestTrigger); - } - /** - * (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - * - */ - @Export(name="generateWalletTrigger", refs={Integer.class}, tree="[0]") - private Output generateWalletTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - * - */ - public Output generateWalletTrigger() { - return this.generateWalletTrigger; - } - /** - * (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - * - */ - @Export(name="getConnectionStringTrigger", refs={Integer.class}, tree="[0]") - private Output getConnectionStringTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - * - */ - public Output> getConnectionStringTrigger() { - return Codegen.optional(this.getConnectionStringTrigger); - } - /** - * Details of GSM instances for the sharded database. - * - */ - @Export(name="gsms", refs={List.class,ShardedDatabaseGsm.class}, tree="[0,1]") - private Output> gsms; - - /** - * @return Details of GSM instances for the sharded database. - * - */ - public Output> gsms() { - return this.gsms; - } - @Export(name="lifecycleState", refs={String.class}, tree="[0]") - private Output lifecycleState; - - public Output lifecycleState() { - return this.lifecycleState; - } - /** - * Detailed message for the lifecycle state. - * - */ - @Export(name="lifecycleStateDetails", refs={String.class}, tree="[0]") - private Output lifecycleStateDetails; - - /** - * @return Detailed message for the lifecycle state. - * - */ - public Output lifecycleStateDetails() { - return this.lifecycleStateDetails; - } - /** - * The listener port number for sharded database. - * - */ - @Export(name="listenerPort", refs={Integer.class}, tree="[0]") - private Output listenerPort; - - /** - * @return The listener port number for sharded database. - * - */ - public Output listenerPort() { - return this.listenerPort; - } - /** - * The TLS listener port number for sharded database. - * - */ - @Export(name="listenerPortTls", refs={Integer.class}, tree="[0]") - private Output listenerPortTls; - - /** - * @return The TLS listener port number for sharded database. - * - */ - public Output listenerPortTls() { - return this.listenerPortTls; - } - /** - * The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - @Export(name="ncharacterSet", refs={String.class}, tree="[0]") - private Output ncharacterSet; - - /** - * @return The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - public Output ncharacterSet() { - return this.ncharacterSet; - } - /** - * Ons port local for sharded database. - * - */ - @Export(name="onsPortLocal", refs={Integer.class}, tree="[0]") - private Output onsPortLocal; - - /** - * @return Ons port local for sharded database. - * - */ - public Output onsPortLocal() { - return this.onsPortLocal; - } - /** - * Ons remote port for sharded database. - * - */ - @Export(name="onsPortRemote", refs={Integer.class}, tree="[0]") - private Output onsPortRemote; - - /** - * @return Ons remote port for sharded database. - * - */ - public Output onsPortRemote() { - return this.onsPortRemote; - } - /** - * (Updatable) - * - */ - @Export(name="patchOperations", refs={List.class,ShardedDatabasePatchOperation.class}, tree="[0,1]") - private Output> patchOperations; - - /** - * @return (Updatable) - * - */ - public Output>> patchOperations() { - return Codegen.optional(this.patchOperations); - } - /** - * Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - * - */ - @Export(name="prefix", refs={String.class}, tree="[0]") - private Output prefix; - - /** - * @return Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - * - */ - public Output prefix() { - return this.prefix; - } - /** - * The OCID of private endpoint being used by the sharded database. - * - */ - @Export(name="privateEndpoint", refs={String.class}, tree="[0]") - private Output privateEndpoint; - - /** - * @return The OCID of private endpoint being used by the sharded database. - * - */ - public Output privateEndpoint() { - return this.privateEndpoint; - } - /** - * Collection of ATP-Dedicated shards that needs to be created. - * - */ - @Export(name="shardDetails", refs={List.class,ShardedDatabaseShardDetail.class}, tree="[0,1]") - private Output> shardDetails; - - /** - * @return Collection of ATP-Dedicated shards that needs to be created. - * - */ - public Output> shardDetails() { - return this.shardDetails; - } - @Export(name="shardedDatabaseId", refs={String.class}, tree="[0]") - private Output shardedDatabaseId; - - public Output shardedDatabaseId() { - return this.shardedDatabaseId; - } - /** - * Sharding Method. - * - */ - @Export(name="shardingMethod", refs={String.class}, tree="[0]") - private Output shardingMethod; - - /** - * @return Sharding Method. - * - */ - public Output shardingMethod() { - return this.shardingMethod; - } - /** - * (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - * - */ - @Export(name="startDatabaseTrigger", refs={Integer.class}, tree="[0]") - private Output startDatabaseTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - * - */ - public Output> startDatabaseTrigger() { - return Codegen.optional(this.startDatabaseTrigger); - } - /** - * Lifecycle states for sharded databases. - * - */ - @Export(name="state", refs={String.class}, tree="[0]") - private Output state; - - /** - * @return Lifecycle states for sharded databases. - * - */ - public Output state() { - return this.state; - } - /** - * (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - * - */ - @Export(name="stopDatabaseTrigger", refs={Integer.class}, tree="[0]") - private Output stopDatabaseTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - * - */ - public Output> stopDatabaseTrigger() { - return Codegen.optional(this.stopDatabaseTrigger); - } - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - @Export(name="systemTags", refs={Map.class,String.class}, tree="[0,1,1]") - private Output> systemTags; - - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - public Output> systemTags() { - return this.systemTags; - } - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - @Export(name="timeCreated", refs={String.class}, tree="[0]") - private Output timeCreated; - - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public Output timeCreated() { - return this.timeCreated; - } - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - @Export(name="timeUpdated", refs={String.class}, tree="[0]") - private Output timeUpdated; - - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public Output timeUpdated() { - return this.timeUpdated; - } - /** - * Timezone associated with the sharded database. - * - */ - @Export(name="timeZone", refs={String.class}, tree="[0]") - private Output timeZone; - - /** - * @return Timezone associated with the sharded database. - * - */ - public Output timeZone() { - return this.timeZone; - } - /** - * (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - * - */ - @Export(name="uploadSignedCertificateAndGenerateWalletTrigger", refs={Integer.class}, tree="[0]") - private Output uploadSignedCertificateAndGenerateWalletTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - * - */ - public Output uploadSignedCertificateAndGenerateWalletTrigger() { - return this.uploadSignedCertificateAndGenerateWalletTrigger; - } - /** - * (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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="validateNetworkTrigger", refs={Integer.class}, tree="[0]") - private Output validateNetworkTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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> validateNetworkTrigger() { - return Codegen.optional(this.validateNetworkTrigger); - } - - /** - * - * @param name The _unique_ name of the resulting resource. - */ - public ShardedDatabase(java.lang.String name) { - this(name, ShardedDatabaseArgs.Empty); - } - /** - * - * @param name The _unique_ name of the resulting resource. - * @param args The arguments to use to populate this resource's properties. - */ - public ShardedDatabase(java.lang.String name, ShardedDatabaseArgs 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 ShardedDatabase(java.lang.String name, ShardedDatabaseArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false); - } - - private ShardedDatabase(java.lang.String name, Output id, @Nullable ShardedDatabaseState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { - super("oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase", name, state, makeResourceOptions(options, id), false); - } - - private static ShardedDatabaseArgs makeArgs(ShardedDatabaseArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { - if (options != null && options.getUrn().isPresent()) { - return null; - } - return args == null ? ShardedDatabaseArgs.Empty : args; - } - - 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 ShardedDatabase get(java.lang.String name, Output id, @Nullable ShardedDatabaseState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { - return new ShardedDatabase(name, id, state, options); - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/ShardedDatabaseArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/ShardedDatabaseArgs.java deleted file mode 100644 index fc4b9931cd..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/ShardedDatabaseArgs.java +++ /dev/null @@ -1,1139 +0,0 @@ -// *** 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.GloballyDistributedDatabase; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabaseCatalogDetailArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabasePatchOperationArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabaseShardDetailArgs; -import java.lang.Integer; -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 ShardedDatabaseArgs extends com.pulumi.resources.ResourceArgs { - - public static final ShardedDatabaseArgs Empty = new ShardedDatabaseArgs(); - - /** - * Collection of ATP-Dedicated catalogs that needs to be created. - * - */ - @Import(name="catalogDetails", required=true) - private Output> catalogDetails; - - /** - * @return Collection of ATP-Dedicated catalogs that needs to be created. - * - */ - public Output> catalogDetails() { - return this.catalogDetails; - } - - /** - * The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - @Import(name="characterSet", required=true) - private Output characterSet; - - /** - * @return The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - public Output characterSet() { - return this.characterSet; - } - - /** - * The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - */ - @Import(name="chunks") - private @Nullable Output chunks; - - /** - * @return The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - */ - public Optional> chunks() { - return Optional.ofNullable(this.chunks); - } - - /** - * The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - */ - @Import(name="clusterCertificateCommonName") - private @Nullable Output clusterCertificateCommonName; - - /** - * @return The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - */ - public Optional> clusterCertificateCommonName() { - return Optional.ofNullable(this.clusterCertificateCommonName); - } - - /** - * (Updatable) Identifier of the compartment where sharded database is to be created. - * - */ - @Import(name="compartmentId", required=true) - private Output compartmentId; - - /** - * @return (Updatable) Identifier of the compartment where sharded database is to be created. - * - */ - public Output compartmentId() { - return this.compartmentId; - } - - /** - * (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - * - */ - @Import(name="configureShardingTrigger") - private @Nullable Output configureShardingTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - * - */ - public Optional> configureShardingTrigger() { - return Optional.ofNullable(this.configureShardingTrigger); - } - - /** - * The database deployment type. - * - */ - @Import(name="dbDeploymentType", required=true) - private Output dbDeploymentType; - - /** - * @return The database deployment type. - * - */ - public Output dbDeploymentType() { - return this.dbDeploymentType; - } - - /** - * Oracle Database version of the Autonomous Container Database. - * - */ - @Import(name="dbVersion", required=true) - private Output dbVersion; - - /** - * @return Oracle Database version of the Autonomous Container Database. - * - */ - public Output dbVersion() { - return this.dbVersion; - } - - /** - * Possible workload types. - * - */ - @Import(name="dbWorkload", required=true) - private Output dbWorkload; - - /** - * @return Possible workload types. - * - */ - public Output dbWorkload() { - return this.dbWorkload; - } - - /** - * (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) Oracle sharded database display name. - * - */ - @Import(name="displayName", required=true) - private Output displayName; - - /** - * @return (Updatable) Oracle sharded database display name. - * - */ - public Output displayName() { - return this.displayName; - } - - /** - * (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - @Import(name="downloadGsmCertificateSigningRequestTrigger") - private @Nullable Output downloadGsmCertificateSigningRequestTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - public Optional> downloadGsmCertificateSigningRequestTrigger() { - return Optional.ofNullable(this.downloadGsmCertificateSigningRequestTrigger); - } - - /** - * (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) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - @Import(name="generateGsmCertificateSigningRequestTrigger") - private @Nullable Output generateGsmCertificateSigningRequestTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - public Optional> generateGsmCertificateSigningRequestTrigger() { - return Optional.ofNullable(this.generateGsmCertificateSigningRequestTrigger); - } - - /** - * (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - * - */ - @Import(name="getConnectionStringTrigger") - private @Nullable Output getConnectionStringTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - * - */ - public Optional> getConnectionStringTrigger() { - return Optional.ofNullable(this.getConnectionStringTrigger); - } - - /** - * The listener port number for sharded database. - * - */ - @Import(name="listenerPort", required=true) - private Output listenerPort; - - /** - * @return The listener port number for sharded database. - * - */ - public Output listenerPort() { - return this.listenerPort; - } - - /** - * The TLS listener port number for sharded database. - * - */ - @Import(name="listenerPortTls", required=true) - private Output listenerPortTls; - - /** - * @return The TLS listener port number for sharded database. - * - */ - public Output listenerPortTls() { - return this.listenerPortTls; - } - - /** - * The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - @Import(name="ncharacterSet", required=true) - private Output ncharacterSet; - - /** - * @return The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - public Output ncharacterSet() { - return this.ncharacterSet; - } - - /** - * Ons port local for sharded database. - * - */ - @Import(name="onsPortLocal", required=true) - private Output onsPortLocal; - - /** - * @return Ons port local for sharded database. - * - */ - public Output onsPortLocal() { - return this.onsPortLocal; - } - - /** - * Ons remote port for sharded database. - * - */ - @Import(name="onsPortRemote", required=true) - private Output onsPortRemote; - - /** - * @return Ons remote port for sharded database. - * - */ - public Output onsPortRemote() { - return this.onsPortRemote; - } - - /** - * (Updatable) - * - */ - @Import(name="patchOperations") - private @Nullable Output> patchOperations; - - /** - * @return (Updatable) - * - */ - public Optional>> patchOperations() { - return Optional.ofNullable(this.patchOperations); - } - - /** - * Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - * - */ - @Import(name="prefix", required=true) - private Output prefix; - - /** - * @return Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - * - */ - public Output prefix() { - return this.prefix; - } - - /** - * Collection of ATP-Dedicated shards that needs to be created. - * - */ - @Import(name="shardDetails", required=true) - private Output> shardDetails; - - /** - * @return Collection of ATP-Dedicated shards that needs to be created. - * - */ - public Output> shardDetails() { - return this.shardDetails; - } - - /** - * Sharding Method. - * - */ - @Import(name="shardingMethod", required=true) - private Output shardingMethod; - - /** - * @return Sharding Method. - * - */ - public Output shardingMethod() { - return this.shardingMethod; - } - - /** - * (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - * - */ - @Import(name="startDatabaseTrigger") - private @Nullable Output startDatabaseTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - * - */ - public Optional> startDatabaseTrigger() { - return Optional.ofNullable(this.startDatabaseTrigger); - } - - /** - * (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - * - */ - @Import(name="stopDatabaseTrigger") - private @Nullable Output stopDatabaseTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - * - */ - public Optional> stopDatabaseTrigger() { - return Optional.ofNullable(this.stopDatabaseTrigger); - } - - /** - * (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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="validateNetworkTrigger") - private @Nullable Output validateNetworkTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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> validateNetworkTrigger() { - return Optional.ofNullable(this.validateNetworkTrigger); - } - - private ShardedDatabaseArgs() {} - - private ShardedDatabaseArgs(ShardedDatabaseArgs $) { - this.catalogDetails = $.catalogDetails; - this.characterSet = $.characterSet; - this.chunks = $.chunks; - this.clusterCertificateCommonName = $.clusterCertificateCommonName; - this.compartmentId = $.compartmentId; - this.configureShardingTrigger = $.configureShardingTrigger; - this.dbDeploymentType = $.dbDeploymentType; - this.dbVersion = $.dbVersion; - this.dbWorkload = $.dbWorkload; - this.definedTags = $.definedTags; - this.displayName = $.displayName; - this.downloadGsmCertificateSigningRequestTrigger = $.downloadGsmCertificateSigningRequestTrigger; - this.freeformTags = $.freeformTags; - this.generateGsmCertificateSigningRequestTrigger = $.generateGsmCertificateSigningRequestTrigger; - this.getConnectionStringTrigger = $.getConnectionStringTrigger; - this.listenerPort = $.listenerPort; - this.listenerPortTls = $.listenerPortTls; - this.ncharacterSet = $.ncharacterSet; - this.onsPortLocal = $.onsPortLocal; - this.onsPortRemote = $.onsPortRemote; - this.patchOperations = $.patchOperations; - this.prefix = $.prefix; - this.shardDetails = $.shardDetails; - this.shardingMethod = $.shardingMethod; - this.startDatabaseTrigger = $.startDatabaseTrigger; - this.stopDatabaseTrigger = $.stopDatabaseTrigger; - this.validateNetworkTrigger = $.validateNetworkTrigger; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ShardedDatabaseArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ShardedDatabaseArgs $; - - public Builder() { - $ = new ShardedDatabaseArgs(); - } - - public Builder(ShardedDatabaseArgs defaults) { - $ = new ShardedDatabaseArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param catalogDetails Collection of ATP-Dedicated catalogs that needs to be created. - * - * @return builder - * - */ - public Builder catalogDetails(Output> catalogDetails) { - $.catalogDetails = catalogDetails; - return this; - } - - /** - * @param catalogDetails Collection of ATP-Dedicated catalogs that needs to be created. - * - * @return builder - * - */ - public Builder catalogDetails(List catalogDetails) { - return catalogDetails(Output.of(catalogDetails)); - } - - /** - * @param catalogDetails Collection of ATP-Dedicated catalogs that needs to be created. - * - * @return builder - * - */ - public Builder catalogDetails(ShardedDatabaseCatalogDetailArgs... catalogDetails) { - return catalogDetails(List.of(catalogDetails)); - } - - /** - * @param characterSet The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - * @return builder - * - */ - public Builder characterSet(Output characterSet) { - $.characterSet = characterSet; - return this; - } - - /** - * @param characterSet The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - * @return builder - * - */ - public Builder characterSet(String characterSet) { - return characterSet(Output.of(characterSet)); - } - - /** - * @param chunks The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - * @return builder - * - */ - public Builder chunks(@Nullable Output chunks) { - $.chunks = chunks; - return this; - } - - /** - * @param chunks The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - * @return builder - * - */ - public Builder chunks(Integer chunks) { - return chunks(Output.of(chunks)); - } - - /** - * @param clusterCertificateCommonName The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - * @return builder - * - */ - public Builder clusterCertificateCommonName(@Nullable Output clusterCertificateCommonName) { - $.clusterCertificateCommonName = clusterCertificateCommonName; - return this; - } - - /** - * @param clusterCertificateCommonName The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - * @return builder - * - */ - public Builder clusterCertificateCommonName(String clusterCertificateCommonName) { - return clusterCertificateCommonName(Output.of(clusterCertificateCommonName)); - } - - /** - * @param compartmentId (Updatable) Identifier of the compartment where sharded database is to be created. - * - * @return builder - * - */ - public Builder compartmentId(Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - /** - * @param compartmentId (Updatable) Identifier of the compartment where sharded database is to be created. - * - * @return builder - * - */ - public Builder compartmentId(String compartmentId) { - return compartmentId(Output.of(compartmentId)); - } - - /** - * @param configureShardingTrigger (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - * - * @return builder - * - */ - public Builder configureShardingTrigger(@Nullable Output configureShardingTrigger) { - $.configureShardingTrigger = configureShardingTrigger; - return this; - } - - /** - * @param configureShardingTrigger (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - * - * @return builder - * - */ - public Builder configureShardingTrigger(Integer configureShardingTrigger) { - return configureShardingTrigger(Output.of(configureShardingTrigger)); - } - - /** - * @param dbDeploymentType The database deployment type. - * - * @return builder - * - */ - public Builder dbDeploymentType(Output dbDeploymentType) { - $.dbDeploymentType = dbDeploymentType; - return this; - } - - /** - * @param dbDeploymentType The database deployment type. - * - * @return builder - * - */ - public Builder dbDeploymentType(String dbDeploymentType) { - return dbDeploymentType(Output.of(dbDeploymentType)); - } - - /** - * @param dbVersion Oracle Database version of the Autonomous Container Database. - * - * @return builder - * - */ - public Builder dbVersion(Output dbVersion) { - $.dbVersion = dbVersion; - return this; - } - - /** - * @param dbVersion Oracle Database version of the Autonomous Container Database. - * - * @return builder - * - */ - public Builder dbVersion(String dbVersion) { - return dbVersion(Output.of(dbVersion)); - } - - /** - * @param dbWorkload Possible workload types. - * - * @return builder - * - */ - public Builder dbWorkload(Output dbWorkload) { - $.dbWorkload = dbWorkload; - return this; - } - - /** - * @param dbWorkload Possible workload types. - * - * @return builder - * - */ - public Builder dbWorkload(String dbWorkload) { - return dbWorkload(Output.of(dbWorkload)); - } - - /** - * @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 displayName (Updatable) Oracle sharded database display name. - * - * @return builder - * - */ - public Builder displayName(Output displayName) { - $.displayName = displayName; - return this; - } - - /** - * @param displayName (Updatable) Oracle sharded database display name. - * - * @return builder - * - */ - public Builder displayName(String displayName) { - return displayName(Output.of(displayName)); - } - - /** - * @param downloadGsmCertificateSigningRequestTrigger (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - * - * @return builder - * - */ - public Builder downloadGsmCertificateSigningRequestTrigger(@Nullable Output downloadGsmCertificateSigningRequestTrigger) { - $.downloadGsmCertificateSigningRequestTrigger = downloadGsmCertificateSigningRequestTrigger; - return this; - } - - /** - * @param downloadGsmCertificateSigningRequestTrigger (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - * - * @return builder - * - */ - public Builder downloadGsmCertificateSigningRequestTrigger(Integer downloadGsmCertificateSigningRequestTrigger) { - return downloadGsmCertificateSigningRequestTrigger(Output.of(downloadGsmCertificateSigningRequestTrigger)); - } - - /** - * @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 generateGsmCertificateSigningRequestTrigger (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - * - * @return builder - * - */ - public Builder generateGsmCertificateSigningRequestTrigger(@Nullable Output generateGsmCertificateSigningRequestTrigger) { - $.generateGsmCertificateSigningRequestTrigger = generateGsmCertificateSigningRequestTrigger; - return this; - } - - /** - * @param generateGsmCertificateSigningRequestTrigger (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - * - * @return builder - * - */ - public Builder generateGsmCertificateSigningRequestTrigger(Integer generateGsmCertificateSigningRequestTrigger) { - return generateGsmCertificateSigningRequestTrigger(Output.of(generateGsmCertificateSigningRequestTrigger)); - } - - /** - * @param getConnectionStringTrigger (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - * - * @return builder - * - */ - public Builder getConnectionStringTrigger(@Nullable Output getConnectionStringTrigger) { - $.getConnectionStringTrigger = getConnectionStringTrigger; - return this; - } - - /** - * @param getConnectionStringTrigger (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - * - * @return builder - * - */ - public Builder getConnectionStringTrigger(Integer getConnectionStringTrigger) { - return getConnectionStringTrigger(Output.of(getConnectionStringTrigger)); - } - - /** - * @param listenerPort The listener port number for sharded database. - * - * @return builder - * - */ - public Builder listenerPort(Output listenerPort) { - $.listenerPort = listenerPort; - return this; - } - - /** - * @param listenerPort The listener port number for sharded database. - * - * @return builder - * - */ - public Builder listenerPort(Integer listenerPort) { - return listenerPort(Output.of(listenerPort)); - } - - /** - * @param listenerPortTls The TLS listener port number for sharded database. - * - * @return builder - * - */ - public Builder listenerPortTls(Output listenerPortTls) { - $.listenerPortTls = listenerPortTls; - return this; - } - - /** - * @param listenerPortTls The TLS listener port number for sharded database. - * - * @return builder - * - */ - public Builder listenerPortTls(Integer listenerPortTls) { - return listenerPortTls(Output.of(listenerPortTls)); - } - - /** - * @param ncharacterSet The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - * @return builder - * - */ - public Builder ncharacterSet(Output ncharacterSet) { - $.ncharacterSet = ncharacterSet; - return this; - } - - /** - * @param ncharacterSet The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - * @return builder - * - */ - public Builder ncharacterSet(String ncharacterSet) { - return ncharacterSet(Output.of(ncharacterSet)); - } - - /** - * @param onsPortLocal Ons port local for sharded database. - * - * @return builder - * - */ - public Builder onsPortLocal(Output onsPortLocal) { - $.onsPortLocal = onsPortLocal; - return this; - } - - /** - * @param onsPortLocal Ons port local for sharded database. - * - * @return builder - * - */ - public Builder onsPortLocal(Integer onsPortLocal) { - return onsPortLocal(Output.of(onsPortLocal)); - } - - /** - * @param onsPortRemote Ons remote port for sharded database. - * - * @return builder - * - */ - public Builder onsPortRemote(Output onsPortRemote) { - $.onsPortRemote = onsPortRemote; - return this; - } - - /** - * @param onsPortRemote Ons remote port for sharded database. - * - * @return builder - * - */ - public Builder onsPortRemote(Integer onsPortRemote) { - return onsPortRemote(Output.of(onsPortRemote)); - } - - /** - * @param patchOperations (Updatable) - * - * @return builder - * - */ - public Builder patchOperations(@Nullable Output> patchOperations) { - $.patchOperations = patchOperations; - return this; - } - - /** - * @param patchOperations (Updatable) - * - * @return builder - * - */ - public Builder patchOperations(List patchOperations) { - return patchOperations(Output.of(patchOperations)); - } - - /** - * @param patchOperations (Updatable) - * - * @return builder - * - */ - public Builder patchOperations(ShardedDatabasePatchOperationArgs... patchOperations) { - return patchOperations(List.of(patchOperations)); - } - - /** - * @param prefix Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - * - * @return builder - * - */ - public Builder prefix(Output prefix) { - $.prefix = prefix; - return this; - } - - /** - * @param prefix Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - * - * @return builder - * - */ - public Builder prefix(String prefix) { - return prefix(Output.of(prefix)); - } - - /** - * @param shardDetails Collection of ATP-Dedicated shards that needs to be created. - * - * @return builder - * - */ - public Builder shardDetails(Output> shardDetails) { - $.shardDetails = shardDetails; - return this; - } - - /** - * @param shardDetails Collection of ATP-Dedicated shards that needs to be created. - * - * @return builder - * - */ - public Builder shardDetails(List shardDetails) { - return shardDetails(Output.of(shardDetails)); - } - - /** - * @param shardDetails Collection of ATP-Dedicated shards that needs to be created. - * - * @return builder - * - */ - public Builder shardDetails(ShardedDatabaseShardDetailArgs... shardDetails) { - return shardDetails(List.of(shardDetails)); - } - - /** - * @param shardingMethod Sharding Method. - * - * @return builder - * - */ - public Builder shardingMethod(Output shardingMethod) { - $.shardingMethod = shardingMethod; - return this; - } - - /** - * @param shardingMethod Sharding Method. - * - * @return builder - * - */ - public Builder shardingMethod(String shardingMethod) { - return shardingMethod(Output.of(shardingMethod)); - } - - /** - * @param startDatabaseTrigger (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - * - * @return builder - * - */ - public Builder startDatabaseTrigger(@Nullable Output startDatabaseTrigger) { - $.startDatabaseTrigger = startDatabaseTrigger; - return this; - } - - /** - * @param startDatabaseTrigger (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - * - * @return builder - * - */ - public Builder startDatabaseTrigger(Integer startDatabaseTrigger) { - return startDatabaseTrigger(Output.of(startDatabaseTrigger)); - } - - /** - * @param stopDatabaseTrigger (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - * - * @return builder - * - */ - public Builder stopDatabaseTrigger(@Nullable Output stopDatabaseTrigger) { - $.stopDatabaseTrigger = stopDatabaseTrigger; - return this; - } - - /** - * @param stopDatabaseTrigger (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - * - * @return builder - * - */ - public Builder stopDatabaseTrigger(Integer stopDatabaseTrigger) { - return stopDatabaseTrigger(Output.of(stopDatabaseTrigger)); - } - - /** - * @param validateNetworkTrigger (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 validateNetworkTrigger(@Nullable Output validateNetworkTrigger) { - $.validateNetworkTrigger = validateNetworkTrigger; - return this; - } - - /** - * @param validateNetworkTrigger (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 validateNetworkTrigger(Integer validateNetworkTrigger) { - return validateNetworkTrigger(Output.of(validateNetworkTrigger)); - } - - public ShardedDatabaseArgs build() { - if ($.catalogDetails == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "catalogDetails"); - } - if ($.characterSet == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "characterSet"); - } - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "compartmentId"); - } - if ($.dbDeploymentType == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "dbDeploymentType"); - } - if ($.dbVersion == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "dbVersion"); - } - if ($.dbWorkload == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "dbWorkload"); - } - if ($.displayName == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "displayName"); - } - if ($.listenerPort == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "listenerPort"); - } - if ($.listenerPortTls == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "listenerPortTls"); - } - if ($.ncharacterSet == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "ncharacterSet"); - } - if ($.onsPortLocal == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "onsPortLocal"); - } - if ($.onsPortRemote == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "onsPortRemote"); - } - if ($.prefix == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "prefix"); - } - if ($.shardDetails == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "shardDetails"); - } - if ($.shardingMethod == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseArgs", "shardingMethod"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointArgs.java deleted file mode 100644 index f1d872974b..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointArgs.java +++ /dev/null @@ -1,85 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class GetPrivateEndpointArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetPrivateEndpointArgs Empty = new GetPrivateEndpointArgs(); - - /** - * Oracle Sharded Database PrivateEndpoint identifier - * - */ - @Import(name="privateEndpointId", required=true) - private Output privateEndpointId; - - /** - * @return Oracle Sharded Database PrivateEndpoint identifier - * - */ - public Output privateEndpointId() { - return this.privateEndpointId; - } - - private GetPrivateEndpointArgs() {} - - private GetPrivateEndpointArgs(GetPrivateEndpointArgs $) { - this.privateEndpointId = $.privateEndpointId; - } - - 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 privateEndpointId Oracle Sharded Database PrivateEndpoint identifier - * - * @return builder - * - */ - public Builder privateEndpointId(Output privateEndpointId) { - $.privateEndpointId = privateEndpointId; - return this; - } - - /** - * @param privateEndpointId Oracle Sharded Database PrivateEndpoint identifier - * - * @return builder - * - */ - public Builder privateEndpointId(String privateEndpointId) { - return privateEndpointId(Output.of(privateEndpointId)); - } - - public GetPrivateEndpointArgs build() { - if ($.privateEndpointId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointArgs", "privateEndpointId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointPlainArgs.java deleted file mode 100644 index 45543d88cb..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointPlainArgs.java +++ /dev/null @@ -1,74 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class GetPrivateEndpointPlainArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetPrivateEndpointPlainArgs Empty = new GetPrivateEndpointPlainArgs(); - - /** - * Oracle Sharded Database PrivateEndpoint identifier - * - */ - @Import(name="privateEndpointId", required=true) - private String privateEndpointId; - - /** - * @return Oracle Sharded Database PrivateEndpoint identifier - * - */ - public String privateEndpointId() { - return this.privateEndpointId; - } - - private GetPrivateEndpointPlainArgs() {} - - private GetPrivateEndpointPlainArgs(GetPrivateEndpointPlainArgs $) { - this.privateEndpointId = $.privateEndpointId; - } - - 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 privateEndpointId Oracle Sharded Database PrivateEndpoint identifier - * - * @return builder - * - */ - public Builder privateEndpointId(String privateEndpointId) { - $.privateEndpointId = privateEndpointId; - return this; - } - - public GetPrivateEndpointPlainArgs build() { - if ($.privateEndpointId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointPlainArgs", "privateEndpointId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsPlainArgs.java deleted file mode 100644 index 270ede79ca..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetPrivateEndpointsPlainArgs.java +++ /dev/null @@ -1,149 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.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(); - - /** - * The ID of the compartment in which to list resources. - * - */ - @Import(name="compartmentId", required=true) - private String compartmentId; - - /** - * @return The ID of the compartment in which to list resources. - * - */ - public String compartmentId() { - return this.compartmentId; - } - - /** - * A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - * - */ - @Import(name="displayName") - private @Nullable String displayName; - - /** - * @return A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - * - */ - public Optional displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="filters") - private @Nullable List filters; - - public Optional> filters() { - return Optional.ofNullable(this.filters); - } - - /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. - * - */ - @Import(name="state") - private @Nullable String state; - - /** - * @return A filter to return only resources their lifecycleState matches the given lifecycleState. - * - */ - public Optional state() { - return Optional.ofNullable(this.state); - } - - private GetPrivateEndpointsPlainArgs() {} - - private GetPrivateEndpointsPlainArgs(GetPrivateEndpointsPlainArgs $) { - this.compartmentId = $.compartmentId; - 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 The ID of the compartment in which to list resources. - * - * @return builder - * - */ - public Builder compartmentId(String compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - /** - * @param displayName A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - * - * @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 A filter to return only resources their lifecycleState matches the given lifecycleState. - * - * @return builder - * - */ - public Builder state(@Nullable String state) { - $.state = state; - return this; - } - - public GetPrivateEndpointsPlainArgs build() { - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPlainArgs", "compartmentId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabaseArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabaseArgs.java deleted file mode 100644 index 024e7f48ec..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabaseArgs.java +++ /dev/null @@ -1,124 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetShardedDatabaseArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetShardedDatabaseArgs Empty = new GetShardedDatabaseArgs(); - - /** - * Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - */ - @Import(name="metadata") - private @Nullable Output metadata; - - /** - * @return Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - */ - public Optional> metadata() { - return Optional.ofNullable(this.metadata); - } - - /** - * Sharded Database identifier - * - */ - @Import(name="shardedDatabaseId", required=true) - private Output shardedDatabaseId; - - /** - * @return Sharded Database identifier - * - */ - public Output shardedDatabaseId() { - return this.shardedDatabaseId; - } - - private GetShardedDatabaseArgs() {} - - private GetShardedDatabaseArgs(GetShardedDatabaseArgs $) { - this.metadata = $.metadata; - this.shardedDatabaseId = $.shardedDatabaseId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetShardedDatabaseArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetShardedDatabaseArgs $; - - public Builder() { - $ = new GetShardedDatabaseArgs(); - } - - public Builder(GetShardedDatabaseArgs defaults) { - $ = new GetShardedDatabaseArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param metadata Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - * @return builder - * - */ - public Builder metadata(@Nullable Output metadata) { - $.metadata = metadata; - return this; - } - - /** - * @param metadata Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - * @return builder - * - */ - public Builder metadata(String metadata) { - return metadata(Output.of(metadata)); - } - - /** - * @param shardedDatabaseId Sharded Database identifier - * - * @return builder - * - */ - public Builder shardedDatabaseId(Output shardedDatabaseId) { - $.shardedDatabaseId = shardedDatabaseId; - return this; - } - - /** - * @param shardedDatabaseId Sharded Database identifier - * - * @return builder - * - */ - public Builder shardedDatabaseId(String shardedDatabaseId) { - return shardedDatabaseId(Output.of(shardedDatabaseId)); - } - - public GetShardedDatabaseArgs build() { - if ($.shardedDatabaseId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseArgs", "shardedDatabaseId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasePlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasePlainArgs.java deleted file mode 100644 index 90e78feef4..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasePlainArgs.java +++ /dev/null @@ -1,103 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetShardedDatabasePlainArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetShardedDatabasePlainArgs Empty = new GetShardedDatabasePlainArgs(); - - /** - * Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - */ - @Import(name="metadata") - private @Nullable String metadata; - - /** - * @return Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - */ - public Optional metadata() { - return Optional.ofNullable(this.metadata); - } - - /** - * Sharded Database identifier - * - */ - @Import(name="shardedDatabaseId", required=true) - private String shardedDatabaseId; - - /** - * @return Sharded Database identifier - * - */ - public String shardedDatabaseId() { - return this.shardedDatabaseId; - } - - private GetShardedDatabasePlainArgs() {} - - private GetShardedDatabasePlainArgs(GetShardedDatabasePlainArgs $) { - this.metadata = $.metadata; - this.shardedDatabaseId = $.shardedDatabaseId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetShardedDatabasePlainArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetShardedDatabasePlainArgs $; - - public Builder() { - $ = new GetShardedDatabasePlainArgs(); - } - - public Builder(GetShardedDatabasePlainArgs defaults) { - $ = new GetShardedDatabasePlainArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param metadata Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - * @return builder - * - */ - public Builder metadata(@Nullable String metadata) { - $.metadata = metadata; - return this; - } - - /** - * @param shardedDatabaseId Sharded Database identifier - * - * @return builder - * - */ - public Builder shardedDatabaseId(String shardedDatabaseId) { - $.shardedDatabaseId = shardedDatabaseId; - return this; - } - - public GetShardedDatabasePlainArgs build() { - if ($.shardedDatabaseId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasePlainArgs", "shardedDatabaseId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesArgs.java deleted file mode 100644 index 4eb6f4d2ce..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesArgs.java +++ /dev/null @@ -1,184 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabasesFilterArgs; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetShardedDatabasesArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetShardedDatabasesArgs Empty = new GetShardedDatabasesArgs(); - - /** - * The ID of the compartment in which to list resources. - * - */ - @Import(name="compartmentId", required=true) - private Output compartmentId; - - /** - * @return The ID of the compartment in which to list resources. - * - */ - public Output compartmentId() { - return this.compartmentId; - } - - /** - * A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - * - */ - @Import(name="displayName") - private @Nullable Output displayName; - - /** - * @return A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - * - */ - public Optional> displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="filters") - private @Nullable Output> filters; - - public Optional>> filters() { - return Optional.ofNullable(this.filters); - } - - /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. - * - */ - @Import(name="state") - private @Nullable Output state; - - /** - * @return A filter to return only resources their lifecycleState matches the given lifecycleState. - * - */ - public Optional> state() { - return Optional.ofNullable(this.state); - } - - private GetShardedDatabasesArgs() {} - - private GetShardedDatabasesArgs(GetShardedDatabasesArgs $) { - this.compartmentId = $.compartmentId; - this.displayName = $.displayName; - this.filters = $.filters; - this.state = $.state; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetShardedDatabasesArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetShardedDatabasesArgs $; - - public Builder() { - $ = new GetShardedDatabasesArgs(); - } - - public Builder(GetShardedDatabasesArgs defaults) { - $ = new GetShardedDatabasesArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param compartmentId The ID of the compartment in which to list resources. - * - * @return builder - * - */ - public Builder compartmentId(Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - /** - * @param compartmentId The ID of the compartment in which to list resources. - * - * @return builder - * - */ - public Builder compartmentId(String compartmentId) { - return compartmentId(Output.of(compartmentId)); - } - - /** - * @param displayName A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - * - * @return builder - * - */ - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - /** - * @param displayName A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - * - * @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(GetShardedDatabasesFilterArgs... filters) { - return filters(List.of(filters)); - } - - /** - * @param state A filter to return only resources their lifecycleState matches the given lifecycleState. - * - * @return builder - * - */ - public Builder state(@Nullable Output state) { - $.state = state; - return this; - } - - /** - * @param state A filter to return only resources their lifecycleState matches the given lifecycleState. - * - * @return builder - * - */ - public Builder state(String state) { - return state(Output.of(state)); - } - - public GetShardedDatabasesArgs build() { - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesArgs", "compartmentId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesPlainArgs.java deleted file mode 100644 index b023cfb1d2..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/GetShardedDatabasesPlainArgs.java +++ /dev/null @@ -1,149 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.GetShardedDatabasesFilter; -import java.lang.String; -import java.util.List; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class GetShardedDatabasesPlainArgs extends com.pulumi.resources.InvokeArgs { - - public static final GetShardedDatabasesPlainArgs Empty = new GetShardedDatabasesPlainArgs(); - - /** - * The ID of the compartment in which to list resources. - * - */ - @Import(name="compartmentId", required=true) - private String compartmentId; - - /** - * @return The ID of the compartment in which to list resources. - * - */ - public String compartmentId() { - return this.compartmentId; - } - - /** - * A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - * - */ - @Import(name="displayName") - private @Nullable String displayName; - - /** - * @return A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - * - */ - public Optional displayName() { - return Optional.ofNullable(this.displayName); - } - - @Import(name="filters") - private @Nullable List filters; - - public Optional> filters() { - return Optional.ofNullable(this.filters); - } - - /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. - * - */ - @Import(name="state") - private @Nullable String state; - - /** - * @return A filter to return only resources their lifecycleState matches the given lifecycleState. - * - */ - public Optional state() { - return Optional.ofNullable(this.state); - } - - private GetShardedDatabasesPlainArgs() {} - - private GetShardedDatabasesPlainArgs(GetShardedDatabasesPlainArgs $) { - this.compartmentId = $.compartmentId; - this.displayName = $.displayName; - this.filters = $.filters; - this.state = $.state; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(GetShardedDatabasesPlainArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private GetShardedDatabasesPlainArgs $; - - public Builder() { - $ = new GetShardedDatabasesPlainArgs(); - } - - public Builder(GetShardedDatabasesPlainArgs defaults) { - $ = new GetShardedDatabasesPlainArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param compartmentId The ID of the compartment in which to list resources. - * - * @return builder - * - */ - public Builder compartmentId(String compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - /** - * @param displayName A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - * - * @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(GetShardedDatabasesFilter... filters) { - return filters(List.of(filters)); - } - - /** - * @param state A filter to return only resources their lifecycleState matches the given lifecycleState. - * - * @return builder - * - */ - public Builder state(@Nullable String state) { - $.state = state; - return this; - } - - public GetShardedDatabasesPlainArgs build() { - if ($.compartmentId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesPlainArgs", "compartmentId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/PrivateEndpointState.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/PrivateEndpointState.java deleted file mode 100644 index 6302959c40..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/PrivateEndpointState.java +++ /dev/null @@ -1,635 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -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) Identifier of the compartment where private endpoint is to be created. - * - */ - @Import(name="compartmentId") - private @Nullable Output compartmentId; - - /** - * @return (Updatable) Identifier of the compartment where private endpoint is to be created. - * - */ - 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) PrivateEndpoint description. - * - */ - @Import(name="description") - private @Nullable Output description; - - /** - * @return (Updatable) PrivateEndpoint description. - * - */ - public Optional> description() { - return Optional.ofNullable(this.description); - } - - /** - * (Updatable) Private endpoint display name. - * - */ - @Import(name="displayName") - private @Nullable Output displayName; - - /** - * @return (Updatable) Private endpoint display name. - * - */ - 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); - } - - /** - * Detailed message for the lifecycle state. - * - */ - @Import(name="lifecycleStateDetails") - private @Nullable Output lifecycleStateDetails; - - /** - * @return Detailed message for the lifecycle state. - * - */ - public Optional> lifecycleStateDetails() { - return Optional.ofNullable(this.lifecycleStateDetails); - } - - /** - * (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - */ - @Import(name="nsgIds") - private @Nullable Output> nsgIds; - - /** - * @return (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - */ - public Optional>> nsgIds() { - return Optional.ofNullable(this.nsgIds); - } - - /** - * IP address of the Private Endpoint. - * - */ - @Import(name="privateIp") - private @Nullable Output privateIp; - - /** - * @return IP address of the Private Endpoint. - * - */ - public Optional> privateIp() { - return Optional.ofNullable(this.privateIp); - } - - /** - * The OCIDs of sharded databases that consumes the given private endpoint. - * - */ - @Import(name="shardedDatabases") - private @Nullable Output> shardedDatabases; - - /** - * @return The OCIDs of sharded databases that consumes the given private endpoint. - * - */ - public Optional>> shardedDatabases() { - return Optional.ofNullable(this.shardedDatabases); - } - - /** - * Lifecycle states for private endpoint. - * - */ - @Import(name="state") - private @Nullable Output state; - - /** - * @return Lifecycle states for private endpoint. - * - */ - public Optional> state() { - return Optional.ofNullable(this.state); - } - - /** - * Identifier of the customer subnet against which 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 Identifier of the customer subnet against which 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); - } - - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - @Import(name="systemTags") - private @Nullable Output> systemTags; - - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - public Optional>> systemTags() { - return Optional.ofNullable(this.systemTags); - } - - /** - * The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - * - */ - @Import(name="timeCreated") - private @Nullable Output timeCreated; - - /** - * @return The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - * - */ - public Optional> timeCreated() { - return Optional.ofNullable(this.timeCreated); - } - - /** - * The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - * - */ - @Import(name="timeUpdated") - private @Nullable Output timeUpdated; - - /** - * @return The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - * - */ - public Optional> timeUpdated() { - return Optional.ofNullable(this.timeUpdated); - } - - /** - * Identifier of the VCN in which subnet exists. - * - */ - @Import(name="vcnId") - private @Nullable Output vcnId; - - /** - * @return Identifier of the VCN in which subnet exists. - * - */ - public Optional> vcnId() { - return Optional.ofNullable(this.vcnId); - } - - private PrivateEndpointState() {} - - private PrivateEndpointState(PrivateEndpointState $) { - this.compartmentId = $.compartmentId; - this.definedTags = $.definedTags; - this.description = $.description; - this.displayName = $.displayName; - this.freeformTags = $.freeformTags; - this.lifecycleStateDetails = $.lifecycleStateDetails; - this.nsgIds = $.nsgIds; - this.privateIp = $.privateIp; - this.shardedDatabases = $.shardedDatabases; - this.state = $.state; - this.subnetId = $.subnetId; - this.systemTags = $.systemTags; - this.timeCreated = $.timeCreated; - this.timeUpdated = $.timeUpdated; - this.vcnId = $.vcnId; - } - - 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) Identifier of the compartment where private endpoint is to be created. - * - * @return builder - * - */ - public Builder compartmentId(@Nullable Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - /** - * @param compartmentId (Updatable) Identifier of the compartment where private endpoint is to be created. - * - * @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) PrivateEndpoint description. - * - * @return builder - * - */ - public Builder description(@Nullable Output description) { - $.description = description; - return this; - } - - /** - * @param description (Updatable) PrivateEndpoint description. - * - * @return builder - * - */ - public Builder description(String description) { - return description(Output.of(description)); - } - - /** - * @param displayName (Updatable) Private endpoint display name. - * - * @return builder - * - */ - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - /** - * @param displayName (Updatable) Private endpoint display name. - * - * @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 lifecycleStateDetails Detailed message for the lifecycle state. - * - * @return builder - * - */ - public Builder lifecycleStateDetails(@Nullable Output lifecycleStateDetails) { - $.lifecycleStateDetails = lifecycleStateDetails; - return this; - } - - /** - * @param lifecycleStateDetails Detailed message for the lifecycle state. - * - * @return builder - * - */ - public Builder lifecycleStateDetails(String lifecycleStateDetails) { - return lifecycleStateDetails(Output.of(lifecycleStateDetails)); - } - - /** - * @param nsgIds (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - * @return builder - * - */ - public Builder nsgIds(@Nullable Output> nsgIds) { - $.nsgIds = nsgIds; - return this; - } - - /** - * @param nsgIds (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - * @return builder - * - */ - public Builder nsgIds(List nsgIds) { - return nsgIds(Output.of(nsgIds)); - } - - /** - * @param nsgIds (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - * - * @return builder - * - */ - public Builder nsgIds(String... nsgIds) { - return nsgIds(List.of(nsgIds)); - } - - /** - * @param privateIp IP address of the Private Endpoint. - * - * @return builder - * - */ - public Builder privateIp(@Nullable Output privateIp) { - $.privateIp = privateIp; - return this; - } - - /** - * @param privateIp IP address of the Private Endpoint. - * - * @return builder - * - */ - public Builder privateIp(String privateIp) { - return privateIp(Output.of(privateIp)); - } - - /** - * @param shardedDatabases The OCIDs of sharded databases that consumes the given private endpoint. - * - * @return builder - * - */ - public Builder shardedDatabases(@Nullable Output> shardedDatabases) { - $.shardedDatabases = shardedDatabases; - return this; - } - - /** - * @param shardedDatabases The OCIDs of sharded databases that consumes the given private endpoint. - * - * @return builder - * - */ - public Builder shardedDatabases(List shardedDatabases) { - return shardedDatabases(Output.of(shardedDatabases)); - } - - /** - * @param shardedDatabases The OCIDs of sharded databases that consumes the given private endpoint. - * - * @return builder - * - */ - public Builder shardedDatabases(String... shardedDatabases) { - return shardedDatabases(List.of(shardedDatabases)); - } - - /** - * @param state Lifecycle states for private endpoint. - * - * @return builder - * - */ - public Builder state(@Nullable Output state) { - $.state = state; - return this; - } - - /** - * @param state Lifecycle states for private endpoint. - * - * @return builder - * - */ - public Builder state(String state) { - return state(Output.of(state)); - } - - /** - * @param subnetId Identifier of the customer subnet against which 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 Identifier of the customer subnet against which 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 systemTags Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - * @return builder - * - */ - public Builder systemTags(@Nullable Output> systemTags) { - $.systemTags = systemTags; - return this; - } - - /** - * @param systemTags Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - * @return builder - * - */ - public Builder systemTags(Map systemTags) { - return systemTags(Output.of(systemTags)); - } - - /** - * @param timeCreated The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeCreated(@Nullable Output timeCreated) { - $.timeCreated = timeCreated; - return this; - } - - /** - * @param timeCreated The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeCreated(String timeCreated) { - return timeCreated(Output.of(timeCreated)); - } - - /** - * @param timeUpdated The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeUpdated(@Nullable Output timeUpdated) { - $.timeUpdated = timeUpdated; - return this; - } - - /** - * @param timeUpdated The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeUpdated(String timeUpdated) { - return timeUpdated(Output.of(timeUpdated)); - } - - /** - * @param vcnId Identifier of the VCN in which subnet exists. - * - * @return builder - * - */ - public Builder vcnId(@Nullable Output vcnId) { - $.vcnId = vcnId; - return this; - } - - /** - * @param vcnId Identifier of the VCN in which subnet exists. - * - * @return builder - * - */ - public Builder vcnId(String vcnId) { - return vcnId(Output.of(vcnId)); - } - - public PrivateEndpointState build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseCatalogDetailArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseCatalogDetailArgs.java deleted file mode 100644 index 6f35f39ced..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseCatalogDetailArgs.java +++ /dev/null @@ -1,695 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs; -import java.lang.Boolean; -import java.lang.Double; -import java.lang.String; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class ShardedDatabaseCatalogDetailArgs extends com.pulumi.resources.ResourceArgs { - - public static final ShardedDatabaseCatalogDetailArgs Empty = new ShardedDatabaseCatalogDetailArgs(); - - /** - * Admin password for the catalog database. - * - */ - @Import(name="adminPassword", required=true) - private Output adminPassword; - - /** - * @return Admin password for the catalog database. - * - */ - public Output adminPassword() { - return this.adminPassword; - } - - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - */ - @Import(name="cloudAutonomousVmClusterId", required=true) - private Output cloudAutonomousVmClusterId; - - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - */ - public Output cloudAutonomousVmClusterId() { - return this.cloudAutonomousVmClusterId; - } - - /** - * The compute count for the catalog database. It has to be in multiple of 2. - * - */ - @Import(name="computeCount", required=true) - private Output computeCount; - - /** - * @return The compute count for the catalog database. It has to be in multiple of 2. - * - */ - public Output computeCount() { - return this.computeCount; - } - - /** - * Identifier of the underlying container database. - * - */ - @Import(name="containerDatabaseId") - private @Nullable Output containerDatabaseId; - - /** - * @return Identifier of the underlying container database. - * - */ - public Optional> containerDatabaseId() { - return Optional.ofNullable(this.containerDatabaseId); - } - - /** - * Identifier of the underlying container database parent. - * - */ - @Import(name="containerDatabaseParentId") - private @Nullable Output containerDatabaseParentId; - - /** - * @return Identifier of the underlying container database parent. - * - */ - public Optional> containerDatabaseParentId() { - return Optional.ofNullable(this.containerDatabaseParentId); - } - - /** - * The data disk group size to be allocated in GBs for the catalog database. - * - */ - @Import(name="dataStorageSizeInGbs", required=true) - private Output dataStorageSizeInGbs; - - /** - * @return The data disk group size to be allocated in GBs for the catalog database. - * - */ - public Output dataStorageSizeInGbs() { - return this.dataStorageSizeInGbs; - } - - /** - * Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - @Import(name="encryptionKeyDetails") - private @Nullable Output encryptionKeyDetails; - - /** - * @return Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - public Optional> encryptionKeyDetails() { - return Optional.ofNullable(this.encryptionKeyDetails); - } - - /** - * Determines the auto-scaling mode for the catalog database. - * - */ - @Import(name="isAutoScalingEnabled", required=true) - private Output isAutoScalingEnabled; - - /** - * @return Determines the auto-scaling mode for the catalog database. - * - */ - public Output isAutoScalingEnabled() { - return this.isAutoScalingEnabled; - } - - /** - * Additional metadata related to shard's underlying supporting resource. - * - */ - @Import(name="metadata") - private @Nullable Output> metadata; - - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - public Optional>> metadata() { - return Optional.ofNullable(this.metadata); - } - - /** - * Name of the shard. - * - */ - @Import(name="name") - private @Nullable Output name; - - /** - * @return Name of the shard. - * - */ - public Optional> name() { - return Optional.ofNullable(this.name); - } - - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - */ - @Import(name="peerCloudAutonomousVmClusterId") - private @Nullable Output peerCloudAutonomousVmClusterId; - - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - */ - public Optional> peerCloudAutonomousVmClusterId() { - return Optional.ofNullable(this.peerCloudAutonomousVmClusterId); - } - - /** - * Name of the shard-group to which the shard belongs. - * - */ - @Import(name="shardGroup") - private @Nullable Output shardGroup; - - /** - * @return Name of the shard-group to which the shard belongs. - * - */ - public Optional> shardGroup() { - return Optional.ofNullable(this.shardGroup); - } - - /** - * Status of shard or catalog or gsm for the sharded database. - * - */ - @Import(name="status") - private @Nullable Output status; - - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - public Optional> status() { - return Optional.ofNullable(this.status); - } - - /** - * Identifier of the underlying supporting resource. - * - */ - @Import(name="supportingResourceId") - private @Nullable Output supportingResourceId; - - /** - * @return Identifier of the underlying supporting resource. - * - */ - public Optional> supportingResourceId() { - return Optional.ofNullable(this.supportingResourceId); - } - - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - @Import(name="timeCreated") - private @Nullable Output timeCreated; - - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public Optional> timeCreated() { - return Optional.ofNullable(this.timeCreated); - } - - /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - @Import(name="timeSslCertificateExpires") - private @Nullable Output timeSslCertificateExpires; - - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - public Optional> timeSslCertificateExpires() { - return Optional.ofNullable(this.timeSslCertificateExpires); - } - - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - @Import(name="timeUpdated") - private @Nullable Output timeUpdated; - - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public Optional> timeUpdated() { - return Optional.ofNullable(this.timeUpdated); - } - - private ShardedDatabaseCatalogDetailArgs() {} - - private ShardedDatabaseCatalogDetailArgs(ShardedDatabaseCatalogDetailArgs $) { - this.adminPassword = $.adminPassword; - this.cloudAutonomousVmClusterId = $.cloudAutonomousVmClusterId; - this.computeCount = $.computeCount; - this.containerDatabaseId = $.containerDatabaseId; - this.containerDatabaseParentId = $.containerDatabaseParentId; - this.dataStorageSizeInGbs = $.dataStorageSizeInGbs; - this.encryptionKeyDetails = $.encryptionKeyDetails; - this.isAutoScalingEnabled = $.isAutoScalingEnabled; - this.metadata = $.metadata; - this.name = $.name; - this.peerCloudAutonomousVmClusterId = $.peerCloudAutonomousVmClusterId; - this.shardGroup = $.shardGroup; - this.status = $.status; - this.supportingResourceId = $.supportingResourceId; - this.timeCreated = $.timeCreated; - this.timeSslCertificateExpires = $.timeSslCertificateExpires; - this.timeUpdated = $.timeUpdated; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ShardedDatabaseCatalogDetailArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ShardedDatabaseCatalogDetailArgs $; - - public Builder() { - $ = new ShardedDatabaseCatalogDetailArgs(); - } - - public Builder(ShardedDatabaseCatalogDetailArgs defaults) { - $ = new ShardedDatabaseCatalogDetailArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param adminPassword Admin password for the catalog database. - * - * @return builder - * - */ - public Builder adminPassword(Output adminPassword) { - $.adminPassword = adminPassword; - return this; - } - - /** - * @param adminPassword Admin password for the catalog database. - * - * @return builder - * - */ - public Builder adminPassword(String adminPassword) { - return adminPassword(Output.of(adminPassword)); - } - - /** - * @param cloudAutonomousVmClusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - * @return builder - * - */ - public Builder cloudAutonomousVmClusterId(Output cloudAutonomousVmClusterId) { - $.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - return this; - } - - /** - * @param cloudAutonomousVmClusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - * @return builder - * - */ - public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) { - return cloudAutonomousVmClusterId(Output.of(cloudAutonomousVmClusterId)); - } - - /** - * @param computeCount The compute count for the catalog database. It has to be in multiple of 2. - * - * @return builder - * - */ - public Builder computeCount(Output computeCount) { - $.computeCount = computeCount; - return this; - } - - /** - * @param computeCount The compute count for the catalog database. It has to be in multiple of 2. - * - * @return builder - * - */ - public Builder computeCount(Double computeCount) { - return computeCount(Output.of(computeCount)); - } - - /** - * @param containerDatabaseId Identifier of the underlying container database. - * - * @return builder - * - */ - public Builder containerDatabaseId(@Nullable Output containerDatabaseId) { - $.containerDatabaseId = containerDatabaseId; - return this; - } - - /** - * @param containerDatabaseId Identifier of the underlying container database. - * - * @return builder - * - */ - public Builder containerDatabaseId(String containerDatabaseId) { - return containerDatabaseId(Output.of(containerDatabaseId)); - } - - /** - * @param containerDatabaseParentId Identifier of the underlying container database parent. - * - * @return builder - * - */ - public Builder containerDatabaseParentId(@Nullable Output containerDatabaseParentId) { - $.containerDatabaseParentId = containerDatabaseParentId; - return this; - } - - /** - * @param containerDatabaseParentId Identifier of the underlying container database parent. - * - * @return builder - * - */ - public Builder containerDatabaseParentId(String containerDatabaseParentId) { - return containerDatabaseParentId(Output.of(containerDatabaseParentId)); - } - - /** - * @param dataStorageSizeInGbs The data disk group size to be allocated in GBs for the catalog database. - * - * @return builder - * - */ - public Builder dataStorageSizeInGbs(Output dataStorageSizeInGbs) { - $.dataStorageSizeInGbs = dataStorageSizeInGbs; - return this; - } - - /** - * @param dataStorageSizeInGbs The data disk group size to be allocated in GBs for the catalog database. - * - * @return builder - * - */ - public Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs) { - return dataStorageSizeInGbs(Output.of(dataStorageSizeInGbs)); - } - - /** - * @param encryptionKeyDetails Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - * @return builder - * - */ - public Builder encryptionKeyDetails(@Nullable Output encryptionKeyDetails) { - $.encryptionKeyDetails = encryptionKeyDetails; - return this; - } - - /** - * @param encryptionKeyDetails Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - * @return builder - * - */ - public Builder encryptionKeyDetails(ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs encryptionKeyDetails) { - return encryptionKeyDetails(Output.of(encryptionKeyDetails)); - } - - /** - * @param isAutoScalingEnabled Determines the auto-scaling mode for the catalog database. - * - * @return builder - * - */ - public Builder isAutoScalingEnabled(Output isAutoScalingEnabled) { - $.isAutoScalingEnabled = isAutoScalingEnabled; - return this; - } - - /** - * @param isAutoScalingEnabled Determines the auto-scaling mode for the catalog database. - * - * @return builder - * - */ - public Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled) { - return isAutoScalingEnabled(Output.of(isAutoScalingEnabled)); - } - - /** - * @param metadata Additional metadata related to shard's underlying supporting resource. - * - * @return builder - * - */ - public Builder metadata(@Nullable Output> metadata) { - $.metadata = metadata; - return this; - } - - /** - * @param metadata Additional metadata related to shard's underlying supporting resource. - * - * @return builder - * - */ - public Builder metadata(Map metadata) { - return metadata(Output.of(metadata)); - } - - /** - * @param name Name of the shard. - * - * @return builder - * - */ - public Builder name(@Nullable Output name) { - $.name = name; - return this; - } - - /** - * @param name Name of the shard. - * - * @return builder - * - */ - public Builder name(String name) { - return name(Output.of(name)); - } - - /** - * @param peerCloudAutonomousVmClusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - * @return builder - * - */ - public Builder peerCloudAutonomousVmClusterId(@Nullable Output peerCloudAutonomousVmClusterId) { - $.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - return this; - } - - /** - * @param peerCloudAutonomousVmClusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - * @return builder - * - */ - public Builder peerCloudAutonomousVmClusterId(String peerCloudAutonomousVmClusterId) { - return peerCloudAutonomousVmClusterId(Output.of(peerCloudAutonomousVmClusterId)); - } - - /** - * @param shardGroup Name of the shard-group to which the shard belongs. - * - * @return builder - * - */ - public Builder shardGroup(@Nullable Output shardGroup) { - $.shardGroup = shardGroup; - return this; - } - - /** - * @param shardGroup Name of the shard-group to which the shard belongs. - * - * @return builder - * - */ - public Builder shardGroup(String shardGroup) { - return shardGroup(Output.of(shardGroup)); - } - - /** - * @param status Status of shard or catalog or gsm for the sharded database. - * - * @return builder - * - */ - public Builder status(@Nullable Output status) { - $.status = status; - return this; - } - - /** - * @param status Status of shard or catalog or gsm for the sharded database. - * - * @return builder - * - */ - public Builder status(String status) { - return status(Output.of(status)); - } - - /** - * @param supportingResourceId Identifier of the underlying supporting resource. - * - * @return builder - * - */ - public Builder supportingResourceId(@Nullable Output supportingResourceId) { - $.supportingResourceId = supportingResourceId; - return this; - } - - /** - * @param supportingResourceId Identifier of the underlying supporting resource. - * - * @return builder - * - */ - public Builder supportingResourceId(String supportingResourceId) { - return supportingResourceId(Output.of(supportingResourceId)); - } - - /** - * @param timeCreated The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeCreated(@Nullable Output timeCreated) { - $.timeCreated = timeCreated; - return this; - } - - /** - * @param timeCreated The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeCreated(String timeCreated) { - return timeCreated(Output.of(timeCreated)); - } - - /** - * @param timeSslCertificateExpires The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeSslCertificateExpires(@Nullable Output timeSslCertificateExpires) { - $.timeSslCertificateExpires = timeSslCertificateExpires; - return this; - } - - /** - * @param timeSslCertificateExpires The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeSslCertificateExpires(String timeSslCertificateExpires) { - return timeSslCertificateExpires(Output.of(timeSslCertificateExpires)); - } - - /** - * @param timeUpdated The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeUpdated(@Nullable Output timeUpdated) { - $.timeUpdated = timeUpdated; - return this; - } - - /** - * @param timeUpdated The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeUpdated(String timeUpdated) { - return timeUpdated(Output.of(timeUpdated)); - } - - public ShardedDatabaseCatalogDetailArgs build() { - if ($.adminPassword == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetailArgs", "adminPassword"); - } - if ($.cloudAutonomousVmClusterId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetailArgs", "cloudAutonomousVmClusterId"); - } - if ($.computeCount == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetailArgs", "computeCount"); - } - if ($.dataStorageSizeInGbs == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetailArgs", "dataStorageSizeInGbs"); - } - if ($.isAutoScalingEnabled == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetailArgs", "isAutoScalingEnabled"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs.java deleted file mode 100644 index d964949de6..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs extends com.pulumi.resources.ResourceArgs { - - public static final ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs Empty = new ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs(); - - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - @Import(name="kmsKeyId", required=true) - private Output kmsKeyId; - - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - public Output kmsKeyId() { - return this.kmsKeyId; - } - - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - @Import(name="kmsKeyVersionId") - private @Nullable Output kmsKeyVersionId; - - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - public Optional> kmsKeyVersionId() { - return Optional.ofNullable(this.kmsKeyVersionId); - } - - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - @Import(name="vaultId", required=true) - private Output vaultId; - - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - public Output vaultId() { - return this.vaultId; - } - - private ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs() {} - - private ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs(ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs $) { - this.kmsKeyId = $.kmsKeyId; - this.kmsKeyVersionId = $.kmsKeyVersionId; - this.vaultId = $.vaultId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs $; - - public Builder() { - $ = new ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs(); - } - - public Builder(ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs defaults) { - $ = new ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param kmsKeyId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - * @return builder - * - */ - public Builder kmsKeyId(Output kmsKeyId) { - $.kmsKeyId = kmsKeyId; - return this; - } - - /** - * @param kmsKeyId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - * @return builder - * - */ - public Builder kmsKeyId(String kmsKeyId) { - return kmsKeyId(Output.of(kmsKeyId)); - } - - /** - * @param kmsKeyVersionId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - * @return builder - * - */ - public Builder kmsKeyVersionId(@Nullable Output kmsKeyVersionId) { - $.kmsKeyVersionId = kmsKeyVersionId; - return this; - } - - /** - * @param kmsKeyVersionId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - * @return builder - * - */ - public Builder kmsKeyVersionId(String kmsKeyVersionId) { - return kmsKeyVersionId(Output.of(kmsKeyVersionId)); - } - - /** - * @param vaultId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - * @return builder - * - */ - public Builder vaultId(Output vaultId) { - $.vaultId = vaultId; - return this; - } - - /** - * @param vaultId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - * @return builder - * - */ - public Builder vaultId(String vaultId) { - return vaultId(Output.of(vaultId)); - } - - public ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs build() { - if ($.kmsKeyId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs", "kmsKeyId"); - } - if ($.vaultId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs", "vaultId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseConnectionStringArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseConnectionStringArgs.java deleted file mode 100644 index 0f3660cc25..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseConnectionStringArgs.java +++ /dev/null @@ -1,84 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.lang.String; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class ShardedDatabaseConnectionStringArgs extends com.pulumi.resources.ResourceArgs { - - public static final ShardedDatabaseConnectionStringArgs Empty = new ShardedDatabaseConnectionStringArgs(); - - /** - * Collection of connection strings. - * - */ - @Import(name="allConnectionStrings") - private @Nullable Output> allConnectionStrings; - - /** - * @return Collection of connection strings. - * - */ - public Optional>> allConnectionStrings() { - return Optional.ofNullable(this.allConnectionStrings); - } - - private ShardedDatabaseConnectionStringArgs() {} - - private ShardedDatabaseConnectionStringArgs(ShardedDatabaseConnectionStringArgs $) { - this.allConnectionStrings = $.allConnectionStrings; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ShardedDatabaseConnectionStringArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ShardedDatabaseConnectionStringArgs $; - - public Builder() { - $ = new ShardedDatabaseConnectionStringArgs(); - } - - public Builder(ShardedDatabaseConnectionStringArgs defaults) { - $ = new ShardedDatabaseConnectionStringArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param allConnectionStrings Collection of connection strings. - * - * @return builder - * - */ - public Builder allConnectionStrings(@Nullable Output> allConnectionStrings) { - $.allConnectionStrings = allConnectionStrings; - return this; - } - - /** - * @param allConnectionStrings Collection of connection strings. - * - * @return builder - * - */ - public Builder allConnectionStrings(Map allConnectionStrings) { - return allConnectionStrings(Output.of(allConnectionStrings)); - } - - public ShardedDatabaseConnectionStringArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseGsmArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseGsmArgs.java deleted file mode 100644 index 0f6d9c4339..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseGsmArgs.java +++ /dev/null @@ -1,381 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import java.lang.Double; -import java.lang.String; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class ShardedDatabaseGsmArgs extends com.pulumi.resources.ResourceArgs { - - public static final ShardedDatabaseGsmArgs Empty = new ShardedDatabaseGsmArgs(); - - /** - * The compute amount available to the underlying autonomous database associated with shard. - * - */ - @Import(name="computeCount") - private @Nullable Output computeCount; - - /** - * @return The compute amount available to the underlying autonomous database associated with shard. - * - */ - public Optional> computeCount() { - return Optional.ofNullable(this.computeCount); - } - - /** - * The data disk group size to be allocated in GBs. - * - */ - @Import(name="dataStorageSizeInGbs") - private @Nullable Output dataStorageSizeInGbs; - - /** - * @return The data disk group size to be allocated in GBs. - * - */ - public Optional> dataStorageSizeInGbs() { - return Optional.ofNullable(this.dataStorageSizeInGbs); - } - - /** - * Additional metadata related to shard's underlying supporting resource. - * - */ - @Import(name="metadata") - private @Nullable Output> metadata; - - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - public Optional>> metadata() { - return Optional.ofNullable(this.metadata); - } - - /** - * Name of the shard. - * - */ - @Import(name="name") - private @Nullable Output name; - - /** - * @return Name of the shard. - * - */ - public Optional> name() { - return Optional.ofNullable(this.name); - } - - /** - * Status of shard or catalog or gsm for the sharded database. - * - */ - @Import(name="status") - private @Nullable Output status; - - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - public Optional> status() { - return Optional.ofNullable(this.status); - } - - /** - * Identifier of the underlying supporting resource. - * - */ - @Import(name="supportingResourceId") - private @Nullable Output supportingResourceId; - - /** - * @return Identifier of the underlying supporting resource. - * - */ - public Optional> supportingResourceId() { - return Optional.ofNullable(this.supportingResourceId); - } - - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - @Import(name="timeCreated") - private @Nullable Output timeCreated; - - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public Optional> timeCreated() { - return Optional.ofNullable(this.timeCreated); - } - - /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - @Import(name="timeSslCertificateExpires") - private @Nullable Output timeSslCertificateExpires; - - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - public Optional> timeSslCertificateExpires() { - return Optional.ofNullable(this.timeSslCertificateExpires); - } - - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - @Import(name="timeUpdated") - private @Nullable Output timeUpdated; - - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public Optional> timeUpdated() { - return Optional.ofNullable(this.timeUpdated); - } - - private ShardedDatabaseGsmArgs() {} - - private ShardedDatabaseGsmArgs(ShardedDatabaseGsmArgs $) { - this.computeCount = $.computeCount; - this.dataStorageSizeInGbs = $.dataStorageSizeInGbs; - this.metadata = $.metadata; - this.name = $.name; - this.status = $.status; - this.supportingResourceId = $.supportingResourceId; - this.timeCreated = $.timeCreated; - this.timeSslCertificateExpires = $.timeSslCertificateExpires; - this.timeUpdated = $.timeUpdated; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ShardedDatabaseGsmArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ShardedDatabaseGsmArgs $; - - public Builder() { - $ = new ShardedDatabaseGsmArgs(); - } - - public Builder(ShardedDatabaseGsmArgs defaults) { - $ = new ShardedDatabaseGsmArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param computeCount The compute amount available to the underlying autonomous database associated with shard. - * - * @return builder - * - */ - public Builder computeCount(@Nullable Output computeCount) { - $.computeCount = computeCount; - return this; - } - - /** - * @param computeCount The compute amount available to the underlying autonomous database associated with shard. - * - * @return builder - * - */ - public Builder computeCount(Double computeCount) { - return computeCount(Output.of(computeCount)); - } - - /** - * @param dataStorageSizeInGbs The data disk group size to be allocated in GBs. - * - * @return builder - * - */ - public Builder dataStorageSizeInGbs(@Nullable Output dataStorageSizeInGbs) { - $.dataStorageSizeInGbs = dataStorageSizeInGbs; - return this; - } - - /** - * @param dataStorageSizeInGbs The data disk group size to be allocated in GBs. - * - * @return builder - * - */ - public Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs) { - return dataStorageSizeInGbs(Output.of(dataStorageSizeInGbs)); - } - - /** - * @param metadata Additional metadata related to shard's underlying supporting resource. - * - * @return builder - * - */ - public Builder metadata(@Nullable Output> metadata) { - $.metadata = metadata; - return this; - } - - /** - * @param metadata Additional metadata related to shard's underlying supporting resource. - * - * @return builder - * - */ - public Builder metadata(Map metadata) { - return metadata(Output.of(metadata)); - } - - /** - * @param name Name of the shard. - * - * @return builder - * - */ - public Builder name(@Nullable Output name) { - $.name = name; - return this; - } - - /** - * @param name Name of the shard. - * - * @return builder - * - */ - public Builder name(String name) { - return name(Output.of(name)); - } - - /** - * @param status Status of shard or catalog or gsm for the sharded database. - * - * @return builder - * - */ - public Builder status(@Nullable Output status) { - $.status = status; - return this; - } - - /** - * @param status Status of shard or catalog or gsm for the sharded database. - * - * @return builder - * - */ - public Builder status(String status) { - return status(Output.of(status)); - } - - /** - * @param supportingResourceId Identifier of the underlying supporting resource. - * - * @return builder - * - */ - public Builder supportingResourceId(@Nullable Output supportingResourceId) { - $.supportingResourceId = supportingResourceId; - return this; - } - - /** - * @param supportingResourceId Identifier of the underlying supporting resource. - * - * @return builder - * - */ - public Builder supportingResourceId(String supportingResourceId) { - return supportingResourceId(Output.of(supportingResourceId)); - } - - /** - * @param timeCreated The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeCreated(@Nullable Output timeCreated) { - $.timeCreated = timeCreated; - return this; - } - - /** - * @param timeCreated The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeCreated(String timeCreated) { - return timeCreated(Output.of(timeCreated)); - } - - /** - * @param timeSslCertificateExpires The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeSslCertificateExpires(@Nullable Output timeSslCertificateExpires) { - $.timeSslCertificateExpires = timeSslCertificateExpires; - return this; - } - - /** - * @param timeSslCertificateExpires The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeSslCertificateExpires(String timeSslCertificateExpires) { - return timeSslCertificateExpires(Output.of(timeSslCertificateExpires)); - } - - /** - * @param timeUpdated The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeUpdated(@Nullable Output timeUpdated) { - $.timeUpdated = timeUpdated; - return this; - } - - /** - * @param timeUpdated The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeUpdated(String timeUpdated) { - return timeUpdated(Output.of(timeUpdated)); - } - - public ShardedDatabaseGsmArgs build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabasePatchOperationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabasePatchOperationArgs.java deleted file mode 100644 index e790d4bea2..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabasePatchOperationArgs.java +++ /dev/null @@ -1,165 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - - -public final class ShardedDatabasePatchOperationArgs extends com.pulumi.resources.ResourceArgs { - - public static final ShardedDatabasePatchOperationArgs Empty = new ShardedDatabasePatchOperationArgs(); - - /** - * (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - * - */ - @Import(name="operation", required=true) - private Output operation; - - /** - * @return (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - * - */ - public Output operation() { - return this.operation; - } - - /** - * (Updatable) - * - */ - @Import(name="selection", required=true) - private Output selection; - - /** - * @return (Updatable) - * - */ - public Output selection() { - return this.selection; - } - - /** - * (Updatable) - * - */ - @Import(name="value", required=true) - private Output value; - - /** - * @return (Updatable) - * - */ - public Output value() { - return this.value; - } - - private ShardedDatabasePatchOperationArgs() {} - - private ShardedDatabasePatchOperationArgs(ShardedDatabasePatchOperationArgs $) { - this.operation = $.operation; - this.selection = $.selection; - this.value = $.value; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ShardedDatabasePatchOperationArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ShardedDatabasePatchOperationArgs $; - - public Builder() { - $ = new ShardedDatabasePatchOperationArgs(); - } - - public Builder(ShardedDatabasePatchOperationArgs defaults) { - $ = new ShardedDatabasePatchOperationArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param operation (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - * - * @return builder - * - */ - public Builder operation(Output operation) { - $.operation = operation; - return this; - } - - /** - * @param operation (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - * - * @return builder - * - */ - public Builder operation(String operation) { - return operation(Output.of(operation)); - } - - /** - * @param selection (Updatable) - * - * @return builder - * - */ - public Builder selection(Output selection) { - $.selection = selection; - return this; - } - - /** - * @param selection (Updatable) - * - * @return builder - * - */ - public Builder selection(String selection) { - return selection(Output.of(selection)); - } - - /** - * @param value (Updatable) - * - * @return builder - * - */ - public Builder value(Output value) { - $.value = value; - return this; - } - - /** - * @param value (Updatable) - * - * @return builder - * - */ - public Builder value(String value) { - return value(Output.of(value)); - } - - public ShardedDatabasePatchOperationArgs build() { - if ($.operation == null) { - throw new MissingRequiredPropertyException("ShardedDatabasePatchOperationArgs", "operation"); - } - if ($.selection == null) { - throw new MissingRequiredPropertyException("ShardedDatabasePatchOperationArgs", "selection"); - } - if ($.value == null) { - throw new MissingRequiredPropertyException("ShardedDatabasePatchOperationArgs", "value"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseShardDetailArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseShardDetailArgs.java deleted file mode 100644 index ccdd04b06a..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseShardDetailArgs.java +++ /dev/null @@ -1,732 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabaseShardDetailEncryptionKeyDetailsArgs; -import java.lang.Boolean; -import java.lang.Double; -import java.lang.String; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class ShardedDatabaseShardDetailArgs extends com.pulumi.resources.ResourceArgs { - - public static final ShardedDatabaseShardDetailArgs Empty = new ShardedDatabaseShardDetailArgs(); - - /** - * Admin password for shard database. - * - */ - @Import(name="adminPassword", required=true) - private Output adminPassword; - - /** - * @return Admin password for shard database. - * - */ - public Output adminPassword() { - return this.adminPassword; - } - - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - */ - @Import(name="cloudAutonomousVmClusterId", required=true) - private Output cloudAutonomousVmClusterId; - - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - */ - public Output cloudAutonomousVmClusterId() { - return this.cloudAutonomousVmClusterId; - } - - /** - * The compute count for the shard database. It has to be in multiples of 2. - * - */ - @Import(name="computeCount", required=true) - private Output computeCount; - - /** - * @return The compute count for the shard database. It has to be in multiples of 2. - * - */ - public Output computeCount() { - return this.computeCount; - } - - /** - * Identifier of the underlying container database. - * - */ - @Import(name="containerDatabaseId") - private @Nullable Output containerDatabaseId; - - /** - * @return Identifier of the underlying container database. - * - */ - public Optional> containerDatabaseId() { - return Optional.ofNullable(this.containerDatabaseId); - } - - /** - * Identifier of the underlying container database parent. - * - */ - @Import(name="containerDatabaseParentId") - private @Nullable Output containerDatabaseParentId; - - /** - * @return Identifier of the underlying container database parent. - * - */ - public Optional> containerDatabaseParentId() { - return Optional.ofNullable(this.containerDatabaseParentId); - } - - /** - * The data disk group size to be allocated in GBs for the shard database. - * - */ - @Import(name="dataStorageSizeInGbs", required=true) - private Output dataStorageSizeInGbs; - - /** - * @return The data disk group size to be allocated in GBs for the shard database. - * - */ - public Output dataStorageSizeInGbs() { - return this.dataStorageSizeInGbs; - } - - /** - * Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - @Import(name="encryptionKeyDetails") - private @Nullable Output encryptionKeyDetails; - - /** - * @return Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - public Optional> encryptionKeyDetails() { - return Optional.ofNullable(this.encryptionKeyDetails); - } - - /** - * Determines the auto-scaling mode for the shard database. - * - */ - @Import(name="isAutoScalingEnabled", required=true) - private Output isAutoScalingEnabled; - - /** - * @return Determines the auto-scaling mode for the shard database. - * - */ - public Output isAutoScalingEnabled() { - return this.isAutoScalingEnabled; - } - - /** - * Additional metadata related to shard's underlying supporting resource. - * - */ - @Import(name="metadata") - private @Nullable Output> metadata; - - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - public Optional>> metadata() { - return Optional.ofNullable(this.metadata); - } - - /** - * Name of the shard. - * - */ - @Import(name="name") - private @Nullable Output name; - - /** - * @return Name of the shard. - * - */ - public Optional> name() { - return Optional.ofNullable(this.name); - } - - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - */ - @Import(name="peerCloudAutonomousVmClusterId") - private @Nullable Output peerCloudAutonomousVmClusterId; - - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - */ - public Optional> peerCloudAutonomousVmClusterId() { - return Optional.ofNullable(this.peerCloudAutonomousVmClusterId); - } - - /** - * Name of the shard-group to which the shard belongs. - * - */ - @Import(name="shardGroup") - private @Nullable Output shardGroup; - - /** - * @return Name of the shard-group to which the shard belongs. - * - */ - public Optional> shardGroup() { - return Optional.ofNullable(this.shardGroup); - } - - /** - * The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - * - */ - @Import(name="shardSpace") - private @Nullable Output shardSpace; - - /** - * @return The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - * - */ - public Optional> shardSpace() { - return Optional.ofNullable(this.shardSpace); - } - - /** - * Status of shard or catalog or gsm for the sharded database. - * - */ - @Import(name="status") - private @Nullable Output status; - - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - public Optional> status() { - return Optional.ofNullable(this.status); - } - - /** - * Identifier of the underlying supporting resource. - * - */ - @Import(name="supportingResourceId") - private @Nullable Output supportingResourceId; - - /** - * @return Identifier of the underlying supporting resource. - * - */ - public Optional> supportingResourceId() { - return Optional.ofNullable(this.supportingResourceId); - } - - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - @Import(name="timeCreated") - private @Nullable Output timeCreated; - - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public Optional> timeCreated() { - return Optional.ofNullable(this.timeCreated); - } - - /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - @Import(name="timeSslCertificateExpires") - private @Nullable Output timeSslCertificateExpires; - - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - public Optional> timeSslCertificateExpires() { - return Optional.ofNullable(this.timeSslCertificateExpires); - } - - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - @Import(name="timeUpdated") - private @Nullable Output timeUpdated; - - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public Optional> timeUpdated() { - return Optional.ofNullable(this.timeUpdated); - } - - private ShardedDatabaseShardDetailArgs() {} - - private ShardedDatabaseShardDetailArgs(ShardedDatabaseShardDetailArgs $) { - this.adminPassword = $.adminPassword; - this.cloudAutonomousVmClusterId = $.cloudAutonomousVmClusterId; - this.computeCount = $.computeCount; - this.containerDatabaseId = $.containerDatabaseId; - this.containerDatabaseParentId = $.containerDatabaseParentId; - this.dataStorageSizeInGbs = $.dataStorageSizeInGbs; - this.encryptionKeyDetails = $.encryptionKeyDetails; - this.isAutoScalingEnabled = $.isAutoScalingEnabled; - this.metadata = $.metadata; - this.name = $.name; - this.peerCloudAutonomousVmClusterId = $.peerCloudAutonomousVmClusterId; - this.shardGroup = $.shardGroup; - this.shardSpace = $.shardSpace; - this.status = $.status; - this.supportingResourceId = $.supportingResourceId; - this.timeCreated = $.timeCreated; - this.timeSslCertificateExpires = $.timeSslCertificateExpires; - this.timeUpdated = $.timeUpdated; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ShardedDatabaseShardDetailArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ShardedDatabaseShardDetailArgs $; - - public Builder() { - $ = new ShardedDatabaseShardDetailArgs(); - } - - public Builder(ShardedDatabaseShardDetailArgs defaults) { - $ = new ShardedDatabaseShardDetailArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param adminPassword Admin password for shard database. - * - * @return builder - * - */ - public Builder adminPassword(Output adminPassword) { - $.adminPassword = adminPassword; - return this; - } - - /** - * @param adminPassword Admin password for shard database. - * - * @return builder - * - */ - public Builder adminPassword(String adminPassword) { - return adminPassword(Output.of(adminPassword)); - } - - /** - * @param cloudAutonomousVmClusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - * @return builder - * - */ - public Builder cloudAutonomousVmClusterId(Output cloudAutonomousVmClusterId) { - $.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - return this; - } - - /** - * @param cloudAutonomousVmClusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - * @return builder - * - */ - public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) { - return cloudAutonomousVmClusterId(Output.of(cloudAutonomousVmClusterId)); - } - - /** - * @param computeCount The compute count for the shard database. It has to be in multiples of 2. - * - * @return builder - * - */ - public Builder computeCount(Output computeCount) { - $.computeCount = computeCount; - return this; - } - - /** - * @param computeCount The compute count for the shard database. It has to be in multiples of 2. - * - * @return builder - * - */ - public Builder computeCount(Double computeCount) { - return computeCount(Output.of(computeCount)); - } - - /** - * @param containerDatabaseId Identifier of the underlying container database. - * - * @return builder - * - */ - public Builder containerDatabaseId(@Nullable Output containerDatabaseId) { - $.containerDatabaseId = containerDatabaseId; - return this; - } - - /** - * @param containerDatabaseId Identifier of the underlying container database. - * - * @return builder - * - */ - public Builder containerDatabaseId(String containerDatabaseId) { - return containerDatabaseId(Output.of(containerDatabaseId)); - } - - /** - * @param containerDatabaseParentId Identifier of the underlying container database parent. - * - * @return builder - * - */ - public Builder containerDatabaseParentId(@Nullable Output containerDatabaseParentId) { - $.containerDatabaseParentId = containerDatabaseParentId; - return this; - } - - /** - * @param containerDatabaseParentId Identifier of the underlying container database parent. - * - * @return builder - * - */ - public Builder containerDatabaseParentId(String containerDatabaseParentId) { - return containerDatabaseParentId(Output.of(containerDatabaseParentId)); - } - - /** - * @param dataStorageSizeInGbs The data disk group size to be allocated in GBs for the shard database. - * - * @return builder - * - */ - public Builder dataStorageSizeInGbs(Output dataStorageSizeInGbs) { - $.dataStorageSizeInGbs = dataStorageSizeInGbs; - return this; - } - - /** - * @param dataStorageSizeInGbs The data disk group size to be allocated in GBs for the shard database. - * - * @return builder - * - */ - public Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs) { - return dataStorageSizeInGbs(Output.of(dataStorageSizeInGbs)); - } - - /** - * @param encryptionKeyDetails Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - * @return builder - * - */ - public Builder encryptionKeyDetails(@Nullable Output encryptionKeyDetails) { - $.encryptionKeyDetails = encryptionKeyDetails; - return this; - } - - /** - * @param encryptionKeyDetails Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - * @return builder - * - */ - public Builder encryptionKeyDetails(ShardedDatabaseShardDetailEncryptionKeyDetailsArgs encryptionKeyDetails) { - return encryptionKeyDetails(Output.of(encryptionKeyDetails)); - } - - /** - * @param isAutoScalingEnabled Determines the auto-scaling mode for the shard database. - * - * @return builder - * - */ - public Builder isAutoScalingEnabled(Output isAutoScalingEnabled) { - $.isAutoScalingEnabled = isAutoScalingEnabled; - return this; - } - - /** - * @param isAutoScalingEnabled Determines the auto-scaling mode for the shard database. - * - * @return builder - * - */ - public Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled) { - return isAutoScalingEnabled(Output.of(isAutoScalingEnabled)); - } - - /** - * @param metadata Additional metadata related to shard's underlying supporting resource. - * - * @return builder - * - */ - public Builder metadata(@Nullable Output> metadata) { - $.metadata = metadata; - return this; - } - - /** - * @param metadata Additional metadata related to shard's underlying supporting resource. - * - * @return builder - * - */ - public Builder metadata(Map metadata) { - return metadata(Output.of(metadata)); - } - - /** - * @param name Name of the shard. - * - * @return builder - * - */ - public Builder name(@Nullable Output name) { - $.name = name; - return this; - } - - /** - * @param name Name of the shard. - * - * @return builder - * - */ - public Builder name(String name) { - return name(Output.of(name)); - } - - /** - * @param peerCloudAutonomousVmClusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - * @return builder - * - */ - public Builder peerCloudAutonomousVmClusterId(@Nullable Output peerCloudAutonomousVmClusterId) { - $.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - return this; - } - - /** - * @param peerCloudAutonomousVmClusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - * @return builder - * - */ - public Builder peerCloudAutonomousVmClusterId(String peerCloudAutonomousVmClusterId) { - return peerCloudAutonomousVmClusterId(Output.of(peerCloudAutonomousVmClusterId)); - } - - /** - * @param shardGroup Name of the shard-group to which the shard belongs. - * - * @return builder - * - */ - public Builder shardGroup(@Nullable Output shardGroup) { - $.shardGroup = shardGroup; - return this; - } - - /** - * @param shardGroup Name of the shard-group to which the shard belongs. - * - * @return builder - * - */ - public Builder shardGroup(String shardGroup) { - return shardGroup(Output.of(shardGroup)); - } - - /** - * @param shardSpace The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - * - * @return builder - * - */ - public Builder shardSpace(@Nullable Output shardSpace) { - $.shardSpace = shardSpace; - return this; - } - - /** - * @param shardSpace The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - * - * @return builder - * - */ - public Builder shardSpace(String shardSpace) { - return shardSpace(Output.of(shardSpace)); - } - - /** - * @param status Status of shard or catalog or gsm for the sharded database. - * - * @return builder - * - */ - public Builder status(@Nullable Output status) { - $.status = status; - return this; - } - - /** - * @param status Status of shard or catalog or gsm for the sharded database. - * - * @return builder - * - */ - public Builder status(String status) { - return status(Output.of(status)); - } - - /** - * @param supportingResourceId Identifier of the underlying supporting resource. - * - * @return builder - * - */ - public Builder supportingResourceId(@Nullable Output supportingResourceId) { - $.supportingResourceId = supportingResourceId; - return this; - } - - /** - * @param supportingResourceId Identifier of the underlying supporting resource. - * - * @return builder - * - */ - public Builder supportingResourceId(String supportingResourceId) { - return supportingResourceId(Output.of(supportingResourceId)); - } - - /** - * @param timeCreated The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeCreated(@Nullable Output timeCreated) { - $.timeCreated = timeCreated; - return this; - } - - /** - * @param timeCreated The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeCreated(String timeCreated) { - return timeCreated(Output.of(timeCreated)); - } - - /** - * @param timeSslCertificateExpires The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeSslCertificateExpires(@Nullable Output timeSslCertificateExpires) { - $.timeSslCertificateExpires = timeSslCertificateExpires; - return this; - } - - /** - * @param timeSslCertificateExpires The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeSslCertificateExpires(String timeSslCertificateExpires) { - return timeSslCertificateExpires(Output.of(timeSslCertificateExpires)); - } - - /** - * @param timeUpdated The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeUpdated(@Nullable Output timeUpdated) { - $.timeUpdated = timeUpdated; - return this; - } - - /** - * @param timeUpdated The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeUpdated(String timeUpdated) { - return timeUpdated(Output.of(timeUpdated)); - } - - public ShardedDatabaseShardDetailArgs build() { - if ($.adminPassword == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetailArgs", "adminPassword"); - } - if ($.cloudAutonomousVmClusterId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetailArgs", "cloudAutonomousVmClusterId"); - } - if ($.computeCount == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetailArgs", "computeCount"); - } - if ($.dataStorageSizeInGbs == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetailArgs", "dataStorageSizeInGbs"); - } - if ($.isAutoScalingEnabled == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetailArgs", "isAutoScalingEnabled"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseShardDetailEncryptionKeyDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseShardDetailEncryptionKeyDetailsArgs.java deleted file mode 100644 index 26f25b037b..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseShardDetailEncryptionKeyDetailsArgs.java +++ /dev/null @@ -1,164 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - - -public final class ShardedDatabaseShardDetailEncryptionKeyDetailsArgs extends com.pulumi.resources.ResourceArgs { - - public static final ShardedDatabaseShardDetailEncryptionKeyDetailsArgs Empty = new ShardedDatabaseShardDetailEncryptionKeyDetailsArgs(); - - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - @Import(name="kmsKeyId", required=true) - private Output kmsKeyId; - - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - public Output kmsKeyId() { - return this.kmsKeyId; - } - - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - @Import(name="kmsKeyVersionId") - private @Nullable Output kmsKeyVersionId; - - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - public Optional> kmsKeyVersionId() { - return Optional.ofNullable(this.kmsKeyVersionId); - } - - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - @Import(name="vaultId", required=true) - private Output vaultId; - - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - public Output vaultId() { - return this.vaultId; - } - - private ShardedDatabaseShardDetailEncryptionKeyDetailsArgs() {} - - private ShardedDatabaseShardDetailEncryptionKeyDetailsArgs(ShardedDatabaseShardDetailEncryptionKeyDetailsArgs $) { - this.kmsKeyId = $.kmsKeyId; - this.kmsKeyVersionId = $.kmsKeyVersionId; - this.vaultId = $.vaultId; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ShardedDatabaseShardDetailEncryptionKeyDetailsArgs defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ShardedDatabaseShardDetailEncryptionKeyDetailsArgs $; - - public Builder() { - $ = new ShardedDatabaseShardDetailEncryptionKeyDetailsArgs(); - } - - public Builder(ShardedDatabaseShardDetailEncryptionKeyDetailsArgs defaults) { - $ = new ShardedDatabaseShardDetailEncryptionKeyDetailsArgs(Objects.requireNonNull(defaults)); - } - - /** - * @param kmsKeyId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - * @return builder - * - */ - public Builder kmsKeyId(Output kmsKeyId) { - $.kmsKeyId = kmsKeyId; - return this; - } - - /** - * @param kmsKeyId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - * @return builder - * - */ - public Builder kmsKeyId(String kmsKeyId) { - return kmsKeyId(Output.of(kmsKeyId)); - } - - /** - * @param kmsKeyVersionId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - * @return builder - * - */ - public Builder kmsKeyVersionId(@Nullable Output kmsKeyVersionId) { - $.kmsKeyVersionId = kmsKeyVersionId; - return this; - } - - /** - * @param kmsKeyVersionId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - * @return builder - * - */ - public Builder kmsKeyVersionId(String kmsKeyVersionId) { - return kmsKeyVersionId(Output.of(kmsKeyVersionId)); - } - - /** - * @param vaultId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - * @return builder - * - */ - public Builder vaultId(Output vaultId) { - $.vaultId = vaultId; - return this; - } - - /** - * @param vaultId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - * @return builder - * - */ - public Builder vaultId(String vaultId) { - return vaultId(Output.of(vaultId)); - } - - public ShardedDatabaseShardDetailEncryptionKeyDetailsArgs build() { - if ($.kmsKeyId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetailEncryptionKeyDetailsArgs", "kmsKeyId"); - } - if ($.vaultId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetailEncryptionKeyDetailsArgs", "vaultId"); - } - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseState.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseState.java deleted file mode 100644 index 365d40ffc3..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/inputs/ShardedDatabaseState.java +++ /dev/null @@ -1,1593 +0,0 @@ -// *** 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.GloballyDistributedDatabase.inputs; - -import com.pulumi.core.Output; -import com.pulumi.core.annotations.Import; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabaseCatalogDetailArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabaseConnectionStringArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabaseGsmArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabasePatchOperationArgs; -import com.pulumi.oci.GloballyDistributedDatabase.inputs.ShardedDatabaseShardDetailArgs; -import java.lang.Integer; -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 ShardedDatabaseState extends com.pulumi.resources.ResourceArgs { - - public static final ShardedDatabaseState Empty = new ShardedDatabaseState(); - - /** - * Collection of ATP-Dedicated catalogs that needs to be created. - * - */ - @Import(name="catalogDetails") - private @Nullable Output> catalogDetails; - - /** - * @return Collection of ATP-Dedicated catalogs that needs to be created. - * - */ - public Optional>> catalogDetails() { - return Optional.ofNullable(this.catalogDetails); - } - - /** - * The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - @Import(name="characterSet") - private @Nullable Output characterSet; - - /** - * @return The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - public Optional> characterSet() { - return Optional.ofNullable(this.characterSet); - } - - /** - * The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - */ - @Import(name="chunks") - private @Nullable Output chunks; - - /** - * @return The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - */ - public Optional> chunks() { - return Optional.ofNullable(this.chunks); - } - - /** - * The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - */ - @Import(name="clusterCertificateCommonName") - private @Nullable Output clusterCertificateCommonName; - - /** - * @return The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - */ - public Optional> clusterCertificateCommonName() { - return Optional.ofNullable(this.clusterCertificateCommonName); - } - - /** - * (Updatable) Identifier of the compartment where sharded database is to be created. - * - */ - @Import(name="compartmentId") - private @Nullable Output compartmentId; - - /** - * @return (Updatable) Identifier of the compartment where sharded database is to be created. - * - */ - public Optional> compartmentId() { - return Optional.ofNullable(this.compartmentId); - } - - /** - * (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - * - */ - @Import(name="configureGsmsTrigger") - private @Nullable Output configureGsmsTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - * - */ - public Optional> configureGsmsTrigger() { - return Optional.ofNullable(this.configureGsmsTrigger); - } - - /** - * (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - * - */ - @Import(name="configureShardingTrigger") - private @Nullable Output configureShardingTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - * - */ - public Optional> configureShardingTrigger() { - return Optional.ofNullable(this.configureShardingTrigger); - } - - /** - * Details of sharded database connection String. - * - */ - @Import(name="connectionStrings") - private @Nullable Output> connectionStrings; - - /** - * @return Details of sharded database connection String. - * - */ - public Optional>> connectionStrings() { - return Optional.ofNullable(this.connectionStrings); - } - - /** - * The database deployment type. - * - */ - @Import(name="dbDeploymentType") - private @Nullable Output dbDeploymentType; - - /** - * @return The database deployment type. - * - */ - public Optional> dbDeploymentType() { - return Optional.ofNullable(this.dbDeploymentType); - } - - /** - * Oracle Database version of the Autonomous Container Database. - * - */ - @Import(name="dbVersion") - private @Nullable Output dbVersion; - - /** - * @return Oracle Database version of the Autonomous Container Database. - * - */ - public Optional> dbVersion() { - return Optional.ofNullable(this.dbVersion); - } - - /** - * Possible workload types. - * - */ - @Import(name="dbWorkload") - private @Nullable Output dbWorkload; - - /** - * @return Possible workload types. - * - */ - public Optional> dbWorkload() { - return Optional.ofNullable(this.dbWorkload); - } - - /** - * (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) Oracle sharded database display name. - * - */ - @Import(name="displayName") - private @Nullable Output displayName; - - /** - * @return (Updatable) Oracle sharded database display name. - * - */ - public Optional> displayName() { - return Optional.ofNullable(this.displayName); - } - - /** - * (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - @Import(name="downloadGsmCertificateSigningRequestTrigger") - private @Nullable Output downloadGsmCertificateSigningRequestTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - public Optional> downloadGsmCertificateSigningRequestTrigger() { - return Optional.ofNullable(this.downloadGsmCertificateSigningRequestTrigger); - } - - /** - * (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) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - @Import(name="generateGsmCertificateSigningRequestTrigger") - private @Nullable Output generateGsmCertificateSigningRequestTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - * - */ - public Optional> generateGsmCertificateSigningRequestTrigger() { - return Optional.ofNullable(this.generateGsmCertificateSigningRequestTrigger); - } - - /** - * (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - * - */ - @Import(name="generateWalletTrigger") - private @Nullable Output generateWalletTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - * - */ - public Optional> generateWalletTrigger() { - return Optional.ofNullable(this.generateWalletTrigger); - } - - /** - * (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - * - */ - @Import(name="getConnectionStringTrigger") - private @Nullable Output getConnectionStringTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - * - */ - public Optional> getConnectionStringTrigger() { - return Optional.ofNullable(this.getConnectionStringTrigger); - } - - /** - * Details of GSM instances for the sharded database. - * - */ - @Import(name="gsms") - private @Nullable Output> gsms; - - /** - * @return Details of GSM instances for the sharded database. - * - */ - public Optional>> gsms() { - return Optional.ofNullable(this.gsms); - } - - @Import(name="lifecycleState") - private @Nullable Output lifecycleState; - - public Optional> lifecycleState() { - return Optional.ofNullable(this.lifecycleState); - } - - /** - * Detailed message for the lifecycle state. - * - */ - @Import(name="lifecycleStateDetails") - private @Nullable Output lifecycleStateDetails; - - /** - * @return Detailed message for the lifecycle state. - * - */ - public Optional> lifecycleStateDetails() { - return Optional.ofNullable(this.lifecycleStateDetails); - } - - /** - * The listener port number for sharded database. - * - */ - @Import(name="listenerPort") - private @Nullable Output listenerPort; - - /** - * @return The listener port number for sharded database. - * - */ - public Optional> listenerPort() { - return Optional.ofNullable(this.listenerPort); - } - - /** - * The TLS listener port number for sharded database. - * - */ - @Import(name="listenerPortTls") - private @Nullable Output listenerPortTls; - - /** - * @return The TLS listener port number for sharded database. - * - */ - public Optional> listenerPortTls() { - return Optional.ofNullable(this.listenerPortTls); - } - - /** - * The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - @Import(name="ncharacterSet") - private @Nullable Output ncharacterSet; - - /** - * @return The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - */ - public Optional> ncharacterSet() { - return Optional.ofNullable(this.ncharacterSet); - } - - /** - * Ons port local for sharded database. - * - */ - @Import(name="onsPortLocal") - private @Nullable Output onsPortLocal; - - /** - * @return Ons port local for sharded database. - * - */ - public Optional> onsPortLocal() { - return Optional.ofNullable(this.onsPortLocal); - } - - /** - * Ons remote port for sharded database. - * - */ - @Import(name="onsPortRemote") - private @Nullable Output onsPortRemote; - - /** - * @return Ons remote port for sharded database. - * - */ - public Optional> onsPortRemote() { - return Optional.ofNullable(this.onsPortRemote); - } - - /** - * (Updatable) - * - */ - @Import(name="patchOperations") - private @Nullable Output> patchOperations; - - /** - * @return (Updatable) - * - */ - public Optional>> patchOperations() { - return Optional.ofNullable(this.patchOperations); - } - - /** - * Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - * - */ - @Import(name="prefix") - private @Nullable Output prefix; - - /** - * @return Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - * - */ - public Optional> prefix() { - return Optional.ofNullable(this.prefix); - } - - /** - * The OCID of private endpoint being used by the sharded database. - * - */ - @Import(name="privateEndpoint") - private @Nullable Output privateEndpoint; - - /** - * @return The OCID of private endpoint being used by the sharded database. - * - */ - public Optional> privateEndpoint() { - return Optional.ofNullable(this.privateEndpoint); - } - - /** - * Collection of ATP-Dedicated shards that needs to be created. - * - */ - @Import(name="shardDetails") - private @Nullable Output> shardDetails; - - /** - * @return Collection of ATP-Dedicated shards that needs to be created. - * - */ - public Optional>> shardDetails() { - return Optional.ofNullable(this.shardDetails); - } - - @Import(name="shardedDatabaseId") - private @Nullable Output shardedDatabaseId; - - public Optional> shardedDatabaseId() { - return Optional.ofNullable(this.shardedDatabaseId); - } - - /** - * Sharding Method. - * - */ - @Import(name="shardingMethod") - private @Nullable Output shardingMethod; - - /** - * @return Sharding Method. - * - */ - public Optional> shardingMethod() { - return Optional.ofNullable(this.shardingMethod); - } - - /** - * (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - * - */ - @Import(name="startDatabaseTrigger") - private @Nullable Output startDatabaseTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - * - */ - public Optional> startDatabaseTrigger() { - return Optional.ofNullable(this.startDatabaseTrigger); - } - - /** - * Lifecycle states for sharded databases. - * - */ - @Import(name="state") - private @Nullable Output state; - - /** - * @return Lifecycle states for sharded databases. - * - */ - public Optional> state() { - return Optional.ofNullable(this.state); - } - - /** - * (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - * - */ - @Import(name="stopDatabaseTrigger") - private @Nullable Output stopDatabaseTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - * - */ - public Optional> stopDatabaseTrigger() { - return Optional.ofNullable(this.stopDatabaseTrigger); - } - - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - @Import(name="systemTags") - private @Nullable Output> systemTags; - - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - public Optional>> systemTags() { - return Optional.ofNullable(this.systemTags); - } - - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - @Import(name="timeCreated") - private @Nullable Output timeCreated; - - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public Optional> timeCreated() { - return Optional.ofNullable(this.timeCreated); - } - - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - @Import(name="timeUpdated") - private @Nullable Output timeUpdated; - - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public Optional> timeUpdated() { - return Optional.ofNullable(this.timeUpdated); - } - - /** - * Timezone associated with the sharded database. - * - */ - @Import(name="timeZone") - private @Nullable Output timeZone; - - /** - * @return Timezone associated with the sharded database. - * - */ - public Optional> timeZone() { - return Optional.ofNullable(this.timeZone); - } - - /** - * (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - * - */ - @Import(name="uploadSignedCertificateAndGenerateWalletTrigger") - private @Nullable Output uploadSignedCertificateAndGenerateWalletTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - * - */ - public Optional> uploadSignedCertificateAndGenerateWalletTrigger() { - return Optional.ofNullable(this.uploadSignedCertificateAndGenerateWalletTrigger); - } - - /** - * (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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="validateNetworkTrigger") - private @Nullable Output validateNetworkTrigger; - - /** - * @return (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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> validateNetworkTrigger() { - return Optional.ofNullable(this.validateNetworkTrigger); - } - - private ShardedDatabaseState() {} - - private ShardedDatabaseState(ShardedDatabaseState $) { - this.catalogDetails = $.catalogDetails; - this.characterSet = $.characterSet; - this.chunks = $.chunks; - this.clusterCertificateCommonName = $.clusterCertificateCommonName; - this.compartmentId = $.compartmentId; - this.configureGsmsTrigger = $.configureGsmsTrigger; - this.configureShardingTrigger = $.configureShardingTrigger; - this.connectionStrings = $.connectionStrings; - this.dbDeploymentType = $.dbDeploymentType; - this.dbVersion = $.dbVersion; - this.dbWorkload = $.dbWorkload; - this.definedTags = $.definedTags; - this.displayName = $.displayName; - this.downloadGsmCertificateSigningRequestTrigger = $.downloadGsmCertificateSigningRequestTrigger; - this.freeformTags = $.freeformTags; - this.generateGsmCertificateSigningRequestTrigger = $.generateGsmCertificateSigningRequestTrigger; - this.generateWalletTrigger = $.generateWalletTrigger; - this.getConnectionStringTrigger = $.getConnectionStringTrigger; - this.gsms = $.gsms; - this.lifecycleState = $.lifecycleState; - this.lifecycleStateDetails = $.lifecycleStateDetails; - this.listenerPort = $.listenerPort; - this.listenerPortTls = $.listenerPortTls; - this.ncharacterSet = $.ncharacterSet; - this.onsPortLocal = $.onsPortLocal; - this.onsPortRemote = $.onsPortRemote; - this.patchOperations = $.patchOperations; - this.prefix = $.prefix; - this.privateEndpoint = $.privateEndpoint; - this.shardDetails = $.shardDetails; - this.shardedDatabaseId = $.shardedDatabaseId; - this.shardingMethod = $.shardingMethod; - this.startDatabaseTrigger = $.startDatabaseTrigger; - this.state = $.state; - this.stopDatabaseTrigger = $.stopDatabaseTrigger; - this.systemTags = $.systemTags; - this.timeCreated = $.timeCreated; - this.timeUpdated = $.timeUpdated; - this.timeZone = $.timeZone; - this.uploadSignedCertificateAndGenerateWalletTrigger = $.uploadSignedCertificateAndGenerateWalletTrigger; - this.validateNetworkTrigger = $.validateNetworkTrigger; - } - - public static Builder builder() { - return new Builder(); - } - public static Builder builder(ShardedDatabaseState defaults) { - return new Builder(defaults); - } - - public static final class Builder { - private ShardedDatabaseState $; - - public Builder() { - $ = new ShardedDatabaseState(); - } - - public Builder(ShardedDatabaseState defaults) { - $ = new ShardedDatabaseState(Objects.requireNonNull(defaults)); - } - - /** - * @param catalogDetails Collection of ATP-Dedicated catalogs that needs to be created. - * - * @return builder - * - */ - public Builder catalogDetails(@Nullable Output> catalogDetails) { - $.catalogDetails = catalogDetails; - return this; - } - - /** - * @param catalogDetails Collection of ATP-Dedicated catalogs that needs to be created. - * - * @return builder - * - */ - public Builder catalogDetails(List catalogDetails) { - return catalogDetails(Output.of(catalogDetails)); - } - - /** - * @param catalogDetails Collection of ATP-Dedicated catalogs that needs to be created. - * - * @return builder - * - */ - public Builder catalogDetails(ShardedDatabaseCatalogDetailArgs... catalogDetails) { - return catalogDetails(List.of(catalogDetails)); - } - - /** - * @param characterSet The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - * @return builder - * - */ - public Builder characterSet(@Nullable Output characterSet) { - $.characterSet = characterSet; - return this; - } - - /** - * @param characterSet The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - * @return builder - * - */ - public Builder characterSet(String characterSet) { - return characterSet(Output.of(characterSet)); - } - - /** - * @param chunks The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - * @return builder - * - */ - public Builder chunks(@Nullable Output chunks) { - $.chunks = chunks; - return this; - } - - /** - * @param chunks The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - * @return builder - * - */ - public Builder chunks(Integer chunks) { - return chunks(Output.of(chunks)); - } - - /** - * @param clusterCertificateCommonName The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - * @return builder - * - */ - public Builder clusterCertificateCommonName(@Nullable Output clusterCertificateCommonName) { - $.clusterCertificateCommonName = clusterCertificateCommonName; - return this; - } - - /** - * @param clusterCertificateCommonName The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - * @return builder - * - */ - public Builder clusterCertificateCommonName(String clusterCertificateCommonName) { - return clusterCertificateCommonName(Output.of(clusterCertificateCommonName)); - } - - /** - * @param compartmentId (Updatable) Identifier of the compartment where sharded database is to be created. - * - * @return builder - * - */ - public Builder compartmentId(@Nullable Output compartmentId) { - $.compartmentId = compartmentId; - return this; - } - - /** - * @param compartmentId (Updatable) Identifier of the compartment where sharded database is to be created. - * - * @return builder - * - */ - public Builder compartmentId(String compartmentId) { - return compartmentId(Output.of(compartmentId)); - } - - /** - * @param configureGsmsTrigger (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - * - * @return builder - * - */ - public Builder configureGsmsTrigger(@Nullable Output configureGsmsTrigger) { - $.configureGsmsTrigger = configureGsmsTrigger; - return this; - } - - /** - * @param configureGsmsTrigger (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - * - * @return builder - * - */ - public Builder configureGsmsTrigger(Integer configureGsmsTrigger) { - return configureGsmsTrigger(Output.of(configureGsmsTrigger)); - } - - /** - * @param configureShardingTrigger (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - * - * @return builder - * - */ - public Builder configureShardingTrigger(@Nullable Output configureShardingTrigger) { - $.configureShardingTrigger = configureShardingTrigger; - return this; - } - - /** - * @param configureShardingTrigger (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - * - * @return builder - * - */ - public Builder configureShardingTrigger(Integer configureShardingTrigger) { - return configureShardingTrigger(Output.of(configureShardingTrigger)); - } - - /** - * @param connectionStrings Details of sharded database connection String. - * - * @return builder - * - */ - public Builder connectionStrings(@Nullable Output> connectionStrings) { - $.connectionStrings = connectionStrings; - return this; - } - - /** - * @param connectionStrings Details of sharded database connection String. - * - * @return builder - * - */ - public Builder connectionStrings(List connectionStrings) { - return connectionStrings(Output.of(connectionStrings)); - } - - /** - * @param connectionStrings Details of sharded database connection String. - * - * @return builder - * - */ - public Builder connectionStrings(ShardedDatabaseConnectionStringArgs... connectionStrings) { - return connectionStrings(List.of(connectionStrings)); - } - - /** - * @param dbDeploymentType The database deployment type. - * - * @return builder - * - */ - public Builder dbDeploymentType(@Nullable Output dbDeploymentType) { - $.dbDeploymentType = dbDeploymentType; - return this; - } - - /** - * @param dbDeploymentType The database deployment type. - * - * @return builder - * - */ - public Builder dbDeploymentType(String dbDeploymentType) { - return dbDeploymentType(Output.of(dbDeploymentType)); - } - - /** - * @param dbVersion Oracle Database version of the Autonomous Container Database. - * - * @return builder - * - */ - public Builder dbVersion(@Nullable Output dbVersion) { - $.dbVersion = dbVersion; - return this; - } - - /** - * @param dbVersion Oracle Database version of the Autonomous Container Database. - * - * @return builder - * - */ - public Builder dbVersion(String dbVersion) { - return dbVersion(Output.of(dbVersion)); - } - - /** - * @param dbWorkload Possible workload types. - * - * @return builder - * - */ - public Builder dbWorkload(@Nullable Output dbWorkload) { - $.dbWorkload = dbWorkload; - return this; - } - - /** - * @param dbWorkload Possible workload types. - * - * @return builder - * - */ - public Builder dbWorkload(String dbWorkload) { - return dbWorkload(Output.of(dbWorkload)); - } - - /** - * @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 displayName (Updatable) Oracle sharded database display name. - * - * @return builder - * - */ - public Builder displayName(@Nullable Output displayName) { - $.displayName = displayName; - return this; - } - - /** - * @param displayName (Updatable) Oracle sharded database display name. - * - * @return builder - * - */ - public Builder displayName(String displayName) { - return displayName(Output.of(displayName)); - } - - /** - * @param downloadGsmCertificateSigningRequestTrigger (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - * - * @return builder - * - */ - public Builder downloadGsmCertificateSigningRequestTrigger(@Nullable Output downloadGsmCertificateSigningRequestTrigger) { - $.downloadGsmCertificateSigningRequestTrigger = downloadGsmCertificateSigningRequestTrigger; - return this; - } - - /** - * @param downloadGsmCertificateSigningRequestTrigger (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - * - * @return builder - * - */ - public Builder downloadGsmCertificateSigningRequestTrigger(Integer downloadGsmCertificateSigningRequestTrigger) { - return downloadGsmCertificateSigningRequestTrigger(Output.of(downloadGsmCertificateSigningRequestTrigger)); - } - - /** - * @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 generateGsmCertificateSigningRequestTrigger (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - * - * @return builder - * - */ - public Builder generateGsmCertificateSigningRequestTrigger(@Nullable Output generateGsmCertificateSigningRequestTrigger) { - $.generateGsmCertificateSigningRequestTrigger = generateGsmCertificateSigningRequestTrigger; - return this; - } - - /** - * @param generateGsmCertificateSigningRequestTrigger (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - * - * @return builder - * - */ - public Builder generateGsmCertificateSigningRequestTrigger(Integer generateGsmCertificateSigningRequestTrigger) { - return generateGsmCertificateSigningRequestTrigger(Output.of(generateGsmCertificateSigningRequestTrigger)); - } - - /** - * @param generateWalletTrigger (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - * - * @return builder - * - */ - public Builder generateWalletTrigger(@Nullable Output generateWalletTrigger) { - $.generateWalletTrigger = generateWalletTrigger; - return this; - } - - /** - * @param generateWalletTrigger (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - * - * @return builder - * - */ - public Builder generateWalletTrigger(Integer generateWalletTrigger) { - return generateWalletTrigger(Output.of(generateWalletTrigger)); - } - - /** - * @param getConnectionStringTrigger (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - * - * @return builder - * - */ - public Builder getConnectionStringTrigger(@Nullable Output getConnectionStringTrigger) { - $.getConnectionStringTrigger = getConnectionStringTrigger; - return this; - } - - /** - * @param getConnectionStringTrigger (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - * - * @return builder - * - */ - public Builder getConnectionStringTrigger(Integer getConnectionStringTrigger) { - return getConnectionStringTrigger(Output.of(getConnectionStringTrigger)); - } - - /** - * @param gsms Details of GSM instances for the sharded database. - * - * @return builder - * - */ - public Builder gsms(@Nullable Output> gsms) { - $.gsms = gsms; - return this; - } - - /** - * @param gsms Details of GSM instances for the sharded database. - * - * @return builder - * - */ - public Builder gsms(List gsms) { - return gsms(Output.of(gsms)); - } - - /** - * @param gsms Details of GSM instances for the sharded database. - * - * @return builder - * - */ - public Builder gsms(ShardedDatabaseGsmArgs... gsms) { - return gsms(List.of(gsms)); - } - - public Builder lifecycleState(@Nullable Output lifecycleState) { - $.lifecycleState = lifecycleState; - return this; - } - - public Builder lifecycleState(String lifecycleState) { - return lifecycleState(Output.of(lifecycleState)); - } - - /** - * @param lifecycleStateDetails Detailed message for the lifecycle state. - * - * @return builder - * - */ - public Builder lifecycleStateDetails(@Nullable Output lifecycleStateDetails) { - $.lifecycleStateDetails = lifecycleStateDetails; - return this; - } - - /** - * @param lifecycleStateDetails Detailed message for the lifecycle state. - * - * @return builder - * - */ - public Builder lifecycleStateDetails(String lifecycleStateDetails) { - return lifecycleStateDetails(Output.of(lifecycleStateDetails)); - } - - /** - * @param listenerPort The listener port number for sharded database. - * - * @return builder - * - */ - public Builder listenerPort(@Nullable Output listenerPort) { - $.listenerPort = listenerPort; - return this; - } - - /** - * @param listenerPort The listener port number for sharded database. - * - * @return builder - * - */ - public Builder listenerPort(Integer listenerPort) { - return listenerPort(Output.of(listenerPort)); - } - - /** - * @param listenerPortTls The TLS listener port number for sharded database. - * - * @return builder - * - */ - public Builder listenerPortTls(@Nullable Output listenerPortTls) { - $.listenerPortTls = listenerPortTls; - return this; - } - - /** - * @param listenerPortTls The TLS listener port number for sharded database. - * - * @return builder - * - */ - public Builder listenerPortTls(Integer listenerPortTls) { - return listenerPortTls(Output.of(listenerPortTls)); - } - - /** - * @param ncharacterSet The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - * @return builder - * - */ - public Builder ncharacterSet(@Nullable Output ncharacterSet) { - $.ncharacterSet = ncharacterSet; - return this; - } - - /** - * @param ncharacterSet The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - * - * @return builder - * - */ - public Builder ncharacterSet(String ncharacterSet) { - return ncharacterSet(Output.of(ncharacterSet)); - } - - /** - * @param onsPortLocal Ons port local for sharded database. - * - * @return builder - * - */ - public Builder onsPortLocal(@Nullable Output onsPortLocal) { - $.onsPortLocal = onsPortLocal; - return this; - } - - /** - * @param onsPortLocal Ons port local for sharded database. - * - * @return builder - * - */ - public Builder onsPortLocal(Integer onsPortLocal) { - return onsPortLocal(Output.of(onsPortLocal)); - } - - /** - * @param onsPortRemote Ons remote port for sharded database. - * - * @return builder - * - */ - public Builder onsPortRemote(@Nullable Output onsPortRemote) { - $.onsPortRemote = onsPortRemote; - return this; - } - - /** - * @param onsPortRemote Ons remote port for sharded database. - * - * @return builder - * - */ - public Builder onsPortRemote(Integer onsPortRemote) { - return onsPortRemote(Output.of(onsPortRemote)); - } - - /** - * @param patchOperations (Updatable) - * - * @return builder - * - */ - public Builder patchOperations(@Nullable Output> patchOperations) { - $.patchOperations = patchOperations; - return this; - } - - /** - * @param patchOperations (Updatable) - * - * @return builder - * - */ - public Builder patchOperations(List patchOperations) { - return patchOperations(Output.of(patchOperations)); - } - - /** - * @param patchOperations (Updatable) - * - * @return builder - * - */ - public Builder patchOperations(ShardedDatabasePatchOperationArgs... patchOperations) { - return patchOperations(List.of(patchOperations)); - } - - /** - * @param prefix Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - * - * @return builder - * - */ - public Builder prefix(@Nullable Output prefix) { - $.prefix = prefix; - return this; - } - - /** - * @param prefix Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - * - * @return builder - * - */ - public Builder prefix(String prefix) { - return prefix(Output.of(prefix)); - } - - /** - * @param privateEndpoint The OCID of private endpoint being used by the sharded database. - * - * @return builder - * - */ - public Builder privateEndpoint(@Nullable Output privateEndpoint) { - $.privateEndpoint = privateEndpoint; - return this; - } - - /** - * @param privateEndpoint The OCID of private endpoint being used by the sharded database. - * - * @return builder - * - */ - public Builder privateEndpoint(String privateEndpoint) { - return privateEndpoint(Output.of(privateEndpoint)); - } - - /** - * @param shardDetails Collection of ATP-Dedicated shards that needs to be created. - * - * @return builder - * - */ - public Builder shardDetails(@Nullable Output> shardDetails) { - $.shardDetails = shardDetails; - return this; - } - - /** - * @param shardDetails Collection of ATP-Dedicated shards that needs to be created. - * - * @return builder - * - */ - public Builder shardDetails(List shardDetails) { - return shardDetails(Output.of(shardDetails)); - } - - /** - * @param shardDetails Collection of ATP-Dedicated shards that needs to be created. - * - * @return builder - * - */ - public Builder shardDetails(ShardedDatabaseShardDetailArgs... shardDetails) { - return shardDetails(List.of(shardDetails)); - } - - public Builder shardedDatabaseId(@Nullable Output shardedDatabaseId) { - $.shardedDatabaseId = shardedDatabaseId; - return this; - } - - public Builder shardedDatabaseId(String shardedDatabaseId) { - return shardedDatabaseId(Output.of(shardedDatabaseId)); - } - - /** - * @param shardingMethod Sharding Method. - * - * @return builder - * - */ - public Builder shardingMethod(@Nullable Output shardingMethod) { - $.shardingMethod = shardingMethod; - return this; - } - - /** - * @param shardingMethod Sharding Method. - * - * @return builder - * - */ - public Builder shardingMethod(String shardingMethod) { - return shardingMethod(Output.of(shardingMethod)); - } - - /** - * @param startDatabaseTrigger (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - * - * @return builder - * - */ - public Builder startDatabaseTrigger(@Nullable Output startDatabaseTrigger) { - $.startDatabaseTrigger = startDatabaseTrigger; - return this; - } - - /** - * @param startDatabaseTrigger (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - * - * @return builder - * - */ - public Builder startDatabaseTrigger(Integer startDatabaseTrigger) { - return startDatabaseTrigger(Output.of(startDatabaseTrigger)); - } - - /** - * @param state Lifecycle states for sharded databases. - * - * @return builder - * - */ - public Builder state(@Nullable Output state) { - $.state = state; - return this; - } - - /** - * @param state Lifecycle states for sharded databases. - * - * @return builder - * - */ - public Builder state(String state) { - return state(Output.of(state)); - } - - /** - * @param stopDatabaseTrigger (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - * - * @return builder - * - */ - public Builder stopDatabaseTrigger(@Nullable Output stopDatabaseTrigger) { - $.stopDatabaseTrigger = stopDatabaseTrigger; - return this; - } - - /** - * @param stopDatabaseTrigger (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - * - * @return builder - * - */ - public Builder stopDatabaseTrigger(Integer stopDatabaseTrigger) { - return stopDatabaseTrigger(Output.of(stopDatabaseTrigger)); - } - - /** - * @param systemTags Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - * @return builder - * - */ - public Builder systemTags(@Nullable Output> systemTags) { - $.systemTags = systemTags; - return this; - } - - /** - * @param systemTags Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - * @return builder - * - */ - public Builder systemTags(Map systemTags) { - return systemTags(Output.of(systemTags)); - } - - /** - * @param timeCreated The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeCreated(@Nullable Output timeCreated) { - $.timeCreated = timeCreated; - return this; - } - - /** - * @param timeCreated The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeCreated(String timeCreated) { - return timeCreated(Output.of(timeCreated)); - } - - /** - * @param timeUpdated The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeUpdated(@Nullable Output timeUpdated) { - $.timeUpdated = timeUpdated; - return this; - } - - /** - * @param timeUpdated The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - * @return builder - * - */ - public Builder timeUpdated(String timeUpdated) { - return timeUpdated(Output.of(timeUpdated)); - } - - /** - * @param timeZone Timezone associated with the sharded database. - * - * @return builder - * - */ - public Builder timeZone(@Nullable Output timeZone) { - $.timeZone = timeZone; - return this; - } - - /** - * @param timeZone Timezone associated with the sharded database. - * - * @return builder - * - */ - public Builder timeZone(String timeZone) { - return timeZone(Output.of(timeZone)); - } - - /** - * @param uploadSignedCertificateAndGenerateWalletTrigger (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - * - * @return builder - * - */ - public Builder uploadSignedCertificateAndGenerateWalletTrigger(@Nullable Output uploadSignedCertificateAndGenerateWalletTrigger) { - $.uploadSignedCertificateAndGenerateWalletTrigger = uploadSignedCertificateAndGenerateWalletTrigger; - return this; - } - - /** - * @param uploadSignedCertificateAndGenerateWalletTrigger (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - * - * @return builder - * - */ - public Builder uploadSignedCertificateAndGenerateWalletTrigger(Integer uploadSignedCertificateAndGenerateWalletTrigger) { - return uploadSignedCertificateAndGenerateWalletTrigger(Output.of(uploadSignedCertificateAndGenerateWalletTrigger)); - } - - /** - * @param validateNetworkTrigger (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 validateNetworkTrigger(@Nullable Output validateNetworkTrigger) { - $.validateNetworkTrigger = validateNetworkTrigger; - return this; - } - - /** - * @param validateNetworkTrigger (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 validateNetworkTrigger(Integer validateNetworkTrigger) { - return validateNetworkTrigger(Output.of(validateNetworkTrigger)); - } - - public ShardedDatabaseState build() { - return $; - } - } - -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointResult.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointResult.java deleted file mode 100644 index bc01bb3eb6..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointResult.java +++ /dev/null @@ -1,426 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetPrivateEndpointResult { - /** - * @return Identifier of the compartment in which private endpoint exists. - * - */ - 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 PrivateEndpoint description. - * - */ - private String description; - /** - * @return PrivateEndpoint display name. - * - */ - 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 identifier of the Private Endpoint. - * - */ - private String id; - /** - * @return Detailed message for the lifecycle state. - * - */ - private String lifecycleStateDetails; - /** - * @return The OCIDs of the network security groups that the private endpoint belongs to. - * - */ - private List nsgIds; - private String privateEndpointId; - /** - * @return IP address of the Private Endpoint. - * - */ - private String privateIp; - /** - * @return The OCIDs of sharded databases that consumes the given private endpoint. - * - */ - private List shardedDatabases; - /** - * @return Lifecycle states for private endpoint. - * - */ - private String state; - /** - * @return Identifier of the subnet in which private endpoint exists. - * - */ - private String subnetId; - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - private Map systemTags; - /** - * @return The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - * - */ - private String timeCreated; - /** - * @return The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - * - */ - private String timeUpdated; - /** - * @return Identifier of the VCN in which subnet exists. - * - */ - private String vcnId; - - private GetPrivateEndpointResult() {} - /** - * @return Identifier of the compartment in which private endpoint exists. - * - */ - 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 PrivateEndpoint description. - * - */ - public String description() { - return this.description; - } - /** - * @return PrivateEndpoint display name. - * - */ - 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 identifier of the Private Endpoint. - * - */ - public String id() { - return this.id; - } - /** - * @return Detailed message for the lifecycle state. - * - */ - public String lifecycleStateDetails() { - return this.lifecycleStateDetails; - } - /** - * @return The OCIDs of the network security groups that the private endpoint belongs to. - * - */ - public List nsgIds() { - return this.nsgIds; - } - public String privateEndpointId() { - return this.privateEndpointId; - } - /** - * @return IP address of the Private Endpoint. - * - */ - public String privateIp() { - return this.privateIp; - } - /** - * @return The OCIDs of sharded databases that consumes the given private endpoint. - * - */ - public List shardedDatabases() { - return this.shardedDatabases; - } - /** - * @return Lifecycle states for private endpoint. - * - */ - public String state() { - return this.state; - } - /** - * @return Identifier of the subnet in which private endpoint exists. - * - */ - public String subnetId() { - return this.subnetId; - } - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - public Map systemTags() { - return this.systemTags; - } - /** - * @return The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - * - */ - public String timeCreated() { - return this.timeCreated; - } - /** - * @return The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - * - */ - public String timeUpdated() { - return this.timeUpdated; - } - /** - * @return Identifier of the VCN in which subnet exists. - * - */ - public String vcnId() { - return this.vcnId; - } - - 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 Map definedTags; - private String description; - private String displayName; - private Map freeformTags; - private String id; - private String lifecycleStateDetails; - private List nsgIds; - private String privateEndpointId; - private String privateIp; - private List shardedDatabases; - private String state; - private String subnetId; - private Map systemTags; - private String timeCreated; - private String timeUpdated; - private String vcnId; - public Builder() {} - public Builder(GetPrivateEndpointResult defaults) { - Objects.requireNonNull(defaults); - this.compartmentId = defaults.compartmentId; - this.definedTags = defaults.definedTags; - this.description = defaults.description; - this.displayName = defaults.displayName; - this.freeformTags = defaults.freeformTags; - this.id = defaults.id; - this.lifecycleStateDetails = defaults.lifecycleStateDetails; - this.nsgIds = defaults.nsgIds; - this.privateEndpointId = defaults.privateEndpointId; - this.privateIp = defaults.privateIp; - this.shardedDatabases = defaults.shardedDatabases; - this.state = defaults.state; - this.subnetId = defaults.subnetId; - this.systemTags = defaults.systemTags; - this.timeCreated = defaults.timeCreated; - this.timeUpdated = defaults.timeUpdated; - this.vcnId = defaults.vcnId; - } - - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "compartmentId"); - } - this.compartmentId = compartmentId; - return this; - } - @CustomType.Setter - public Builder definedTags(Map definedTags) { - if (definedTags == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "definedTags"); - } - this.definedTags = definedTags; - return this; - } - @CustomType.Setter - public Builder description(String description) { - if (description == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "description"); - } - this.description = description; - return this; - } - @CustomType.Setter - public Builder displayName(String displayName) { - if (displayName == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "displayName"); - } - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder freeformTags(Map freeformTags) { - if (freeformTags == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "freeformTags"); - } - this.freeformTags = freeformTags; - return this; - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder lifecycleStateDetails(String lifecycleStateDetails) { - if (lifecycleStateDetails == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "lifecycleStateDetails"); - } - this.lifecycleStateDetails = lifecycleStateDetails; - return this; - } - @CustomType.Setter - public Builder nsgIds(List nsgIds) { - if (nsgIds == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "nsgIds"); - } - this.nsgIds = nsgIds; - return this; - } - public Builder nsgIds(String... nsgIds) { - return nsgIds(List.of(nsgIds)); - } - @CustomType.Setter - public Builder privateEndpointId(String privateEndpointId) { - if (privateEndpointId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "privateEndpointId"); - } - this.privateEndpointId = privateEndpointId; - return this; - } - @CustomType.Setter - public Builder privateIp(String privateIp) { - if (privateIp == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "privateIp"); - } - this.privateIp = privateIp; - return this; - } - @CustomType.Setter - public Builder shardedDatabases(List shardedDatabases) { - if (shardedDatabases == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "shardedDatabases"); - } - this.shardedDatabases = shardedDatabases; - return this; - } - public Builder shardedDatabases(String... shardedDatabases) { - return shardedDatabases(List.of(shardedDatabases)); - } - @CustomType.Setter - public Builder state(String state) { - if (state == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "state"); - } - this.state = state; - return this; - } - @CustomType.Setter - public Builder subnetId(String subnetId) { - if (subnetId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "subnetId"); - } - this.subnetId = subnetId; - return this; - } - @CustomType.Setter - public Builder systemTags(Map systemTags) { - if (systemTags == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "systemTags"); - } - this.systemTags = systemTags; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - @CustomType.Setter - public Builder vcnId(String vcnId) { - if (vcnId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointResult", "vcnId"); - } - this.vcnId = vcnId; - return this; - } - public GetPrivateEndpointResult build() { - final var _resultValue = new GetPrivateEndpointResult(); - _resultValue.compartmentId = compartmentId; - _resultValue.definedTags = definedTags; - _resultValue.description = description; - _resultValue.displayName = displayName; - _resultValue.freeformTags = freeformTags; - _resultValue.id = id; - _resultValue.lifecycleStateDetails = lifecycleStateDetails; - _resultValue.nsgIds = nsgIds; - _resultValue.privateEndpointId = privateEndpointId; - _resultValue.privateIp = privateIp; - _resultValue.shardedDatabases = shardedDatabases; - _resultValue.state = state; - _resultValue.subnetId = subnetId; - _resultValue.systemTags = systemTags; - _resultValue.timeCreated = timeCreated; - _resultValue.timeUpdated = timeUpdated; - _resultValue.vcnId = vcnId; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsPrivateEndpointCollection.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsPrivateEndpointCollection.java deleted file mode 100644 index bdc8353950..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsPrivateEndpointCollection.java +++ /dev/null @@ -1,54 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetPrivateEndpointsPrivateEndpointCollectionItem; -import java.util.List; -import java.util.Objects; - -@CustomType -public final class GetPrivateEndpointsPrivateEndpointCollection { - private List items; - - private GetPrivateEndpointsPrivateEndpointCollection() {} - public List items() { - return this.items; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetPrivateEndpointsPrivateEndpointCollection defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List items; - public Builder() {} - public Builder(GetPrivateEndpointsPrivateEndpointCollection defaults) { - Objects.requireNonNull(defaults); - this.items = defaults.items; - } - - @CustomType.Setter - public Builder items(List items) { - if (items == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollection", "items"); - } - this.items = items; - return this; - } - public Builder items(GetPrivateEndpointsPrivateEndpointCollectionItem... items) { - return items(List.of(items)); - } - public GetPrivateEndpointsPrivateEndpointCollection build() { - final var _resultValue = new GetPrivateEndpointsPrivateEndpointCollection(); - _resultValue.items = items; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsPrivateEndpointCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsPrivateEndpointCollectionItem.java deleted file mode 100644 index 2e6ff19888..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsPrivateEndpointCollectionItem.java +++ /dev/null @@ -1,411 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetPrivateEndpointsPrivateEndpointCollectionItem { - /** - * @return The ID 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 PrivateEndpoint description. - * - */ - private String description; - /** - * @return A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - * - */ - 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 identifier of the Private Endpoint. - * - */ - private String id; - /** - * @return Detailed message for the lifecycle state. - * - */ - private String lifecycleStateDetails; - /** - * @return The OCIDs of the network security groups that the private endpoint belongs to. - * - */ - private List nsgIds; - /** - * @return IP address of the Private Endpoint. - * - */ - private String privateIp; - /** - * @return The OCIDs of sharded databases that consumes the given private endpoint. - * - */ - private List shardedDatabases; - /** - * @return A filter to return only resources their lifecycleState matches the given lifecycleState. - * - */ - private String state; - /** - * @return Identifier of the subnet in which private endpoint exists. - * - */ - private String subnetId; - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - private Map systemTags; - /** - * @return The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - * - */ - private String timeCreated; - /** - * @return The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - * - */ - private String timeUpdated; - /** - * @return Identifier of the VCN in which subnet exists. - * - */ - private String vcnId; - - private GetPrivateEndpointsPrivateEndpointCollectionItem() {} - /** - * @return The ID 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 PrivateEndpoint description. - * - */ - public String description() { - return this.description; - } - /** - * @return A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - * - */ - 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 identifier of the Private Endpoint. - * - */ - public String id() { - return this.id; - } - /** - * @return Detailed message for the lifecycle state. - * - */ - public String lifecycleStateDetails() { - return this.lifecycleStateDetails; - } - /** - * @return The OCIDs of the network security groups that the private endpoint belongs to. - * - */ - public List nsgIds() { - return this.nsgIds; - } - /** - * @return IP address of the Private Endpoint. - * - */ - public String privateIp() { - return this.privateIp; - } - /** - * @return The OCIDs of sharded databases that consumes the given private endpoint. - * - */ - public List shardedDatabases() { - return this.shardedDatabases; - } - /** - * @return A filter to return only resources their lifecycleState matches the given lifecycleState. - * - */ - public String state() { - return this.state; - } - /** - * @return Identifier of the subnet in which private endpoint exists. - * - */ - public String subnetId() { - return this.subnetId; - } - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - public Map systemTags() { - return this.systemTags; - } - /** - * @return The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - * - */ - public String timeCreated() { - return this.timeCreated; - } - /** - * @return The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - * - */ - public String timeUpdated() { - return this.timeUpdated; - } - /** - * @return Identifier of the VCN in which subnet exists. - * - */ - public String vcnId() { - return this.vcnId; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetPrivateEndpointsPrivateEndpointCollectionItem 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 Map freeformTags; - private String id; - private String lifecycleStateDetails; - private List nsgIds; - private String privateIp; - private List shardedDatabases; - private String state; - private String subnetId; - private Map systemTags; - private String timeCreated; - private String timeUpdated; - private String vcnId; - public Builder() {} - public Builder(GetPrivateEndpointsPrivateEndpointCollectionItem defaults) { - Objects.requireNonNull(defaults); - this.compartmentId = defaults.compartmentId; - this.definedTags = defaults.definedTags; - this.description = defaults.description; - this.displayName = defaults.displayName; - this.freeformTags = defaults.freeformTags; - this.id = defaults.id; - this.lifecycleStateDetails = defaults.lifecycleStateDetails; - this.nsgIds = defaults.nsgIds; - this.privateIp = defaults.privateIp; - this.shardedDatabases = defaults.shardedDatabases; - this.state = defaults.state; - this.subnetId = defaults.subnetId; - this.systemTags = defaults.systemTags; - this.timeCreated = defaults.timeCreated; - this.timeUpdated = defaults.timeUpdated; - this.vcnId = defaults.vcnId; - } - - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "compartmentId"); - } - this.compartmentId = compartmentId; - return this; - } - @CustomType.Setter - public Builder definedTags(Map definedTags) { - if (definedTags == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "definedTags"); - } - this.definedTags = definedTags; - return this; - } - @CustomType.Setter - public Builder description(String description) { - if (description == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "description"); - } - this.description = description; - return this; - } - @CustomType.Setter - public Builder displayName(String displayName) { - if (displayName == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "displayName"); - } - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder freeformTags(Map freeformTags) { - if (freeformTags == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "freeformTags"); - } - this.freeformTags = freeformTags; - return this; - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder lifecycleStateDetails(String lifecycleStateDetails) { - if (lifecycleStateDetails == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "lifecycleStateDetails"); - } - this.lifecycleStateDetails = lifecycleStateDetails; - return this; - } - @CustomType.Setter - public Builder nsgIds(List nsgIds) { - if (nsgIds == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "nsgIds"); - } - this.nsgIds = nsgIds; - return this; - } - public Builder nsgIds(String... nsgIds) { - return nsgIds(List.of(nsgIds)); - } - @CustomType.Setter - public Builder privateIp(String privateIp) { - if (privateIp == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "privateIp"); - } - this.privateIp = privateIp; - return this; - } - @CustomType.Setter - public Builder shardedDatabases(List shardedDatabases) { - if (shardedDatabases == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "shardedDatabases"); - } - this.shardedDatabases = shardedDatabases; - return this; - } - public Builder shardedDatabases(String... shardedDatabases) { - return shardedDatabases(List.of(shardedDatabases)); - } - @CustomType.Setter - public Builder state(String state) { - if (state == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "state"); - } - this.state = state; - return this; - } - @CustomType.Setter - public Builder subnetId(String subnetId) { - if (subnetId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "subnetId"); - } - this.subnetId = subnetId; - return this; - } - @CustomType.Setter - public Builder systemTags(Map systemTags) { - if (systemTags == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "systemTags"); - } - this.systemTags = systemTags; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - @CustomType.Setter - public Builder vcnId(String vcnId) { - if (vcnId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsPrivateEndpointCollectionItem", "vcnId"); - } - this.vcnId = vcnId; - return this; - } - public GetPrivateEndpointsPrivateEndpointCollectionItem build() { - final var _resultValue = new GetPrivateEndpointsPrivateEndpointCollectionItem(); - _resultValue.compartmentId = compartmentId; - _resultValue.definedTags = definedTags; - _resultValue.description = description; - _resultValue.displayName = displayName; - _resultValue.freeformTags = freeformTags; - _resultValue.id = id; - _resultValue.lifecycleStateDetails = lifecycleStateDetails; - _resultValue.nsgIds = nsgIds; - _resultValue.privateIp = privateIp; - _resultValue.shardedDatabases = shardedDatabases; - _resultValue.state = state; - _resultValue.subnetId = subnetId; - _resultValue.systemTags = systemTags; - _resultValue.timeCreated = timeCreated; - _resultValue.timeUpdated = timeUpdated; - _resultValue.vcnId = vcnId; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsResult.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsResult.java deleted file mode 100644 index cdfcb98210..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetPrivateEndpointsResult.java +++ /dev/null @@ -1,170 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetPrivateEndpointsFilter; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetPrivateEndpointsPrivateEndpointCollection; -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 Identifier of the compartment in which private endpoint exists. - * - */ - private String compartmentId; - /** - * @return PrivateEndpoint display name. - * - */ - private @Nullable String displayName; - private @Nullable List filters; - /** - * @return The provider-assigned unique ID for this managed resource. - * - */ - private String id; - /** - * @return The list of private_endpoint_collection. - * - */ - private List privateEndpointCollections; - /** - * @return Lifecycle states for private endpoint. - * - */ - private @Nullable String state; - - private GetPrivateEndpointsResult() {} - /** - * @return Identifier of the compartment in which private endpoint exists. - * - */ - public String compartmentId() { - return this.compartmentId; - } - /** - * @return PrivateEndpoint display name. - * - */ - 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 The list of private_endpoint_collection. - * - */ - public List privateEndpointCollections() { - return this.privateEndpointCollections; - } - /** - * @return Lifecycle states for 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 displayName; - private @Nullable List filters; - private String id; - private List privateEndpointCollections; - private @Nullable String state; - public Builder() {} - public Builder(GetPrivateEndpointsResult defaults) { - Objects.requireNonNull(defaults); - this.compartmentId = defaults.compartmentId; - this.displayName = defaults.displayName; - this.filters = defaults.filters; - this.id = defaults.id; - this.privateEndpointCollections = defaults.privateEndpointCollections; - this.state = defaults.state; - } - - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsResult", "compartmentId"); - } - this.compartmentId = compartmentId; - 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) { - if (id == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsResult", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder privateEndpointCollections(List privateEndpointCollections) { - if (privateEndpointCollections == null) { - throw new MissingRequiredPropertyException("GetPrivateEndpointsResult", "privateEndpointCollections"); - } - this.privateEndpointCollections = privateEndpointCollections; - return this; - } - public Builder privateEndpointCollections(GetPrivateEndpointsPrivateEndpointCollection... privateEndpointCollections) { - return privateEndpointCollections(List.of(privateEndpointCollections)); - } - @CustomType.Setter - public Builder state(@Nullable String state) { - - this.state = state; - return this; - } - public GetPrivateEndpointsResult build() { - final var _resultValue = new GetPrivateEndpointsResult(); - _resultValue.compartmentId = compartmentId; - _resultValue.displayName = displayName; - _resultValue.filters = filters; - _resultValue.id = id; - _resultValue.privateEndpointCollections = privateEndpointCollections; - _resultValue.state = state; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseCatalogDetail.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseCatalogDetail.java deleted file mode 100644 index 9d845732c7..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseCatalogDetail.java +++ /dev/null @@ -1,426 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabaseCatalogDetailEncryptionKeyDetail; -import java.lang.Boolean; -import java.lang.Double; -import java.lang.String; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetShardedDatabaseCatalogDetail { - private String adminPassword; - /** - * @return Identifier of the primary cloudAutonomousVmCluster for the shard. - * - */ - private String cloudAutonomousVmClusterId; - /** - * @return The compute amount available to the underlying autonomous database associated with shard. - * - */ - private Double computeCount; - /** - * @return Identifier of the underlying container database. - * - */ - private String containerDatabaseId; - /** - * @return Identifier of the underlying container database parent. - * - */ - private String containerDatabaseParentId; - /** - * @return The data disk group size to be allocated in GBs. - * - */ - private Double dataStorageSizeInGbs; - /** - * @return Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - private List encryptionKeyDetails; - /** - * @return Determines the auto-scaling mode. - * - */ - private Boolean isAutoScalingEnabled; - /** - * @return Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - */ - private Map metadata; - /** - * @return Name of the shard. - * - */ - private String name; - /** - * @return Identifier of the peer cloudAutonomousVmCluster for the shard. - * - */ - private String peerCloudAutonomousVmClusterId; - /** - * @return Name of the shard-group to which the shard belongs. - * - */ - private String shardGroup; - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - private String status; - /** - * @return Identifier of the underlying supporting resource. - * - */ - private String supportingResourceId; - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - private String timeCreated; - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - private String timeSslCertificateExpires; - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - private String timeUpdated; - - private GetShardedDatabaseCatalogDetail() {} - public String adminPassword() { - return this.adminPassword; - } - /** - * @return Identifier of the primary cloudAutonomousVmCluster for the shard. - * - */ - public String cloudAutonomousVmClusterId() { - return this.cloudAutonomousVmClusterId; - } - /** - * @return The compute amount available to the underlying autonomous database associated with shard. - * - */ - public Double computeCount() { - return this.computeCount; - } - /** - * @return Identifier of the underlying container database. - * - */ - public String containerDatabaseId() { - return this.containerDatabaseId; - } - /** - * @return Identifier of the underlying container database parent. - * - */ - public String containerDatabaseParentId() { - return this.containerDatabaseParentId; - } - /** - * @return The data disk group size to be allocated in GBs. - * - */ - public Double dataStorageSizeInGbs() { - return this.dataStorageSizeInGbs; - } - /** - * @return Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - public List encryptionKeyDetails() { - return this.encryptionKeyDetails; - } - /** - * @return Determines the auto-scaling mode. - * - */ - public Boolean isAutoScalingEnabled() { - return this.isAutoScalingEnabled; - } - /** - * @return Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - */ - public Map metadata() { - return this.metadata; - } - /** - * @return Name of the shard. - * - */ - public String name() { - return this.name; - } - /** - * @return Identifier of the peer cloudAutonomousVmCluster for the shard. - * - */ - public String peerCloudAutonomousVmClusterId() { - return this.peerCloudAutonomousVmClusterId; - } - /** - * @return Name of the shard-group to which the shard belongs. - * - */ - public String shardGroup() { - return this.shardGroup; - } - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - public String status() { - return this.status; - } - /** - * @return Identifier of the underlying supporting resource. - * - */ - public String supportingResourceId() { - return this.supportingResourceId; - } - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public String timeCreated() { - return this.timeCreated; - } - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - public String timeSslCertificateExpires() { - return this.timeSslCertificateExpires; - } - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public String timeUpdated() { - return this.timeUpdated; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetShardedDatabaseCatalogDetail defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String adminPassword; - private String cloudAutonomousVmClusterId; - private Double computeCount; - private String containerDatabaseId; - private String containerDatabaseParentId; - private Double dataStorageSizeInGbs; - private List encryptionKeyDetails; - private Boolean isAutoScalingEnabled; - private Map metadata; - private String name; - private String peerCloudAutonomousVmClusterId; - private String shardGroup; - private String status; - private String supportingResourceId; - private String timeCreated; - private String timeSslCertificateExpires; - private String timeUpdated; - public Builder() {} - public Builder(GetShardedDatabaseCatalogDetail defaults) { - Objects.requireNonNull(defaults); - this.adminPassword = defaults.adminPassword; - this.cloudAutonomousVmClusterId = defaults.cloudAutonomousVmClusterId; - this.computeCount = defaults.computeCount; - this.containerDatabaseId = defaults.containerDatabaseId; - this.containerDatabaseParentId = defaults.containerDatabaseParentId; - this.dataStorageSizeInGbs = defaults.dataStorageSizeInGbs; - this.encryptionKeyDetails = defaults.encryptionKeyDetails; - this.isAutoScalingEnabled = defaults.isAutoScalingEnabled; - this.metadata = defaults.metadata; - this.name = defaults.name; - this.peerCloudAutonomousVmClusterId = defaults.peerCloudAutonomousVmClusterId; - this.shardGroup = defaults.shardGroup; - this.status = defaults.status; - this.supportingResourceId = defaults.supportingResourceId; - this.timeCreated = defaults.timeCreated; - this.timeSslCertificateExpires = defaults.timeSslCertificateExpires; - this.timeUpdated = defaults.timeUpdated; - } - - @CustomType.Setter - public Builder adminPassword(String adminPassword) { - if (adminPassword == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "adminPassword"); - } - this.adminPassword = adminPassword; - return this; - } - @CustomType.Setter - public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) { - if (cloudAutonomousVmClusterId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "cloudAutonomousVmClusterId"); - } - this.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - return this; - } - @CustomType.Setter - public Builder computeCount(Double computeCount) { - if (computeCount == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "computeCount"); - } - this.computeCount = computeCount; - return this; - } - @CustomType.Setter - public Builder containerDatabaseId(String containerDatabaseId) { - if (containerDatabaseId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "containerDatabaseId"); - } - this.containerDatabaseId = containerDatabaseId; - return this; - } - @CustomType.Setter - public Builder containerDatabaseParentId(String containerDatabaseParentId) { - if (containerDatabaseParentId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "containerDatabaseParentId"); - } - this.containerDatabaseParentId = containerDatabaseParentId; - return this; - } - @CustomType.Setter - public Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs) { - if (dataStorageSizeInGbs == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "dataStorageSizeInGbs"); - } - this.dataStorageSizeInGbs = dataStorageSizeInGbs; - return this; - } - @CustomType.Setter - public Builder encryptionKeyDetails(List encryptionKeyDetails) { - if (encryptionKeyDetails == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "encryptionKeyDetails"); - } - this.encryptionKeyDetails = encryptionKeyDetails; - return this; - } - public Builder encryptionKeyDetails(GetShardedDatabaseCatalogDetailEncryptionKeyDetail... encryptionKeyDetails) { - return encryptionKeyDetails(List.of(encryptionKeyDetails)); - } - @CustomType.Setter - public Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled) { - if (isAutoScalingEnabled == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "isAutoScalingEnabled"); - } - this.isAutoScalingEnabled = isAutoScalingEnabled; - return this; - } - @CustomType.Setter - public Builder metadata(Map metadata) { - if (metadata == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "metadata"); - } - this.metadata = metadata; - return this; - } - @CustomType.Setter - public Builder name(String name) { - if (name == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "name"); - } - this.name = name; - return this; - } - @CustomType.Setter - public Builder peerCloudAutonomousVmClusterId(String peerCloudAutonomousVmClusterId) { - if (peerCloudAutonomousVmClusterId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "peerCloudAutonomousVmClusterId"); - } - this.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - return this; - } - @CustomType.Setter - public Builder shardGroup(String shardGroup) { - if (shardGroup == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "shardGroup"); - } - this.shardGroup = shardGroup; - return this; - } - @CustomType.Setter - public Builder status(String status) { - if (status == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "status"); - } - this.status = status; - return this; - } - @CustomType.Setter - public Builder supportingResourceId(String supportingResourceId) { - if (supportingResourceId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "supportingResourceId"); - } - this.supportingResourceId = supportingResourceId; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeSslCertificateExpires(String timeSslCertificateExpires) { - if (timeSslCertificateExpires == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "timeSslCertificateExpires"); - } - this.timeSslCertificateExpires = timeSslCertificateExpires; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetail", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - public GetShardedDatabaseCatalogDetail build() { - final var _resultValue = new GetShardedDatabaseCatalogDetail(); - _resultValue.adminPassword = adminPassword; - _resultValue.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - _resultValue.computeCount = computeCount; - _resultValue.containerDatabaseId = containerDatabaseId; - _resultValue.containerDatabaseParentId = containerDatabaseParentId; - _resultValue.dataStorageSizeInGbs = dataStorageSizeInGbs; - _resultValue.encryptionKeyDetails = encryptionKeyDetails; - _resultValue.isAutoScalingEnabled = isAutoScalingEnabled; - _resultValue.metadata = metadata; - _resultValue.name = name; - _resultValue.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - _resultValue.shardGroup = shardGroup; - _resultValue.status = status; - _resultValue.supportingResourceId = supportingResourceId; - _resultValue.timeCreated = timeCreated; - _resultValue.timeSslCertificateExpires = timeSslCertificateExpires; - _resultValue.timeUpdated = timeUpdated; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseCatalogDetailEncryptionKeyDetail.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseCatalogDetailEncryptionKeyDetail.java deleted file mode 100644 index c3953014be..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseCatalogDetailEncryptionKeyDetail.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetShardedDatabaseCatalogDetailEncryptionKeyDetail { - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - private String kmsKeyId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - private String kmsKeyVersionId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - private String vaultId; - - private GetShardedDatabaseCatalogDetailEncryptionKeyDetail() {} - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - public String kmsKeyId() { - return this.kmsKeyId; - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - public String kmsKeyVersionId() { - return this.kmsKeyVersionId; - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - public String vaultId() { - return this.vaultId; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetShardedDatabaseCatalogDetailEncryptionKeyDetail defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String kmsKeyId; - private String kmsKeyVersionId; - private String vaultId; - public Builder() {} - public Builder(GetShardedDatabaseCatalogDetailEncryptionKeyDetail defaults) { - Objects.requireNonNull(defaults); - this.kmsKeyId = defaults.kmsKeyId; - this.kmsKeyVersionId = defaults.kmsKeyVersionId; - this.vaultId = defaults.vaultId; - } - - @CustomType.Setter - public Builder kmsKeyId(String kmsKeyId) { - if (kmsKeyId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetailEncryptionKeyDetail", "kmsKeyId"); - } - this.kmsKeyId = kmsKeyId; - return this; - } - @CustomType.Setter - public Builder kmsKeyVersionId(String kmsKeyVersionId) { - if (kmsKeyVersionId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetailEncryptionKeyDetail", "kmsKeyVersionId"); - } - this.kmsKeyVersionId = kmsKeyVersionId; - return this; - } - @CustomType.Setter - public Builder vaultId(String vaultId) { - if (vaultId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseCatalogDetailEncryptionKeyDetail", "vaultId"); - } - this.vaultId = vaultId; - return this; - } - public GetShardedDatabaseCatalogDetailEncryptionKeyDetail build() { - final var _resultValue = new GetShardedDatabaseCatalogDetailEncryptionKeyDetail(); - _resultValue.kmsKeyId = kmsKeyId; - _resultValue.kmsKeyVersionId = kmsKeyVersionId; - _resultValue.vaultId = vaultId; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseConnectionString.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseConnectionString.java deleted file mode 100644 index a26e9dbac7..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseConnectionString.java +++ /dev/null @@ -1,59 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetShardedDatabaseConnectionString { - /** - * @return Collection of connection strings. - * - */ - private Map allConnectionStrings; - - private GetShardedDatabaseConnectionString() {} - /** - * @return Collection of connection strings. - * - */ - public Map allConnectionStrings() { - return this.allConnectionStrings; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetShardedDatabaseConnectionString defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private Map allConnectionStrings; - public Builder() {} - public Builder(GetShardedDatabaseConnectionString defaults) { - Objects.requireNonNull(defaults); - this.allConnectionStrings = defaults.allConnectionStrings; - } - - @CustomType.Setter - public Builder allConnectionStrings(Map allConnectionStrings) { - if (allConnectionStrings == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseConnectionString", "allConnectionStrings"); - } - this.allConnectionStrings = allConnectionStrings; - return this; - } - public GetShardedDatabaseConnectionString build() { - final var _resultValue = new GetShardedDatabaseConnectionString(); - _resultValue.allConnectionStrings = allConnectionStrings; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseGsm.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseGsm.java deleted file mode 100644 index 28ba279681..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseGsm.java +++ /dev/null @@ -1,244 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Double; -import java.lang.String; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetShardedDatabaseGsm { - /** - * @return The compute amount available to the underlying autonomous database associated with shard. - * - */ - private Double computeCount; - /** - * @return The data disk group size to be allocated in GBs. - * - */ - private Double dataStorageSizeInGbs; - /** - * @return Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - */ - private Map metadata; - /** - * @return Name of the shard. - * - */ - private String name; - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - private String status; - /** - * @return Identifier of the underlying supporting resource. - * - */ - private String supportingResourceId; - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - private String timeCreated; - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - private String timeSslCertificateExpires; - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - private String timeUpdated; - - private GetShardedDatabaseGsm() {} - /** - * @return The compute amount available to the underlying autonomous database associated with shard. - * - */ - public Double computeCount() { - return this.computeCount; - } - /** - * @return The data disk group size to be allocated in GBs. - * - */ - public Double dataStorageSizeInGbs() { - return this.dataStorageSizeInGbs; - } - /** - * @return Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - */ - public Map metadata() { - return this.metadata; - } - /** - * @return Name of the shard. - * - */ - public String name() { - return this.name; - } - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - public String status() { - return this.status; - } - /** - * @return Identifier of the underlying supporting resource. - * - */ - public String supportingResourceId() { - return this.supportingResourceId; - } - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public String timeCreated() { - return this.timeCreated; - } - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - public String timeSslCertificateExpires() { - return this.timeSslCertificateExpires; - } - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public String timeUpdated() { - return this.timeUpdated; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetShardedDatabaseGsm defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private Double computeCount; - private Double dataStorageSizeInGbs; - private Map metadata; - private String name; - private String status; - private String supportingResourceId; - private String timeCreated; - private String timeSslCertificateExpires; - private String timeUpdated; - public Builder() {} - public Builder(GetShardedDatabaseGsm defaults) { - Objects.requireNonNull(defaults); - this.computeCount = defaults.computeCount; - this.dataStorageSizeInGbs = defaults.dataStorageSizeInGbs; - this.metadata = defaults.metadata; - this.name = defaults.name; - this.status = defaults.status; - this.supportingResourceId = defaults.supportingResourceId; - this.timeCreated = defaults.timeCreated; - this.timeSslCertificateExpires = defaults.timeSslCertificateExpires; - this.timeUpdated = defaults.timeUpdated; - } - - @CustomType.Setter - public Builder computeCount(Double computeCount) { - if (computeCount == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseGsm", "computeCount"); - } - this.computeCount = computeCount; - return this; - } - @CustomType.Setter - public Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs) { - if (dataStorageSizeInGbs == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseGsm", "dataStorageSizeInGbs"); - } - this.dataStorageSizeInGbs = dataStorageSizeInGbs; - return this; - } - @CustomType.Setter - public Builder metadata(Map metadata) { - if (metadata == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseGsm", "metadata"); - } - this.metadata = metadata; - return this; - } - @CustomType.Setter - public Builder name(String name) { - if (name == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseGsm", "name"); - } - this.name = name; - return this; - } - @CustomType.Setter - public Builder status(String status) { - if (status == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseGsm", "status"); - } - this.status = status; - return this; - } - @CustomType.Setter - public Builder supportingResourceId(String supportingResourceId) { - if (supportingResourceId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseGsm", "supportingResourceId"); - } - this.supportingResourceId = supportingResourceId; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseGsm", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeSslCertificateExpires(String timeSslCertificateExpires) { - if (timeSslCertificateExpires == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseGsm", "timeSslCertificateExpires"); - } - this.timeSslCertificateExpires = timeSslCertificateExpires; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseGsm", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - public GetShardedDatabaseGsm build() { - final var _resultValue = new GetShardedDatabaseGsm(); - _resultValue.computeCount = computeCount; - _resultValue.dataStorageSizeInGbs = dataStorageSizeInGbs; - _resultValue.metadata = metadata; - _resultValue.name = name; - _resultValue.status = status; - _resultValue.supportingResourceId = supportingResourceId; - _resultValue.timeCreated = timeCreated; - _resultValue.timeSslCertificateExpires = timeSslCertificateExpires; - _resultValue.timeUpdated = timeUpdated; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasePatchOperation.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasePatchOperation.java deleted file mode 100644 index f2e3fb9583..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasePatchOperation.java +++ /dev/null @@ -1,80 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetShardedDatabasePatchOperation { - private String operation; - private String selection; - private String value; - - private GetShardedDatabasePatchOperation() {} - public String operation() { - return this.operation; - } - public String selection() { - return this.selection; - } - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetShardedDatabasePatchOperation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String operation; - private String selection; - private String value; - public Builder() {} - public Builder(GetShardedDatabasePatchOperation defaults) { - Objects.requireNonNull(defaults); - this.operation = defaults.operation; - this.selection = defaults.selection; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder operation(String operation) { - if (operation == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasePatchOperation", "operation"); - } - this.operation = operation; - return this; - } - @CustomType.Setter - public Builder selection(String selection) { - if (selection == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasePatchOperation", "selection"); - } - this.selection = selection; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasePatchOperation", "value"); - } - this.value = value; - return this; - } - public GetShardedDatabasePatchOperation build() { - final var _resultValue = new GetShardedDatabasePatchOperation(); - _resultValue.operation = operation; - _resultValue.selection = selection; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseResult.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseResult.java deleted file mode 100644 index 77a5b71e98..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseResult.java +++ /dev/null @@ -1,943 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabaseCatalogDetail; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabaseConnectionString; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabaseGsm; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabasePatchOperation; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabaseShardDetail; -import java.lang.Integer; -import java.lang.String; -import java.util.List; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class GetShardedDatabaseResult { - /** - * @return Details of ATP-D based catalogs. - * - */ - private List catalogDetails; - /** - * @return The character set for the database. - * - */ - private String characterSet; - /** - * @return The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - */ - private Integer chunks; - /** - * @return The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - */ - private String clusterCertificateCommonName; - /** - * @return Identifier of the compartment in which sharded database exists. - * - */ - private String compartmentId; - private Integer configureGsmsTrigger; - private Integer configureShardingTrigger; - /** - * @return Details of sharded database connection String. - * - */ - private List connectionStrings; - /** - * @return The database deployment type. - * - */ - private String dbDeploymentType; - /** - * @return Oracle Database version number. - * - */ - private String dbVersion; - /** - * @return Possible workload types. - * - */ - private String dbWorkload; - /** - * @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 Oracle sharded database display name. - * - */ - private String displayName; - private Integer downloadGsmCertificateSigningRequestTrigger; - /** - * @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; - private Integer generateGsmCertificateSigningRequestTrigger; - private Integer generateWalletTrigger; - private Integer getConnectionStringTrigger; - /** - * @return Details of GSM instances for the sharded database. - * - */ - private List gsms; - /** - * @return Sharded Database identifier - * - */ - private String id; - private String lifecycleState; - /** - * @return Detailed message for the lifecycle state. - * - */ - private String lifecycleStateDetails; - /** - * @return The GSM listener port number. - * - */ - private Integer listenerPort; - /** - * @return The TLS listener port number for sharded database. - * - */ - private Integer listenerPortTls; - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - private @Nullable String metadata; - /** - * @return The national character set for the database. - * - */ - private String ncharacterSet; - /** - * @return Ons local port number. - * - */ - private Integer onsPortLocal; - /** - * @return Ons remote port number. - * - */ - private Integer onsPortRemote; - private List patchOperations; - /** - * @return Unique prefix for the sharded database. - * - */ - private String prefix; - /** - * @return The OCID of private endpoint being used by the sharded database. - * - */ - private String privateEndpoint; - /** - * @return Details of ATP-D based shards. - * - */ - private List shardDetails; - private String shardedDatabaseId; - /** - * @return Sharding Method. - * - */ - private String shardingMethod; - private Integer startDatabaseTrigger; - /** - * @return Lifecycle states for sharded databases. - * - */ - private String state; - private Integer stopDatabaseTrigger; - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - private Map systemTags; - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - private String timeCreated; - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - private String timeUpdated; - /** - * @return Timezone associated with the sharded database. - * - */ - private String timeZone; - private Integer uploadSignedCertificateAndGenerateWalletTrigger; - private Integer validateNetworkTrigger; - - private GetShardedDatabaseResult() {} - /** - * @return Details of ATP-D based catalogs. - * - */ - public List catalogDetails() { - return this.catalogDetails; - } - /** - * @return The character set for the database. - * - */ - public String characterSet() { - return this.characterSet; - } - /** - * @return The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - */ - public Integer chunks() { - return this.chunks; - } - /** - * @return The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - */ - public String clusterCertificateCommonName() { - return this.clusterCertificateCommonName; - } - /** - * @return Identifier of the compartment in which sharded database exists. - * - */ - public String compartmentId() { - return this.compartmentId; - } - public Integer configureGsmsTrigger() { - return this.configureGsmsTrigger; - } - public Integer configureShardingTrigger() { - return this.configureShardingTrigger; - } - /** - * @return Details of sharded database connection String. - * - */ - public List connectionStrings() { - return this.connectionStrings; - } - /** - * @return The database deployment type. - * - */ - public String dbDeploymentType() { - return this.dbDeploymentType; - } - /** - * @return Oracle Database version number. - * - */ - public String dbVersion() { - return this.dbVersion; - } - /** - * @return Possible workload types. - * - */ - public String dbWorkload() { - return this.dbWorkload; - } - /** - * @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 Oracle sharded database display name. - * - */ - public String displayName() { - return this.displayName; - } - public Integer downloadGsmCertificateSigningRequestTrigger() { - return this.downloadGsmCertificateSigningRequestTrigger; - } - /** - * @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; - } - public Integer generateGsmCertificateSigningRequestTrigger() { - return this.generateGsmCertificateSigningRequestTrigger; - } - public Integer generateWalletTrigger() { - return this.generateWalletTrigger; - } - public Integer getConnectionStringTrigger() { - return this.getConnectionStringTrigger; - } - /** - * @return Details of GSM instances for the sharded database. - * - */ - public List gsms() { - return this.gsms; - } - /** - * @return Sharded Database identifier - * - */ - public String id() { - return this.id; - } - public String lifecycleState() { - return this.lifecycleState; - } - /** - * @return Detailed message for the lifecycle state. - * - */ - public String lifecycleStateDetails() { - return this.lifecycleStateDetails; - } - /** - * @return The GSM listener port number. - * - */ - public Integer listenerPort() { - return this.listenerPort; - } - /** - * @return The TLS listener port number for sharded database. - * - */ - public Integer listenerPortTls() { - return this.listenerPortTls; - } - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - public Optional metadata() { - return Optional.ofNullable(this.metadata); - } - /** - * @return The national character set for the database. - * - */ - public String ncharacterSet() { - return this.ncharacterSet; - } - /** - * @return Ons local port number. - * - */ - public Integer onsPortLocal() { - return this.onsPortLocal; - } - /** - * @return Ons remote port number. - * - */ - public Integer onsPortRemote() { - return this.onsPortRemote; - } - public List patchOperations() { - return this.patchOperations; - } - /** - * @return Unique prefix for the sharded database. - * - */ - public String prefix() { - return this.prefix; - } - /** - * @return The OCID of private endpoint being used by the sharded database. - * - */ - public String privateEndpoint() { - return this.privateEndpoint; - } - /** - * @return Details of ATP-D based shards. - * - */ - public List shardDetails() { - return this.shardDetails; - } - public String shardedDatabaseId() { - return this.shardedDatabaseId; - } - /** - * @return Sharding Method. - * - */ - public String shardingMethod() { - return this.shardingMethod; - } - public Integer startDatabaseTrigger() { - return this.startDatabaseTrigger; - } - /** - * @return Lifecycle states for sharded databases. - * - */ - public String state() { - return this.state; - } - public Integer stopDatabaseTrigger() { - return this.stopDatabaseTrigger; - } - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - public Map systemTags() { - return this.systemTags; - } - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public String timeCreated() { - return this.timeCreated; - } - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public String timeUpdated() { - return this.timeUpdated; - } - /** - * @return Timezone associated with the sharded database. - * - */ - public String timeZone() { - return this.timeZone; - } - public Integer uploadSignedCertificateAndGenerateWalletTrigger() { - return this.uploadSignedCertificateAndGenerateWalletTrigger; - } - public Integer validateNetworkTrigger() { - return this.validateNetworkTrigger; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetShardedDatabaseResult defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List catalogDetails; - private String characterSet; - private Integer chunks; - private String clusterCertificateCommonName; - private String compartmentId; - private Integer configureGsmsTrigger; - private Integer configureShardingTrigger; - private List connectionStrings; - private String dbDeploymentType; - private String dbVersion; - private String dbWorkload; - private Map definedTags; - private String displayName; - private Integer downloadGsmCertificateSigningRequestTrigger; - private Map freeformTags; - private Integer generateGsmCertificateSigningRequestTrigger; - private Integer generateWalletTrigger; - private Integer getConnectionStringTrigger; - private List gsms; - private String id; - private String lifecycleState; - private String lifecycleStateDetails; - private Integer listenerPort; - private Integer listenerPortTls; - private @Nullable String metadata; - private String ncharacterSet; - private Integer onsPortLocal; - private Integer onsPortRemote; - private List patchOperations; - private String prefix; - private String privateEndpoint; - private List shardDetails; - private String shardedDatabaseId; - private String shardingMethod; - private Integer startDatabaseTrigger; - private String state; - private Integer stopDatabaseTrigger; - private Map systemTags; - private String timeCreated; - private String timeUpdated; - private String timeZone; - private Integer uploadSignedCertificateAndGenerateWalletTrigger; - private Integer validateNetworkTrigger; - public Builder() {} - public Builder(GetShardedDatabaseResult defaults) { - Objects.requireNonNull(defaults); - this.catalogDetails = defaults.catalogDetails; - this.characterSet = defaults.characterSet; - this.chunks = defaults.chunks; - this.clusterCertificateCommonName = defaults.clusterCertificateCommonName; - this.compartmentId = defaults.compartmentId; - this.configureGsmsTrigger = defaults.configureGsmsTrigger; - this.configureShardingTrigger = defaults.configureShardingTrigger; - this.connectionStrings = defaults.connectionStrings; - this.dbDeploymentType = defaults.dbDeploymentType; - this.dbVersion = defaults.dbVersion; - this.dbWorkload = defaults.dbWorkload; - this.definedTags = defaults.definedTags; - this.displayName = defaults.displayName; - this.downloadGsmCertificateSigningRequestTrigger = defaults.downloadGsmCertificateSigningRequestTrigger; - this.freeformTags = defaults.freeformTags; - this.generateGsmCertificateSigningRequestTrigger = defaults.generateGsmCertificateSigningRequestTrigger; - this.generateWalletTrigger = defaults.generateWalletTrigger; - this.getConnectionStringTrigger = defaults.getConnectionStringTrigger; - this.gsms = defaults.gsms; - this.id = defaults.id; - this.lifecycleState = defaults.lifecycleState; - this.lifecycleStateDetails = defaults.lifecycleStateDetails; - this.listenerPort = defaults.listenerPort; - this.listenerPortTls = defaults.listenerPortTls; - this.metadata = defaults.metadata; - this.ncharacterSet = defaults.ncharacterSet; - this.onsPortLocal = defaults.onsPortLocal; - this.onsPortRemote = defaults.onsPortRemote; - this.patchOperations = defaults.patchOperations; - this.prefix = defaults.prefix; - this.privateEndpoint = defaults.privateEndpoint; - this.shardDetails = defaults.shardDetails; - this.shardedDatabaseId = defaults.shardedDatabaseId; - this.shardingMethod = defaults.shardingMethod; - this.startDatabaseTrigger = defaults.startDatabaseTrigger; - this.state = defaults.state; - this.stopDatabaseTrigger = defaults.stopDatabaseTrigger; - this.systemTags = defaults.systemTags; - this.timeCreated = defaults.timeCreated; - this.timeUpdated = defaults.timeUpdated; - this.timeZone = defaults.timeZone; - this.uploadSignedCertificateAndGenerateWalletTrigger = defaults.uploadSignedCertificateAndGenerateWalletTrigger; - this.validateNetworkTrigger = defaults.validateNetworkTrigger; - } - - @CustomType.Setter - public Builder catalogDetails(List catalogDetails) { - if (catalogDetails == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "catalogDetails"); - } - this.catalogDetails = catalogDetails; - return this; - } - public Builder catalogDetails(GetShardedDatabaseCatalogDetail... catalogDetails) { - return catalogDetails(List.of(catalogDetails)); - } - @CustomType.Setter - public Builder characterSet(String characterSet) { - if (characterSet == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "characterSet"); - } - this.characterSet = characterSet; - return this; - } - @CustomType.Setter - public Builder chunks(Integer chunks) { - if (chunks == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "chunks"); - } - this.chunks = chunks; - return this; - } - @CustomType.Setter - public Builder clusterCertificateCommonName(String clusterCertificateCommonName) { - if (clusterCertificateCommonName == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "clusterCertificateCommonName"); - } - this.clusterCertificateCommonName = clusterCertificateCommonName; - return this; - } - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "compartmentId"); - } - this.compartmentId = compartmentId; - return this; - } - @CustomType.Setter - public Builder configureGsmsTrigger(Integer configureGsmsTrigger) { - if (configureGsmsTrigger == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "configureGsmsTrigger"); - } - this.configureGsmsTrigger = configureGsmsTrigger; - return this; - } - @CustomType.Setter - public Builder configureShardingTrigger(Integer configureShardingTrigger) { - if (configureShardingTrigger == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "configureShardingTrigger"); - } - this.configureShardingTrigger = configureShardingTrigger; - return this; - } - @CustomType.Setter - public Builder connectionStrings(List connectionStrings) { - if (connectionStrings == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "connectionStrings"); - } - this.connectionStrings = connectionStrings; - return this; - } - public Builder connectionStrings(GetShardedDatabaseConnectionString... connectionStrings) { - return connectionStrings(List.of(connectionStrings)); - } - @CustomType.Setter - public Builder dbDeploymentType(String dbDeploymentType) { - if (dbDeploymentType == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "dbDeploymentType"); - } - this.dbDeploymentType = dbDeploymentType; - return this; - } - @CustomType.Setter - public Builder dbVersion(String dbVersion) { - if (dbVersion == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "dbVersion"); - } - this.dbVersion = dbVersion; - return this; - } - @CustomType.Setter - public Builder dbWorkload(String dbWorkload) { - if (dbWorkload == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "dbWorkload"); - } - this.dbWorkload = dbWorkload; - return this; - } - @CustomType.Setter - public Builder definedTags(Map definedTags) { - if (definedTags == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "definedTags"); - } - this.definedTags = definedTags; - return this; - } - @CustomType.Setter - public Builder displayName(String displayName) { - if (displayName == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "displayName"); - } - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder downloadGsmCertificateSigningRequestTrigger(Integer downloadGsmCertificateSigningRequestTrigger) { - if (downloadGsmCertificateSigningRequestTrigger == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "downloadGsmCertificateSigningRequestTrigger"); - } - this.downloadGsmCertificateSigningRequestTrigger = downloadGsmCertificateSigningRequestTrigger; - return this; - } - @CustomType.Setter - public Builder freeformTags(Map freeformTags) { - if (freeformTags == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "freeformTags"); - } - this.freeformTags = freeformTags; - return this; - } - @CustomType.Setter - public Builder generateGsmCertificateSigningRequestTrigger(Integer generateGsmCertificateSigningRequestTrigger) { - if (generateGsmCertificateSigningRequestTrigger == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "generateGsmCertificateSigningRequestTrigger"); - } - this.generateGsmCertificateSigningRequestTrigger = generateGsmCertificateSigningRequestTrigger; - return this; - } - @CustomType.Setter - public Builder generateWalletTrigger(Integer generateWalletTrigger) { - if (generateWalletTrigger == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "generateWalletTrigger"); - } - this.generateWalletTrigger = generateWalletTrigger; - return this; - } - @CustomType.Setter - public Builder getConnectionStringTrigger(Integer getConnectionStringTrigger) { - if (getConnectionStringTrigger == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "getConnectionStringTrigger"); - } - this.getConnectionStringTrigger = getConnectionStringTrigger; - return this; - } - @CustomType.Setter - public Builder gsms(List gsms) { - if (gsms == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "gsms"); - } - this.gsms = gsms; - return this; - } - public Builder gsms(GetShardedDatabaseGsm... gsms) { - return gsms(List.of(gsms)); - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder lifecycleState(String lifecycleState) { - if (lifecycleState == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "lifecycleState"); - } - this.lifecycleState = lifecycleState; - return this; - } - @CustomType.Setter - public Builder lifecycleStateDetails(String lifecycleStateDetails) { - if (lifecycleStateDetails == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "lifecycleStateDetails"); - } - this.lifecycleStateDetails = lifecycleStateDetails; - return this; - } - @CustomType.Setter - public Builder listenerPort(Integer listenerPort) { - if (listenerPort == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "listenerPort"); - } - this.listenerPort = listenerPort; - return this; - } - @CustomType.Setter - public Builder listenerPortTls(Integer listenerPortTls) { - if (listenerPortTls == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "listenerPortTls"); - } - this.listenerPortTls = listenerPortTls; - return this; - } - @CustomType.Setter - public Builder metadata(@Nullable String metadata) { - - this.metadata = metadata; - return this; - } - @CustomType.Setter - public Builder ncharacterSet(String ncharacterSet) { - if (ncharacterSet == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "ncharacterSet"); - } - this.ncharacterSet = ncharacterSet; - return this; - } - @CustomType.Setter - public Builder onsPortLocal(Integer onsPortLocal) { - if (onsPortLocal == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "onsPortLocal"); - } - this.onsPortLocal = onsPortLocal; - return this; - } - @CustomType.Setter - public Builder onsPortRemote(Integer onsPortRemote) { - if (onsPortRemote == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "onsPortRemote"); - } - this.onsPortRemote = onsPortRemote; - return this; - } - @CustomType.Setter - public Builder patchOperations(List patchOperations) { - if (patchOperations == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "patchOperations"); - } - this.patchOperations = patchOperations; - return this; - } - public Builder patchOperations(GetShardedDatabasePatchOperation... patchOperations) { - return patchOperations(List.of(patchOperations)); - } - @CustomType.Setter - public Builder prefix(String prefix) { - if (prefix == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "prefix"); - } - this.prefix = prefix; - return this; - } - @CustomType.Setter - public Builder privateEndpoint(String privateEndpoint) { - if (privateEndpoint == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "privateEndpoint"); - } - this.privateEndpoint = privateEndpoint; - return this; - } - @CustomType.Setter - public Builder shardDetails(List shardDetails) { - if (shardDetails == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "shardDetails"); - } - this.shardDetails = shardDetails; - return this; - } - public Builder shardDetails(GetShardedDatabaseShardDetail... shardDetails) { - return shardDetails(List.of(shardDetails)); - } - @CustomType.Setter - public Builder shardedDatabaseId(String shardedDatabaseId) { - if (shardedDatabaseId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "shardedDatabaseId"); - } - this.shardedDatabaseId = shardedDatabaseId; - return this; - } - @CustomType.Setter - public Builder shardingMethod(String shardingMethod) { - if (shardingMethod == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "shardingMethod"); - } - this.shardingMethod = shardingMethod; - return this; - } - @CustomType.Setter - public Builder startDatabaseTrigger(Integer startDatabaseTrigger) { - if (startDatabaseTrigger == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "startDatabaseTrigger"); - } - this.startDatabaseTrigger = startDatabaseTrigger; - return this; - } - @CustomType.Setter - public Builder state(String state) { - if (state == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "state"); - } - this.state = state; - return this; - } - @CustomType.Setter - public Builder stopDatabaseTrigger(Integer stopDatabaseTrigger) { - if (stopDatabaseTrigger == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "stopDatabaseTrigger"); - } - this.stopDatabaseTrigger = stopDatabaseTrigger; - return this; - } - @CustomType.Setter - public Builder systemTags(Map systemTags) { - if (systemTags == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "systemTags"); - } - this.systemTags = systemTags; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - @CustomType.Setter - public Builder timeZone(String timeZone) { - if (timeZone == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "timeZone"); - } - this.timeZone = timeZone; - return this; - } - @CustomType.Setter - public Builder uploadSignedCertificateAndGenerateWalletTrigger(Integer uploadSignedCertificateAndGenerateWalletTrigger) { - if (uploadSignedCertificateAndGenerateWalletTrigger == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "uploadSignedCertificateAndGenerateWalletTrigger"); - } - this.uploadSignedCertificateAndGenerateWalletTrigger = uploadSignedCertificateAndGenerateWalletTrigger; - return this; - } - @CustomType.Setter - public Builder validateNetworkTrigger(Integer validateNetworkTrigger) { - if (validateNetworkTrigger == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseResult", "validateNetworkTrigger"); - } - this.validateNetworkTrigger = validateNetworkTrigger; - return this; - } - public GetShardedDatabaseResult build() { - final var _resultValue = new GetShardedDatabaseResult(); - _resultValue.catalogDetails = catalogDetails; - _resultValue.characterSet = characterSet; - _resultValue.chunks = chunks; - _resultValue.clusterCertificateCommonName = clusterCertificateCommonName; - _resultValue.compartmentId = compartmentId; - _resultValue.configureGsmsTrigger = configureGsmsTrigger; - _resultValue.configureShardingTrigger = configureShardingTrigger; - _resultValue.connectionStrings = connectionStrings; - _resultValue.dbDeploymentType = dbDeploymentType; - _resultValue.dbVersion = dbVersion; - _resultValue.dbWorkload = dbWorkload; - _resultValue.definedTags = definedTags; - _resultValue.displayName = displayName; - _resultValue.downloadGsmCertificateSigningRequestTrigger = downloadGsmCertificateSigningRequestTrigger; - _resultValue.freeformTags = freeformTags; - _resultValue.generateGsmCertificateSigningRequestTrigger = generateGsmCertificateSigningRequestTrigger; - _resultValue.generateWalletTrigger = generateWalletTrigger; - _resultValue.getConnectionStringTrigger = getConnectionStringTrigger; - _resultValue.gsms = gsms; - _resultValue.id = id; - _resultValue.lifecycleState = lifecycleState; - _resultValue.lifecycleStateDetails = lifecycleStateDetails; - _resultValue.listenerPort = listenerPort; - _resultValue.listenerPortTls = listenerPortTls; - _resultValue.metadata = metadata; - _resultValue.ncharacterSet = ncharacterSet; - _resultValue.onsPortLocal = onsPortLocal; - _resultValue.onsPortRemote = onsPortRemote; - _resultValue.patchOperations = patchOperations; - _resultValue.prefix = prefix; - _resultValue.privateEndpoint = privateEndpoint; - _resultValue.shardDetails = shardDetails; - _resultValue.shardedDatabaseId = shardedDatabaseId; - _resultValue.shardingMethod = shardingMethod; - _resultValue.startDatabaseTrigger = startDatabaseTrigger; - _resultValue.state = state; - _resultValue.stopDatabaseTrigger = stopDatabaseTrigger; - _resultValue.systemTags = systemTags; - _resultValue.timeCreated = timeCreated; - _resultValue.timeUpdated = timeUpdated; - _resultValue.timeZone = timeZone; - _resultValue.uploadSignedCertificateAndGenerateWalletTrigger = uploadSignedCertificateAndGenerateWalletTrigger; - _resultValue.validateNetworkTrigger = validateNetworkTrigger; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseShardDetail.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseShardDetail.java deleted file mode 100644 index 06fd24bc94..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseShardDetail.java +++ /dev/null @@ -1,449 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabaseShardDetailEncryptionKeyDetail; -import java.lang.Boolean; -import java.lang.Double; -import java.lang.String; -import java.util.List; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetShardedDatabaseShardDetail { - private String adminPassword; - /** - * @return Identifier of the primary cloudAutonomousVmCluster for the shard. - * - */ - private String cloudAutonomousVmClusterId; - /** - * @return The compute amount available to the underlying autonomous database associated with shard. - * - */ - private Double computeCount; - /** - * @return Identifier of the underlying container database. - * - */ - private String containerDatabaseId; - /** - * @return Identifier of the underlying container database parent. - * - */ - private String containerDatabaseParentId; - /** - * @return The data disk group size to be allocated in GBs. - * - */ - private Double dataStorageSizeInGbs; - /** - * @return Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - private List encryptionKeyDetails; - /** - * @return Determines the auto-scaling mode. - * - */ - private Boolean isAutoScalingEnabled; - /** - * @return Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - */ - private Map metadata; - /** - * @return Name of the shard. - * - */ - private String name; - /** - * @return Identifier of the peer cloudAutonomousVmCluster for the shard. - * - */ - private String peerCloudAutonomousVmClusterId; - /** - * @return Name of the shard-group to which the shard belongs. - * - */ - private String shardGroup; - /** - * @return Shard space name. - * - */ - private String shardSpace; - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - private String status; - /** - * @return Identifier of the underlying supporting resource. - * - */ - private String supportingResourceId; - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - private String timeCreated; - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - private String timeSslCertificateExpires; - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - private String timeUpdated; - - private GetShardedDatabaseShardDetail() {} - public String adminPassword() { - return this.adminPassword; - } - /** - * @return Identifier of the primary cloudAutonomousVmCluster for the shard. - * - */ - public String cloudAutonomousVmClusterId() { - return this.cloudAutonomousVmClusterId; - } - /** - * @return The compute amount available to the underlying autonomous database associated with shard. - * - */ - public Double computeCount() { - return this.computeCount; - } - /** - * @return Identifier of the underlying container database. - * - */ - public String containerDatabaseId() { - return this.containerDatabaseId; - } - /** - * @return Identifier of the underlying container database parent. - * - */ - public String containerDatabaseParentId() { - return this.containerDatabaseParentId; - } - /** - * @return The data disk group size to be allocated in GBs. - * - */ - public Double dataStorageSizeInGbs() { - return this.dataStorageSizeInGbs; - } - /** - * @return Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - public List encryptionKeyDetails() { - return this.encryptionKeyDetails; - } - /** - * @return Determines the auto-scaling mode. - * - */ - public Boolean isAutoScalingEnabled() { - return this.isAutoScalingEnabled; - } - /** - * @return Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - * - */ - public Map metadata() { - return this.metadata; - } - /** - * @return Name of the shard. - * - */ - public String name() { - return this.name; - } - /** - * @return Identifier of the peer cloudAutonomousVmCluster for the shard. - * - */ - public String peerCloudAutonomousVmClusterId() { - return this.peerCloudAutonomousVmClusterId; - } - /** - * @return Name of the shard-group to which the shard belongs. - * - */ - public String shardGroup() { - return this.shardGroup; - } - /** - * @return Shard space name. - * - */ - public String shardSpace() { - return this.shardSpace; - } - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - public String status() { - return this.status; - } - /** - * @return Identifier of the underlying supporting resource. - * - */ - public String supportingResourceId() { - return this.supportingResourceId; - } - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public String timeCreated() { - return this.timeCreated; - } - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - public String timeSslCertificateExpires() { - return this.timeSslCertificateExpires; - } - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public String timeUpdated() { - return this.timeUpdated; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetShardedDatabaseShardDetail defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String adminPassword; - private String cloudAutonomousVmClusterId; - private Double computeCount; - private String containerDatabaseId; - private String containerDatabaseParentId; - private Double dataStorageSizeInGbs; - private List encryptionKeyDetails; - private Boolean isAutoScalingEnabled; - private Map metadata; - private String name; - private String peerCloudAutonomousVmClusterId; - private String shardGroup; - private String shardSpace; - private String status; - private String supportingResourceId; - private String timeCreated; - private String timeSslCertificateExpires; - private String timeUpdated; - public Builder() {} - public Builder(GetShardedDatabaseShardDetail defaults) { - Objects.requireNonNull(defaults); - this.adminPassword = defaults.adminPassword; - this.cloudAutonomousVmClusterId = defaults.cloudAutonomousVmClusterId; - this.computeCount = defaults.computeCount; - this.containerDatabaseId = defaults.containerDatabaseId; - this.containerDatabaseParentId = defaults.containerDatabaseParentId; - this.dataStorageSizeInGbs = defaults.dataStorageSizeInGbs; - this.encryptionKeyDetails = defaults.encryptionKeyDetails; - this.isAutoScalingEnabled = defaults.isAutoScalingEnabled; - this.metadata = defaults.metadata; - this.name = defaults.name; - this.peerCloudAutonomousVmClusterId = defaults.peerCloudAutonomousVmClusterId; - this.shardGroup = defaults.shardGroup; - this.shardSpace = defaults.shardSpace; - this.status = defaults.status; - this.supportingResourceId = defaults.supportingResourceId; - this.timeCreated = defaults.timeCreated; - this.timeSslCertificateExpires = defaults.timeSslCertificateExpires; - this.timeUpdated = defaults.timeUpdated; - } - - @CustomType.Setter - public Builder adminPassword(String adminPassword) { - if (adminPassword == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "adminPassword"); - } - this.adminPassword = adminPassword; - return this; - } - @CustomType.Setter - public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) { - if (cloudAutonomousVmClusterId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "cloudAutonomousVmClusterId"); - } - this.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - return this; - } - @CustomType.Setter - public Builder computeCount(Double computeCount) { - if (computeCount == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "computeCount"); - } - this.computeCount = computeCount; - return this; - } - @CustomType.Setter - public Builder containerDatabaseId(String containerDatabaseId) { - if (containerDatabaseId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "containerDatabaseId"); - } - this.containerDatabaseId = containerDatabaseId; - return this; - } - @CustomType.Setter - public Builder containerDatabaseParentId(String containerDatabaseParentId) { - if (containerDatabaseParentId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "containerDatabaseParentId"); - } - this.containerDatabaseParentId = containerDatabaseParentId; - return this; - } - @CustomType.Setter - public Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs) { - if (dataStorageSizeInGbs == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "dataStorageSizeInGbs"); - } - this.dataStorageSizeInGbs = dataStorageSizeInGbs; - return this; - } - @CustomType.Setter - public Builder encryptionKeyDetails(List encryptionKeyDetails) { - if (encryptionKeyDetails == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "encryptionKeyDetails"); - } - this.encryptionKeyDetails = encryptionKeyDetails; - return this; - } - public Builder encryptionKeyDetails(GetShardedDatabaseShardDetailEncryptionKeyDetail... encryptionKeyDetails) { - return encryptionKeyDetails(List.of(encryptionKeyDetails)); - } - @CustomType.Setter - public Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled) { - if (isAutoScalingEnabled == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "isAutoScalingEnabled"); - } - this.isAutoScalingEnabled = isAutoScalingEnabled; - return this; - } - @CustomType.Setter - public Builder metadata(Map metadata) { - if (metadata == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "metadata"); - } - this.metadata = metadata; - return this; - } - @CustomType.Setter - public Builder name(String name) { - if (name == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "name"); - } - this.name = name; - return this; - } - @CustomType.Setter - public Builder peerCloudAutonomousVmClusterId(String peerCloudAutonomousVmClusterId) { - if (peerCloudAutonomousVmClusterId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "peerCloudAutonomousVmClusterId"); - } - this.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - return this; - } - @CustomType.Setter - public Builder shardGroup(String shardGroup) { - if (shardGroup == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "shardGroup"); - } - this.shardGroup = shardGroup; - return this; - } - @CustomType.Setter - public Builder shardSpace(String shardSpace) { - if (shardSpace == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "shardSpace"); - } - this.shardSpace = shardSpace; - return this; - } - @CustomType.Setter - public Builder status(String status) { - if (status == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "status"); - } - this.status = status; - return this; - } - @CustomType.Setter - public Builder supportingResourceId(String supportingResourceId) { - if (supportingResourceId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "supportingResourceId"); - } - this.supportingResourceId = supportingResourceId; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeSslCertificateExpires(String timeSslCertificateExpires) { - if (timeSslCertificateExpires == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "timeSslCertificateExpires"); - } - this.timeSslCertificateExpires = timeSslCertificateExpires; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetail", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - public GetShardedDatabaseShardDetail build() { - final var _resultValue = new GetShardedDatabaseShardDetail(); - _resultValue.adminPassword = adminPassword; - _resultValue.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - _resultValue.computeCount = computeCount; - _resultValue.containerDatabaseId = containerDatabaseId; - _resultValue.containerDatabaseParentId = containerDatabaseParentId; - _resultValue.dataStorageSizeInGbs = dataStorageSizeInGbs; - _resultValue.encryptionKeyDetails = encryptionKeyDetails; - _resultValue.isAutoScalingEnabled = isAutoScalingEnabled; - _resultValue.metadata = metadata; - _resultValue.name = name; - _resultValue.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - _resultValue.shardGroup = shardGroup; - _resultValue.shardSpace = shardSpace; - _resultValue.status = status; - _resultValue.supportingResourceId = supportingResourceId; - _resultValue.timeCreated = timeCreated; - _resultValue.timeSslCertificateExpires = timeSslCertificateExpires; - _resultValue.timeUpdated = timeUpdated; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseShardDetailEncryptionKeyDetail.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseShardDetailEncryptionKeyDetail.java deleted file mode 100644 index 94da22ec4d..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabaseShardDetailEncryptionKeyDetail.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class GetShardedDatabaseShardDetailEncryptionKeyDetail { - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - private String kmsKeyId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - private String kmsKeyVersionId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - private String vaultId; - - private GetShardedDatabaseShardDetailEncryptionKeyDetail() {} - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - public String kmsKeyId() { - return this.kmsKeyId; - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - public String kmsKeyVersionId() { - return this.kmsKeyVersionId; - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - public String vaultId() { - return this.vaultId; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetShardedDatabaseShardDetailEncryptionKeyDetail defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String kmsKeyId; - private String kmsKeyVersionId; - private String vaultId; - public Builder() {} - public Builder(GetShardedDatabaseShardDetailEncryptionKeyDetail defaults) { - Objects.requireNonNull(defaults); - this.kmsKeyId = defaults.kmsKeyId; - this.kmsKeyVersionId = defaults.kmsKeyVersionId; - this.vaultId = defaults.vaultId; - } - - @CustomType.Setter - public Builder kmsKeyId(String kmsKeyId) { - if (kmsKeyId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetailEncryptionKeyDetail", "kmsKeyId"); - } - this.kmsKeyId = kmsKeyId; - return this; - } - @CustomType.Setter - public Builder kmsKeyVersionId(String kmsKeyVersionId) { - if (kmsKeyVersionId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetailEncryptionKeyDetail", "kmsKeyVersionId"); - } - this.kmsKeyVersionId = kmsKeyVersionId; - return this; - } - @CustomType.Setter - public Builder vaultId(String vaultId) { - if (vaultId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabaseShardDetailEncryptionKeyDetail", "vaultId"); - } - this.vaultId = vaultId; - return this; - } - public GetShardedDatabaseShardDetailEncryptionKeyDetail build() { - final var _resultValue = new GetShardedDatabaseShardDetailEncryptionKeyDetail(); - _resultValue.kmsKeyId = kmsKeyId; - _resultValue.kmsKeyVersionId = kmsKeyVersionId; - _resultValue.vaultId = vaultId; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesShardedDatabaseCollection.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesShardedDatabaseCollection.java deleted file mode 100644 index f76070b974..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesShardedDatabaseCollection.java +++ /dev/null @@ -1,54 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.GetShardedDatabasesShardedDatabaseCollectionItem; -import java.util.List; -import java.util.Objects; - -@CustomType -public final class GetShardedDatabasesShardedDatabaseCollection { - private List items; - - private GetShardedDatabasesShardedDatabaseCollection() {} - public List items() { - return this.items; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetShardedDatabasesShardedDatabaseCollection defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private List items; - public Builder() {} - public Builder(GetShardedDatabasesShardedDatabaseCollection defaults) { - Objects.requireNonNull(defaults); - this.items = defaults.items; - } - - @CustomType.Setter - public Builder items(List items) { - if (items == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollection", "items"); - } - this.items = items; - return this; - } - public Builder items(GetShardedDatabasesShardedDatabaseCollectionItem... items) { - return items(List.of(items)); - } - public GetShardedDatabasesShardedDatabaseCollection build() { - final var _resultValue = new GetShardedDatabasesShardedDatabaseCollection(); - _resultValue.items = items; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesShardedDatabaseCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesShardedDatabaseCollectionItem.java deleted file mode 100644 index 5e116c3571..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/GetShardedDatabasesShardedDatabaseCollectionItem.java +++ /dev/null @@ -1,612 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.Double; -import java.lang.Integer; -import java.lang.String; -import java.util.Map; -import java.util.Objects; - -@CustomType -public final class GetShardedDatabasesShardedDatabaseCollectionItem { - /** - * @return The character set for the database. - * - */ - private String characterSet; - /** - * @return The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - */ - private Integer chunks; - /** - * @return The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - */ - private String clusterCertificateCommonName; - /** - * @return The ID of the compartment in which to list resources. - * - */ - private String compartmentId; - /** - * @return The database deployment type. - * - */ - private String dbDeploymentType; - /** - * @return Oracle Database version number. - * - */ - private String dbVersion; - /** - * @return Possible workload types. - * - */ - private String dbWorkload; - /** - * @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 filter to return only sharded databases that match the entire name given. The match is not case sensitive. - * - */ - 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 Sharded Database identifier - * - */ - private String id; - private String lifecycleState; - /** - * @return Detailed message for the lifecycle state. - * - */ - private String lifecycleStateDetails; - /** - * @return The GSM listener port number. - * - */ - private Integer listenerPort; - /** - * @return The TLS listener port number for sharded database. - * - */ - private Integer listenerPortTls; - /** - * @return The national character set for the database. - * - */ - private String ncharacterSet; - /** - * @return Ons local port number. - * - */ - private Integer onsPortLocal; - /** - * @return Ons remote port number. - * - */ - private Integer onsPortRemote; - /** - * @return Unique prefix for the sharded database. - * - */ - private String prefix; - /** - * @return Sharding Method. - * - */ - private String shardingMethod; - /** - * @return A filter to return only resources their lifecycleState matches the given lifecycleState. - * - */ - private String state; - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - private Map systemTags; - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - private String timeCreated; - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - private String timeUpdated; - private Double totalCpuCount; - private Double totalDataStorageSizeInGbs; - - private GetShardedDatabasesShardedDatabaseCollectionItem() {} - /** - * @return The character set for the database. - * - */ - public String characterSet() { - return this.characterSet; - } - /** - * @return The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - * - */ - public Integer chunks() { - return this.chunks; - } - /** - * @return The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - * - */ - public String clusterCertificateCommonName() { - return this.clusterCertificateCommonName; - } - /** - * @return The ID of the compartment in which to list resources. - * - */ - public String compartmentId() { - return this.compartmentId; - } - /** - * @return The database deployment type. - * - */ - public String dbDeploymentType() { - return this.dbDeploymentType; - } - /** - * @return Oracle Database version number. - * - */ - public String dbVersion() { - return this.dbVersion; - } - /** - * @return Possible workload types. - * - */ - public String dbWorkload() { - return this.dbWorkload; - } - /** - * @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 filter to return only sharded databases that match the entire name given. The match is not case sensitive. - * - */ - 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 Sharded Database identifier - * - */ - public String id() { - return this.id; - } - public String lifecycleState() { - return this.lifecycleState; - } - /** - * @return Detailed message for the lifecycle state. - * - */ - public String lifecycleStateDetails() { - return this.lifecycleStateDetails; - } - /** - * @return The GSM listener port number. - * - */ - public Integer listenerPort() { - return this.listenerPort; - } - /** - * @return The TLS listener port number for sharded database. - * - */ - public Integer listenerPortTls() { - return this.listenerPortTls; - } - /** - * @return The national character set for the database. - * - */ - public String ncharacterSet() { - return this.ncharacterSet; - } - /** - * @return Ons local port number. - * - */ - public Integer onsPortLocal() { - return this.onsPortLocal; - } - /** - * @return Ons remote port number. - * - */ - public Integer onsPortRemote() { - return this.onsPortRemote; - } - /** - * @return Unique prefix for the sharded database. - * - */ - public String prefix() { - return this.prefix; - } - /** - * @return Sharding Method. - * - */ - public String shardingMethod() { - return this.shardingMethod; - } - /** - * @return A filter to return only resources their lifecycleState matches the given lifecycleState. - * - */ - public String state() { - return this.state; - } - /** - * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - * - */ - public Map systemTags() { - return this.systemTags; - } - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public String timeCreated() { - return this.timeCreated; - } - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public String timeUpdated() { - return this.timeUpdated; - } - public Double totalCpuCount() { - return this.totalCpuCount; - } - public Double totalDataStorageSizeInGbs() { - return this.totalDataStorageSizeInGbs; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(GetShardedDatabasesShardedDatabaseCollectionItem defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String characterSet; - private Integer chunks; - private String clusterCertificateCommonName; - private String compartmentId; - private String dbDeploymentType; - private String dbVersion; - private String dbWorkload; - private Map definedTags; - private String displayName; - private Map freeformTags; - private String id; - private String lifecycleState; - private String lifecycleStateDetails; - private Integer listenerPort; - private Integer listenerPortTls; - private String ncharacterSet; - private Integer onsPortLocal; - private Integer onsPortRemote; - private String prefix; - private String shardingMethod; - private String state; - private Map systemTags; - private String timeCreated; - private String timeUpdated; - private Double totalCpuCount; - private Double totalDataStorageSizeInGbs; - public Builder() {} - public Builder(GetShardedDatabasesShardedDatabaseCollectionItem defaults) { - Objects.requireNonNull(defaults); - this.characterSet = defaults.characterSet; - this.chunks = defaults.chunks; - this.clusterCertificateCommonName = defaults.clusterCertificateCommonName; - this.compartmentId = defaults.compartmentId; - this.dbDeploymentType = defaults.dbDeploymentType; - this.dbVersion = defaults.dbVersion; - this.dbWorkload = defaults.dbWorkload; - this.definedTags = defaults.definedTags; - this.displayName = defaults.displayName; - this.freeformTags = defaults.freeformTags; - this.id = defaults.id; - this.lifecycleState = defaults.lifecycleState; - this.lifecycleStateDetails = defaults.lifecycleStateDetails; - this.listenerPort = defaults.listenerPort; - this.listenerPortTls = defaults.listenerPortTls; - this.ncharacterSet = defaults.ncharacterSet; - this.onsPortLocal = defaults.onsPortLocal; - this.onsPortRemote = defaults.onsPortRemote; - this.prefix = defaults.prefix; - this.shardingMethod = defaults.shardingMethod; - this.state = defaults.state; - this.systemTags = defaults.systemTags; - this.timeCreated = defaults.timeCreated; - this.timeUpdated = defaults.timeUpdated; - this.totalCpuCount = defaults.totalCpuCount; - this.totalDataStorageSizeInGbs = defaults.totalDataStorageSizeInGbs; - } - - @CustomType.Setter - public Builder characterSet(String characterSet) { - if (characterSet == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "characterSet"); - } - this.characterSet = characterSet; - return this; - } - @CustomType.Setter - public Builder chunks(Integer chunks) { - if (chunks == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "chunks"); - } - this.chunks = chunks; - return this; - } - @CustomType.Setter - public Builder clusterCertificateCommonName(String clusterCertificateCommonName) { - if (clusterCertificateCommonName == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "clusterCertificateCommonName"); - } - this.clusterCertificateCommonName = clusterCertificateCommonName; - return this; - } - @CustomType.Setter - public Builder compartmentId(String compartmentId) { - if (compartmentId == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "compartmentId"); - } - this.compartmentId = compartmentId; - return this; - } - @CustomType.Setter - public Builder dbDeploymentType(String dbDeploymentType) { - if (dbDeploymentType == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "dbDeploymentType"); - } - this.dbDeploymentType = dbDeploymentType; - return this; - } - @CustomType.Setter - public Builder dbVersion(String dbVersion) { - if (dbVersion == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "dbVersion"); - } - this.dbVersion = dbVersion; - return this; - } - @CustomType.Setter - public Builder dbWorkload(String dbWorkload) { - if (dbWorkload == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "dbWorkload"); - } - this.dbWorkload = dbWorkload; - return this; - } - @CustomType.Setter - public Builder definedTags(Map definedTags) { - if (definedTags == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "definedTags"); - } - this.definedTags = definedTags; - return this; - } - @CustomType.Setter - public Builder displayName(String displayName) { - if (displayName == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "displayName"); - } - this.displayName = displayName; - return this; - } - @CustomType.Setter - public Builder freeformTags(Map freeformTags) { - if (freeformTags == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "freeformTags"); - } - this.freeformTags = freeformTags; - return this; - } - @CustomType.Setter - public Builder id(String id) { - if (id == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "id"); - } - this.id = id; - return this; - } - @CustomType.Setter - public Builder lifecycleState(String lifecycleState) { - if (lifecycleState == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "lifecycleState"); - } - this.lifecycleState = lifecycleState; - return this; - } - @CustomType.Setter - public Builder lifecycleStateDetails(String lifecycleStateDetails) { - if (lifecycleStateDetails == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "lifecycleStateDetails"); - } - this.lifecycleStateDetails = lifecycleStateDetails; - return this; - } - @CustomType.Setter - public Builder listenerPort(Integer listenerPort) { - if (listenerPort == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "listenerPort"); - } - this.listenerPort = listenerPort; - return this; - } - @CustomType.Setter - public Builder listenerPortTls(Integer listenerPortTls) { - if (listenerPortTls == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "listenerPortTls"); - } - this.listenerPortTls = listenerPortTls; - return this; - } - @CustomType.Setter - public Builder ncharacterSet(String ncharacterSet) { - if (ncharacterSet == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "ncharacterSet"); - } - this.ncharacterSet = ncharacterSet; - return this; - } - @CustomType.Setter - public Builder onsPortLocal(Integer onsPortLocal) { - if (onsPortLocal == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "onsPortLocal"); - } - this.onsPortLocal = onsPortLocal; - return this; - } - @CustomType.Setter - public Builder onsPortRemote(Integer onsPortRemote) { - if (onsPortRemote == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "onsPortRemote"); - } - this.onsPortRemote = onsPortRemote; - return this; - } - @CustomType.Setter - public Builder prefix(String prefix) { - if (prefix == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "prefix"); - } - this.prefix = prefix; - return this; - } - @CustomType.Setter - public Builder shardingMethod(String shardingMethod) { - if (shardingMethod == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "shardingMethod"); - } - this.shardingMethod = shardingMethod; - return this; - } - @CustomType.Setter - public Builder state(String state) { - if (state == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "state"); - } - this.state = state; - return this; - } - @CustomType.Setter - public Builder systemTags(Map systemTags) { - if (systemTags == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "systemTags"); - } - this.systemTags = systemTags; - return this; - } - @CustomType.Setter - public Builder timeCreated(String timeCreated) { - if (timeCreated == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "timeCreated"); - } - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeUpdated(String timeUpdated) { - if (timeUpdated == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "timeUpdated"); - } - this.timeUpdated = timeUpdated; - return this; - } - @CustomType.Setter - public Builder totalCpuCount(Double totalCpuCount) { - if (totalCpuCount == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "totalCpuCount"); - } - this.totalCpuCount = totalCpuCount; - return this; - } - @CustomType.Setter - public Builder totalDataStorageSizeInGbs(Double totalDataStorageSizeInGbs) { - if (totalDataStorageSizeInGbs == null) { - throw new MissingRequiredPropertyException("GetShardedDatabasesShardedDatabaseCollectionItem", "totalDataStorageSizeInGbs"); - } - this.totalDataStorageSizeInGbs = totalDataStorageSizeInGbs; - return this; - } - public GetShardedDatabasesShardedDatabaseCollectionItem build() { - final var _resultValue = new GetShardedDatabasesShardedDatabaseCollectionItem(); - _resultValue.characterSet = characterSet; - _resultValue.chunks = chunks; - _resultValue.clusterCertificateCommonName = clusterCertificateCommonName; - _resultValue.compartmentId = compartmentId; - _resultValue.dbDeploymentType = dbDeploymentType; - _resultValue.dbVersion = dbVersion; - _resultValue.dbWorkload = dbWorkload; - _resultValue.definedTags = definedTags; - _resultValue.displayName = displayName; - _resultValue.freeformTags = freeformTags; - _resultValue.id = id; - _resultValue.lifecycleState = lifecycleState; - _resultValue.lifecycleStateDetails = lifecycleStateDetails; - _resultValue.listenerPort = listenerPort; - _resultValue.listenerPortTls = listenerPortTls; - _resultValue.ncharacterSet = ncharacterSet; - _resultValue.onsPortLocal = onsPortLocal; - _resultValue.onsPortRemote = onsPortRemote; - _resultValue.prefix = prefix; - _resultValue.shardingMethod = shardingMethod; - _resultValue.state = state; - _resultValue.systemTags = systemTags; - _resultValue.timeCreated = timeCreated; - _resultValue.timeUpdated = timeUpdated; - _resultValue.totalCpuCount = totalCpuCount; - _resultValue.totalDataStorageSizeInGbs = totalDataStorageSizeInGbs; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseCatalogDetail.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseCatalogDetail.java deleted file mode 100644 index fe62cde09e..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseCatalogDetail.java +++ /dev/null @@ -1,408 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.ShardedDatabaseCatalogDetailEncryptionKeyDetails; -import java.lang.Boolean; -import java.lang.Double; -import java.lang.String; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class ShardedDatabaseCatalogDetail { - /** - * @return Admin password for the catalog database. - * - */ - private String adminPassword; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - */ - private String cloudAutonomousVmClusterId; - /** - * @return The compute count for the catalog database. It has to be in multiple of 2. - * - */ - private Double computeCount; - /** - * @return Identifier of the underlying container database. - * - */ - private @Nullable String containerDatabaseId; - /** - * @return Identifier of the underlying container database parent. - * - */ - private @Nullable String containerDatabaseParentId; - /** - * @return The data disk group size to be allocated in GBs for the catalog database. - * - */ - private Double dataStorageSizeInGbs; - /** - * @return Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - private @Nullable ShardedDatabaseCatalogDetailEncryptionKeyDetails encryptionKeyDetails; - /** - * @return Determines the auto-scaling mode for the catalog database. - * - */ - private Boolean isAutoScalingEnabled; - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - private @Nullable Map metadata; - /** - * @return Name of the shard. - * - */ - private @Nullable String name; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - */ - private @Nullable String peerCloudAutonomousVmClusterId; - /** - * @return Name of the shard-group to which the shard belongs. - * - */ - private @Nullable String shardGroup; - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - private @Nullable String status; - /** - * @return Identifier of the underlying supporting resource. - * - */ - private @Nullable String supportingResourceId; - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - private @Nullable String timeCreated; - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - private @Nullable String timeSslCertificateExpires; - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - private @Nullable String timeUpdated; - - private ShardedDatabaseCatalogDetail() {} - /** - * @return Admin password for the catalog database. - * - */ - public String adminPassword() { - return this.adminPassword; - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - */ - public String cloudAutonomousVmClusterId() { - return this.cloudAutonomousVmClusterId; - } - /** - * @return The compute count for the catalog database. It has to be in multiple of 2. - * - */ - public Double computeCount() { - return this.computeCount; - } - /** - * @return Identifier of the underlying container database. - * - */ - public Optional containerDatabaseId() { - return Optional.ofNullable(this.containerDatabaseId); - } - /** - * @return Identifier of the underlying container database parent. - * - */ - public Optional containerDatabaseParentId() { - return Optional.ofNullable(this.containerDatabaseParentId); - } - /** - * @return The data disk group size to be allocated in GBs for the catalog database. - * - */ - public Double dataStorageSizeInGbs() { - return this.dataStorageSizeInGbs; - } - /** - * @return Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - public Optional encryptionKeyDetails() { - return Optional.ofNullable(this.encryptionKeyDetails); - } - /** - * @return Determines the auto-scaling mode for the catalog database. - * - */ - public Boolean isAutoScalingEnabled() { - return this.isAutoScalingEnabled; - } - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - public Map metadata() { - return this.metadata == null ? Map.of() : this.metadata; - } - /** - * @return Name of the shard. - * - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - */ - public Optional peerCloudAutonomousVmClusterId() { - return Optional.ofNullable(this.peerCloudAutonomousVmClusterId); - } - /** - * @return Name of the shard-group to which the shard belongs. - * - */ - public Optional shardGroup() { - return Optional.ofNullable(this.shardGroup); - } - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - /** - * @return Identifier of the underlying supporting resource. - * - */ - public Optional supportingResourceId() { - return Optional.ofNullable(this.supportingResourceId); - } - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public Optional timeCreated() { - return Optional.ofNullable(this.timeCreated); - } - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - public Optional timeSslCertificateExpires() { - return Optional.ofNullable(this.timeSslCertificateExpires); - } - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public Optional timeUpdated() { - return Optional.ofNullable(this.timeUpdated); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ShardedDatabaseCatalogDetail defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String adminPassword; - private String cloudAutonomousVmClusterId; - private Double computeCount; - private @Nullable String containerDatabaseId; - private @Nullable String containerDatabaseParentId; - private Double dataStorageSizeInGbs; - private @Nullable ShardedDatabaseCatalogDetailEncryptionKeyDetails encryptionKeyDetails; - private Boolean isAutoScalingEnabled; - private @Nullable Map metadata; - private @Nullable String name; - private @Nullable String peerCloudAutonomousVmClusterId; - private @Nullable String shardGroup; - private @Nullable String status; - private @Nullable String supportingResourceId; - private @Nullable String timeCreated; - private @Nullable String timeSslCertificateExpires; - private @Nullable String timeUpdated; - public Builder() {} - public Builder(ShardedDatabaseCatalogDetail defaults) { - Objects.requireNonNull(defaults); - this.adminPassword = defaults.adminPassword; - this.cloudAutonomousVmClusterId = defaults.cloudAutonomousVmClusterId; - this.computeCount = defaults.computeCount; - this.containerDatabaseId = defaults.containerDatabaseId; - this.containerDatabaseParentId = defaults.containerDatabaseParentId; - this.dataStorageSizeInGbs = defaults.dataStorageSizeInGbs; - this.encryptionKeyDetails = defaults.encryptionKeyDetails; - this.isAutoScalingEnabled = defaults.isAutoScalingEnabled; - this.metadata = defaults.metadata; - this.name = defaults.name; - this.peerCloudAutonomousVmClusterId = defaults.peerCloudAutonomousVmClusterId; - this.shardGroup = defaults.shardGroup; - this.status = defaults.status; - this.supportingResourceId = defaults.supportingResourceId; - this.timeCreated = defaults.timeCreated; - this.timeSslCertificateExpires = defaults.timeSslCertificateExpires; - this.timeUpdated = defaults.timeUpdated; - } - - @CustomType.Setter - public Builder adminPassword(String adminPassword) { - if (adminPassword == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetail", "adminPassword"); - } - this.adminPassword = adminPassword; - return this; - } - @CustomType.Setter - public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) { - if (cloudAutonomousVmClusterId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetail", "cloudAutonomousVmClusterId"); - } - this.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - return this; - } - @CustomType.Setter - public Builder computeCount(Double computeCount) { - if (computeCount == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetail", "computeCount"); - } - this.computeCount = computeCount; - return this; - } - @CustomType.Setter - public Builder containerDatabaseId(@Nullable String containerDatabaseId) { - - this.containerDatabaseId = containerDatabaseId; - return this; - } - @CustomType.Setter - public Builder containerDatabaseParentId(@Nullable String containerDatabaseParentId) { - - this.containerDatabaseParentId = containerDatabaseParentId; - return this; - } - @CustomType.Setter - public Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs) { - if (dataStorageSizeInGbs == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetail", "dataStorageSizeInGbs"); - } - this.dataStorageSizeInGbs = dataStorageSizeInGbs; - return this; - } - @CustomType.Setter - public Builder encryptionKeyDetails(@Nullable ShardedDatabaseCatalogDetailEncryptionKeyDetails encryptionKeyDetails) { - - this.encryptionKeyDetails = encryptionKeyDetails; - return this; - } - @CustomType.Setter - public Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled) { - if (isAutoScalingEnabled == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetail", "isAutoScalingEnabled"); - } - this.isAutoScalingEnabled = isAutoScalingEnabled; - return this; - } - @CustomType.Setter - public Builder metadata(@Nullable Map metadata) { - - this.metadata = metadata; - return this; - } - @CustomType.Setter - public Builder name(@Nullable String name) { - - this.name = name; - return this; - } - @CustomType.Setter - public Builder peerCloudAutonomousVmClusterId(@Nullable String peerCloudAutonomousVmClusterId) { - - this.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - return this; - } - @CustomType.Setter - public Builder shardGroup(@Nullable String shardGroup) { - - this.shardGroup = shardGroup; - return this; - } - @CustomType.Setter - public Builder status(@Nullable String status) { - - this.status = status; - return this; - } - @CustomType.Setter - public Builder supportingResourceId(@Nullable String supportingResourceId) { - - this.supportingResourceId = supportingResourceId; - return this; - } - @CustomType.Setter - public Builder timeCreated(@Nullable String timeCreated) { - - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeSslCertificateExpires(@Nullable String timeSslCertificateExpires) { - - this.timeSslCertificateExpires = timeSslCertificateExpires; - return this; - } - @CustomType.Setter - public Builder timeUpdated(@Nullable String timeUpdated) { - - this.timeUpdated = timeUpdated; - return this; - } - public ShardedDatabaseCatalogDetail build() { - final var _resultValue = new ShardedDatabaseCatalogDetail(); - _resultValue.adminPassword = adminPassword; - _resultValue.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - _resultValue.computeCount = computeCount; - _resultValue.containerDatabaseId = containerDatabaseId; - _resultValue.containerDatabaseParentId = containerDatabaseParentId; - _resultValue.dataStorageSizeInGbs = dataStorageSizeInGbs; - _resultValue.encryptionKeyDetails = encryptionKeyDetails; - _resultValue.isAutoScalingEnabled = isAutoScalingEnabled; - _resultValue.metadata = metadata; - _resultValue.name = name; - _resultValue.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - _resultValue.shardGroup = shardGroup; - _resultValue.status = status; - _resultValue.supportingResourceId = supportingResourceId; - _resultValue.timeCreated = timeCreated; - _resultValue.timeSslCertificateExpires = timeSslCertificateExpires; - _resultValue.timeUpdated = timeUpdated; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseCatalogDetailEncryptionKeyDetails.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseCatalogDetailEncryptionKeyDetails.java deleted file mode 100644 index 412df96a56..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseCatalogDetailEncryptionKeyDetails.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class ShardedDatabaseCatalogDetailEncryptionKeyDetails { - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - private String kmsKeyId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - private @Nullable String kmsKeyVersionId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - private String vaultId; - - private ShardedDatabaseCatalogDetailEncryptionKeyDetails() {} - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - public String kmsKeyId() { - return this.kmsKeyId; - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - public Optional kmsKeyVersionId() { - return Optional.ofNullable(this.kmsKeyVersionId); - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - public String vaultId() { - return this.vaultId; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ShardedDatabaseCatalogDetailEncryptionKeyDetails defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String kmsKeyId; - private @Nullable String kmsKeyVersionId; - private String vaultId; - public Builder() {} - public Builder(ShardedDatabaseCatalogDetailEncryptionKeyDetails defaults) { - Objects.requireNonNull(defaults); - this.kmsKeyId = defaults.kmsKeyId; - this.kmsKeyVersionId = defaults.kmsKeyVersionId; - this.vaultId = defaults.vaultId; - } - - @CustomType.Setter - public Builder kmsKeyId(String kmsKeyId) { - if (kmsKeyId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetailEncryptionKeyDetails", "kmsKeyId"); - } - this.kmsKeyId = kmsKeyId; - return this; - } - @CustomType.Setter - public Builder kmsKeyVersionId(@Nullable String kmsKeyVersionId) { - - this.kmsKeyVersionId = kmsKeyVersionId; - return this; - } - @CustomType.Setter - public Builder vaultId(String vaultId) { - if (vaultId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseCatalogDetailEncryptionKeyDetails", "vaultId"); - } - this.vaultId = vaultId; - return this; - } - public ShardedDatabaseCatalogDetailEncryptionKeyDetails build() { - final var _resultValue = new ShardedDatabaseCatalogDetailEncryptionKeyDetails(); - _resultValue.kmsKeyId = kmsKeyId; - _resultValue.kmsKeyVersionId = kmsKeyVersionId; - _resultValue.vaultId = vaultId; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseConnectionString.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseConnectionString.java deleted file mode 100644 index 2250eb5b6b..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseConnectionString.java +++ /dev/null @@ -1,57 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.lang.String; -import java.util.Map; -import java.util.Objects; -import javax.annotation.Nullable; - -@CustomType -public final class ShardedDatabaseConnectionString { - /** - * @return Collection of connection strings. - * - */ - private @Nullable Map allConnectionStrings; - - private ShardedDatabaseConnectionString() {} - /** - * @return Collection of connection strings. - * - */ - public Map allConnectionStrings() { - return this.allConnectionStrings == null ? Map.of() : this.allConnectionStrings; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ShardedDatabaseConnectionString defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable Map allConnectionStrings; - public Builder() {} - public Builder(ShardedDatabaseConnectionString defaults) { - Objects.requireNonNull(defaults); - this.allConnectionStrings = defaults.allConnectionStrings; - } - - @CustomType.Setter - public Builder allConnectionStrings(@Nullable Map allConnectionStrings) { - - this.allConnectionStrings = allConnectionStrings; - return this; - } - public ShardedDatabaseConnectionString build() { - final var _resultValue = new ShardedDatabaseConnectionString(); - _resultValue.allConnectionStrings = allConnectionStrings; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseGsm.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseGsm.java deleted file mode 100644 index cc1888524a..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseGsm.java +++ /dev/null @@ -1,227 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import java.lang.Double; -import java.lang.String; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class ShardedDatabaseGsm { - /** - * @return The compute amount available to the underlying autonomous database associated with shard. - * - */ - private @Nullable Double computeCount; - /** - * @return The data disk group size to be allocated in GBs. - * - */ - private @Nullable Double dataStorageSizeInGbs; - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - private @Nullable Map metadata; - /** - * @return Name of the shard. - * - */ - private @Nullable String name; - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - private @Nullable String status; - /** - * @return Identifier of the underlying supporting resource. - * - */ - private @Nullable String supportingResourceId; - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - private @Nullable String timeCreated; - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - private @Nullable String timeSslCertificateExpires; - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - private @Nullable String timeUpdated; - - private ShardedDatabaseGsm() {} - /** - * @return The compute amount available to the underlying autonomous database associated with shard. - * - */ - public Optional computeCount() { - return Optional.ofNullable(this.computeCount); - } - /** - * @return The data disk group size to be allocated in GBs. - * - */ - public Optional dataStorageSizeInGbs() { - return Optional.ofNullable(this.dataStorageSizeInGbs); - } - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - public Map metadata() { - return this.metadata == null ? Map.of() : this.metadata; - } - /** - * @return Name of the shard. - * - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - /** - * @return Identifier of the underlying supporting resource. - * - */ - public Optional supportingResourceId() { - return Optional.ofNullable(this.supportingResourceId); - } - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public Optional timeCreated() { - return Optional.ofNullable(this.timeCreated); - } - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - public Optional timeSslCertificateExpires() { - return Optional.ofNullable(this.timeSslCertificateExpires); - } - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public Optional timeUpdated() { - return Optional.ofNullable(this.timeUpdated); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ShardedDatabaseGsm defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private @Nullable Double computeCount; - private @Nullable Double dataStorageSizeInGbs; - private @Nullable Map metadata; - private @Nullable String name; - private @Nullable String status; - private @Nullable String supportingResourceId; - private @Nullable String timeCreated; - private @Nullable String timeSslCertificateExpires; - private @Nullable String timeUpdated; - public Builder() {} - public Builder(ShardedDatabaseGsm defaults) { - Objects.requireNonNull(defaults); - this.computeCount = defaults.computeCount; - this.dataStorageSizeInGbs = defaults.dataStorageSizeInGbs; - this.metadata = defaults.metadata; - this.name = defaults.name; - this.status = defaults.status; - this.supportingResourceId = defaults.supportingResourceId; - this.timeCreated = defaults.timeCreated; - this.timeSslCertificateExpires = defaults.timeSslCertificateExpires; - this.timeUpdated = defaults.timeUpdated; - } - - @CustomType.Setter - public Builder computeCount(@Nullable Double computeCount) { - - this.computeCount = computeCount; - return this; - } - @CustomType.Setter - public Builder dataStorageSizeInGbs(@Nullable Double dataStorageSizeInGbs) { - - this.dataStorageSizeInGbs = dataStorageSizeInGbs; - return this; - } - @CustomType.Setter - public Builder metadata(@Nullable Map metadata) { - - this.metadata = metadata; - return this; - } - @CustomType.Setter - public Builder name(@Nullable String name) { - - this.name = name; - return this; - } - @CustomType.Setter - public Builder status(@Nullable String status) { - - this.status = status; - return this; - } - @CustomType.Setter - public Builder supportingResourceId(@Nullable String supportingResourceId) { - - this.supportingResourceId = supportingResourceId; - return this; - } - @CustomType.Setter - public Builder timeCreated(@Nullable String timeCreated) { - - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeSslCertificateExpires(@Nullable String timeSslCertificateExpires) { - - this.timeSslCertificateExpires = timeSslCertificateExpires; - return this; - } - @CustomType.Setter - public Builder timeUpdated(@Nullable String timeUpdated) { - - this.timeUpdated = timeUpdated; - return this; - } - public ShardedDatabaseGsm build() { - final var _resultValue = new ShardedDatabaseGsm(); - _resultValue.computeCount = computeCount; - _resultValue.dataStorageSizeInGbs = dataStorageSizeInGbs; - _resultValue.metadata = metadata; - _resultValue.name = name; - _resultValue.status = status; - _resultValue.supportingResourceId = supportingResourceId; - _resultValue.timeCreated = timeCreated; - _resultValue.timeSslCertificateExpires = timeSslCertificateExpires; - _resultValue.timeUpdated = timeUpdated; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabasePatchOperation.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabasePatchOperation.java deleted file mode 100644 index 15698f2ad9..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabasePatchOperation.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; - -@CustomType -public final class ShardedDatabasePatchOperation { - /** - * @return (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - * - */ - private String operation; - /** - * @return (Updatable) - * - */ - private String selection; - /** - * @return (Updatable) - * - */ - private String value; - - private ShardedDatabasePatchOperation() {} - /** - * @return (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - * - */ - public String operation() { - return this.operation; - } - /** - * @return (Updatable) - * - */ - public String selection() { - return this.selection; - } - /** - * @return (Updatable) - * - */ - public String value() { - return this.value; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ShardedDatabasePatchOperation defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String operation; - private String selection; - private String value; - public Builder() {} - public Builder(ShardedDatabasePatchOperation defaults) { - Objects.requireNonNull(defaults); - this.operation = defaults.operation; - this.selection = defaults.selection; - this.value = defaults.value; - } - - @CustomType.Setter - public Builder operation(String operation) { - if (operation == null) { - throw new MissingRequiredPropertyException("ShardedDatabasePatchOperation", "operation"); - } - this.operation = operation; - return this; - } - @CustomType.Setter - public Builder selection(String selection) { - if (selection == null) { - throw new MissingRequiredPropertyException("ShardedDatabasePatchOperation", "selection"); - } - this.selection = selection; - return this; - } - @CustomType.Setter - public Builder value(String value) { - if (value == null) { - throw new MissingRequiredPropertyException("ShardedDatabasePatchOperation", "value"); - } - this.value = value; - return this; - } - public ShardedDatabasePatchOperation build() { - final var _resultValue = new ShardedDatabasePatchOperation(); - _resultValue.operation = operation; - _resultValue.selection = selection; - _resultValue.value = value; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseShardDetail.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseShardDetail.java deleted file mode 100644 index c3f53a36d9..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseShardDetail.java +++ /dev/null @@ -1,429 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import com.pulumi.oci.GloballyDistributedDatabase.outputs.ShardedDatabaseShardDetailEncryptionKeyDetails; -import java.lang.Boolean; -import java.lang.Double; -import java.lang.String; -import java.util.Map; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class ShardedDatabaseShardDetail { - /** - * @return Admin password for shard database. - * - */ - private String adminPassword; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - */ - private String cloudAutonomousVmClusterId; - /** - * @return The compute count for the shard database. It has to be in multiples of 2. - * - */ - private Double computeCount; - /** - * @return Identifier of the underlying container database. - * - */ - private @Nullable String containerDatabaseId; - /** - * @return Identifier of the underlying container database parent. - * - */ - private @Nullable String containerDatabaseParentId; - /** - * @return The data disk group size to be allocated in GBs for the shard database. - * - */ - private Double dataStorageSizeInGbs; - /** - * @return Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - private @Nullable ShardedDatabaseShardDetailEncryptionKeyDetails encryptionKeyDetails; - /** - * @return Determines the auto-scaling mode for the shard database. - * - */ - private Boolean isAutoScalingEnabled; - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - private @Nullable Map metadata; - /** - * @return Name of the shard. - * - */ - private @Nullable String name; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - */ - private @Nullable String peerCloudAutonomousVmClusterId; - /** - * @return Name of the shard-group to which the shard belongs. - * - */ - private @Nullable String shardGroup; - /** - * @return The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - * - */ - private @Nullable String shardSpace; - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - private @Nullable String status; - /** - * @return Identifier of the underlying supporting resource. - * - */ - private @Nullable String supportingResourceId; - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - private @Nullable String timeCreated; - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - private @Nullable String timeSslCertificateExpires; - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - private @Nullable String timeUpdated; - - private ShardedDatabaseShardDetail() {} - /** - * @return Admin password for shard database. - * - */ - public String adminPassword() { - return this.adminPassword; - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - * - */ - public String cloudAutonomousVmClusterId() { - return this.cloudAutonomousVmClusterId; - } - /** - * @return The compute count for the shard database. It has to be in multiples of 2. - * - */ - public Double computeCount() { - return this.computeCount; - } - /** - * @return Identifier of the underlying container database. - * - */ - public Optional containerDatabaseId() { - return Optional.ofNullable(this.containerDatabaseId); - } - /** - * @return Identifier of the underlying container database parent. - * - */ - public Optional containerDatabaseParentId() { - return Optional.ofNullable(this.containerDatabaseParentId); - } - /** - * @return The data disk group size to be allocated in GBs for the shard database. - * - */ - public Double dataStorageSizeInGbs() { - return this.dataStorageSizeInGbs; - } - /** - * @return Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - * - */ - public Optional encryptionKeyDetails() { - return Optional.ofNullable(this.encryptionKeyDetails); - } - /** - * @return Determines the auto-scaling mode for the shard database. - * - */ - public Boolean isAutoScalingEnabled() { - return this.isAutoScalingEnabled; - } - /** - * @return Additional metadata related to shard's underlying supporting resource. - * - */ - public Map metadata() { - return this.metadata == null ? Map.of() : this.metadata; - } - /** - * @return Name of the shard. - * - */ - public Optional name() { - return Optional.ofNullable(this.name); - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - * - */ - public Optional peerCloudAutonomousVmClusterId() { - return Optional.ofNullable(this.peerCloudAutonomousVmClusterId); - } - /** - * @return Name of the shard-group to which the shard belongs. - * - */ - public Optional shardGroup() { - return Optional.ofNullable(this.shardGroup); - } - /** - * @return The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - * - */ - public Optional shardSpace() { - return Optional.ofNullable(this.shardSpace); - } - /** - * @return Status of shard or catalog or gsm for the sharded database. - * - */ - public Optional status() { - return Optional.ofNullable(this.status); - } - /** - * @return Identifier of the underlying supporting resource. - * - */ - public Optional supportingResourceId() { - return Optional.ofNullable(this.supportingResourceId); - } - /** - * @return The time the the Sharded Database was created. An RFC3339 formatted datetime string - * - */ - public Optional timeCreated() { - return Optional.ofNullable(this.timeCreated); - } - /** - * @return The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - * - */ - public Optional timeSslCertificateExpires() { - return Optional.ofNullable(this.timeSslCertificateExpires); - } - /** - * @return The time the Sharded Database was last updated. An RFC3339 formatted datetime string - * - */ - public Optional timeUpdated() { - return Optional.ofNullable(this.timeUpdated); - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ShardedDatabaseShardDetail defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String adminPassword; - private String cloudAutonomousVmClusterId; - private Double computeCount; - private @Nullable String containerDatabaseId; - private @Nullable String containerDatabaseParentId; - private Double dataStorageSizeInGbs; - private @Nullable ShardedDatabaseShardDetailEncryptionKeyDetails encryptionKeyDetails; - private Boolean isAutoScalingEnabled; - private @Nullable Map metadata; - private @Nullable String name; - private @Nullable String peerCloudAutonomousVmClusterId; - private @Nullable String shardGroup; - private @Nullable String shardSpace; - private @Nullable String status; - private @Nullable String supportingResourceId; - private @Nullable String timeCreated; - private @Nullable String timeSslCertificateExpires; - private @Nullable String timeUpdated; - public Builder() {} - public Builder(ShardedDatabaseShardDetail defaults) { - Objects.requireNonNull(defaults); - this.adminPassword = defaults.adminPassword; - this.cloudAutonomousVmClusterId = defaults.cloudAutonomousVmClusterId; - this.computeCount = defaults.computeCount; - this.containerDatabaseId = defaults.containerDatabaseId; - this.containerDatabaseParentId = defaults.containerDatabaseParentId; - this.dataStorageSizeInGbs = defaults.dataStorageSizeInGbs; - this.encryptionKeyDetails = defaults.encryptionKeyDetails; - this.isAutoScalingEnabled = defaults.isAutoScalingEnabled; - this.metadata = defaults.metadata; - this.name = defaults.name; - this.peerCloudAutonomousVmClusterId = defaults.peerCloudAutonomousVmClusterId; - this.shardGroup = defaults.shardGroup; - this.shardSpace = defaults.shardSpace; - this.status = defaults.status; - this.supportingResourceId = defaults.supportingResourceId; - this.timeCreated = defaults.timeCreated; - this.timeSslCertificateExpires = defaults.timeSslCertificateExpires; - this.timeUpdated = defaults.timeUpdated; - } - - @CustomType.Setter - public Builder adminPassword(String adminPassword) { - if (adminPassword == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetail", "adminPassword"); - } - this.adminPassword = adminPassword; - return this; - } - @CustomType.Setter - public Builder cloudAutonomousVmClusterId(String cloudAutonomousVmClusterId) { - if (cloudAutonomousVmClusterId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetail", "cloudAutonomousVmClusterId"); - } - this.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - return this; - } - @CustomType.Setter - public Builder computeCount(Double computeCount) { - if (computeCount == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetail", "computeCount"); - } - this.computeCount = computeCount; - return this; - } - @CustomType.Setter - public Builder containerDatabaseId(@Nullable String containerDatabaseId) { - - this.containerDatabaseId = containerDatabaseId; - return this; - } - @CustomType.Setter - public Builder containerDatabaseParentId(@Nullable String containerDatabaseParentId) { - - this.containerDatabaseParentId = containerDatabaseParentId; - return this; - } - @CustomType.Setter - public Builder dataStorageSizeInGbs(Double dataStorageSizeInGbs) { - if (dataStorageSizeInGbs == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetail", "dataStorageSizeInGbs"); - } - this.dataStorageSizeInGbs = dataStorageSizeInGbs; - return this; - } - @CustomType.Setter - public Builder encryptionKeyDetails(@Nullable ShardedDatabaseShardDetailEncryptionKeyDetails encryptionKeyDetails) { - - this.encryptionKeyDetails = encryptionKeyDetails; - return this; - } - @CustomType.Setter - public Builder isAutoScalingEnabled(Boolean isAutoScalingEnabled) { - if (isAutoScalingEnabled == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetail", "isAutoScalingEnabled"); - } - this.isAutoScalingEnabled = isAutoScalingEnabled; - return this; - } - @CustomType.Setter - public Builder metadata(@Nullable Map metadata) { - - this.metadata = metadata; - return this; - } - @CustomType.Setter - public Builder name(@Nullable String name) { - - this.name = name; - return this; - } - @CustomType.Setter - public Builder peerCloudAutonomousVmClusterId(@Nullable String peerCloudAutonomousVmClusterId) { - - this.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - return this; - } - @CustomType.Setter - public Builder shardGroup(@Nullable String shardGroup) { - - this.shardGroup = shardGroup; - return this; - } - @CustomType.Setter - public Builder shardSpace(@Nullable String shardSpace) { - - this.shardSpace = shardSpace; - return this; - } - @CustomType.Setter - public Builder status(@Nullable String status) { - - this.status = status; - return this; - } - @CustomType.Setter - public Builder supportingResourceId(@Nullable String supportingResourceId) { - - this.supportingResourceId = supportingResourceId; - return this; - } - @CustomType.Setter - public Builder timeCreated(@Nullable String timeCreated) { - - this.timeCreated = timeCreated; - return this; - } - @CustomType.Setter - public Builder timeSslCertificateExpires(@Nullable String timeSslCertificateExpires) { - - this.timeSslCertificateExpires = timeSslCertificateExpires; - return this; - } - @CustomType.Setter - public Builder timeUpdated(@Nullable String timeUpdated) { - - this.timeUpdated = timeUpdated; - return this; - } - public ShardedDatabaseShardDetail build() { - final var _resultValue = new ShardedDatabaseShardDetail(); - _resultValue.adminPassword = adminPassword; - _resultValue.cloudAutonomousVmClusterId = cloudAutonomousVmClusterId; - _resultValue.computeCount = computeCount; - _resultValue.containerDatabaseId = containerDatabaseId; - _resultValue.containerDatabaseParentId = containerDatabaseParentId; - _resultValue.dataStorageSizeInGbs = dataStorageSizeInGbs; - _resultValue.encryptionKeyDetails = encryptionKeyDetails; - _resultValue.isAutoScalingEnabled = isAutoScalingEnabled; - _resultValue.metadata = metadata; - _resultValue.name = name; - _resultValue.peerCloudAutonomousVmClusterId = peerCloudAutonomousVmClusterId; - _resultValue.shardGroup = shardGroup; - _resultValue.shardSpace = shardSpace; - _resultValue.status = status; - _resultValue.supportingResourceId = supportingResourceId; - _resultValue.timeCreated = timeCreated; - _resultValue.timeSslCertificateExpires = timeSslCertificateExpires; - _resultValue.timeUpdated = timeUpdated; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseShardDetailEncryptionKeyDetails.java b/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseShardDetailEncryptionKeyDetails.java deleted file mode 100644 index c336844519..0000000000 --- a/sdk/java/src/main/java/com/pulumi/oci/GloballyDistributedDatabase/outputs/ShardedDatabaseShardDetailEncryptionKeyDetails.java +++ /dev/null @@ -1,104 +0,0 @@ -// *** 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.GloballyDistributedDatabase.outputs; - -import com.pulumi.core.annotations.CustomType; -import com.pulumi.exceptions.MissingRequiredPropertyException; -import java.lang.String; -import java.util.Objects; -import java.util.Optional; -import javax.annotation.Nullable; - -@CustomType -public final class ShardedDatabaseShardDetailEncryptionKeyDetails { - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - private String kmsKeyId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - private @Nullable String kmsKeyVersionId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - private String vaultId; - - private ShardedDatabaseShardDetailEncryptionKeyDetails() {} - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - * - */ - public String kmsKeyId() { - return this.kmsKeyId; - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - * - */ - public Optional kmsKeyVersionId() { - return Optional.ofNullable(this.kmsKeyVersionId); - } - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - * - */ - public String vaultId() { - return this.vaultId; - } - - public static Builder builder() { - return new Builder(); - } - - public static Builder builder(ShardedDatabaseShardDetailEncryptionKeyDetails defaults) { - return new Builder(defaults); - } - @CustomType.Builder - public static final class Builder { - private String kmsKeyId; - private @Nullable String kmsKeyVersionId; - private String vaultId; - public Builder() {} - public Builder(ShardedDatabaseShardDetailEncryptionKeyDetails defaults) { - Objects.requireNonNull(defaults); - this.kmsKeyId = defaults.kmsKeyId; - this.kmsKeyVersionId = defaults.kmsKeyVersionId; - this.vaultId = defaults.vaultId; - } - - @CustomType.Setter - public Builder kmsKeyId(String kmsKeyId) { - if (kmsKeyId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetailEncryptionKeyDetails", "kmsKeyId"); - } - this.kmsKeyId = kmsKeyId; - return this; - } - @CustomType.Setter - public Builder kmsKeyVersionId(@Nullable String kmsKeyVersionId) { - - this.kmsKeyVersionId = kmsKeyVersionId; - return this; - } - @CustomType.Setter - public Builder vaultId(String vaultId) { - if (vaultId == null) { - throw new MissingRequiredPropertyException("ShardedDatabaseShardDetailEncryptionKeyDetails", "vaultId"); - } - this.vaultId = vaultId; - return this; - } - public ShardedDatabaseShardDetailEncryptionKeyDetails build() { - final var _resultValue = new ShardedDatabaseShardDetailEncryptionKeyDetails(); - _resultValue.kmsKeyId = kmsKeyId; - _resultValue.kmsKeyVersionId = kmsKeyVersionId; - _resultValue.vaultId = vaultId; - return _resultValue; - } - } -} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsGroup.java b/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsGroup.java index 4c08c21dbf..8aaa8cb6a3 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsGroup.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsGroup.java @@ -264,6 +264,12 @@ public Output domainOcid() { public Output externalId() { return this.externalId; } + @Export(name="forceDelete", refs={Boolean.class}, tree="[0]") + private Output forceDelete; + + public Output> forceDelete() { + return Codegen.optional(this.forceDelete); + } /** * (Updatable) The User or App who created the Resource * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsGroupArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsGroupArgs.java index 8ce63350ff..b3884b4898 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsGroupArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsGroupArgs.java @@ -13,6 +13,7 @@ import com.pulumi.oci.Identity.inputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupArgs; import com.pulumi.oci.Identity.inputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupArgs; import com.pulumi.oci.Identity.inputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupArgs; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -143,6 +144,13 @@ public Optional> externalId() { return Optional.ofNullable(this.externalId); } + @Import(name="forceDelete") + private @Nullable Output forceDelete; + + public Optional> forceDelete() { + return Optional.ofNullable(this.forceDelete); + } + /** * The basic endpoint for the identity domain * @@ -441,6 +449,7 @@ private DomainsGroupArgs(DomainsGroupArgs $) { this.authorization = $.authorization; this.displayName = $.displayName; this.externalId = $.externalId; + this.forceDelete = $.forceDelete; this.idcsEndpoint = $.idcsEndpoint; this.members = $.members; this.nonUniqueDisplayName = $.nonUniqueDisplayName; @@ -632,6 +641,15 @@ public Builder externalId(String externalId) { return externalId(Output.of(externalId)); } + public Builder forceDelete(@Nullable Output forceDelete) { + $.forceDelete = forceDelete; + return this; + } + + public Builder forceDelete(Boolean forceDelete) { + return forceDelete(Output.of(forceDelete)); + } + /** * @param idcsEndpoint The basic endpoint for the identity domain * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsUser.java b/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsUser.java index 3b394acd52..7893dab7dd 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsUser.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsUser.java @@ -475,6 +475,12 @@ public Output> entitlements() { public Output externalId() { return this.externalId; } + @Export(name="forceDelete", refs={Boolean.class}, tree="[0]") + private Output forceDelete; + + public Output> forceDelete() { + return Codegen.optional(this.forceDelete); + } /** * (Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsUserArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsUserArgs.java index 54f1f7ac30..31549561de 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsUserArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Identity/DomainsUserArgs.java @@ -357,6 +357,13 @@ public Optional> externalId() { return Optional.ofNullable(this.externalId); } + @Import(name="forceDelete") + private @Nullable Output forceDelete; + + public Optional> forceDelete() { + return Optional.ofNullable(this.forceDelete); + } + /** * The basic endpoint for the identity domain * @@ -1335,6 +1342,7 @@ private DomainsUserArgs(DomainsUserArgs $) { this.emails = $.emails; this.entitlements = $.entitlements; this.externalId = $.externalId; + this.forceDelete = $.forceDelete; this.idcsEndpoint = $.idcsEndpoint; this.ims = $.ims; this.locale = $.locale; @@ -1835,6 +1843,15 @@ public Builder externalId(String externalId) { return externalId(Output.of(externalId)); } + public Builder forceDelete(@Nullable Output forceDelete) { + $.forceDelete = forceDelete; + return this; + } + + public Builder forceDelete(Boolean forceDelete) { + return forceDelete(Output.of(forceDelete)); + } + /** * @param idcsEndpoint The basic endpoint for the identity domain * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Identity/inputs/DomainsGroupState.java b/sdk/java/src/main/java/com/pulumi/oci/Identity/inputs/DomainsGroupState.java index 5563975d5b..357a3c0e7e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Identity/inputs/DomainsGroupState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Identity/inputs/DomainsGroupState.java @@ -252,6 +252,13 @@ public Optional> externalId() { return Optional.ofNullable(this.externalId); } + @Import(name="forceDelete") + private @Nullable Output forceDelete; + + public Optional> forceDelete() { + return Optional.ofNullable(this.forceDelete); + } + /** * (Updatable) The User or App who created the Resource * @@ -768,6 +775,7 @@ private DomainsGroupState(DomainsGroupState $) { this.displayName = $.displayName; this.domainOcid = $.domainOcid; this.externalId = $.externalId; + this.forceDelete = $.forceDelete; this.idcsCreatedBies = $.idcsCreatedBies; this.idcsEndpoint = $.idcsEndpoint; this.idcsLastModifiedBies = $.idcsLastModifiedBies; @@ -1089,6 +1097,15 @@ public Builder externalId(String externalId) { return externalId(Output.of(externalId)); } + public Builder forceDelete(@Nullable Output forceDelete) { + $.forceDelete = forceDelete; + return this; + } + + public Builder forceDelete(Boolean forceDelete) { + return forceDelete(Output.of(forceDelete)); + } + /** * @param idcsCreatedBies (Updatable) The User or App who created the Resource * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Identity/inputs/DomainsUserState.java b/sdk/java/src/main/java/com/pulumi/oci/Identity/inputs/DomainsUserState.java index 78e7a22d61..da09da7615 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Identity/inputs/DomainsUserState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Identity/inputs/DomainsUserState.java @@ -468,6 +468,13 @@ public Optional> externalId() { return Optional.ofNullable(this.externalId); } + @Import(name="forceDelete") + private @Nullable Output forceDelete; + + public Optional> forceDelete() { + return Optional.ofNullable(this.forceDelete); + } + /** * (Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated * @@ -1729,6 +1736,7 @@ private DomainsUserState(DomainsUserState $) { this.emails = $.emails; this.entitlements = $.entitlements; this.externalId = $.externalId; + this.forceDelete = $.forceDelete; this.groups = $.groups; this.idcsCreatedBies = $.idcsCreatedBies; this.idcsEndpoint = $.idcsEndpoint; @@ -2362,6 +2370,15 @@ public Builder externalId(String externalId) { return externalId(Output.of(externalId)); } + public Builder forceDelete(@Nullable Output forceDelete) { + $.forceDelete = forceDelete; + return this; + } + + public Builder forceDelete(Boolean forceDelete) { + return forceDelete(Output.of(forceDelete)); + } + /** * @param groups (Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsGroupResult.java b/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsGroupResult.java index ece1743b55..196f10351c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsGroupResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsGroupResult.java @@ -53,6 +53,7 @@ public final class GetDomainsGroupResult { * */ private String externalId; + private Boolean forceDelete; private String groupId; /** * @return Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. @@ -192,6 +193,9 @@ public String domainOcid() { public String externalId() { return this.externalId; } + public Boolean forceDelete() { + return this.forceDelete; + } public String groupId() { return this.groupId; } @@ -345,6 +349,7 @@ public static final class Builder { private String displayName; private String domainOcid; private String externalId; + private Boolean forceDelete; private String groupId; private String id; private List idcsCreatedBies; @@ -377,6 +382,7 @@ public Builder(GetDomainsGroupResult defaults) { this.displayName = defaults.displayName; this.domainOcid = defaults.domainOcid; this.externalId = defaults.externalId; + this.forceDelete = defaults.forceDelete; this.groupId = defaults.groupId; this.id = defaults.id; this.idcsCreatedBies = defaults.idcsCreatedBies; @@ -462,6 +468,14 @@ public Builder externalId(String externalId) { return this; } @CustomType.Setter + public Builder forceDelete(Boolean forceDelete) { + if (forceDelete == null) { + throw new MissingRequiredPropertyException("GetDomainsGroupResult", "forceDelete"); + } + this.forceDelete = forceDelete; + return this; + } + @CustomType.Setter public Builder groupId(String groupId) { if (groupId == null) { throw new MissingRequiredPropertyException("GetDomainsGroupResult", "groupId"); @@ -676,6 +690,7 @@ public GetDomainsGroupResult build() { _resultValue.displayName = displayName; _resultValue.domainOcid = domainOcid; _resultValue.externalId = externalId; + _resultValue.forceDelete = forceDelete; _resultValue.groupId = groupId; _resultValue.id = id; _resultValue.idcsCreatedBies = idcsCreatedBies; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsGroupsGroup.java b/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsGroupsGroup.java index e3a4ff1d45..8e25fd7876 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsGroupsGroup.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsGroupsGroup.java @@ -63,6 +63,7 @@ public final class GetDomainsGroupsGroup { * */ private String externalId; + private Boolean forceDelete; /** * @return Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. * @@ -221,6 +222,9 @@ public String domainOcid() { public String externalId() { return this.externalId; } + public Boolean forceDelete() { + return this.forceDelete; + } /** * @return Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. * @@ -379,6 +383,7 @@ public static final class Builder { private String displayName; private String domainOcid; private String externalId; + private Boolean forceDelete; private String id; private List idcsCreatedBies; private String idcsEndpoint; @@ -410,6 +415,7 @@ public Builder(GetDomainsGroupsGroup defaults) { this.displayName = defaults.displayName; this.domainOcid = defaults.domainOcid; this.externalId = defaults.externalId; + this.forceDelete = defaults.forceDelete; this.id = defaults.id; this.idcsCreatedBies = defaults.idcsCreatedBies; this.idcsEndpoint = defaults.idcsEndpoint; @@ -500,6 +506,14 @@ public Builder externalId(String externalId) { return this; } @CustomType.Setter + public Builder forceDelete(Boolean forceDelete) { + if (forceDelete == null) { + throw new MissingRequiredPropertyException("GetDomainsGroupsGroup", "forceDelete"); + } + this.forceDelete = forceDelete; + return this; + } + @CustomType.Setter public Builder id(String id) { if (id == null) { throw new MissingRequiredPropertyException("GetDomainsGroupsGroup", "id"); @@ -708,6 +722,7 @@ public GetDomainsGroupsGroup build() { _resultValue.displayName = displayName; _resultValue.domainOcid = domainOcid; _resultValue.externalId = externalId; + _resultValue.forceDelete = forceDelete; _resultValue.id = id; _resultValue.idcsCreatedBies = idcsCreatedBies; _resultValue.idcsEndpoint = idcsEndpoint; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsUserResult.java b/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsUserResult.java index 1d166d4c2e..a2e8697989 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsUserResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsUserResult.java @@ -101,6 +101,7 @@ public final class GetDomainsUserResult { * */ private String externalId; + private Boolean forceDelete; /** * @return A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated * @@ -419,6 +420,9 @@ public List entitlements() { public String externalId() { return this.externalId; } + public Boolean forceDelete() { + return this.forceDelete; + } /** * @return A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated * @@ -777,6 +781,7 @@ public static final class Builder { private List emails; private List entitlements; private String externalId; + private Boolean forceDelete; private List groups; private String id; private List idcsCreatedBies; @@ -842,6 +847,7 @@ public Builder(GetDomainsUserResult defaults) { this.emails = defaults.emails; this.entitlements = defaults.entitlements; this.externalId = defaults.externalId; + this.forceDelete = defaults.forceDelete; this.groups = defaults.groups; this.id = defaults.id; this.idcsCreatedBies = defaults.idcsCreatedBies; @@ -1004,6 +1010,14 @@ public Builder externalId(String externalId) { return this; } @CustomType.Setter + public Builder forceDelete(Boolean forceDelete) { + if (forceDelete == null) { + throw new MissingRequiredPropertyException("GetDomainsUserResult", "forceDelete"); + } + this.forceDelete = forceDelete; + return this; + } + @CustomType.Setter public Builder groups(List groups) { if (groups == null) { throw new MissingRequiredPropertyException("GetDomainsUserResult", "groups"); @@ -1507,6 +1521,7 @@ public GetDomainsUserResult build() { _resultValue.emails = emails; _resultValue.entitlements = entitlements; _resultValue.externalId = externalId; + _resultValue.forceDelete = forceDelete; _resultValue.groups = groups; _resultValue.id = id; _resultValue.idcsCreatedBies = idcsCreatedBies; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsUsersUser.java b/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsUsersUser.java index 94e2f62057..46db1fc4a9 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsUsersUser.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Identity/outputs/GetDomainsUsersUser.java @@ -111,6 +111,7 @@ public final class GetDomainsUsersUser { * */ private String externalId; + private Boolean forceDelete; /** * @return A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated * @@ -444,6 +445,9 @@ public List entitlements() { public String externalId() { return this.externalId; } + public Boolean forceDelete() { + return this.forceDelete; + } /** * @return A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated * @@ -803,6 +807,7 @@ public static final class Builder { private List emails; private List entitlements; private String externalId; + private Boolean forceDelete; private List groups; private String id; private List idcsCreatedBies; @@ -867,6 +872,7 @@ public Builder(GetDomainsUsersUser defaults) { this.emails = defaults.emails; this.entitlements = defaults.entitlements; this.externalId = defaults.externalId; + this.forceDelete = defaults.forceDelete; this.groups = defaults.groups; this.id = defaults.id; this.idcsCreatedBies = defaults.idcsCreatedBies; @@ -1034,6 +1040,14 @@ public Builder externalId(String externalId) { return this; } @CustomType.Setter + public Builder forceDelete(Boolean forceDelete) { + if (forceDelete == null) { + throw new MissingRequiredPropertyException("GetDomainsUsersUser", "forceDelete"); + } + this.forceDelete = forceDelete; + return this; + } + @CustomType.Setter public Builder groups(List groups) { if (groups == null) { throw new MissingRequiredPropertyException("GetDomainsUsersUser", "groups"); @@ -1531,6 +1545,7 @@ public GetDomainsUsersUser build() { _resultValue.emails = emails; _resultValue.entitlements = entitlements; _resultValue.externalId = externalId; + _resultValue.forceDelete = forceDelete; _resultValue.groups = groups; _resultValue.id = id; _resultValue.idcsCreatedBies = idcsCreatedBies; 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 85b20555a8..e31fef6a2b 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 @@ -208,6 +208,20 @@ public Output> freeformTags() { public Output isPrimary() { return this.isPrimary; } + /** + * A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + * + */ + @Export(name="isVaultReplicable", refs={Boolean.class}, tree="[0]") + private Output isVaultReplicable; + + /** + * @return A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + * + */ + public Output isVaultReplicable() { + return this.isVaultReplicable; + } /** * The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyAutoKeyRotationDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyAutoKeyRotationDetailsArgs.java index f095fdd9ee..a55414965f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyAutoKeyRotationDetailsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyAutoKeyRotationDetailsArgs.java @@ -17,14 +17,14 @@ public final class KeyAutoKeyRotationDetailsArgs extends com.pulumi.resources.Re public static final KeyAutoKeyRotationDetailsArgs Empty = new KeyAutoKeyRotationDetailsArgs(); /** - * (Updatable) The last execution status message. + * (Updatable) The last execution status message of auto key rotation. * */ @Import(name="lastRotationMessage") private @Nullable Output lastRotationMessage; /** - * @return (Updatable) The last execution status message. + * @return (Updatable) The last execution status message of auto key rotation. * */ public Optional> lastRotationMessage() { @@ -47,14 +47,14 @@ public Optional> lastRotationStatus() { } /** - * (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. * */ @Import(name="rotationIntervalInDays") private @Nullable Output rotationIntervalInDays; /** - * @return (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * @return (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. * */ public Optional> rotationIntervalInDays() { @@ -62,14 +62,14 @@ public Optional> rotationIntervalInDays() { } /** - * (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. * */ @Import(name="timeOfLastRotation") private @Nullable Output timeOfLastRotation; /** - * @return (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * @return (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. * */ public Optional> timeOfLastRotation() { @@ -77,14 +77,14 @@ public Optional> timeOfLastRotation() { } /** - * (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. * */ @Import(name="timeOfNextRotation") private @Nullable Output timeOfNextRotation; /** - * @return (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. * */ public Optional> timeOfNextRotation() { @@ -92,14 +92,14 @@ public Optional> timeOfNextRotation() { } /** - * (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. * */ @Import(name="timeOfScheduleStart") private @Nullable Output timeOfScheduleStart; /** - * @return (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. * */ public Optional> timeOfScheduleStart() { @@ -136,7 +136,7 @@ public Builder(KeyAutoKeyRotationDetailsArgs defaults) { } /** - * @param lastRotationMessage (Updatable) The last execution status message. + * @param lastRotationMessage (Updatable) The last execution status message of auto key rotation. * * @return builder * @@ -147,7 +147,7 @@ public Builder lastRotationMessage(@Nullable Output lastRotationMessage) } /** - * @param lastRotationMessage (Updatable) The last execution status message. + * @param lastRotationMessage (Updatable) The last execution status message of auto key rotation. * * @return builder * @@ -178,7 +178,7 @@ public Builder lastRotationStatus(String lastRotationStatus) { } /** - * @param rotationIntervalInDays (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * @param rotationIntervalInDays (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. * * @return builder * @@ -189,7 +189,7 @@ public Builder rotationIntervalInDays(@Nullable Output rotationInterval } /** - * @param rotationIntervalInDays (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * @param rotationIntervalInDays (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. * * @return builder * @@ -199,7 +199,7 @@ public Builder rotationIntervalInDays(Integer rotationIntervalInDays) { } /** - * @param timeOfLastRotation (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * @param timeOfLastRotation (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. * * @return builder * @@ -210,7 +210,7 @@ public Builder timeOfLastRotation(@Nullable Output timeOfLastRotation) { } /** - * @param timeOfLastRotation (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * @param timeOfLastRotation (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. * * @return builder * @@ -220,7 +220,7 @@ public Builder timeOfLastRotation(String timeOfLastRotation) { } /** - * @param timeOfNextRotation (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @param timeOfNextRotation (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. * * @return builder * @@ -231,7 +231,7 @@ public Builder timeOfNextRotation(@Nullable Output timeOfNextRotation) { } /** - * @param timeOfNextRotation (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @param timeOfNextRotation (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. * * @return builder * @@ -241,7 +241,7 @@ public Builder timeOfNextRotation(String timeOfNextRotation) { } /** - * @param timeOfScheduleStart (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @param timeOfScheduleStart (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. * * @return builder * @@ -252,7 +252,7 @@ public Builder timeOfScheduleStart(@Nullable Output timeOfScheduleStart) } /** - * @param timeOfScheduleStart (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @param timeOfScheduleStart (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. * * @return builder * 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 494f873435..c6688329e1 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 @@ -143,6 +143,21 @@ public Optional> isPrimary() { return Optional.ofNullable(this.isPrimary); } + /** + * A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + * + */ + @Import(name="isVaultReplicable") + private @Nullable Output isVaultReplicable; + + /** + * @return A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + * + */ + public Optional> isVaultReplicable() { + return Optional.ofNullable(this.isVaultReplicable); + } + /** * The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. * @@ -302,6 +317,7 @@ private VaultState(VaultState $) { this.externalKeyManagerMetadataSummaries = $.externalKeyManagerMetadataSummaries; this.freeformTags = $.freeformTags; this.isPrimary = $.isPrimary; + this.isVaultReplicable = $.isVaultReplicable; this.managementEndpoint = $.managementEndpoint; this.replicaDetails = $.replicaDetails; this.restoreFromFile = $.restoreFromFile; @@ -510,6 +526,27 @@ public Builder isPrimary(Boolean isPrimary) { return isPrimary(Output.of(isPrimary)); } + /** + * @param isVaultReplicable A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + * + * @return builder + * + */ + public Builder isVaultReplicable(@Nullable Output isVaultReplicable) { + $.isVaultReplicable = isVaultReplicable; + return this; + } + + /** + * @param isVaultReplicable A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + * + * @return builder + * + */ + public Builder isVaultReplicable(Boolean isVaultReplicable) { + return isVaultReplicable(Output.of(isVaultReplicable)); + } + /** * @param managementEndpoint The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyAutoKeyRotationDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyAutoKeyRotationDetail.java index b6769f5b07..3f29b06909 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyAutoKeyRotationDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyAutoKeyRotationDetail.java @@ -12,7 +12,7 @@ @CustomType public final class GetKeyAutoKeyRotationDetail { /** - * @return The last execution status message. + * @return The last execution status message of auto key rotation. * */ private String lastRotationMessage; @@ -22,29 +22,29 @@ public final class GetKeyAutoKeyRotationDetail { */ private String lastRotationStatus; /** - * @return The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * @return The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. * */ private Integer rotationIntervalInDays; /** - * @return A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * @return A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. * */ private String timeOfLastRotation; /** - * @return A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. * */ private String timeOfNextRotation; /** - * @return A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. * */ private String timeOfScheduleStart; private GetKeyAutoKeyRotationDetail() {} /** - * @return The last execution status message. + * @return The last execution status message of auto key rotation. * */ public String lastRotationMessage() { @@ -58,28 +58,28 @@ public String lastRotationStatus() { return this.lastRotationStatus; } /** - * @return The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * @return The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. * */ public Integer rotationIntervalInDays() { return this.rotationIntervalInDays; } /** - * @return A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * @return A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. * */ public String timeOfLastRotation() { return this.timeOfLastRotation; } /** - * @return A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. * */ public String timeOfNextRotation() { return this.timeOfNextRotation; } /** - * @return A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. * */ public String timeOfScheduleStart() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKeyAutoKeyRotationDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKeyAutoKeyRotationDetail.java index 6ee58df0f2..a1630d4090 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKeyAutoKeyRotationDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKeyAutoKeyRotationDetail.java @@ -12,7 +12,7 @@ @CustomType public final class GetKeysKeyAutoKeyRotationDetail { /** - * @return The last execution status message. + * @return The last execution status message of auto key rotation. * */ private String lastRotationMessage; @@ -22,29 +22,29 @@ public final class GetKeysKeyAutoKeyRotationDetail { */ private String lastRotationStatus; /** - * @return The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * @return The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. * */ private Integer rotationIntervalInDays; /** - * @return A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * @return A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. * */ private String timeOfLastRotation; /** - * @return A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. * */ private String timeOfNextRotation; /** - * @return A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. * */ private String timeOfScheduleStart; private GetKeysKeyAutoKeyRotationDetail() {} /** - * @return The last execution status message. + * @return The last execution status message of auto key rotation. * */ public String lastRotationMessage() { @@ -58,28 +58,28 @@ public String lastRotationStatus() { return this.lastRotationStatus; } /** - * @return The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * @return The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. * */ public Integer rotationIntervalInDays() { return this.rotationIntervalInDays; } /** - * @return A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * @return A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. * */ public String timeOfLastRotation() { return this.timeOfLastRotation; } /** - * @return A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. * */ public String timeOfNextRotation() { return this.timeOfNextRotation; } /** - * @return A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. * */ public String timeOfScheduleStart() { 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 a2b0a715f6..086b7fd1d7 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 @@ -59,6 +59,11 @@ public final class GetVaultResult { * */ private Boolean isPrimary; + /** + * @return A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + * + */ + private Boolean isVaultReplicable; /** * @return The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. * @@ -171,6 +176,13 @@ public String id() { public Boolean isPrimary() { return this.isPrimary; } + /** + * @return A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + * + */ + public Boolean isVaultReplicable() { + return this.isVaultReplicable; + } /** * @return The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. * @@ -263,6 +275,7 @@ public static final class Builder { private Map freeformTags; private String id; private Boolean isPrimary; + private Boolean isVaultReplicable; private String managementEndpoint; private List replicaDetails; private List restoreFromFiles; @@ -286,6 +299,7 @@ public Builder(GetVaultResult defaults) { this.freeformTags = defaults.freeformTags; this.id = defaults.id; this.isPrimary = defaults.isPrimary; + this.isVaultReplicable = defaults.isVaultReplicable; this.managementEndpoint = defaults.managementEndpoint; this.replicaDetails = defaults.replicaDetails; this.restoreFromFiles = defaults.restoreFromFiles; @@ -378,6 +392,14 @@ public Builder isPrimary(Boolean isPrimary) { return this; } @CustomType.Setter + public Builder isVaultReplicable(Boolean isVaultReplicable) { + if (isVaultReplicable == null) { + throw new MissingRequiredPropertyException("GetVaultResult", "isVaultReplicable"); + } + this.isVaultReplicable = isVaultReplicable; + return this; + } + @CustomType.Setter public Builder managementEndpoint(String managementEndpoint) { if (managementEndpoint == null) { throw new MissingRequiredPropertyException("GetVaultResult", "managementEndpoint"); @@ -485,6 +507,7 @@ public GetVaultResult build() { _resultValue.freeformTags = freeformTags; _resultValue.id = id; _resultValue.isPrimary = isPrimary; + _resultValue.isVaultReplicable = isVaultReplicable; _resultValue.managementEndpoint = managementEndpoint; _resultValue.replicaDetails = replicaDetails; _resultValue.restoreFromFiles = restoreFromFiles; 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 71f282c9ba..ad90b2f9b1 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 @@ -59,6 +59,11 @@ public final class GetVaultsVault { * */ private Boolean isPrimary; + /** + * @return A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + * + */ + private Boolean isVaultReplicable; /** * @return The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. * @@ -158,6 +163,13 @@ public String id() { public Boolean isPrimary() { return this.isPrimary; } + /** + * @return A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + * + */ + public Boolean isVaultReplicable() { + return this.isVaultReplicable; + } /** * @return The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. * @@ -235,6 +247,7 @@ public static final class Builder { private Map freeformTags; private String id; private Boolean isPrimary; + private Boolean isVaultReplicable; private String managementEndpoint; private List replicaDetails; private List restoreFromFiles; @@ -257,6 +270,7 @@ public Builder(GetVaultsVault defaults) { this.freeformTags = defaults.freeformTags; this.id = defaults.id; this.isPrimary = defaults.isPrimary; + this.isVaultReplicable = defaults.isVaultReplicable; this.managementEndpoint = defaults.managementEndpoint; this.replicaDetails = defaults.replicaDetails; this.restoreFromFiles = defaults.restoreFromFiles; @@ -348,6 +362,14 @@ public Builder isPrimary(Boolean isPrimary) { return this; } @CustomType.Setter + public Builder isVaultReplicable(Boolean isVaultReplicable) { + if (isVaultReplicable == null) { + throw new MissingRequiredPropertyException("GetVaultsVault", "isVaultReplicable"); + } + this.isVaultReplicable = isVaultReplicable; + return this; + } + @CustomType.Setter public Builder managementEndpoint(String managementEndpoint) { if (managementEndpoint == null) { throw new MissingRequiredPropertyException("GetVaultsVault", "managementEndpoint"); @@ -447,6 +469,7 @@ public GetVaultsVault build() { _resultValue.freeformTags = freeformTags; _resultValue.id = id; _resultValue.isPrimary = isPrimary; + _resultValue.isVaultReplicable = isVaultReplicable; _resultValue.managementEndpoint = managementEndpoint; _resultValue.replicaDetails = replicaDetails; _resultValue.restoreFromFiles = restoreFromFiles; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyAutoKeyRotationDetails.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyAutoKeyRotationDetails.java index 5ddbdb7d4c..7fee137bf4 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyAutoKeyRotationDetails.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyAutoKeyRotationDetails.java @@ -13,7 +13,7 @@ @CustomType public final class KeyAutoKeyRotationDetails { /** - * @return (Updatable) The last execution status message. + * @return (Updatable) The last execution status message of auto key rotation. * */ private @Nullable String lastRotationMessage; @@ -23,29 +23,29 @@ public final class KeyAutoKeyRotationDetails { */ private @Nullable String lastRotationStatus; /** - * @return (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * @return (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. * */ private @Nullable Integer rotationIntervalInDays; /** - * @return (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * @return (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. * */ private @Nullable String timeOfLastRotation; /** - * @return (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. * */ private @Nullable String timeOfNextRotation; /** - * @return (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. * */ private @Nullable String timeOfScheduleStart; private KeyAutoKeyRotationDetails() {} /** - * @return (Updatable) The last execution status message. + * @return (Updatable) The last execution status message of auto key rotation. * */ public Optional lastRotationMessage() { @@ -59,28 +59,28 @@ public Optional lastRotationStatus() { return Optional.ofNullable(this.lastRotationStatus); } /** - * @return (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * @return (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. * */ public Optional rotationIntervalInDays() { return Optional.ofNullable(this.rotationIntervalInDays); } /** - * @return (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * @return (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. * */ public Optional timeOfLastRotation() { return Optional.ofNullable(this.timeOfLastRotation); } /** - * @return (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. * */ public Optional timeOfNextRotation() { return Optional.ofNullable(this.timeOfNextRotation); } /** - * @return (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * @return (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. * */ public Optional timeOfScheduleStart() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/LoadBalancer.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/LoadBalancer.java index 5dfbd527ad..a2a7508107 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/LoadBalancer.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/LoadBalancer.java @@ -89,7 +89,9 @@ * .ipMode(loadBalancerIpMode) * .isDeleteProtectionEnabled(loadBalancerIsDeleteProtectionEnabled) * .isPrivate(loadBalancerIsPrivate) + * .isRequestIdEnabled(loadBalancerIsRequestIdEnabled) * .networkSecurityGroupIds(loadBalancerNetworkSecurityGroupIds) + * .requestIdHeader(loadBalancerRequestIdHeader) * .reservedIps(LoadBalancerReservedIpArgs.builder() * .id(loadBalancerReservedIpsId) * .build()) @@ -286,6 +288,36 @@ public Output isDeleteProtectionEnabled() { public Output isPrivate() { return this.isPrivate; } + /** + * (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + * + */ + @Export(name="isRequestIdEnabled", refs={Boolean.class}, tree="[0]") + private Output isRequestIdEnabled; + + /** + * @return (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + * + */ + public Output isRequestIdEnabled() { + return this.isRequestIdEnabled; + } /** * (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. * @@ -316,6 +348,40 @@ public Output isPrivate() { public Output>> networkSecurityGroupIds() { return Codegen.optional(this.networkSecurityGroupIds); } + /** + * (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + * + */ + @Export(name="requestIdHeader", refs={String.class}, tree="[0]") + private Output requestIdHeader; + + /** + * @return (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + * + */ + public Output requestIdHeader() { + return this.requestIdHeader; + } /** * 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. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/LoadBalancerArgs.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/LoadBalancerArgs.java index 5f468254f8..104bc4e511 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/LoadBalancerArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/LoadBalancerArgs.java @@ -166,6 +166,37 @@ public Optional> isPrivate() { return Optional.ofNullable(this.isPrivate); } + /** + * (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + * + */ + @Import(name="isRequestIdEnabled") + private @Nullable Output isRequestIdEnabled; + + /** + * @return (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + * + */ + public Optional> isRequestIdEnabled() { + return Optional.ofNullable(this.isRequestIdEnabled); + } + /** * (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. * @@ -197,6 +228,41 @@ public Optional>> networkSecurityGroupIds() { return Optional.ofNullable(this.networkSecurityGroupIds); } + /** + * (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + * + */ + @Import(name="requestIdHeader") + private @Nullable Output requestIdHeader; + + /** + * @return (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + * + */ + public Optional> requestIdHeader() { + return Optional.ofNullable(this.requestIdHeader); + } + /** * 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. * @@ -273,7 +339,9 @@ private LoadBalancerArgs(LoadBalancerArgs $) { this.ipMode = $.ipMode; this.isDeleteProtectionEnabled = $.isDeleteProtectionEnabled; this.isPrivate = $.isPrivate; + this.isRequestIdEnabled = $.isRequestIdEnabled; this.networkSecurityGroupIds = $.networkSecurityGroupIds; + this.requestIdHeader = $.requestIdHeader; this.reservedIps = $.reservedIps; this.shape = $.shape; this.shapeDetails = $.shapeDetails; @@ -485,6 +553,43 @@ public Builder isPrivate(Boolean isPrivate) { return isPrivate(Output.of(isPrivate)); } + /** + * @param isRequestIdEnabled (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + * + * @return builder + * + */ + public Builder isRequestIdEnabled(@Nullable Output isRequestIdEnabled) { + $.isRequestIdEnabled = isRequestIdEnabled; + return this; + } + + /** + * @param isRequestIdEnabled (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + * + * @return builder + * + */ + public Builder isRequestIdEnabled(Boolean isRequestIdEnabled) { + return isRequestIdEnabled(Output.of(isRequestIdEnabled)); + } + /** * @param networkSecurityGroupIds (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. * @@ -540,6 +645,47 @@ public Builder networkSecurityGroupIds(String... networkSecurityGroupIds) { return networkSecurityGroupIds(List.of(networkSecurityGroupIds)); } + /** + * @param requestIdHeader (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + * + * @return builder + * + */ + public Builder requestIdHeader(@Nullable Output requestIdHeader) { + $.requestIdHeader = requestIdHeader; + return this; + } + + /** + * @param requestIdHeader (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + * + * @return builder + * + */ + public Builder requestIdHeader(String requestIdHeader) { + return requestIdHeader(Output.of(requestIdHeader)); + } + /** * @param reservedIps 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. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerState.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerState.java index d95b9afd3d..1b7f3260bf 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerState.java @@ -204,6 +204,37 @@ public Optional> isPrivate() { return Optional.ofNullable(this.isPrivate); } + /** + * (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + * + */ + @Import(name="isRequestIdEnabled") + private @Nullable Output isRequestIdEnabled; + + /** + * @return (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + * + */ + public Optional> isRequestIdEnabled() { + return Optional.ofNullable(this.isRequestIdEnabled); + } + /** * (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. * @@ -235,6 +266,41 @@ public Optional>> networkSecurityGroupIds() { return Optional.ofNullable(this.networkSecurityGroupIds); } + /** + * (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + * + */ + @Import(name="requestIdHeader") + private @Nullable Output requestIdHeader; + + /** + * @return (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + * + */ + public Optional> requestIdHeader() { + return Optional.ofNullable(this.requestIdHeader); + } + /** * 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. * @@ -358,7 +424,9 @@ private LoadBalancerState(LoadBalancerState $) { this.ipMode = $.ipMode; this.isDeleteProtectionEnabled = $.isDeleteProtectionEnabled; this.isPrivate = $.isPrivate; + this.isRequestIdEnabled = $.isRequestIdEnabled; this.networkSecurityGroupIds = $.networkSecurityGroupIds; + this.requestIdHeader = $.requestIdHeader; this.reservedIps = $.reservedIps; this.shape = $.shape; this.shapeDetails = $.shapeDetails; @@ -647,6 +715,43 @@ public Builder isPrivate(Boolean isPrivate) { return isPrivate(Output.of(isPrivate)); } + /** + * @param isRequestIdEnabled (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + * + * @return builder + * + */ + public Builder isRequestIdEnabled(@Nullable Output isRequestIdEnabled) { + $.isRequestIdEnabled = isRequestIdEnabled; + return this; + } + + /** + * @param isRequestIdEnabled (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + * + * @return builder + * + */ + public Builder isRequestIdEnabled(Boolean isRequestIdEnabled) { + return isRequestIdEnabled(Output.of(isRequestIdEnabled)); + } + /** * @param networkSecurityGroupIds (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. * @@ -702,6 +807,47 @@ public Builder networkSecurityGroupIds(String... networkSecurityGroupIds) { return networkSecurityGroupIds(List.of(networkSecurityGroupIds)); } + /** + * @param requestIdHeader (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + * + * @return builder + * + */ + public Builder requestIdHeader(@Nullable Output requestIdHeader) { + $.requestIdHeader = requestIdHeader; + return this; + } + + /** + * @param requestIdHeader (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + * + * @return builder + * + */ + public Builder requestIdHeader(String requestIdHeader) { + return requestIdHeader(Output.of(requestIdHeader)); + } + /** * @param reservedIps 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. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/GetLoadBalancersLoadBalancer.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/GetLoadBalancersLoadBalancer.java index 37c308a2fe..c84feef65c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/GetLoadBalancersLoadBalancer.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/GetLoadBalancersLoadBalancer.java @@ -66,11 +66,21 @@ public final class GetLoadBalancersLoadBalancer { * */ private Boolean isPrivate; + /** + * @return Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + */ + private Boolean isRequestIdEnabled; /** * @return An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load balancer. * */ private List networkSecurityGroupIds; + /** + * @return If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + */ + private String requestIdHeader; private List reservedIps; /** * @return A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `100Mbps` @@ -174,6 +184,13 @@ public Boolean isDeleteProtectionEnabled() { public Boolean isPrivate() { return this.isPrivate; } + /** + * @return Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + */ + public Boolean isRequestIdEnabled() { + return this.isRequestIdEnabled; + } /** * @return An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load balancer. * @@ -181,6 +198,13 @@ public Boolean isPrivate() { public List networkSecurityGroupIds() { return this.networkSecurityGroupIds; } + /** + * @return If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + */ + public String requestIdHeader() { + return this.requestIdHeader; + } public List reservedIps() { return this.reservedIps; } @@ -246,7 +270,9 @@ public static final class Builder { private String ipMode; private Boolean isDeleteProtectionEnabled; private Boolean isPrivate; + private Boolean isRequestIdEnabled; private List networkSecurityGroupIds; + private String requestIdHeader; private List reservedIps; private String shape; private List shapeDetails; @@ -267,7 +293,9 @@ public Builder(GetLoadBalancersLoadBalancer defaults) { this.ipMode = defaults.ipMode; this.isDeleteProtectionEnabled = defaults.isDeleteProtectionEnabled; this.isPrivate = defaults.isPrivate; + this.isRequestIdEnabled = defaults.isRequestIdEnabled; this.networkSecurityGroupIds = defaults.networkSecurityGroupIds; + this.requestIdHeader = defaults.requestIdHeader; this.reservedIps = defaults.reservedIps; this.shape = defaults.shape; this.shapeDetails = defaults.shapeDetails; @@ -364,6 +392,14 @@ public Builder isPrivate(Boolean isPrivate) { return this; } @CustomType.Setter + public Builder isRequestIdEnabled(Boolean isRequestIdEnabled) { + if (isRequestIdEnabled == null) { + throw new MissingRequiredPropertyException("GetLoadBalancersLoadBalancer", "isRequestIdEnabled"); + } + this.isRequestIdEnabled = isRequestIdEnabled; + return this; + } + @CustomType.Setter public Builder networkSecurityGroupIds(List networkSecurityGroupIds) { if (networkSecurityGroupIds == null) { throw new MissingRequiredPropertyException("GetLoadBalancersLoadBalancer", "networkSecurityGroupIds"); @@ -375,6 +411,14 @@ public Builder networkSecurityGroupIds(String... networkSecurityGroupIds) { return networkSecurityGroupIds(List.of(networkSecurityGroupIds)); } @CustomType.Setter + public Builder requestIdHeader(String requestIdHeader) { + if (requestIdHeader == null) { + throw new MissingRequiredPropertyException("GetLoadBalancersLoadBalancer", "requestIdHeader"); + } + this.requestIdHeader = requestIdHeader; + return this; + } + @CustomType.Setter public Builder reservedIps(List reservedIps) { if (reservedIps == null) { throw new MissingRequiredPropertyException("GetLoadBalancersLoadBalancer", "reservedIps"); @@ -451,7 +495,9 @@ public GetLoadBalancersLoadBalancer build() { _resultValue.ipMode = ipMode; _resultValue.isDeleteProtectionEnabled = isDeleteProtectionEnabled; _resultValue.isPrivate = isPrivate; + _resultValue.isRequestIdEnabled = isRequestIdEnabled; _resultValue.networkSecurityGroupIds = networkSecurityGroupIds; + _resultValue.requestIdHeader = requestIdHeader; _resultValue.reservedIps = reservedIps; _resultValue.shape = shape; _resultValue.shapeDetails = shapeDetails; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlDbSystem.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlDbSystem.java index 23612c93ff..8c1addc5db 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlDbSystem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlDbSystem.java @@ -12,6 +12,7 @@ import com.pulumi.oci.Mysql.outputs.MysqlDbSystemBackupPolicy; import com.pulumi.oci.Mysql.outputs.MysqlDbSystemChannel; import com.pulumi.oci.Mysql.outputs.MysqlDbSystemCurrentPlacement; +import com.pulumi.oci.Mysql.outputs.MysqlDbSystemCustomerContact; import com.pulumi.oci.Mysql.outputs.MysqlDbSystemDataStorage; import com.pulumi.oci.Mysql.outputs.MysqlDbSystemDeletionPolicy; import com.pulumi.oci.Mysql.outputs.MysqlDbSystemEndpoint; @@ -48,6 +49,7 @@ * import com.pulumi.oci.Mysql.MysqlDbSystemArgs; * import com.pulumi.oci.Mysql.inputs.MysqlDbSystemBackupPolicyArgs; * import com.pulumi.oci.Mysql.inputs.MysqlDbSystemBackupPolicyPitrPolicyArgs; + * import com.pulumi.oci.Mysql.inputs.MysqlDbSystemCustomerContactArgs; * import com.pulumi.oci.Mysql.inputs.MysqlDbSystemDataStorageArgs; * import com.pulumi.oci.Mysql.inputs.MysqlDbSystemDeletionPolicyArgs; * import com.pulumi.oci.Mysql.inputs.MysqlDbSystemMaintenanceArgs; @@ -85,6 +87,9 @@ * .build()) * .configurationId(testConfiguration.id()) * .crashRecovery(mysqlDbSystemCrashRecovery) + * .customerContacts(MysqlDbSystemCustomerContactArgs.builder() + * .email(mysqlDbSystemCustomerContactsEmail) + * .build()) * .dataStorage(MysqlDbSystemDataStorageArgs.builder() * .isAutoExpandStorageEnabled(mysqlDbSystemDataStorageIsAutoExpandStorageEnabled) * .maxStorageSizeInGbs(mysqlDbSystemDataStorageMaxStorageSizeInGbs) @@ -270,6 +275,20 @@ public Output crashRecovery() { public Output> currentPlacements() { return this.currentPlacements; } + /** + * (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + */ + @Export(name="customerContacts", refs={List.class,MysqlDbSystemCustomerContact.class}, tree="[0,1]") + private Output> customerContacts; + + /** + * @return (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + */ + public Output> customerContacts() { + return this.customerContacts; + } /** * (Updatable) Data Storage configuration properties. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlDbSystemArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlDbSystemArgs.java index 6efc32380e..818bc8419c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlDbSystemArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlDbSystemArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; import com.pulumi.oci.Mysql.inputs.MysqlDbSystemBackupPolicyArgs; +import com.pulumi.oci.Mysql.inputs.MysqlDbSystemCustomerContactArgs; import com.pulumi.oci.Mysql.inputs.MysqlDbSystemDataStorageArgs; import com.pulumi.oci.Mysql.inputs.MysqlDbSystemDeletionPolicyArgs; import com.pulumi.oci.Mysql.inputs.MysqlDbSystemMaintenanceArgs; @@ -139,6 +140,21 @@ public Optional> crashRecovery() { return Optional.ofNullable(this.crashRecovery); } + /** + * (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + */ + @Import(name="customerContacts") + private @Nullable Output> customerContacts; + + /** + * @return (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + */ + public Optional>> customerContacts() { + return Optional.ofNullable(this.customerContacts); + } + /** * (Updatable) Data Storage configuration properties. * @@ -507,6 +523,7 @@ private MysqlDbSystemArgs(MysqlDbSystemArgs $) { this.compartmentId = $.compartmentId; this.configurationId = $.configurationId; this.crashRecovery = $.crashRecovery; + this.customerContacts = $.customerContacts; this.dataStorage = $.dataStorage; this.dataStorageSizeInGb = $.dataStorageSizeInGb; this.databaseManagement = $.databaseManagement; @@ -704,6 +721,37 @@ public Builder crashRecovery(String crashRecovery) { return crashRecovery(Output.of(crashRecovery)); } + /** + * @param customerContacts (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + * @return builder + * + */ + public Builder customerContacts(@Nullable Output> customerContacts) { + $.customerContacts = customerContacts; + return this; + } + + /** + * @param customerContacts (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + * @return builder + * + */ + public Builder customerContacts(List customerContacts) { + return customerContacts(Output.of(customerContacts)); + } + + /** + * @param customerContacts (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + * @return builder + * + */ + public Builder customerContacts(MysqlDbSystemCustomerContactArgs... customerContacts) { + return customerContacts(List.of(customerContacts)); + } + /** * @param dataStorage (Updatable) Data Storage configuration properties. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/MysqlDbSystemCustomerContactArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/MysqlDbSystemCustomerContactArgs.java new file mode 100644 index 0000000000..5d7e291e77 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/MysqlDbSystemCustomerContactArgs.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.Mysql.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + + +public final class MysqlDbSystemCustomerContactArgs extends com.pulumi.resources.ResourceArgs { + + public static final MysqlDbSystemCustomerContactArgs Empty = new MysqlDbSystemCustomerContactArgs(); + + /** + * (Updatable) The email address used by Oracle to send notifications regarding the DB System. + * + */ + @Import(name="email", required=true) + private Output email; + + /** + * @return (Updatable) The email address used by Oracle to send notifications regarding the DB System. + * + */ + public Output email() { + return this.email; + } + + private MysqlDbSystemCustomerContactArgs() {} + + private MysqlDbSystemCustomerContactArgs(MysqlDbSystemCustomerContactArgs $) { + this.email = $.email; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MysqlDbSystemCustomerContactArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MysqlDbSystemCustomerContactArgs $; + + public Builder() { + $ = new MysqlDbSystemCustomerContactArgs(); + } + + public Builder(MysqlDbSystemCustomerContactArgs defaults) { + $ = new MysqlDbSystemCustomerContactArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param email (Updatable) The email address used by Oracle to send notifications regarding the DB System. + * + * @return builder + * + */ + public Builder email(Output email) { + $.email = email; + return this; + } + + /** + * @param email (Updatable) The email address used by Oracle to send notifications regarding the DB System. + * + * @return builder + * + */ + public Builder email(String email) { + return email(Output.of(email)); + } + + public MysqlDbSystemCustomerContactArgs build() { + if ($.email == null) { + throw new MissingRequiredPropertyException("MysqlDbSystemCustomerContactArgs", "email"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/MysqlDbSystemState.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/MysqlDbSystemState.java index 5e72670492..59c7423e28 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/MysqlDbSystemState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/MysqlDbSystemState.java @@ -8,6 +8,7 @@ import com.pulumi.oci.Mysql.inputs.MysqlDbSystemBackupPolicyArgs; import com.pulumi.oci.Mysql.inputs.MysqlDbSystemChannelArgs; import com.pulumi.oci.Mysql.inputs.MysqlDbSystemCurrentPlacementArgs; +import com.pulumi.oci.Mysql.inputs.MysqlDbSystemCustomerContactArgs; import com.pulumi.oci.Mysql.inputs.MysqlDbSystemDataStorageArgs; import com.pulumi.oci.Mysql.inputs.MysqlDbSystemDeletionPolicyArgs; import com.pulumi.oci.Mysql.inputs.MysqlDbSystemEndpointArgs; @@ -173,6 +174,21 @@ public Optional>> currentPlacemen return Optional.ofNullable(this.currentPlacements); } + /** + * (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + */ + @Import(name="customerContacts") + private @Nullable Output> customerContacts; + + /** + * @return (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + */ + public Optional>> customerContacts() { + return Optional.ofNullable(this.customerContacts); + } + /** * (Updatable) Data Storage configuration properties. * @@ -648,6 +664,7 @@ private MysqlDbSystemState(MysqlDbSystemState $) { this.configurationId = $.configurationId; this.crashRecovery = $.crashRecovery; this.currentPlacements = $.currentPlacements; + this.customerContacts = $.customerContacts; this.dataStorage = $.dataStorage; this.dataStorageSizeInGb = $.dataStorageSizeInGb; this.databaseManagement = $.databaseManagement; @@ -914,6 +931,37 @@ public Builder currentPlacements(MysqlDbSystemCurrentPlacementArgs... currentPla return currentPlacements(List.of(currentPlacements)); } + /** + * @param customerContacts (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + * @return builder + * + */ + public Builder customerContacts(@Nullable Output> customerContacts) { + $.customerContacts = customerContacts; + return this; + } + + /** + * @param customerContacts (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + * @return builder + * + */ + public Builder customerContacts(List customerContacts) { + return customerContacts(Output.of(customerContacts)); + } + + /** + * @param customerContacts (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + * @return builder + * + */ + public Builder customerContacts(MysqlDbSystemCustomerContactArgs... customerContacts) { + return customerContacts(List.of(customerContacts)); + } + /** * @param dataStorage (Updatable) Data Storage configuration properties. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemCustomerContact.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemCustomerContact.java new file mode 100644 index 0000000000..1d114dd854 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemCustomerContact.java @@ -0,0 +1,58 @@ +// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetMysqlDbSystemCustomerContact { + /** + * @return The email address used by Oracle to send notifications regarding the DB System. + * + */ + private String email; + + private GetMysqlDbSystemCustomerContact() {} + /** + * @return The email address used by Oracle to send notifications regarding the DB System. + * + */ + public String email() { + return this.email; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMysqlDbSystemCustomerContact defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String email; + public Builder() {} + public Builder(GetMysqlDbSystemCustomerContact defaults) { + Objects.requireNonNull(defaults); + this.email = defaults.email; + } + + @CustomType.Setter + public Builder email(String email) { + if (email == null) { + throw new MissingRequiredPropertyException("GetMysqlDbSystemCustomerContact", "email"); + } + this.email = email; + return this; + } + public GetMysqlDbSystemCustomerContact build() { + final var _resultValue = new GetMysqlDbSystemCustomerContact(); + _resultValue.email = email; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemDataStorage.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemDataStorage.java index fdd5541d99..1e035357e7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemDataStorage.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemDataStorage.java @@ -17,7 +17,7 @@ public final class GetMysqlDbSystemDataStorage { */ private Integer allocatedStorageSizeInGbs; /** - * @return DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * @return Initial size of the data volume in GiBs that will be created and attached. * */ private Integer dataStorageSizeInGb; @@ -46,7 +46,7 @@ public Integer allocatedStorageSizeInGbs() { return this.allocatedStorageSizeInGbs; } /** - * @return DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * @return Initial size of the data volume in GiBs that will be created and attached. * */ public Integer dataStorageSizeInGb() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemResult.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemResult.java index 5526a57c34..ff8cc9811e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemResult.java @@ -8,6 +8,7 @@ import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemBackupPolicy; import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemChannel; import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemCurrentPlacement; +import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemCustomerContact; import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemDataStorage; import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemDeletionPolicy; import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemEndpoint; @@ -63,7 +64,12 @@ public final class GetMysqlDbSystemResult { */ private List currentPlacements; /** - * @return DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * @return The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + */ + private List customerContacts; + /** + * @return Initial size of the data volume in GiBs that will be created and attached. * */ private Integer dataStorageSizeInGb; @@ -271,7 +277,14 @@ public List currentPlacements() { return this.currentPlacements; } /** - * @return DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * @return The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + */ + public List customerContacts() { + return this.customerContacts; + } + /** + * @return Initial size of the data volume in GiBs that will be created and attached. * */ public Integer dataStorageSizeInGb() { @@ -502,6 +515,7 @@ public static final class Builder { private String configurationId; private String crashRecovery; private List currentPlacements; + private List customerContacts; private Integer dataStorageSizeInGb; private List dataStorages; private String databaseManagement; @@ -545,6 +559,7 @@ public Builder(GetMysqlDbSystemResult defaults) { this.configurationId = defaults.configurationId; this.crashRecovery = defaults.crashRecovery; this.currentPlacements = defaults.currentPlacements; + this.customerContacts = defaults.customerContacts; this.dataStorageSizeInGb = defaults.dataStorageSizeInGb; this.dataStorages = defaults.dataStorages; this.databaseManagement = defaults.databaseManagement; @@ -660,6 +675,17 @@ public Builder currentPlacements(GetMysqlDbSystemCurrentPlacement... currentPlac return currentPlacements(List.of(currentPlacements)); } @CustomType.Setter + public Builder customerContacts(List customerContacts) { + if (customerContacts == null) { + throw new MissingRequiredPropertyException("GetMysqlDbSystemResult", "customerContacts"); + } + this.customerContacts = customerContacts; + return this; + } + public Builder customerContacts(GetMysqlDbSystemCustomerContact... customerContacts) { + return customerContacts(List.of(customerContacts)); + } + @CustomType.Setter public Builder dataStorageSizeInGb(Integer dataStorageSizeInGb) { if (dataStorageSizeInGb == null) { throw new MissingRequiredPropertyException("GetMysqlDbSystemResult", "dataStorageSizeInGb"); @@ -942,6 +968,7 @@ public GetMysqlDbSystemResult build() { _resultValue.configurationId = configurationId; _resultValue.crashRecovery = crashRecovery; _resultValue.currentPlacements = currentPlacements; + _resultValue.customerContacts = customerContacts; _resultValue.dataStorageSizeInGb = dataStorageSizeInGb; _resultValue.dataStorages = dataStorages; _resultValue.databaseManagement = databaseManagement; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystem.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystem.java index 2c16d8ee18..a6e71f876e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystem.java @@ -8,6 +8,7 @@ import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemsDbSystemBackupPolicy; import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemsDbSystemChannel; import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemsDbSystemCurrentPlacement; +import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemsDbSystemCustomerContact; import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemsDbSystemDataStorage; import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemsDbSystemDeletionPolicy; import com.pulumi.oci.Mysql.outputs.GetMysqlDbSystemsDbSystemEndpoint; @@ -63,7 +64,12 @@ public final class GetMysqlDbSystemsDbSystem { */ private List currentPlacements; /** - * @return DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * @return The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + */ + private List customerContacts; + /** + * @return Initial size of the data volume in GiBs that will be created and attached. * */ private Integer dataStorageSizeInGb; @@ -266,7 +272,14 @@ public List currentPlacements() { return this.currentPlacements; } /** - * @return DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * @return The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + * + */ + public List customerContacts() { + return this.customerContacts; + } + /** + * @return Initial size of the data volume in GiBs that will be created and attached. * */ public Integer dataStorageSizeInGb() { @@ -490,6 +503,7 @@ public static final class Builder { private String configurationId; private String crashRecovery; private List currentPlacements; + private List customerContacts; private Integer dataStorageSizeInGb; private List dataStorages; private String databaseManagement; @@ -532,6 +546,7 @@ public Builder(GetMysqlDbSystemsDbSystem defaults) { this.configurationId = defaults.configurationId; this.crashRecovery = defaults.crashRecovery; this.currentPlacements = defaults.currentPlacements; + this.customerContacts = defaults.customerContacts; this.dataStorageSizeInGb = defaults.dataStorageSizeInGb; this.dataStorages = defaults.dataStorages; this.databaseManagement = defaults.databaseManagement; @@ -646,6 +661,17 @@ public Builder currentPlacements(GetMysqlDbSystemsDbSystemCurrentPlacement... cu return currentPlacements(List.of(currentPlacements)); } @CustomType.Setter + public Builder customerContacts(List customerContacts) { + if (customerContacts == null) { + throw new MissingRequiredPropertyException("GetMysqlDbSystemsDbSystem", "customerContacts"); + } + this.customerContacts = customerContacts; + return this; + } + public Builder customerContacts(GetMysqlDbSystemsDbSystemCustomerContact... customerContacts) { + return customerContacts(List.of(customerContacts)); + } + @CustomType.Setter public Builder dataStorageSizeInGb(Integer dataStorageSizeInGb) { if (dataStorageSizeInGb == null) { throw new MissingRequiredPropertyException("GetMysqlDbSystemsDbSystem", "dataStorageSizeInGb"); @@ -920,6 +946,7 @@ public GetMysqlDbSystemsDbSystem build() { _resultValue.configurationId = configurationId; _resultValue.crashRecovery = crashRecovery; _resultValue.currentPlacements = currentPlacements; + _resultValue.customerContacts = customerContacts; _resultValue.dataStorageSizeInGb = dataStorageSizeInGb; _resultValue.dataStorages = dataStorages; _resultValue.databaseManagement = databaseManagement; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystemCustomerContact.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystemCustomerContact.java new file mode 100644 index 0000000000..090c22d291 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystemCustomerContact.java @@ -0,0 +1,58 @@ +// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetMysqlDbSystemsDbSystemCustomerContact { + /** + * @return The email address used by Oracle to send notifications regarding the DB System. + * + */ + private String email; + + private GetMysqlDbSystemsDbSystemCustomerContact() {} + /** + * @return The email address used by Oracle to send notifications regarding the DB System. + * + */ + public String email() { + return this.email; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMysqlDbSystemsDbSystemCustomerContact defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String email; + public Builder() {} + public Builder(GetMysqlDbSystemsDbSystemCustomerContact defaults) { + Objects.requireNonNull(defaults); + this.email = defaults.email; + } + + @CustomType.Setter + public Builder email(String email) { + if (email == null) { + throw new MissingRequiredPropertyException("GetMysqlDbSystemsDbSystemCustomerContact", "email"); + } + this.email = email; + return this; + } + public GetMysqlDbSystemsDbSystemCustomerContact build() { + final var _resultValue = new GetMysqlDbSystemsDbSystemCustomerContact(); + _resultValue.email = email; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystemDataStorage.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystemDataStorage.java index 0b0ba8759c..f07860b4b5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystemDataStorage.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetMysqlDbSystemsDbSystemDataStorage.java @@ -17,7 +17,7 @@ public final class GetMysqlDbSystemsDbSystemDataStorage { */ private Integer allocatedStorageSizeInGbs; /** - * @return DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * @return Initial size of the data volume in GiBs that will be created and attached. * */ private Integer dataStorageSizeInGb; @@ -46,7 +46,7 @@ public Integer allocatedStorageSizeInGbs() { return this.allocatedStorageSizeInGbs; } /** - * @return DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * @return Initial size of the data volume in GiBs that will be created and attached. * */ public Integer dataStorageSizeInGb() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/MysqlDbSystemCustomerContact.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/MysqlDbSystemCustomerContact.java new file mode 100644 index 0000000000..99dd6eac6f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/MysqlDbSystemCustomerContact.java @@ -0,0 +1,58 @@ +// *** 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 com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class MysqlDbSystemCustomerContact { + /** + * @return (Updatable) The email address used by Oracle to send notifications regarding the DB System. + * + */ + private String email; + + private MysqlDbSystemCustomerContact() {} + /** + * @return (Updatable) The email address used by Oracle to send notifications regarding the DB System. + * + */ + public String email() { + return this.email; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(MysqlDbSystemCustomerContact defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String email; + public Builder() {} + public Builder(MysqlDbSystemCustomerContact defaults) { + Objects.requireNonNull(defaults); + this.email = defaults.email; + } + + @CustomType.Setter + public Builder email(String email) { + if (email == null) { + throw new MissingRequiredPropertyException("MysqlDbSystemCustomerContact", "email"); + } + this.email = email; + return this; + } + public MysqlDbSystemCustomerContact build() { + final var _resultValue = new MysqlDbSystemCustomerContact(); + _resultValue.email = email; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/OcvpFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/OcvpFunctions.java index 1170a2855f..226530e0a7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/OcvpFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/OcvpFunctions.java @@ -2159,6 +2159,7 @@ public static CompletableFuture getSupportedSkusPlain(Ge * .compartmentId(compartmentId) * .hostShapeName(testShape.name()) * .version(supportedVmwareSoftwareVersionVersion) + * .versionToUpgrade(supportedVmwareSoftwareVersionVersionToUpgrade) * .build()); * * } @@ -2206,6 +2207,7 @@ public static Output getSupportedVmwar * .compartmentId(compartmentId) * .hostShapeName(testShape.name()) * .version(supportedVmwareSoftwareVersionVersion) + * .versionToUpgrade(supportedVmwareSoftwareVersionVersionToUpgrade) * .build()); * * } @@ -2253,6 +2255,7 @@ public static CompletableFuture getSup * .compartmentId(compartmentId) * .hostShapeName(testShape.name()) * .version(supportedVmwareSoftwareVersionVersion) + * .versionToUpgrade(supportedVmwareSoftwareVersionVersionToUpgrade) * .build()); * * } @@ -2300,6 +2303,7 @@ public static Output getSupportedVmwar * .compartmentId(compartmentId) * .hostShapeName(testShape.name()) * .version(supportedVmwareSoftwareVersionVersion) + * .versionToUpgrade(supportedVmwareSoftwareVersionVersionToUpgrade) * .build()); * * } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetClusterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetClusterArgs.java index e36f3a4e17..f42c4bc43d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetClusterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetClusterArgs.java @@ -15,14 +15,14 @@ public final class GetClusterArgs extends com.pulumi.resources.InvokeArgs { public static final GetClusterArgs Empty = new GetClusterArgs(); /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * */ @Import(name="clusterId", required=true) private Output clusterId; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * */ public Output clusterId() { @@ -54,7 +54,7 @@ public Builder(GetClusterArgs defaults) { } /** - * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * * @return builder * @@ -65,7 +65,7 @@ public Builder clusterId(Output clusterId) { } /** - * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetClusterPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetClusterPlainArgs.java index 406b774298..e052ba0895 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetClusterPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetClusterPlainArgs.java @@ -14,14 +14,14 @@ public final class GetClusterPlainArgs extends com.pulumi.resources.InvokeArgs { public static final GetClusterPlainArgs Empty = new GetClusterPlainArgs(); /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * */ @Import(name="clusterId", required=true) private String clusterId; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * */ public String clusterId() { @@ -53,7 +53,7 @@ public Builder(GetClusterPlainArgs defaults) { } /** - * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetExsiHostsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetExsiHostsArgs.java index ca4dd8e043..dd8d1aaff2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetExsiHostsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetExsiHostsArgs.java @@ -19,14 +19,14 @@ public final class GetExsiHostsArgs extends com.pulumi.resources.InvokeArgs { public static final GetExsiHostsArgs Empty = new GetExsiHostsArgs(); /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * */ @Import(name="clusterId") private @Nullable Output clusterId; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * */ public Optional> clusterId() { @@ -178,7 +178,7 @@ public Builder(GetExsiHostsArgs defaults) { } /** - * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * * @return builder * @@ -189,7 +189,7 @@ public Builder clusterId(@Nullable Output clusterId) { } /** - * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetExsiHostsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetExsiHostsPlainArgs.java index ace4bce1a4..33b56c46e5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetExsiHostsPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetExsiHostsPlainArgs.java @@ -18,14 +18,14 @@ public final class GetExsiHostsPlainArgs extends com.pulumi.resources.InvokeArgs public static final GetExsiHostsPlainArgs Empty = new GetExsiHostsPlainArgs(); /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * */ @Import(name="clusterId") private @Nullable String clusterId; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * */ public Optional clusterId() { @@ -177,7 +177,7 @@ public Builder(GetExsiHostsPlainArgs defaults) { } /** - * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @param clusterId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetSupportedVmwareSoftwareVersionsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetSupportedVmwareSoftwareVersionsArgs.java index dedd4c7b15..8784180c44 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetSupportedVmwareSoftwareVersionsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetSupportedVmwareSoftwareVersionsArgs.java @@ -70,6 +70,21 @@ public Optional> version() { return Optional.ofNullable(this.version); } + /** + * A filter to return only VMware software versions that the given VMware software version can be upgraded to. + * + */ + @Import(name="versionToUpgrade") + private @Nullable Output versionToUpgrade; + + /** + * @return A filter to return only VMware software versions that the given VMware software version can be upgraded to. + * + */ + public Optional> versionToUpgrade() { + return Optional.ofNullable(this.versionToUpgrade); + } + private GetSupportedVmwareSoftwareVersionsArgs() {} private GetSupportedVmwareSoftwareVersionsArgs(GetSupportedVmwareSoftwareVersionsArgs $) { @@ -77,6 +92,7 @@ private GetSupportedVmwareSoftwareVersionsArgs(GetSupportedVmwareSoftwareVersion this.filters = $.filters; this.hostShapeName = $.hostShapeName; this.version = $.version; + this.versionToUpgrade = $.versionToUpgrade; } public static Builder builder() { @@ -173,6 +189,27 @@ public Builder version(String version) { return version(Output.of(version)); } + /** + * @param versionToUpgrade A filter to return only VMware software versions that the given VMware software version can be upgraded to. + * + * @return builder + * + */ + public Builder versionToUpgrade(@Nullable Output versionToUpgrade) { + $.versionToUpgrade = versionToUpgrade; + return this; + } + + /** + * @param versionToUpgrade A filter to return only VMware software versions that the given VMware software version can be upgraded to. + * + * @return builder + * + */ + public Builder versionToUpgrade(String versionToUpgrade) { + return versionToUpgrade(Output.of(versionToUpgrade)); + } + public GetSupportedVmwareSoftwareVersionsArgs build() { if ($.compartmentId == null) { throw new MissingRequiredPropertyException("GetSupportedVmwareSoftwareVersionsArgs", "compartmentId"); diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetSupportedVmwareSoftwareVersionsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetSupportedVmwareSoftwareVersionsPlainArgs.java index cb492c14d4..3eb65d87df 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetSupportedVmwareSoftwareVersionsPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/GetSupportedVmwareSoftwareVersionsPlainArgs.java @@ -69,6 +69,21 @@ public Optional version() { return Optional.ofNullable(this.version); } + /** + * A filter to return only VMware software versions that the given VMware software version can be upgraded to. + * + */ + @Import(name="versionToUpgrade") + private @Nullable String versionToUpgrade; + + /** + * @return A filter to return only VMware software versions that the given VMware software version can be upgraded to. + * + */ + public Optional versionToUpgrade() { + return Optional.ofNullable(this.versionToUpgrade); + } + private GetSupportedVmwareSoftwareVersionsPlainArgs() {} private GetSupportedVmwareSoftwareVersionsPlainArgs(GetSupportedVmwareSoftwareVersionsPlainArgs $) { @@ -76,6 +91,7 @@ private GetSupportedVmwareSoftwareVersionsPlainArgs(GetSupportedVmwareSoftwareVe this.filters = $.filters; this.hostShapeName = $.hostShapeName; this.version = $.version; + this.versionToUpgrade = $.versionToUpgrade; } public static Builder builder() { @@ -138,6 +154,17 @@ public Builder version(@Nullable String version) { return this; } + /** + * @param versionToUpgrade A filter to return only VMware software versions that the given VMware software version can be upgraded to. + * + * @return builder + * + */ + public Builder versionToUpgrade(@Nullable String versionToUpgrade) { + $.versionToUpgrade = versionToUpgrade; + return this; + } + public GetSupportedVmwareSoftwareVersionsPlainArgs build() { if ($.compartmentId == null) { throw new MissingRequiredPropertyException("GetSupportedVmwareSoftwareVersionsPlainArgs", "compartmentId"); diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/outputs/GetExsiHostsEsxiHostCollection.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/outputs/GetExsiHostsEsxiHostCollection.java index 0c0b6887a6..27ac2d737b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/outputs/GetExsiHostsEsxiHostCollection.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/outputs/GetExsiHostsEsxiHostCollection.java @@ -33,7 +33,7 @@ public final class GetExsiHostsEsxiHostCollection { */ private String capacityReservationId; /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * */ private String clusterId; @@ -220,7 +220,7 @@ public String capacityReservationId() { return this.capacityReservationId; } /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. * */ public String clusterId() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/outputs/GetSupportedVmwareSoftwareVersionsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/outputs/GetSupportedVmwareSoftwareVersionsResult.java index bd72741fad..cfca9358be 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/outputs/GetSupportedVmwareSoftwareVersionsResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/outputs/GetSupportedVmwareSoftwareVersionsResult.java @@ -33,6 +33,7 @@ public final class GetSupportedVmwareSoftwareVersionsResult { * */ private @Nullable String version; + private @Nullable String versionToUpgrade; private GetSupportedVmwareSoftwareVersionsResult() {} public String compartmentId() { @@ -65,6 +66,9 @@ public List items() { public Optional version() { return Optional.ofNullable(this.version); } + public Optional versionToUpgrade() { + return Optional.ofNullable(this.versionToUpgrade); + } public static Builder builder() { return new Builder(); @@ -81,6 +85,7 @@ public static final class Builder { private String id; private List items; private @Nullable String version; + private @Nullable String versionToUpgrade; public Builder() {} public Builder(GetSupportedVmwareSoftwareVersionsResult defaults) { Objects.requireNonNull(defaults); @@ -90,6 +95,7 @@ public Builder(GetSupportedVmwareSoftwareVersionsResult defaults) { this.id = defaults.id; this.items = defaults.items; this.version = defaults.version; + this.versionToUpgrade = defaults.versionToUpgrade; } @CustomType.Setter @@ -140,6 +146,12 @@ public Builder version(@Nullable String version) { this.version = version; return this; } + @CustomType.Setter + public Builder versionToUpgrade(@Nullable String versionToUpgrade) { + + this.versionToUpgrade = versionToUpgrade; + return this; + } public GetSupportedVmwareSoftwareVersionsResult build() { final var _resultValue = new GetSupportedVmwareSoftwareVersionsResult(); _resultValue.compartmentId = compartmentId; @@ -148,6 +160,7 @@ public GetSupportedVmwareSoftwareVersionsResult build() { _resultValue.id = id; _resultValue.items = items; _resultValue.version = version; + _resultValue.versionToUpgrade = versionToUpgrade; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectedDatabase.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectedDatabase.java index eda026f6da..2a1e6aec7d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectedDatabase.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectedDatabase.java @@ -64,6 +64,7 @@ * .deletionSchedule("DELETE_AFTER_72_HOURS") * .freeformTags(Map.of("bar-key", "value")) * .isRedoLogsShipped(protectedDatabaseIsRedoLogsShipped) + * .subscriptionId(testSubscription.id()) * .build()); * * } @@ -353,6 +354,26 @@ public Output> recoveryServiceSubne public Output state() { return this.state; } + /** + * (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * ** IMPORTANT ** + * 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="subscriptionId", refs={String.class}, tree="[0]") + private Output subscriptionId; + + /** + * @return (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * ** IMPORTANT ** + * 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 subscriptionId() { + return this.subscriptionId; + } /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) * diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectedDatabaseArgs.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectedDatabaseArgs.java index 3b58611e11..54aca08572 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectedDatabaseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectedDatabaseArgs.java @@ -204,6 +204,27 @@ public Output> recoveryServiceS return this.recoveryServiceSubnets; } + /** + * (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * ** IMPORTANT ** + * 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="subscriptionId") + private @Nullable Output subscriptionId; + + /** + * @return (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * ** IMPORTANT ** + * 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> subscriptionId() { + return Optional.ofNullable(this.subscriptionId); + } + private ProtectedDatabaseArgs() {} private ProtectedDatabaseArgs(ProtectedDatabaseArgs $) { @@ -219,6 +240,7 @@ private ProtectedDatabaseArgs(ProtectedDatabaseArgs $) { this.password = $.password; this.protectionPolicyId = $.protectionPolicyId; this.recoveryServiceSubnets = $.recoveryServiceSubnets; + this.subscriptionId = $.subscriptionId; } public static Builder builder() { @@ -505,6 +527,33 @@ public Builder recoveryServiceSubnets(ProtectedDatabaseRecoveryServiceSubnetArgs return recoveryServiceSubnets(List.of(recoveryServiceSubnets)); } + /** + * @param subscriptionId (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * ** IMPORTANT ** + * 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 subscriptionId(@Nullable Output subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + /** + * @param subscriptionId (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * ** IMPORTANT ** + * 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 subscriptionId(String subscriptionId) { + return subscriptionId(Output.of(subscriptionId)); + } + public ProtectedDatabaseArgs build() { if ($.compartmentId == null) { throw new MissingRequiredPropertyException("ProtectedDatabaseArgs", "compartmentId"); diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectionPolicy.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectionPolicy.java index a5154808b0..467a65ac79 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectionPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectionPolicy.java @@ -52,6 +52,7 @@ * .displayName(protectionPolicyDisplayName) * .definedTags(Map.of("foo-namespace.bar-key", "value")) * .freeformTags(Map.of("bar-key", "value")) + * .mustEnforceCloudLocality(protectionPolicyMustEnforceCloudLocality) * .policyLockedDateTime(protectionPolicyPolicyLockedDateTime) * .build()); * @@ -170,6 +171,20 @@ public Output isPredefinedPolicy() { public Output lifecycleDetails() { return this.lifecycleDetails; } + /** + * Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + * + */ + @Export(name="mustEnforceCloudLocality", refs={Boolean.class}, tree="[0]") + private Output mustEnforceCloudLocality; + + /** + * @return Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + * + */ + public Output mustEnforceCloudLocality() { + return this.mustEnforceCloudLocality; + } /** * (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectionPolicyArgs.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectionPolicyArgs.java index 9730790a4b..7c2b6b46a5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectionPolicyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/ProtectionPolicyArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; import java.lang.Integer; import java.lang.String; import java.util.Map; @@ -93,6 +94,21 @@ public Optional>> freeformTags() { return Optional.ofNullable(this.freeformTags); } + /** + * Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + * + */ + @Import(name="mustEnforceCloudLocality") + private @Nullable Output mustEnforceCloudLocality; + + /** + * @return Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + * + */ + public Optional> mustEnforceCloudLocality() { + return Optional.ofNullable(this.mustEnforceCloudLocality); + } + /** * (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. @@ -134,6 +150,7 @@ private ProtectionPolicyArgs(ProtectionPolicyArgs $) { this.definedTags = $.definedTags; this.displayName = $.displayName; this.freeformTags = $.freeformTags; + this.mustEnforceCloudLocality = $.mustEnforceCloudLocality; this.policyLockedDateTime = $.policyLockedDateTime; } @@ -260,6 +277,27 @@ public Builder freeformTags(Map freeformTags) { return freeformTags(Output.of(freeformTags)); } + /** + * @param mustEnforceCloudLocality Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + * + * @return builder + * + */ + public Builder mustEnforceCloudLocality(@Nullable Output mustEnforceCloudLocality) { + $.mustEnforceCloudLocality = mustEnforceCloudLocality; + return this; + } + + /** + * @param mustEnforceCloudLocality Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + * + * @return builder + * + */ + public Builder mustEnforceCloudLocality(Boolean mustEnforceCloudLocality) { + return mustEnforceCloudLocality(Output.of(mustEnforceCloudLocality)); + } + /** * @param policyLockedDateTime (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectedDatabaseRecoveryServiceSubnetArgs.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectedDatabaseRecoveryServiceSubnetArgs.java index b1bf5297b6..f3bb9f8b1d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectedDatabaseRecoveryServiceSubnetArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectedDatabaseRecoveryServiceSubnetArgs.java @@ -19,9 +19,6 @@ public final class ProtectedDatabaseRecoveryServiceSubnetArgs extends com.pulumi /** * (Updatable) The recovery service subnet OCID. * - * ** IMPORTANT ** - * 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="recoveryServiceSubnetId", required=true) private Output recoveryServiceSubnetId; @@ -29,9 +26,6 @@ public final class ProtectedDatabaseRecoveryServiceSubnetArgs extends com.pulumi /** * @return (Updatable) The recovery service subnet OCID. * - * ** IMPORTANT ** - * 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 recoveryServiceSubnetId() { return this.recoveryServiceSubnetId; @@ -80,9 +74,6 @@ public Builder(ProtectedDatabaseRecoveryServiceSubnetArgs defaults) { /** * @param recoveryServiceSubnetId (Updatable) The recovery service subnet OCID. * - * ** IMPORTANT ** - * 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 * */ @@ -94,9 +85,6 @@ public Builder recoveryServiceSubnetId(Output recoveryServiceSubnetId) { /** * @param recoveryServiceSubnetId (Updatable) The recovery service subnet OCID. * - * ** IMPORTANT ** - * 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 * */ diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectedDatabaseState.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectedDatabaseState.java index 990181fbaf..3064657ffb 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectedDatabaseState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectedDatabaseState.java @@ -309,6 +309,27 @@ public Optional> state() { return Optional.ofNullable(this.state); } + /** + * (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * ** IMPORTANT ** + * 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="subscriptionId") + private @Nullable Output subscriptionId; + + /** + * @return (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * ** IMPORTANT ** + * 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> subscriptionId() { + return Optional.ofNullable(this.subscriptionId); + } + /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) * @@ -391,6 +412,7 @@ private ProtectedDatabaseState(ProtectedDatabaseState $) { this.protectionPolicyId = $.protectionPolicyId; this.recoveryServiceSubnets = $.recoveryServiceSubnets; this.state = $.state; + this.subscriptionId = $.subscriptionId; this.systemTags = $.systemTags; this.timeCreated = $.timeCreated; this.timeUpdated = $.timeUpdated; @@ -838,6 +860,33 @@ public Builder state(String state) { return state(Output.of(state)); } + /** + * @param subscriptionId (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * ** IMPORTANT ** + * 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 subscriptionId(@Nullable Output subscriptionId) { + $.subscriptionId = subscriptionId; + return this; + } + + /** + * @param subscriptionId (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * ** IMPORTANT ** + * 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 subscriptionId(String subscriptionId) { + return subscriptionId(Output.of(subscriptionId)); + } + /** * @param systemTags Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) * diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectionPolicyState.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectionPolicyState.java index 4ca036e190..457dd5a4d2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectionPolicyState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/inputs/ProtectionPolicyState.java @@ -123,6 +123,21 @@ public Optional> lifecycleDetails() { return Optional.ofNullable(this.lifecycleDetails); } + /** + * Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + * + */ + @Import(name="mustEnforceCloudLocality") + private @Nullable Output mustEnforceCloudLocality; + + /** + * @return Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + * + */ + public Optional> mustEnforceCloudLocality() { + return Optional.ofNullable(this.mustEnforceCloudLocality); + } + /** * (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. @@ -226,6 +241,7 @@ private ProtectionPolicyState(ProtectionPolicyState $) { this.freeformTags = $.freeformTags; this.isPredefinedPolicy = $.isPredefinedPolicy; this.lifecycleDetails = $.lifecycleDetails; + this.mustEnforceCloudLocality = $.mustEnforceCloudLocality; this.policyLockedDateTime = $.policyLockedDateTime; this.state = $.state; this.systemTags = $.systemTags; @@ -398,6 +414,27 @@ public Builder lifecycleDetails(String lifecycleDetails) { return lifecycleDetails(Output.of(lifecycleDetails)); } + /** + * @param mustEnforceCloudLocality Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + * + * @return builder + * + */ + public Builder mustEnforceCloudLocality(@Nullable Output mustEnforceCloudLocality) { + $.mustEnforceCloudLocality = mustEnforceCloudLocality; + return this; + } + + /** + * @param mustEnforceCloudLocality Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + * + * @return builder + * + */ + public Builder mustEnforceCloudLocality(Boolean mustEnforceCloudLocality) { + return mustEnforceCloudLocality(Output.of(mustEnforceCloudLocality)); + } + /** * @param policyLockedDateTime (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectedDatabaseResult.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectedDatabaseResult.java index 966722dbae..075cd93cee 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectedDatabaseResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectedDatabaseResult.java @@ -108,6 +108,11 @@ public final class GetProtectedDatabaseResult { * */ private String state; + /** + * @return The OCID of the cloud service subscription to which the protected database is linked. + * + */ + private String subscriptionId; /** * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) * @@ -265,6 +270,13 @@ public List recoveryServiceSubnets() public String state() { return this.state; } + /** + * @return The OCID of the cloud service subscription to which the protected database is linked. + * + */ + public String subscriptionId() { + return this.subscriptionId; + } /** * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) * @@ -324,6 +336,7 @@ public static final class Builder { private String protectionPolicyId; private List recoveryServiceSubnets; private String state; + private String subscriptionId; private Map systemTags; private String timeCreated; private String timeUpdated; @@ -352,6 +365,7 @@ public Builder(GetProtectedDatabaseResult defaults) { this.protectionPolicyId = defaults.protectionPolicyId; this.recoveryServiceSubnets = defaults.recoveryServiceSubnets; this.state = defaults.state; + this.subscriptionId = defaults.subscriptionId; this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; this.timeUpdated = defaults.timeUpdated; @@ -533,6 +547,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder subscriptionId(String subscriptionId) { + if (subscriptionId == null) { + throw new MissingRequiredPropertyException("GetProtectedDatabaseResult", "subscriptionId"); + } + this.subscriptionId = subscriptionId; + return this; + } + @CustomType.Setter public Builder systemTags(Map systemTags) { if (systemTags == null) { throw new MissingRequiredPropertyException("GetProtectedDatabaseResult", "systemTags"); @@ -587,6 +609,7 @@ public GetProtectedDatabaseResult build() { _resultValue.protectionPolicyId = protectionPolicyId; _resultValue.recoveryServiceSubnets = recoveryServiceSubnets; _resultValue.state = state; + _resultValue.subscriptionId = subscriptionId; _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; _resultValue.timeUpdated = timeUpdated; diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectedDatabasesProtectedDatabaseCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectedDatabasesProtectedDatabaseCollectionItem.java index cf115ec14b..454171df8e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectedDatabasesProtectedDatabaseCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectedDatabasesProtectedDatabaseCollectionItem.java @@ -107,6 +107,11 @@ public final class GetProtectedDatabasesProtectedDatabaseCollectionItem { * */ private String state; + /** + * @return The OCID of the cloud service subscription to which the protected database is linked. + * + */ + private String subscriptionId; /** * @return Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) * @@ -261,6 +266,13 @@ public List recoveryServiceSubnets; private String state; + private String subscriptionId; private Map systemTags; private String timeCreated; private String timeUpdated; @@ -346,6 +359,7 @@ public Builder(GetProtectedDatabasesProtectedDatabaseCollectionItem defaults) { this.protectionPolicyId = defaults.protectionPolicyId; this.recoveryServiceSubnets = defaults.recoveryServiceSubnets; this.state = defaults.state; + this.subscriptionId = defaults.subscriptionId; this.systemTags = defaults.systemTags; this.timeCreated = defaults.timeCreated; this.timeUpdated = defaults.timeUpdated; @@ -519,6 +533,14 @@ public Builder state(String state) { return this; } @CustomType.Setter + public Builder subscriptionId(String subscriptionId) { + if (subscriptionId == null) { + throw new MissingRequiredPropertyException("GetProtectedDatabasesProtectedDatabaseCollectionItem", "subscriptionId"); + } + this.subscriptionId = subscriptionId; + return this; + } + @CustomType.Setter public Builder systemTags(Map systemTags) { if (systemTags == null) { throw new MissingRequiredPropertyException("GetProtectedDatabasesProtectedDatabaseCollectionItem", "systemTags"); @@ -572,6 +594,7 @@ public GetProtectedDatabasesProtectedDatabaseCollectionItem build() { _resultValue.protectionPolicyId = protectionPolicyId; _resultValue.recoveryServiceSubnets = recoveryServiceSubnets; _resultValue.state = state; + _resultValue.subscriptionId = subscriptionId; _resultValue.systemTags = systemTags; _resultValue.timeCreated = timeCreated; _resultValue.timeUpdated = timeUpdated; diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectionPoliciesProtectionPolicyCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectionPoliciesProtectionPolicyCollectionItem.java index 8e087aff44..5df65d34e6 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectionPoliciesProtectionPolicyCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectionPoliciesProtectionPolicyCollectionItem.java @@ -53,6 +53,11 @@ public final class GetProtectionPoliciesProtectionPolicyCollectionItem { * */ private String lifecycleDetails; + /** + * @return Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + * + */ + private Boolean mustEnforceCloudLocality; /** * @return An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * @@ -136,6 +141,13 @@ public Boolean isPredefinedPolicy() { public String lifecycleDetails() { return this.lifecycleDetails; } + /** + * @return Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + * + */ + public Boolean mustEnforceCloudLocality() { + return this.mustEnforceCloudLocality; + } /** * @return An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * @@ -189,6 +201,7 @@ public static final class Builder { private String id; private Boolean isPredefinedPolicy; private String lifecycleDetails; + private Boolean mustEnforceCloudLocality; private String policyLockedDateTime; private String state; private Map systemTags; @@ -205,6 +218,7 @@ public Builder(GetProtectionPoliciesProtectionPolicyCollectionItem defaults) { this.id = defaults.id; this.isPredefinedPolicy = defaults.isPredefinedPolicy; this.lifecycleDetails = defaults.lifecycleDetails; + this.mustEnforceCloudLocality = defaults.mustEnforceCloudLocality; this.policyLockedDateTime = defaults.policyLockedDateTime; this.state = defaults.state; this.systemTags = defaults.systemTags; @@ -277,6 +291,14 @@ public Builder lifecycleDetails(String lifecycleDetails) { return this; } @CustomType.Setter + public Builder mustEnforceCloudLocality(Boolean mustEnforceCloudLocality) { + if (mustEnforceCloudLocality == null) { + throw new MissingRequiredPropertyException("GetProtectionPoliciesProtectionPolicyCollectionItem", "mustEnforceCloudLocality"); + } + this.mustEnforceCloudLocality = mustEnforceCloudLocality; + return this; + } + @CustomType.Setter public Builder policyLockedDateTime(String policyLockedDateTime) { if (policyLockedDateTime == null) { throw new MissingRequiredPropertyException("GetProtectionPoliciesProtectionPolicyCollectionItem", "policyLockedDateTime"); @@ -326,6 +348,7 @@ public GetProtectionPoliciesProtectionPolicyCollectionItem build() { _resultValue.id = id; _resultValue.isPredefinedPolicy = isPredefinedPolicy; _resultValue.lifecycleDetails = lifecycleDetails; + _resultValue.mustEnforceCloudLocality = mustEnforceCloudLocality; _resultValue.policyLockedDateTime = policyLockedDateTime; _resultValue.state = state; _resultValue.systemTags = systemTags; diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectionPolicyResult.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectionPolicyResult.java index 2a942fec3a..fa97adc517 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectionPolicyResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/GetProtectionPolicyResult.java @@ -53,6 +53,11 @@ public final class GetProtectionPolicyResult { * */ private String lifecycleDetails; + /** + * @return Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + * + */ + private Boolean mustEnforceCloudLocality; /** * @return An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * @@ -137,6 +142,13 @@ public Boolean isPredefinedPolicy() { public String lifecycleDetails() { return this.lifecycleDetails; } + /** + * @return Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + * + */ + public Boolean mustEnforceCloudLocality() { + return this.mustEnforceCloudLocality; + } /** * @return An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * @@ -193,6 +205,7 @@ public static final class Builder { private String id; private Boolean isPredefinedPolicy; private String lifecycleDetails; + private Boolean mustEnforceCloudLocality; private String policyLockedDateTime; private String protectionPolicyId; private String state; @@ -210,6 +223,7 @@ public Builder(GetProtectionPolicyResult defaults) { this.id = defaults.id; this.isPredefinedPolicy = defaults.isPredefinedPolicy; this.lifecycleDetails = defaults.lifecycleDetails; + this.mustEnforceCloudLocality = defaults.mustEnforceCloudLocality; this.policyLockedDateTime = defaults.policyLockedDateTime; this.protectionPolicyId = defaults.protectionPolicyId; this.state = defaults.state; @@ -283,6 +297,14 @@ public Builder lifecycleDetails(String lifecycleDetails) { return this; } @CustomType.Setter + public Builder mustEnforceCloudLocality(Boolean mustEnforceCloudLocality) { + if (mustEnforceCloudLocality == null) { + throw new MissingRequiredPropertyException("GetProtectionPolicyResult", "mustEnforceCloudLocality"); + } + this.mustEnforceCloudLocality = mustEnforceCloudLocality; + return this; + } + @CustomType.Setter public Builder policyLockedDateTime(String policyLockedDateTime) { if (policyLockedDateTime == null) { throw new MissingRequiredPropertyException("GetProtectionPolicyResult", "policyLockedDateTime"); @@ -340,6 +362,7 @@ public GetProtectionPolicyResult build() { _resultValue.id = id; _resultValue.isPredefinedPolicy = isPredefinedPolicy; _resultValue.lifecycleDetails = lifecycleDetails; + _resultValue.mustEnforceCloudLocality = mustEnforceCloudLocality; _resultValue.policyLockedDateTime = policyLockedDateTime; _resultValue.protectionPolicyId = protectionPolicyId; _resultValue.state = state; diff --git a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/ProtectedDatabaseRecoveryServiceSubnet.java b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/ProtectedDatabaseRecoveryServiceSubnet.java index 87de8314cf..73876c96be 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/ProtectedDatabaseRecoveryServiceSubnet.java +++ b/sdk/java/src/main/java/com/pulumi/oci/RecoveryMod/outputs/ProtectedDatabaseRecoveryServiceSubnet.java @@ -15,9 +15,6 @@ public final class ProtectedDatabaseRecoveryServiceSubnet { /** * @return (Updatable) The recovery service subnet OCID. * - * ** IMPORTANT ** - * 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 String recoveryServiceSubnetId; /** @@ -30,9 +27,6 @@ private ProtectedDatabaseRecoveryServiceSubnet() {} /** * @return (Updatable) The recovery service subnet OCID. * - * ** IMPORTANT ** - * 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 String recoveryServiceSubnetId() { return this.recoveryServiceSubnetId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Waf/inputs/AppFirewallPolicyActionBodyArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Waf/inputs/AppFirewallPolicyActionBodyArgs.java index a68429eff6..791f489dd1 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Waf/inputs/AppFirewallPolicyActionBodyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Waf/inputs/AppFirewallPolicyActionBodyArgs.java @@ -8,25 +8,34 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; public final class AppFirewallPolicyActionBodyArgs extends com.pulumi.resources.ResourceArgs { public static final AppFirewallPolicyActionBodyArgs Empty = new AppFirewallPolicyActionBodyArgs(); + @Import(name="template") + private @Nullable Output template; + + public Optional> template() { + return Optional.ofNullable(this.template); + } + /** * (Updatable) Static response body text. * */ - @Import(name="text", required=true) - private Output text; + @Import(name="text") + private @Nullable Output text; /** * @return (Updatable) Static response body text. * */ - public Output text() { - return this.text; + public Optional> text() { + return Optional.ofNullable(this.text); } /** @@ -47,6 +56,7 @@ public Output type() { private AppFirewallPolicyActionBodyArgs() {} private AppFirewallPolicyActionBodyArgs(AppFirewallPolicyActionBodyArgs $) { + this.template = $.template; this.text = $.text; this.type = $.type; } @@ -69,13 +79,22 @@ public Builder(AppFirewallPolicyActionBodyArgs defaults) { $ = new AppFirewallPolicyActionBodyArgs(Objects.requireNonNull(defaults)); } + public Builder template(@Nullable Output template) { + $.template = template; + return this; + } + + public Builder template(String template) { + return template(Output.of(template)); + } + /** * @param text (Updatable) Static response body text. * * @return builder * */ - public Builder text(Output text) { + public Builder text(@Nullable Output text) { $.text = text; return this; } @@ -112,9 +131,6 @@ public Builder type(String type) { } public AppFirewallPolicyActionBodyArgs build() { - if ($.text == null) { - throw new MissingRequiredPropertyException("AppFirewallPolicyActionBodyArgs", "text"); - } if ($.type == null) { throw new MissingRequiredPropertyException("AppFirewallPolicyActionBodyArgs", "type"); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/AppFirewallPolicyActionBody.java b/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/AppFirewallPolicyActionBody.java index 862f23c771..2a25cbf760 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/AppFirewallPolicyActionBody.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/AppFirewallPolicyActionBody.java @@ -7,14 +7,17 @@ import com.pulumi.exceptions.MissingRequiredPropertyException; import java.lang.String; import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; @CustomType public final class AppFirewallPolicyActionBody { + private @Nullable String template; /** * @return (Updatable) Static response body text. * */ - private String text; + private @Nullable String text; /** * @return (Updatable) Type of HttpResponseBody. * @@ -22,12 +25,15 @@ public final class AppFirewallPolicyActionBody { private String type; private AppFirewallPolicyActionBody() {} + public Optional template() { + return Optional.ofNullable(this.template); + } /** * @return (Updatable) Static response body text. * */ - public String text() { - return this.text; + public Optional text() { + return Optional.ofNullable(this.text); } /** * @return (Updatable) Type of HttpResponseBody. @@ -46,20 +52,26 @@ public static Builder builder(AppFirewallPolicyActionBody defaults) { } @CustomType.Builder public static final class Builder { - private String text; + private @Nullable String template; + private @Nullable String text; private String type; public Builder() {} public Builder(AppFirewallPolicyActionBody defaults) { Objects.requireNonNull(defaults); + this.template = defaults.template; this.text = defaults.text; this.type = defaults.type; } @CustomType.Setter - public Builder text(String text) { - if (text == null) { - throw new MissingRequiredPropertyException("AppFirewallPolicyActionBody", "text"); - } + public Builder template(@Nullable String template) { + + this.template = template; + return this; + } + @CustomType.Setter + public Builder text(@Nullable String text) { + this.text = text; return this; } @@ -73,6 +85,7 @@ public Builder type(String type) { } public AppFirewallPolicyActionBody build() { final var _resultValue = new AppFirewallPolicyActionBody(); + _resultValue.template = template; _resultValue.text = text; _resultValue.type = type; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody.java b/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody.java index 2b154aa59a..f715092a08 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody.java @@ -10,6 +10,7 @@ @CustomType public final class GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody { + private String template; /** * @return Static response body text. * @@ -22,6 +23,9 @@ public final class GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemAc private String type; private GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody() {} + public String template() { + return this.template; + } /** * @return Static response body text. * @@ -46,15 +50,25 @@ public static Builder builder(GetWebAppFirewallPoliciesWebAppFirewallPolicyColle } @CustomType.Builder public static final class Builder { + private String template; private String text; private String type; public Builder() {} public Builder(GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody defaults) { Objects.requireNonNull(defaults); + this.template = defaults.template; this.text = defaults.text; this.type = defaults.type; } + @CustomType.Setter + public Builder template(String template) { + if (template == null) { + throw new MissingRequiredPropertyException("GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody", "template"); + } + this.template = template; + return this; + } @CustomType.Setter public Builder text(String text) { if (text == null) { @@ -73,6 +87,7 @@ public Builder type(String type) { } public GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody build() { final var _resultValue = new GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody(); + _resultValue.template = template; _resultValue.text = text; _resultValue.type = type; return _resultValue; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/GetWebAppFirewallPolicyActionBody.java b/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/GetWebAppFirewallPolicyActionBody.java index fa4d34a739..c4f0499e5e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/GetWebAppFirewallPolicyActionBody.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Waf/outputs/GetWebAppFirewallPolicyActionBody.java @@ -10,6 +10,7 @@ @CustomType public final class GetWebAppFirewallPolicyActionBody { + private String template; /** * @return Static response body text. * @@ -22,6 +23,9 @@ public final class GetWebAppFirewallPolicyActionBody { private String type; private GetWebAppFirewallPolicyActionBody() {} + public String template() { + return this.template; + } /** * @return Static response body text. * @@ -46,15 +50,25 @@ public static Builder builder(GetWebAppFirewallPolicyActionBody defaults) { } @CustomType.Builder public static final class Builder { + private String template; private String text; private String type; public Builder() {} public Builder(GetWebAppFirewallPolicyActionBody defaults) { Objects.requireNonNull(defaults); + this.template = defaults.template; this.text = defaults.text; this.type = defaults.type; } + @CustomType.Setter + public Builder template(String template) { + if (template == null) { + throw new MissingRequiredPropertyException("GetWebAppFirewallPolicyActionBody", "template"); + } + this.template = template; + return this; + } @CustomType.Setter public Builder text(String text) { if (text == null) { @@ -73,6 +87,7 @@ public Builder type(String type) { } public GetWebAppFirewallPolicyActionBody build() { final var _resultValue = new GetWebAppFirewallPolicyActionBody(); + _resultValue.template = template; _resultValue.text = text; _resultValue.type = type; return _resultValue; diff --git a/sdk/nodejs/announcementsservice/announcementSubscription.ts b/sdk/nodejs/announcementsservice/announcementSubscription.ts index be3ee51c78..08cdd0fc13 100644 --- a/sdk/nodejs/announcementsservice/announcementSubscription.ts +++ b/sdk/nodejs/announcementsservice/announcementSubscription.ts @@ -110,11 +110,11 @@ export class AnnouncementSubscription extends pulumi.CustomResource { */ public readonly onsTopicId!: pulumi.Output; /** - * (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. */ public readonly preferredLanguage!: pulumi.Output; /** - * (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * * ** IMPORTANT ** @@ -233,11 +233,11 @@ export interface AnnouncementSubscriptionState { */ onsTopicId?: pulumi.Input; /** - * (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. */ preferredLanguage?: pulumi.Input; /** - * (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * * ** IMPORTANT ** @@ -295,11 +295,11 @@ export interface AnnouncementSubscriptionArgs { */ onsTopicId: pulumi.Input; /** - * (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. */ preferredLanguage?: pulumi.Input; /** - * (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles * * * ** IMPORTANT ** diff --git a/sdk/nodejs/announcementsservice/getAnnouncementSubscription.ts b/sdk/nodejs/announcementsservice/getAnnouncementSubscription.ts index 749d9e5c0c..b63cce2df8 100644 --- a/sdk/nodejs/announcementsservice/getAnnouncementSubscription.ts +++ b/sdk/nodejs/announcementsservice/getAnnouncementSubscription.ts @@ -84,11 +84,11 @@ export interface GetAnnouncementSubscriptionResult { */ readonly onsTopicId: string; /** - * (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. */ readonly preferredLanguage: string; /** - * The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles */ readonly preferredTimeZone: string; /** diff --git a/sdk/nodejs/announcementsservice/getServices.ts b/sdk/nodejs/announcementsservice/getServices.ts new file mode 100644 index 0000000000..70c23e8ee2 --- /dev/null +++ b/sdk/nodejs/announcementsservice/getServices.ts @@ -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! *** + +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 Services in Oracle Cloud Infrastructure. + * + * List all OCI services + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testServices = oci.AnnouncementsService.getServices({ + * compartmentId: compartmentId, + * commsManagerName: serviceCommsManagerName, + * platformType: servicePlatformType, + * }); + * ``` + */ +export function getServices(args: GetServicesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:AnnouncementsService/getServices:getServices", { + "commsManagerName": args.commsManagerName, + "compartmentId": args.compartmentId, + "filters": args.filters, + "platformType": args.platformType, + }, opts); +} + +/** + * A collection of arguments for invoking getServices. + */ +export interface GetServicesArgs { + /** + * Filter by comms manager name + */ + commsManagerName?: string; + /** + * The OCID of the root compartment/tenancy. + */ + compartmentId: string; + filters?: inputs.AnnouncementsService.GetServicesFilter[]; + /** + * A filter to return only services underlying a specific platform. + */ + platformType?: string; +} + +/** + * A collection of values returned by getServices. + */ +export interface GetServicesResult { + /** + * Name of the comms manager team that manages Notifications to this service. + */ + readonly commsManagerName?: string; + readonly compartmentId: string; + readonly filters?: outputs.AnnouncementsService.GetServicesFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The platform type this service object is related to. + */ + readonly platformType?: string; + /** + * The list of services_collection. + */ + readonly servicesCollections: outputs.AnnouncementsService.GetServicesServicesCollection[]; +} +/** + * This data source provides the list of Services in Oracle Cloud Infrastructure. + * + * List all OCI services + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testServices = oci.AnnouncementsService.getServices({ + * compartmentId: compartmentId, + * commsManagerName: serviceCommsManagerName, + * platformType: servicePlatformType, + * }); + * ``` + */ +export function getServicesOutput(args: GetServicesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getServices(a, opts)) +} + +/** + * A collection of arguments for invoking getServices. + */ +export interface GetServicesOutputArgs { + /** + * Filter by comms manager name + */ + commsManagerName?: pulumi.Input; + /** + * The OCID of the root compartment/tenancy. + */ + compartmentId: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return only services underlying a specific platform. + */ + platformType?: pulumi.Input; +} diff --git a/sdk/nodejs/announcementsservice/index.ts b/sdk/nodejs/announcementsservice/index.ts index b38af2bf39..65e7a206fe 100644 --- a/sdk/nodejs/announcementsservice/index.ts +++ b/sdk/nodejs/announcementsservice/index.ts @@ -30,6 +30,11 @@ export const getAnnouncementSubscriptions: typeof import("./getAnnouncementSubsc export const getAnnouncementSubscriptionsOutput: typeof import("./getAnnouncementSubscriptions").getAnnouncementSubscriptionsOutput = null as any; utilities.lazyLoad(exports, ["getAnnouncementSubscriptions","getAnnouncementSubscriptionsOutput"], () => require("./getAnnouncementSubscriptions")); +export { GetServicesArgs, GetServicesResult, GetServicesOutputArgs } from "./getServices"; +export const getServices: typeof import("./getServices").getServices = null as any; +export const getServicesOutput: typeof import("./getServices").getServicesOutput = null as any; +utilities.lazyLoad(exports, ["getServices","getServicesOutput"], () => require("./getServices")); + const _module = { version: utilities.getVersion(), diff --git a/sdk/nodejs/bigdataservice/bdsInstance.ts b/sdk/nodejs/bigdataservice/bdsInstance.ts index 6bd82b02c9..fcb473b2d9 100644 --- a/sdk/nodejs/bigdataservice/bdsInstance.ts +++ b/sdk/nodejs/bigdataservice/bdsInstance.ts @@ -47,7 +47,6 @@ export class BdsInstance extends pulumi.CustomResource { return obj['__pulumiType'] === BdsInstance.__pulumiType; } - public readonly addKafkaTrigger!: pulumi.Output; /** * (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. */ @@ -94,10 +93,6 @@ export class BdsInstance extends pulumi.CustomResource { */ public readonly displayName!: pulumi.Output; public readonly edgeNode!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - */ - public readonly executeBootstrapScriptTrigger!: 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"}` */ @@ -162,10 +157,6 @@ export class BdsInstance extends pulumi.CustomResource { * (Updatable) The version of the patch to be upated. */ public readonly osPatchVersion!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - */ - public readonly removeKafkaTrigger!: pulumi.Output; /** * (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. */ @@ -197,7 +188,6 @@ export class BdsInstance extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as BdsInstanceState | undefined; - resourceInputs["addKafkaTrigger"] = state ? state.addKafkaTrigger : undefined; resourceInputs["bootstrapScriptUrl"] = state ? state.bootstrapScriptUrl : undefined; resourceInputs["cloudSqlDetails"] = state ? state.cloudSqlDetails : undefined; resourceInputs["clusterAdminPassword"] = state ? state.clusterAdminPassword : undefined; @@ -211,7 +201,6 @@ export class BdsInstance extends pulumi.CustomResource { resourceInputs["definedTags"] = state ? state.definedTags : undefined; resourceInputs["displayName"] = state ? state.displayName : undefined; resourceInputs["edgeNode"] = state ? state.edgeNode : undefined; - resourceInputs["executeBootstrapScriptTrigger"] = state ? state.executeBootstrapScriptTrigger : undefined; resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; resourceInputs["ignoreExistingNodesShapes"] = state ? state.ignoreExistingNodesShapes : undefined; resourceInputs["isCloudSqlConfigured"] = state ? state.isCloudSqlConfigured : undefined; @@ -228,7 +217,6 @@ export class BdsInstance extends pulumi.CustomResource { resourceInputs["numberOfNodes"] = state ? state.numberOfNodes : undefined; resourceInputs["numberOfNodesRequiringMaintenanceReboot"] = state ? state.numberOfNodesRequiringMaintenanceReboot : undefined; resourceInputs["osPatchVersion"] = state ? state.osPatchVersion : undefined; - resourceInputs["removeKafkaTrigger"] = state ? state.removeKafkaTrigger : undefined; resourceInputs["state"] = state ? state.state : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; @@ -266,7 +254,6 @@ export class BdsInstance extends pulumi.CustomResource { if ((!args || args.workerNode === undefined) && !opts.urn) { throw new Error("Missing required property 'workerNode'"); } - resourceInputs["addKafkaTrigger"] = args ? args.addKafkaTrigger : undefined; resourceInputs["bootstrapScriptUrl"] = args ? args.bootstrapScriptUrl : undefined; resourceInputs["cloudSqlDetails"] = args ? args.cloudSqlDetails : undefined; resourceInputs["clusterAdminPassword"] = args?.clusterAdminPassword ? pulumi.secret(args.clusterAdminPassword) : undefined; @@ -278,7 +265,6 @@ export class BdsInstance extends pulumi.CustomResource { resourceInputs["definedTags"] = args ? args.definedTags : undefined; resourceInputs["displayName"] = args ? args.displayName : undefined; resourceInputs["edgeNode"] = args ? args.edgeNode : undefined; - resourceInputs["executeBootstrapScriptTrigger"] = args ? args.executeBootstrapScriptTrigger : undefined; resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; resourceInputs["ignoreExistingNodesShapes"] = args ? args.ignoreExistingNodesShapes : undefined; resourceInputs["isCloudSqlConfigured"] = args ? args.isCloudSqlConfigured : undefined; @@ -292,7 +278,6 @@ export class BdsInstance extends pulumi.CustomResource { resourceInputs["masterNode"] = args ? args.masterNode : undefined; resourceInputs["networkConfig"] = args ? args.networkConfig : undefined; resourceInputs["osPatchVersion"] = args ? args.osPatchVersion : undefined; - resourceInputs["removeKafkaTrigger"] = args ? args.removeKafkaTrigger : undefined; resourceInputs["state"] = args ? args.state : undefined; resourceInputs["utilNode"] = args ? args.utilNode : undefined; resourceInputs["workerNode"] = args ? args.workerNode : undefined; @@ -315,7 +300,6 @@ export class BdsInstance extends pulumi.CustomResource { * Input properties used for looking up and filtering BdsInstance resources. */ export interface BdsInstanceState { - addKafkaTrigger?: pulumi.Input; /** * (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. */ @@ -362,10 +346,6 @@ export interface BdsInstanceState { */ displayName?: pulumi.Input; edgeNode?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - */ - executeBootstrapScriptTrigger?: 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"}` */ @@ -430,10 +410,6 @@ export interface BdsInstanceState { * (Updatable) The version of the patch to be upated. */ osPatchVersion?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - */ - removeKafkaTrigger?: pulumi.Input; /** * (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. */ @@ -457,7 +433,6 @@ export interface BdsInstanceState { * The set of arguments for constructing a BdsInstance resource. */ export interface BdsInstanceArgs { - addKafkaTrigger?: pulumi.Input; /** * (Updatable) Pre-authenticated URL of the script in Object Store that is downloaded and executed. */ @@ -496,10 +471,6 @@ export interface BdsInstanceArgs { */ displayName: pulumi.Input; edgeNode?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - */ - executeBootstrapScriptTrigger?: 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"}` */ @@ -552,10 +523,6 @@ export interface BdsInstanceArgs { * (Updatable) The version of the patch to be upated. */ osPatchVersion?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - */ - removeKafkaTrigger?: pulumi.Input; /** * (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. */ diff --git a/sdk/nodejs/bigdataservice/getBdsInstance.ts b/sdk/nodejs/bigdataservice/getBdsInstance.ts index b4c5850797..e76d097026 100644 --- a/sdk/nodejs/bigdataservice/getBdsInstance.ts +++ b/sdk/nodejs/bigdataservice/getBdsInstance.ts @@ -44,7 +44,6 @@ export interface GetBdsInstanceArgs { * A collection of values returned by getBdsInstance. */ export interface GetBdsInstanceResult { - readonly addKafkaTrigger: number; readonly bdsInstanceId: string; /** * pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. @@ -86,7 +85,6 @@ export interface GetBdsInstanceResult { */ readonly displayName: string; readonly edgeNodes: outputs.BigDataService.GetBdsInstanceEdgeNode[]; - readonly executeBootstrapScriptTrigger: number; /** * Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` */ @@ -137,7 +135,6 @@ export interface GetBdsInstanceResult { */ readonly numberOfNodesRequiringMaintenanceReboot: number; readonly osPatchVersion: string; - readonly removeKafkaTrigger: number; /** * The state of the cluster. */ diff --git a/sdk/nodejs/database/autonomousDatabase.ts b/sdk/nodejs/database/autonomousDatabase.ts index f471266843..b4543b9140 100644 --- a/sdk/nodejs/database/autonomousDatabase.ts +++ b/sdk/nodejs/database/autonomousDatabase.ts @@ -93,6 +93,10 @@ export class AutonomousDatabase extends pulumi.CustomResource { * The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle. */ public readonly autonomousMaintenanceScheduleType!: pulumi.Output; + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + public /*out*/ readonly availabilityDomain!: pulumi.Output; /** * List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. */ @@ -689,6 +693,7 @@ export class AutonomousDatabase extends pulumi.CustomResource { resourceInputs["autonomousDatabaseBackupId"] = state ? state.autonomousDatabaseBackupId : undefined; resourceInputs["autonomousDatabaseId"] = state ? state.autonomousDatabaseId : undefined; resourceInputs["autonomousMaintenanceScheduleType"] = state ? state.autonomousMaintenanceScheduleType : undefined; + resourceInputs["availabilityDomain"] = state ? state.availabilityDomain : undefined; resourceInputs["availableUpgradeVersions"] = state ? state.availableUpgradeVersions : undefined; resourceInputs["backupConfigs"] = state ? state.backupConfigs : undefined; resourceInputs["backupRetentionPeriodInDays"] = state ? state.backupRetentionPeriodInDays : undefined; @@ -904,6 +909,7 @@ export class AutonomousDatabase extends pulumi.CustomResource { resourceInputs["actualUsedDataStorageSizeInTbs"] = undefined /*out*/; resourceInputs["allocatedStorageSizeInTbs"] = undefined /*out*/; resourceInputs["apexDetails"] = undefined /*out*/; + resourceInputs["availabilityDomain"] = undefined /*out*/; resourceInputs["availableUpgradeVersions"] = undefined /*out*/; resourceInputs["backupConfigs"] = undefined /*out*/; resourceInputs["clusterPlacementGroupId"] = undefined /*out*/; @@ -1014,6 +1020,10 @@ export interface AutonomousDatabaseState { * The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle. */ autonomousMaintenanceScheduleType?: pulumi.Input; + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + availabilityDomain?: pulumi.Input; /** * List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. */ diff --git a/sdk/nodejs/database/dataGuardAssociation.ts b/sdk/nodejs/database/dataGuardAssociation.ts index f936fbdbd0..d0bf440522 100644 --- a/sdk/nodejs/database/dataGuardAssociation.ts +++ b/sdk/nodejs/database/dataGuardAssociation.ts @@ -45,6 +45,7 @@ import * as utilities from "../utilities"; * dbSystemDefinedTags: dataGuardAssociationDbSystemDefinedTags, * dbSystemFreeformTags: dataGuardAssociationDbSystemFreeformTags, * displayName: dataGuardAssociationDisplayName, + * domain: dataGuardAssociationDomain, * faultDomains: dataGuardAssociationFaultDomains, * hostname: dataGuardAssociationHostname, * isActiveDataGuardEnabled: dataGuardAssociationIsActiveDataGuardEnabled, @@ -166,6 +167,10 @@ export class DataGuardAssociation extends pulumi.CustomResource { * The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. */ public readonly displayName!: pulumi.Output; + /** + * A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + */ + public readonly domain!: pulumi.Output; /** * A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. * @@ -324,6 +329,7 @@ export class DataGuardAssociation extends pulumi.CustomResource { resourceInputs["dbSystemFreeformTags"] = state ? state.dbSystemFreeformTags : undefined; resourceInputs["deleteStandbyDbHomeOnDelete"] = state ? state.deleteStandbyDbHomeOnDelete : undefined; resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["domain"] = state ? state.domain : undefined; resourceInputs["faultDomains"] = state ? state.faultDomains : undefined; resourceInputs["hostname"] = state ? state.hostname : undefined; resourceInputs["isActiveDataGuardEnabled"] = state ? state.isActiveDataGuardEnabled : undefined; @@ -384,6 +390,7 @@ export class DataGuardAssociation extends pulumi.CustomResource { resourceInputs["dbSystemFreeformTags"] = args ? args.dbSystemFreeformTags : undefined; resourceInputs["deleteStandbyDbHomeOnDelete"] = args ? args.deleteStandbyDbHomeOnDelete : undefined; resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["domain"] = args ? args.domain : undefined; resourceInputs["faultDomains"] = args ? args.faultDomains : undefined; resourceInputs["hostname"] = args ? args.hostname : undefined; resourceInputs["isActiveDataGuardEnabled"] = args ? args.isActiveDataGuardEnabled : undefined; @@ -493,6 +500,10 @@ export interface DataGuardAssociationState { * The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. */ displayName?: pulumi.Input; + /** + * A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + */ + domain?: pulumi.Input; /** * A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. * @@ -688,6 +699,10 @@ export interface DataGuardAssociationArgs { * The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. */ displayName?: pulumi.Input; + /** + * A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + */ + domain?: pulumi.Input; /** * A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. * diff --git a/sdk/nodejs/database/getAutonomousDatabase.ts b/sdk/nodejs/database/getAutonomousDatabase.ts index 5e0b595358..f79d1fc71d 100644 --- a/sdk/nodejs/database/getAutonomousDatabase.ts +++ b/sdk/nodejs/database/getAutonomousDatabase.ts @@ -79,6 +79,10 @@ export interface GetAutonomousDatabaseResult { * The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle */ readonly autonomousMaintenanceScheduleType: string; + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + readonly availabilityDomain: string; /** * List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. */ diff --git a/sdk/nodejs/database/getAutonomousDatabases.ts b/sdk/nodejs/database/getAutonomousDatabases.ts index 447d2c1c63..d06e78bf97 100644 --- a/sdk/nodejs/database/getAutonomousDatabases.ts +++ b/sdk/nodejs/database/getAutonomousDatabases.ts @@ -7,44 +7,9 @@ import * as outputs from "../types/output"; import * as utilities from "../utilities"; /** - * ## + * This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. * - * *** - * ## subcategory: "Database" - * - * layout: "oci" - * page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases" - * sidebar_current: "docs-oci-datasource-database-autonomous_databases" - * description: |- - * Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service - * --- - * - * # Data Source: oci.Database.getAutonomousDatabases - * This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. - * - * Gets a list of Autonomous Databases based on the query parameters specified. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testAutonomousDatabases = oci.Database.getAutonomousDatabases({ - * compartmentId: compartmentId, - * autonomousContainerDatabaseId: testAutonomousContainerDatabase.id, - * dbVersion: autonomousDatabaseDbVersion, - * dbWorkload: autonomousDatabaseDbWorkload, - * displayName: autonomousDatabaseDisplayName, - * infrastructureType: autonomousDatabaseInfrastructureType, - * isDataGuardEnabled: autonomousDatabaseIsDataGuardEnabled, - * isFreeTier: autonomousDatabaseIsFreeTier, - * isRefreshableClone: autonomousDatabaseIsRefreshableClone, - * isResourcePoolLeader: autonomousDatabaseIsResourcePoolLeader, - * resourcePoolLeaderId: testResourcePoolLeader.id, - * state: autonomousDatabaseState, - * }); - * ``` + * Gets the details of the specified Autonomous Database. */ export function getAutonomousDatabases(args: GetAutonomousDatabasesArgs, opts?: pulumi.InvokeOptions): Promise { @@ -75,48 +40,49 @@ export interface GetAutonomousDatabasesArgs { */ autonomousContainerDatabaseId?: string; /** - * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** - * A filter to return only autonomous database resources that match the specified dbVersion. + * A valid Oracle Database version for Autonomous Database. */ dbVersion?: string; /** - * A filter to return only autonomous database resources that match the specified workload type. + * The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. */ dbWorkload?: string; /** - * A filter to return only resources that match the entire display name given. The match is not case sensitive. + * The user-friendly name for the Autonomous Database. The name does not have to be unique. */ displayName?: string; filters?: inputs.Database.GetAutonomousDatabasesFilter[]; /** - * A filter to return only resources that match the given Infrastructure Type. + * The infrastructure type this resource belongs to. */ infrastructureType?: string; /** - * A filter to return only resources that have Data Guard enabled. + * **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. */ isDataGuardEnabled?: boolean; /** - * 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. + * 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?: boolean; /** - * 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. + * Indicates if the Autonomous Database is a refreshable clone. */ 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. + * The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ resourcePoolLeaderId?: string; /** - * A filter to return only resources that match the given lifecycle state exactly. + * The current state of the Autonomous Database. */ state?: string; } @@ -129,9 +95,6 @@ export interface GetAutonomousDatabasesResult { * The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ readonly autonomousContainerDatabaseId?: string; - /** - * The list of autonomous_databases. - */ readonly autonomousDatabases: outputs.Database.GetAutonomousDatabasesAutonomousDatabase[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -185,44 +148,9 @@ export interface GetAutonomousDatabasesResult { readonly state?: string; } /** - * ## - * - * *** - * ## subcategory: "Database" - * - * layout: "oci" - * page_title: "Oracle Cloud Infrastructure: oci.Database.getAutonomousDatabases" - * sidebar_current: "docs-oci-datasource-database-autonomous_databases" - * description: |- - * Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service - * --- - * - * # Data Source: oci.Database.getAutonomousDatabases - * This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. - * - * Gets a list of Autonomous Databases based on the query parameters specified. - * - * ## Example Usage + * This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testAutonomousDatabases = oci.Database.getAutonomousDatabases({ - * compartmentId: compartmentId, - * autonomousContainerDatabaseId: testAutonomousContainerDatabase.id, - * dbVersion: autonomousDatabaseDbVersion, - * dbWorkload: autonomousDatabaseDbWorkload, - * displayName: autonomousDatabaseDisplayName, - * infrastructureType: autonomousDatabaseInfrastructureType, - * isDataGuardEnabled: autonomousDatabaseIsDataGuardEnabled, - * isFreeTier: autonomousDatabaseIsFreeTier, - * isRefreshableClone: autonomousDatabaseIsRefreshableClone, - * isResourcePoolLeader: autonomousDatabaseIsResourcePoolLeader, - * resourcePoolLeaderId: testResourcePoolLeader.id, - * state: autonomousDatabaseState, - * }); - * ``` + * Gets the details of the specified Autonomous Database. */ export function getAutonomousDatabasesOutput(args: GetAutonomousDatabasesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { return pulumi.output(args).apply((a: any) => getAutonomousDatabases(a, opts)) @@ -237,48 +165,49 @@ export interface GetAutonomousDatabasesOutputArgs { */ autonomousContainerDatabaseId?: pulumi.Input; /** - * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** - * A filter to return only autonomous database resources that match the specified dbVersion. + * A valid Oracle Database version for Autonomous Database. */ dbVersion?: pulumi.Input; /** - * A filter to return only autonomous database resources that match the specified workload type. + * The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. */ dbWorkload?: pulumi.Input; /** - * A filter to return only resources that match the entire display name given. The match is not case sensitive. + * The user-friendly name for the Autonomous Database. The name does not have to be unique. */ displayName?: pulumi.Input; filters?: pulumi.Input[]>; /** - * A filter to return only resources that match the given Infrastructure Type. + * The infrastructure type this resource belongs to. */ infrastructureType?: pulumi.Input; /** - * A filter to return only resources that have Data Guard enabled. + * **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. */ isDataGuardEnabled?: pulumi.Input; /** - * 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. + * 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?: pulumi.Input; /** - * 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. + * Indicates if the Autonomous Database is a refreshable clone. */ 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. + * The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ resourcePoolLeaderId?: pulumi.Input; /** - * A filter to return only resources that match the given lifecycle state exactly. + * The current state of the Autonomous Database. */ state?: pulumi.Input; } diff --git a/sdk/nodejs/database/getDataGuardAssociation.ts b/sdk/nodejs/database/getDataGuardAssociation.ts index 33b1f1d24b..1e55547182 100644 --- a/sdk/nodejs/database/getDataGuardAssociation.ts +++ b/sdk/nodejs/database/getDataGuardAssociation.ts @@ -77,6 +77,7 @@ export interface GetDataGuardAssociationResult { readonly dbSystemFreeformTags: {[key: string]: string}; readonly deleteStandbyDbHomeOnDelete: string; readonly displayName: string; + readonly domain: string; readonly faultDomains: string[]; readonly hostname: string; /** diff --git a/sdk/nodejs/databasemanagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.ts b/sdk/nodejs/databasemanagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.ts new file mode 100644 index 0000000000..2b21663e3f --- /dev/null +++ b/sdk/nodejs/databasemanagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.ts @@ -0,0 +1,134 @@ +// *** 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 Autonomous Database Autonomous Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service. + * + * Enables a Database Management feature for the specified Autonomous Database. + */ +export class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement extends pulumi.CustomResource { + /** + * Get an existing AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement 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?: AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState, opts?: pulumi.CustomResourceOptions): AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement { + return new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement'; + + /** + * Returns true if the given object is an instance of AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement. 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 AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.__pulumiType; + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + */ + public readonly autonomousDatabaseId!: pulumi.Output; + /** + * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * + * ** IMPORTANT ** + * 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 enableAutonomousDatabaseDbmFeature!: pulumi.Output; + /** + * The details required to enable the specified Database Management feature for an Autonomous Database. + */ + public readonly featureDetails!: pulumi.Output; + + /** + * Create a AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement 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: AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs | AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState | undefined; + resourceInputs["autonomousDatabaseId"] = state ? state.autonomousDatabaseId : undefined; + resourceInputs["enableAutonomousDatabaseDbmFeature"] = state ? state.enableAutonomousDatabaseDbmFeature : undefined; + resourceInputs["featureDetails"] = state ? state.featureDetails : undefined; + } else { + const args = argsOrState as AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs | undefined; + if ((!args || args.autonomousDatabaseId === undefined) && !opts.urn) { + throw new Error("Missing required property 'autonomousDatabaseId'"); + } + if ((!args || args.enableAutonomousDatabaseDbmFeature === undefined) && !opts.urn) { + throw new Error("Missing required property 'enableAutonomousDatabaseDbmFeature'"); + } + resourceInputs["autonomousDatabaseId"] = args ? args.autonomousDatabaseId : undefined; + resourceInputs["enableAutonomousDatabaseDbmFeature"] = args ? args.enableAutonomousDatabaseDbmFeature : undefined; + resourceInputs["featureDetails"] = args ? args.featureDetails : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement resources. + */ +export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + */ + autonomousDatabaseId?: pulumi.Input; + /** + * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + enableAutonomousDatabaseDbmFeature?: pulumi.Input; + /** + * The details required to enable the specified Database Management feature for an Autonomous Database. + */ + featureDetails?: pulumi.Input; +} + +/** + * The set of arguments for constructing a AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement resource. + */ +export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + */ + autonomousDatabaseId: pulumi.Input; + /** + * (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + enableAutonomousDatabaseDbmFeature: pulumi.Input; + /** + * The details required to enable the specified Database Management feature for an Autonomous Database. + */ + featureDetails?: pulumi.Input; +} diff --git a/sdk/nodejs/databasemanagement/databaseDbmFeaturesManagement.ts b/sdk/nodejs/databasemanagement/databaseDbmFeaturesManagement.ts index de0eeeb89b..d8f48a3c62 100644 --- a/sdk/nodejs/databasemanagement/databaseDbmFeaturesManagement.ts +++ b/sdk/nodejs/databasemanagement/databaseDbmFeaturesManagement.ts @@ -55,6 +55,7 @@ export class DatabaseDbmFeaturesManagement extends pulumi.CustomResource { * The details required to enable the specified Database Management feature. */ public readonly featureDetails!: pulumi.Output; + public readonly modifyDatabaseDbmFeature!: pulumi.Output; /** * Create a DatabaseDbmFeaturesManagement resource with the given unique name, arguments, and options. @@ -72,6 +73,7 @@ export class DatabaseDbmFeaturesManagement extends pulumi.CustomResource { resourceInputs["databaseId"] = state ? state.databaseId : undefined; resourceInputs["enableDatabaseDbmFeature"] = state ? state.enableDatabaseDbmFeature : undefined; resourceInputs["featureDetails"] = state ? state.featureDetails : undefined; + resourceInputs["modifyDatabaseDbmFeature"] = state ? state.modifyDatabaseDbmFeature : undefined; } else { const args = argsOrState as DatabaseDbmFeaturesManagementArgs | undefined; if ((!args || args.databaseId === undefined) && !opts.urn) { @@ -83,6 +85,7 @@ export class DatabaseDbmFeaturesManagement extends pulumi.CustomResource { resourceInputs["databaseId"] = args ? args.databaseId : undefined; resourceInputs["enableDatabaseDbmFeature"] = args ? args.enableDatabaseDbmFeature : undefined; resourceInputs["featureDetails"] = args ? args.featureDetails : undefined; + resourceInputs["modifyDatabaseDbmFeature"] = args ? args.modifyDatabaseDbmFeature : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); super(DatabaseDbmFeaturesManagement.__pulumiType, name, resourceInputs, opts); @@ -109,6 +112,7 @@ export interface DatabaseDbmFeaturesManagementState { * The details required to enable the specified Database Management feature. */ featureDetails?: pulumi.Input; + modifyDatabaseDbmFeature?: pulumi.Input; } /** @@ -131,4 +135,5 @@ export interface DatabaseDbmFeaturesManagementArgs { * The details required to enable the specified Database Management feature. */ featureDetails?: pulumi.Input; + modifyDatabaseDbmFeature?: pulumi.Input; } diff --git a/sdk/nodejs/databasemanagement/dbManagementPrivateEndpoint.ts b/sdk/nodejs/databasemanagement/dbManagementPrivateEndpoint.ts index 9c14140a0a..b624b1691b 100644 --- a/sdk/nodejs/databasemanagement/dbManagementPrivateEndpoint.ts +++ b/sdk/nodejs/databasemanagement/dbManagementPrivateEndpoint.ts @@ -27,6 +27,7 @@ import * as utilities from "../utilities"; * Department: "Finance", * }, * isCluster: dbManagementPrivateEndpointIsCluster, + * isDnsResolutionEnabled: dbManagementPrivateEndpointIsDnsResolutionEnabled, * nsgIds: dbManagementPrivateEndpointNsgIds, * }); * ``` @@ -87,6 +88,10 @@ export class DbManagementPrivateEndpoint extends pulumi.CustomResource { * Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. */ public readonly isCluster!: pulumi.Output; + /** + * Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + */ + public readonly isDnsResolutionEnabled!: pulumi.Output; /** * (Updatable) The display name of the Database Management private endpoint. */ @@ -142,6 +147,7 @@ export class DbManagementPrivateEndpoint extends pulumi.CustomResource { resourceInputs["description"] = state ? state.description : undefined; resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; resourceInputs["isCluster"] = state ? state.isCluster : undefined; + resourceInputs["isDnsResolutionEnabled"] = state ? state.isDnsResolutionEnabled : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["nsgIds"] = state ? state.nsgIds : undefined; resourceInputs["privateIp"] = state ? state.privateIp : undefined; @@ -163,6 +169,7 @@ export class DbManagementPrivateEndpoint extends pulumi.CustomResource { resourceInputs["description"] = args ? args.description : undefined; resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; resourceInputs["isCluster"] = args ? args.isCluster : undefined; + resourceInputs["isDnsResolutionEnabled"] = args ? args.isDnsResolutionEnabled : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["nsgIds"] = args ? args.nsgIds : undefined; resourceInputs["subnetId"] = args ? args.subnetId : undefined; @@ -201,6 +208,10 @@ export interface DbManagementPrivateEndpointState { * Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. */ isCluster?: pulumi.Input; + /** + * Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + */ + isDnsResolutionEnabled?: pulumi.Input; /** * (Updatable) The display name of the Database Management private endpoint. */ @@ -263,6 +274,10 @@ export interface DbManagementPrivateEndpointArgs { * Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. */ isCluster?: pulumi.Input; + /** + * Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + */ + isDnsResolutionEnabled?: pulumi.Input; /** * (Updatable) The display name of the Database Management private endpoint. */ diff --git a/sdk/nodejs/databasemanagement/getDbManagementPrivateEndpoint.ts b/sdk/nodejs/databasemanagement/getDbManagementPrivateEndpoint.ts index 4bee078480..fa0bcea545 100644 --- a/sdk/nodejs/databasemanagement/getDbManagementPrivateEndpoint.ts +++ b/sdk/nodejs/databasemanagement/getDbManagementPrivateEndpoint.ts @@ -67,6 +67,10 @@ export interface GetDbManagementPrivateEndpointResult { * Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster. */ readonly isCluster: boolean; + /** + * Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + */ + readonly isDnsResolutionEnabled: boolean; /** * The display name of the Database Management private endpoint. */ diff --git a/sdk/nodejs/databasemanagement/getDbManagementPrivateEndpoints.ts b/sdk/nodejs/databasemanagement/getDbManagementPrivateEndpoints.ts index 01f733ba9a..cc286bab82 100644 --- a/sdk/nodejs/databasemanagement/getDbManagementPrivateEndpoints.ts +++ b/sdk/nodejs/databasemanagement/getDbManagementPrivateEndpoints.ts @@ -20,6 +20,7 @@ import * as utilities from "../utilities"; * const testDbManagementPrivateEndpoints = oci.DatabaseManagement.getDbManagementPrivateEndpoints({ * compartmentId: compartmentId, * isCluster: dbManagementPrivateEndpointIsCluster, + * isDnsResolutionEnabled: dbManagementPrivateEndpointIsDnsResolutionEnabled, * name: dbManagementPrivateEndpointName, * state: dbManagementPrivateEndpointState, * vcnId: testVcn.id, @@ -33,6 +34,7 @@ export function getDbManagementPrivateEndpoints(args: GetDbManagementPrivateEndp "compartmentId": args.compartmentId, "filters": args.filters, "isCluster": args.isCluster, + "isDnsResolutionEnabled": args.isDnsResolutionEnabled, "name": args.name, "state": args.state, "vcnId": args.vcnId, @@ -52,6 +54,10 @@ export interface GetDbManagementPrivateEndpointsArgs { * The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. */ isCluster?: boolean; + /** + * The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + */ + isDnsResolutionEnabled?: boolean; /** * A filter to return only resources that match the entire name. */ @@ -87,6 +93,10 @@ export interface GetDbManagementPrivateEndpointsResult { * Specifies whether the Database Management private endpoint can be used for Oracle Databases in a cluster. */ readonly isCluster?: boolean; + /** + * Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + */ + readonly isDnsResolutionEnabled?: boolean; /** * The display name of the Database Management private endpoint. */ @@ -114,6 +124,7 @@ export interface GetDbManagementPrivateEndpointsResult { * const testDbManagementPrivateEndpoints = oci.DatabaseManagement.getDbManagementPrivateEndpoints({ * compartmentId: compartmentId, * isCluster: dbManagementPrivateEndpointIsCluster, + * isDnsResolutionEnabled: dbManagementPrivateEndpointIsDnsResolutionEnabled, * name: dbManagementPrivateEndpointName, * state: dbManagementPrivateEndpointState, * vcnId: testVcn.id, @@ -137,6 +148,10 @@ export interface GetDbManagementPrivateEndpointsOutputArgs { * The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. */ isCluster?: pulumi.Input; + /** + * The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + */ + isDnsResolutionEnabled?: pulumi.Input; /** * A filter to return only resources that match the entire name. */ diff --git a/sdk/nodejs/databasemanagement/getManagedDatabase.ts b/sdk/nodejs/databasemanagement/getManagedDatabase.ts index e00964ec68..d657eb3970 100644 --- a/sdk/nodejs/databasemanagement/getManagedDatabase.ts +++ b/sdk/nodejs/databasemanagement/getManagedDatabase.ts @@ -26,6 +26,7 @@ export function getManagedDatabase(args: GetManagedDatabaseArgs, opts?: pulumi.I opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("oci:DatabaseManagement/getManagedDatabase:getManagedDatabase", { + "databasePlatformName": args.databasePlatformName, "managedDatabaseId": args.managedDatabaseId, }, opts); } @@ -34,6 +35,10 @@ export function getManagedDatabase(args: GetManagedDatabaseArgs, opts?: pulumi.I * A collection of arguments for invoking getManagedDatabase. */ export interface GetManagedDatabaseArgs { + /** + * The operating system of database. + */ + databasePlatformName?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ @@ -52,6 +57,10 @@ export interface GetManagedDatabaseResult { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. */ readonly compartmentId: string; + /** + * The operating system of database. + */ + readonly databasePlatformName?: string; /** * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. */ @@ -72,6 +81,10 @@ export interface GetManagedDatabaseResult { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. */ readonly dbSystemId: string; + /** + * The list of feature configurations + */ + readonly dbmgmtFeatureConfigs: outputs.DatabaseManagement.GetManagedDatabaseDbmgmtFeatureConfig[]; /** * 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"}` */ @@ -113,6 +126,10 @@ export interface GetManagedDatabaseResult { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system. */ readonly storageSystemId: string; + /** + * 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"}` + */ + readonly systemTags: {[key: string]: string}; /** * The date and time the Managed Database was created. */ @@ -146,6 +163,10 @@ export function getManagedDatabaseOutput(args: GetManagedDatabaseOutputArgs, opt * A collection of arguments for invoking getManagedDatabase. */ export interface GetManagedDatabaseOutputArgs { + /** + * The operating system of database. + */ + databasePlatformName?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. */ diff --git a/sdk/nodejs/databasemanagement/index.ts b/sdk/nodejs/databasemanagement/index.ts index 683b62b33a..f0a5fb1b56 100644 --- a/sdk/nodejs/databasemanagement/index.ts +++ b/sdk/nodejs/databasemanagement/index.ts @@ -5,6 +5,11 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; // Export members: +export { AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs, AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState } from "./autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement"; +export type AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement = import("./autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement").AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement; +export const AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement: typeof import("./autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement").AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement = null as any; +utilities.lazyLoad(exports, ["AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement"], () => require("./autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement")); + export { DatabaseDbmFeaturesManagementArgs, DatabaseDbmFeaturesManagementState } from "./databaseDbmFeaturesManagement"; export type DatabaseDbmFeaturesManagement = import("./databaseDbmFeaturesManagement").DatabaseDbmFeaturesManagement; export const DatabaseDbmFeaturesManagement: typeof import("./databaseDbmFeaturesManagement").DatabaseDbmFeaturesManagement = null as any; @@ -650,6 +655,8 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement": + return new AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(name, undefined, { urn }) case "oci:DatabaseManagement/databaseDbmFeaturesManagement:DatabaseDbmFeaturesManagement": return new DatabaseDbmFeaturesManagement(name, undefined, { urn }) case "oci:DatabaseManagement/dbManagementPrivateEndpoint:DbManagementPrivateEndpoint": @@ -711,6 +718,7 @@ const _module = { } }, }; +pulumi.runtime.registerResourceModule("oci", "DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", _module) pulumi.runtime.registerResourceModule("oci", "DatabaseManagement/databaseDbmFeaturesManagement", _module) pulumi.runtime.registerResourceModule("oci", "DatabaseManagement/dbManagementPrivateEndpoint", _module) pulumi.runtime.registerResourceModule("oci", "DatabaseManagement/externalAsm", _module) diff --git a/sdk/nodejs/databasemanagement/managedDatabase.ts b/sdk/nodejs/databasemanagement/managedDatabase.ts index de6d4097d6..86193c9da5 100644 --- a/sdk/nodejs/databasemanagement/managedDatabase.ts +++ b/sdk/nodejs/databasemanagement/managedDatabase.ts @@ -55,6 +55,10 @@ export class ManagedDatabase extends pulumi.CustomResource { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. */ public /*out*/ readonly compartmentId!: pulumi.Output; + /** + * The operating system of database. + */ + public /*out*/ readonly databasePlatformName!: pulumi.Output; /** * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. */ @@ -75,6 +79,10 @@ export class ManagedDatabase extends pulumi.CustomResource { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. */ public /*out*/ readonly dbSystemId!: pulumi.Output; + /** + * The list of feature configurations + */ + public /*out*/ readonly dbmgmtFeatureConfigs!: pulumi.Output; /** * (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"}` */ @@ -147,11 +155,13 @@ export class ManagedDatabase extends pulumi.CustomResource { const state = argsOrState as ManagedDatabaseState | undefined; resourceInputs["additionalDetails"] = state ? state.additionalDetails : undefined; resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["databasePlatformName"] = state ? state.databasePlatformName : undefined; resourceInputs["databaseStatus"] = state ? state.databaseStatus : undefined; resourceInputs["databaseSubType"] = state ? state.databaseSubType : undefined; resourceInputs["databaseType"] = state ? state.databaseType : undefined; resourceInputs["databaseVersion"] = state ? state.databaseVersion : undefined; resourceInputs["dbSystemId"] = state ? state.dbSystemId : undefined; + resourceInputs["dbmgmtFeatureConfigs"] = state ? state.dbmgmtFeatureConfigs : undefined; resourceInputs["definedTags"] = state ? state.definedTags : undefined; resourceInputs["deploymentType"] = state ? state.deploymentType : undefined; resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; @@ -175,11 +185,13 @@ export class ManagedDatabase extends pulumi.CustomResource { resourceInputs["managedDatabaseId"] = args ? args.managedDatabaseId : undefined; resourceInputs["additionalDetails"] = undefined /*out*/; resourceInputs["compartmentId"] = undefined /*out*/; + resourceInputs["databasePlatformName"] = undefined /*out*/; resourceInputs["databaseStatus"] = undefined /*out*/; resourceInputs["databaseSubType"] = undefined /*out*/; resourceInputs["databaseType"] = undefined /*out*/; resourceInputs["databaseVersion"] = undefined /*out*/; resourceInputs["dbSystemId"] = undefined /*out*/; + resourceInputs["dbmgmtFeatureConfigs"] = undefined /*out*/; resourceInputs["deploymentType"] = undefined /*out*/; resourceInputs["isCluster"] = undefined /*out*/; resourceInputs["managedDatabaseGroups"] = undefined /*out*/; @@ -208,6 +220,10 @@ export interface ManagedDatabaseState { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. */ compartmentId?: pulumi.Input; + /** + * The operating system of database. + */ + databasePlatformName?: pulumi.Input; /** * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. */ @@ -228,6 +244,10 @@ export interface ManagedDatabaseState { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. */ dbSystemId?: pulumi.Input; + /** + * The list of feature configurations + */ + dbmgmtFeatureConfigs?: pulumi.Input[]>; /** * (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"}` */ diff --git a/sdk/nodejs/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.ts b/sdk/nodejs/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.ts index 1a03564d9b..a4f0107dcf 100644 --- a/sdk/nodejs/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.ts +++ b/sdk/nodejs/databasemanagement/pluggabledatabasePluggableDatabaseDbmFeaturesManagement.ts @@ -51,6 +51,7 @@ export class PluggabledatabasePluggableDatabaseDbmFeaturesManagement extends pul * The details required to enable the specified Database Management feature. */ public readonly featureDetails!: pulumi.Output; + public readonly modifyPluggableDatabaseDbmFeature!: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. */ @@ -71,6 +72,7 @@ export class PluggabledatabasePluggableDatabaseDbmFeaturesManagement extends pul const state = argsOrState as PluggabledatabasePluggableDatabaseDbmFeaturesManagementState | undefined; resourceInputs["enablePluggableDatabaseDbmFeature"] = state ? state.enablePluggableDatabaseDbmFeature : undefined; resourceInputs["featureDetails"] = state ? state.featureDetails : undefined; + resourceInputs["modifyPluggableDatabaseDbmFeature"] = state ? state.modifyPluggableDatabaseDbmFeature : undefined; resourceInputs["pluggableDatabaseId"] = state ? state.pluggableDatabaseId : undefined; } else { const args = argsOrState as PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs | undefined; @@ -82,6 +84,7 @@ export class PluggabledatabasePluggableDatabaseDbmFeaturesManagement extends pul } resourceInputs["enablePluggableDatabaseDbmFeature"] = args ? args.enablePluggableDatabaseDbmFeature : undefined; resourceInputs["featureDetails"] = args ? args.featureDetails : undefined; + resourceInputs["modifyPluggableDatabaseDbmFeature"] = args ? args.modifyPluggableDatabaseDbmFeature : undefined; resourceInputs["pluggableDatabaseId"] = args ? args.pluggableDatabaseId : undefined; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); @@ -105,6 +108,7 @@ export interface PluggabledatabasePluggableDatabaseDbmFeaturesManagementState { * The details required to enable the specified Database Management feature. */ featureDetails?: pulumi.Input; + modifyPluggableDatabaseDbmFeature?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. */ @@ -127,6 +131,7 @@ export interface PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs { * The details required to enable the specified Database Management feature. */ featureDetails?: pulumi.Input; + modifyPluggableDatabaseDbmFeature?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle cloud pluggable database. */ diff --git a/sdk/nodejs/datasafe/databaseSecurityConfigManagement.ts b/sdk/nodejs/datasafe/databaseSecurityConfigManagement.ts index 510d97b0ab..d096b2486d 100644 --- a/sdk/nodejs/datasafe/databaseSecurityConfigManagement.ts +++ b/sdk/nodejs/datasafe/databaseSecurityConfigManagement.ts @@ -6,6 +6,40 @@ import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as utilities from "../utilities"; +/** + * This resource provides the Database Security Config Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Updates the database security configuration. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDatabaseSecurityConfigManagement = new oci.datasafe.DatabaseSecurityConfigManagement("test_database_security_config_management", { + * compartmentId: compartmentId, + * targetId: testTargetDatabase.id, + * definedTags: { + * "Operations.CostCenter": "42", + * }, + * description: databaseSecurityConfigManagementDescription, + * displayName: databaseSecurityConfigManagementDisplayName, + * freeformTags: { + * Department: "Finance", + * }, + * sqlFirewallConfig: { + * excludeJob: databaseSecurityConfigManagementSqlFirewallConfigExcludeJob, + * status: databaseSecurityConfigManagementSqlFirewallConfigStatus, + * violationLogAutoPurge: databaseSecurityConfigManagementSqlFirewallConfigViolationLogAutoPurge, + * }, + * }); + * ``` + * + * ## Import + * + * Import is not supported for this resource. + */ export class DatabaseSecurityConfigManagement extends pulumi.CustomResource { /** * Get an existing DatabaseSecurityConfigManagement resource's state with the given name, ID, and optional extra @@ -34,19 +68,65 @@ export class DatabaseSecurityConfigManagement extends pulumi.CustomResource { return obj['__pulumiType'] === DatabaseSecurityConfigManagement.__pulumiType; } + /** + * (Updatable) The OCID of the compartment containing the database security config. + */ public readonly compartmentId!: pulumi.Output; + /** + * (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]: string}>; + /** + * (Updatable) The description of the security policy. + */ public readonly description!: pulumi.Output; + /** + * (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + */ 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"}` + */ public readonly freeformTags!: pulumi.Output<{[key: string]: string}>; + /** + * Details about the current state of the database security config in Data Safe. + */ public /*out*/ readonly lifecycleDetails!: pulumi.Output; + /** + * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 refreshTrigger!: pulumi.Output; + /** + * (Updatable) Details to update the SQL firewall config. + */ public readonly sqlFirewallConfig!: pulumi.Output; + /** + * The current state of the database security config. + */ public /*out*/ readonly state!: pulumi.Output; + /** + * 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"}` + */ public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; + /** + * Unique target identifier. + */ public readonly targetId!: pulumi.Output; + /** + * The time that the database security config was created, in the format defined by RFC3339. + */ public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The last date and time the database security config was refreshed, in the format defined by RFC3339. + */ public /*out*/ readonly timeLastRefreshed!: pulumi.Output; + /** + * The date and time the database security configuration was last updated, in the format defined by RFC3339. + */ public /*out*/ readonly timeUpdated!: pulumi.Output; /** @@ -102,19 +182,65 @@ export class DatabaseSecurityConfigManagement extends pulumi.CustomResource { * Input properties used for looking up and filtering DatabaseSecurityConfigManagement resources. */ export interface DatabaseSecurityConfigManagementState { + /** + * (Updatable) The OCID of the compartment containing the database security config. + */ compartmentId?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) The description of the security policy. + */ description?: pulumi.Input; + /** + * (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + */ 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"}` + */ freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Details about the current state of the database security config in Data Safe. + */ lifecycleDetails?: pulumi.Input; + /** + * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 + */ refreshTrigger?: pulumi.Input; + /** + * (Updatable) Details to update the SQL firewall config. + */ sqlFirewallConfig?: pulumi.Input; + /** + * The current state of the database security config. + */ state?: pulumi.Input; + /** + * 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"}` + */ systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Unique target identifier. + */ targetId?: pulumi.Input; + /** + * The time that the database security config was created, in the format defined by RFC3339. + */ timeCreated?: pulumi.Input; + /** + * The last date and time the database security config was refreshed, in the format defined by RFC3339. + */ timeLastRefreshed?: pulumi.Input; + /** + * The date and time the database security configuration was last updated, in the format defined by RFC3339. + */ timeUpdated?: pulumi.Input; } @@ -122,12 +248,40 @@ export interface DatabaseSecurityConfigManagementState { * The set of arguments for constructing a DatabaseSecurityConfigManagement resource. */ export interface DatabaseSecurityConfigManagementArgs { + /** + * (Updatable) The OCID of the compartment containing the database security config. + */ compartmentId?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) The description of the security policy. + */ description?: pulumi.Input; + /** + * (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + */ 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"}` + */ freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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 + */ refreshTrigger?: pulumi.Input; + /** + * (Updatable) Details to update the SQL firewall config. + */ sqlFirewallConfig?: pulumi.Input; + /** + * Unique target identifier. + */ targetId?: pulumi.Input; } diff --git a/sdk/nodejs/datasafe/index.ts b/sdk/nodejs/datasafe/index.ts index 3168d91750..215c1f40fd 100644 --- a/sdk/nodejs/datasafe/index.ts +++ b/sdk/nodejs/datasafe/index.ts @@ -700,6 +700,16 @@ export type MaskingPolicy = import("./maskingPolicy").MaskingPolicy; export const MaskingPolicy: typeof import("./maskingPolicy").MaskingPolicy = null as any; utilities.lazyLoad(exports, ["MaskingPolicy"], () => require("./maskingPolicy")); +export { MaskingPolicyHealthReportManagementArgs, MaskingPolicyHealthReportManagementState } from "./maskingPolicyHealthReportManagement"; +export type MaskingPolicyHealthReportManagement = import("./maskingPolicyHealthReportManagement").MaskingPolicyHealthReportManagement; +export const MaskingPolicyHealthReportManagement: typeof import("./maskingPolicyHealthReportManagement").MaskingPolicyHealthReportManagement = null as any; +utilities.lazyLoad(exports, ["MaskingPolicyHealthReportManagement"], () => require("./maskingPolicyHealthReportManagement")); + +export { MaskingReportManagementArgs, MaskingReportManagementState } from "./maskingReportManagement"; +export type MaskingReportManagement = import("./maskingReportManagement").MaskingReportManagement; +export const MaskingReportManagement: typeof import("./maskingReportManagement").MaskingReportManagement = null as any; +utilities.lazyLoad(exports, ["MaskingReportManagement"], () => require("./maskingReportManagement")); + export { OnPremConnectorArgs, OnPremConnectorState } from "./onPremConnector"; export type OnPremConnector = import("./onPremConnector").OnPremConnector; export const OnPremConnector: typeof import("./onPremConnector").OnPremConnector = null as any; @@ -770,11 +780,21 @@ export type SetSecurityAssessmentBaseline = import("./setSecurityAssessmentBasel export const SetSecurityAssessmentBaseline: typeof import("./setSecurityAssessmentBaseline").SetSecurityAssessmentBaseline = null as any; utilities.lazyLoad(exports, ["SetSecurityAssessmentBaseline"], () => require("./setSecurityAssessmentBaseline")); +export { SetSecurityAssessmentBaselineManagementArgs, SetSecurityAssessmentBaselineManagementState } from "./setSecurityAssessmentBaselineManagement"; +export type SetSecurityAssessmentBaselineManagement = import("./setSecurityAssessmentBaselineManagement").SetSecurityAssessmentBaselineManagement; +export const SetSecurityAssessmentBaselineManagement: typeof import("./setSecurityAssessmentBaselineManagement").SetSecurityAssessmentBaselineManagement = null as any; +utilities.lazyLoad(exports, ["SetSecurityAssessmentBaselineManagement"], () => require("./setSecurityAssessmentBaselineManagement")); + export { SetUserAssessmentBaselineArgs, SetUserAssessmentBaselineState } from "./setUserAssessmentBaseline"; export type SetUserAssessmentBaseline = import("./setUserAssessmentBaseline").SetUserAssessmentBaseline; export const SetUserAssessmentBaseline: typeof import("./setUserAssessmentBaseline").SetUserAssessmentBaseline = null as any; utilities.lazyLoad(exports, ["SetUserAssessmentBaseline"], () => require("./setUserAssessmentBaseline")); +export { SetUserAssessmentBaselineManagementArgs, SetUserAssessmentBaselineManagementState } from "./setUserAssessmentBaselineManagement"; +export type SetUserAssessmentBaselineManagement = import("./setUserAssessmentBaselineManagement").SetUserAssessmentBaselineManagement; +export const SetUserAssessmentBaselineManagement: typeof import("./setUserAssessmentBaselineManagement").SetUserAssessmentBaselineManagement = null as any; +utilities.lazyLoad(exports, ["SetUserAssessmentBaselineManagement"], () => require("./setUserAssessmentBaselineManagement")); + export { SqlCollectionArgs, SqlCollectionState } from "./sqlCollection"; export type SqlCollection = import("./sqlCollection").SqlCollection; export const SqlCollection: typeof import("./sqlCollection").SqlCollection = null as any; @@ -810,11 +830,21 @@ export type UnsetSecurityAssessmentBaseline = import("./unsetSecurityAssessmentB export const UnsetSecurityAssessmentBaseline: typeof import("./unsetSecurityAssessmentBaseline").UnsetSecurityAssessmentBaseline = null as any; utilities.lazyLoad(exports, ["UnsetSecurityAssessmentBaseline"], () => require("./unsetSecurityAssessmentBaseline")); +export { UnsetSecurityAssessmentBaselineManagementArgs, UnsetSecurityAssessmentBaselineManagementState } from "./unsetSecurityAssessmentBaselineManagement"; +export type UnsetSecurityAssessmentBaselineManagement = import("./unsetSecurityAssessmentBaselineManagement").UnsetSecurityAssessmentBaselineManagement; +export const UnsetSecurityAssessmentBaselineManagement: typeof import("./unsetSecurityAssessmentBaselineManagement").UnsetSecurityAssessmentBaselineManagement = null as any; +utilities.lazyLoad(exports, ["UnsetSecurityAssessmentBaselineManagement"], () => require("./unsetSecurityAssessmentBaselineManagement")); + export { UnsetUserAssessmentBaselineArgs, UnsetUserAssessmentBaselineState } from "./unsetUserAssessmentBaseline"; export type UnsetUserAssessmentBaseline = import("./unsetUserAssessmentBaseline").UnsetUserAssessmentBaseline; export const UnsetUserAssessmentBaseline: typeof import("./unsetUserAssessmentBaseline").UnsetUserAssessmentBaseline = null as any; utilities.lazyLoad(exports, ["UnsetUserAssessmentBaseline"], () => require("./unsetUserAssessmentBaseline")); +export { UnsetUserAssessmentBaselineManagementArgs, UnsetUserAssessmentBaselineManagementState } from "./unsetUserAssessmentBaselineManagement"; +export type UnsetUserAssessmentBaselineManagement = import("./unsetUserAssessmentBaselineManagement").UnsetUserAssessmentBaselineManagement; +export const UnsetUserAssessmentBaselineManagement: typeof import("./unsetUserAssessmentBaselineManagement").UnsetUserAssessmentBaselineManagement = null as any; +utilities.lazyLoad(exports, ["UnsetUserAssessmentBaselineManagement"], () => require("./unsetUserAssessmentBaselineManagement")); + export { UserAssessmentArgs, UserAssessmentState } from "./userAssessment"; export type UserAssessment = import("./userAssessment").UserAssessment; export const UserAssessment: typeof import("./userAssessment").UserAssessment = null as any; @@ -877,6 +907,10 @@ const _module = { return new MaskingPoliciesMaskingColumn(name, undefined, { urn }) case "oci:DataSafe/maskingPolicy:MaskingPolicy": return new MaskingPolicy(name, undefined, { urn }) + case "oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement": + return new MaskingPolicyHealthReportManagement(name, undefined, { urn }) + case "oci:DataSafe/maskingReportManagement:MaskingReportManagement": + return new MaskingReportManagement(name, undefined, { urn }) case "oci:DataSafe/onPremConnector:OnPremConnector": return new OnPremConnector(name, undefined, { urn }) case "oci:DataSafe/report:Report": @@ -905,8 +939,12 @@ const _module = { return new SensitiveType(name, undefined, { urn }) case "oci:DataSafe/setSecurityAssessmentBaseline:SetSecurityAssessmentBaseline": return new SetSecurityAssessmentBaseline(name, undefined, { urn }) + case "oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement": + return new SetSecurityAssessmentBaselineManagement(name, undefined, { urn }) case "oci:DataSafe/setUserAssessmentBaseline:SetUserAssessmentBaseline": return new SetUserAssessmentBaseline(name, undefined, { urn }) + case "oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement": + return new SetUserAssessmentBaselineManagement(name, undefined, { urn }) case "oci:DataSafe/sqlCollection:SqlCollection": return new SqlCollection(name, undefined, { urn }) case "oci:DataSafe/sqlFirewallPolicy:SqlFirewallPolicy": @@ -921,8 +959,12 @@ const _module = { return new TargetDatabasePeerTargetDatabase(name, undefined, { urn }) case "oci:DataSafe/unsetSecurityAssessmentBaseline:UnsetSecurityAssessmentBaseline": return new UnsetSecurityAssessmentBaseline(name, undefined, { urn }) + case "oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement": + return new UnsetSecurityAssessmentBaselineManagement(name, undefined, { urn }) case "oci:DataSafe/unsetUserAssessmentBaseline:UnsetUserAssessmentBaseline": return new UnsetUserAssessmentBaseline(name, undefined, { urn }) + case "oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement": + return new UnsetUserAssessmentBaselineManagement(name, undefined, { urn }) case "oci:DataSafe/userAssessment:UserAssessment": return new UserAssessment(name, undefined, { urn }) default: @@ -956,6 +998,8 @@ pulumi.runtime.registerResourceModule("oci", "DataSafe/maskData", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/maskingPoliciesApplyDifferenceToMaskingColumns", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/maskingPoliciesMaskingColumn", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/maskingPolicy", _module) +pulumi.runtime.registerResourceModule("oci", "DataSafe/maskingPolicyHealthReportManagement", _module) +pulumi.runtime.registerResourceModule("oci", "DataSafe/maskingReportManagement", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/onPremConnector", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/report", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/reportDefinition", _module) @@ -970,7 +1014,9 @@ pulumi.runtime.registerResourceModule("oci", "DataSafe/sensitiveDataModelsApplyD pulumi.runtime.registerResourceModule("oci", "DataSafe/sensitiveDataModelsSensitiveColumn", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/sensitiveType", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/setSecurityAssessmentBaseline", _module) +pulumi.runtime.registerResourceModule("oci", "DataSafe/setSecurityAssessmentBaselineManagement", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/setUserAssessmentBaseline", _module) +pulumi.runtime.registerResourceModule("oci", "DataSafe/setUserAssessmentBaselineManagement", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/sqlCollection", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/sqlFirewallPolicy", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/sqlFirewallPolicyManagement", _module) @@ -978,5 +1024,7 @@ pulumi.runtime.registerResourceModule("oci", "DataSafe/targetAlertPolicyAssociat pulumi.runtime.registerResourceModule("oci", "DataSafe/targetDatabase", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/targetDatabasePeerTargetDatabase", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/unsetSecurityAssessmentBaseline", _module) +pulumi.runtime.registerResourceModule("oci", "DataSafe/unsetSecurityAssessmentBaselineManagement", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/unsetUserAssessmentBaseline", _module) +pulumi.runtime.registerResourceModule("oci", "DataSafe/unsetUserAssessmentBaselineManagement", _module) pulumi.runtime.registerResourceModule("oci", "DataSafe/userAssessment", _module) diff --git a/sdk/nodejs/datasafe/maskingPolicyHealthReportManagement.ts b/sdk/nodejs/datasafe/maskingPolicyHealthReportManagement.ts new file mode 100644 index 0000000000..eb54d9559d --- /dev/null +++ b/sdk/nodejs/datasafe/maskingPolicyHealthReportManagement.ts @@ -0,0 +1,188 @@ +// *** 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 Pre-masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Gets the details of the specified pre-masking health report. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testPreMaskingReportManagement = new oci.datasafe.MaskingPolicyHealthReportManagement("test_pre_masking_report_management", { + * targetId: testTargetDatabase.id, + * maskingPolicyId: testMaskingPolicy.id, + * }); + * ``` + * + * ## Import + * + * Import is not supported for this resource. + */ +export class MaskingPolicyHealthReportManagement extends pulumi.CustomResource { + /** + * Get an existing MaskingPolicyHealthReportManagement 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?: MaskingPolicyHealthReportManagementState, opts?: pulumi.CustomResourceOptions): MaskingPolicyHealthReportManagement { + return new MaskingPolicyHealthReportManagement(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement'; + + /** + * Returns true if the given object is an instance of MaskingPolicyHealthReportManagement. 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 MaskingPolicyHealthReportManagement { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MaskingPolicyHealthReportManagement.__pulumiType; + } + + /** + * The OCID of the compartment that contains the masking report. + */ + public readonly compartmentId!: pulumi.Output; + public /*out*/ readonly definedTags!: pulumi.Output<{[key: string]: string}>; + /** + * Description for the pre-masking report, + */ + public /*out*/ readonly description!: pulumi.Output; + /** + * The display name of the pre-masking report, + */ + public /*out*/ readonly displayName!: pulumi.Output; + public /*out*/ readonly freeformTags!: pulumi.Output<{[key: string]: string}>; + /** + * The OCID of the masking policy. + */ + public readonly maskingPolicyId!: pulumi.Output; + /** + * The current state of the pre-masking report. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * The OCID of the target database masked. + */ + public readonly targetId!: pulumi.Output; + /** + * The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + */ + public /*out*/ readonly timeUpdated!: pulumi.Output; + + /** + * Create a MaskingPolicyHealthReportManagement 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?: MaskingPolicyHealthReportManagementArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: MaskingPolicyHealthReportManagementArgs | MaskingPolicyHealthReportManagementState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as MaskingPolicyHealthReportManagementState | 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["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["maskingPolicyId"] = state ? state.maskingPolicyId : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["targetId"] = state ? state.targetId : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + } else { + const args = argsOrState as MaskingPolicyHealthReportManagementArgs | undefined; + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["maskingPolicyId"] = args ? args.maskingPolicyId : undefined; + resourceInputs["targetId"] = args ? args.targetId : undefined; + resourceInputs["definedTags"] = undefined /*out*/; + resourceInputs["description"] = undefined /*out*/; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["freeformTags"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["timeUpdated"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(MaskingPolicyHealthReportManagement.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering MaskingPolicyHealthReportManagement resources. + */ +export interface MaskingPolicyHealthReportManagementState { + /** + * The OCID of the compartment that contains the masking report. + */ + compartmentId?: pulumi.Input; + definedTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Description for the pre-masking report, + */ + description?: pulumi.Input; + /** + * The display name of the pre-masking report, + */ + displayName?: pulumi.Input; + freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * The OCID of the masking policy. + */ + maskingPolicyId?: pulumi.Input; + /** + * The current state of the pre-masking report. + */ + state?: pulumi.Input; + /** + * The OCID of the target database masked. + */ + targetId?: pulumi.Input; + /** + * The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + */ + timeCreated?: pulumi.Input; + /** + * The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + */ + timeUpdated?: pulumi.Input; +} + +/** + * The set of arguments for constructing a MaskingPolicyHealthReportManagement resource. + */ +export interface MaskingPolicyHealthReportManagementArgs { + /** + * The OCID of the compartment that contains the masking report. + */ + compartmentId?: pulumi.Input; + /** + * The OCID of the masking policy. + */ + maskingPolicyId?: pulumi.Input; + /** + * The OCID of the target database masked. + */ + targetId?: pulumi.Input; +} diff --git a/sdk/nodejs/datasafe/maskingReportManagement.ts b/sdk/nodejs/datasafe/maskingReportManagement.ts new file mode 100644 index 0000000000..8ec183ad0c --- /dev/null +++ b/sdk/nodejs/datasafe/maskingReportManagement.ts @@ -0,0 +1,280 @@ +// *** 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 Masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Gets the details of the specified masking report. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testMaskingReportManagement = new oci.datasafe.MaskingReportManagement("test_masking_report_management", { + * targetId: testTargetDatabase.id, + * maskingPolicyId: testMaskingPolicy.id, + * }); + * ``` + * + * ## Import + * + * Import is not supported for this resource. + */ +export class MaskingReportManagement extends pulumi.CustomResource { + /** + * Get an existing MaskingReportManagement 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?: MaskingReportManagementState, opts?: pulumi.CustomResourceOptions): MaskingReportManagement { + return new MaskingReportManagement(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:DataSafe/maskingReportManagement:MaskingReportManagement'; + + /** + * Returns true if the given object is an instance of MaskingReportManagement. 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 MaskingReportManagement { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === MaskingReportManagement.__pulumiType; + } + + /** + * The OCID of the compartment that contains the masking report. + */ + public readonly compartmentId!: pulumi.Output; + /** + * Indicates if the temporary tables created during the masking operation were dropped after masking. + */ + public /*out*/ readonly isDropTempTablesEnabled!: pulumi.Output; + /** + * Indicates if redo logging was enabled during the masking operation. + */ + public /*out*/ readonly isRedoLoggingEnabled!: pulumi.Output; + /** + * Indicates if statistics gathering was enabled during the masking operation. + */ + public /*out*/ readonly isRefreshStatsEnabled!: pulumi.Output; + /** + * The OCID of the masking policy. + */ + public readonly maskingPolicyId!: pulumi.Output; + /** + * The OCID of the masking work request that resulted in this masking report. + */ + public /*out*/ readonly maskingWorkRequestId!: pulumi.Output; + /** + * Indicates if parallel execution was enabled during the masking operation. + */ + public /*out*/ readonly parallelDegree!: pulumi.Output; + /** + * Indicates how invalid objects were recompiled post the masking operation. + */ + public /*out*/ readonly recompile!: pulumi.Output; + /** + * The current state of the masking report. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * The OCID of the target database masked. + */ + public readonly targetId!: pulumi.Output; + /** + * The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + */ + public /*out*/ readonly timeMaskingFinished!: pulumi.Output; + /** + * The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + */ + public /*out*/ readonly timeMaskingStarted!: pulumi.Output; + /** + * The total number of masked columns. + */ + public /*out*/ readonly totalMaskedColumns!: pulumi.Output; + /** + * The total number of unique objects (tables and editioning views) that contain the masked columns. + */ + public /*out*/ readonly totalMaskedObjects!: pulumi.Output; + /** + * The total number of unique schemas that contain the masked columns. + */ + public /*out*/ readonly totalMaskedSchemas!: pulumi.Output; + /** + * The total number of unique sensitive types associated with the masked columns. + */ + public /*out*/ readonly totalMaskedSensitiveTypes!: pulumi.Output; + /** + * The total number of masked values. + */ + public /*out*/ readonly totalMaskedValues!: pulumi.Output; + + /** + * Create a MaskingReportManagement 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?: MaskingReportManagementArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: MaskingReportManagementArgs | MaskingReportManagementState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as MaskingReportManagementState | undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["isDropTempTablesEnabled"] = state ? state.isDropTempTablesEnabled : undefined; + resourceInputs["isRedoLoggingEnabled"] = state ? state.isRedoLoggingEnabled : undefined; + resourceInputs["isRefreshStatsEnabled"] = state ? state.isRefreshStatsEnabled : undefined; + resourceInputs["maskingPolicyId"] = state ? state.maskingPolicyId : undefined; + resourceInputs["maskingWorkRequestId"] = state ? state.maskingWorkRequestId : undefined; + resourceInputs["parallelDegree"] = state ? state.parallelDegree : undefined; + resourceInputs["recompile"] = state ? state.recompile : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["targetId"] = state ? state.targetId : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeMaskingFinished"] = state ? state.timeMaskingFinished : undefined; + resourceInputs["timeMaskingStarted"] = state ? state.timeMaskingStarted : undefined; + resourceInputs["totalMaskedColumns"] = state ? state.totalMaskedColumns : undefined; + resourceInputs["totalMaskedObjects"] = state ? state.totalMaskedObjects : undefined; + resourceInputs["totalMaskedSchemas"] = state ? state.totalMaskedSchemas : undefined; + resourceInputs["totalMaskedSensitiveTypes"] = state ? state.totalMaskedSensitiveTypes : undefined; + resourceInputs["totalMaskedValues"] = state ? state.totalMaskedValues : undefined; + } else { + const args = argsOrState as MaskingReportManagementArgs | undefined; + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["maskingPolicyId"] = args ? args.maskingPolicyId : undefined; + resourceInputs["targetId"] = args ? args.targetId : undefined; + resourceInputs["isDropTempTablesEnabled"] = undefined /*out*/; + resourceInputs["isRedoLoggingEnabled"] = undefined /*out*/; + resourceInputs["isRefreshStatsEnabled"] = undefined /*out*/; + resourceInputs["maskingWorkRequestId"] = undefined /*out*/; + resourceInputs["parallelDegree"] = undefined /*out*/; + resourceInputs["recompile"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["timeMaskingFinished"] = undefined /*out*/; + resourceInputs["timeMaskingStarted"] = undefined /*out*/; + resourceInputs["totalMaskedColumns"] = undefined /*out*/; + resourceInputs["totalMaskedObjects"] = undefined /*out*/; + resourceInputs["totalMaskedSchemas"] = undefined /*out*/; + resourceInputs["totalMaskedSensitiveTypes"] = undefined /*out*/; + resourceInputs["totalMaskedValues"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(MaskingReportManagement.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering MaskingReportManagement resources. + */ +export interface MaskingReportManagementState { + /** + * The OCID of the compartment that contains the masking report. + */ + compartmentId?: pulumi.Input; + /** + * Indicates if the temporary tables created during the masking operation were dropped after masking. + */ + isDropTempTablesEnabled?: pulumi.Input; + /** + * Indicates if redo logging was enabled during the masking operation. + */ + isRedoLoggingEnabled?: pulumi.Input; + /** + * Indicates if statistics gathering was enabled during the masking operation. + */ + isRefreshStatsEnabled?: pulumi.Input; + /** + * The OCID of the masking policy. + */ + maskingPolicyId?: pulumi.Input; + /** + * The OCID of the masking work request that resulted in this masking report. + */ + maskingWorkRequestId?: pulumi.Input; + /** + * Indicates if parallel execution was enabled during the masking operation. + */ + parallelDegree?: pulumi.Input; + /** + * Indicates how invalid objects were recompiled post the masking operation. + */ + recompile?: pulumi.Input; + /** + * The current state of the masking report. + */ + state?: pulumi.Input; + /** + * The OCID of the target database masked. + */ + targetId?: pulumi.Input; + /** + * The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + */ + timeCreated?: pulumi.Input; + /** + * The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + */ + timeMaskingFinished?: pulumi.Input; + /** + * The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + */ + timeMaskingStarted?: pulumi.Input; + /** + * The total number of masked columns. + */ + totalMaskedColumns?: pulumi.Input; + /** + * The total number of unique objects (tables and editioning views) that contain the masked columns. + */ + totalMaskedObjects?: pulumi.Input; + /** + * The total number of unique schemas that contain the masked columns. + */ + totalMaskedSchemas?: pulumi.Input; + /** + * The total number of unique sensitive types associated with the masked columns. + */ + totalMaskedSensitiveTypes?: pulumi.Input; + /** + * The total number of masked values. + */ + totalMaskedValues?: pulumi.Input; +} + +/** + * The set of arguments for constructing a MaskingReportManagement resource. + */ +export interface MaskingReportManagementArgs { + /** + * The OCID of the compartment that contains the masking report. + */ + compartmentId?: pulumi.Input; + /** + * The OCID of the masking policy. + */ + maskingPolicyId?: pulumi.Input; + /** + * The OCID of the target database masked. + */ + targetId?: pulumi.Input; +} diff --git a/sdk/nodejs/datasafe/securityPolicyDeploymentManagement.ts b/sdk/nodejs/datasafe/securityPolicyDeploymentManagement.ts index fa52fa6455..8578b5a6d0 100644 --- a/sdk/nodejs/datasafe/securityPolicyDeploymentManagement.ts +++ b/sdk/nodejs/datasafe/securityPolicyDeploymentManagement.ts @@ -4,6 +4,35 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; +/** + * This resource provides the Security Policy Deployment Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Updates the security policy deployment. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSecurityPolicyDeploymentManagement = new oci.datasafe.SecurityPolicyDeploymentManagement("test_security_policy_deployment_management", { + * compartmentId: compartmentId, + * targetId: testTargetDatabase.id, + * definedTags: { + * "Operations.CostCenter": "42", + * }, + * description: securityPolicyDeploymentManagementDescription, + * displayName: securityPolicyDeploymentManagementDisplayName, + * freeformTags: { + * Department: "Finance", + * }, + * }); + * ``` + * + * ## Import + * + * Import is not supported for this resource. + */ export class SecurityPolicyDeploymentManagement extends pulumi.CustomResource { /** * Get an existing SecurityPolicyDeploymentManagement resource's state with the given name, ID, and optional extra @@ -32,17 +61,53 @@ export class SecurityPolicyDeploymentManagement extends pulumi.CustomResource { return obj['__pulumiType'] === SecurityPolicyDeploymentManagement.__pulumiType; } + /** + * (Updatable) The OCID of the compartment containing the security policy deployment. + */ public readonly compartmentId!: pulumi.Output; + /** + * (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]: string}>; + /** + * (Updatable) The description of the security policy deployment. + */ public readonly description!: pulumi.Output; + /** + * (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + */ 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"}` + */ public readonly freeformTags!: pulumi.Output<{[key: string]: string}>; + /** + * Details about the current state of the security policy deployment in Data Safe. + */ public /*out*/ readonly lifecycleDetails!: pulumi.Output; + /** + * The OCID of the security policy corresponding to the security policy deployment. + */ public /*out*/ readonly securityPolicyId!: pulumi.Output; + /** + * The current state of the security policy deployment. + */ public /*out*/ readonly state!: pulumi.Output; + /** + * 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"}` + */ public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; + /** + * Unique target identifier. + */ public readonly targetId!: pulumi.Output; + /** + * The time that the security policy deployment was created, in the format defined by RFC3339. + */ public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The last date and time the security policy deployment was updated, in the format defined by RFC3339. + */ public /*out*/ readonly timeUpdated!: pulumi.Output; /** @@ -94,17 +159,53 @@ export class SecurityPolicyDeploymentManagement extends pulumi.CustomResource { * Input properties used for looking up and filtering SecurityPolicyDeploymentManagement resources. */ export interface SecurityPolicyDeploymentManagementState { + /** + * (Updatable) The OCID of the compartment containing the security policy deployment. + */ compartmentId?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) The description of the security policy deployment. + */ description?: pulumi.Input; + /** + * (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + */ 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"}` + */ freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Details about the current state of the security policy deployment in Data Safe. + */ lifecycleDetails?: pulumi.Input; + /** + * The OCID of the security policy corresponding to the security policy deployment. + */ securityPolicyId?: pulumi.Input; + /** + * The current state of the security policy deployment. + */ state?: pulumi.Input; + /** + * 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"}` + */ systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Unique target identifier. + */ targetId?: pulumi.Input; + /** + * The time that the security policy deployment was created, in the format defined by RFC3339. + */ timeCreated?: pulumi.Input; + /** + * The last date and time the security policy deployment was updated, in the format defined by RFC3339. + */ timeUpdated?: pulumi.Input; } @@ -112,10 +213,28 @@ export interface SecurityPolicyDeploymentManagementState { * The set of arguments for constructing a SecurityPolicyDeploymentManagement resource. */ export interface SecurityPolicyDeploymentManagementArgs { + /** + * (Updatable) The OCID of the compartment containing the security policy deployment. + */ compartmentId?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) The description of the security policy deployment. + */ description?: pulumi.Input; + /** + * (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + */ 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"}` + */ freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Unique target identifier. + */ targetId?: pulumi.Input; } diff --git a/sdk/nodejs/datasafe/securityPolicyManagement.ts b/sdk/nodejs/datasafe/securityPolicyManagement.ts index da5c9a0d0a..7ebb95573c 100644 --- a/sdk/nodejs/datasafe/securityPolicyManagement.ts +++ b/sdk/nodejs/datasafe/securityPolicyManagement.ts @@ -4,6 +4,35 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; +/** + * This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Updates the security policy. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSecurityPolicyManagement = new oci.datasafe.SecurityPolicyManagement("test_security_policy_management", { + * compartmentId: compartmentId, + * targetId: testTargetDatabase.id, + * definedTags: { + * "Operations.CostCenter": "42", + * }, + * description: securityPolicyManagementDescription, + * displayName: securityPolicyManagementDisplayName, + * freeformTags: { + * Department: "Finance", + * }, + * }); + * ``` + * + * ## Import + * + * Import is not supported for this resource. + */ export class SecurityPolicyManagement extends pulumi.CustomResource { /** * Get an existing SecurityPolicyManagement resource's state with the given name, ID, and optional extra @@ -32,16 +61,49 @@ export class SecurityPolicyManagement extends pulumi.CustomResource { return obj['__pulumiType'] === SecurityPolicyManagement.__pulumiType; } + /** + * (Updatable) The OCID of the compartment containing the security policy. + */ public readonly compartmentId!: pulumi.Output; + /** + * (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]: string}>; + /** + * (Updatable) The description of the security policy. + */ public readonly description!: pulumi.Output; + /** + * (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + */ 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"}` + */ public readonly freeformTags!: pulumi.Output<{[key: string]: string}>; + /** + * Details about the current state of the security policy in Data Safe. + */ public /*out*/ readonly lifecycleDetails!: pulumi.Output; + /** + * The current state of the security policy. + */ public /*out*/ readonly state!: pulumi.Output; + /** + * 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"}` + */ public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; + /** + * Unique target identifier. + */ public readonly targetId!: pulumi.Output; + /** + * The time that the security policy was created, in the format defined by RFC3339. + */ public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The last date and time the security policy was updated, in the format defined by RFC3339. + */ public /*out*/ readonly timeUpdated!: pulumi.Output; /** @@ -91,16 +153,49 @@ export class SecurityPolicyManagement extends pulumi.CustomResource { * Input properties used for looking up and filtering SecurityPolicyManagement resources. */ export interface SecurityPolicyManagementState { + /** + * (Updatable) The OCID of the compartment containing the security policy. + */ compartmentId?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) The description of the security policy. + */ description?: pulumi.Input; + /** + * (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + */ 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"}` + */ freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Details about the current state of the security policy in Data Safe. + */ lifecycleDetails?: pulumi.Input; + /** + * The current state of the security policy. + */ state?: pulumi.Input; + /** + * 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"}` + */ systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Unique target identifier. + */ targetId?: pulumi.Input; + /** + * The time that the security policy was created, in the format defined by RFC3339. + */ timeCreated?: pulumi.Input; + /** + * The last date and time the security policy was updated, in the format defined by RFC3339. + */ timeUpdated?: pulumi.Input; } @@ -108,10 +203,28 @@ export interface SecurityPolicyManagementState { * The set of arguments for constructing a SecurityPolicyManagement resource. */ export interface SecurityPolicyManagementArgs { + /** + * (Updatable) The OCID of the compartment containing the security policy. + */ compartmentId?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) The description of the security policy. + */ description?: pulumi.Input; + /** + * (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + */ 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"}` + */ freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Unique target identifier. + */ targetId?: pulumi.Input; } diff --git a/sdk/nodejs/datasafe/setSecurityAssessmentBaselineManagement.ts b/sdk/nodejs/datasafe/setSecurityAssessmentBaselineManagement.ts new file mode 100644 index 0000000000..10d43e5f90 --- /dev/null +++ b/sdk/nodejs/datasafe/setSecurityAssessmentBaselineManagement.ts @@ -0,0 +1,146 @@ +// *** 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 Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSetSecurityAssessmentBaselineManagement = new oci.datasafe.SetSecurityAssessmentBaselineManagement("test_set_security_assessment_baseline_management", { + * targetId: testTargetDatabase.id, + * compartmentId: comaprtmentId, + * }); + * ``` + * + * ## Import + * + * SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id" + * ``` + */ +export class SetSecurityAssessmentBaselineManagement extends pulumi.CustomResource { + /** + * Get an existing SetSecurityAssessmentBaselineManagement 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?: SetSecurityAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions): SetSecurityAssessmentBaselineManagement { + return new SetSecurityAssessmentBaselineManagement(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement'; + + /** + * Returns true if the given object is an instance of SetSecurityAssessmentBaselineManagement. 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 SetSecurityAssessmentBaselineManagement { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SetSecurityAssessmentBaselineManagement.__pulumiType; + } + + public /*out*/ readonly assessmentIds!: pulumi.Output; + /** + * The compartment OCID of the target. + * + * + * ** IMPORTANT ** + * 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 compartmentId!: pulumi.Output; + public /*out*/ readonly securityAssessmentId!: pulumi.Output; + /** + * The target OCID for which SA needs to be set as baseline. + */ + public readonly targetId!: pulumi.Output; + + /** + * Create a SetSecurityAssessmentBaselineManagement 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: SetSecurityAssessmentBaselineManagementArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: SetSecurityAssessmentBaselineManagementArgs | SetSecurityAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as SetSecurityAssessmentBaselineManagementState | undefined; + resourceInputs["assessmentIds"] = state ? state.assessmentIds : undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["securityAssessmentId"] = state ? state.securityAssessmentId : undefined; + resourceInputs["targetId"] = state ? state.targetId : undefined; + } else { + const args = argsOrState as SetSecurityAssessmentBaselineManagementArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.targetId === undefined) && !opts.urn) { + throw new Error("Missing required property 'targetId'"); + } + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["targetId"] = args ? args.targetId : undefined; + resourceInputs["assessmentIds"] = undefined /*out*/; + resourceInputs["securityAssessmentId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(SetSecurityAssessmentBaselineManagement.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering SetSecurityAssessmentBaselineManagement resources. + */ +export interface SetSecurityAssessmentBaselineManagementState { + assessmentIds?: pulumi.Input[]>; + /** + * The compartment OCID of the target. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + compartmentId?: pulumi.Input; + securityAssessmentId?: pulumi.Input; + /** + * The target OCID for which SA needs to be set as baseline. + */ + targetId?: pulumi.Input; +} + +/** + * The set of arguments for constructing a SetSecurityAssessmentBaselineManagement resource. + */ +export interface SetSecurityAssessmentBaselineManagementArgs { + /** + * The compartment OCID of the target. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + compartmentId: pulumi.Input; + /** + * The target OCID for which SA needs to be set as baseline. + */ + targetId: pulumi.Input; +} diff --git a/sdk/nodejs/datasafe/setUserAssessmentBaselineManagement.ts b/sdk/nodejs/datasafe/setUserAssessmentBaselineManagement.ts new file mode 100644 index 0000000000..4bf059a789 --- /dev/null +++ b/sdk/nodejs/datasafe/setUserAssessmentBaselineManagement.ts @@ -0,0 +1,146 @@ +// *** 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 Set User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Sets the saved user assessment as the baseline in the compartment where the the specified assessment resides. The user assessment needs to be of type 'SAVED'. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSetUserAssessmentBaselineManagement = new oci.datasafe.SetUserAssessmentBaselineManagement("test_set_user_assessment_baseline_management", { + * targetId: testTargetDatabase.id, + * compartmentId: comaprtmentId, + * }); + * ``` + * + * ## Import + * + * SetUserAssessmentBaselineManagement can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement test_set_user_assessment_baseline_management "id" + * ``` + */ +export class SetUserAssessmentBaselineManagement extends pulumi.CustomResource { + /** + * Get an existing SetUserAssessmentBaselineManagement 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?: SetUserAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions): SetUserAssessmentBaselineManagement { + return new SetUserAssessmentBaselineManagement(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement'; + + /** + * Returns true if the given object is an instance of SetUserAssessmentBaselineManagement. 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 SetUserAssessmentBaselineManagement { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === SetUserAssessmentBaselineManagement.__pulumiType; + } + + public /*out*/ readonly assessmentIds!: pulumi.Output; + /** + * The compartment OCID of the target. + * + * + * ** IMPORTANT ** + * 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 compartmentId!: pulumi.Output; + /** + * The target OCID for which UA needs to be set as baseline. + */ + public readonly targetId!: pulumi.Output; + public /*out*/ readonly userAssessmentId!: pulumi.Output; + + /** + * Create a SetUserAssessmentBaselineManagement 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: SetUserAssessmentBaselineManagementArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: SetUserAssessmentBaselineManagementArgs | SetUserAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as SetUserAssessmentBaselineManagementState | undefined; + resourceInputs["assessmentIds"] = state ? state.assessmentIds : undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["targetId"] = state ? state.targetId : undefined; + resourceInputs["userAssessmentId"] = state ? state.userAssessmentId : undefined; + } else { + const args = argsOrState as SetUserAssessmentBaselineManagementArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.targetId === undefined) && !opts.urn) { + throw new Error("Missing required property 'targetId'"); + } + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["targetId"] = args ? args.targetId : undefined; + resourceInputs["assessmentIds"] = undefined /*out*/; + resourceInputs["userAssessmentId"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(SetUserAssessmentBaselineManagement.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering SetUserAssessmentBaselineManagement resources. + */ +export interface SetUserAssessmentBaselineManagementState { + assessmentIds?: pulumi.Input[]>; + /** + * The compartment OCID of the target. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + compartmentId?: pulumi.Input; + /** + * The target OCID for which UA needs to be set as baseline. + */ + targetId?: pulumi.Input; + userAssessmentId?: pulumi.Input; +} + +/** + * The set of arguments for constructing a SetUserAssessmentBaselineManagement resource. + */ +export interface SetUserAssessmentBaselineManagementArgs { + /** + * The compartment OCID of the target. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + compartmentId: pulumi.Input; + /** + * The target OCID for which UA needs to be set as baseline. + */ + targetId: pulumi.Input; +} diff --git a/sdk/nodejs/datasafe/sqlFirewallPolicyManagement.ts b/sdk/nodejs/datasafe/sqlFirewallPolicyManagement.ts index 90492c9aa1..64b91b79f5 100644 --- a/sdk/nodejs/datasafe/sqlFirewallPolicyManagement.ts +++ b/sdk/nodejs/datasafe/sqlFirewallPolicyManagement.ts @@ -4,6 +4,43 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; +/** + * This resource provides the Sql Firewall Policy Management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Updates the SQL firewall policy. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testSqlFirewallPolicyManagement = new oci.datasafe.SqlFirewallPolicyManagement("test_sql_firewall_policy_management", { + * compartmentId: compartmentId, + * targetId: testTargetDatabase.id, + * dbUserName: testUser.name, + * allowedClientIps: sqlFirewallPolicyManagementAllowedClientIps, + * allowedClientOsUsernames: sqlFirewallPolicyManagementAllowedClientOsUsernames, + * allowedClientPrograms: sqlFirewallPolicyManagementAllowedClientPrograms, + * definedTags: { + * "Operations.CostCenter": "42", + * }, + * description: sqlFirewallPolicyManagementDescription, + * displayName: sqlFirewallPolicyManagementDisplayName, + * enforcementScope: sqlFirewallPolicyManagementEnforcementScope, + * freeformTags: { + * Department: "Finance", + * }, + * status: sqlFirewallPolicyManagementStatus, + * violationAction: sqlFirewallPolicyManagementViolationAction, + * violationAudit: sqlFirewallPolicyManagementViolationAudit, + * }); + * ``` + * + * ## Import + * + * Import is not supported for this resource. + */ export class SqlFirewallPolicyManagement extends pulumi.CustomResource { /** * Get an existing SqlFirewallPolicyManagement resource's state with the given name, ID, and optional extra @@ -32,27 +69,97 @@ export class SqlFirewallPolicyManagement extends pulumi.CustomResource { return obj['__pulumiType'] === SqlFirewallPolicyManagement.__pulumiType; } + /** + * (Updatable) List of allowed ip addresses for the SQL firewall policy. + */ public readonly allowedClientIps!: pulumi.Output; + /** + * (Updatable) List of allowed operating system user names for the SQL firewall policy. + */ public readonly allowedClientOsUsernames!: pulumi.Output; + /** + * (Updatable) List of allowed client programs for the SQL firewall policy. + */ public readonly allowedClientPrograms!: pulumi.Output; + /** + * (Updatable) The OCID of the compartment containing the SQL firewall policy. + */ public readonly compartmentId!: pulumi.Output; + /** + * The database user name. + */ public readonly dbUserName!: pulumi.Output; + /** + * (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]: string}>; + /** + * (Updatable) The description of the SQL firewall policy. + */ public readonly description!: pulumi.Output; + /** + * (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + */ public readonly displayName!: pulumi.Output; + /** + * (Updatable) Specifies the SQL firewall policy enforcement option. + */ public readonly enforcementScope!: 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]: string}>; + /** + * Details about the current state of the SQL firewall policy in Data Safe. + */ public /*out*/ readonly lifecycleDetails!: pulumi.Output; + /** + * The OCID of the security policy corresponding to the SQL firewall policy. + */ public /*out*/ readonly securityPolicyId!: pulumi.Output; + /** + * The OCID of the SQL firewall policy resource. + */ public readonly sqlFirewallPolicyId!: pulumi.Output; + /** + * Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + */ public /*out*/ readonly sqlLevel!: pulumi.Output; + /** + * The current state of the SQL firewall policy. + */ public readonly state!: pulumi.Output; + /** + * (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + */ public readonly status!: pulumi.Output; + /** + * 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"}` + */ public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; + /** + * Unique target identifier. + */ public readonly targetId!: pulumi.Output; + /** + * The time that the SQL firewall policy was created, in the format defined by RFC3339. + */ public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + */ public /*out*/ readonly timeUpdated!: pulumi.Output; + /** + * (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + */ public readonly violationAction!: pulumi.Output; + /** + * (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * + * ** IMPORTANT ** + * 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 violationAudit!: pulumi.Output; /** @@ -124,27 +231,97 @@ export class SqlFirewallPolicyManagement extends pulumi.CustomResource { * Input properties used for looking up and filtering SqlFirewallPolicyManagement resources. */ export interface SqlFirewallPolicyManagementState { + /** + * (Updatable) List of allowed ip addresses for the SQL firewall policy. + */ allowedClientIps?: pulumi.Input[]>; + /** + * (Updatable) List of allowed operating system user names for the SQL firewall policy. + */ allowedClientOsUsernames?: pulumi.Input[]>; + /** + * (Updatable) List of allowed client programs for the SQL firewall policy. + */ allowedClientPrograms?: pulumi.Input[]>; + /** + * (Updatable) The OCID of the compartment containing the SQL firewall policy. + */ compartmentId?: pulumi.Input; + /** + * The database user name. + */ dbUserName?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) The description of the SQL firewall policy. + */ description?: pulumi.Input; + /** + * (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + */ displayName?: pulumi.Input; + /** + * (Updatable) Specifies the SQL firewall policy enforcement option. + */ enforcementScope?: 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]: pulumi.Input}>; + /** + * Details about the current state of the SQL firewall policy in Data Safe. + */ lifecycleDetails?: pulumi.Input; + /** + * The OCID of the security policy corresponding to the SQL firewall policy. + */ securityPolicyId?: pulumi.Input; + /** + * The OCID of the SQL firewall policy resource. + */ sqlFirewallPolicyId?: pulumi.Input; + /** + * Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + */ sqlLevel?: pulumi.Input; + /** + * The current state of the SQL firewall policy. + */ state?: pulumi.Input; + /** + * (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + */ status?: pulumi.Input; + /** + * 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"}` + */ systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Unique target identifier. + */ targetId?: pulumi.Input; + /** + * The time that the SQL firewall policy was created, in the format defined by RFC3339. + */ timeCreated?: pulumi.Input; + /** + * The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + */ timeUpdated?: pulumi.Input; + /** + * (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + */ violationAction?: pulumi.Input; + /** + * (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ violationAudit?: pulumi.Input; } @@ -152,20 +329,72 @@ export interface SqlFirewallPolicyManagementState { * The set of arguments for constructing a SqlFirewallPolicyManagement resource. */ export interface SqlFirewallPolicyManagementArgs { + /** + * (Updatable) List of allowed ip addresses for the SQL firewall policy. + */ allowedClientIps?: pulumi.Input[]>; + /** + * (Updatable) List of allowed operating system user names for the SQL firewall policy. + */ allowedClientOsUsernames?: pulumi.Input[]>; + /** + * (Updatable) List of allowed client programs for the SQL firewall policy. + */ allowedClientPrograms?: pulumi.Input[]>; + /** + * (Updatable) The OCID of the compartment containing the SQL firewall policy. + */ compartmentId?: pulumi.Input; + /** + * The database user name. + */ dbUserName?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) The description of the SQL firewall policy. + */ description?: pulumi.Input; + /** + * (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + */ displayName?: pulumi.Input; + /** + * (Updatable) Specifies the SQL firewall policy enforcement option. + */ enforcementScope?: 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]: pulumi.Input}>; + /** + * The OCID of the SQL firewall policy resource. + */ sqlFirewallPolicyId?: pulumi.Input; + /** + * The current state of the SQL firewall policy. + */ state?: pulumi.Input; + /** + * (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + */ status?: pulumi.Input; + /** + * Unique target identifier. + */ targetId?: pulumi.Input; + /** + * (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + */ violationAction?: pulumi.Input; + /** + * (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ violationAudit?: pulumi.Input; } diff --git a/sdk/nodejs/datasafe/unsetSecurityAssessmentBaselineManagement.ts b/sdk/nodejs/datasafe/unsetSecurityAssessmentBaselineManagement.ts new file mode 100644 index 0000000000..8fa6bd0ac5 --- /dev/null +++ b/sdk/nodejs/datasafe/unsetSecurityAssessmentBaselineManagement.ts @@ -0,0 +1,138 @@ +// *** 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 Unset Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Removes the baseline setting for the saved security assessment as the baseline in the compartment where the the specified assessment resides. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testUnsetSecurityAssessmentBaselineManagement = new oci.datasafe.UnsetSecurityAssessmentBaselineManagement("test_unset_security_assessment_baseline_management", { + * securityAssessmentId: testSetSecurityAssessmentBaselineManagement.securityAssessmentId, + * compartmentId: comaprtmentId, + * }); + * ``` + * + * ## Import + * + * UnsetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement test_unset_security_assessment_baseline_management "id" + * ``` + */ +export class UnsetSecurityAssessmentBaselineManagement extends pulumi.CustomResource { + /** + * Get an existing UnsetSecurityAssessmentBaselineManagement 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?: UnsetSecurityAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions): UnsetSecurityAssessmentBaselineManagement { + return new UnsetSecurityAssessmentBaselineManagement(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement'; + + /** + * Returns true if the given object is an instance of UnsetSecurityAssessmentBaselineManagement. 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 UnsetSecurityAssessmentBaselineManagement { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === UnsetSecurityAssessmentBaselineManagement.__pulumiType; + } + + /** + * The compartment OCID where the assessment resides. + * + * + * ** IMPORTANT ** + * 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 compartmentId!: pulumi.Output; + /** + * The OCID of the security assessment. + */ + public readonly securityAssessmentId!: pulumi.Output; + + /** + * Create a UnsetSecurityAssessmentBaselineManagement 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: UnsetSecurityAssessmentBaselineManagementArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: UnsetSecurityAssessmentBaselineManagementArgs | UnsetSecurityAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as UnsetSecurityAssessmentBaselineManagementState | undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["securityAssessmentId"] = state ? state.securityAssessmentId : undefined; + } else { + const args = argsOrState as UnsetSecurityAssessmentBaselineManagementArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.securityAssessmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'securityAssessmentId'"); + } + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["securityAssessmentId"] = args ? args.securityAssessmentId : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(UnsetSecurityAssessmentBaselineManagement.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering UnsetSecurityAssessmentBaselineManagement resources. + */ +export interface UnsetSecurityAssessmentBaselineManagementState { + /** + * The compartment OCID where the assessment resides. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + compartmentId?: pulumi.Input; + /** + * The OCID of the security assessment. + */ + securityAssessmentId?: pulumi.Input; +} + +/** + * The set of arguments for constructing a UnsetSecurityAssessmentBaselineManagement resource. + */ +export interface UnsetSecurityAssessmentBaselineManagementArgs { + /** + * The compartment OCID where the assessment resides. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + compartmentId: pulumi.Input; + /** + * The OCID of the security assessment. + */ + securityAssessmentId: pulumi.Input; +} diff --git a/sdk/nodejs/datasafe/unsetUserAssessmentBaselineManagement.ts b/sdk/nodejs/datasafe/unsetUserAssessmentBaselineManagement.ts new file mode 100644 index 0000000000..252a04909a --- /dev/null +++ b/sdk/nodejs/datasafe/unsetUserAssessmentBaselineManagement.ts @@ -0,0 +1,138 @@ +// *** 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 Unset User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + * + * Removes the baseline setting for the saved user assessment as the baseline in the compartment where the the specified assessment resides. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testUnsetUserAssessmentBaselineManagement = new oci.datasafe.UnsetUserAssessmentBaselineManagement("test_unset_user_assessment_baseline_management", { + * userAssessmentId: testSetUserAssessmentBaselineManagement.userAssessmentId, + * compartmentId: comaprtmentId, + * }); + * ``` + * + * ## Import + * + * UnsetUserAssessmentBaselineManagement can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement test_unset_user_assessment_baseline_management "id" + * ``` + */ +export class UnsetUserAssessmentBaselineManagement extends pulumi.CustomResource { + /** + * Get an existing UnsetUserAssessmentBaselineManagement 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?: UnsetUserAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions): UnsetUserAssessmentBaselineManagement { + return new UnsetUserAssessmentBaselineManagement(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement'; + + /** + * Returns true if the given object is an instance of UnsetUserAssessmentBaselineManagement. 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 UnsetUserAssessmentBaselineManagement { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === UnsetUserAssessmentBaselineManagement.__pulumiType; + } + + /** + * The compartment OCID where the assessment resides. + * + * + * ** IMPORTANT ** + * 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 compartmentId!: pulumi.Output; + /** + * The OCID of the user assessment. + */ + public readonly userAssessmentId!: pulumi.Output; + + /** + * Create a UnsetUserAssessmentBaselineManagement 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: UnsetUserAssessmentBaselineManagementArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: UnsetUserAssessmentBaselineManagementArgs | UnsetUserAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as UnsetUserAssessmentBaselineManagementState | undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["userAssessmentId"] = state ? state.userAssessmentId : undefined; + } else { + const args = argsOrState as UnsetUserAssessmentBaselineManagementArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.userAssessmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'userAssessmentId'"); + } + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["userAssessmentId"] = args ? args.userAssessmentId : undefined; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(UnsetUserAssessmentBaselineManagement.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering UnsetUserAssessmentBaselineManagement resources. + */ +export interface UnsetUserAssessmentBaselineManagementState { + /** + * The compartment OCID where the assessment resides. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + compartmentId?: pulumi.Input; + /** + * The OCID of the user assessment. + */ + userAssessmentId?: pulumi.Input; +} + +/** + * The set of arguments for constructing a UnsetUserAssessmentBaselineManagement resource. + */ +export interface UnsetUserAssessmentBaselineManagementArgs { + /** + * The compartment OCID where the assessment resides. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + compartmentId: pulumi.Input; + /** + * The OCID of the user assessment. + */ + userAssessmentId: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/delegationControl.ts b/sdk/nodejs/delegateaccesscontrol/delegationControl.ts new file mode 100644 index 0000000000..0f44a181ae --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/delegationControl.ts @@ -0,0 +1,412 @@ +// *** 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 Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Creates a Delegation Control. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationControl = new oci.delegateaccesscontrol.DelegationControl("test_delegation_control", { + * compartmentId: compartmentId, + * delegationSubscriptionIds: delegationControlDelegationSubscriptionIds, + * displayName: delegationControlDisplayName, + * notificationMessageFormat: delegationControlNotificationMessageFormat, + * notificationTopicId: testNotificationTopic.id, + * resourceIds: delegationControlResourceIds, + * resourceType: delegationControlResourceType, + * definedTags: { + * "Operations.CostCenter": "42", + * }, + * description: delegationControlDescription, + * freeformTags: { + * Department: "Finance", + * }, + * isAutoApproveDuringMaintenance: delegationControlIsAutoApproveDuringMaintenance, + * numApprovalsRequired: delegationControlNumApprovalsRequired, + * preApprovedServiceProviderActionNames: delegationControlPreApprovedServiceProviderActionNames, + * vaultId: testVault.id, + * vaultKeyId: testKey.id, + * }); + * ``` + * + * ## Import + * + * DelegationControls can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DelegateAccessControl/delegationControl:DelegationControl test_delegation_control "id" + * ``` + */ +export class DelegationControl extends pulumi.CustomResource { + /** + * Get an existing DelegationControl 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?: DelegationControlState, opts?: pulumi.CustomResourceOptions): DelegationControl { + return new DelegationControl(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:DelegateAccessControl/delegationControl:DelegationControl'; + + /** + * Returns true if the given object is an instance of DelegationControl. 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 DelegationControl { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === DelegationControl.__pulumiType; + } + + /** + * (Updatable) The OCID of the compartment that contains this Delegation Control. + */ + public readonly compartmentId!: pulumi.Output; + /** + * (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]: string}>; + /** + * (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + */ + public readonly delegationSubscriptionIds!: pulumi.Output; + /** + * (Updatable) Description of the Delegation Control. + */ + public readonly description!: pulumi.Output; + /** + * (Updatable) Name of the Delegation Control. The name does not need to be unique. + */ + 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"}` + */ + public readonly freeformTags!: pulumi.Output<{[key: string]: string}>; + /** + * (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + */ + public readonly isAutoApproveDuringMaintenance!: pulumi.Output; + /** + * Description of the current lifecycle state in more detail. + */ + public /*out*/ readonly lifecycleStateDetails!: pulumi.Output; + /** + * (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + */ + public readonly notificationMessageFormat!: pulumi.Output; + /** + * (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + */ + public readonly notificationTopicId!: pulumi.Output; + /** + * (Updatable) number of approvals required. + */ + public readonly numApprovalsRequired!: pulumi.Output; + /** + * (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + */ + public readonly preApprovedServiceProviderActionNames!: pulumi.Output; + /** + * (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + */ + public readonly resourceIds!: pulumi.Output; + /** + * Resource type for which the Delegation Control is applicable to. + */ + public readonly resourceType!: pulumi.Output; + /** + * The current lifecycle state of the Delegation Control. + */ + 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]: string}>; + /** + * Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + */ + public /*out*/ readonly timeDeleted!: pulumi.Output; + /** + * Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + public /*out*/ readonly timeUpdated!: pulumi.Output; + /** + * The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + */ + public readonly vaultId!: pulumi.Output; + /** + * The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * + * ** IMPORTANT ** + * 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 vaultKeyId!: pulumi.Output; + + /** + * Create a DelegationControl 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: DelegationControlArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: DelegationControlArgs | DelegationControlState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as DelegationControlState | undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["definedTags"] = state ? state.definedTags : undefined; + resourceInputs["delegationSubscriptionIds"] = state ? state.delegationSubscriptionIds : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["isAutoApproveDuringMaintenance"] = state ? state.isAutoApproveDuringMaintenance : undefined; + resourceInputs["lifecycleStateDetails"] = state ? state.lifecycleStateDetails : undefined; + resourceInputs["notificationMessageFormat"] = state ? state.notificationMessageFormat : undefined; + resourceInputs["notificationTopicId"] = state ? state.notificationTopicId : undefined; + resourceInputs["numApprovalsRequired"] = state ? state.numApprovalsRequired : undefined; + resourceInputs["preApprovedServiceProviderActionNames"] = state ? state.preApprovedServiceProviderActionNames : undefined; + resourceInputs["resourceIds"] = state ? state.resourceIds : undefined; + resourceInputs["resourceType"] = state ? state.resourceType : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeDeleted"] = state ? state.timeDeleted : undefined; + resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + resourceInputs["vaultId"] = state ? state.vaultId : undefined; + resourceInputs["vaultKeyId"] = state ? state.vaultKeyId : undefined; + } else { + const args = argsOrState as DelegationControlArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.delegationSubscriptionIds === undefined) && !opts.urn) { + throw new Error("Missing required property 'delegationSubscriptionIds'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.notificationMessageFormat === undefined) && !opts.urn) { + throw new Error("Missing required property 'notificationMessageFormat'"); + } + if ((!args || args.notificationTopicId === undefined) && !opts.urn) { + throw new Error("Missing required property 'notificationTopicId'"); + } + if ((!args || args.resourceIds === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceIds'"); + } + if ((!args || args.resourceType === undefined) && !opts.urn) { + throw new Error("Missing required property 'resourceType'"); + } + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["definedTags"] = args ? args.definedTags : undefined; + resourceInputs["delegationSubscriptionIds"] = args ? args.delegationSubscriptionIds : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; + resourceInputs["isAutoApproveDuringMaintenance"] = args ? args.isAutoApproveDuringMaintenance : undefined; + resourceInputs["notificationMessageFormat"] = args ? args.notificationMessageFormat : undefined; + resourceInputs["notificationTopicId"] = args ? args.notificationTopicId : undefined; + resourceInputs["numApprovalsRequired"] = args ? args.numApprovalsRequired : undefined; + resourceInputs["preApprovedServiceProviderActionNames"] = args ? args.preApprovedServiceProviderActionNames : undefined; + resourceInputs["resourceIds"] = args ? args.resourceIds : undefined; + resourceInputs["resourceType"] = args ? args.resourceType : undefined; + resourceInputs["vaultId"] = args ? args.vaultId : undefined; + resourceInputs["vaultKeyId"] = args ? args.vaultKeyId : undefined; + resourceInputs["lifecycleStateDetails"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemTags"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["timeDeleted"] = undefined /*out*/; + resourceInputs["timeUpdated"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(DelegationControl.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering DelegationControl resources. + */ +export interface DelegationControlState { + /** + * (Updatable) The OCID of the compartment that contains this Delegation Control. + */ + compartmentId?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + */ + delegationSubscriptionIds?: pulumi.Input[]>; + /** + * (Updatable) Description of the Delegation Control. + */ + description?: pulumi.Input; + /** + * (Updatable) Name of the Delegation Control. The name does not need to be unique. + */ + 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"}` + */ + freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + */ + isAutoApproveDuringMaintenance?: pulumi.Input; + /** + * Description of the current lifecycle state in more detail. + */ + lifecycleStateDetails?: pulumi.Input; + /** + * (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + */ + notificationMessageFormat?: pulumi.Input; + /** + * (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + */ + notificationTopicId?: pulumi.Input; + /** + * (Updatable) number of approvals required. + */ + numApprovalsRequired?: pulumi.Input; + /** + * (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + */ + preApprovedServiceProviderActionNames?: pulumi.Input[]>; + /** + * (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + */ + resourceIds?: pulumi.Input[]>; + /** + * Resource type for which the Delegation Control is applicable to. + */ + resourceType?: pulumi.Input; + /** + * The current lifecycle state of the Delegation Control. + */ + 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]: pulumi.Input}>; + /** + * Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + timeCreated?: pulumi.Input; + /** + * Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + */ + timeDeleted?: pulumi.Input; + /** + * Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + timeUpdated?: pulumi.Input; + /** + * The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + */ + vaultId?: pulumi.Input; + /** + * The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + vaultKeyId?: pulumi.Input; +} + +/** + * The set of arguments for constructing a DelegationControl resource. + */ +export interface DelegationControlArgs { + /** + * (Updatable) The OCID of the compartment that contains this Delegation Control. + */ + compartmentId: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + */ + delegationSubscriptionIds: pulumi.Input[]>; + /** + * (Updatable) Description of the Delegation Control. + */ + description?: pulumi.Input; + /** + * (Updatable) Name of the Delegation Control. The name does not need to be unique. + */ + 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"}` + */ + freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + */ + isAutoApproveDuringMaintenance?: pulumi.Input; + /** + * (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + */ + notificationMessageFormat: pulumi.Input; + /** + * (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + */ + notificationTopicId: pulumi.Input; + /** + * (Updatable) number of approvals required. + */ + numApprovalsRequired?: pulumi.Input; + /** + * (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + */ + preApprovedServiceProviderActionNames?: pulumi.Input[]>; + /** + * (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + */ + resourceIds: pulumi.Input[]>; + /** + * Resource type for which the Delegation Control is applicable to. + */ + resourceType: pulumi.Input; + /** + * The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + */ + vaultId?: pulumi.Input; + /** + * The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + vaultKeyId?: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/delegationSubscription.ts b/sdk/nodejs/delegateaccesscontrol/delegationSubscription.ts new file mode 100644 index 0000000000..c3f83283e1 --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/delegationSubscription.ts @@ -0,0 +1,265 @@ +// *** 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 Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Creates Delegation Subscription in Delegation Control. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationSubscription = new oci.delegateaccesscontrol.DelegationSubscription("test_delegation_subscription", { + * compartmentId: compartmentId, + * serviceProviderId: testServiceProvider.id, + * subscribedServiceType: delegationSubscriptionSubscribedServiceType, + * definedTags: { + * "Operations.CostCenter": "42", + * }, + * description: delegationSubscriptionDescription, + * freeformTags: { + * Department: "Finance", + * }, + * }); + * ``` + * + * ## Import + * + * DelegationSubscriptions can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DelegateAccessControl/delegationSubscription:DelegationSubscription test_delegation_subscription "id" + * ``` + */ +export class DelegationSubscription extends pulumi.CustomResource { + /** + * Get an existing DelegationSubscription 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?: DelegationSubscriptionState, opts?: pulumi.CustomResourceOptions): DelegationSubscription { + return new DelegationSubscription(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:DelegateAccessControl/delegationSubscription:DelegationSubscription'; + + /** + * Returns true if the given object is an instance of DelegationSubscription. 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 DelegationSubscription { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === DelegationSubscription.__pulumiType; + } + + /** + * (Updatable) The OCID of the compartment that contains the Delegation Control. + */ + public readonly compartmentId!: pulumi.Output; + /** + * (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]: string}>; + /** + * (Updatable) Description of the Delegation Subscription. + */ + public readonly description!: pulumi.Output; + /** + * Display name + */ + public /*out*/ 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"}` + */ + public readonly freeformTags!: pulumi.Output<{[key: string]: string}>; + /** + * Description of the current lifecycle state in more detail. + */ + public /*out*/ readonly lifecycleStateDetails!: pulumi.Output; + /** + * Unique identifier of the Service Provider. + */ + public readonly serviceProviderId!: pulumi.Output; + /** + * The current lifecycle state of the Service Provider. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * Subscribed Service Provider Service Type. + * + * + * ** IMPORTANT ** + * 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 subscribedServiceType!: 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]: string}>; + /** + * Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + public /*out*/ readonly timeUpdated!: pulumi.Output; + + /** + * Create a DelegationSubscription 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: DelegationSubscriptionArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: DelegationSubscriptionArgs | DelegationSubscriptionState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as DelegationSubscriptionState | 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["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["lifecycleStateDetails"] = state ? state.lifecycleStateDetails : undefined; + resourceInputs["serviceProviderId"] = state ? state.serviceProviderId : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["subscribedServiceType"] = state ? state.subscribedServiceType : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + } else { + const args = argsOrState as DelegationSubscriptionArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.serviceProviderId === undefined) && !opts.urn) { + throw new Error("Missing required property 'serviceProviderId'"); + } + if ((!args || args.subscribedServiceType === undefined) && !opts.urn) { + throw new Error("Missing required property 'subscribedServiceType'"); + } + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["definedTags"] = args ? args.definedTags : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; + resourceInputs["serviceProviderId"] = args ? args.serviceProviderId : undefined; + resourceInputs["subscribedServiceType"] = args ? args.subscribedServiceType : undefined; + resourceInputs["displayName"] = undefined /*out*/; + resourceInputs["lifecycleStateDetails"] = 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(DelegationSubscription.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering DelegationSubscription resources. + */ +export interface DelegationSubscriptionState { + /** + * (Updatable) The OCID of the compartment that contains the Delegation Control. + */ + compartmentId?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) Description of the Delegation Subscription. + */ + description?: pulumi.Input; + /** + * Display name + */ + 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"}` + */ + freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Description of the current lifecycle state in more detail. + */ + lifecycleStateDetails?: pulumi.Input; + /** + * Unique identifier of the Service Provider. + */ + serviceProviderId?: pulumi.Input; + /** + * The current lifecycle state of the Service Provider. + */ + state?: pulumi.Input; + /** + * Subscribed Service Provider Service Type. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + subscribedServiceType?: 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]: pulumi.Input}>; + /** + * Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + timeCreated?: pulumi.Input; + /** + * Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + timeUpdated?: pulumi.Input; +} + +/** + * The set of arguments for constructing a DelegationSubscription resource. + */ +export interface DelegationSubscriptionArgs { + /** + * (Updatable) The OCID of the compartment that contains the Delegation Control. + */ + compartmentId: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) Description of the Delegation Subscription. + */ + description?: 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]: pulumi.Input}>; + /** + * Unique identifier of the Service Provider. + */ + serviceProviderId: pulumi.Input; + /** + * Subscribed Service Provider Service Type. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + subscribedServiceType: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequest.ts b/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequest.ts new file mode 100644 index 0000000000..6813b86e69 --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequest.ts @@ -0,0 +1,213 @@ +// *** 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 Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets details of a Delegated Resource Access Request. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegatedResourceAccessRequest = oci.DelegateAccessControl.getDelegatedResourceAccessRequest({ + * delegatedResourceAccessRequestId: testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.id, + * }); + * ``` + */ +export function getDelegatedResourceAccessRequest(args: GetDelegatedResourceAccessRequestArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequest:getDelegatedResourceAccessRequest", { + "delegatedResourceAccessRequestId": args.delegatedResourceAccessRequestId, + }, opts); +} + +/** + * A collection of arguments for invoking getDelegatedResourceAccessRequest. + */ +export interface GetDelegatedResourceAccessRequestArgs { + /** + * Unique Delegated Resource Access Request identifier + */ + delegatedResourceAccessRequestId: string; +} + +/** + * A collection of values returned by getDelegatedResourceAccessRequest. + */ +export interface GetDelegatedResourceAccessRequestResult { + /** + * In case of single approval, this will have only one item. Else, a list of approvals. + */ + readonly approvalInfos: outputs.DelegateAccessControl.GetDelegatedResourceAccessRequestApprovalInfo[]; + /** + * Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + */ + readonly auditTypes: string[]; + /** + * The comment entered by the support operator while closing the request. + */ + readonly closureComment: string; + /** + * The OCID of the compartment that contains the Delegated Resource Access Request. + */ + readonly compartmentId: string; + /** + * List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + */ + readonly databaseNameLists: string[]; + /** + * 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"}` + */ + readonly definedTags: {[key: string]: string}; + readonly delegatedResourceAccessRequestId: string; + /** + * The OCID of the Delegation Control governing the target resource. + */ + readonly delegationControlId: string; + /** + * List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + */ + readonly delegationSubscriptionIds: string[]; + /** + * Detailed description of this Delegated Resource Access Request. + */ + readonly description: string; + /** + * Display name. This is generated by the system automatically. + */ + readonly displayName: string; + /** + * Duration in hours for which access is sought on the target resource. + */ + readonly durationInHours: number; + /** + * Duration in hours for which extension access is sought on the target resource. + */ + readonly extendDurationInHours: number; + /** + * 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"}` + */ + readonly freeformTags: {[key: string]: string}; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + */ + readonly isAutoApproved: boolean; + /** + * Indicates if the delegated resource access request is waiting on more information from the operator + */ + readonly isPendingMoreInfo: boolean; + /** + * Description of the current lifecycle state in more detail. + */ + readonly lifecycleStateDetails: string; + /** + * Number of extension approvals that have been obtained so far. + */ + readonly numExtensionApprovals: number; + /** + * Number of initial approvals that have been obtained so far. + */ + readonly numInitialApprovals: number; + /** + * List of Service Provider Service Types being provided by the support operator user. + */ + readonly providedServiceTypes: string[]; + /** + * A short description explaining why this Delegated Resource Access Request is needed by the support operator. + */ + readonly reasonForRequest: string; + /** + * The current status of the Delegated Resource Access Request. + */ + readonly requestStatus: string; + /** + * List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + */ + readonly requestedActionNames: string[]; + /** + * Requester type + */ + readonly requesterType: string; + /** + * The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + */ + readonly resourceId: string; + /** + * The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + */ + readonly resourceName: string; + /** + * Resource type for which the associated Delegation Control is applicable to. + */ + readonly resourceType: string; + /** + * Priority assigned to the Delegated Resource Access Request by the support operator + */ + readonly severity: string; + /** + * The current lifecycle state of the Delegated Resource Access Request. + */ + 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]: string}; + /** + * A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + */ + readonly ticketNumbers: string[]; + /** + * Requested access start time in UTC. + */ + readonly timeAccessRequested: string; + /** + * Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + */ + readonly timeCreated: string; + /** + * Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets details of a Delegated Resource Access Request. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegatedResourceAccessRequest = oci.DelegateAccessControl.getDelegatedResourceAccessRequest({ + * delegatedResourceAccessRequestId: testDelegatedResourceAccessRequestOciDelegateAccessControlDelegatedResourceAccessRequest.id, + * }); + * ``` + */ +export function getDelegatedResourceAccessRequestOutput(args: GetDelegatedResourceAccessRequestOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDelegatedResourceAccessRequest(a, opts)) +} + +/** + * A collection of arguments for invoking getDelegatedResourceAccessRequest. + */ +export interface GetDelegatedResourceAccessRequestOutputArgs { + /** + * Unique Delegated Resource Access Request identifier + */ + delegatedResourceAccessRequestId: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequestAuditLogReport.ts b/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequestAuditLogReport.ts new file mode 100644 index 0000000000..e71c2fc395 --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequestAuditLogReport.ts @@ -0,0 +1,107 @@ +// *** 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 Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the audit log report for the given Delegated Resource Access Request. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegatedResourceAccessRequestAuditLogReport = oci.DelegateAccessControl.getDelegatedResourceAccessRequestAuditLogReport({ + * delegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.id, + * isProcessTreeEnabled: delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled, + * }); + * ``` + */ +export function getDelegatedResourceAccessRequestAuditLogReport(args: GetDelegatedResourceAccessRequestAuditLogReportArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequestAuditLogReport:getDelegatedResourceAccessRequestAuditLogReport", { + "delegatedResourceAccessRequestId": args.delegatedResourceAccessRequestId, + "isProcessTreeEnabled": args.isProcessTreeEnabled, + }, opts); +} + +/** + * A collection of arguments for invoking getDelegatedResourceAccessRequestAuditLogReport. + */ +export interface GetDelegatedResourceAccessRequestAuditLogReportArgs { + /** + * Unique Delegated Resource Access Request identifier + */ + delegatedResourceAccessRequestId: string; + /** + * Set to true to enable process tree computation in audit report + */ + isProcessTreeEnabled?: boolean; +} + +/** + * A collection of values returned by getDelegatedResourceAccessRequestAuditLogReport. + */ +export interface GetDelegatedResourceAccessRequestAuditLogReportResult { + /** + * Status of the audit report + */ + readonly auditReportStatus: string; + readonly delegatedResourceAccessRequestId: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly isProcessTreeEnabled?: boolean; + /** + * The process tree data + */ + readonly processTree: string; + /** + * Audit log report. + */ + readonly report: string; + /** + * Time when the audit report was generated [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + readonly timeReportGenerated: string; +} +/** + * This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the audit log report for the given Delegated Resource Access Request. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegatedResourceAccessRequestAuditLogReport = oci.DelegateAccessControl.getDelegatedResourceAccessRequestAuditLogReport({ + * delegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.id, + * isProcessTreeEnabled: delegatedResourceAccessRequestAuditLogReportIsProcessTreeEnabled, + * }); + * ``` + */ +export function getDelegatedResourceAccessRequestAuditLogReportOutput(args: GetDelegatedResourceAccessRequestAuditLogReportOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDelegatedResourceAccessRequestAuditLogReport(a, opts)) +} + +/** + * A collection of arguments for invoking getDelegatedResourceAccessRequestAuditLogReport. + */ +export interface GetDelegatedResourceAccessRequestAuditLogReportOutputArgs { + /** + * Unique Delegated Resource Access Request identifier + */ + delegatedResourceAccessRequestId: pulumi.Input; + /** + * Set to true to enable process tree computation in audit report + */ + isProcessTreeEnabled?: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequestHistories.ts b/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequestHistories.ts new file mode 100644 index 0000000000..e2c0707cf4 --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequestHistories.ts @@ -0,0 +1,89 @@ +// *** 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 Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a history of all status associated with the Delegated Resource Access RequestId. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegatedResourceAccessRequestHistories = oci.DelegateAccessControl.getDelegatedResourceAccessRequestHistories({ + * delegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.id, + * }); + * ``` + */ +export function getDelegatedResourceAccessRequestHistories(args: GetDelegatedResourceAccessRequestHistoriesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistories:getDelegatedResourceAccessRequestHistories", { + "delegatedResourceAccessRequestId": args.delegatedResourceAccessRequestId, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getDelegatedResourceAccessRequestHistories. + */ +export interface GetDelegatedResourceAccessRequestHistoriesArgs { + /** + * Unique Delegated Resource Access Request identifier + */ + delegatedResourceAccessRequestId: string; + filters?: inputs.DelegateAccessControl.GetDelegatedResourceAccessRequestHistoriesFilter[]; +} + +/** + * A collection of values returned by getDelegatedResourceAccessRequestHistories. + */ +export interface GetDelegatedResourceAccessRequestHistoriesResult { + /** + * The list of delegated_resource_access_request_history_collection. + */ + readonly delegatedResourceAccessRequestHistoryCollections: outputs.DelegateAccessControl.GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection[]; + readonly delegatedResourceAccessRequestId: string; + readonly filters?: outputs.DelegateAccessControl.GetDelegatedResourceAccessRequestHistoriesFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; +} +/** + * This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a history of all status associated with the Delegated Resource Access RequestId. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegatedResourceAccessRequestHistories = oci.DelegateAccessControl.getDelegatedResourceAccessRequestHistories({ + * delegatedResourceAccessRequestId: testDelegatedResourceAccessRequest.id, + * }); + * ``` + */ +export function getDelegatedResourceAccessRequestHistoriesOutput(args: GetDelegatedResourceAccessRequestHistoriesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDelegatedResourceAccessRequestHistories(a, opts)) +} + +/** + * A collection of arguments for invoking getDelegatedResourceAccessRequestHistories. + */ +export interface GetDelegatedResourceAccessRequestHistoriesOutputArgs { + /** + * Unique Delegated Resource Access Request identifier + */ + delegatedResourceAccessRequestId: pulumi.Input; + filters?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequests.ts b/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequests.ts new file mode 100644 index 0000000000..719e7064d3 --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getDelegatedResourceAccessRequests.ts @@ -0,0 +1,176 @@ +// *** 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 Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegatedResourceAccessRequests = oci.DelegateAccessControl.getDelegatedResourceAccessRequests({ + * compartmentId: compartmentId, + * delegationControlId: testDelegationControl.id, + * requestStatus: delegatedResourceAccessRequestRequestStatus, + * resourceId: testResource.id, + * state: delegatedResourceAccessRequestState, + * timeEnd: delegatedResourceAccessRequestTimeEnd, + * timeStart: delegatedResourceAccessRequestTimeStart, + * }); + * ``` + */ +export function getDelegatedResourceAccessRequests(args: GetDelegatedResourceAccessRequestsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getDelegatedResourceAccessRequests:getDelegatedResourceAccessRequests", { + "compartmentId": args.compartmentId, + "delegationControlId": args.delegationControlId, + "filters": args.filters, + "requestStatus": args.requestStatus, + "resourceId": args.resourceId, + "state": args.state, + "timeEnd": args.timeEnd, + "timeStart": args.timeStart, + }, opts); +} + +/** + * A collection of arguments for invoking getDelegatedResourceAccessRequests. + */ +export interface GetDelegatedResourceAccessRequestsArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + /** + * unique Delegation Control identifier + */ + delegationControlId?: string; + filters?: inputs.DelegateAccessControl.GetDelegatedResourceAccessRequestsFilter[]; + /** + * A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + */ + requestStatus?: string; + /** + * A filter to return only Delegated Resource Access Requests for the given resource identifier. + */ + resourceId?: string; + /** + * A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + */ + state?: string; + /** + * Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + */ + timeEnd?: string; + /** + * Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + */ + timeStart?: string; +} + +/** + * A collection of values returned by getDelegatedResourceAccessRequests. + */ +export interface GetDelegatedResourceAccessRequestsResult { + /** + * The OCID of the compartment that contains the Delegated Resource Access Request. + */ + readonly compartmentId: string; + /** + * The list of delegated_resource_access_request_summary_collection. + */ + readonly delegatedResourceAccessRequestSummaryCollections: outputs.DelegateAccessControl.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection[]; + /** + * The OCID of the Delegation Control governing the target resource. + */ + readonly delegationControlId?: string; + readonly filters?: outputs.DelegateAccessControl.GetDelegatedResourceAccessRequestsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The current status of the Delegated Resource Access Request. + */ + readonly requestStatus?: string; + /** + * The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + */ + readonly resourceId?: string; + /** + * The current lifecycle state of the Delegated Resource Access Request. + */ + readonly state?: string; + readonly timeEnd?: string; + readonly timeStart?: string; +} +/** + * This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegatedResourceAccessRequests = oci.DelegateAccessControl.getDelegatedResourceAccessRequests({ + * compartmentId: compartmentId, + * delegationControlId: testDelegationControl.id, + * requestStatus: delegatedResourceAccessRequestRequestStatus, + * resourceId: testResource.id, + * state: delegatedResourceAccessRequestState, + * timeEnd: delegatedResourceAccessRequestTimeEnd, + * timeStart: delegatedResourceAccessRequestTimeStart, + * }); + * ``` + */ +export function getDelegatedResourceAccessRequestsOutput(args: GetDelegatedResourceAccessRequestsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDelegatedResourceAccessRequests(a, opts)) +} + +/** + * A collection of arguments for invoking getDelegatedResourceAccessRequests. + */ +export interface GetDelegatedResourceAccessRequestsOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: pulumi.Input; + /** + * unique Delegation Control identifier + */ + delegationControlId?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + */ + requestStatus?: pulumi.Input; + /** + * A filter to return only Delegated Resource Access Requests for the given resource identifier. + */ + resourceId?: pulumi.Input; + /** + * A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + */ + state?: pulumi.Input; + /** + * Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + */ + timeEnd?: pulumi.Input; + /** + * Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + */ + timeStart?: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getDelegationControl.ts b/sdk/nodejs/delegateaccesscontrol/getDelegationControl.ts new file mode 100644 index 0000000000..ce7577c178 --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getDelegationControl.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 utilities from "../utilities"; + +/** + * This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Delegation Control associated with the specified Delegation Control ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationControl = oci.DelegateAccessControl.getDelegationControl({ + * delegationControlId: testDelegationControlOciDelegateAccessControlDelegationControl.id, + * }); + * ``` + */ +export function getDelegationControl(args: GetDelegationControlArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getDelegationControl:getDelegationControl", { + "delegationControlId": args.delegationControlId, + }, opts); +} + +/** + * A collection of arguments for invoking getDelegationControl. + */ +export interface GetDelegationControlArgs { + /** + * unique Delegation Control identifier + */ + delegationControlId: string; +} + +/** + * A collection of values returned by getDelegationControl. + */ +export interface GetDelegationControlResult { + /** + * The OCID of the compartment that contains the Delegation Control. + */ + readonly compartmentId: string; + /** + * 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"}` + */ + readonly definedTags: {[key: string]: string}; + readonly delegationControlId: string; + /** + * List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + */ + readonly delegationSubscriptionIds: string[]; + /** + * Description of the Delegation Control. + */ + readonly description: string; + /** + * Name of the Delegation Control. The name does not need to be unique. + */ + readonly displayName: string; + /** + * 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"}` + */ + readonly freeformTags: {[key: string]: string}; + /** + * The OCID of the Delegation Control. + */ + readonly id: string; + /** + * Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + */ + readonly isAutoApproveDuringMaintenance: boolean; + /** + * Description of the current lifecycle state in more detail. + */ + readonly lifecycleStateDetails: string; + /** + * The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + */ + readonly notificationMessageFormat: string; + /** + * The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + */ + readonly notificationTopicId: string; + /** + * number of approvals required. + */ + readonly numApprovalsRequired: number; + /** + * List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + */ + readonly preApprovedServiceProviderActionNames: string[]; + /** + * The OCID of the selected resources that this Delegation Control is applicable to. + */ + readonly resourceIds: string[]; + /** + * Resource type for which the Delegation Control is applicable to. + */ + readonly resourceType: string; + /** + * The current lifecycle state of the Delegation Control. + */ + 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]: string}; + /** + * Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + readonly timeCreated: string; + /** + * Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + */ + readonly timeDeleted: string; + /** + * Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + readonly timeUpdated: string; + /** + * The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + */ + readonly vaultId: string; + /** + * The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + */ + readonly vaultKeyId: string; +} +/** + * This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Delegation Control associated with the specified Delegation Control ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationControl = oci.DelegateAccessControl.getDelegationControl({ + * delegationControlId: testDelegationControlOciDelegateAccessControlDelegationControl.id, + * }); + * ``` + */ +export function getDelegationControlOutput(args: GetDelegationControlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDelegationControl(a, opts)) +} + +/** + * A collection of arguments for invoking getDelegationControl. + */ +export interface GetDelegationControlOutputArgs { + /** + * unique Delegation Control identifier + */ + delegationControlId: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getDelegationControlResources.ts b/sdk/nodejs/delegateaccesscontrol/getDelegationControlResources.ts new file mode 100644 index 0000000000..13b4c65ce7 --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getDelegationControlResources.ts @@ -0,0 +1,89 @@ +// *** 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 Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a list of resources associated with the Delegation Control. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationControlResources = oci.DelegateAccessControl.getDelegationControlResources({ + * delegationControlId: testDelegationControl.id, + * }); + * ``` + */ +export function getDelegationControlResources(args: GetDelegationControlResourcesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getDelegationControlResources:getDelegationControlResources", { + "delegationControlId": args.delegationControlId, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getDelegationControlResources. + */ +export interface GetDelegationControlResourcesArgs { + /** + * unique Delegation Control identifier + */ + delegationControlId: string; + filters?: inputs.DelegateAccessControl.GetDelegationControlResourcesFilter[]; +} + +/** + * A collection of values returned by getDelegationControlResources. + */ +export interface GetDelegationControlResourcesResult { + readonly delegationControlId: string; + /** + * The list of delegation_control_resource_collection. + */ + readonly delegationControlResourceCollections: outputs.DelegateAccessControl.GetDelegationControlResourcesDelegationControlResourceCollection[]; + readonly filters?: outputs.DelegateAccessControl.GetDelegationControlResourcesFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; +} +/** + * This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Returns a list of resources associated with the Delegation Control. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationControlResources = oci.DelegateAccessControl.getDelegationControlResources({ + * delegationControlId: testDelegationControl.id, + * }); + * ``` + */ +export function getDelegationControlResourcesOutput(args: GetDelegationControlResourcesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDelegationControlResources(a, opts)) +} + +/** + * A collection of arguments for invoking getDelegationControlResources. + */ +export interface GetDelegationControlResourcesOutputArgs { + /** + * unique Delegation Control identifier + */ + delegationControlId: pulumi.Input; + filters?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getDelegationControls.ts b/sdk/nodejs/delegateaccesscontrol/getDelegationControls.ts new file mode 100644 index 0000000000..b32752694c --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getDelegationControls.ts @@ -0,0 +1,149 @@ +// *** 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 Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Controls in the compartment. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationControls = oci.DelegateAccessControl.getDelegationControls({ + * compartmentId: compartmentId, + * displayName: delegationControlDisplayName, + * resourceId: testResource.id, + * resourceType: delegationControlResourceType, + * state: delegationControlState, + * }); + * ``` + */ +export function getDelegationControls(args: GetDelegationControlsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getDelegationControls:getDelegationControls", { + "compartmentId": args.compartmentId, + "displayName": args.displayName, + "filters": args.filters, + "resourceId": args.resourceId, + "resourceType": args.resourceType, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getDelegationControls. + */ +export interface GetDelegationControlsArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + /** + * A filter to return Delegation Control resources that match the given display name. + */ + displayName?: string; + filters?: inputs.DelegateAccessControl.GetDelegationControlsFilter[]; + /** + * A filter to return Delegation Control resources that match the given resource ID. + */ + resourceId?: string; + /** + * A filter to return only resources that match the given resource type. + */ + resourceType?: string; + /** + * A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + */ + state?: string; +} + +/** + * A collection of values returned by getDelegationControls. + */ +export interface GetDelegationControlsResult { + /** + * The OCID of the compartment that contains the Delegation Control. + */ + readonly compartmentId: string; + /** + * The list of delegation_control_summary_collection. + */ + readonly delegationControlSummaryCollections: outputs.DelegateAccessControl.GetDelegationControlsDelegationControlSummaryCollection[]; + /** + * Name of the Delegation Control. The name does not need to be unique. + */ + readonly displayName?: string; + readonly filters?: outputs.DelegateAccessControl.GetDelegationControlsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + readonly resourceId?: string; + /** + * Resource type for which the Delegation Control is applicable to. + */ + readonly resourceType?: string; + /** + * The current lifecycle state of the Delegation Control. + */ + readonly state?: string; +} +/** + * This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Controls in the compartment. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationControls = oci.DelegateAccessControl.getDelegationControls({ + * compartmentId: compartmentId, + * displayName: delegationControlDisplayName, + * resourceId: testResource.id, + * resourceType: delegationControlResourceType, + * state: delegationControlState, + * }); + * ``` + */ +export function getDelegationControlsOutput(args: GetDelegationControlsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDelegationControls(a, opts)) +} + +/** + * A collection of arguments for invoking getDelegationControls. + */ +export interface GetDelegationControlsOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: pulumi.Input; + /** + * A filter to return Delegation Control resources that match the given display name. + */ + displayName?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return Delegation Control resources that match the given resource ID. + */ + resourceId?: pulumi.Input; + /** + * A filter to return only resources that match the given resource type. + */ + resourceType?: pulumi.Input; + /** + * A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getDelegationSubscription.ts b/sdk/nodejs/delegateaccesscontrol/getDelegationSubscription.ts new file mode 100644 index 0000000000..963452360c --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getDelegationSubscription.ts @@ -0,0 +1,127 @@ +// *** 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 Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a DelegationSubscription by identifier + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationSubscription = oci.DelegateAccessControl.getDelegationSubscription({ + * delegationSubscriptionId: testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.id, + * }); + * ``` + */ +export function getDelegationSubscription(args: GetDelegationSubscriptionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getDelegationSubscription:getDelegationSubscription", { + "delegationSubscriptionId": args.delegationSubscriptionId, + }, opts); +} + +/** + * A collection of arguments for invoking getDelegationSubscription. + */ +export interface GetDelegationSubscriptionArgs { + /** + * unique Delegation Subscription identifier + */ + delegationSubscriptionId: string; +} + +/** + * A collection of values returned by getDelegationSubscription. + */ +export interface GetDelegationSubscriptionResult { + /** + * The OCID of the compartment that contains the Delegation Subscription. + */ + readonly compartmentId: string; + /** + * 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"}` + */ + readonly definedTags: {[key: string]: string}; + readonly delegationSubscriptionId: string; + /** + * Description of the Delegation Subscription. + */ + readonly description: string; + /** + * Display name + */ + readonly displayName: string; + /** + * 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"}` + */ + readonly freeformTags: {[key: string]: string}; + /** + * Unique identifier for the Delegation Subscription. + */ + readonly id: string; + /** + * Description of the current lifecycle state in more detail. + */ + readonly lifecycleStateDetails: string; + /** + * Unique identifier of the Service Provider. + */ + readonly serviceProviderId: string; + /** + * The current lifecycle state of the Service Provider. + */ + readonly state: string; + /** + * Subscribed Service Provider Service Type. + */ + readonly subscribedServiceType: 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]: string}; + /** + * Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + readonly timeCreated: string; + /** + * Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a DelegationSubscription by identifier + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationSubscription = oci.DelegateAccessControl.getDelegationSubscription({ + * delegationSubscriptionId: testDelegationSubscriptionOciDelegateAccessControlDelegationSubscription.id, + * }); + * ``` + */ +export function getDelegationSubscriptionOutput(args: GetDelegationSubscriptionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDelegationSubscription(a, opts)) +} + +/** + * A collection of arguments for invoking getDelegationSubscription. + */ +export interface GetDelegationSubscriptionOutputArgs { + /** + * unique Delegation Subscription identifier + */ + delegationSubscriptionId: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getDelegationSubscriptions.ts b/sdk/nodejs/delegateaccesscontrol/getDelegationSubscriptions.ts new file mode 100644 index 0000000000..e1abe81e62 --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getDelegationSubscriptions.ts @@ -0,0 +1,122 @@ +// *** 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 Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Subscriptions in Delegation Control. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationSubscriptions = oci.DelegateAccessControl.getDelegationSubscriptions({ + * compartmentId: compartmentId, + * displayName: delegationSubscriptionDisplayName, + * state: delegationSubscriptionState, + * }); + * ``` + */ +export function getDelegationSubscriptions(args: GetDelegationSubscriptionsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getDelegationSubscriptions:getDelegationSubscriptions", { + "compartmentId": args.compartmentId, + "displayName": args.displayName, + "filters": args.filters, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getDelegationSubscriptions. + */ +export interface GetDelegationSubscriptionsArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + /** + * A filter to return Delegation Subscription resources that match the given display name. + */ + displayName?: string; + filters?: inputs.DelegateAccessControl.GetDelegationSubscriptionsFilter[]; + /** + * A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + */ + state?: string; +} + +/** + * A collection of values returned by getDelegationSubscriptions. + */ +export interface GetDelegationSubscriptionsResult { + /** + * The OCID of the compartment that contains the Delegation Subscription. + */ + readonly compartmentId: string; + /** + * The list of delegation_subscription_summary_collection. + */ + readonly delegationSubscriptionSummaryCollections: outputs.DelegateAccessControl.GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection[]; + /** + * Display name + */ + readonly displayName?: string; + readonly filters?: outputs.DelegateAccessControl.GetDelegationSubscriptionsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The current lifecycle state of the Service Provider. + */ + readonly state?: string; +} +/** + * This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Delegation Subscriptions in Delegation Control. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDelegationSubscriptions = oci.DelegateAccessControl.getDelegationSubscriptions({ + * compartmentId: compartmentId, + * displayName: delegationSubscriptionDisplayName, + * state: delegationSubscriptionState, + * }); + * ``` + */ +export function getDelegationSubscriptionsOutput(args: GetDelegationSubscriptionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDelegationSubscriptions(a, opts)) +} + +/** + * A collection of arguments for invoking getDelegationSubscriptions. + */ +export interface GetDelegationSubscriptionsOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: pulumi.Input; + /** + * A filter to return Delegation Subscription resources that match the given display name. + */ + displayName?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getServiceProvider.ts b/sdk/nodejs/delegateaccesscontrol/getServiceProvider.ts new file mode 100644 index 0000000000..81754509a0 --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getServiceProvider.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 Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a ServiceProvider by identifier + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testServiceProvider = oci.DelegateAccessControl.getServiceProvider({ + * serviceProviderId: testServiceProviderOciDelegateAccessControlServiceProvider.id, + * }); + * ``` + */ +export function getServiceProvider(args: GetServiceProviderArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getServiceProvider:getServiceProvider", { + "serviceProviderId": args.serviceProviderId, + }, opts); +} + +/** + * A collection of arguments for invoking getServiceProvider. + */ +export interface GetServiceProviderArgs { + /** + * unique Service Provider identifier + */ + serviceProviderId: string; +} + +/** + * A collection of values returned by getServiceProvider. + */ +export interface GetServiceProviderResult { + /** + * The OCID of the compartment that contains the Delegation Control. + */ + readonly compartmentId: string; + /** + * 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"}` + */ + readonly definedTags: {[key: string]: string}; + /** + * Description of the Service Provider. + */ + readonly description: string; + /** + * 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"}` + */ + readonly freeformTags: {[key: string]: string}; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Description of the current lifecycle state in more detail. + */ + readonly lifecycleStateDetails: string; + /** + * Unique name of the Service Provider. + */ + readonly name: string; + readonly serviceProviderId: string; + /** + * Service Provider type. + */ + readonly serviceProviderType: string; + /** + * Types of services offered by this provider. + */ + readonly serviceTypes: string[]; + /** + * The current lifecycle state of the Service Provider. + */ + readonly state: string; + /** + * Resource types for which this provider will provide service. Default to all if not specified. + */ + readonly supportedResourceTypes: 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]: string}; + /** + * Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + readonly timeCreated: string; + /** + * Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets a ServiceProvider by identifier + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testServiceProvider = oci.DelegateAccessControl.getServiceProvider({ + * serviceProviderId: testServiceProviderOciDelegateAccessControlServiceProvider.id, + * }); + * ``` + */ +export function getServiceProviderOutput(args: GetServiceProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getServiceProvider(a, opts)) +} + +/** + * A collection of arguments for invoking getServiceProvider. + */ +export interface GetServiceProviderOutputArgs { + /** + * unique Service Provider identifier + */ + serviceProviderId: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getServiceProviderAction.ts b/sdk/nodejs/delegateaccesscontrol/getServiceProviderAction.ts new file mode 100644 index 0000000000..8c7c7ec51f --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getServiceProviderAction.ts @@ -0,0 +1,113 @@ +// *** 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 Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Service Provider Action associated with the specified Service Provider Action ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testServiceProviderAction = oci.DelegateAccessControl.getServiceProviderAction({ + * serviceProviderActionId: testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id, + * }); + * ``` + */ +export function getServiceProviderAction(args: GetServiceProviderActionArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction", { + "serviceProviderActionId": args.serviceProviderActionId, + }, opts); +} + +/** + * A collection of arguments for invoking getServiceProviderAction. + */ +export interface GetServiceProviderActionArgs { + /** + * Unique Oracle supplied identifier associated with the Service Provider Action. + */ + serviceProviderActionId: string; +} + +/** + * A collection of values returned by getServiceProviderAction. + */ +export interface GetServiceProviderActionResult { + /** + * Name of the infrastructure layer associated with the Service Provider Action. + */ + readonly component: string; + /** + * Display Name of the Service Provider Action. + */ + readonly customerDisplayName: string; + /** + * Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + */ + readonly description: string; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Name of the property + */ + readonly name: string; + /** + * Fine grained properties associated with the Delegation Control. + */ + readonly properties: outputs.DelegateAccessControl.GetServiceProviderActionProperty[]; + /** + * resourceType for which the ServiceProviderAction is applicable + */ + readonly resourceType: string; + readonly serviceProviderActionId: string; + /** + * List of Service Provider Service Types that this Service Provider Action is applicable to. + */ + readonly serviceProviderServiceTypes: string[]; + /** + * The current lifecycle state of the Service Provider Action. + */ + readonly state: string; +} +/** + * This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Gets the Service Provider Action associated with the specified Service Provider Action ID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testServiceProviderAction = oci.DelegateAccessControl.getServiceProviderAction({ + * serviceProviderActionId: testServiceProviderActionOciDelegateAccessControlServiceProviderAction.id, + * }); + * ``` + */ +export function getServiceProviderActionOutput(args: GetServiceProviderActionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getServiceProviderAction(a, opts)) +} + +/** + * A collection of arguments for invoking getServiceProviderAction. + */ +export interface GetServiceProviderActionOutputArgs { + /** + * Unique Oracle supplied identifier associated with the Service Provider Action. + */ + serviceProviderActionId: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getServiceProviderActions.ts b/sdk/nodejs/delegateaccesscontrol/getServiceProviderActions.ts new file mode 100644 index 0000000000..684e609ad1 --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getServiceProviderActions.ts @@ -0,0 +1,146 @@ +// *** 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 Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all the ServiceProviderActions available in the system. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testServiceProviderActions = oci.DelegateAccessControl.getServiceProviderActions({ + * compartmentId: compartmentId, + * name: serviceProviderActionName, + * resourceType: serviceProviderActionResourceType, + * serviceProviderServiceTypes: serviceProviderActionServiceProviderServiceType, + * state: serviceProviderActionState, + * }); + * ``` + */ +export function getServiceProviderActions(args: GetServiceProviderActionsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getServiceProviderActions:getServiceProviderActions", { + "compartmentId": args.compartmentId, + "filters": args.filters, + "name": args.name, + "resourceType": args.resourceType, + "serviceProviderServiceTypes": args.serviceProviderServiceTypes, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getServiceProviderActions. + */ +export interface GetServiceProviderActionsArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + filters?: inputs.DelegateAccessControl.GetServiceProviderActionsFilter[]; + /** + * A filter to return only resources that match the entire name given. + */ + name?: string; + /** + * A filter to return only resources that match the given resource type. + */ + resourceType?: string; + /** + * A filter to return only resources that match the given Service Provider service type. + */ + serviceProviderServiceTypes?: string[]; + /** + * A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + */ + state?: string; +} + +/** + * A collection of values returned by getServiceProviderActions. + */ +export interface GetServiceProviderActionsResult { + readonly compartmentId: string; + readonly filters?: outputs.DelegateAccessControl.GetServiceProviderActionsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Name of the property + */ + readonly name?: string; + /** + * resourceType for which the ServiceProviderAction is applicable + */ + readonly resourceType?: string; + /** + * The list of service_provider_action_summary_collection. + */ + readonly serviceProviderActionSummaryCollections: outputs.DelegateAccessControl.GetServiceProviderActionsServiceProviderActionSummaryCollection[]; + readonly serviceProviderServiceTypes?: string[]; + /** + * The current lifecycle state of the Service Provider Action. + */ + readonly state?: string; +} +/** + * This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists all the ServiceProviderActions available in the system. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testServiceProviderActions = oci.DelegateAccessControl.getServiceProviderActions({ + * compartmentId: compartmentId, + * name: serviceProviderActionName, + * resourceType: serviceProviderActionResourceType, + * serviceProviderServiceTypes: serviceProviderActionServiceProviderServiceType, + * state: serviceProviderActionState, + * }); + * ``` + */ +export function getServiceProviderActionsOutput(args: GetServiceProviderActionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getServiceProviderActions(a, opts)) +} + +/** + * A collection of arguments for invoking getServiceProviderActions. + */ +export interface GetServiceProviderActionsOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return only resources that match the entire name given. + */ + name?: pulumi.Input; + /** + * A filter to return only resources that match the given resource type. + */ + resourceType?: pulumi.Input; + /** + * A filter to return only resources that match the given Service Provider service type. + */ + serviceProviderServiceTypes?: pulumi.Input[]>; + /** + * A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/getServiceProviders.ts b/sdk/nodejs/delegateaccesscontrol/getServiceProviders.ts new file mode 100644 index 0000000000..81a029051f --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/getServiceProviders.ts @@ -0,0 +1,149 @@ +// *** 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 Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Service Providers. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testServiceProviders = oci.DelegateAccessControl.getServiceProviders({ + * compartmentId: compartmentId, + * name: serviceProviderName, + * serviceProviderType: serviceProviderServiceProviderType, + * state: serviceProviderState, + * supportedResourceType: serviceProviderSupportedResourceType, + * }); + * ``` + */ +export function getServiceProviders(args: GetServiceProvidersArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DelegateAccessControl/getServiceProviders:getServiceProviders", { + "compartmentId": args.compartmentId, + "filters": args.filters, + "name": args.name, + "serviceProviderType": args.serviceProviderType, + "state": args.state, + "supportedResourceType": args.supportedResourceType, + }, opts); +} + +/** + * A collection of arguments for invoking getServiceProviders. + */ +export interface GetServiceProvidersArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + filters?: inputs.DelegateAccessControl.GetServiceProvidersFilter[]; + /** + * A filter to return Service Provider resources that match the given name. + */ + name?: string; + /** + * A filter to return only Service Provider resources whose provider type matches the given provider type. + */ + serviceProviderType?: string; + /** + * A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + */ + state?: string; + /** + * A filter to return only Service Provider resources whose supported resource type matches the given resource type. + */ + supportedResourceType?: string; +} + +/** + * A collection of values returned by getServiceProviders. + */ +export interface GetServiceProvidersResult { + /** + * The OCID of the compartment that contains the Delegation Control. + */ + readonly compartmentId: string; + readonly filters?: outputs.DelegateAccessControl.GetServiceProvidersFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Unique name of the Service Provider. + */ + readonly name?: string; + /** + * The list of service_provider_summary_collection. + */ + readonly serviceProviderSummaryCollections: outputs.DelegateAccessControl.GetServiceProvidersServiceProviderSummaryCollection[]; + /** + * Service Provider type. + */ + readonly serviceProviderType?: string; + /** + * The current lifecycle state of the Service Provider. + */ + readonly state?: string; + readonly supportedResourceType?: string; +} +/** + * This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. + * + * Lists the Service Providers. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testServiceProviders = oci.DelegateAccessControl.getServiceProviders({ + * compartmentId: compartmentId, + * name: serviceProviderName, + * serviceProviderType: serviceProviderServiceProviderType, + * state: serviceProviderState, + * supportedResourceType: serviceProviderSupportedResourceType, + * }); + * ``` + */ +export function getServiceProvidersOutput(args: GetServiceProvidersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getServiceProviders(a, opts)) +} + +/** + * A collection of arguments for invoking getServiceProviders. + */ +export interface GetServiceProvidersOutputArgs { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return Service Provider resources that match the given name. + */ + name?: pulumi.Input; + /** + * A filter to return only Service Provider resources whose provider type matches the given provider type. + */ + serviceProviderType?: pulumi.Input; + /** + * A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + */ + state?: pulumi.Input; + /** + * A filter to return only Service Provider resources whose supported resource type matches the given resource type. + */ + supportedResourceType?: pulumi.Input; +} diff --git a/sdk/nodejs/delegateaccesscontrol/index.ts b/sdk/nodejs/delegateaccesscontrol/index.ts new file mode 100644 index 0000000000..f099d8feff --- /dev/null +++ b/sdk/nodejs/delegateaccesscontrol/index.ts @@ -0,0 +1,98 @@ +// *** 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 { DelegationControlArgs, DelegationControlState } from "./delegationControl"; +export type DelegationControl = import("./delegationControl").DelegationControl; +export const DelegationControl: typeof import("./delegationControl").DelegationControl = null as any; +utilities.lazyLoad(exports, ["DelegationControl"], () => require("./delegationControl")); + +export { DelegationSubscriptionArgs, DelegationSubscriptionState } from "./delegationSubscription"; +export type DelegationSubscription = import("./delegationSubscription").DelegationSubscription; +export const DelegationSubscription: typeof import("./delegationSubscription").DelegationSubscription = null as any; +utilities.lazyLoad(exports, ["DelegationSubscription"], () => require("./delegationSubscription")); + +export { GetDelegatedResourceAccessRequestArgs, GetDelegatedResourceAccessRequestResult, GetDelegatedResourceAccessRequestOutputArgs } from "./getDelegatedResourceAccessRequest"; +export const getDelegatedResourceAccessRequest: typeof import("./getDelegatedResourceAccessRequest").getDelegatedResourceAccessRequest = null as any; +export const getDelegatedResourceAccessRequestOutput: typeof import("./getDelegatedResourceAccessRequest").getDelegatedResourceAccessRequestOutput = null as any; +utilities.lazyLoad(exports, ["getDelegatedResourceAccessRequest","getDelegatedResourceAccessRequestOutput"], () => require("./getDelegatedResourceAccessRequest")); + +export { GetDelegatedResourceAccessRequestAuditLogReportArgs, GetDelegatedResourceAccessRequestAuditLogReportResult, GetDelegatedResourceAccessRequestAuditLogReportOutputArgs } from "./getDelegatedResourceAccessRequestAuditLogReport"; +export const getDelegatedResourceAccessRequestAuditLogReport: typeof import("./getDelegatedResourceAccessRequestAuditLogReport").getDelegatedResourceAccessRequestAuditLogReport = null as any; +export const getDelegatedResourceAccessRequestAuditLogReportOutput: typeof import("./getDelegatedResourceAccessRequestAuditLogReport").getDelegatedResourceAccessRequestAuditLogReportOutput = null as any; +utilities.lazyLoad(exports, ["getDelegatedResourceAccessRequestAuditLogReport","getDelegatedResourceAccessRequestAuditLogReportOutput"], () => require("./getDelegatedResourceAccessRequestAuditLogReport")); + +export { GetDelegatedResourceAccessRequestHistoriesArgs, GetDelegatedResourceAccessRequestHistoriesResult, GetDelegatedResourceAccessRequestHistoriesOutputArgs } from "./getDelegatedResourceAccessRequestHistories"; +export const getDelegatedResourceAccessRequestHistories: typeof import("./getDelegatedResourceAccessRequestHistories").getDelegatedResourceAccessRequestHistories = null as any; +export const getDelegatedResourceAccessRequestHistoriesOutput: typeof import("./getDelegatedResourceAccessRequestHistories").getDelegatedResourceAccessRequestHistoriesOutput = null as any; +utilities.lazyLoad(exports, ["getDelegatedResourceAccessRequestHistories","getDelegatedResourceAccessRequestHistoriesOutput"], () => require("./getDelegatedResourceAccessRequestHistories")); + +export { GetDelegatedResourceAccessRequestsArgs, GetDelegatedResourceAccessRequestsResult, GetDelegatedResourceAccessRequestsOutputArgs } from "./getDelegatedResourceAccessRequests"; +export const getDelegatedResourceAccessRequests: typeof import("./getDelegatedResourceAccessRequests").getDelegatedResourceAccessRequests = null as any; +export const getDelegatedResourceAccessRequestsOutput: typeof import("./getDelegatedResourceAccessRequests").getDelegatedResourceAccessRequestsOutput = null as any; +utilities.lazyLoad(exports, ["getDelegatedResourceAccessRequests","getDelegatedResourceAccessRequestsOutput"], () => require("./getDelegatedResourceAccessRequests")); + +export { GetDelegationControlArgs, GetDelegationControlResult, GetDelegationControlOutputArgs } from "./getDelegationControl"; +export const getDelegationControl: typeof import("./getDelegationControl").getDelegationControl = null as any; +export const getDelegationControlOutput: typeof import("./getDelegationControl").getDelegationControlOutput = null as any; +utilities.lazyLoad(exports, ["getDelegationControl","getDelegationControlOutput"], () => require("./getDelegationControl")); + +export { GetDelegationControlResourcesArgs, GetDelegationControlResourcesResult, GetDelegationControlResourcesOutputArgs } from "./getDelegationControlResources"; +export const getDelegationControlResources: typeof import("./getDelegationControlResources").getDelegationControlResources = null as any; +export const getDelegationControlResourcesOutput: typeof import("./getDelegationControlResources").getDelegationControlResourcesOutput = null as any; +utilities.lazyLoad(exports, ["getDelegationControlResources","getDelegationControlResourcesOutput"], () => require("./getDelegationControlResources")); + +export { GetDelegationControlsArgs, GetDelegationControlsResult, GetDelegationControlsOutputArgs } from "./getDelegationControls"; +export const getDelegationControls: typeof import("./getDelegationControls").getDelegationControls = null as any; +export const getDelegationControlsOutput: typeof import("./getDelegationControls").getDelegationControlsOutput = null as any; +utilities.lazyLoad(exports, ["getDelegationControls","getDelegationControlsOutput"], () => require("./getDelegationControls")); + +export { GetDelegationSubscriptionArgs, GetDelegationSubscriptionResult, GetDelegationSubscriptionOutputArgs } from "./getDelegationSubscription"; +export const getDelegationSubscription: typeof import("./getDelegationSubscription").getDelegationSubscription = null as any; +export const getDelegationSubscriptionOutput: typeof import("./getDelegationSubscription").getDelegationSubscriptionOutput = null as any; +utilities.lazyLoad(exports, ["getDelegationSubscription","getDelegationSubscriptionOutput"], () => require("./getDelegationSubscription")); + +export { GetDelegationSubscriptionsArgs, GetDelegationSubscriptionsResult, GetDelegationSubscriptionsOutputArgs } from "./getDelegationSubscriptions"; +export const getDelegationSubscriptions: typeof import("./getDelegationSubscriptions").getDelegationSubscriptions = null as any; +export const getDelegationSubscriptionsOutput: typeof import("./getDelegationSubscriptions").getDelegationSubscriptionsOutput = null as any; +utilities.lazyLoad(exports, ["getDelegationSubscriptions","getDelegationSubscriptionsOutput"], () => require("./getDelegationSubscriptions")); + +export { GetServiceProviderArgs, GetServiceProviderResult, GetServiceProviderOutputArgs } from "./getServiceProvider"; +export const getServiceProvider: typeof import("./getServiceProvider").getServiceProvider = null as any; +export const getServiceProviderOutput: typeof import("./getServiceProvider").getServiceProviderOutput = null as any; +utilities.lazyLoad(exports, ["getServiceProvider","getServiceProviderOutput"], () => require("./getServiceProvider")); + +export { GetServiceProviderActionArgs, GetServiceProviderActionResult, GetServiceProviderActionOutputArgs } from "./getServiceProviderAction"; +export const getServiceProviderAction: typeof import("./getServiceProviderAction").getServiceProviderAction = null as any; +export const getServiceProviderActionOutput: typeof import("./getServiceProviderAction").getServiceProviderActionOutput = null as any; +utilities.lazyLoad(exports, ["getServiceProviderAction","getServiceProviderActionOutput"], () => require("./getServiceProviderAction")); + +export { GetServiceProviderActionsArgs, GetServiceProviderActionsResult, GetServiceProviderActionsOutputArgs } from "./getServiceProviderActions"; +export const getServiceProviderActions: typeof import("./getServiceProviderActions").getServiceProviderActions = null as any; +export const getServiceProviderActionsOutput: typeof import("./getServiceProviderActions").getServiceProviderActionsOutput = null as any; +utilities.lazyLoad(exports, ["getServiceProviderActions","getServiceProviderActionsOutput"], () => require("./getServiceProviderActions")); + +export { GetServiceProvidersArgs, GetServiceProvidersResult, GetServiceProvidersOutputArgs } from "./getServiceProviders"; +export const getServiceProviders: typeof import("./getServiceProviders").getServiceProviders = null as any; +export const getServiceProvidersOutput: typeof import("./getServiceProviders").getServiceProvidersOutput = null as any; +utilities.lazyLoad(exports, ["getServiceProviders","getServiceProvidersOutput"], () => require("./getServiceProviders")); + + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "oci:DelegateAccessControl/delegationControl:DelegationControl": + return new DelegationControl(name, undefined, { urn }) + case "oci:DelegateAccessControl/delegationSubscription:DelegationSubscription": + return new DelegationSubscription(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("oci", "DelegateAccessControl/delegationControl", _module) +pulumi.runtime.registerResourceModule("oci", "DelegateAccessControl/delegationSubscription", _module) diff --git a/sdk/nodejs/desktops/desktopPool.ts b/sdk/nodejs/desktops/desktopPool.ts new file mode 100644 index 0000000000..1ad9c1e861 --- /dev/null +++ b/sdk/nodejs/desktops/desktopPool.ts @@ -0,0 +1,521 @@ +// *** 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 Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + * + * Creates a desktop pool with the given configuration parameters. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktopPool = new oci.desktops.DesktopPool("test_desktop_pool", { + * arePrivilegedUsers: desktopPoolArePrivilegedUsers, + * availabilityDomain: desktopPoolAvailabilityDomain, + * availabilityPolicy: { + * startSchedule: { + * cronExpression: "0 10 8 ? * 2", + * timezone: "America/Denver", + * }, + * stopSchedule: { + * cronExpression: "0 20 18 ? * 6", + * timezone: "America/Denver", + * }, + * }, + * compartmentId: compartmentId, + * contactDetails: desktopPoolContactDetails, + * devicePolicy: { + * audioMode: desktopPoolDevicePolicyAudioMode, + * cdmMode: desktopPoolDevicePolicyCdmMode, + * clipboardMode: desktopPoolDevicePolicyClipboardMode, + * isDisplayEnabled: desktopPoolDevicePolicyIsDisplayEnabled, + * isKeyboardEnabled: desktopPoolDevicePolicyIsKeyboardEnabled, + * isPointerEnabled: desktopPoolDevicePolicyIsPointerEnabled, + * isPrintingEnabled: desktopPoolDevicePolicyIsPrintingEnabled, + * }, + * displayName: desktopPoolDisplayName, + * image: { + * imageId: testImage.id, + * imageName: desktopPoolImageImageName, + * }, + * isStorageEnabled: desktopPoolIsStorageEnabled, + * maximumSize: desktopPoolMaximumSize, + * networkConfiguration: { + * subnetId: testSubnet.id, + * vcnId: testVcn.id, + * }, + * shapeName: "VM.Standard.E4.Flex", + * standbySize: desktopPoolStandbySize, + * storageBackupPolicyId: "ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz", + * storageSizeInGbs: desktopPoolStorageSizeInGbs, + * definedTags: { + * "Operations.CostCenter": "42", + * }, + * description: desktopPoolDescription, + * freeformTags: { + * Department: "Finance", + * }, + * nsgIds: desktopPoolNsgIds, + * timeStartScheduled: desktopPoolTimeStartScheduled, + * timeStopScheduled: desktopPoolTimeStopScheduled, + * }); + * ``` + * + * ## Import + * + * DesktopPools can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:Desktops/desktopPool:DesktopPool test_desktop_pool "id" + * ``` + */ +export class DesktopPool extends pulumi.CustomResource { + /** + * Get an existing DesktopPool 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?: DesktopPoolState, opts?: pulumi.CustomResourceOptions): DesktopPool { + return new DesktopPool(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:Desktops/desktopPool:DesktopPool'; + + /** + * Returns true if the given object is an instance of DesktopPool. 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 DesktopPool { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === DesktopPool.__pulumiType; + } + + /** + * The number of active desktops in the desktop pool. + */ + public /*out*/ readonly activeDesktops!: pulumi.Output; + /** + * Indicates whether desktop pool users have administrative privileges on their desktop. + */ + public readonly arePrivilegedUsers!: pulumi.Output; + /** + * The availability domain of the desktop pool. + */ + public readonly availabilityDomain!: pulumi.Output; + /** + * (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + */ + public readonly availabilityPolicy!: pulumi.Output; + /** + * (Updatable) The OCID of the compartment which will contain the desktop pool. + */ + public readonly compartmentId!: pulumi.Output; + /** + * (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + */ + public readonly contactDetails!: pulumi.Output; + /** + * (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]: string}>; + /** + * (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + */ + public readonly description!: pulumi.Output; + /** + * (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + */ + public readonly devicePolicy!: pulumi.Output; + /** + * (Updatable) A user friendly display name. 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"}` + */ + public readonly freeformTags!: pulumi.Output<{[key: string]: string}>; + /** + * Provides information about the desktop image. + */ + public readonly image!: pulumi.Output; + /** + * Indicates whether storage is enabled for the desktop pool. + */ + public readonly isStorageEnabled!: pulumi.Output; + /** + * (Updatable) The maximum number of desktops permitted in the desktop pool. + */ + public readonly maximumSize!: pulumi.Output; + /** + * Provides information about the network configuration of the desktop pool. + */ + public readonly networkConfiguration!: pulumi.Output; + /** + * A list of network security groups for the desktop pool. + */ + public readonly nsgIds!: pulumi.Output; + /** + * The shape of the desktop pool. + */ + public readonly shapeName!: pulumi.Output; + /** + * (Updatable) The maximum number of standby desktops available in the desktop pool. + */ + public readonly standbySize!: pulumi.Output; + /** + * The current state of the desktop pool. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * The backup policy OCID of the storage. + */ + public readonly storageBackupPolicyId!: pulumi.Output; + /** + * The size in GBs of the storage for the desktop pool. + */ + public readonly storageSizeInGbs!: pulumi.Output; + /** + * The date and time the resource was created. + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * (Updatable) The start time of the desktop pool. + */ + public readonly timeStartScheduled!: pulumi.Output; + /** + * (Updatable) The stop time of the desktop pool. + * + * + * ** IMPORTANT ** + * 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 timeStopScheduled!: pulumi.Output; + + /** + * Create a DesktopPool 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: DesktopPoolArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: DesktopPoolArgs | DesktopPoolState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as DesktopPoolState | undefined; + resourceInputs["activeDesktops"] = state ? state.activeDesktops : undefined; + resourceInputs["arePrivilegedUsers"] = state ? state.arePrivilegedUsers : undefined; + resourceInputs["availabilityDomain"] = state ? state.availabilityDomain : undefined; + resourceInputs["availabilityPolicy"] = state ? state.availabilityPolicy : undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["contactDetails"] = state ? state.contactDetails : undefined; + resourceInputs["definedTags"] = state ? state.definedTags : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["devicePolicy"] = state ? state.devicePolicy : undefined; + resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["image"] = state ? state.image : undefined; + resourceInputs["isStorageEnabled"] = state ? state.isStorageEnabled : undefined; + resourceInputs["maximumSize"] = state ? state.maximumSize : undefined; + resourceInputs["networkConfiguration"] = state ? state.networkConfiguration : undefined; + resourceInputs["nsgIds"] = state ? state.nsgIds : undefined; + resourceInputs["shapeName"] = state ? state.shapeName : undefined; + resourceInputs["standbySize"] = state ? state.standbySize : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["storageBackupPolicyId"] = state ? state.storageBackupPolicyId : undefined; + resourceInputs["storageSizeInGbs"] = state ? state.storageSizeInGbs : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeStartScheduled"] = state ? state.timeStartScheduled : undefined; + resourceInputs["timeStopScheduled"] = state ? state.timeStopScheduled : undefined; + } else { + const args = argsOrState as DesktopPoolArgs | undefined; + if ((!args || args.arePrivilegedUsers === undefined) && !opts.urn) { + throw new Error("Missing required property 'arePrivilegedUsers'"); + } + if ((!args || args.availabilityDomain === undefined) && !opts.urn) { + throw new Error("Missing required property 'availabilityDomain'"); + } + if ((!args || args.availabilityPolicy === undefined) && !opts.urn) { + throw new Error("Missing required property 'availabilityPolicy'"); + } + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.contactDetails === undefined) && !opts.urn) { + throw new Error("Missing required property 'contactDetails'"); + } + if ((!args || args.devicePolicy === undefined) && !opts.urn) { + throw new Error("Missing required property 'devicePolicy'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.image === undefined) && !opts.urn) { + throw new Error("Missing required property 'image'"); + } + if ((!args || args.isStorageEnabled === undefined) && !opts.urn) { + throw new Error("Missing required property 'isStorageEnabled'"); + } + if ((!args || args.maximumSize === undefined) && !opts.urn) { + throw new Error("Missing required property 'maximumSize'"); + } + if ((!args || args.networkConfiguration === undefined) && !opts.urn) { + throw new Error("Missing required property 'networkConfiguration'"); + } + if ((!args || args.shapeName === undefined) && !opts.urn) { + throw new Error("Missing required property 'shapeName'"); + } + if ((!args || args.standbySize === undefined) && !opts.urn) { + throw new Error("Missing required property 'standbySize'"); + } + if ((!args || args.storageBackupPolicyId === undefined) && !opts.urn) { + throw new Error("Missing required property 'storageBackupPolicyId'"); + } + if ((!args || args.storageSizeInGbs === undefined) && !opts.urn) { + throw new Error("Missing required property 'storageSizeInGbs'"); + } + resourceInputs["arePrivilegedUsers"] = args ? args.arePrivilegedUsers : undefined; + resourceInputs["availabilityDomain"] = args ? args.availabilityDomain : undefined; + resourceInputs["availabilityPolicy"] = args ? args.availabilityPolicy : undefined; + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["contactDetails"] = args ? args.contactDetails : undefined; + resourceInputs["definedTags"] = args ? args.definedTags : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["devicePolicy"] = args ? args.devicePolicy : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; + resourceInputs["image"] = args ? args.image : undefined; + resourceInputs["isStorageEnabled"] = args ? args.isStorageEnabled : undefined; + resourceInputs["maximumSize"] = args ? args.maximumSize : undefined; + resourceInputs["networkConfiguration"] = args ? args.networkConfiguration : undefined; + resourceInputs["nsgIds"] = args ? args.nsgIds : undefined; + resourceInputs["shapeName"] = args ? args.shapeName : undefined; + resourceInputs["standbySize"] = args ? args.standbySize : undefined; + resourceInputs["storageBackupPolicyId"] = args ? args.storageBackupPolicyId : undefined; + resourceInputs["storageSizeInGbs"] = args ? args.storageSizeInGbs : undefined; + resourceInputs["timeStartScheduled"] = args ? args.timeStartScheduled : undefined; + resourceInputs["timeStopScheduled"] = args ? args.timeStopScheduled : undefined; + resourceInputs["activeDesktops"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(DesktopPool.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering DesktopPool resources. + */ +export interface DesktopPoolState { + /** + * The number of active desktops in the desktop pool. + */ + activeDesktops?: pulumi.Input; + /** + * Indicates whether desktop pool users have administrative privileges on their desktop. + */ + arePrivilegedUsers?: pulumi.Input; + /** + * The availability domain of the desktop pool. + */ + availabilityDomain?: pulumi.Input; + /** + * (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + */ + availabilityPolicy?: pulumi.Input; + /** + * (Updatable) The OCID of the compartment which will contain the desktop pool. + */ + compartmentId?: pulumi.Input; + /** + * (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + */ + contactDetails?: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + */ + description?: pulumi.Input; + /** + * (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + */ + devicePolicy?: pulumi.Input; + /** + * (Updatable) A user friendly display name. 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"}` + */ + freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Provides information about the desktop image. + */ + image?: pulumi.Input; + /** + * Indicates whether storage is enabled for the desktop pool. + */ + isStorageEnabled?: pulumi.Input; + /** + * (Updatable) The maximum number of desktops permitted in the desktop pool. + */ + maximumSize?: pulumi.Input; + /** + * Provides information about the network configuration of the desktop pool. + */ + networkConfiguration?: pulumi.Input; + /** + * A list of network security groups for the desktop pool. + */ + nsgIds?: pulumi.Input[]>; + /** + * The shape of the desktop pool. + */ + shapeName?: pulumi.Input; + /** + * (Updatable) The maximum number of standby desktops available in the desktop pool. + */ + standbySize?: pulumi.Input; + /** + * The current state of the desktop pool. + */ + state?: pulumi.Input; + /** + * The backup policy OCID of the storage. + */ + storageBackupPolicyId?: pulumi.Input; + /** + * The size in GBs of the storage for the desktop pool. + */ + storageSizeInGbs?: pulumi.Input; + /** + * The date and time the resource was created. + */ + timeCreated?: pulumi.Input; + /** + * (Updatable) The start time of the desktop pool. + */ + timeStartScheduled?: pulumi.Input; + /** + * (Updatable) The stop time of the desktop pool. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + timeStopScheduled?: pulumi.Input; +} + +/** + * The set of arguments for constructing a DesktopPool resource. + */ +export interface DesktopPoolArgs { + /** + * Indicates whether desktop pool users have administrative privileges on their desktop. + */ + arePrivilegedUsers: pulumi.Input; + /** + * The availability domain of the desktop pool. + */ + availabilityDomain: pulumi.Input; + /** + * (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + */ + availabilityPolicy: pulumi.Input; + /** + * (Updatable) The OCID of the compartment which will contain the desktop pool. + */ + compartmentId: pulumi.Input; + /** + * (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + */ + contactDetails: pulumi.Input; + /** + * (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]: pulumi.Input}>; + /** + * (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + */ + description?: pulumi.Input; + /** + * (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + */ + devicePolicy: pulumi.Input; + /** + * (Updatable) A user friendly display name. 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"}` + */ + freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; + /** + * Provides information about the desktop image. + */ + image: pulumi.Input; + /** + * Indicates whether storage is enabled for the desktop pool. + */ + isStorageEnabled: pulumi.Input; + /** + * (Updatable) The maximum number of desktops permitted in the desktop pool. + */ + maximumSize: pulumi.Input; + /** + * Provides information about the network configuration of the desktop pool. + */ + networkConfiguration: pulumi.Input; + /** + * A list of network security groups for the desktop pool. + */ + nsgIds?: pulumi.Input[]>; + /** + * The shape of the desktop pool. + */ + shapeName: pulumi.Input; + /** + * (Updatable) The maximum number of standby desktops available in the desktop pool. + */ + standbySize: pulumi.Input; + /** + * The backup policy OCID of the storage. + */ + storageBackupPolicyId: pulumi.Input; + /** + * The size in GBs of the storage for the desktop pool. + */ + storageSizeInGbs: pulumi.Input; + /** + * (Updatable) The start time of the desktop pool. + */ + timeStartScheduled?: pulumi.Input; + /** + * (Updatable) The stop time of the desktop pool. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + timeStopScheduled?: pulumi.Input; +} diff --git a/sdk/nodejs/desktops/getDesktop.ts b/sdk/nodejs/desktops/getDesktop.ts new file mode 100644 index 0000000000..dacdbc7590 --- /dev/null +++ b/sdk/nodejs/desktops/getDesktop.ts @@ -0,0 +1,117 @@ +// *** 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 Desktop resource in Oracle Cloud Infrastructure Desktops service. + * + * Provides information about the desktop with the specified OCID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktop = oci.Desktops.getDesktop({ + * desktopId: testDesktopOciDesktopsDesktop.id, + * }); + * ``` + */ +export function getDesktop(args: GetDesktopArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Desktops/getDesktop:getDesktop", { + "desktopId": args.desktopId, + }, opts); +} + +/** + * A collection of arguments for invoking getDesktop. + */ +export interface GetDesktopArgs { + /** + * The OCID of the desktop. + */ + desktopId: string; +} + +/** + * A collection of values returned by getDesktop. + */ +export interface GetDesktopResult { + /** + * 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"}` + */ + readonly definedTags: {[key: string]: string}; + readonly desktopId: string; + /** + * Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + */ + readonly devicePolicies: outputs.Desktops.GetDesktopDevicePolicy[]; + /** + * A user friendly display name. Avoid entering confidential information. + */ + readonly displayName: string; + /** + * 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"}` + */ + readonly freeformTags: {[key: string]: string}; + /** + * Provides information about where a desktop is hosted. + */ + readonly hostingOptions: outputs.Desktops.GetDesktopHostingOption[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The OCID of the desktop pool the desktop is a member of. + */ + readonly poolId: string; + /** + * The state of the desktop. + */ + readonly state: string; + /** + * The date and time the resource was created. + */ + readonly timeCreated: string; + /** + * The owner of the desktop. + */ + readonly userName: string; +} +/** + * This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service. + * + * Provides information about the desktop with the specified OCID. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktop = oci.Desktops.getDesktop({ + * desktopId: testDesktopOciDesktopsDesktop.id, + * }); + * ``` + */ +export function getDesktopOutput(args: GetDesktopOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDesktop(a, opts)) +} + +/** + * A collection of arguments for invoking getDesktop. + */ +export interface GetDesktopOutputArgs { + /** + * The OCID of the desktop. + */ + desktopId: pulumi.Input; +} diff --git a/sdk/nodejs/desktops/getDesktopPool.ts b/sdk/nodejs/desktops/getDesktopPool.ts new file mode 100644 index 0000000000..1f0d8b2a73 --- /dev/null +++ b/sdk/nodejs/desktops/getDesktopPool.ts @@ -0,0 +1,177 @@ +// *** 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 Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + * + * Returns information about the desktop pool including all configuration parameters and the current state. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktopPool = oci.Desktops.getDesktopPool({ + * desktopPoolId: testDesktopPoolOciDesktopsDesktopPool.id, + * }); + * ``` + */ +export function getDesktopPool(args: GetDesktopPoolArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Desktops/getDesktopPool:getDesktopPool", { + "desktopPoolId": args.desktopPoolId, + }, opts); +} + +/** + * A collection of arguments for invoking getDesktopPool. + */ +export interface GetDesktopPoolArgs { + /** + * The OCID of the desktop pool. + */ + desktopPoolId: string; +} + +/** + * A collection of values returned by getDesktopPool. + */ +export interface GetDesktopPoolResult { + /** + * The number of active desktops in the desktop pool. + */ + readonly activeDesktops: number; + /** + * Indicates whether desktop pool users have administrative privileges on their desktop. + */ + readonly arePrivilegedUsers: boolean; + /** + * The availability domain of the desktop pool. + */ + readonly availabilityDomain: string; + /** + * Provides the start and stop schedule information for desktop availability of the desktop pool. + */ + readonly availabilityPolicies: outputs.Desktops.GetDesktopPoolAvailabilityPolicy[]; + /** + * The OCID of the compartment of the desktop pool. + */ + readonly compartmentId: string; + /** + * Contact information of the desktop pool administrator. Avoid entering confidential information. + */ + readonly contactDetails: string; + /** + * 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"}` + */ + readonly definedTags: {[key: string]: string}; + /** + * A user friendly description providing additional information about the resource. Avoid entering confidential information. + */ + readonly description: string; + readonly desktopPoolId: string; + /** + * Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + */ + readonly devicePolicies: outputs.Desktops.GetDesktopPoolDevicePolicy[]; + /** + * A user friendly display name. Avoid entering confidential information. + */ + readonly displayName: string; + /** + * 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"}` + */ + readonly freeformTags: {[key: string]: string}; + /** + * The OCID of the desktop pool. + */ + readonly id: string; + /** + * Provides information about the desktop image. + */ + readonly images: outputs.Desktops.GetDesktopPoolImage[]; + /** + * Indicates whether storage is enabled for the desktop pool. + */ + readonly isStorageEnabled: boolean; + /** + * The maximum number of desktops permitted in the desktop pool. + */ + readonly maximumSize: number; + /** + * Provides information about the network configuration of the desktop pool. + */ + readonly networkConfigurations: outputs.Desktops.GetDesktopPoolNetworkConfiguration[]; + /** + * A list of network security groups for the desktop pool. + */ + readonly nsgIds: string[]; + /** + * The shape of the desktop pool. + */ + readonly shapeName: string; + /** + * The maximum number of standby desktops available in the desktop pool. + */ + readonly standbySize: number; + /** + * The current state of the desktop pool. + */ + readonly state: string; + /** + * The backup policy OCID of the storage. + */ + readonly storageBackupPolicyId: string; + /** + * The size in GBs of the storage for the desktop pool. + */ + readonly storageSizeInGbs: number; + /** + * The date and time the resource was created. + */ + readonly timeCreated: string; + /** + * The start time of the desktop pool. + */ + readonly timeStartScheduled: string; + /** + * The stop time of the desktop pool. + */ + readonly timeStopScheduled: string; +} +/** + * This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + * + * Returns information about the desktop pool including all configuration parameters and the current state. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktopPool = oci.Desktops.getDesktopPool({ + * desktopPoolId: testDesktopPoolOciDesktopsDesktopPool.id, + * }); + * ``` + */ +export function getDesktopPoolOutput(args: GetDesktopPoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDesktopPool(a, opts)) +} + +/** + * A collection of arguments for invoking getDesktopPool. + */ +export interface GetDesktopPoolOutputArgs { + /** + * The OCID of the desktop pool. + */ + desktopPoolId: pulumi.Input; +} diff --git a/sdk/nodejs/desktops/getDesktopPoolDesktops.ts b/sdk/nodejs/desktops/getDesktopPoolDesktops.ts new file mode 100644 index 0000000000..e23dd3cbe2 --- /dev/null +++ b/sdk/nodejs/desktops/getDesktopPoolDesktops.ts @@ -0,0 +1,148 @@ +// *** 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 Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktopPoolDesktops = oci.Desktops.getDesktopPoolDesktops({ + * compartmentId: compartmentId, + * desktopPoolId: testDesktopPool.id, + * availabilityDomain: desktopPoolDesktopAvailabilityDomain, + * displayName: desktopPoolDesktopDisplayName, + * id: desktopPoolDesktopId, + * state: desktopPoolDesktopState, + * }); + * ``` + */ +export function getDesktopPoolDesktops(args: GetDesktopPoolDesktopsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Desktops/getDesktopPoolDesktops:getDesktopPoolDesktops", { + "availabilityDomain": args.availabilityDomain, + "compartmentId": args.compartmentId, + "desktopPoolId": args.desktopPoolId, + "displayName": args.displayName, + "filters": args.filters, + "id": args.id, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getDesktopPoolDesktops. + */ +export interface GetDesktopPoolDesktopsArgs { + /** + * The name of the availability domain. + */ + availabilityDomain?: string; + /** + * The OCID of the compartment of the desktop pool. + */ + compartmentId: string; + /** + * The OCID of the desktop pool. + */ + desktopPoolId: string; + /** + * A filter to return only results with the given displayName. + */ + displayName?: string; + filters?: inputs.Desktops.GetDesktopPoolDesktopsFilter[]; + /** + * A filter to return only results with the given OCID. + */ + id?: string; + /** + * A filter to return only results with the given lifecycleState. + */ + state?: string; +} + +/** + * A collection of values returned by getDesktopPoolDesktops. + */ +export interface GetDesktopPoolDesktopsResult { + readonly availabilityDomain?: string; + readonly compartmentId: string; + /** + * The list of desktop_pool_desktop_collection. + */ + readonly desktopPoolDesktopCollections: outputs.Desktops.GetDesktopPoolDesktopsDesktopPoolDesktopCollection[]; + readonly desktopPoolId: string; + readonly displayName?: string; + readonly filters?: outputs.Desktops.GetDesktopPoolDesktopsFilter[]; + readonly id?: string; + /** + * The state of the desktop. + */ + readonly state?: string; +} +/** + * This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktopPoolDesktops = oci.Desktops.getDesktopPoolDesktops({ + * compartmentId: compartmentId, + * desktopPoolId: testDesktopPool.id, + * availabilityDomain: desktopPoolDesktopAvailabilityDomain, + * displayName: desktopPoolDesktopDisplayName, + * id: desktopPoolDesktopId, + * state: desktopPoolDesktopState, + * }); + * ``` + */ +export function getDesktopPoolDesktopsOutput(args: GetDesktopPoolDesktopsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDesktopPoolDesktops(a, opts)) +} + +/** + * A collection of arguments for invoking getDesktopPoolDesktops. + */ +export interface GetDesktopPoolDesktopsOutputArgs { + /** + * The name of the availability domain. + */ + availabilityDomain?: pulumi.Input; + /** + * The OCID of the compartment of the desktop pool. + */ + compartmentId: pulumi.Input; + /** + * The OCID of the desktop pool. + */ + desktopPoolId: pulumi.Input; + /** + * A filter to return only results with the given displayName. + */ + displayName?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return only results with the given OCID. + */ + id?: pulumi.Input; + /** + * A filter to return only results with the given lifecycleState. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/desktops/getDesktopPoolVolumes.ts b/sdk/nodejs/desktops/getDesktopPoolVolumes.ts new file mode 100644 index 0000000000..ba403770bd --- /dev/null +++ b/sdk/nodejs/desktops/getDesktopPoolVolumes.ts @@ -0,0 +1,154 @@ +// *** 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 Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktopPoolVolumes = oci.Desktops.getDesktopPoolVolumes({ + * compartmentId: compartmentId, + * desktopPoolId: testDesktopPool.id, + * availabilityDomain: desktopPoolVolumeAvailabilityDomain, + * displayName: desktopPoolVolumeDisplayName, + * id: desktopPoolVolumeId, + * state: desktopPoolVolumeState, + * }); + * ``` + */ +export function getDesktopPoolVolumes(args: GetDesktopPoolVolumesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Desktops/getDesktopPoolVolumes:getDesktopPoolVolumes", { + "availabilityDomain": args.availabilityDomain, + "compartmentId": args.compartmentId, + "desktopPoolId": args.desktopPoolId, + "displayName": args.displayName, + "filters": args.filters, + "id": args.id, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getDesktopPoolVolumes. + */ +export interface GetDesktopPoolVolumesArgs { + /** + * The name of the availability domain. + */ + availabilityDomain?: string; + /** + * The OCID of the compartment of the desktop pool. + */ + compartmentId: string; + /** + * The OCID of the desktop pool. + */ + desktopPoolId: string; + /** + * A filter to return only results with the given displayName. + */ + displayName?: string; + filters?: inputs.Desktops.GetDesktopPoolVolumesFilter[]; + /** + * A filter to return only results with the given OCID. + */ + id?: string; + /** + * A filter to return only results with the given lifecycleState. + */ + state?: string; +} + +/** + * A collection of values returned by getDesktopPoolVolumes. + */ +export interface GetDesktopPoolVolumesResult { + /** + * The availability domain of the desktop pool. + */ + readonly availabilityDomain?: string; + readonly compartmentId: string; + readonly desktopPoolId: string; + /** + * The list of desktop_pool_volume_collection. + */ + readonly desktopPoolVolumeCollections: outputs.Desktops.GetDesktopPoolVolumesDesktopPoolVolumeCollection[]; + readonly displayName?: string; + readonly filters?: outputs.Desktops.GetDesktopPoolVolumesFilter[]; + /** + * The OCID of the desktop pool volume. + */ + readonly id?: string; + /** + * The state of the desktop pool volume. + */ + readonly state?: string; +} +/** + * This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktopPoolVolumes = oci.Desktops.getDesktopPoolVolumes({ + * compartmentId: compartmentId, + * desktopPoolId: testDesktopPool.id, + * availabilityDomain: desktopPoolVolumeAvailabilityDomain, + * displayName: desktopPoolVolumeDisplayName, + * id: desktopPoolVolumeId, + * state: desktopPoolVolumeState, + * }); + * ``` + */ +export function getDesktopPoolVolumesOutput(args: GetDesktopPoolVolumesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDesktopPoolVolumes(a, opts)) +} + +/** + * A collection of arguments for invoking getDesktopPoolVolumes. + */ +export interface GetDesktopPoolVolumesOutputArgs { + /** + * The name of the availability domain. + */ + availabilityDomain?: pulumi.Input; + /** + * The OCID of the compartment of the desktop pool. + */ + compartmentId: pulumi.Input; + /** + * The OCID of the desktop pool. + */ + desktopPoolId: pulumi.Input; + /** + * A filter to return only results with the given displayName. + */ + displayName?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return only results with the given OCID. + */ + id?: pulumi.Input; + /** + * A filter to return only results with the given lifecycleState. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/desktops/getDesktopPools.ts b/sdk/nodejs/desktops/getDesktopPools.ts new file mode 100644 index 0000000000..b1cdbfec6b --- /dev/null +++ b/sdk/nodejs/desktops/getDesktopPools.ts @@ -0,0 +1,148 @@ +// *** 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 Desktop Pools in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktopPools = oci.Desktops.getDesktopPools({ + * compartmentId: compartmentId, + * availabilityDomain: desktopPoolAvailabilityDomain, + * displayName: desktopPoolDisplayName, + * id: desktopPoolId, + * state: desktopPoolState, + * }); + * ``` + */ +export function getDesktopPools(args: GetDesktopPoolsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Desktops/getDesktopPools:getDesktopPools", { + "availabilityDomain": args.availabilityDomain, + "compartmentId": args.compartmentId, + "displayName": args.displayName, + "filters": args.filters, + "id": args.id, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getDesktopPools. + */ +export interface GetDesktopPoolsArgs { + /** + * The name of the availability domain. + */ + availabilityDomain?: string; + /** + * The OCID of the compartment of the desktop pool. + */ + compartmentId: string; + /** + * A filter to return only results with the given displayName. + */ + displayName?: string; + filters?: inputs.Desktops.GetDesktopPoolsFilter[]; + /** + * A filter to return only results with the given OCID. + */ + id?: string; + /** + * A filter to return only results with the given lifecycleState. + */ + state?: string; +} + +/** + * A collection of values returned by getDesktopPools. + */ +export interface GetDesktopPoolsResult { + /** + * The availability domain of the desktop pool. + */ + readonly availabilityDomain?: string; + /** + * The OCID of the compartment of the desktop pool. + */ + readonly compartmentId: string; + /** + * The list of desktop_pool_collection. + */ + readonly desktopPoolCollections: outputs.Desktops.GetDesktopPoolsDesktopPoolCollection[]; + /** + * A user friendly display name. Avoid entering confidential information. + */ + readonly displayName?: string; + readonly filters?: outputs.Desktops.GetDesktopPoolsFilter[]; + /** + * The OCID of the desktop pool. + */ + readonly id?: string; + /** + * The current state of the desktop pool. + */ + readonly state?: string; +} +/** + * This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktopPools = oci.Desktops.getDesktopPools({ + * compartmentId: compartmentId, + * availabilityDomain: desktopPoolAvailabilityDomain, + * displayName: desktopPoolDisplayName, + * id: desktopPoolId, + * state: desktopPoolState, + * }); + * ``` + */ +export function getDesktopPoolsOutput(args: GetDesktopPoolsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDesktopPools(a, opts)) +} + +/** + * A collection of arguments for invoking getDesktopPools. + */ +export interface GetDesktopPoolsOutputArgs { + /** + * The name of the availability domain. + */ + availabilityDomain?: pulumi.Input; + /** + * The OCID of the compartment of the desktop pool. + */ + compartmentId: pulumi.Input; + /** + * A filter to return only results with the given displayName. + */ + displayName?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return only results with the given OCID. + */ + id?: pulumi.Input; + /** + * A filter to return only results with the given lifecycleState. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/desktops/getDesktops.ts b/sdk/nodejs/desktops/getDesktops.ts new file mode 100644 index 0000000000..fcf28a6c0d --- /dev/null +++ b/sdk/nodejs/desktops/getDesktops.ts @@ -0,0 +1,154 @@ +// *** 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 Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktops = oci.Desktops.getDesktops({ + * compartmentId: compartmentId, + * availabilityDomain: desktopAvailabilityDomain, + * desktopPoolId: testDesktopPool.id, + * displayName: desktopDisplayName, + * id: desktopId, + * state: desktopState, + * }); + * ``` + */ +export function getDesktops(args: GetDesktopsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Desktops/getDesktops:getDesktops", { + "availabilityDomain": args.availabilityDomain, + "compartmentId": args.compartmentId, + "desktopPoolId": args.desktopPoolId, + "displayName": args.displayName, + "filters": args.filters, + "id": args.id, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getDesktops. + */ +export interface GetDesktopsArgs { + /** + * The name of the availability domain. + */ + availabilityDomain?: string; + /** + * The OCID of the compartment of the desktop pool. + */ + compartmentId: string; + /** + * The OCID of the desktop pool. + */ + desktopPoolId?: string; + /** + * A filter to return only results with the given displayName. + */ + displayName?: string; + filters?: inputs.Desktops.GetDesktopsFilter[]; + /** + * A filter to return only results with the given OCID. + */ + id?: string; + /** + * A filter to return only results with the given lifecycleState. + */ + state?: string; +} + +/** + * A collection of values returned by getDesktops. + */ +export interface GetDesktopsResult { + readonly availabilityDomain?: string; + readonly compartmentId: string; + /** + * The list of desktop_collection. + */ + readonly desktopCollections: outputs.Desktops.GetDesktopsDesktopCollection[]; + readonly desktopPoolId?: string; + /** + * A user friendly display name. Avoid entering confidential information. + */ + readonly displayName?: string; + readonly filters?: outputs.Desktops.GetDesktopsFilter[]; + /** + * The OCID of the desktop. + */ + readonly id?: string; + /** + * The state of the desktop. + */ + readonly state?: string; +} +/** + * This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. + * + * Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDesktops = oci.Desktops.getDesktops({ + * compartmentId: compartmentId, + * availabilityDomain: desktopAvailabilityDomain, + * desktopPoolId: testDesktopPool.id, + * displayName: desktopDisplayName, + * id: desktopId, + * state: desktopState, + * }); + * ``` + */ +export function getDesktopsOutput(args: GetDesktopsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDesktops(a, opts)) +} + +/** + * A collection of arguments for invoking getDesktops. + */ +export interface GetDesktopsOutputArgs { + /** + * The name of the availability domain. + */ + availabilityDomain?: pulumi.Input; + /** + * The OCID of the compartment of the desktop pool. + */ + compartmentId: pulumi.Input; + /** + * The OCID of the desktop pool. + */ + desktopPoolId?: pulumi.Input; + /** + * A filter to return only results with the given displayName. + */ + displayName?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return only results with the given OCID. + */ + id?: pulumi.Input; + /** + * A filter to return only results with the given lifecycleState. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/desktops/index.ts b/sdk/nodejs/desktops/index.ts new file mode 100644 index 0000000000..b2edd9ea2a --- /dev/null +++ b/sdk/nodejs/desktops/index.ts @@ -0,0 +1,55 @@ +// *** 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 { DesktopPoolArgs, DesktopPoolState } from "./desktopPool"; +export type DesktopPool = import("./desktopPool").DesktopPool; +export const DesktopPool: typeof import("./desktopPool").DesktopPool = null as any; +utilities.lazyLoad(exports, ["DesktopPool"], () => require("./desktopPool")); + +export { GetDesktopArgs, GetDesktopResult, GetDesktopOutputArgs } from "./getDesktop"; +export const getDesktop: typeof import("./getDesktop").getDesktop = null as any; +export const getDesktopOutput: typeof import("./getDesktop").getDesktopOutput = null as any; +utilities.lazyLoad(exports, ["getDesktop","getDesktopOutput"], () => require("./getDesktop")); + +export { GetDesktopPoolArgs, GetDesktopPoolResult, GetDesktopPoolOutputArgs } from "./getDesktopPool"; +export const getDesktopPool: typeof import("./getDesktopPool").getDesktopPool = null as any; +export const getDesktopPoolOutput: typeof import("./getDesktopPool").getDesktopPoolOutput = null as any; +utilities.lazyLoad(exports, ["getDesktopPool","getDesktopPoolOutput"], () => require("./getDesktopPool")); + +export { GetDesktopPoolDesktopsArgs, GetDesktopPoolDesktopsResult, GetDesktopPoolDesktopsOutputArgs } from "./getDesktopPoolDesktops"; +export const getDesktopPoolDesktops: typeof import("./getDesktopPoolDesktops").getDesktopPoolDesktops = null as any; +export const getDesktopPoolDesktopsOutput: typeof import("./getDesktopPoolDesktops").getDesktopPoolDesktopsOutput = null as any; +utilities.lazyLoad(exports, ["getDesktopPoolDesktops","getDesktopPoolDesktopsOutput"], () => require("./getDesktopPoolDesktops")); + +export { GetDesktopPoolVolumesArgs, GetDesktopPoolVolumesResult, GetDesktopPoolVolumesOutputArgs } from "./getDesktopPoolVolumes"; +export const getDesktopPoolVolumes: typeof import("./getDesktopPoolVolumes").getDesktopPoolVolumes = null as any; +export const getDesktopPoolVolumesOutput: typeof import("./getDesktopPoolVolumes").getDesktopPoolVolumesOutput = null as any; +utilities.lazyLoad(exports, ["getDesktopPoolVolumes","getDesktopPoolVolumesOutput"], () => require("./getDesktopPoolVolumes")); + +export { GetDesktopPoolsArgs, GetDesktopPoolsResult, GetDesktopPoolsOutputArgs } from "./getDesktopPools"; +export const getDesktopPools: typeof import("./getDesktopPools").getDesktopPools = null as any; +export const getDesktopPoolsOutput: typeof import("./getDesktopPools").getDesktopPoolsOutput = null as any; +utilities.lazyLoad(exports, ["getDesktopPools","getDesktopPoolsOutput"], () => require("./getDesktopPools")); + +export { GetDesktopsArgs, GetDesktopsResult, GetDesktopsOutputArgs } from "./getDesktops"; +export const getDesktops: typeof import("./getDesktops").getDesktops = null as any; +export const getDesktopsOutput: typeof import("./getDesktops").getDesktopsOutput = null as any; +utilities.lazyLoad(exports, ["getDesktops","getDesktopsOutput"], () => require("./getDesktops")); + + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "oci:Desktops/desktopPool:DesktopPool": + return new DesktopPool(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("oci", "Desktops/desktopPool", _module) diff --git a/sdk/nodejs/filestorage/mountTarget.ts b/sdk/nodejs/filestorage/mountTarget.ts index 92c32e3424..6aadc4b628 100644 --- a/sdk/nodejs/filestorage/mountTarget.ts +++ b/sdk/nodejs/filestorage/mountTarget.ts @@ -80,6 +80,7 @@ import * as utilities from "../utilities"; * userSearchBase: mountTargetLdapIdmapUserSearchBase, * }, * nsgIds: mountTargetNsgIds, + * requestedThroughput: mountTargetRequestedThroughput, * }); * ``` * @@ -158,11 +159,7 @@ export class MountTarget extends pulumi.CustomResource { */ public readonly idmapType!: pulumi.Output; /** - * A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` */ public readonly ipAddress!: pulumi.Output; /** @@ -181,10 +178,22 @@ export class MountTarget extends pulumi.CustomResource { * (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). */ public readonly nsgIds!: pulumi.Output; + /** + * Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + */ + public /*out*/ readonly observedThroughput!: pulumi.Output; /** * The OCIDs of the private IP addresses associated with this mount target. */ public /*out*/ readonly privateIpIds!: pulumi.Output; + /** + * (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + */ + public readonly requestedThroughput!: pulumi.Output; + /** + * * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + */ + public /*out*/ readonly reservedStorageCapacity!: pulumi.Output; /** * The current state of the mount target. */ @@ -197,6 +206,10 @@ export class MountTarget extends pulumi.CustomResource { * 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 the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + */ + public /*out*/ readonly timeBillingCycleEnd!: pulumi.Output; /** * 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` */ @@ -228,9 +241,13 @@ export class MountTarget extends pulumi.CustomResource { resourceInputs["ldapIdmap"] = state ? state.ldapIdmap : undefined; resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined; resourceInputs["nsgIds"] = state ? state.nsgIds : undefined; + resourceInputs["observedThroughput"] = state ? state.observedThroughput : undefined; resourceInputs["privateIpIds"] = state ? state.privateIpIds : undefined; + resourceInputs["requestedThroughput"] = state ? state.requestedThroughput : undefined; + resourceInputs["reservedStorageCapacity"] = state ? state.reservedStorageCapacity : undefined; resourceInputs["state"] = state ? state.state : undefined; resourceInputs["subnetId"] = state ? state.subnetId : undefined; + resourceInputs["timeBillingCycleEnd"] = state ? state.timeBillingCycleEnd : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; } else { const args = argsOrState as MountTargetArgs | undefined; @@ -254,11 +271,15 @@ export class MountTarget extends pulumi.CustomResource { resourceInputs["kerberos"] = args ? args.kerberos : undefined; resourceInputs["ldapIdmap"] = args ? args.ldapIdmap : undefined; resourceInputs["nsgIds"] = args ? args.nsgIds : undefined; + resourceInputs["requestedThroughput"] = args ? args.requestedThroughput : undefined; resourceInputs["subnetId"] = args ? args.subnetId : undefined; resourceInputs["exportSetId"] = undefined /*out*/; resourceInputs["lifecycleDetails"] = undefined /*out*/; + resourceInputs["observedThroughput"] = undefined /*out*/; resourceInputs["privateIpIds"] = undefined /*out*/; + resourceInputs["reservedStorageCapacity"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; + resourceInputs["timeBillingCycleEnd"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; } opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); @@ -309,11 +330,7 @@ export interface MountTargetState { */ idmapType?: pulumi.Input; /** - * A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` */ ipAddress?: pulumi.Input; /** @@ -332,10 +349,22 @@ export interface MountTargetState { * (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). */ nsgIds?: pulumi.Input[]>; + /** + * Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + */ + observedThroughput?: pulumi.Input; /** * The OCIDs of the private IP addresses associated with this mount target. */ privateIpIds?: pulumi.Input[]>; + /** + * (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + */ + requestedThroughput?: pulumi.Input; + /** + * * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + */ + reservedStorageCapacity?: pulumi.Input; /** * The current state of the mount target. */ @@ -348,6 +377,10 @@ export interface MountTargetState { * 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 the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + */ + timeBillingCycleEnd?: pulumi.Input; /** * 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` */ @@ -393,11 +426,7 @@ export interface MountTargetArgs { */ idmapType?: pulumi.Input; /** - * A private IP 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 a private IP address from the subnet. - * - * Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - * - * Example: `10.0.3.3` + * A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` */ ipAddress?: pulumi.Input; /** @@ -412,6 +441,10 @@ export interface MountTargetArgs { * (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). */ nsgIds?: pulumi.Input[]>; + /** + * (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + */ + requestedThroughput?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. * diff --git a/sdk/nodejs/fleetsoftwareupdate/fsuCollection.ts b/sdk/nodejs/fleetsoftwareupdate/fsuCollection.ts deleted file mode 100644 index fef8b34564..0000000000 --- a/sdk/nodejs/fleetsoftwareupdate/fsuCollection.ts +++ /dev/null @@ -1,149 +0,0 @@ -// *** 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"; - -export class FsuCollection extends pulumi.CustomResource { - /** - * Get an existing FsuCollection 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?: FsuCollectionState, opts?: pulumi.CustomResourceOptions): FsuCollection { - return new FsuCollection(name, state, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'oci:FleetSoftwareUpdate/fsuCollection:FsuCollection'; - - /** - * Returns true if the given object is an instance of FsuCollection. 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 FsuCollection { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === FsuCollection.__pulumiType; - } - - public /*out*/ readonly activeFsuCycles!: pulumi.Output; - public readonly compartmentId!: pulumi.Output; - public readonly definedTags!: pulumi.Output<{[key: string]: string}>; - public readonly displayName!: pulumi.Output; - public readonly fleetDiscovery!: pulumi.Output; - public readonly freeformTags!: pulumi.Output<{[key: string]: string}>; - public /*out*/ readonly lifecycleDetails!: pulumi.Output; - public readonly serviceType!: pulumi.Output; - public readonly sourceMajorVersion!: pulumi.Output; - public /*out*/ readonly state!: pulumi.Output; - public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; - public /*out*/ readonly targetCount!: pulumi.Output; - public /*out*/ readonly timeCreated!: pulumi.Output; - public /*out*/ readonly timeUpdated!: pulumi.Output; - public readonly type!: pulumi.Output; - - /** - * Create a FsuCollection 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: FsuCollectionArgs, opts?: pulumi.CustomResourceOptions) - constructor(name: string, argsOrState?: FsuCollectionArgs | FsuCollectionState, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (opts.id) { - const state = argsOrState as FsuCollectionState | undefined; - resourceInputs["activeFsuCycles"] = state ? state.activeFsuCycles : undefined; - resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; - resourceInputs["definedTags"] = state ? state.definedTags : undefined; - resourceInputs["displayName"] = state ? state.displayName : undefined; - resourceInputs["fleetDiscovery"] = state ? state.fleetDiscovery : undefined; - resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; - resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined; - resourceInputs["serviceType"] = state ? state.serviceType : undefined; - resourceInputs["sourceMajorVersion"] = state ? state.sourceMajorVersion : undefined; - resourceInputs["state"] = state ? state.state : undefined; - resourceInputs["systemTags"] = state ? state.systemTags : undefined; - resourceInputs["targetCount"] = state ? state.targetCount : undefined; - resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; - resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; - resourceInputs["type"] = state ? state.type : undefined; - } else { - const args = argsOrState as FsuCollectionArgs | undefined; - if ((!args || args.compartmentId === undefined) && !opts.urn) { - throw new Error("Missing required property 'compartmentId'"); - } - if ((!args || args.serviceType === undefined) && !opts.urn) { - throw new Error("Missing required property 'serviceType'"); - } - if ((!args || args.sourceMajorVersion === undefined) && !opts.urn) { - throw new Error("Missing required property 'sourceMajorVersion'"); - } - if ((!args || args.type === undefined) && !opts.urn) { - throw new Error("Missing required property 'type'"); - } - resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; - resourceInputs["definedTags"] = args ? args.definedTags : undefined; - resourceInputs["displayName"] = args ? args.displayName : undefined; - resourceInputs["fleetDiscovery"] = args ? args.fleetDiscovery : undefined; - resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; - resourceInputs["serviceType"] = args ? args.serviceType : undefined; - resourceInputs["sourceMajorVersion"] = args ? args.sourceMajorVersion : undefined; - resourceInputs["type"] = args ? args.type : undefined; - resourceInputs["activeFsuCycles"] = undefined /*out*/; - resourceInputs["lifecycleDetails"] = undefined /*out*/; - resourceInputs["state"] = undefined /*out*/; - resourceInputs["systemTags"] = undefined /*out*/; - resourceInputs["targetCount"] = undefined /*out*/; - resourceInputs["timeCreated"] = undefined /*out*/; - resourceInputs["timeUpdated"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - super(FsuCollection.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * Input properties used for looking up and filtering FsuCollection resources. - */ -export interface FsuCollectionState { - activeFsuCycles?: pulumi.Input[]>; - compartmentId?: pulumi.Input; - definedTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - displayName?: pulumi.Input; - fleetDiscovery?: pulumi.Input; - freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - lifecycleDetails?: pulumi.Input; - serviceType?: pulumi.Input; - sourceMajorVersion?: pulumi.Input; - state?: pulumi.Input; - systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - targetCount?: pulumi.Input; - timeCreated?: pulumi.Input; - timeUpdated?: pulumi.Input; - type?: pulumi.Input; -} - -/** - * The set of arguments for constructing a FsuCollection resource. - */ -export interface FsuCollectionArgs { - compartmentId: pulumi.Input; - definedTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - displayName?: pulumi.Input; - fleetDiscovery?: pulumi.Input; - freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - serviceType: pulumi.Input; - sourceMajorVersion: pulumi.Input; - type: pulumi.Input; -} diff --git a/sdk/nodejs/fleetsoftwareupdate/fsuCycle.ts b/sdk/nodejs/fleetsoftwareupdate/fsuCycle.ts deleted file mode 100644 index a475c9e2f1..0000000000 --- a/sdk/nodejs/fleetsoftwareupdate/fsuCycle.ts +++ /dev/null @@ -1,196 +0,0 @@ -// *** 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"; - -export class FsuCycle extends pulumi.CustomResource { - /** - * Get an existing FsuCycle 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?: FsuCycleState, opts?: pulumi.CustomResourceOptions): FsuCycle { - return new FsuCycle(name, state, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'oci:FleetSoftwareUpdate/fsuCycle:FsuCycle'; - - /** - * Returns true if the given object is an instance of FsuCycle. 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 FsuCycle { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === FsuCycle.__pulumiType; - } - - public readonly applyActionSchedule!: pulumi.Output; - public readonly batchingStrategy!: pulumi.Output; - public /*out*/ readonly collectionType!: pulumi.Output; - public readonly compartmentId!: pulumi.Output; - public readonly definedTags!: pulumi.Output<{[key: string]: string}>; - public readonly diagnosticsCollection!: pulumi.Output; - public readonly displayName!: pulumi.Output; - public /*out*/ readonly executingFsuActionId!: pulumi.Output; - public readonly freeformTags!: pulumi.Output<{[key: string]: string}>; - public readonly fsuCollectionId!: pulumi.Output; - public readonly goalVersionDetails!: pulumi.Output; - public readonly isIgnoreMissingPatches!: pulumi.Output; - public readonly isIgnorePatches!: pulumi.Output; - public readonly isKeepPlacement!: pulumi.Output; - public /*out*/ readonly lastCompletedAction!: pulumi.Output; - public /*out*/ readonly lifecycleDetails!: pulumi.Output; - public readonly maxDrainTimeoutInSeconds!: pulumi.Output; - public /*out*/ readonly nextActionToExecutes!: pulumi.Output; - public readonly stageActionSchedule!: pulumi.Output; - public /*out*/ readonly state!: pulumi.Output; - public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; - public /*out*/ readonly timeCreated!: pulumi.Output; - public /*out*/ readonly timeFinished!: pulumi.Output; - public /*out*/ readonly timeUpdated!: pulumi.Output; - public readonly type!: pulumi.Output; - - /** - * Create a FsuCycle 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: FsuCycleArgs, opts?: pulumi.CustomResourceOptions) - constructor(name: string, argsOrState?: FsuCycleArgs | FsuCycleState, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (opts.id) { - const state = argsOrState as FsuCycleState | undefined; - resourceInputs["applyActionSchedule"] = state ? state.applyActionSchedule : undefined; - resourceInputs["batchingStrategy"] = state ? state.batchingStrategy : undefined; - resourceInputs["collectionType"] = state ? state.collectionType : undefined; - resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; - resourceInputs["definedTags"] = state ? state.definedTags : undefined; - resourceInputs["diagnosticsCollection"] = state ? state.diagnosticsCollection : undefined; - resourceInputs["displayName"] = state ? state.displayName : undefined; - resourceInputs["executingFsuActionId"] = state ? state.executingFsuActionId : undefined; - resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; - resourceInputs["fsuCollectionId"] = state ? state.fsuCollectionId : undefined; - resourceInputs["goalVersionDetails"] = state ? state.goalVersionDetails : undefined; - resourceInputs["isIgnoreMissingPatches"] = state ? state.isIgnoreMissingPatches : undefined; - resourceInputs["isIgnorePatches"] = state ? state.isIgnorePatches : undefined; - resourceInputs["isKeepPlacement"] = state ? state.isKeepPlacement : undefined; - resourceInputs["lastCompletedAction"] = state ? state.lastCompletedAction : undefined; - resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined; - resourceInputs["maxDrainTimeoutInSeconds"] = state ? state.maxDrainTimeoutInSeconds : undefined; - resourceInputs["nextActionToExecutes"] = state ? state.nextActionToExecutes : undefined; - resourceInputs["stageActionSchedule"] = state ? state.stageActionSchedule : undefined; - resourceInputs["state"] = state ? state.state : undefined; - resourceInputs["systemTags"] = state ? state.systemTags : undefined; - resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; - resourceInputs["timeFinished"] = state ? state.timeFinished : undefined; - resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; - resourceInputs["type"] = state ? state.type : undefined; - } else { - const args = argsOrState as FsuCycleArgs | undefined; - if ((!args || args.compartmentId === undefined) && !opts.urn) { - throw new Error("Missing required property 'compartmentId'"); - } - if ((!args || args.fsuCollectionId === undefined) && !opts.urn) { - throw new Error("Missing required property 'fsuCollectionId'"); - } - if ((!args || args.goalVersionDetails === undefined) && !opts.urn) { - throw new Error("Missing required property 'goalVersionDetails'"); - } - if ((!args || args.type === undefined) && !opts.urn) { - throw new Error("Missing required property 'type'"); - } - resourceInputs["applyActionSchedule"] = args ? args.applyActionSchedule : undefined; - resourceInputs["batchingStrategy"] = args ? args.batchingStrategy : undefined; - resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; - resourceInputs["definedTags"] = args ? args.definedTags : undefined; - resourceInputs["diagnosticsCollection"] = args ? args.diagnosticsCollection : undefined; - resourceInputs["displayName"] = args ? args.displayName : undefined; - resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; - resourceInputs["fsuCollectionId"] = args ? args.fsuCollectionId : undefined; - resourceInputs["goalVersionDetails"] = args ? args.goalVersionDetails : undefined; - resourceInputs["isIgnoreMissingPatches"] = args ? args.isIgnoreMissingPatches : undefined; - resourceInputs["isIgnorePatches"] = args ? args.isIgnorePatches : undefined; - resourceInputs["isKeepPlacement"] = args ? args.isKeepPlacement : undefined; - resourceInputs["maxDrainTimeoutInSeconds"] = args ? args.maxDrainTimeoutInSeconds : undefined; - resourceInputs["stageActionSchedule"] = args ? args.stageActionSchedule : undefined; - resourceInputs["type"] = args ? args.type : undefined; - resourceInputs["collectionType"] = undefined /*out*/; - resourceInputs["executingFsuActionId"] = undefined /*out*/; - resourceInputs["lastCompletedAction"] = undefined /*out*/; - resourceInputs["lifecycleDetails"] = undefined /*out*/; - resourceInputs["nextActionToExecutes"] = undefined /*out*/; - resourceInputs["state"] = undefined /*out*/; - resourceInputs["systemTags"] = undefined /*out*/; - resourceInputs["timeCreated"] = undefined /*out*/; - resourceInputs["timeFinished"] = undefined /*out*/; - resourceInputs["timeUpdated"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - super(FsuCycle.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * Input properties used for looking up and filtering FsuCycle resources. - */ -export interface FsuCycleState { - applyActionSchedule?: pulumi.Input; - batchingStrategy?: pulumi.Input; - collectionType?: pulumi.Input; - compartmentId?: pulumi.Input; - definedTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - diagnosticsCollection?: pulumi.Input; - displayName?: pulumi.Input; - executingFsuActionId?: pulumi.Input; - freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - fsuCollectionId?: pulumi.Input; - goalVersionDetails?: pulumi.Input; - isIgnoreMissingPatches?: pulumi.Input[]>; - isIgnorePatches?: pulumi.Input; - isKeepPlacement?: pulumi.Input; - lastCompletedAction?: pulumi.Input; - lifecycleDetails?: pulumi.Input; - maxDrainTimeoutInSeconds?: pulumi.Input; - nextActionToExecutes?: pulumi.Input[]>; - stageActionSchedule?: pulumi.Input; - state?: pulumi.Input; - systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - timeCreated?: pulumi.Input; - timeFinished?: pulumi.Input; - timeUpdated?: pulumi.Input; - type?: pulumi.Input; -} - -/** - * The set of arguments for constructing a FsuCycle resource. - */ -export interface FsuCycleArgs { - applyActionSchedule?: pulumi.Input; - batchingStrategy?: pulumi.Input; - compartmentId: pulumi.Input; - definedTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - diagnosticsCollection?: pulumi.Input; - displayName?: pulumi.Input; - freeformTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - fsuCollectionId: pulumi.Input; - goalVersionDetails: pulumi.Input; - isIgnoreMissingPatches?: pulumi.Input[]>; - isIgnorePatches?: pulumi.Input; - isKeepPlacement?: pulumi.Input; - maxDrainTimeoutInSeconds?: pulumi.Input; - stageActionSchedule?: pulumi.Input; - type: pulumi.Input; -} diff --git a/sdk/nodejs/fleetsoftwareupdate/getFsuCollection.ts b/sdk/nodejs/fleetsoftwareupdate/getFsuCollection.ts deleted file mode 100644 index a340247ad4..0000000000 --- a/sdk/nodejs/fleetsoftwareupdate/getFsuCollection.ts +++ /dev/null @@ -1,55 +0,0 @@ -// *** 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"; - -export function getFsuCollection(args: GetFsuCollectionArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("oci:FleetSoftwareUpdate/getFsuCollection:getFsuCollection", { - "fsuCollectionId": args.fsuCollectionId, - }, opts); -} - -/** - * A collection of arguments for invoking getFsuCollection. - */ -export interface GetFsuCollectionArgs { - fsuCollectionId: string; -} - -/** - * A collection of values returned by getFsuCollection. - */ -export interface GetFsuCollectionResult { - readonly activeFsuCycles: outputs.FleetSoftwareUpdate.GetFsuCollectionActiveFsuCycle[]; - readonly compartmentId: string; - readonly definedTags: {[key: string]: string}; - readonly displayName: string; - readonly fleetDiscoveries: outputs.FleetSoftwareUpdate.GetFsuCollectionFleetDiscovery[]; - readonly freeformTags: {[key: string]: string}; - readonly fsuCollectionId: string; - readonly id: string; - readonly lifecycleDetails: string; - readonly serviceType: string; - readonly sourceMajorVersion: string; - readonly state: string; - readonly systemTags: {[key: string]: string}; - readonly targetCount: number; - readonly timeCreated: string; - readonly timeUpdated: string; - readonly type: string; -} -export function getFsuCollectionOutput(args: GetFsuCollectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFsuCollection(a, opts)) -} - -/** - * A collection of arguments for invoking getFsuCollection. - */ -export interface GetFsuCollectionOutputArgs { - fsuCollectionId: pulumi.Input; -} diff --git a/sdk/nodejs/fleetsoftwareupdate/getFsuCollections.ts b/sdk/nodejs/fleetsoftwareupdate/getFsuCollections.ts deleted file mode 100644 index 94f84edddf..0000000000 --- a/sdk/nodejs/fleetsoftwareupdate/getFsuCollections.ts +++ /dev/null @@ -1,60 +0,0 @@ -// *** 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"; - -export function getFsuCollections(args: GetFsuCollectionsArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("oci:FleetSoftwareUpdate/getFsuCollections:getFsuCollections", { - "compartmentId": args.compartmentId, - "displayName": args.displayName, - "filters": args.filters, - "state": args.state, - "type": args.type, - }, opts); -} - -/** - * A collection of arguments for invoking getFsuCollections. - */ -export interface GetFsuCollectionsArgs { - compartmentId: string; - displayName?: string; - filters?: inputs.FleetSoftwareUpdate.GetFsuCollectionsFilter[]; - state?: string; - type?: string; -} - -/** - * A collection of values returned by getFsuCollections. - */ -export interface GetFsuCollectionsResult { - readonly compartmentId: string; - readonly displayName?: string; - readonly filters?: outputs.FleetSoftwareUpdate.GetFsuCollectionsFilter[]; - readonly fsuCollectionSummaryCollections: outputs.FleetSoftwareUpdate.GetFsuCollectionsFsuCollectionSummaryCollection[]; - /** - * The provider-assigned unique ID for this managed resource. - */ - readonly id: string; - readonly state?: string; - readonly type?: string; -} -export function getFsuCollectionsOutput(args: GetFsuCollectionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFsuCollections(a, opts)) -} - -/** - * A collection of arguments for invoking getFsuCollections. - */ -export interface GetFsuCollectionsOutputArgs { - compartmentId: pulumi.Input; - displayName?: pulumi.Input; - filters?: pulumi.Input[]>; - state?: pulumi.Input; - type?: pulumi.Input; -} diff --git a/sdk/nodejs/fleetsoftwareupdate/getFsuCycle.ts b/sdk/nodejs/fleetsoftwareupdate/getFsuCycle.ts deleted file mode 100644 index a21bd413b2..0000000000 --- a/sdk/nodejs/fleetsoftwareupdate/getFsuCycle.ts +++ /dev/null @@ -1,65 +0,0 @@ -// *** 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"; - -export function getFsuCycle(args: GetFsuCycleArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("oci:FleetSoftwareUpdate/getFsuCycle:getFsuCycle", { - "fsuCycleId": args.fsuCycleId, - }, opts); -} - -/** - * A collection of arguments for invoking getFsuCycle. - */ -export interface GetFsuCycleArgs { - fsuCycleId: string; -} - -/** - * A collection of values returned by getFsuCycle. - */ -export interface GetFsuCycleResult { - readonly applyActionSchedules: outputs.FleetSoftwareUpdate.GetFsuCycleApplyActionSchedule[]; - readonly batchingStrategies: outputs.FleetSoftwareUpdate.GetFsuCycleBatchingStrategy[]; - readonly collectionType: string; - readonly compartmentId: string; - readonly definedTags: {[key: string]: string}; - readonly diagnosticsCollections: outputs.FleetSoftwareUpdate.GetFsuCycleDiagnosticsCollection[]; - readonly displayName: string; - readonly executingFsuActionId: string; - readonly freeformTags: {[key: string]: string}; - readonly fsuCollectionId: string; - readonly fsuCycleId: string; - readonly goalVersionDetails: outputs.FleetSoftwareUpdate.GetFsuCycleGoalVersionDetail[]; - readonly id: string; - readonly isIgnoreMissingPatches: string[]; - readonly isIgnorePatches: boolean; - readonly isKeepPlacement: boolean; - readonly lastCompletedAction: string; - readonly lifecycleDetails: string; - readonly maxDrainTimeoutInSeconds: number; - readonly nextActionToExecutes: outputs.FleetSoftwareUpdate.GetFsuCycleNextActionToExecute[]; - readonly stageActionSchedules: outputs.FleetSoftwareUpdate.GetFsuCycleStageActionSchedule[]; - readonly state: string; - readonly systemTags: {[key: string]: string}; - readonly timeCreated: string; - readonly timeFinished: string; - readonly timeUpdated: string; - readonly type: string; -} -export function getFsuCycleOutput(args: GetFsuCycleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFsuCycle(a, opts)) -} - -/** - * A collection of arguments for invoking getFsuCycle. - */ -export interface GetFsuCycleOutputArgs { - fsuCycleId: pulumi.Input; -} diff --git a/sdk/nodejs/fleetsoftwareupdate/getFsuCycles.ts b/sdk/nodejs/fleetsoftwareupdate/getFsuCycles.ts deleted file mode 100644 index 8f27a21694..0000000000 --- a/sdk/nodejs/fleetsoftwareupdate/getFsuCycles.ts +++ /dev/null @@ -1,68 +0,0 @@ -// *** 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"; - -export function getFsuCycles(args: GetFsuCyclesArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("oci:FleetSoftwareUpdate/getFsuCycles:getFsuCycles", { - "collectionType": args.collectionType, - "compartmentId": args.compartmentId, - "displayName": args.displayName, - "filters": args.filters, - "fsuCollectionId": args.fsuCollectionId, - "state": args.state, - "targetVersion": args.targetVersion, - }, opts); -} - -/** - * A collection of arguments for invoking getFsuCycles. - */ -export interface GetFsuCyclesArgs { - collectionType?: string; - compartmentId: string; - displayName?: string; - filters?: inputs.FleetSoftwareUpdate.GetFsuCyclesFilter[]; - fsuCollectionId?: string; - state?: string; - targetVersion?: string; -} - -/** - * A collection of values returned by getFsuCycles. - */ -export interface GetFsuCyclesResult { - readonly collectionType?: string; - readonly compartmentId: string; - readonly displayName?: string; - readonly filters?: outputs.FleetSoftwareUpdate.GetFsuCyclesFilter[]; - readonly fsuCollectionId?: string; - readonly fsuCycleSummaryCollections: outputs.FleetSoftwareUpdate.GetFsuCyclesFsuCycleSummaryCollection[]; - /** - * The provider-assigned unique ID for this managed resource. - */ - readonly id: string; - readonly state?: string; - readonly targetVersion?: string; -} -export function getFsuCyclesOutput(args: GetFsuCyclesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getFsuCycles(a, opts)) -} - -/** - * A collection of arguments for invoking getFsuCycles. - */ -export interface GetFsuCyclesOutputArgs { - collectionType?: pulumi.Input; - compartmentId: pulumi.Input; - displayName?: pulumi.Input; - filters?: pulumi.Input[]>; - fsuCollectionId?: pulumi.Input; - state?: pulumi.Input; - targetVersion?: pulumi.Input; -} diff --git a/sdk/nodejs/fleetsoftwareupdate/index.ts b/sdk/nodejs/fleetsoftwareupdate/index.ts deleted file mode 100644 index 2dcaaa0bca..0000000000 --- a/sdk/nodejs/fleetsoftwareupdate/index.ts +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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 { FsuCollectionArgs, FsuCollectionState } from "./fsuCollection"; -export type FsuCollection = import("./fsuCollection").FsuCollection; -export const FsuCollection: typeof import("./fsuCollection").FsuCollection = null as any; -utilities.lazyLoad(exports, ["FsuCollection"], () => require("./fsuCollection")); - -export { FsuCycleArgs, FsuCycleState } from "./fsuCycle"; -export type FsuCycle = import("./fsuCycle").FsuCycle; -export const FsuCycle: typeof import("./fsuCycle").FsuCycle = null as any; -utilities.lazyLoad(exports, ["FsuCycle"], () => require("./fsuCycle")); - -export { GetFsuCollectionArgs, GetFsuCollectionResult, GetFsuCollectionOutputArgs } from "./getFsuCollection"; -export const getFsuCollection: typeof import("./getFsuCollection").getFsuCollection = null as any; -export const getFsuCollectionOutput: typeof import("./getFsuCollection").getFsuCollectionOutput = null as any; -utilities.lazyLoad(exports, ["getFsuCollection","getFsuCollectionOutput"], () => require("./getFsuCollection")); - -export { GetFsuCollectionsArgs, GetFsuCollectionsResult, GetFsuCollectionsOutputArgs } from "./getFsuCollections"; -export const getFsuCollections: typeof import("./getFsuCollections").getFsuCollections = null as any; -export const getFsuCollectionsOutput: typeof import("./getFsuCollections").getFsuCollectionsOutput = null as any; -utilities.lazyLoad(exports, ["getFsuCollections","getFsuCollectionsOutput"], () => require("./getFsuCollections")); - -export { GetFsuCycleArgs, GetFsuCycleResult, GetFsuCycleOutputArgs } from "./getFsuCycle"; -export const getFsuCycle: typeof import("./getFsuCycle").getFsuCycle = null as any; -export const getFsuCycleOutput: typeof import("./getFsuCycle").getFsuCycleOutput = null as any; -utilities.lazyLoad(exports, ["getFsuCycle","getFsuCycleOutput"], () => require("./getFsuCycle")); - -export { GetFsuCyclesArgs, GetFsuCyclesResult, GetFsuCyclesOutputArgs } from "./getFsuCycles"; -export const getFsuCycles: typeof import("./getFsuCycles").getFsuCycles = null as any; -export const getFsuCyclesOutput: typeof import("./getFsuCycles").getFsuCyclesOutput = null as any; -utilities.lazyLoad(exports, ["getFsuCycles","getFsuCyclesOutput"], () => require("./getFsuCycles")); - - -const _module = { - version: utilities.getVersion(), - construct: (name: string, type: string, urn: string): pulumi.Resource => { - switch (type) { - case "oci:FleetSoftwareUpdate/fsuCollection:FsuCollection": - return new FsuCollection(name, undefined, { urn }) - case "oci:FleetSoftwareUpdate/fsuCycle:FsuCycle": - return new FsuCycle(name, undefined, { urn }) - default: - throw new Error(`unknown resource type ${type}`); - } - }, -}; -pulumi.runtime.registerResourceModule("oci", "FleetSoftwareUpdate/fsuCollection", _module) -pulumi.runtime.registerResourceModule("oci", "FleetSoftwareUpdate/fsuCycle", _module) diff --git a/sdk/nodejs/globallydistributeddatabase/getPrivateEndpoint.ts b/sdk/nodejs/globallydistributeddatabase/getPrivateEndpoint.ts deleted file mode 100644 index 2bf8f5f0aa..0000000000 --- a/sdk/nodejs/globallydistributeddatabase/getPrivateEndpoint.ts +++ /dev/null @@ -1,139 +0,0 @@ -// *** 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 Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Get the PrivateEndpoint resource. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testPrivateEndpoint = oci.GloballyDistributedDatabase.getPrivateEndpoint({ - * privateEndpointId: testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.id, - * }); - * ``` - */ -export function getPrivateEndpoint(args: GetPrivateEndpointArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("oci:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint", { - "privateEndpointId": args.privateEndpointId, - }, opts); -} - -/** - * A collection of arguments for invoking getPrivateEndpoint. - */ -export interface GetPrivateEndpointArgs { - /** - * Oracle Sharded Database PrivateEndpoint identifier - */ - privateEndpointId: string; -} - -/** - * A collection of values returned by getPrivateEndpoint. - */ -export interface GetPrivateEndpointResult { - /** - * Identifier of the compartment in which private endpoint exists. - */ - 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]: string}; - /** - * PrivateEndpoint description. - */ - readonly description: string; - /** - * PrivateEndpoint display name. - */ - 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]: string}; - /** - * The identifier of the Private Endpoint. - */ - readonly id: string; - /** - * Detailed message for the lifecycle state. - */ - readonly lifecycleStateDetails: string; - /** - * The OCIDs of the network security groups that the private endpoint belongs to. - */ - readonly nsgIds: string[]; - readonly privateEndpointId: string; - /** - * IP address of the Private Endpoint. - */ - readonly privateIp: string; - /** - * The OCIDs of sharded databases that consumes the given private endpoint. - */ - readonly shardedDatabases: string[]; - /** - * Lifecycle states for private endpoint. - */ - readonly state: string; - /** - * Identifier of the subnet in which private endpoint exists. - */ - readonly subnetId: string; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - */ - readonly systemTags: {[key: string]: string}; - /** - * The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - */ - readonly timeCreated: string; - /** - * The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - */ - readonly timeUpdated: string; - /** - * Identifier of the VCN in which subnet exists. - */ - readonly vcnId: string; -} -/** - * This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Get the PrivateEndpoint resource. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testPrivateEndpoint = oci.GloballyDistributedDatabase.getPrivateEndpoint({ - * privateEndpointId: testPrivateEndpointOciGloballyDistributedDatabasePrivateEndpoint.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 { - /** - * Oracle Sharded Database PrivateEndpoint identifier - */ - privateEndpointId: pulumi.Input; -} diff --git a/sdk/nodejs/globallydistributeddatabase/getPrivateEndpoints.ts b/sdk/nodejs/globallydistributeddatabase/getPrivateEndpoints.ts deleted file mode 100644 index b508bb9caa..0000000000 --- a/sdk/nodejs/globallydistributeddatabase/getPrivateEndpoints.ts +++ /dev/null @@ -1,122 +0,0 @@ -// *** 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 Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of PrivateEndpoints. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testPrivateEndpoints = oci.GloballyDistributedDatabase.getPrivateEndpoints({ - * compartmentId: compartmentId, - * displayName: privateEndpointDisplayName, - * state: privateEndpointState, - * }); - * ``` - */ -export function getPrivateEndpoints(args: GetPrivateEndpointsArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("oci:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints", { - "compartmentId": args.compartmentId, - "displayName": args.displayName, - "filters": args.filters, - "state": args.state, - }, opts); -} - -/** - * A collection of arguments for invoking getPrivateEndpoints. - */ -export interface GetPrivateEndpointsArgs { - /** - * The ID of the compartment in which to list resources. - */ - compartmentId: string; - /** - * A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - */ - displayName?: string; - filters?: inputs.GloballyDistributedDatabase.GetPrivateEndpointsFilter[]; - /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. - */ - state?: string; -} - -/** - * A collection of values returned by getPrivateEndpoints. - */ -export interface GetPrivateEndpointsResult { - /** - * Identifier of the compartment in which private endpoint exists. - */ - readonly compartmentId: string; - /** - * PrivateEndpoint display name. - */ - readonly displayName?: string; - readonly filters?: outputs.GloballyDistributedDatabase.GetPrivateEndpointsFilter[]; - /** - * The provider-assigned unique ID for this managed resource. - */ - readonly id: string; - /** - * The list of private_endpoint_collection. - */ - readonly privateEndpointCollections: outputs.GloballyDistributedDatabase.GetPrivateEndpointsPrivateEndpointCollection[]; - /** - * Lifecycle states for private endpoint. - */ - readonly state?: string; -} -/** - * This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of PrivateEndpoints. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testPrivateEndpoints = oci.GloballyDistributedDatabase.getPrivateEndpoints({ - * compartmentId: compartmentId, - * displayName: privateEndpointDisplayName, - * state: privateEndpointState, - * }); - * ``` - */ -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 { - /** - * The ID of the compartment in which to list resources. - */ - compartmentId: pulumi.Input; - /** - * A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - */ - displayName?: pulumi.Input; - filters?: pulumi.Input[]>; - /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. - */ - state?: pulumi.Input; -} diff --git a/sdk/nodejs/globallydistributeddatabase/getShardedDatabase.ts b/sdk/nodejs/globallydistributeddatabase/getShardedDatabase.ts deleted file mode 100644 index f3147db781..0000000000 --- a/sdk/nodejs/globallydistributeddatabase/getShardedDatabase.ts +++ /dev/null @@ -1,220 +0,0 @@ -// *** 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 Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Gets the details of the Sharded database identified by given id. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testShardedDatabase = oci.GloballyDistributedDatabase.getShardedDatabase({ - * shardedDatabaseId: testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.id, - * metadata: shardedDatabaseMetadata, - * }); - * ``` - */ -export function getShardedDatabase(args: GetShardedDatabaseArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("oci:GloballyDistributedDatabase/getShardedDatabase:getShardedDatabase", { - "metadata": args.metadata, - "shardedDatabaseId": args.shardedDatabaseId, - }, opts); -} - -/** - * A collection of arguments for invoking getShardedDatabase. - */ -export interface GetShardedDatabaseArgs { - /** - * Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - */ - metadata?: string; - /** - * Sharded Database identifier - */ - shardedDatabaseId: string; -} - -/** - * A collection of values returned by getShardedDatabase. - */ -export interface GetShardedDatabaseResult { - /** - * Details of ATP-D based catalogs. - */ - readonly catalogDetails: outputs.GloballyDistributedDatabase.GetShardedDatabaseCatalogDetail[]; - /** - * The character set for the database. - */ - readonly characterSet: string; - /** - * The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - */ - readonly chunks: number; - /** - * The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - */ - readonly clusterCertificateCommonName: string; - /** - * Identifier of the compartment in which sharded database exists. - */ - readonly compartmentId: string; - readonly configureGsmsTrigger: number; - readonly configureShardingTrigger: number; - /** - * Details of sharded database connection String. - */ - readonly connectionStrings: outputs.GloballyDistributedDatabase.GetShardedDatabaseConnectionString[]; - /** - * The database deployment type. - */ - readonly dbDeploymentType: string; - /** - * Oracle Database version number. - */ - readonly dbVersion: string; - /** - * Possible workload types. - */ - readonly dbWorkload: 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]: string}; - /** - * Oracle sharded database display name. - */ - readonly displayName: string; - readonly downloadGsmCertificateSigningRequestTrigger: number; - /** - * 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]: string}; - readonly generateGsmCertificateSigningRequestTrigger: number; - readonly generateWalletTrigger: number; - readonly getConnectionStringTrigger: number; - /** - * Details of GSM instances for the sharded database. - */ - readonly gsms: outputs.GloballyDistributedDatabase.GetShardedDatabaseGsm[]; - /** - * Sharded Database identifier - */ - readonly id: string; - readonly lifecycleState: string; - /** - * Detailed message for the lifecycle state. - */ - readonly lifecycleStateDetails: string; - /** - * The GSM listener port number. - */ - readonly listenerPort: number; - /** - * The TLS listener port number for sharded database. - */ - readonly listenerPortTls: number; - /** - * Additional metadata related to shard's underlying supporting resource. - */ - readonly metadata?: string; - /** - * The national character set for the database. - */ - readonly ncharacterSet: string; - /** - * Ons local port number. - */ - readonly onsPortLocal: number; - /** - * Ons remote port number. - */ - readonly onsPortRemote: number; - readonly patchOperations: outputs.GloballyDistributedDatabase.GetShardedDatabasePatchOperation[]; - /** - * Unique prefix for the sharded database. - */ - readonly prefix: string; - /** - * The OCID of private endpoint being used by the sharded database. - */ - readonly privateEndpoint: string; - /** - * Details of ATP-D based shards. - */ - readonly shardDetails: outputs.GloballyDistributedDatabase.GetShardedDatabaseShardDetail[]; - readonly shardedDatabaseId: string; - /** - * Sharding Method. - */ - readonly shardingMethod: string; - readonly startDatabaseTrigger: number; - /** - * Lifecycle states for sharded databases. - */ - readonly state: string; - readonly stopDatabaseTrigger: number; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - */ - readonly systemTags: {[key: string]: string}; - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - */ - readonly timeCreated: string; - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - */ - readonly timeUpdated: string; - /** - * Timezone associated with the sharded database. - */ - readonly timeZone: string; - readonly uploadSignedCertificateAndGenerateWalletTrigger: number; - readonly validateNetworkTrigger: number; -} -/** - * This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Gets the details of the Sharded database identified by given id. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testShardedDatabase = oci.GloballyDistributedDatabase.getShardedDatabase({ - * shardedDatabaseId: testShardedDatabaseOciGloballyDistributedDatabaseShardedDatabase.id, - * metadata: shardedDatabaseMetadata, - * }); - * ``` - */ -export function getShardedDatabaseOutput(args: GetShardedDatabaseOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getShardedDatabase(a, opts)) -} - -/** - * A collection of arguments for invoking getShardedDatabase. - */ -export interface GetShardedDatabaseOutputArgs { - /** - * Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - */ - metadata?: pulumi.Input; - /** - * Sharded Database identifier - */ - shardedDatabaseId: pulumi.Input; -} diff --git a/sdk/nodejs/globallydistributeddatabase/getShardedDatabases.ts b/sdk/nodejs/globallydistributeddatabase/getShardedDatabases.ts deleted file mode 100644 index 8b02f2fa6d..0000000000 --- a/sdk/nodejs/globallydistributeddatabase/getShardedDatabases.ts +++ /dev/null @@ -1,122 +0,0 @@ -// *** 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 Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of Sharded databases. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testShardedDatabases = oci.GloballyDistributedDatabase.getShardedDatabases({ - * compartmentId: compartmentId, - * displayName: shardedDatabaseDisplayName, - * state: shardedDatabaseState, - * }); - * ``` - */ -export function getShardedDatabases(args: GetShardedDatabasesArgs, opts?: pulumi.InvokeOptions): Promise { - - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); - return pulumi.runtime.invoke("oci:GloballyDistributedDatabase/getShardedDatabases:getShardedDatabases", { - "compartmentId": args.compartmentId, - "displayName": args.displayName, - "filters": args.filters, - "state": args.state, - }, opts); -} - -/** - * A collection of arguments for invoking getShardedDatabases. - */ -export interface GetShardedDatabasesArgs { - /** - * The ID of the compartment in which to list resources. - */ - compartmentId: string; - /** - * A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - */ - displayName?: string; - filters?: inputs.GloballyDistributedDatabase.GetShardedDatabasesFilter[]; - /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. - */ - state?: string; -} - -/** - * A collection of values returned by getShardedDatabases. - */ -export interface GetShardedDatabasesResult { - /** - * Identifier of the compartment in which sharded database exists. - */ - readonly compartmentId: string; - /** - * Oracle sharded database display name. - */ - readonly displayName?: string; - readonly filters?: outputs.GloballyDistributedDatabase.GetShardedDatabasesFilter[]; - /** - * The provider-assigned unique ID for this managed resource. - */ - readonly id: string; - /** - * The list of sharded_database_collection. - */ - readonly shardedDatabaseCollections: outputs.GloballyDistributedDatabase.GetShardedDatabasesShardedDatabaseCollection[]; - /** - * Lifecycle states for sharded databases. - */ - readonly state?: string; -} -/** - * This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * List of Sharded databases. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testShardedDatabases = oci.GloballyDistributedDatabase.getShardedDatabases({ - * compartmentId: compartmentId, - * displayName: shardedDatabaseDisplayName, - * state: shardedDatabaseState, - * }); - * ``` - */ -export function getShardedDatabasesOutput(args: GetShardedDatabasesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { - return pulumi.output(args).apply((a: any) => getShardedDatabases(a, opts)) -} - -/** - * A collection of arguments for invoking getShardedDatabases. - */ -export interface GetShardedDatabasesOutputArgs { - /** - * The ID of the compartment in which to list resources. - */ - compartmentId: pulumi.Input; - /** - * A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - */ - displayName?: pulumi.Input; - filters?: pulumi.Input[]>; - /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. - */ - state?: pulumi.Input; -} diff --git a/sdk/nodejs/globallydistributeddatabase/index.ts b/sdk/nodejs/globallydistributeddatabase/index.ts deleted file mode 100644 index a462d84e7f..0000000000 --- a/sdk/nodejs/globallydistributeddatabase/index.ts +++ /dev/null @@ -1,53 +0,0 @@ -// *** 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 { 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 { GetShardedDatabaseArgs, GetShardedDatabaseResult, GetShardedDatabaseOutputArgs } from "./getShardedDatabase"; -export const getShardedDatabase: typeof import("./getShardedDatabase").getShardedDatabase = null as any; -export const getShardedDatabaseOutput: typeof import("./getShardedDatabase").getShardedDatabaseOutput = null as any; -utilities.lazyLoad(exports, ["getShardedDatabase","getShardedDatabaseOutput"], () => require("./getShardedDatabase")); - -export { GetShardedDatabasesArgs, GetShardedDatabasesResult, GetShardedDatabasesOutputArgs } from "./getShardedDatabases"; -export const getShardedDatabases: typeof import("./getShardedDatabases").getShardedDatabases = null as any; -export const getShardedDatabasesOutput: typeof import("./getShardedDatabases").getShardedDatabasesOutput = null as any; -utilities.lazyLoad(exports, ["getShardedDatabases","getShardedDatabasesOutput"], () => require("./getShardedDatabases")); - -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 { ShardedDatabaseArgs, ShardedDatabaseState } from "./shardedDatabase"; -export type ShardedDatabase = import("./shardedDatabase").ShardedDatabase; -export const ShardedDatabase: typeof import("./shardedDatabase").ShardedDatabase = null as any; -utilities.lazyLoad(exports, ["ShardedDatabase"], () => require("./shardedDatabase")); - - -const _module = { - version: utilities.getVersion(), - construct: (name: string, type: string, urn: string): pulumi.Resource => { - switch (type) { - case "oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint": - return new PrivateEndpoint(name, undefined, { urn }) - case "oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase": - return new ShardedDatabase(name, undefined, { urn }) - default: - throw new Error(`unknown resource type ${type}`); - } - }, -}; -pulumi.runtime.registerResourceModule("oci", "GloballyDistributedDatabase/privateEndpoint", _module) -pulumi.runtime.registerResourceModule("oci", "GloballyDistributedDatabase/shardedDatabase", _module) diff --git a/sdk/nodejs/globallydistributeddatabase/privateEndpoint.ts b/sdk/nodejs/globallydistributeddatabase/privateEndpoint.ts deleted file mode 100644 index 6b4892b2b6..0000000000 --- a/sdk/nodejs/globallydistributeddatabase/privateEndpoint.ts +++ /dev/null @@ -1,300 +0,0 @@ -// *** 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 Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Creates a PrivateEndpoint. - * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testPrivateEndpoint = new oci.globallydistributeddatabase.PrivateEndpoint("test_private_endpoint", { - * compartmentId: compartmentId, - * displayName: privateEndpointDisplayName, - * subnetId: testSubnet.id, - * definedTags: { - * "foo-namespace.bar-key": "value", - * }, - * description: privateEndpointDescription, - * freeformTags: { - * "bar-key": "value", - * }, - * nsgIds: privateEndpointNsgIds, - * }); - * ``` - * - * ## Import - * - * PrivateEndpoints can be imported using the `id`, e.g. - * - * ```sh - * $ pulumi import oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint test_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:GloballyDistributedDatabase/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) Identifier of the compartment where private endpoint is to be created. - */ - 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]: string}>; - /** - * (Updatable) PrivateEndpoint description. - */ - public readonly description!: pulumi.Output; - /** - * (Updatable) Private endpoint display name. - */ - 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]: string}>; - /** - * Detailed message for the lifecycle state. - */ - public /*out*/ readonly lifecycleStateDetails!: pulumi.Output; - /** - * (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - */ - public readonly nsgIds!: pulumi.Output; - /** - * IP address of the Private Endpoint. - */ - public /*out*/ readonly privateIp!: pulumi.Output; - /** - * The OCIDs of sharded databases that consumes the given private endpoint. - */ - public /*out*/ readonly shardedDatabases!: pulumi.Output; - /** - * Lifecycle states for private endpoint. - */ - public /*out*/ readonly state!: pulumi.Output; - /** - * Identifier of the customer subnet against which 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; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - */ - public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; - /** - * The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - */ - public /*out*/ readonly timeCreated!: pulumi.Output; - /** - * The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - */ - public /*out*/ readonly timeUpdated!: pulumi.Output; - /** - * Identifier of the VCN in which subnet exists. - */ - public /*out*/ readonly vcnId!: 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["definedTags"] = state ? state.definedTags : undefined; - resourceInputs["description"] = state ? state.description : undefined; - resourceInputs["displayName"] = state ? state.displayName : undefined; - resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; - resourceInputs["lifecycleStateDetails"] = state ? state.lifecycleStateDetails : undefined; - resourceInputs["nsgIds"] = state ? state.nsgIds : undefined; - resourceInputs["privateIp"] = state ? state.privateIp : undefined; - resourceInputs["shardedDatabases"] = state ? state.shardedDatabases : 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["vcnId"] = state ? state.vcnId : 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.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["compartmentId"] = args ? args.compartmentId : 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["subnetId"] = args ? args.subnetId : undefined; - resourceInputs["lifecycleStateDetails"] = undefined /*out*/; - resourceInputs["privateIp"] = undefined /*out*/; - resourceInputs["shardedDatabases"] = undefined /*out*/; - resourceInputs["state"] = undefined /*out*/; - resourceInputs["systemTags"] = undefined /*out*/; - resourceInputs["timeCreated"] = undefined /*out*/; - resourceInputs["timeUpdated"] = undefined /*out*/; - resourceInputs["vcnId"] = 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) Identifier of the compartment where private endpoint is to be created. - */ - 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]: pulumi.Input}>; - /** - * (Updatable) PrivateEndpoint description. - */ - description?: pulumi.Input; - /** - * (Updatable) Private endpoint display name. - */ - 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]: pulumi.Input}>; - /** - * Detailed message for the lifecycle state. - */ - lifecycleStateDetails?: pulumi.Input; - /** - * (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - */ - nsgIds?: pulumi.Input[]>; - /** - * IP address of the Private Endpoint. - */ - privateIp?: pulumi.Input; - /** - * The OCIDs of sharded databases that consumes the given private endpoint. - */ - shardedDatabases?: pulumi.Input[]>; - /** - * Lifecycle states for private endpoint. - */ - state?: pulumi.Input; - /** - * Identifier of the customer subnet against which 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; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - */ - systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - */ - timeCreated?: pulumi.Input; - /** - * The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - */ - timeUpdated?: pulumi.Input; - /** - * Identifier of the VCN in which subnet exists. - */ - vcnId?: pulumi.Input; -} - -/** - * The set of arguments for constructing a PrivateEndpoint resource. - */ -export interface PrivateEndpointArgs { - /** - * (Updatable) Identifier of the compartment where private endpoint is to be created. - */ - 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]: pulumi.Input}>; - /** - * (Updatable) PrivateEndpoint description. - */ - description?: pulumi.Input; - /** - * (Updatable) Private endpoint display name. - */ - 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]: pulumi.Input}>; - /** - * (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - */ - nsgIds?: pulumi.Input[]>; - /** - * Identifier of the customer subnet against which 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/globallydistributeddatabase/shardedDatabase.ts b/sdk/nodejs/globallydistributeddatabase/shardedDatabase.ts deleted file mode 100644 index 4d3ddab2d1..0000000000 --- a/sdk/nodejs/globallydistributeddatabase/shardedDatabase.ts +++ /dev/null @@ -1,649 +0,0 @@ -// *** 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 Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - * - * Creates a Sharded Database. - * - * Patch operation to add, remove or update shards to the sharded database topology. In single patch - * operation, multiple shards can be either added, or removed or updated. Combination of inserts, update - * and remove in single operation is not allowed. - * - * ## Import - * - * ShardedDatabases can be imported using the `id`, e.g. - * - * ```sh - * $ pulumi import oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase test_sharded_database "id" - * ``` - */ -export class ShardedDatabase extends pulumi.CustomResource { - /** - * Get an existing ShardedDatabase 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?: ShardedDatabaseState, opts?: pulumi.CustomResourceOptions): ShardedDatabase { - return new ShardedDatabase(name, state, { ...opts, id: id }); - } - - /** @internal */ - public static readonly __pulumiType = 'oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase'; - - /** - * Returns true if the given object is an instance of ShardedDatabase. 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 ShardedDatabase { - if (obj === undefined || obj === null) { - return false; - } - return obj['__pulumiType'] === ShardedDatabase.__pulumiType; - } - - /** - * Collection of ATP-Dedicated catalogs that needs to be created. - */ - public readonly catalogDetails!: pulumi.Output; - /** - * The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - */ - public readonly characterSet!: pulumi.Output; - /** - * The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - */ - public readonly chunks!: pulumi.Output; - /** - * The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - */ - public readonly clusterCertificateCommonName!: pulumi.Output; - /** - * (Updatable) Identifier of the compartment where sharded database is to be created. - */ - public readonly compartmentId!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - */ - public /*out*/ readonly configureGsmsTrigger!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - */ - public readonly configureShardingTrigger!: pulumi.Output; - /** - * Details of sharded database connection String. - */ - public /*out*/ readonly connectionStrings!: pulumi.Output; - /** - * The database deployment type. - */ - public readonly dbDeploymentType!: pulumi.Output; - /** - * Oracle Database version of the Autonomous Container Database. - */ - public readonly dbVersion!: pulumi.Output; - /** - * Possible workload types. - */ - public readonly dbWorkload!: 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]: string}>; - /** - * (Updatable) Oracle sharded database display name. - */ - public readonly displayName!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - */ - public readonly downloadGsmCertificateSigningRequestTrigger!: 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]: string}>; - /** - * (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - */ - public readonly generateGsmCertificateSigningRequestTrigger!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - */ - public /*out*/ readonly generateWalletTrigger!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - */ - public readonly getConnectionStringTrigger!: pulumi.Output; - /** - * Details of GSM instances for the sharded database. - */ - public /*out*/ readonly gsms!: pulumi.Output; - public /*out*/ readonly lifecycleState!: pulumi.Output; - /** - * Detailed message for the lifecycle state. - */ - public /*out*/ readonly lifecycleStateDetails!: pulumi.Output; - /** - * The listener port number for sharded database. - */ - public readonly listenerPort!: pulumi.Output; - /** - * The TLS listener port number for sharded database. - */ - public readonly listenerPortTls!: pulumi.Output; - /** - * The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - */ - public readonly ncharacterSet!: pulumi.Output; - /** - * Ons port local for sharded database. - */ - public readonly onsPortLocal!: pulumi.Output; - /** - * Ons remote port for sharded database. - */ - public readonly onsPortRemote!: pulumi.Output; - /** - * (Updatable) - */ - public readonly patchOperations!: pulumi.Output; - /** - * Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - */ - public readonly prefix!: pulumi.Output; - /** - * The OCID of private endpoint being used by the sharded database. - */ - public /*out*/ readonly privateEndpoint!: pulumi.Output; - /** - * Collection of ATP-Dedicated shards that needs to be created. - */ - public readonly shardDetails!: pulumi.Output; - public /*out*/ readonly shardedDatabaseId!: pulumi.Output; - /** - * Sharding Method. - */ - public readonly shardingMethod!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - */ - public readonly startDatabaseTrigger!: pulumi.Output; - /** - * Lifecycle states for sharded databases. - */ - public /*out*/ readonly state!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - */ - public readonly stopDatabaseTrigger!: pulumi.Output; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - */ - public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: string}>; - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - */ - public /*out*/ readonly timeCreated!: pulumi.Output; - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - */ - public /*out*/ readonly timeUpdated!: pulumi.Output; - /** - * Timezone associated with the sharded database. - */ - public /*out*/ readonly timeZone!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - */ - public /*out*/ readonly uploadSignedCertificateAndGenerateWalletTrigger!: pulumi.Output; - /** - * (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 validateNetworkTrigger!: pulumi.Output; - - /** - * Create a ShardedDatabase 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: ShardedDatabaseArgs, opts?: pulumi.CustomResourceOptions) - constructor(name: string, argsOrState?: ShardedDatabaseArgs | ShardedDatabaseState, opts?: pulumi.CustomResourceOptions) { - let resourceInputs: pulumi.Inputs = {}; - opts = opts || {}; - if (opts.id) { - const state = argsOrState as ShardedDatabaseState | undefined; - resourceInputs["catalogDetails"] = state ? state.catalogDetails : undefined; - resourceInputs["characterSet"] = state ? state.characterSet : undefined; - resourceInputs["chunks"] = state ? state.chunks : undefined; - resourceInputs["clusterCertificateCommonName"] = state ? state.clusterCertificateCommonName : undefined; - resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; - resourceInputs["configureGsmsTrigger"] = state ? state.configureGsmsTrigger : undefined; - resourceInputs["configureShardingTrigger"] = state ? state.configureShardingTrigger : undefined; - resourceInputs["connectionStrings"] = state ? state.connectionStrings : undefined; - resourceInputs["dbDeploymentType"] = state ? state.dbDeploymentType : undefined; - resourceInputs["dbVersion"] = state ? state.dbVersion : undefined; - resourceInputs["dbWorkload"] = state ? state.dbWorkload : undefined; - resourceInputs["definedTags"] = state ? state.definedTags : undefined; - resourceInputs["displayName"] = state ? state.displayName : undefined; - resourceInputs["downloadGsmCertificateSigningRequestTrigger"] = state ? state.downloadGsmCertificateSigningRequestTrigger : undefined; - resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; - resourceInputs["generateGsmCertificateSigningRequestTrigger"] = state ? state.generateGsmCertificateSigningRequestTrigger : undefined; - resourceInputs["generateWalletTrigger"] = state ? state.generateWalletTrigger : undefined; - resourceInputs["getConnectionStringTrigger"] = state ? state.getConnectionStringTrigger : undefined; - resourceInputs["gsms"] = state ? state.gsms : undefined; - resourceInputs["lifecycleState"] = state ? state.lifecycleState : undefined; - resourceInputs["lifecycleStateDetails"] = state ? state.lifecycleStateDetails : undefined; - resourceInputs["listenerPort"] = state ? state.listenerPort : undefined; - resourceInputs["listenerPortTls"] = state ? state.listenerPortTls : undefined; - resourceInputs["ncharacterSet"] = state ? state.ncharacterSet : undefined; - resourceInputs["onsPortLocal"] = state ? state.onsPortLocal : undefined; - resourceInputs["onsPortRemote"] = state ? state.onsPortRemote : undefined; - resourceInputs["patchOperations"] = state ? state.patchOperations : undefined; - resourceInputs["prefix"] = state ? state.prefix : undefined; - resourceInputs["privateEndpoint"] = state ? state.privateEndpoint : undefined; - resourceInputs["shardDetails"] = state ? state.shardDetails : undefined; - resourceInputs["shardedDatabaseId"] = state ? state.shardedDatabaseId : undefined; - resourceInputs["shardingMethod"] = state ? state.shardingMethod : undefined; - resourceInputs["startDatabaseTrigger"] = state ? state.startDatabaseTrigger : undefined; - resourceInputs["state"] = state ? state.state : undefined; - resourceInputs["stopDatabaseTrigger"] = state ? state.stopDatabaseTrigger : undefined; - resourceInputs["systemTags"] = state ? state.systemTags : undefined; - resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; - resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; - resourceInputs["timeZone"] = state ? state.timeZone : undefined; - resourceInputs["uploadSignedCertificateAndGenerateWalletTrigger"] = state ? state.uploadSignedCertificateAndGenerateWalletTrigger : undefined; - resourceInputs["validateNetworkTrigger"] = state ? state.validateNetworkTrigger : undefined; - } else { - const args = argsOrState as ShardedDatabaseArgs | undefined; - if ((!args || args.catalogDetails === undefined) && !opts.urn) { - throw new Error("Missing required property 'catalogDetails'"); - } - if ((!args || args.characterSet === undefined) && !opts.urn) { - throw new Error("Missing required property 'characterSet'"); - } - if ((!args || args.compartmentId === undefined) && !opts.urn) { - throw new Error("Missing required property 'compartmentId'"); - } - if ((!args || args.dbDeploymentType === undefined) && !opts.urn) { - throw new Error("Missing required property 'dbDeploymentType'"); - } - if ((!args || args.dbVersion === undefined) && !opts.urn) { - throw new Error("Missing required property 'dbVersion'"); - } - if ((!args || args.dbWorkload === undefined) && !opts.urn) { - throw new Error("Missing required property 'dbWorkload'"); - } - if ((!args || args.displayName === undefined) && !opts.urn) { - throw new Error("Missing required property 'displayName'"); - } - if ((!args || args.listenerPort === undefined) && !opts.urn) { - throw new Error("Missing required property 'listenerPort'"); - } - if ((!args || args.listenerPortTls === undefined) && !opts.urn) { - throw new Error("Missing required property 'listenerPortTls'"); - } - if ((!args || args.ncharacterSet === undefined) && !opts.urn) { - throw new Error("Missing required property 'ncharacterSet'"); - } - if ((!args || args.onsPortLocal === undefined) && !opts.urn) { - throw new Error("Missing required property 'onsPortLocal'"); - } - if ((!args || args.onsPortRemote === undefined) && !opts.urn) { - throw new Error("Missing required property 'onsPortRemote'"); - } - if ((!args || args.prefix === undefined) && !opts.urn) { - throw new Error("Missing required property 'prefix'"); - } - if ((!args || args.shardDetails === undefined) && !opts.urn) { - throw new Error("Missing required property 'shardDetails'"); - } - if ((!args || args.shardingMethod === undefined) && !opts.urn) { - throw new Error("Missing required property 'shardingMethod'"); - } - resourceInputs["catalogDetails"] = args ? args.catalogDetails : undefined; - resourceInputs["characterSet"] = args ? args.characterSet : undefined; - resourceInputs["chunks"] = args ? args.chunks : undefined; - resourceInputs["clusterCertificateCommonName"] = args ? args.clusterCertificateCommonName : undefined; - resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; - resourceInputs["configureShardingTrigger"] = args ? args.configureShardingTrigger : undefined; - resourceInputs["dbDeploymentType"] = args ? args.dbDeploymentType : undefined; - resourceInputs["dbVersion"] = args ? args.dbVersion : undefined; - resourceInputs["dbWorkload"] = args ? args.dbWorkload : undefined; - resourceInputs["definedTags"] = args ? args.definedTags : undefined; - resourceInputs["displayName"] = args ? args.displayName : undefined; - resourceInputs["downloadGsmCertificateSigningRequestTrigger"] = args ? args.downloadGsmCertificateSigningRequestTrigger : undefined; - resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; - resourceInputs["generateGsmCertificateSigningRequestTrigger"] = args ? args.generateGsmCertificateSigningRequestTrigger : undefined; - resourceInputs["getConnectionStringTrigger"] = args ? args.getConnectionStringTrigger : undefined; - resourceInputs["listenerPort"] = args ? args.listenerPort : undefined; - resourceInputs["listenerPortTls"] = args ? args.listenerPortTls : undefined; - resourceInputs["ncharacterSet"] = args ? args.ncharacterSet : undefined; - resourceInputs["onsPortLocal"] = args ? args.onsPortLocal : undefined; - resourceInputs["onsPortRemote"] = args ? args.onsPortRemote : undefined; - resourceInputs["patchOperations"] = args ? args.patchOperations : undefined; - resourceInputs["prefix"] = args ? args.prefix : undefined; - resourceInputs["shardDetails"] = args ? args.shardDetails : undefined; - resourceInputs["shardingMethod"] = args ? args.shardingMethod : undefined; - resourceInputs["startDatabaseTrigger"] = args ? args.startDatabaseTrigger : undefined; - resourceInputs["stopDatabaseTrigger"] = args ? args.stopDatabaseTrigger : undefined; - resourceInputs["validateNetworkTrigger"] = args ? args.validateNetworkTrigger : undefined; - resourceInputs["configureGsmsTrigger"] = undefined /*out*/; - resourceInputs["connectionStrings"] = undefined /*out*/; - resourceInputs["generateWalletTrigger"] = undefined /*out*/; - resourceInputs["gsms"] = undefined /*out*/; - resourceInputs["lifecycleState"] = undefined /*out*/; - resourceInputs["lifecycleStateDetails"] = undefined /*out*/; - resourceInputs["privateEndpoint"] = undefined /*out*/; - resourceInputs["shardedDatabaseId"] = undefined /*out*/; - resourceInputs["state"] = undefined /*out*/; - resourceInputs["systemTags"] = undefined /*out*/; - resourceInputs["timeCreated"] = undefined /*out*/; - resourceInputs["timeUpdated"] = undefined /*out*/; - resourceInputs["timeZone"] = undefined /*out*/; - resourceInputs["uploadSignedCertificateAndGenerateWalletTrigger"] = undefined /*out*/; - } - opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); - super(ShardedDatabase.__pulumiType, name, resourceInputs, opts); - } -} - -/** - * Input properties used for looking up and filtering ShardedDatabase resources. - */ -export interface ShardedDatabaseState { - /** - * Collection of ATP-Dedicated catalogs that needs to be created. - */ - catalogDetails?: pulumi.Input[]>; - /** - * The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - */ - characterSet?: pulumi.Input; - /** - * The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - */ - chunks?: pulumi.Input; - /** - * The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - */ - clusterCertificateCommonName?: pulumi.Input; - /** - * (Updatable) Identifier of the compartment where sharded database is to be created. - */ - compartmentId?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - */ - configureGsmsTrigger?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - */ - configureShardingTrigger?: pulumi.Input; - /** - * Details of sharded database connection String. - */ - connectionStrings?: pulumi.Input[]>; - /** - * The database deployment type. - */ - dbDeploymentType?: pulumi.Input; - /** - * Oracle Database version of the Autonomous Container Database. - */ - dbVersion?: pulumi.Input; - /** - * Possible workload types. - */ - dbWorkload?: 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]: pulumi.Input}>; - /** - * (Updatable) Oracle sharded database display name. - */ - displayName?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - */ - downloadGsmCertificateSigningRequestTrigger?: 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]: pulumi.Input}>; - /** - * (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - */ - generateGsmCertificateSigningRequestTrigger?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - */ - generateWalletTrigger?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - */ - getConnectionStringTrigger?: pulumi.Input; - /** - * Details of GSM instances for the sharded database. - */ - gsms?: pulumi.Input[]>; - lifecycleState?: pulumi.Input; - /** - * Detailed message for the lifecycle state. - */ - lifecycleStateDetails?: pulumi.Input; - /** - * The listener port number for sharded database. - */ - listenerPort?: pulumi.Input; - /** - * The TLS listener port number for sharded database. - */ - listenerPortTls?: pulumi.Input; - /** - * The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - */ - ncharacterSet?: pulumi.Input; - /** - * Ons port local for sharded database. - */ - onsPortLocal?: pulumi.Input; - /** - * Ons remote port for sharded database. - */ - onsPortRemote?: pulumi.Input; - /** - * (Updatable) - */ - patchOperations?: pulumi.Input[]>; - /** - * Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - */ - prefix?: pulumi.Input; - /** - * The OCID of private endpoint being used by the sharded database. - */ - privateEndpoint?: pulumi.Input; - /** - * Collection of ATP-Dedicated shards that needs to be created. - */ - shardDetails?: pulumi.Input[]>; - shardedDatabaseId?: pulumi.Input; - /** - * Sharding Method. - */ - shardingMethod?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - */ - startDatabaseTrigger?: pulumi.Input; - /** - * Lifecycle states for sharded databases. - */ - state?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - */ - stopDatabaseTrigger?: pulumi.Input; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - */ - systemTags?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - */ - timeCreated?: pulumi.Input; - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - */ - timeUpdated?: pulumi.Input; - /** - * Timezone associated with the sharded database. - */ - timeZone?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - */ - uploadSignedCertificateAndGenerateWalletTrigger?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - */ - validateNetworkTrigger?: pulumi.Input; -} - -/** - * The set of arguments for constructing a ShardedDatabase resource. - */ -export interface ShardedDatabaseArgs { - /** - * Collection of ATP-Dedicated catalogs that needs to be created. - */ - catalogDetails: pulumi.Input[]>; - /** - * The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - */ - characterSet: pulumi.Input; - /** - * The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - */ - chunks?: pulumi.Input; - /** - * The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - */ - clusterCertificateCommonName?: pulumi.Input; - /** - * (Updatable) Identifier of the compartment where sharded database is to be created. - */ - compartmentId: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - */ - configureShardingTrigger?: pulumi.Input; - /** - * The database deployment type. - */ - dbDeploymentType: pulumi.Input; - /** - * Oracle Database version of the Autonomous Container Database. - */ - dbVersion: pulumi.Input; - /** - * Possible workload types. - */ - dbWorkload: 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]: pulumi.Input}>; - /** - * (Updatable) Oracle sharded database display name. - */ - displayName: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - */ - downloadGsmCertificateSigningRequestTrigger?: 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]: pulumi.Input}>; - /** - * (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - */ - generateGsmCertificateSigningRequestTrigger?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - */ - getConnectionStringTrigger?: pulumi.Input; - /** - * The listener port number for sharded database. - */ - listenerPort: pulumi.Input; - /** - * The TLS listener port number for sharded database. - */ - listenerPortTls: pulumi.Input; - /** - * The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - */ - ncharacterSet: pulumi.Input; - /** - * Ons port local for sharded database. - */ - onsPortLocal: pulumi.Input; - /** - * Ons remote port for sharded database. - */ - onsPortRemote: pulumi.Input; - /** - * (Updatable) - */ - patchOperations?: pulumi.Input[]>; - /** - * Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - */ - prefix: pulumi.Input; - /** - * Collection of ATP-Dedicated shards that needs to be created. - */ - shardDetails: pulumi.Input[]>; - /** - * Sharding Method. - */ - shardingMethod: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - */ - startDatabaseTrigger?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - */ - stopDatabaseTrigger?: pulumi.Input; - /** - * (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - */ - validateNetworkTrigger?: pulumi.Input; -} diff --git a/sdk/nodejs/identity/domainsGroup.ts b/sdk/nodejs/identity/domainsGroup.ts index 655f14654e..8b90c9c948 100644 --- a/sdk/nodejs/identity/domainsGroup.ts +++ b/sdk/nodejs/identity/domainsGroup.ts @@ -131,6 +131,7 @@ export class DomainsGroup extends pulumi.CustomResource { * * uniqueness: none */ public readonly externalId!: pulumi.Output; + public readonly forceDelete!: pulumi.Output; /** * (Updatable) The User or App who created the Resource * @@ -339,6 +340,7 @@ export class DomainsGroup extends pulumi.CustomResource { resourceInputs["displayName"] = state ? state.displayName : undefined; resourceInputs["domainOcid"] = state ? state.domainOcid : undefined; resourceInputs["externalId"] = state ? state.externalId : undefined; + resourceInputs["forceDelete"] = state ? state.forceDelete : undefined; resourceInputs["idcsCreatedBies"] = state ? state.idcsCreatedBies : undefined; resourceInputs["idcsEndpoint"] = state ? state.idcsEndpoint : undefined; resourceInputs["idcsLastModifiedBies"] = state ? state.idcsLastModifiedBies : undefined; @@ -374,6 +376,7 @@ export class DomainsGroup extends pulumi.CustomResource { resourceInputs["authorization"] = args ? args.authorization : undefined; resourceInputs["displayName"] = args ? args.displayName : undefined; resourceInputs["externalId"] = args ? args.externalId : undefined; + resourceInputs["forceDelete"] = args ? args.forceDelete : undefined; resourceInputs["idcsEndpoint"] = args ? args.idcsEndpoint : undefined; resourceInputs["members"] = args ? args.members : undefined; resourceInputs["nonUniqueDisplayName"] = args ? args.nonUniqueDisplayName : undefined; @@ -490,6 +493,7 @@ export interface DomainsGroupState { * * uniqueness: none */ externalId?: pulumi.Input; + forceDelete?: pulumi.Input; /** * (Updatable) The User or App who created the Resource * @@ -724,6 +728,7 @@ export interface DomainsGroupArgs { * * uniqueness: none */ externalId?: pulumi.Input; + forceDelete?: pulumi.Input; /** * The basic endpoint for the identity domain */ diff --git a/sdk/nodejs/identity/domainsUser.ts b/sdk/nodejs/identity/domainsUser.ts index f2d03b5236..f7742d4094 100644 --- a/sdk/nodejs/identity/domainsUser.ts +++ b/sdk/nodejs/identity/domainsUser.ts @@ -210,6 +210,7 @@ export class DomainsUser extends pulumi.CustomResource { * * uniqueness: none */ public readonly externalId!: pulumi.Output; + public readonly forceDelete!: pulumi.Output; /** * (Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated * @@ -695,6 +696,7 @@ export class DomainsUser extends pulumi.CustomResource { resourceInputs["emails"] = state ? state.emails : undefined; resourceInputs["entitlements"] = state ? state.entitlements : undefined; resourceInputs["externalId"] = state ? state.externalId : undefined; + resourceInputs["forceDelete"] = state ? state.forceDelete : undefined; resourceInputs["groups"] = state ? state.groups : undefined; resourceInputs["idcsCreatedBies"] = state ? state.idcsCreatedBies : undefined; resourceInputs["idcsEndpoint"] = state ? state.idcsEndpoint : undefined; @@ -763,6 +765,7 @@ export class DomainsUser extends pulumi.CustomResource { resourceInputs["emails"] = args ? args.emails : undefined; resourceInputs["entitlements"] = args ? args.entitlements : undefined; resourceInputs["externalId"] = args ? args.externalId : undefined; + resourceInputs["forceDelete"] = args ? args.forceDelete : undefined; resourceInputs["idcsEndpoint"] = args ? args.idcsEndpoint : undefined; resourceInputs["ims"] = args ? args.ims : undefined; resourceInputs["locale"] = args ? args.locale : undefined; @@ -988,6 +991,7 @@ export interface DomainsUserState { * * uniqueness: none */ externalId?: pulumi.Input; + forceDelete?: pulumi.Input; /** * (Updatable) A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated * @@ -1573,6 +1577,7 @@ export interface DomainsUserArgs { * * uniqueness: none */ externalId?: pulumi.Input; + forceDelete?: pulumi.Input; /** * The basic endpoint for the identity domain */ diff --git a/sdk/nodejs/identity/getDomainsGroup.ts b/sdk/nodejs/identity/getDomainsGroup.ts index 4def3182d2..59502d2382 100644 --- a/sdk/nodejs/identity/getDomainsGroup.ts +++ b/sdk/nodejs/identity/getDomainsGroup.ts @@ -97,6 +97,7 @@ export interface GetDomainsGroupResult { * An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant. */ readonly externalId: string; + readonly forceDelete: boolean; readonly groupId: string; /** * Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. diff --git a/sdk/nodejs/identity/getDomainsUser.ts b/sdk/nodejs/identity/getDomainsUser.ts index 237d045e34..7c7ff5fa4d 100644 --- a/sdk/nodejs/identity/getDomainsUser.ts +++ b/sdk/nodejs/identity/getDomainsUser.ts @@ -117,6 +117,7 @@ export interface GetDomainsUserResult { * An identifier for the Resource as defined by the Service Consumer. READ-ONLY. */ readonly externalId: string; + readonly forceDelete: boolean; /** * A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated */ diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index dfee1708e0..5529ca1a6e 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -54,19 +54,19 @@ import * as dataintegration from "./dataintegration"; import * as datalabellingservice from "./datalabellingservice"; import * as datasafe from "./datasafe"; import * as datascience from "./datascience"; +import * as delegateaccesscontrol from "./delegateaccesscontrol"; import * as demandsignal from "./demandsignal"; +import * as desktops from "./desktops"; import * as devops from "./devops"; import * as disasterrecovery from "./disasterrecovery"; import * as dns from "./dns"; import * as email from "./email"; import * as events from "./events"; import * as filestorage from "./filestorage"; -import * as fleetsoftwareupdate from "./fleetsoftwareupdate"; import * as functions from "./functions"; import * as fusionapps from "./fusionapps"; import * as generativeai from "./generativeai"; import * as genericartifactscontent from "./genericartifactscontent"; -import * as globallydistributeddatabase from "./globallydistributeddatabase"; import * as goldengate from "./goldengate"; import * as healthchecks from "./healthchecks"; import * as identity from "./identity"; @@ -174,19 +174,19 @@ export { datalabellingservice, datasafe, datascience, + delegateaccesscontrol, demandsignal, + desktops, devops, disasterrecovery, dns, email, events, filestorage, - fleetsoftwareupdate, functions, fusionapps, generativeai, genericartifactscontent, - globallydistributeddatabase, goldengate, healthchecks, identity, diff --git a/sdk/nodejs/kms/getVault.ts b/sdk/nodejs/kms/getVault.ts index 7104f47154..44ff5abacc 100644 --- a/sdk/nodejs/kms/getVault.ts +++ b/sdk/nodejs/kms/getVault.ts @@ -82,6 +82,10 @@ export interface GetVaultResult { * A Boolean value that indicates whether the Vault is primary Vault or replica Vault. */ readonly isPrimary: boolean; + /** + * A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + */ + readonly isVaultReplicable: boolean; /** * The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. */ diff --git a/sdk/nodejs/kms/vault.ts b/sdk/nodejs/kms/vault.ts index ffdae23074..f840f97bb3 100644 --- a/sdk/nodejs/kms/vault.ts +++ b/sdk/nodejs/kms/vault.ts @@ -115,6 +115,10 @@ export class Vault extends pulumi.CustomResource { * A Boolean value that indicates whether the Vault is primary Vault or replica Vault. */ public /*out*/ readonly isPrimary!: pulumi.Output; + /** + * A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + */ + public /*out*/ readonly isVaultReplicable!: pulumi.Output; /** * The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. */ @@ -177,6 +181,7 @@ export class Vault extends pulumi.CustomResource { resourceInputs["externalKeyManagerMetadataSummaries"] = state ? state.externalKeyManagerMetadataSummaries : undefined; resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; resourceInputs["isPrimary"] = state ? state.isPrimary : undefined; + resourceInputs["isVaultReplicable"] = state ? state.isVaultReplicable : undefined; resourceInputs["managementEndpoint"] = state ? state.managementEndpoint : undefined; resourceInputs["replicaDetails"] = state ? state.replicaDetails : undefined; resourceInputs["restoreFromFile"] = state ? state.restoreFromFile : undefined; @@ -211,6 +216,7 @@ export class Vault extends pulumi.CustomResource { resourceInputs["cryptoEndpoint"] = undefined /*out*/; resourceInputs["externalKeyManagerMetadataSummaries"] = undefined /*out*/; resourceInputs["isPrimary"] = undefined /*out*/; + resourceInputs["isVaultReplicable"] = undefined /*out*/; resourceInputs["managementEndpoint"] = undefined /*out*/; resourceInputs["replicaDetails"] = undefined /*out*/; resourceInputs["restoredFromVaultId"] = undefined /*out*/; @@ -258,6 +264,10 @@ export interface VaultState { * A Boolean value that indicates whether the Vault is primary Vault or replica Vault. */ isPrimary?: pulumi.Input; + /** + * A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + */ + isVaultReplicable?: pulumi.Input; /** * The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. */ diff --git a/sdk/nodejs/loadbalancer/loadBalancer.ts b/sdk/nodejs/loadbalancer/loadBalancer.ts index 7672d5e09e..3280104634 100644 --- a/sdk/nodejs/loadbalancer/loadBalancer.ts +++ b/sdk/nodejs/loadbalancer/loadBalancer.ts @@ -58,7 +58,9 @@ import * as utilities from "../utilities"; * ipMode: loadBalancerIpMode, * isDeleteProtectionEnabled: loadBalancerIsDeleteProtectionEnabled, * isPrivate: loadBalancerIsPrivate, + * isRequestIdEnabled: loadBalancerIsRequestIdEnabled, * networkSecurityGroupIds: loadBalancerNetworkSecurityGroupIds, + * requestIdHeader: loadBalancerRequestIdHeader, * reservedIps: [{ * id: loadBalancerReservedIpsId, * }], @@ -163,6 +165,18 @@ export class LoadBalancer extends pulumi.CustomResource { * Example: `true` */ public readonly isPrivate!: pulumi.Output; + /** + * (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + */ + public readonly isRequestIdEnabled!: pulumi.Output; /** * (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. * @@ -175,6 +189,20 @@ export class LoadBalancer extends pulumi.CustomResource { * Example: `["ocid1.nsg.oc1.phx.unique_ID"]` */ public readonly networkSecurityGroupIds!: pulumi.Output; + /** + * (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + */ + public readonly requestIdHeader!: pulumi.Output; /** * 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. */ @@ -230,7 +258,9 @@ export class LoadBalancer extends pulumi.CustomResource { resourceInputs["ipMode"] = state ? state.ipMode : undefined; resourceInputs["isDeleteProtectionEnabled"] = state ? state.isDeleteProtectionEnabled : undefined; resourceInputs["isPrivate"] = state ? state.isPrivate : undefined; + resourceInputs["isRequestIdEnabled"] = state ? state.isRequestIdEnabled : undefined; resourceInputs["networkSecurityGroupIds"] = state ? state.networkSecurityGroupIds : undefined; + resourceInputs["requestIdHeader"] = state ? state.requestIdHeader : undefined; resourceInputs["reservedIps"] = state ? state.reservedIps : undefined; resourceInputs["shape"] = state ? state.shape : undefined; resourceInputs["shapeDetails"] = state ? state.shapeDetails : undefined; @@ -259,7 +289,9 @@ export class LoadBalancer extends pulumi.CustomResource { resourceInputs["ipMode"] = args ? args.ipMode : undefined; resourceInputs["isDeleteProtectionEnabled"] = args ? args.isDeleteProtectionEnabled : undefined; resourceInputs["isPrivate"] = args ? args.isPrivate : undefined; + resourceInputs["isRequestIdEnabled"] = args ? args.isRequestIdEnabled : undefined; resourceInputs["networkSecurityGroupIds"] = args ? args.networkSecurityGroupIds : undefined; + resourceInputs["requestIdHeader"] = args ? args.requestIdHeader : undefined; resourceInputs["reservedIps"] = args ? args.reservedIps : undefined; resourceInputs["shape"] = args ? args.shape : undefined; resourceInputs["shapeDetails"] = args ? args.shapeDetails : undefined; @@ -337,6 +369,18 @@ export interface LoadBalancerState { * Example: `true` */ isPrivate?: pulumi.Input; + /** + * (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + */ + isRequestIdEnabled?: pulumi.Input; /** * (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. * @@ -349,6 +393,20 @@ export interface LoadBalancerState { * Example: `["ocid1.nsg.oc1.phx.unique_ID"]` */ networkSecurityGroupIds?: pulumi.Input[]>; + /** + * (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + */ + requestIdHeader?: pulumi.Input; /** * 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. */ @@ -435,6 +493,18 @@ export interface LoadBalancerArgs { * Example: `true` */ isPrivate?: pulumi.Input; + /** + * (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + * + * If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + * + * If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + * + * New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + * + * Example: `true` + */ + isRequestIdEnabled?: pulumi.Input; /** * (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. * @@ -447,6 +517,20 @@ export interface LoadBalancerArgs { * Example: `["ocid1.nsg.oc1.phx.unique_ID"]` */ networkSecurityGroupIds?: pulumi.Input[]>; + /** + * (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + * + * If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + * + * If isRequestIdEnabled is false then this field is ignored. + * + * If this field is not set or is set to "" then this field defaults to X-Request-Id + * + * **Notes:** + * * Unless the header name is "" it must start with "X-" prefix. + * * Setting the header name to "" will set it to the default: X-Request-Id. + */ + requestIdHeader?: pulumi.Input; /** * 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. */ diff --git a/sdk/nodejs/mysql/getMysqlDbSystem.ts b/sdk/nodejs/mysql/getMysqlDbSystem.ts index 2f07702e9b..098c254386 100644 --- a/sdk/nodejs/mysql/getMysqlDbSystem.ts +++ b/sdk/nodejs/mysql/getMysqlDbSystem.ts @@ -75,7 +75,11 @@ export interface GetMysqlDbSystemResult { */ readonly currentPlacements: outputs.Mysql.GetMysqlDbSystemCurrentPlacement[]; /** - * DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + */ + readonly customerContacts: outputs.Mysql.GetMysqlDbSystemCustomerContact[]; + /** + * Initial size of the data volume in GiBs that will be created and attached. */ readonly dataStorageSizeInGb: number; /** diff --git a/sdk/nodejs/mysql/mysqlDbSystem.ts b/sdk/nodejs/mysql/mysqlDbSystem.ts index 106108c9ab..0f29e86f1f 100644 --- a/sdk/nodejs/mysql/mysqlDbSystem.ts +++ b/sdk/nodejs/mysql/mysqlDbSystem.ts @@ -40,6 +40,9 @@ import * as utilities from "../utilities"; * }, * configurationId: testConfiguration.id, * crashRecovery: mysqlDbSystemCrashRecovery, + * customerContacts: [{ + * email: mysqlDbSystemCustomerContactsEmail, + * }], * dataStorage: { * isAutoExpandStorageEnabled: mysqlDbSystemDataStorageIsAutoExpandStorageEnabled, * maxStorageSizeInGbs: mysqlDbSystemDataStorageMaxStorageSizeInGbs, @@ -155,6 +158,10 @@ export class MysqlDbSystem extends pulumi.CustomResource { * The availability domain and fault domain a DB System is placed in. */ public /*out*/ readonly currentPlacements!: pulumi.Output; + /** + * (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + */ + public readonly customerContacts!: pulumi.Output; /** * (Updatable) Data Storage configuration properties. */ @@ -308,6 +315,7 @@ export class MysqlDbSystem extends pulumi.CustomResource { resourceInputs["configurationId"] = state ? state.configurationId : undefined; resourceInputs["crashRecovery"] = state ? state.crashRecovery : undefined; resourceInputs["currentPlacements"] = state ? state.currentPlacements : undefined; + resourceInputs["customerContacts"] = state ? state.customerContacts : undefined; resourceInputs["dataStorage"] = state ? state.dataStorage : undefined; resourceInputs["dataStorageSizeInGb"] = state ? state.dataStorageSizeInGb : undefined; resourceInputs["databaseManagement"] = state ? state.databaseManagement : undefined; @@ -358,6 +366,7 @@ export class MysqlDbSystem extends pulumi.CustomResource { resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; resourceInputs["configurationId"] = args ? args.configurationId : undefined; resourceInputs["crashRecovery"] = args ? args.crashRecovery : undefined; + resourceInputs["customerContacts"] = args ? args.customerContacts : undefined; resourceInputs["dataStorage"] = args ? args.dataStorage : undefined; resourceInputs["dataStorageSizeInGb"] = args ? args.dataStorageSizeInGb : undefined; resourceInputs["databaseManagement"] = args ? args.databaseManagement : undefined; @@ -441,6 +450,10 @@ export interface MysqlDbSystemState { * The availability domain and fault domain a DB System is placed in. */ currentPlacements?: pulumi.Input[]>; + /** + * (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + */ + customerContacts?: pulumi.Input[]>; /** * (Updatable) Data Storage configuration properties. */ @@ -609,6 +622,10 @@ export interface MysqlDbSystemArgs { * (Updatable) Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs. */ crashRecovery?: pulumi.Input; + /** + * (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + */ + customerContacts?: pulumi.Input[]>; /** * (Updatable) Data Storage configuration properties. */ diff --git a/sdk/nodejs/ocvp/getCluster.ts b/sdk/nodejs/ocvp/getCluster.ts index e638b30a31..086ac7f15b 100644 --- a/sdk/nodejs/ocvp/getCluster.ts +++ b/sdk/nodejs/ocvp/getCluster.ts @@ -35,7 +35,7 @@ export function getCluster(args: GetClusterArgs, opts?: pulumi.InvokeOptions): P */ export interface GetClusterArgs { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. */ clusterId: string; } @@ -172,7 +172,7 @@ export function getClusterOutput(args: GetClusterOutputArgs, opts?: pulumi.Invok */ export interface GetClusterOutputArgs { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. */ clusterId: pulumi.Input; } diff --git a/sdk/nodejs/ocvp/getExsiHosts.ts b/sdk/nodejs/ocvp/getExsiHosts.ts index 465eca7eb5..a73d177f87 100644 --- a/sdk/nodejs/ocvp/getExsiHosts.ts +++ b/sdk/nodejs/ocvp/getExsiHosts.ts @@ -59,7 +59,7 @@ export function getExsiHosts(args?: GetExsiHostsArgs, opts?: pulumi.InvokeOption */ export interface GetExsiHostsArgs { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. */ clusterId?: string; /** @@ -173,7 +173,7 @@ export function getExsiHostsOutput(args?: GetExsiHostsOutputArgs, opts?: pulumi. */ export interface GetExsiHostsOutputArgs { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. */ clusterId?: pulumi.Input; /** diff --git a/sdk/nodejs/ocvp/getSupportedVmwareSoftwareVersions.ts b/sdk/nodejs/ocvp/getSupportedVmwareSoftwareVersions.ts index ddd37ac1ff..9a183f122a 100644 --- a/sdk/nodejs/ocvp/getSupportedVmwareSoftwareVersions.ts +++ b/sdk/nodejs/ocvp/getSupportedVmwareSoftwareVersions.ts @@ -22,6 +22,7 @@ import * as utilities from "../utilities"; * compartmentId: compartmentId, * hostShapeName: testShape.name, * version: supportedVmwareSoftwareVersionVersion, + * versionToUpgrade: supportedVmwareSoftwareVersionVersionToUpgrade, * }); * ``` */ @@ -33,6 +34,7 @@ export function getSupportedVmwareSoftwareVersions(args: GetSupportedVmwareSoftw "filters": args.filters, "hostShapeName": args.hostShapeName, "version": args.version, + "versionToUpgrade": args.versionToUpgrade, }, opts); } @@ -53,6 +55,10 @@ export interface GetSupportedVmwareSoftwareVersionsArgs { * A filter to return only resources that match the given VMware software version exactly. */ version?: string; + /** + * A filter to return only VMware software versions that the given VMware software version can be upgraded to. + */ + versionToUpgrade?: string; } /** @@ -74,6 +80,7 @@ export interface GetSupportedVmwareSoftwareVersionsResult { * A short, unique string that identifies the version of bundled software. */ readonly version?: string; + readonly versionToUpgrade?: string; } /** * This data source provides the list of Supported Vmware Software Versions in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service. @@ -91,6 +98,7 @@ export interface GetSupportedVmwareSoftwareVersionsResult { * compartmentId: compartmentId, * hostShapeName: testShape.name, * version: supportedVmwareSoftwareVersionVersion, + * versionToUpgrade: supportedVmwareSoftwareVersionVersionToUpgrade, * }); * ``` */ @@ -115,4 +123,8 @@ export interface GetSupportedVmwareSoftwareVersionsOutputArgs { * A filter to return only resources that match the given VMware software version exactly. */ version?: pulumi.Input; + /** + * A filter to return only VMware software versions that the given VMware software version can be upgraded to. + */ + versionToUpgrade?: pulumi.Input; } diff --git a/sdk/nodejs/recoverymod/getProtectedDatabase.ts b/sdk/nodejs/recoverymod/getProtectedDatabase.ts index 6569216378..f87c305905 100644 --- a/sdk/nodejs/recoverymod/getProtectedDatabase.ts +++ b/sdk/nodejs/recoverymod/getProtectedDatabase.ts @@ -119,6 +119,10 @@ export interface GetProtectedDatabaseResult { * The current state of the Protected Database. */ readonly state: string; + /** + * The OCID of the cloud service subscription to which the protected database is linked. + */ + readonly subscriptionId: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) */ diff --git a/sdk/nodejs/recoverymod/getProtectionPolicy.ts b/sdk/nodejs/recoverymod/getProtectionPolicy.ts index 85c95bc700..ad3e17168c 100644 --- a/sdk/nodejs/recoverymod/getProtectionPolicy.ts +++ b/sdk/nodejs/recoverymod/getProtectionPolicy.ts @@ -74,6 +74,10 @@ export interface GetProtectionPolicyResult { * Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. */ readonly lifecycleDetails: string; + /** + * Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + */ + readonly mustEnforceCloudLocality: boolean; /** * An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. */ diff --git a/sdk/nodejs/recoverymod/protectedDatabase.ts b/sdk/nodejs/recoverymod/protectedDatabase.ts index 845031073d..40ae14c622 100644 --- a/sdk/nodejs/recoverymod/protectedDatabase.ts +++ b/sdk/nodejs/recoverymod/protectedDatabase.ts @@ -36,6 +36,7 @@ import * as utilities from "../utilities"; * "bar-key": "value", * }, * isRedoLogsShipped: protectedDatabaseIsRedoLogsShipped, + * subscriptionId: testSubscription.id, * }); * ``` * @@ -153,6 +154,14 @@ export class ProtectedDatabase extends pulumi.CustomResource { * The current state of the Protected Database. */ public /*out*/ readonly state!: pulumi.Output; + /** + * (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * + * ** IMPORTANT ** + * 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 subscriptionId!: pulumi.Output; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) */ @@ -202,6 +211,7 @@ export class ProtectedDatabase extends pulumi.CustomResource { resourceInputs["protectionPolicyId"] = state ? state.protectionPolicyId : undefined; resourceInputs["recoveryServiceSubnets"] = state ? state.recoveryServiceSubnets : undefined; resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["subscriptionId"] = state ? state.subscriptionId : undefined; resourceInputs["systemTags"] = state ? state.systemTags : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; @@ -238,6 +248,7 @@ export class ProtectedDatabase extends pulumi.CustomResource { resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined; resourceInputs["protectionPolicyId"] = args ? args.protectionPolicyId : undefined; resourceInputs["recoveryServiceSubnets"] = args ? args.recoveryServiceSubnets : undefined; + resourceInputs["subscriptionId"] = args ? args.subscriptionId : undefined; resourceInputs["health"] = undefined /*out*/; resourceInputs["healthDetails"] = undefined /*out*/; resourceInputs["isReadOnlyResource"] = undefined /*out*/; @@ -339,6 +350,14 @@ export interface ProtectedDatabaseState { * The current state of the Protected Database. */ state?: pulumi.Input; + /** + * (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + subscriptionId?: pulumi.Input; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) */ @@ -411,4 +430,12 @@ export interface ProtectedDatabaseArgs { * (Updatable) List of recovery service subnet resources associated with the protected database. */ recoveryServiceSubnets: pulumi.Input[]>; + /** + * (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + * + * + * ** IMPORTANT ** + * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + */ + subscriptionId?: pulumi.Input; } diff --git a/sdk/nodejs/recoverymod/protectionPolicy.ts b/sdk/nodejs/recoverymod/protectionPolicy.ts index 52101b11f3..077e952f2f 100644 --- a/sdk/nodejs/recoverymod/protectionPolicy.ts +++ b/sdk/nodejs/recoverymod/protectionPolicy.ts @@ -25,6 +25,7 @@ import * as utilities from "../utilities"; * freeformTags: { * "bar-key": "value", * }, + * mustEnforceCloudLocality: protectionPolicyMustEnforceCloudLocality, * policyLockedDateTime: protectionPolicyPolicyLockedDateTime, * }); * ``` @@ -93,6 +94,10 @@ export class ProtectionPolicy extends pulumi.CustomResource { * Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. */ public /*out*/ readonly lifecycleDetails!: pulumi.Output; + /** + * Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + */ + public readonly mustEnforceCloudLocality!: pulumi.Output; /** * (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. @@ -144,6 +149,7 @@ export class ProtectionPolicy extends pulumi.CustomResource { resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; resourceInputs["isPredefinedPolicy"] = state ? state.isPredefinedPolicy : undefined; resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined; + resourceInputs["mustEnforceCloudLocality"] = state ? state.mustEnforceCloudLocality : undefined; resourceInputs["policyLockedDateTime"] = state ? state.policyLockedDateTime : undefined; resourceInputs["state"] = state ? state.state : undefined; resourceInputs["systemTags"] = state ? state.systemTags : undefined; @@ -165,6 +171,7 @@ export class ProtectionPolicy extends pulumi.CustomResource { resourceInputs["definedTags"] = args ? args.definedTags : undefined; resourceInputs["displayName"] = args ? args.displayName : undefined; resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; + resourceInputs["mustEnforceCloudLocality"] = args ? args.mustEnforceCloudLocality : undefined; resourceInputs["policyLockedDateTime"] = args ? args.policyLockedDateTime : undefined; resourceInputs["isPredefinedPolicy"] = undefined /*out*/; resourceInputs["lifecycleDetails"] = undefined /*out*/; @@ -210,6 +217,10 @@ export interface ProtectionPolicyState { * Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. */ lifecycleDetails?: pulumi.Input; + /** + * Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + */ + mustEnforceCloudLocality?: pulumi.Input; /** * (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. @@ -266,6 +277,10 @@ export interface ProtectionPolicyArgs { * (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]: pulumi.Input}>; + /** + * Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + */ + mustEnforceCloudLocality?: pulumi.Input; /** * (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index ad33ec6d94..a9024e4a39 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -87,6 +87,7 @@ "announcementsservice/announcementSubscriptionsFilterGroup.ts", "announcementsservice/getAnnouncementSubscription.ts", "announcementsservice/getAnnouncementSubscriptions.ts", + "announcementsservice/getServices.ts", "announcementsservice/index.ts", "apigateway/api.ts", "apigateway/certificate.ts", @@ -801,6 +802,7 @@ "database/vmClusterAddVirtualNetwork.ts", "database/vmClusterNetwork.ts", "database/vmClusterRemoveVirtualMachine.ts", + "databasemanagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement.ts", "databasemanagement/databaseDbmFeaturesManagement.ts", "databasemanagement/dbManagementPrivateEndpoint.ts", "databasemanagement/externalAsm.ts", @@ -1166,6 +1168,8 @@ "datasafe/maskingPoliciesApplyDifferenceToMaskingColumns.ts", "datasafe/maskingPoliciesMaskingColumn.ts", "datasafe/maskingPolicy.ts", + "datasafe/maskingPolicyHealthReportManagement.ts", + "datasafe/maskingReportManagement.ts", "datasafe/onPremConnector.ts", "datasafe/report.ts", "datasafe/reportDefinition.ts", @@ -1180,7 +1184,9 @@ "datasafe/sensitiveDataModelsSensitiveColumn.ts", "datasafe/sensitiveType.ts", "datasafe/setSecurityAssessmentBaseline.ts", + "datasafe/setSecurityAssessmentBaselineManagement.ts", "datasafe/setUserAssessmentBaseline.ts", + "datasafe/setUserAssessmentBaselineManagement.ts", "datasafe/sqlCollection.ts", "datasafe/sqlFirewallPolicy.ts", "datasafe/sqlFirewallPolicyManagement.ts", @@ -1188,7 +1194,9 @@ "datasafe/targetDatabase.ts", "datasafe/targetDatabasePeerTargetDatabase.ts", "datasafe/unsetSecurityAssessmentBaseline.ts", + "datasafe/unsetSecurityAssessmentBaselineManagement.ts", "datasafe/unsetUserAssessmentBaseline.ts", + "datasafe/unsetUserAssessmentBaselineManagement.ts", "datasafe/userAssessment.ts", "datascience/getFastLaunchJobConfigs.ts", "datascience/getJob.ts", @@ -1229,10 +1237,34 @@ "datascience/pipelineRun.ts", "datascience/privateEndpoint.ts", "datascience/project.ts", + "delegateaccesscontrol/delegationControl.ts", + "delegateaccesscontrol/delegationSubscription.ts", + "delegateaccesscontrol/getDelegatedResourceAccessRequest.ts", + "delegateaccesscontrol/getDelegatedResourceAccessRequestAuditLogReport.ts", + "delegateaccesscontrol/getDelegatedResourceAccessRequestHistories.ts", + "delegateaccesscontrol/getDelegatedResourceAccessRequests.ts", + "delegateaccesscontrol/getDelegationControl.ts", + "delegateaccesscontrol/getDelegationControlResources.ts", + "delegateaccesscontrol/getDelegationControls.ts", + "delegateaccesscontrol/getDelegationSubscription.ts", + "delegateaccesscontrol/getDelegationSubscriptions.ts", + "delegateaccesscontrol/getServiceProvider.ts", + "delegateaccesscontrol/getServiceProviderAction.ts", + "delegateaccesscontrol/getServiceProviderActions.ts", + "delegateaccesscontrol/getServiceProviders.ts", + "delegateaccesscontrol/index.ts", "demandsignal/getOccDemandSignal.ts", "demandsignal/getOccDemandSignals.ts", "demandsignal/index.ts", "demandsignal/occDemandSignal.ts", + "desktops/desktopPool.ts", + "desktops/getDesktop.ts", + "desktops/getDesktopPool.ts", + "desktops/getDesktopPoolDesktops.ts", + "desktops/getDesktopPoolVolumes.ts", + "desktops/getDesktopPools.ts", + "desktops/getDesktops.ts", + "desktops/index.ts", "devops/buildPipeline.ts", "devops/buildPipelineStage.ts", "devops/buildRun.ts", @@ -1377,13 +1409,6 @@ "filestorage/outboundConnector.ts", "filestorage/replication.ts", "filestorage/snapshot.ts", - "fleetsoftwareupdate/fsuCollection.ts", - "fleetsoftwareupdate/fsuCycle.ts", - "fleetsoftwareupdate/getFsuCollection.ts", - "fleetsoftwareupdate/getFsuCollections.ts", - "fleetsoftwareupdate/getFsuCycle.ts", - "fleetsoftwareupdate/getFsuCycles.ts", - "fleetsoftwareupdate/index.ts", "functions/application.ts", "functions/function.ts", "functions/getApplication.ts", @@ -1437,13 +1462,6 @@ "genericartifactscontent/getArtifactByPath.ts", "genericartifactscontent/getGenericArtifactsContent.ts", "genericartifactscontent/index.ts", - "globallydistributeddatabase/getPrivateEndpoint.ts", - "globallydistributeddatabase/getPrivateEndpoints.ts", - "globallydistributeddatabase/getShardedDatabase.ts", - "globallydistributeddatabase/getShardedDatabases.ts", - "globallydistributeddatabase/index.ts", - "globallydistributeddatabase/privateEndpoint.ts", - "globallydistributeddatabase/shardedDatabase.ts", "goldengate/connection.ts", "goldengate/connectionAssignment.ts", "goldengate/databaseRegistration.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 18b01e70e7..b01fbec0a1 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -1528,7 +1528,7 @@ export namespace Analytics { export namespace AnnouncementsService { export interface AnnouncementSubscriptionFilterGroups { /** - * 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. + * A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. */ filters: pulumi.Input[]>; /** @@ -1539,7 +1539,7 @@ export namespace AnnouncementsService { export interface AnnouncementSubscriptionFilterGroupsFilter { /** - * The type of filter. + * The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. */ type: pulumi.Input; /** @@ -1550,7 +1550,7 @@ export namespace AnnouncementsService { export interface AnnouncementSubscriptionsFilterGroupFilter { /** - * (Updatable) The type of filter. + * (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. */ type: pulumi.Input; /** @@ -1576,6 +1576,19 @@ export namespace AnnouncementsService { regex?: pulumi.Input; values: pulumi.Input[]>; } + + export interface GetServicesFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetServicesFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + } export namespace ApiGateway { @@ -5109,22 +5122,10 @@ export namespace BigDataService { * The total number of OCPUs available to the node. */ ocpus?: pulumi.Input; - /** - * Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - */ - odhVersion?: pulumi.Input; - /** - * BDS-assigned Operating System version for the node. - */ - osVersion?: pulumi.Input; /** * Shape of the node */ shape: pulumi.Input; - /** - * The fingerprint of the SSH key used for node access - */ - sshFingerprint?: pulumi.Input; } export interface BdsInstanceCloudSqlDetailKerberosDetail { @@ -20288,9 +20289,21 @@ export namespace DataSafe { } export interface DatabaseSecurityConfigManagementSqlFirewallConfig { + /** + * (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + */ excludeJob?: pulumi.Input; + /** + * (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + */ status?: pulumi.Input; + /** + * The most recent time when the firewall status is updated, in the format defined by RFC3339. + */ timeStatusUpdated?: pulumi.Input; + /** + * (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + */ violationLogAutoPurge?: pulumi.Input; } @@ -23803,6 +23816,10 @@ export namespace Database { } export interface AutonomousDatabaseLocalStandbyDb { + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + availabilityDomain?: pulumi.Input; /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. */ @@ -23932,6 +23949,10 @@ export namespace Database { } export interface AutonomousDatabaseStandbyDb { + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + availabilityDomain?: pulumi.Input; /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. */ @@ -27409,6 +27430,104 @@ export namespace Database { } export namespace DatabaseManagement { + export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails { + /** + * The connector details required to connect to an Oracle cloud database. + */ + connectorDetails?: pulumi.Input; + /** + * The connection details required to connect to the database. + */ + databaseConnectionDetails?: pulumi.Input; + /** + * The name of the Database Management feature. + */ + feature: pulumi.Input; + } + + export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails { + /** + * The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * * DIRECT: Direct connection + */ + connectorType?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + */ + databaseConnectorId?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + */ + managementAgentId?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + */ + privateEndPointId?: pulumi.Input; + } + + export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails { + /** + * The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + */ + connectionCredentials?: pulumi.Input; + /** + * The details of the Oracle Database connection string. + */ + connectionString?: pulumi.Input; + } + + export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials { + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + * For example: inventorydb.abc112233445566778899 + */ + credentialName?: pulumi.Input; + /** + * The type of credential used to connect to the database. + */ + credentialType?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + */ + passwordSecretId?: pulumi.Input; + /** + * The role of the user connecting to the database. + */ + role?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + */ + sslSecretId?: pulumi.Input; + /** + * The user name used to connect to the database. + */ + userName?: pulumi.Input; + } + + export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString { + /** + * The list of supported connection types: + * * BASIC: Basic connection details + */ + connectionType?: pulumi.Input; + /** + * The port number used to connect to the database. + */ + port?: pulumi.Input; + /** + * The protocol used to connect to the database. + */ + protocol?: pulumi.Input; + /** + * The service name of the database. + */ + service?: pulumi.Input; + } + export interface DatabaseDbmFeaturesManagementFeatureDetails { /** * The connector details required to connect to an Oracle cloud database. @@ -27438,6 +27557,7 @@ export namespace DatabaseManagement { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection */ connectorType?: pulumi.Input; /** @@ -27476,6 +27596,10 @@ export namespace DatabaseManagement { * The type of credential used to connect to the database. */ credentialType?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + */ + namedCredentialId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. */ @@ -27626,6 +27750,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -27998,52 +28126,6 @@ export namespace DatabaseManagement { * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. */ credentialName?: pulumi.Input; - /** - * The type of the credential for tablespace administration tasks. - */ - credentialType?: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. - */ - passwordSecretId?: pulumi.Input; - /** - * The role of the database user. - */ - role?: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. - */ - sslSecretId?: pulumi.Input; - /** - * The user name used to connect to the ASM instance. - */ - userName?: pulumi.Input; - } - - export interface ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionString { - /** - * The host name of the database or the SCAN name in case of a RAC database. - */ - hostName?: pulumi.Input; - /** - * The list of host names of the ASM instances. - */ - hosts?: pulumi.Input[]>; - /** - * The port used to connect to the ASM instance. - */ - port?: pulumi.Input; - /** - * The protocol used to connect to the ASM instance. - */ - protocol?: pulumi.Input; - /** - * The service name of the ASM instance. - */ - service?: pulumi.Input; - } - - export interface ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoDatabaseCredential { /** * The type of the credential for tablespace administration tasks. */ @@ -28052,83 +28134,6 @@ export namespace DatabaseManagement { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. */ namedCredentialId?: pulumi.Input; - /** - * The database user's password encoded using BASE64 scheme. - */ - password?: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. - */ - passwordSecretId?: pulumi.Input; - /** - * The role of the database user. - */ - role?: pulumi.Input; - /** - * The user to connect to the database. - */ - username?: pulumi.Input; - } - - export interface ExternalDbSystemDiscoveryDiscoveredComponentConnector { - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used for the external DB system discovery. - */ - agentId?: pulumi.Input; - /** - * The error message indicating the reason for connection failure or `null` if the connection was successful. - */ - connectionFailureMessage?: pulumi.Input; - /** - * The connection details required to connect to an external DB system component. - */ - connectionInfos?: pulumi.Input[]>; - /** - * The status of connectivity to the external DB system component. - */ - connectionStatus?: pulumi.Input; - /** - * The type of connector. - */ - connectorType?: pulumi.Input; - /** - * (Updatable) The user-friendly name for the DB system. The name does not have to be unique. - */ - displayName?: pulumi.Input; - /** - * The date and time the connectionStatus of the external DB system connector was last updated. - */ - timeConnectionStatusLastUpdated?: pulumi.Input; - } - - export interface ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfo { - /** - * The component type. - */ - componentType?: pulumi.Input; - /** - * The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. - */ - connectionCredentials?: pulumi.Input[]>; - /** - * The Oracle Database connection string. - */ - connectionStrings?: pulumi.Input[]>; - /** - * The credential to connect to the database to perform tablespace administration tasks. - */ - databaseCredentials?: pulumi.Input[]>; - } - - export interface ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential { - /** - * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. - */ - credentialName?: pulumi.Input; - /** - * The type of the credential for tablespace administration tasks. - */ - credentialType?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -28147,7 +28152,138 @@ export namespace DatabaseManagement { userName?: pulumi.Input; } - export interface ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionString { + export interface ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionString { + /** + * The host name of the database or the SCAN name in case of a RAC database. + */ + hostName?: pulumi.Input; + /** + * The list of host names of the ASM instances. + */ + hosts?: pulumi.Input[]>; + /** + * The port used to connect to the ASM instance. + */ + port?: pulumi.Input; + /** + * The protocol used to connect to the ASM instance. + */ + protocol?: pulumi.Input; + /** + * The service name of the ASM instance. + */ + service?: pulumi.Input; + } + + export interface ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoDatabaseCredential { + /** + * The type of the credential for tablespace administration tasks. + */ + credentialType?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId?: pulumi.Input; + /** + * The database user's password encoded using BASE64 scheme. + */ + password?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. + */ + passwordSecretId?: pulumi.Input; + /** + * The role of the database user. + */ + role?: pulumi.Input; + /** + * The user to connect to the database. + */ + username?: pulumi.Input; + } + + export interface ExternalDbSystemDiscoveryDiscoveredComponentConnector { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used for the external DB system discovery. + */ + agentId?: pulumi.Input; + /** + * The error message indicating the reason for connection failure or `null` if the connection was successful. + */ + connectionFailureMessage?: pulumi.Input; + /** + * The connection details required to connect to an external DB system component. + */ + connectionInfos?: pulumi.Input[]>; + /** + * The status of connectivity to the external DB system component. + */ + connectionStatus?: pulumi.Input; + /** + * The type of connector. + */ + connectorType?: pulumi.Input; + /** + * (Updatable) The user-friendly name for the DB system. The name does not have to be unique. + */ + displayName?: pulumi.Input; + /** + * The date and time the connectionStatus of the external DB system connector was last updated. + */ + timeConnectionStatusLastUpdated?: pulumi.Input; + } + + export interface ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfo { + /** + * The component type. + */ + componentType?: pulumi.Input; + /** + * The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + */ + connectionCredentials?: pulumi.Input[]>; + /** + * The Oracle Database connection string. + */ + connectionStrings?: pulumi.Input[]>; + /** + * The credential to connect to the database to perform tablespace administration tasks. + */ + databaseCredentials?: pulumi.Input[]>; + } + + export interface ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential { + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + */ + credentialName?: pulumi.Input; + /** + * The type of the credential for tablespace administration tasks. + */ + credentialType?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. + */ + passwordSecretId?: pulumi.Input; + /** + * The role of the database user. + */ + role?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + */ + sslSecretId?: pulumi.Input; + /** + * The user name used to connect to the ASM instance. + */ + userName?: pulumi.Input; + } + + export interface ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionString { /** * The host name of the database or the SCAN name in case of a RAC database. */ @@ -28313,6 +28449,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -28937,6 +29077,7 @@ export namespace DatabaseManagement { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection */ connectorType?: pulumi.Input; /** @@ -28974,6 +29115,7 @@ export namespace DatabaseManagement { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection */ connectorType?: pulumi.Input; /** @@ -29007,6 +29149,7 @@ export namespace DatabaseManagement { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection */ connectorType?: pulumi.Input; /** @@ -29779,6 +29922,113 @@ export namespace DatabaseManagement { values: pulumi.Input[]>; } + export interface ManagedDatabaseDbmgmtFeatureConfig { + /** + * The connector details required to connect to an Oracle cloud database. + */ + connectorDetails?: pulumi.Input[]>; + /** + * The connection details required to connect to the database. + */ + databaseConnectionDetails?: pulumi.Input[]>; + /** + * The name of the Database Management feature. + */ + feature?: pulumi.Input; + /** + * The list of statuses for Database Management features. + */ + featureStatus?: pulumi.Input; + /** + * The Oracle license model that applies to the external database. + */ + licenseModel?: pulumi.Input; + } + + export interface ManagedDatabaseDbmgmtFeatureConfigConnectorDetail { + /** + * The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + */ + connectorType?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + */ + databaseConnectorId?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + */ + managementAgentId?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + */ + privateEndPointId?: pulumi.Input; + } + + export interface ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail { + /** + * The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + */ + connectionCredentials?: pulumi.Input[]>; + /** + * The details of the Oracle Database connection string. + */ + connectionStrings?: pulumi.Input[]>; + } + + export interface ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + */ + credentialName?: pulumi.Input; + /** + * The type of credential used to connect to the database. + */ + credentialType?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + */ + namedCredentialId?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + */ + passwordSecretId?: pulumi.Input; + /** + * The role of the user connecting to the database. + */ + role?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + */ + sslSecretId?: pulumi.Input; + /** + * The user name used to connect to the database. + */ + userName?: pulumi.Input; + } + + export interface ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + /** + * The list of supported connection types: + * * BASIC: Basic connection details + */ + connectionType?: pulumi.Input; + /** + * The port number used to connect to the database. + */ + port?: pulumi.Input; + /** + * The protocol used to connect to the database. + */ + protocol?: pulumi.Input; + /** + * The service name of the database. + */ + service?: pulumi.Input; + } + export interface ManagedDatabaseGroupManagedDatabase { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. @@ -30004,6 +30254,7 @@ export namespace DatabaseManagement { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection */ connectorType?: pulumi.Input; /** @@ -30042,6 +30293,10 @@ export namespace DatabaseManagement { * The type of credential used to connect to the database. */ credentialType?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + */ + namedCredentialId?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. */ @@ -30874,6 +31129,105 @@ export namespace DatabaseTools { } } +export namespace DelegateAccessControl { + export interface GetDelegatedResourceAccessRequestHistoriesFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDelegatedResourceAccessRequestHistoriesFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetDelegatedResourceAccessRequestsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDelegatedResourceAccessRequestsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetDelegationControlResourcesFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDelegationControlResourcesFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetDelegationControlsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDelegationControlsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetDelegationSubscriptionsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDelegationSubscriptionsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetServiceProviderActionsFilter { + /** + * A filter to return only resources that match the entire name given. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetServiceProviderActionsFilterArgs { + /** + * A filter to return only resources that match the entire name given. + */ + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetServiceProvidersFilter { + /** + * A filter to return Service Provider resources that match the given name. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetServiceProvidersFilterArgs { + /** + * A filter to return Service Provider resources that match the given name. + */ + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + +} + export namespace DemandSignal { export interface GetOccDemandSignalsFilter { name: string; @@ -30951,6 +31305,148 @@ export namespace DemandSignal { } } +export namespace Desktops { + export interface DesktopPoolAvailabilityPolicy { + /** + * (Updatable) Provides the schedule information for a desktop. + */ + startSchedule: pulumi.Input; + /** + * (Updatable) Provides the schedule information for a desktop. + */ + stopSchedule: pulumi.Input; + } + + export interface DesktopPoolAvailabilityPolicyStartSchedule { + /** + * (Updatable) A cron expression describing the desktop's schedule. + */ + cronExpression: pulumi.Input; + /** + * (Updatable) The timezone of the desktop's schedule. + */ + timezone: pulumi.Input; + } + + export interface DesktopPoolAvailabilityPolicyStopSchedule { + /** + * (Updatable) A cron expression describing the desktop's schedule. + */ + cronExpression: pulumi.Input; + /** + * (Updatable) The timezone of the desktop's schedule. + */ + timezone: pulumi.Input; + } + + export interface DesktopPoolDevicePolicy { + /** + * (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + */ + audioMode: pulumi.Input; + /** + * (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + */ + cdmMode: pulumi.Input; + /** + * (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + */ + clipboardMode: pulumi.Input; + /** + * (Updatable) Indicates whether the display is enabled. + */ + isDisplayEnabled: pulumi.Input; + /** + * (Updatable) Indicates whether the keyboard is enabled. + */ + isKeyboardEnabled: pulumi.Input; + /** + * (Updatable) Indicates whether the pointer is enabled. + */ + isPointerEnabled: pulumi.Input; + /** + * (Updatable) Indicates whether printing is enabled. + */ + isPrintingEnabled: pulumi.Input; + } + + export interface DesktopPoolImage { + /** + * The OCID of the desktop image. + */ + imageId: pulumi.Input; + /** + * The name of the desktop image. + */ + imageName: pulumi.Input; + } + + export interface DesktopPoolNetworkConfiguration { + /** + * The OCID of the subnet to use for the desktop pool. + */ + subnetId: pulumi.Input; + /** + * The OCID of the VCN used by the desktop pool. + */ + vcnId: pulumi.Input; + } + + export interface GetDesktopPoolDesktopsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDesktopPoolDesktopsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetDesktopPoolVolumesFilter { + /** + * The name of the desktop pool volume. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDesktopPoolVolumesFilterArgs { + /** + * The name of the desktop pool volume. + */ + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetDesktopPoolsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDesktopPoolsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetDesktopsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDesktopsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } +} + export namespace DevOps { export interface BuildPipelineBuildPipelineParameters { /** @@ -33945,97 +34441,6 @@ export namespace FileStorage { } } -export namespace FleetSoftwareUpdate { - export interface FsuCollectionActiveFsuCycle { - displayName?: pulumi.Input; - id?: pulumi.Input; - } - - export interface FsuCollectionFleetDiscovery { - filters?: pulumi.Input[]>; - fsuDiscoveryId?: pulumi.Input; - query?: pulumi.Input; - strategy: pulumi.Input; - targets?: pulumi.Input[]>; - } - - export interface FsuCollectionFleetDiscoveryFilter { - entityType?: pulumi.Input; - identifiers?: pulumi.Input[]>; - mode?: pulumi.Input; - names?: pulumi.Input[]>; - operator?: pulumi.Input; - tags?: pulumi.Input[]>; - type: pulumi.Input; - versions?: pulumi.Input[]>; - } - - export interface FsuCollectionFleetDiscoveryFilterTag { - key: pulumi.Input; - namespace?: pulumi.Input; - value: pulumi.Input; - } - - export interface FsuCycleApplyActionSchedule { - timeToStart: pulumi.Input; - type: pulumi.Input; - } - - export interface FsuCycleBatchingStrategy { - isForceRolling?: pulumi.Input; - isWaitForBatchResume?: pulumi.Input; - percentage?: pulumi.Input; - type?: pulumi.Input; - } - - export interface FsuCycleDiagnosticsCollection { - logCollectionMode?: pulumi.Input; - } - - export interface FsuCycleGoalVersionDetails { - homePolicy?: pulumi.Input; - newHomePrefix?: pulumi.Input; - softwareImageId?: pulumi.Input; - type: pulumi.Input; - version?: pulumi.Input; - } - - export interface FsuCycleNextActionToExecute { - timeToStart?: pulumi.Input; - type?: pulumi.Input; - } - - export interface FsuCycleStageActionSchedule { - timeToStart: pulumi.Input; - type: pulumi.Input; - } - - export interface GetFsuCollectionsFilter { - name: string; - regex?: boolean; - values: string[]; - } - - export interface GetFsuCollectionsFilterArgs { - name: pulumi.Input; - regex?: pulumi.Input; - values: pulumi.Input[]>; - } - - export interface GetFsuCyclesFilter { - name: string; - regex?: boolean; - values: string[]; - } - - export interface GetFsuCyclesFilterArgs { - name: pulumi.Input; - regex?: pulumi.Input; - values: pulumi.Input[]>; - } - -} - export namespace Functions { export interface ApplicationImagePolicyConfig { /** @@ -34590,275 +34995,6 @@ export namespace GenerativeAi { } } -export namespace GloballyDistributedDatabase { - export interface GetPrivateEndpointsFilter { - name: string; - regex?: boolean; - values: string[]; - } - - export interface GetPrivateEndpointsFilterArgs { - name: pulumi.Input; - regex?: pulumi.Input; - values: pulumi.Input[]>; - } - - export interface GetShardedDatabasesFilter { - /** - * Name of the shard. - */ - name: string; - regex?: boolean; - values: string[]; - } - - export interface GetShardedDatabasesFilterArgs { - /** - * Name of the shard. - */ - name: pulumi.Input; - regex?: pulumi.Input; - values: pulumi.Input[]>; - } - - export interface ShardedDatabaseCatalogDetail { - /** - * Admin password for the catalog database. - */ - adminPassword: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - */ - cloudAutonomousVmClusterId: pulumi.Input; - /** - * The compute count for the catalog database. It has to be in multiple of 2. - */ - computeCount: pulumi.Input; - /** - * Identifier of the underlying container database. - */ - containerDatabaseId?: pulumi.Input; - /** - * Identifier of the underlying container database parent. - */ - containerDatabaseParentId?: pulumi.Input; - /** - * The data disk group size to be allocated in GBs for the catalog database. - */ - dataStorageSizeInGbs: pulumi.Input; - /** - * Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - */ - encryptionKeyDetails?: pulumi.Input; - /** - * Determines the auto-scaling mode for the catalog database. - */ - isAutoScalingEnabled: pulumi.Input; - /** - * Additional metadata related to shard's underlying supporting resource. - */ - metadata?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * Name of the shard. - */ - name?: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - */ - peerCloudAutonomousVmClusterId?: pulumi.Input; - /** - * Name of the shard-group to which the shard belongs. - */ - shardGroup?: pulumi.Input; - /** - * Status of shard or catalog or gsm for the sharded database. - */ - status?: pulumi.Input; - /** - * Identifier of the underlying supporting resource. - */ - supportingResourceId?: pulumi.Input; - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - */ - timeCreated?: pulumi.Input; - /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - */ - timeSslCertificateExpires?: pulumi.Input; - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - */ - timeUpdated?: pulumi.Input; - } - - export interface ShardedDatabaseCatalogDetailEncryptionKeyDetails { - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - */ - kmsKeyId: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - */ - kmsKeyVersionId?: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - */ - vaultId: pulumi.Input; - } - - export interface ShardedDatabaseConnectionString { - /** - * Collection of connection strings. - */ - allConnectionStrings?: pulumi.Input<{[key: string]: pulumi.Input}>; - } - - export interface ShardedDatabaseGsm { - /** - * The compute amount available to the underlying autonomous database associated with shard. - */ - computeCount?: pulumi.Input; - /** - * The data disk group size to be allocated in GBs. - */ - dataStorageSizeInGbs?: pulumi.Input; - /** - * Additional metadata related to shard's underlying supporting resource. - */ - metadata?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * Name of the shard. - */ - name?: pulumi.Input; - /** - * Status of shard or catalog or gsm for the sharded database. - */ - status?: pulumi.Input; - /** - * Identifier of the underlying supporting resource. - */ - supportingResourceId?: pulumi.Input; - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - */ - timeCreated?: pulumi.Input; - /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - */ - timeSslCertificateExpires?: pulumi.Input; - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - */ - timeUpdated?: pulumi.Input; - } - - export interface ShardedDatabasePatchOperation { - /** - * (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - */ - operation: pulumi.Input; - /** - * (Updatable) - */ - selection: pulumi.Input; - /** - * (Updatable) - */ - value: pulumi.Input; - } - - export interface ShardedDatabaseShardDetail { - /** - * Admin password for shard database. - */ - adminPassword: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - */ - cloudAutonomousVmClusterId: pulumi.Input; - /** - * The compute count for the shard database. It has to be in multiples of 2. - */ - computeCount: pulumi.Input; - /** - * Identifier of the underlying container database. - */ - containerDatabaseId?: pulumi.Input; - /** - * Identifier of the underlying container database parent. - */ - containerDatabaseParentId?: pulumi.Input; - /** - * The data disk group size to be allocated in GBs for the shard database. - */ - dataStorageSizeInGbs: pulumi.Input; - /** - * Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - */ - encryptionKeyDetails?: pulumi.Input; - /** - * Determines the auto-scaling mode for the shard database. - */ - isAutoScalingEnabled: pulumi.Input; - /** - * Additional metadata related to shard's underlying supporting resource. - */ - metadata?: pulumi.Input<{[key: string]: pulumi.Input}>; - /** - * Name of the shard. - */ - name?: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - */ - peerCloudAutonomousVmClusterId?: pulumi.Input; - /** - * Name of the shard-group to which the shard belongs. - */ - shardGroup?: pulumi.Input; - /** - * The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - */ - shardSpace?: pulumi.Input; - /** - * Status of shard or catalog or gsm for the sharded database. - */ - status?: pulumi.Input; - /** - * Identifier of the underlying supporting resource. - */ - supportingResourceId?: pulumi.Input; - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string - */ - timeCreated?: pulumi.Input; - /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - */ - timeSslCertificateExpires?: pulumi.Input; - /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string - */ - timeUpdated?: pulumi.Input; - } - - export interface ShardedDatabaseShardDetailEncryptionKeyDetails { - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - */ - kmsKeyId: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - */ - kmsKeyVersionId?: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - */ - vaultId: pulumi.Input; - } -} - export namespace GoldenGate { export interface ConnectionAdditionalAttribute { /** @@ -63736,7 +63872,7 @@ export namespace Kms { export interface KeyAutoKeyRotationDetails { /** - * (Updatable) The last execution status message. + * (Updatable) The last execution status message of auto key rotation. */ lastRotationMessage?: pulumi.Input; /** @@ -63744,19 +63880,19 @@ export namespace Kms { */ lastRotationStatus?: pulumi.Input; /** - * (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. */ rotationIntervalInDays?: pulumi.Input; /** - * (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. */ timeOfLastRotation?: pulumi.Input; /** - * (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. */ timeOfNextRotation?: pulumi.Input; /** - * (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. */ timeOfScheduleStart?: pulumi.Input; } @@ -69388,6 +69524,13 @@ export namespace Mysql { faultDomain?: pulumi.Input; } + export interface MysqlDbSystemCustomerContact { + /** + * (Updatable) The email address used by Oracle to send notifications regarding the DB System. + */ + email: pulumi.Input; + } + export interface MysqlDbSystemDataStorage { /** * The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. @@ -75145,10 +75288,6 @@ export namespace RecoveryMod { export interface ProtectedDatabaseRecoveryServiceSubnet { /** * (Updatable) The recovery service subnet OCID. - * - * - * ** IMPORTANT ** - * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ recoveryServiceSubnetId: pulumi.Input; /** @@ -79341,10 +79480,11 @@ export namespace Waf { } export interface AppFirewallPolicyActionBody { + template?: pulumi.Input; /** * (Updatable) Static response body text. */ - text: pulumi.Input; + text?: pulumi.Input; /** * (Updatable) Type of HttpResponseBody. */ diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 6d5183bf88..f57c8a98f4 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -5198,7 +5198,7 @@ export namespace Analytics { export namespace AnnouncementsService { export interface AnnouncementSubscriptionFilterGroups { /** - * 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. + * A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. */ filters: outputs.AnnouncementsService.AnnouncementSubscriptionFilterGroupsFilter[]; /** @@ -5209,7 +5209,7 @@ export namespace AnnouncementsService { export interface AnnouncementSubscriptionFilterGroupsFilter { /** - * The type of filter. + * The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. */ type: string; /** @@ -5220,7 +5220,7 @@ export namespace AnnouncementsService { export interface AnnouncementSubscriptionsFilterGroupFilter { /** - * (Updatable) The type of filter. + * (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. */ type: string; /** @@ -5231,7 +5231,7 @@ export namespace AnnouncementsService { export interface GetAnnouncementSubscriptionFilterGroup { /** - * 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. + * A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. */ filters: outputs.AnnouncementsService.GetAnnouncementSubscriptionFilterGroupFilter[]; /** @@ -5242,7 +5242,7 @@ export namespace AnnouncementsService { export interface GetAnnouncementSubscriptionFilterGroupFilter { /** - * The type of filter. + * The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. */ type: string; /** @@ -5293,11 +5293,11 @@ export namespace AnnouncementsService { */ onsTopicId: string; /** - * (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + * (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. */ preferredLanguage: string; /** - * The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + * The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles */ preferredTimeZone: string; /** @@ -5320,7 +5320,7 @@ export namespace AnnouncementsService { export interface GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroup { /** - * 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. + * A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. */ filters: outputs.AnnouncementsService.GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter[]; /** @@ -5331,7 +5331,7 @@ export namespace AnnouncementsService { export interface GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilter { /** - * The type of filter. + * The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. */ type: string; /** @@ -5349,6 +5349,64 @@ export namespace AnnouncementsService { values: string[]; } + export interface GetServicesFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetServicesServicesCollection { + items: outputs.AnnouncementsService.GetServicesServicesCollectionItem[]; + } + + export interface GetServicesServicesCollectionItem { + /** + * Filter by comms manager name + */ + commsManagerName: string; + /** + * The list of realms where this service is not available to be used. + */ + excludedRealms: string[]; + /** + * ID of the service object. + */ + id: string; + /** + * A filter to return only services underlying a specific platform. + */ + platformType: string; + /** + * The list of previously used names for this service object. + */ + previousServiceNames: string[]; + /** + * Name of the service represented by this object. + */ + serviceName: string; + /** + * Short name of the team to whom this service object is related. + */ + shortName: string; + /** + * Current state of the service object. + */ + state: string; + /** + * Team name to which this service object is related. + */ + teamName: string; + /** + * The date and time when the service object was created. + */ + timeCreated: string; + /** + * The date and time when the service object was updated. + */ + timeUpdated: string; + type: string; + } + } export namespace ApiGateway { @@ -17765,22 +17823,10 @@ export namespace BigDataService { * The total number of OCPUs available to the node. */ ocpus: number; - /** - * Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - */ - odhVersion: string; - /** - * BDS-assigned Operating System version for the node. - */ - osVersion: string; /** * Shape of the node */ shape: string; - /** - * The fingerprint of the SSH key used for node access - */ - sshFingerprint: string; } export interface BdsInstanceCloudSqlDetailKerberosDetail { @@ -18759,22 +18805,10 @@ export namespace BigDataService { * The total number of OCPUs available to the node. */ ocpus: number; - /** - * Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - */ - odhVersion: string; - /** - * BDS-assigned Operating System version for the node. - */ - osVersion: string; /** * Shape of the node. */ shape: string; - /** - * The fingerprint of the SSH key used for node access. - */ - sshFingerprint: string; } export interface GetBdsInstanceCloudSqlDetailKerberosDetail { @@ -19304,7 +19338,6 @@ export namespace BigDataService { } export interface GetBdsInstancesBdsInstance { - addKafkaTrigger: number; /** * pre-authenticated URL of the bootstrap script in Object Store that can be downloaded and executed. */ @@ -19345,7 +19378,6 @@ export namespace BigDataService { */ displayName: string; edgeNodes: outputs.BigDataService.GetBdsInstancesBdsInstanceEdgeNode[]; - executeBootstrapScriptTrigger: number; /** * Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. For example, `{"bar-key": "value"}` */ @@ -19396,7 +19428,6 @@ export namespace BigDataService { */ numberOfNodesRequiringMaintenanceReboot: number; osPatchVersion: string; - removeKafkaTrigger: number; /** * The state of the cluster. */ @@ -19442,22 +19473,10 @@ export namespace BigDataService { * The total number of OCPUs available to the node. */ ocpus: number; - /** - * Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - */ - odhVersion: string; - /** - * BDS-assigned Operating System version for the node. - */ - osVersion: string; /** * Shape of the node. */ shape: string; - /** - * The fingerprint of the SSH key used for node access. - */ - sshFingerprint: string; } export interface GetBdsInstancesBdsInstanceCloudSqlDetailKerberosDetail { @@ -65563,9 +65582,21 @@ export namespace DataSafe { } export interface DatabaseSecurityConfigManagementSqlFirewallConfig { + /** + * (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + */ excludeJob: string; + /** + * (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + */ status: string; + /** + * The most recent time when the firewall status is updated, in the format defined by RFC3339. + */ timeStatusUpdated: string; + /** + * (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + */ violationLogAutoPurge: string; } @@ -79427,6 +79458,10 @@ export namespace Database { } export interface AutonomousDatabaseLocalStandbyDb { + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + availabilityDomain: string; /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. */ @@ -79556,6 +79591,10 @@ export namespace Database { } export interface AutonomousDatabaseStandbyDb { + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + availabilityDomain: string; /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. */ @@ -82927,6 +82966,10 @@ export namespace Database { } export interface GetAutonomousDatabaseLocalStandbyDb { + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + availabilityDomain: string; /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. */ @@ -83157,6 +83200,10 @@ export namespace Database { } export interface GetAutonomousDatabaseStandbyDb { + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + availabilityDomain: string; /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. */ @@ -83210,11 +83257,18 @@ export namespace Database { */ autonomousContainerDatabaseId: string; autonomousDatabaseBackupId: string; + /** + * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ autonomousDatabaseId: string; /** * The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle */ autonomousMaintenanceScheduleType: string; + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + availabilityDomain: string; /** * List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. */ @@ -83238,7 +83292,7 @@ export namespace Database { */ clusterPlacementGroupId: string; /** - * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** @@ -83298,11 +83352,15 @@ export namespace Database { */ dbToolsDetails: outputs.Database.GetAutonomousDatabasesAutonomousDatabaseDbToolsDetail[]; /** - * A filter to return only autonomous database resources that match the specified dbVersion. + * A valid Oracle Database version for Autonomous Database. */ dbVersion: string; /** - * A filter to return only autonomous database resources that match the specified workload type. + * The Autonomous Database workload type. The following values are valid: + * * OLTP - indicates an Autonomous Transaction Processing database + * * DW - indicates an Autonomous Data Warehouse database + * * AJD - indicates an Autonomous JSON Database + * * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. */ dbWorkload: string; /** @@ -83318,7 +83376,7 @@ export namespace Database { */ disasterRecoveryType: string; /** - * A filter to return only resources that match the entire display name given. The match is not case sensitive. + * The user-friendly name for the Autonomous Database. The name does not have to be unique. */ displayName: string; /** @@ -83342,7 +83400,7 @@ export namespace Database { */ inMemoryPercentage: number; /** - * A filter to return only resources that match the given Infrastructure Type. + * The infrastructure type this resource belongs to. */ infrastructureType: string; /** @@ -83358,7 +83416,7 @@ export namespace Database { */ isAutoScalingForStorageEnabled: boolean; /** - * A filter to return only resources that have Data Guard enabled. + * **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. */ isDataGuardEnabled: boolean; /** @@ -83370,7 +83428,7 @@ export namespace Database { */ isDevTier: boolean; /** - * 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. + * 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: boolean; /** @@ -83391,7 +83449,7 @@ export namespace Database { */ isReconnectCloneEnabled: boolean; /** - * 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. + * Indicates if the Autonomous Database is a refreshable clone. */ isRefreshableClone: boolean; /** @@ -83459,7 +83517,7 @@ export namespace Database { */ maxCpuCoreCount: number; /** - * The amount of memory (in GBs) enabled per OCPU or ECPU. + * The amount of memory (in GBs) enabled per ECPU or OCPU. */ memoryPerOracleComputeUnitInGbs: number; /** @@ -83537,7 +83595,7 @@ 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. + * The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ resourcePoolLeaderId: string; /** @@ -83574,7 +83632,7 @@ export namespace Database { */ standbyWhitelistedIps: string[]; /** - * A filter to return only resources that match the given lifecycle state exactly. + * The current state of the Autonomous Database. */ state: string; /** @@ -83583,6 +83641,7 @@ export namespace Database { subnetId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + * 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 the backup subnet. */ subscriptionId: string; /** @@ -83738,16 +83797,13 @@ export namespace Database { */ consumerGroup: string; /** - * A filter to return only resources that match the entire display name given. The match is not case sensitive. + * The user-friendly name for the Autonomous Database. The name does not have to be unique. */ displayName: string; /** * Host format used in connection string. */ hostFormat: string; - /** - * True for a regional connection string, applicable to cross-region DG only. - */ isRegional: boolean; /** * Protocol used by the connection. @@ -83758,7 +83814,7 @@ export namespace Database { */ sessionMode: string; /** - * Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Database Serverless instances always use the long format. + * Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. */ syntaxFormat: string; /** @@ -83852,6 +83908,10 @@ export namespace Database { } export interface GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb { + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + availabilityDomain: string; /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. */ @@ -83861,7 +83921,7 @@ export namespace Database { */ lifecycleDetails: string; /** - * A filter to return only resources that match the given lifecycle state exactly. + * The current state of the Autonomous Database. */ state: string; /** @@ -83975,6 +84035,10 @@ export namespace Database { } export interface GetAutonomousDatabasesAutonomousDatabaseStandbyDb { + /** + * The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + */ + availabilityDomain: string; /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. */ @@ -83984,7 +84048,7 @@ export namespace Database { */ lifecycleDetails: string; /** - * A filter to return only resources that match the given lifecycle state exactly. + * The current state of the Autonomous Database. */ state: string; /** @@ -84027,9 +84091,10 @@ export namespace Database { */ autonomousContainerDatabaseId: string; /** - * The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle + * The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle* `availabilityDomain` - The availability domain where the Autonomous Database Serverless instance is located. */ autonomousMaintenanceScheduleType: string; + availabilityDomain: string; /** * List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. */ @@ -84252,7 +84317,7 @@ export namespace Database { */ localDisasterRecoveryType: string; /** - * Autonomous Data Guard standby database details. + * Autonomous Data Guard standby database details.* `availabilityDomain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. */ localStandbyDbs: outputs.Database.GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb[]; /** @@ -84357,7 +84422,7 @@ export namespace Database { */ sourceId: string; /** - * **Deprecated** Autonomous Data Guard standby database details. + * **Deprecated** Autonomous Data Guard standby database details.* `availabilityDomain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. */ standbyDbs: outputs.Database.GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb[]; /** @@ -84636,6 +84701,7 @@ export namespace Database { } export interface GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb { + availabilityDomain: string; /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. */ @@ -84762,6 +84828,7 @@ export namespace Database { } export interface GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb { + availabilityDomain: string; /** * The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. */ @@ -87390,6 +87457,7 @@ export namespace Database { dbSystemFreeformTags: {[key: string]: string}; deleteStandbyDbHomeOnDelete: string; displayName: string; + domain: string; faultDomains: string[]; hostname: string; /** @@ -93602,6 +93670,104 @@ export namespace Database { } export namespace DatabaseManagement { + export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails { + /** + * The connector details required to connect to an Oracle cloud database. + */ + connectorDetails?: outputs.DatabaseManagement.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails; + /** + * The connection details required to connect to the database. + */ + databaseConnectionDetails?: outputs.DatabaseManagement.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails; + /** + * The name of the Database Management feature. + */ + feature: string; + } + + export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails { + /** + * The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + * * DIRECT: Direct connection + */ + connectorType?: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + */ + databaseConnectorId?: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + */ + managementAgentId?: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + */ + privateEndPointId?: string; + } + + export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails { + /** + * The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + */ + connectionCredentials?: outputs.DatabaseManagement.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials; + /** + * The details of the Oracle Database connection string. + */ + connectionString?: outputs.DatabaseManagement.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString; + } + + export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials { + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + * + * For example: inventorydb.abc112233445566778899 + */ + credentialName?: string; + /** + * The type of credential used to connect to the database. + */ + credentialType?: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + */ + passwordSecretId?: string; + /** + * The role of the user connecting to the database. + */ + role?: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + */ + sslSecretId?: string; + /** + * The user name used to connect to the database. + */ + userName?: string; + } + + export interface AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString { + /** + * The list of supported connection types: + * * BASIC: Basic connection details + */ + connectionType?: string; + /** + * The port number used to connect to the database. + */ + port?: number; + /** + * The protocol used to connect to the database. + */ + protocol?: string; + /** + * The service name of the database. + */ + service?: string; + } + export interface DatabaseDbmFeaturesManagementFeatureDetails { /** * The connector details required to connect to an Oracle cloud database. @@ -93631,6 +93797,7 @@ export namespace DatabaseManagement { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection */ connectorType?: string; /** @@ -93669,6 +93836,10 @@ export namespace DatabaseManagement { * The type of credential used to connect to the database. */ credentialType?: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. */ @@ -93819,6 +93990,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -94195,6 +94370,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -94322,6 +94501,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -94506,6 +94689,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -95130,6 +95317,7 @@ export namespace DatabaseManagement { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection */ connectorType: string; /** @@ -95167,6 +95355,7 @@ export namespace DatabaseManagement { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection */ connectorType: string; /** @@ -95200,6 +95389,7 @@ export namespace DatabaseManagement { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection */ connectorType: string; /** @@ -95299,6 +95489,10 @@ export namespace DatabaseManagement { * The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. */ isCluster: boolean; + /** + * The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + */ + isDnsResolutionEnabled: boolean; /** * A filter to return only resources that match the entire name. */ @@ -95991,6 +96185,10 @@ export namespace DatabaseManagement { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; + /** + * The operating system of database. + */ + databasePlatformName: string; /** * The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. */ @@ -95999,6 +96197,10 @@ export namespace DatabaseManagement { * The type of Oracle Database installation. */ databaseType: string; + /** + * The Oracle database version. + */ + databaseVersion: string; /** * The configuration of the Database Management service. */ @@ -96011,6 +96213,10 @@ export namespace DatabaseManagement { * The `DB_UNIQUE_NAME` of the external database. */ dbUniqueName: string; + /** + * The list of feature configurations + */ + dbmgmtFeatureConfigs: outputs.DatabaseManagement.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig[]; /** * 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"}` */ @@ -96102,6 +96308,113 @@ export namespace DatabaseManagement { id: string; } + export interface GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfig { + /** + * The connector details required to connect to an Oracle cloud database. + */ + connectorDetails: outputs.DatabaseManagement.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail[]; + /** + * The connection details required to connect to the database. + */ + databaseConnectionDetails: outputs.DatabaseManagement.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail[]; + /** + * The name of the Database Management feature. + */ + feature: string; + /** + * The list of statuses for Database Management features. + */ + featureStatus: string; + /** + * The Oracle license model that applies to the external database. + */ + licenseModel: string; + } + + export interface GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail { + /** + * The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + */ + connectorType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + */ + databaseConnectorId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + */ + managementAgentId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + */ + privateEndPointId: string; + } + + export interface GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail { + /** + * The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + */ + connectionCredentials: outputs.DatabaseManagement.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential[]; + /** + * The details of the Oracle Database connection string. + */ + connectionStrings: outputs.DatabaseManagement.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString[]; + } + + export interface GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + */ + credentialName: string; + /** + * The type of credential used to connect to the database. + */ + credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + */ + namedCredentialId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + */ + passwordSecretId: string; + /** + * The role of the user connecting to the database. + */ + role: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + */ + sslSecretId: string; + /** + * The user name used to connect to the database. + */ + userName: string; + } + + export interface GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + /** + * The list of supported connection types: + * * BASIC: Basic connection details + */ + connectionType: string; + /** + * The port number used to connect to the database. + */ + port: number; + /** + * The protocol used to connect to the database. + */ + protocol: string; + /** + * The service name of the database. + */ + service: string; + } + export interface GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetail { /** * The name of the host machine. @@ -96303,52 +96616,6 @@ export namespace DatabaseManagement { * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. */ credentialName: string; - /** - * The type of the credential for tablespace administration tasks. - */ - credentialType: string; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. - */ - passwordSecretId: string; - /** - * The role of the database user. - */ - role: string; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. - */ - sslSecretId: string; - /** - * The user name used to connect to the ASM instance. - */ - userName: string; - } - - export interface GetExternalDbSystemConnectorConnectionInfoConnectionString { - /** - * The host name of the database or the SCAN name in case of a RAC database. - */ - hostName: string; - /** - * The list of host names of the ASM instances. - */ - hosts: string[]; - /** - * The port used to connect to the ASM instance. - */ - port: number; - /** - * The protocol used to connect to the ASM instance. - */ - protocol: string; - /** - * The service name of the ASM instance. - */ - service: string; - } - - export interface GetExternalDbSystemConnectorConnectionInfoDatabaseCredential { /** * The type of the credential for tablespace administration tasks. */ @@ -96357,127 +96624,6 @@ export namespace DatabaseManagement { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. */ namedCredentialId: string; - /** - * The database user's password encoded using BASE64 scheme. - */ - password: string; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. - */ - passwordSecretId: string; - /** - * The role of the database user. - */ - role: string; - /** - * The user to connect to the database. - */ - username: string; - } - - export interface GetExternalDbSystemConnectorsExternalDbSystemConnectorCollection { - items: outputs.DatabaseManagement.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItem[]; - } - - export interface GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItem { - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used for the external DB system connector. - */ - agentId: string; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - */ - compartmentId: string; - /** - * The error message indicating the reason for connection failure or `null` if the connection was successful. - */ - connectionFailureMessage: string; - /** - * The connection details required to connect to an external DB system component. - */ - connectionInfos: outputs.DatabaseManagement.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfo[]; - /** - * The status of connectivity to the external DB system component. - */ - connectionStatus: string; - /** - * The type of connector. - */ - connectorType: string; - /** - * 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: {[key: string]: string}; - /** - * A filter to only return the resources that match the entire display name. - */ - displayName: string; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. - */ - externalDbSystemId: string; - /** - * 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: {[key: string]: string}; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system connector. - */ - id: string; - /** - * Additional information about the current lifecycle state. - */ - lifecycleDetails: string; - /** - * The current lifecycle state of the external DB system connector. - */ - state: string; - /** - * 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"}` - */ - systemTags: {[key: string]: string}; - /** - * The date and time the connectionStatus of the external DB system connector was last updated. - */ - timeConnectionStatusLastUpdated: string; - /** - * The date and time the external DB system connector was created. - */ - timeCreated: string; - /** - * The date and time the external DB system connector was last updated. - */ - timeUpdated: string; - } - - export interface GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfo { - /** - * The component type. - */ - componentType: string; - /** - * The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. - */ - connectionCredentials: outputs.DatabaseManagement.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential[]; - /** - * The Oracle Database connection string. - */ - connectionStrings: outputs.DatabaseManagement.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionString[]; - /** - * The credential to connect to the database to perform tablespace administration tasks. - */ - databaseCredentials: outputs.DatabaseManagement.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoDatabaseCredential[]; - } - - export interface GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential { - /** - * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. - */ - credentialName: string; - /** - * The type of the credential for tablespace administration tasks. - */ - credentialType: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -96496,7 +96642,182 @@ export namespace DatabaseManagement { userName: string; } - export interface GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionString { + export interface GetExternalDbSystemConnectorConnectionInfoConnectionString { + /** + * The host name of the database or the SCAN name in case of a RAC database. + */ + hostName: string; + /** + * The list of host names of the ASM instances. + */ + hosts: string[]; + /** + * The port used to connect to the ASM instance. + */ + port: number; + /** + * The protocol used to connect to the ASM instance. + */ + protocol: string; + /** + * The service name of the ASM instance. + */ + service: string; + } + + export interface GetExternalDbSystemConnectorConnectionInfoDatabaseCredential { + /** + * The type of the credential for tablespace administration tasks. + */ + credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; + /** + * The database user's password encoded using BASE64 scheme. + */ + password: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. + */ + passwordSecretId: string; + /** + * The role of the database user. + */ + role: string; + /** + * The user to connect to the database. + */ + username: string; + } + + export interface GetExternalDbSystemConnectorsExternalDbSystemConnectorCollection { + items: outputs.DatabaseManagement.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItem[]; + } + + export interface GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItem { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used for the external DB system connector. + */ + agentId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + /** + * The error message indicating the reason for connection failure or `null` if the connection was successful. + */ + connectionFailureMessage: string; + /** + * The connection details required to connect to an external DB system component. + */ + connectionInfos: outputs.DatabaseManagement.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfo[]; + /** + * The status of connectivity to the external DB system component. + */ + connectionStatus: string; + /** + * The type of connector. + */ + connectorType: string; + /** + * 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: {[key: string]: string}; + /** + * A filter to only return the resources that match the entire display name. + */ + displayName: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. + */ + externalDbSystemId: string; + /** + * 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: {[key: string]: string}; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system connector. + */ + id: string; + /** + * Additional information about the current lifecycle state. + */ + lifecycleDetails: string; + /** + * The current lifecycle state of the external DB system connector. + */ + state: string; + /** + * 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"}` + */ + systemTags: {[key: string]: string}; + /** + * The date and time the connectionStatus of the external DB system connector was last updated. + */ + timeConnectionStatusLastUpdated: string; + /** + * The date and time the external DB system connector was created. + */ + timeCreated: string; + /** + * The date and time the external DB system connector was last updated. + */ + timeUpdated: string; + } + + export interface GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfo { + /** + * The component type. + */ + componentType: string; + /** + * The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + */ + connectionCredentials: outputs.DatabaseManagement.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential[]; + /** + * The Oracle Database connection string. + */ + connectionStrings: outputs.DatabaseManagement.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionString[]; + /** + * The credential to connect to the database to perform tablespace administration tasks. + */ + databaseCredentials: outputs.DatabaseManagement.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoDatabaseCredential[]; + } + + export interface GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredential { + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + */ + credentialName: string; + /** + * The type of the credential for tablespace administration tasks. + */ + credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. + */ + passwordSecretId: string; + /** + * The role of the database user. + */ + role: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + */ + sslSecretId: string; + /** + * The user name used to connect to the ASM instance. + */ + userName: string; + } + + export interface GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionString { /** * The host name of the database or the SCAN name in case of a RAC database. */ @@ -96925,6 +97246,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -97052,6 +97377,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -97236,6 +97565,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -97754,6 +98087,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -97881,6 +98218,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -98065,6 +98406,10 @@ export namespace DatabaseManagement { * The type of the credential for tablespace administration tasks. */ credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. */ @@ -99702,6 +100047,113 @@ export namespace DatabaseManagement { values: string[]; } + export interface GetManagedDatabaseDbmgmtFeatureConfig { + /** + * The connector details required to connect to an Oracle cloud database. + */ + connectorDetails: outputs.DatabaseManagement.GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail[]; + /** + * The connection details required to connect to the database. + */ + databaseConnectionDetails: outputs.DatabaseManagement.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail[]; + /** + * The name of the Database Management feature. + */ + feature: string; + /** + * The list of statuses for Database Management features. + */ + featureStatus: string; + /** + * The Oracle license model that applies to the external database. + */ + licenseModel: string; + } + + export interface GetManagedDatabaseDbmgmtFeatureConfigConnectorDetail { + /** + * The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + */ + connectorType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + */ + databaseConnectorId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + */ + managementAgentId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + */ + privateEndPointId: string; + } + + export interface GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail { + /** + * The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + */ + connectionCredentials: outputs.DatabaseManagement.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential[]; + /** + * The details of the Oracle Database connection string. + */ + connectionStrings: outputs.DatabaseManagement.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString[]; + } + + export interface GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + */ + credentialName: string; + /** + * The type of credential used to connect to the database. + */ + credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + */ + namedCredentialId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + */ + passwordSecretId: string; + /** + * The role of the user connecting to the database. + */ + role: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + */ + sslSecretId: string; + /** + * The user name used to connect to the database. + */ + userName: string; + } + + export interface GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + /** + * The list of supported connection types: + * * BASIC: Basic connection details + */ + connectionType: string; + /** + * The port number used to connect to the database. + */ + port: number; + /** + * The protocol used to connect to the database. + */ + protocol: string; + /** + * The service name of the database. + */ + service: string; + } + export interface GetManagedDatabaseGroupManagedDatabase { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database resides. @@ -102105,6 +102557,10 @@ export namespace DatabaseManagement { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; + /** + * The operating system of database. + */ + databasePlatformName: string; /** * The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. */ @@ -102125,6 +102581,10 @@ export namespace DatabaseManagement { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. */ dbSystemId: string; + /** + * The list of feature configurations + */ + dbmgmtFeatureConfigs: outputs.DatabaseManagement.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig[]; /** * 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"}` */ @@ -102165,6 +102625,10 @@ export namespace DatabaseManagement { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system. */ storageSystemId: string; + /** + * 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"}` + */ + systemTags: {[key: string]: string}; /** * The date and time the Managed Database was created. */ @@ -102175,6 +102639,113 @@ export namespace DatabaseManagement { workloadType: string; } + export interface GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfig { + /** + * The connector details required to connect to an Oracle cloud database. + */ + connectorDetails: outputs.DatabaseManagement.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail[]; + /** + * The connection details required to connect to the database. + */ + databaseConnectionDetails: outputs.DatabaseManagement.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail[]; + /** + * The name of the Database Management feature. + */ + feature: string; + /** + * The list of statuses for Database Management features. + */ + featureStatus: string; + /** + * The Oracle license model that applies to the external database. + */ + licenseModel: string; + } + + export interface GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetail { + /** + * The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + */ + connectorType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + */ + databaseConnectorId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + */ + managementAgentId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + */ + privateEndPointId: string; + } + + export interface GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetail { + /** + * The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + */ + connectionCredentials: outputs.DatabaseManagement.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential[]; + /** + * The details of the Oracle Database connection string. + */ + connectionStrings: outputs.DatabaseManagement.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString[]; + } + + export interface GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + */ + credentialName: string; + /** + * The type of credential used to connect to the database. + */ + credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + */ + namedCredentialId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + */ + passwordSecretId: string; + /** + * The role of the user connecting to the database. + */ + role: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + */ + sslSecretId: string; + /** + * The user name used to connect to the database. + */ + userName: string; + } + + export interface GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + /** + * The list of supported connection types: + * * BASIC: Basic connection details + */ + connectionType: string; + /** + * The port number used to connect to the database. + */ + port: number; + /** + * The protocol used to connect to the database. + */ + protocol: string; + /** + * The service name of the database. + */ + service: string; + } + export interface GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroup { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. @@ -102753,6 +103324,113 @@ export namespace DatabaseManagement { userName: string; } + export interface ManagedDatabaseDbmgmtFeatureConfig { + /** + * The connector details required to connect to an Oracle cloud database. + */ + connectorDetails: outputs.DatabaseManagement.ManagedDatabaseDbmgmtFeatureConfigConnectorDetail[]; + /** + * The connection details required to connect to the database. + */ + databaseConnectionDetails: outputs.DatabaseManagement.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail[]; + /** + * The name of the Database Management feature. + */ + feature: string; + /** + * The list of statuses for Database Management features. + */ + featureStatus: string; + /** + * The Oracle license model that applies to the external database. + */ + licenseModel: string; + } + + export interface ManagedDatabaseDbmgmtFeatureConfigConnectorDetail { + /** + * The list of supported connection types: + * * PE: Private endpoint + * * MACS: Management agent + * * EXTERNAL: External database connector + */ + connectorType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + */ + databaseConnectorId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + */ + managementAgentId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + */ + privateEndPointId: string; + } + + export interface ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail { + /** + * The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + */ + connectionCredentials: outputs.DatabaseManagement.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential[]; + /** + * The details of the Oracle Database connection string. + */ + connectionStrings: outputs.DatabaseManagement.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString[]; + } + + export interface ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential { + /** + * The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + */ + credentialName: string; + /** + * The type of credential used to connect to the database. + */ + credentialType: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + */ + namedCredentialId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + */ + passwordSecretId: string; + /** + * The role of the user connecting to the database. + */ + role: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + */ + sslSecretId: string; + /** + * The user name used to connect to the database. + */ + userName: string; + } + + export interface ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString { + /** + * The list of supported connection types: + * * BASIC: Basic connection details + */ + connectionType: string; + /** + * The port number used to connect to the database. + */ + port: number; + /** + * The protocol used to connect to the database. + */ + protocol: string; + /** + * The service name of the database. + */ + service: string; + } + export interface ManagedDatabaseGroupManagedDatabase { /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. @@ -102978,6 +103656,7 @@ export namespace DatabaseManagement { * * PE: Private endpoint * * MACS: Management agent * * EXTERNAL: External database connector + * * DIRECT: Direct connection */ connectorType?: string; /** @@ -103016,6 +103695,10 @@ export namespace DatabaseManagement { * The type of credential used to connect to the database. */ credentialType?: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + */ + namedCredentialId: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. */ @@ -105336,6 +106019,584 @@ export namespace DatabaseTools { } +export namespace DelegateAccessControl { + export interface GetDelegatedResourceAccessRequestApprovalInfo { + /** + * Indicated whether the request is approved or rejected. + */ + approvalAction: string; + /** + * approval type, initial or extension + */ + approvalType: string; + /** + * Additional message specified by the approver of the request. + */ + approverAdditionalMessage: string; + /** + * Comment specified by the approver of the request. + */ + approverComment: string; + /** + * User ID of the approver. + */ + approverId: string; + /** + * Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + */ + timeApprovedForAccess: string; + } + + export interface GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollection { + /** + * List of DelegatedResourceAccessRequestHistorySummary objects. + */ + items: outputs.DelegateAccessControl.GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem[]; + } + + export interface GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItem { + /** + * Comment about the status change. + */ + comment: string; + /** + * The current status of the Delegated Resource Access Request. + */ + requestStatus: string; + /** + * The current lifecycle state of the Delegated Resource Access Request. + */ + state: string; + /** + * Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + */ + timestamp: string; + /** + * ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator". + */ + userId: string; + } + + export interface GetDelegatedResourceAccessRequestHistoriesFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollection { + items: outputs.DelegateAccessControl.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem[]; + } + + export interface GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItem { + /** + * In case of single approval, this will have only one item. Else, a list of approvals. + */ + approvalInfos: outputs.DelegateAccessControl.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo[]; + /** + * Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + */ + auditTypes: string[]; + /** + * The comment entered by the support operator while closing the request. + */ + closureComment: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + /** + * List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + */ + databaseNameLists: string[]; + /** + * 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: {[key: string]: string}; + /** + * unique Delegation Control identifier + */ + delegationControlId: string; + /** + * List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + */ + delegationSubscriptionIds: string[]; + /** + * Detailed description of this Delegated Resource Access Request. + */ + description: string; + /** + * Display name. This is generated by the system automatically. + */ + displayName: string; + /** + * Duration in hours for which access is sought on the target resource. + */ + durationInHours: number; + /** + * Duration in hours for which extension access is sought on the target resource. + */ + extendDurationInHours: number; + /** + * 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: {[key: string]: string}; + /** + * The OCID of the Delegated Resource Access Request. + */ + id: string; + /** + * Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + */ + isAutoApproved: boolean; + /** + * Indicates if the delegated resource access request is waiting on more information from the operator + */ + isPendingMoreInfo: boolean; + /** + * Description of the current lifecycle state in more detail. + */ + lifecycleStateDetails: string; + /** + * Number of extension approvals that have been obtained so far. + */ + numExtensionApprovals: number; + /** + * Number of initial approvals that have been obtained so far. + */ + numInitialApprovals: number; + /** + * List of Service Provider Service Types being provided by the support operator user. + */ + providedServiceTypes: string[]; + /** + * A short description explaining why this Delegated Resource Access Request is needed by the support operator. + */ + reasonForRequest: string; + /** + * A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + */ + requestStatus: string; + /** + * List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + */ + requestedActionNames: string[]; + /** + * Requester type + */ + requesterType: string; + /** + * A filter to return only Delegated Resource Access Requests for the given resource identifier. + */ + resourceId: string; + /** + * The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + */ + resourceName: string; + /** + * Resource type for which the associated Delegation Control is applicable to. + */ + resourceType: string; + /** + * Priority assigned to the Delegated Resource Access Request by the support operator + */ + severity: string; + /** + * A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request 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]: string}; + /** + * A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + */ + ticketNumbers: string[]; + /** + * Requested access start time in UTC. + */ + timeAccessRequested: string; + /** + * Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + */ + timeCreated: string; + /** + * Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + */ + timeUpdated: string; + } + + export interface GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfo { + /** + * Indicated whether the request is approved or rejected. + */ + approvalAction: string; + /** + * approval type, initial or extension + */ + approvalType: string; + /** + * Additional message specified by the approver of the request. + */ + approverAdditionalMessage: string; + /** + * Comment specified by the approver of the request. + */ + approverComment: string; + /** + * User ID of the approver. + */ + approverId: string; + /** + * Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + */ + timeApprovedForAccess: string; + } + + export interface GetDelegatedResourceAccessRequestsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDelegationControlResourcesDelegationControlResourceCollection { + /** + * List of DelegationControlResourceSummary objects. + */ + items: outputs.DelegateAccessControl.GetDelegationControlResourcesDelegationControlResourceCollectionItem[]; + } + + export interface GetDelegationControlResourcesDelegationControlResourceCollectionItem { + /** + * OCID of the resource. + */ + id: string; + /** + * The current status of the resource in Delegation Control. + */ + resourceStatus: string; + } + + export interface GetDelegationControlResourcesFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDelegationControlsDelegationControlSummaryCollection { + items: outputs.DelegateAccessControl.GetDelegationControlsDelegationControlSummaryCollectionItem[]; + } + + export interface GetDelegationControlsDelegationControlSummaryCollectionItem { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + /** + * 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: {[key: string]: string}; + /** + * List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + */ + delegationSubscriptionIds: string[]; + /** + * Description of the Delegation Control. + */ + description: string; + /** + * A filter to return Delegation Control resources that match the given display name. + */ + displayName: string; + /** + * 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: {[key: string]: string}; + /** + * The OCID of the Delegation Control. + */ + id: string; + /** + * Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + */ + isAutoApproveDuringMaintenance: boolean; + /** + * Description of the current lifecycle state in more detail. + */ + lifecycleStateDetails: string; + /** + * The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + */ + notificationMessageFormat: string; + /** + * The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + */ + notificationTopicId: string; + /** + * number of approvals required. + */ + numApprovalsRequired: number; + /** + * List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + */ + preApprovedServiceProviderActionNames: string[]; + /** + * The OCID of the selected resources that this Delegation Control is applicable to. + */ + resourceIds: string[]; + /** + * A filter to return only resources that match the given resource type. + */ + resourceType: string; + /** + * A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + */ + 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]: string}; + /** + * Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + timeCreated: string; + /** + * Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + */ + timeDeleted: string; + /** + * Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + timeUpdated: string; + /** + * The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + */ + vaultId: string; + /** + * The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + */ + vaultKeyId: string; + } + + export interface GetDelegationControlsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDelegationSubscriptionsDelegationSubscriptionSummaryCollection { + items: outputs.DelegateAccessControl.GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem[]; + } + + export interface GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItem { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + /** + * 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: {[key: string]: string}; + /** + * Description of the Delegation Subscription. + */ + description: string; + /** + * A filter to return Delegation Subscription resources that match the given display name. + */ + displayName: string; + /** + * 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: {[key: string]: string}; + /** + * Unique identifier for the Delegation Subscription. + */ + id: string; + /** + * Description of the current lifecycle state in more detail. + */ + lifecycleStateDetails: string; + /** + * Unique identifier of the Service Provider. + */ + serviceProviderId: string; + /** + * A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + */ + state: string; + /** + * Subscribed Service Provider Service Type. + */ + subscribedServiceType: 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]: string}; + /** + * Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + timeCreated: string; + /** + * Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + timeUpdated: string; + } + + export interface GetDelegationSubscriptionsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetServiceProviderActionProperty { + /** + * Name of the property + */ + name: string; + /** + * value of the property + */ + value: string; + } + + export interface GetServiceProviderActionsFilter { + /** + * A filter to return only resources that match the entire name given. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetServiceProviderActionsServiceProviderActionSummaryCollection { + items: outputs.DelegateAccessControl.GetServiceProviderActionsServiceProviderActionSummaryCollectionItem[]; + } + + export interface GetServiceProviderActionsServiceProviderActionSummaryCollectionItem { + /** + * Name of the infrastructure layer associated with the Service Provider Action. + */ + component: string; + /** + * Display Name of the Service Provider Action. + */ + customerDisplayName: string; + /** + * Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + */ + description: string; + /** + * Unique Oracle assigned identifier for the Service Provider Action. + */ + id: string; + /** + * A filter to return only resources that match the entire name given. + */ + name: string; + /** + * Fine grained properties associated with the Delegation Control. + */ + properties: outputs.DelegateAccessControl.GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty[]; + /** + * A filter to return only resources that match the given resource type. + */ + resourceType: string; + /** + * List of Service Provider Service Types that this Service Provider Action is applicable to. + */ + serviceProviderServiceTypes: string[]; + /** + * A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + */ + state: string; + } + + export interface GetServiceProviderActionsServiceProviderActionSummaryCollectionItemProperty { + /** + * A filter to return only resources that match the entire name given. + */ + name: string; + /** + * value of the property + */ + value: string; + } + + export interface GetServiceProvidersFilter { + /** + * A filter to return Service Provider resources that match the given name. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetServiceProvidersServiceProviderSummaryCollection { + items: outputs.DelegateAccessControl.GetServiceProvidersServiceProviderSummaryCollectionItem[]; + } + + export interface GetServiceProvidersServiceProviderSummaryCollectionItem { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + /** + * 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: {[key: string]: string}; + /** + * Description of the Service Provider. + */ + description: string; + /** + * 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: {[key: string]: string}; + /** + * Unique identifier for the Service Provider. + */ + id: string; + /** + * Description of the current lifecycle state in more detail. + */ + lifecycleStateDetails: string; + /** + * A filter to return Service Provider resources that match the given name. + */ + name: string; + /** + * A filter to return only Service Provider resources whose provider type matches the given provider type. + */ + serviceProviderType: string; + /** + * Types of services offered by this provider. + */ + serviceTypes: string[]; + /** + * A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + */ + state: string; + /** + * Resource types for which this provider will provide service. Default to all if not specified. + */ + supportedResourceTypes: 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]: string}; + /** + * Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + timeCreated: string; + /** + * Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + */ + timeUpdated: string; + } + +} + export namespace DemandSignal { export interface GetOccDemandSignalOccDemandSignal { /** @@ -105546,6 +106807,577 @@ export namespace DemandSignal { } +export namespace Desktops { + export interface DesktopPoolAvailabilityPolicy { + /** + * (Updatable) Provides the schedule information for a desktop. + */ + startSchedule: outputs.Desktops.DesktopPoolAvailabilityPolicyStartSchedule; + /** + * (Updatable) Provides the schedule information for a desktop. + */ + stopSchedule: outputs.Desktops.DesktopPoolAvailabilityPolicyStopSchedule; + } + + export interface DesktopPoolAvailabilityPolicyStartSchedule { + /** + * (Updatable) A cron expression describing the desktop's schedule. + */ + cronExpression: string; + /** + * (Updatable) The timezone of the desktop's schedule. + */ + timezone: string; + } + + export interface DesktopPoolAvailabilityPolicyStopSchedule { + /** + * (Updatable) A cron expression describing the desktop's schedule. + */ + cronExpression: string; + /** + * (Updatable) The timezone of the desktop's schedule. + */ + timezone: string; + } + + export interface DesktopPoolDevicePolicy { + /** + * (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + */ + audioMode: string; + /** + * (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + */ + cdmMode: string; + /** + * (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + */ + clipboardMode: string; + /** + * (Updatable) Indicates whether the display is enabled. + */ + isDisplayEnabled: boolean; + /** + * (Updatable) Indicates whether the keyboard is enabled. + */ + isKeyboardEnabled: boolean; + /** + * (Updatable) Indicates whether the pointer is enabled. + */ + isPointerEnabled: boolean; + /** + * (Updatable) Indicates whether printing is enabled. + */ + isPrintingEnabled: boolean; + } + + export interface DesktopPoolImage { + /** + * The OCID of the desktop image. + */ + imageId: string; + /** + * The name of the desktop image. + */ + imageName: string; + } + + export interface DesktopPoolNetworkConfiguration { + /** + * The OCID of the subnet to use for the desktop pool. + */ + subnetId: string; + /** + * The OCID of the VCN used by the desktop pool. + */ + vcnId: string; + } + + export interface GetDesktopDevicePolicy { + /** + * The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + */ + audioMode: string; + /** + * The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + */ + cdmMode: string; + /** + * The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + */ + clipboardMode: string; + /** + * Indicates whether the display is enabled. + */ + isDisplayEnabled: boolean; + /** + * Indicates whether the keyboard is enabled. + */ + isKeyboardEnabled: boolean; + /** + * Indicates whether the pointer is enabled. + */ + isPointerEnabled: boolean; + /** + * Indicates whether printing is enabled. + */ + isPrintingEnabled: boolean; + } + + export interface GetDesktopHostingOption { + /** + * The connection address of the desktop. + */ + connectAddress: string; + /** + * Provides information about the desktop image. + */ + images: outputs.Desktops.GetDesktopHostingOptionImage[]; + } + + export interface GetDesktopHostingOptionImage { + /** + * The OCID of the desktop image. + */ + imageId: string; + /** + * The name of the desktop image. + */ + imageName: string; + } + + export interface GetDesktopPoolAvailabilityPolicy { + /** + * Provides the schedule information for a desktop. + */ + startSchedules: outputs.Desktops.GetDesktopPoolAvailabilityPolicyStartSchedule[]; + /** + * Provides the schedule information for a desktop. + */ + stopSchedules: outputs.Desktops.GetDesktopPoolAvailabilityPolicyStopSchedule[]; + } + + export interface GetDesktopPoolAvailabilityPolicyStartSchedule { + /** + * A cron expression describing the desktop's schedule. + */ + cronExpression: string; + /** + * The timezone of the desktop's schedule. + */ + timezone: string; + } + + export interface GetDesktopPoolAvailabilityPolicyStopSchedule { + /** + * A cron expression describing the desktop's schedule. + */ + cronExpression: string; + /** + * The timezone of the desktop's schedule. + */ + timezone: string; + } + + export interface GetDesktopPoolDesktopsDesktopPoolDesktopCollection { + /** + * A list of desktops. + */ + items: outputs.Desktops.GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem[]; + } + + export interface GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItem { + /** + * 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: {[key: string]: string}; + /** + * The OCID of the desktop. + */ + desktopId: string; + /** + * 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: {[key: string]: string}; + /** + * The OCID of the compute resource used by this desktop. + */ + instanceId: string; + /** + * Indicates whether the desktop is assigned to a user. + */ + isAssigned: boolean; + /** + * A filter to return only results with the given lifecycleState. + */ + state: string; + /** + * The date and time the resource was created. + */ + timeCreated: string; + /** + * The owner of the desktop. + */ + userName: string; + } + + export interface GetDesktopPoolDesktopsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDesktopPoolDevicePolicy { + /** + * The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + */ + audioMode: string; + /** + * The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + */ + cdmMode: string; + /** + * The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + */ + clipboardMode: string; + /** + * Indicates whether the display is enabled. + */ + isDisplayEnabled: boolean; + /** + * Indicates whether the keyboard is enabled. + */ + isKeyboardEnabled: boolean; + /** + * Indicates whether the pointer is enabled. + */ + isPointerEnabled: boolean; + /** + * Indicates whether printing is enabled. + */ + isPrintingEnabled: boolean; + } + + export interface GetDesktopPoolImage { + /** + * The OCID of the desktop image. + */ + imageId: string; + /** + * The name of the desktop image. + */ + imageName: string; + } + + export interface GetDesktopPoolNetworkConfiguration { + /** + * The OCID of the subnet to use for the desktop pool. + */ + subnetId: string; + /** + * The OCID of the VCN used by the desktop pool. + */ + vcnId: string; + } + + export interface GetDesktopPoolVolumesDesktopPoolVolumeCollection { + /** + * A list of desktop pool volumes. + */ + items: outputs.Desktops.GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem[]; + } + + export interface GetDesktopPoolVolumesDesktopPoolVolumeCollectionItem { + /** + * The name of the availability domain. + */ + availabilityDomain: string; + /** + * 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: {[key: string]: string}; + /** + * 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: {[key: string]: string}; + /** + * A filter to return only results with the given OCID. + */ + id: string; + /** + * The name of the desktop pool volume. + */ + name: string; + /** + * The OCID of the desktop pool to which this volume belongs. + */ + poolId: string; + /** + * A filter to return only results with the given lifecycleState. + */ + state: string; + /** + * The owner of the desktop pool volume. + */ + userName: string; + } + + export interface GetDesktopPoolVolumesFilter { + /** + * The name of the desktop pool volume. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDesktopPoolsDesktopPoolCollection { + items: outputs.Desktops.GetDesktopPoolsDesktopPoolCollectionItem[]; + } + + export interface GetDesktopPoolsDesktopPoolCollectionItem { + /** + * The number of active desktops in the desktop pool. + */ + activeDesktops: number; + /** + * Indicates whether desktop pool users have administrative privileges on their desktop. + */ + arePrivilegedUsers: boolean; + /** + * The name of the availability domain. + */ + availabilityDomain: string; + /** + * Provides the start and stop schedule information for desktop availability of the desktop pool. + */ + availabilityPolicies: outputs.Desktops.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy[]; + /** + * The OCID of the compartment of the desktop pool. + */ + compartmentId: string; + /** + * Contact information of the desktop pool administrator. Avoid entering confidential information. + */ + contactDetails: string; + /** + * 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: {[key: string]: string}; + /** + * A user friendly description providing additional information about the resource. Avoid entering confidential information. + */ + description: string; + /** + * Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + */ + devicePolicies: outputs.Desktops.GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy[]; + /** + * A filter to return only results with the given displayName. + */ + displayName: string; + /** + * 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: {[key: string]: string}; + /** + * A filter to return only results with the given OCID. + */ + id: string; + /** + * Provides information about the desktop image. + */ + images: outputs.Desktops.GetDesktopPoolsDesktopPoolCollectionItemImage[]; + /** + * Indicates whether storage is enabled for the desktop pool. + */ + isStorageEnabled: boolean; + /** + * The maximum number of desktops permitted in the desktop pool. + */ + maximumSize: number; + /** + * Provides information about the network configuration of the desktop pool. + */ + networkConfigurations: outputs.Desktops.GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration[]; + /** + * A list of network security groups for the desktop pool. + */ + nsgIds: string[]; + /** + * The shape of the desktop pool. + */ + shapeName: string; + /** + * The maximum number of standby desktops available in the desktop pool. + */ + standbySize: number; + /** + * A filter to return only results with the given lifecycleState. + */ + state: string; + /** + * The backup policy OCID of the storage. + */ + storageBackupPolicyId: string; + /** + * The size in GBs of the storage for the desktop pool. + */ + storageSizeInGbs: number; + /** + * The date and time the resource was created. + */ + timeCreated: string; + /** + * The start time of the desktop pool. + */ + timeStartScheduled: string; + /** + * The stop time of the desktop pool. + */ + timeStopScheduled: string; + } + + export interface GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicy { + /** + * Provides the schedule information for a desktop. + */ + startSchedules: outputs.Desktops.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule[]; + /** + * Provides the schedule information for a desktop. + */ + stopSchedules: outputs.Desktops.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule[]; + } + + export interface GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartSchedule { + /** + * A cron expression describing the desktop's schedule. + */ + cronExpression: string; + /** + * The timezone of the desktop's schedule. + */ + timezone: string; + } + + export interface GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopSchedule { + /** + * A cron expression describing the desktop's schedule. + */ + cronExpression: string; + /** + * The timezone of the desktop's schedule. + */ + timezone: string; + } + + export interface GetDesktopPoolsDesktopPoolCollectionItemDevicePolicy { + /** + * The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + */ + audioMode: string; + /** + * The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + */ + cdmMode: string; + /** + * The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + */ + clipboardMode: string; + /** + * Indicates whether the display is enabled. + */ + isDisplayEnabled: boolean; + /** + * Indicates whether the keyboard is enabled. + */ + isKeyboardEnabled: boolean; + /** + * Indicates whether the pointer is enabled. + */ + isPointerEnabled: boolean; + /** + * Indicates whether printing is enabled. + */ + isPrintingEnabled: boolean; + } + + export interface GetDesktopPoolsDesktopPoolCollectionItemImage { + /** + * The OCID of the desktop image. + */ + imageId: string; + /** + * The name of the desktop image. + */ + imageName: string; + } + + export interface GetDesktopPoolsDesktopPoolCollectionItemNetworkConfiguration { + /** + * The OCID of the subnet to use for the desktop pool. + */ + subnetId: string; + /** + * The OCID of the VCN used by the desktop pool. + */ + vcnId: string; + } + + export interface GetDesktopPoolsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetDesktopsDesktopCollection { + items: outputs.Desktops.GetDesktopsDesktopCollectionItem[]; + } + + export interface GetDesktopsDesktopCollectionItem { + /** + * 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: {[key: string]: string}; + /** + * A filter to return only results with the given displayName. + */ + displayName: string; + /** + * 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: {[key: string]: string}; + /** + * A filter to return only results with the given OCID. + */ + id: string; + /** + * The OCID of the desktop pool the desktop is a member of. + */ + poolId: string; + /** + * A filter to return only results with the given lifecycleState. + */ + state: string; + /** + * The date and time the resource was created. + */ + timeCreated: string; + /** + * The owner of the desktop. + */ + userName: string; + } + + export interface GetDesktopsFilter { + name: string; + regex?: boolean; + values: string[]; + } + +} + export namespace DevOps { export interface BuildPipelineBuildPipelineParameters { /** @@ -114932,10 +116764,22 @@ export namespace FileStorage { * 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). */ nsgIds: string[]; + /** + * Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + */ + observedThroughput: string; /** * The OCIDs of the private IP addresses associated with this mount target. */ privateIpIds: string[]; + /** + * * New throughput for mount target at the end of billing cycle in Gbps. + */ + requestedThroughput: string; + /** + * * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + */ + reservedStorageCapacity: string; /** * Filter results by the specified lifecycle state. Must be a valid state for the resource type. */ @@ -114944,6 +116788,10 @@ export namespace FileStorage { * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in. */ subnetId: string; + /** + * The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + */ + timeBillingCycleEnd: string; /** * 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` */ @@ -115383,269 +117231,6 @@ export namespace FileStorage { } -export namespace FleetSoftwareUpdate { - export interface FsuCollectionActiveFsuCycle { - displayName: string; - id: string; - } - - export interface FsuCollectionFleetDiscovery { - filters: outputs.FleetSoftwareUpdate.FsuCollectionFleetDiscoveryFilter[]; - fsuDiscoveryId: string; - query: string; - strategy: string; - targets: string[]; - } - - export interface FsuCollectionFleetDiscoveryFilter { - entityType: string; - identifiers: string[]; - mode: string; - names: string[]; - operator: string; - tags: outputs.FleetSoftwareUpdate.FsuCollectionFleetDiscoveryFilterTag[]; - type: string; - versions: string[]; - } - - export interface FsuCollectionFleetDiscoveryFilterTag { - key: string; - namespace: string; - value: string; - } - - export interface FsuCycleApplyActionSchedule { - timeToStart: string; - type: string; - } - - export interface FsuCycleBatchingStrategy { - isForceRolling: boolean; - isWaitForBatchResume: boolean; - percentage: number; - type: string; - } - - export interface FsuCycleDiagnosticsCollection { - logCollectionMode: string; - } - - export interface FsuCycleGoalVersionDetails { - homePolicy: string; - newHomePrefix: string; - softwareImageId: string; - type: string; - version: string; - } - - export interface FsuCycleNextActionToExecute { - timeToStart: string; - type: string; - } - - export interface FsuCycleStageActionSchedule { - timeToStart: string; - type: string; - } - - export interface GetFsuCollectionActiveFsuCycle { - displayName: string; - id: string; - } - - export interface GetFsuCollectionFleetDiscovery { - filters: outputs.FleetSoftwareUpdate.GetFsuCollectionFleetDiscoveryFilter[]; - fsuDiscoveryId: string; - query: string; - strategy: string; - targets: string[]; - } - - export interface GetFsuCollectionFleetDiscoveryFilter { - entityType: string; - identifiers: string[]; - mode: string; - names: string[]; - operator: string; - tags: outputs.FleetSoftwareUpdate.GetFsuCollectionFleetDiscoveryFilterTag[]; - type: string; - versions: string[]; - } - - export interface GetFsuCollectionFleetDiscoveryFilterTag { - key: string; - namespace: string; - value: string; - } - - export interface GetFsuCollectionsFilter { - name: string; - regex?: boolean; - values: string[]; - } - - export interface GetFsuCollectionsFsuCollectionSummaryCollection { - items: outputs.FleetSoftwareUpdate.GetFsuCollectionsFsuCollectionSummaryCollectionItem[]; - } - - export interface GetFsuCollectionsFsuCollectionSummaryCollectionItem { - activeFsuCycles: outputs.FleetSoftwareUpdate.GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle[]; - compartmentId: string; - definedTags: {[key: string]: string}; - displayName: string; - fleetDiscoveries: outputs.FleetSoftwareUpdate.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery[]; - freeformTags: {[key: string]: string}; - id: string; - lifecycleDetails: string; - serviceType: string; - sourceMajorVersion: string; - state: string; - systemTags: {[key: string]: string}; - targetCount: number; - timeCreated: string; - timeUpdated: string; - type: string; - } - - export interface GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycle { - displayName: string; - id: string; - } - - export interface GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscovery { - filters: outputs.FleetSoftwareUpdate.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter[]; - fsuDiscoveryId: string; - query: string; - strategy: string; - targets: string[]; - } - - export interface GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilter { - entityType: string; - identifiers: string[]; - mode: string; - names: string[]; - operator: string; - tags: outputs.FleetSoftwareUpdate.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag[]; - type: string; - versions: string[]; - } - - export interface GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTag { - key: string; - namespace: string; - value: string; - } - - export interface GetFsuCycleApplyActionSchedule { - timeToStart: string; - type: string; - } - - export interface GetFsuCycleBatchingStrategy { - isForceRolling: boolean; - isWaitForBatchResume: boolean; - percentage: number; - type: string; - } - - export interface GetFsuCycleDiagnosticsCollection { - logCollectionMode: string; - } - - export interface GetFsuCycleGoalVersionDetail { - homePolicy: string; - newHomePrefix: string; - softwareImageId: string; - type: string; - version: string; - } - - export interface GetFsuCycleNextActionToExecute { - timeToStart: string; - type: string; - } - - export interface GetFsuCycleStageActionSchedule { - timeToStart: string; - type: string; - } - - export interface GetFsuCyclesFilter { - name: string; - regex?: boolean; - values: string[]; - } - - export interface GetFsuCyclesFsuCycleSummaryCollection { - items: outputs.FleetSoftwareUpdate.GetFsuCyclesFsuCycleSummaryCollectionItem[]; - } - - export interface GetFsuCyclesFsuCycleSummaryCollectionItem { - applyActionSchedules: outputs.FleetSoftwareUpdate.GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule[]; - batchingStrategies: outputs.FleetSoftwareUpdate.GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy[]; - collectionType: string; - compartmentId: string; - definedTags: {[key: string]: string}; - diagnosticsCollections: outputs.FleetSoftwareUpdate.GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection[]; - displayName: string; - executingFsuActionId: string; - freeformTags: {[key: string]: string}; - fsuCollectionId: string; - goalVersionDetails: outputs.FleetSoftwareUpdate.GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail[]; - id: string; - isIgnoreMissingPatches: string[]; - isIgnorePatches: boolean; - isKeepPlacement: boolean; - lastCompletedAction: string; - lifecycleDetails: string; - maxDrainTimeoutInSeconds: number; - nextActionToExecutes: outputs.FleetSoftwareUpdate.GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute[]; - stageActionSchedules: outputs.FleetSoftwareUpdate.GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule[]; - state: string; - systemTags: {[key: string]: string}; - timeCreated: string; - timeFinished: string; - timeUpdated: string; - type: string; - } - - export interface GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionSchedule { - timeToStart: string; - type: string; - } - - export interface GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategy { - isForceRolling: boolean; - isWaitForBatchResume: boolean; - percentage: number; - type: string; - } - - export interface GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollection { - logCollectionMode: string; - } - - export interface GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetail { - homePolicy: string; - newHomePrefix: string; - softwareImageId: string; - type: string; - version: string; - } - - export interface GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecute { - timeToStart: string; - type: string; - } - - export interface GetFsuCyclesFsuCycleSummaryCollectionItemStageActionSchedule { - timeToStart: string; - type: string; - } - -} - export namespace Functions { export interface ApplicationImagePolicyConfig { /** @@ -117482,290 +119067,7 @@ export namespace GenerativeAi { trainingConfigType: string; } - export interface GetModelFineTuneDetailTrainingDataset { - /** - * The Object Storage bucket name. - */ - bucket: string; - /** - * The type of the data asset. - */ - datasetType: string; - /** - * The Object Storage namespace. - */ - namespace: string; - /** - * The Object Storage object name. - */ - object: string; - } - - export interface GetModelModelMetric { - /** - * Fine-tuned model accuracy. - */ - finalAccuracy: number; - /** - * Fine-tuned model loss. - */ - finalLoss: number; - /** - * The type of the model metrics. Each type of model can expect a different set of model metrics. - */ - modelMetricsType: string; - } - - export interface GetModelsFilter { - name: string; - regex?: boolean; - values: string[]; - } - - export interface GetModelsModelCollection { - items: outputs.GenerativeAi.GetModelsModelCollectionItem[]; - } - - export interface GetModelsModelCollectionItem { - /** - * The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null. - */ - baseModelId: string; - /** - * Describes what this model can be used for. - */ - capabilities: string[]; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. - */ - compartmentId: string; - definedTags: {[key: string]: string}; - /** - * An optional description of the model. - */ - description: string; - /** - * A filter to return only resources that match the given display name exactly. - */ - displayName: string; - /** - * Details about fine-tuning a custom model. - */ - fineTuneDetails: outputs.GenerativeAi.GetModelsModelCollectionItemFineTuneDetail[]; - /** - * 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: {[key: string]: string}; - /** - * The ID of the model. - */ - id: string; - /** - * Whether a model is supported long-term. Only applicable to base models. - */ - isLongTermSupported: boolean; - /** - * A message describing the current state of the model in more detail that can provide actionable information. - */ - lifecycleDetails: string; - /** - * Model metrics during the creation of a new model. - */ - modelMetrics: outputs.GenerativeAi.GetModelsModelCollectionItemModelMetric[]; - /** - * A filter to return only resources 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]: string}; - /** - * The date and time that the model was created in the format of an RFC3339 datetime string. - */ - timeCreated: string; - /** - * Corresponds to the time when the custom model and its associated foundation model will be deprecated. - */ - timeDeprecated: string; - /** - * The date and time that the model was updated in the format of an RFC3339 datetime string. - */ - timeUpdated: string; - type: string; - /** - * A filter to return only resources that match the entire vendor given. - */ - vendor: string; - /** - * The version of the model. - */ - version: string; - } - - export interface GetModelsModelCollectionItemFineTuneDetail { - /** - * The OCID of the dedicated AI cluster this fine-tuning runs on. - */ - dedicatedAiClusterId: string; - /** - * The fine-tuning method and hyperparameters used for fine-tuning a custom model. - */ - trainingConfigs: outputs.GenerativeAi.GetModelsModelCollectionItemFineTuneDetailTrainingConfig[]; - /** - * The dataset used to fine-tune the model. - */ - trainingDatasets: outputs.GenerativeAi.GetModelsModelCollectionItemFineTuneDetailTrainingDataset[]; - } - - export interface GetModelsModelCollectionItemFineTuneDetailTrainingConfig { - /** - * Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation. - */ - earlyStoppingPatience: number; - /** - * How much the loss must improve to prevent early stopping. - */ - earlyStoppingThreshold: number; - /** - * The initial learning rate to be used during training - */ - learningRate: number; - /** - * Determines how frequently to log model metrics. - */ - logModelMetricsIntervalInSteps: number; - /** - * This parameter represents the scaling factor for the weight matrices in LoRA. - */ - loraAlpha: number; - /** - * This parameter indicates the dropout probability for LoRA layers. - */ - loraDropout: number; - /** - * This parameter represents the LoRA rank of the update matrices. - */ - loraR: number; - /** - * The number of last layers to be fine-tuned. - */ - numOfLastLayers: number; - /** - * The maximum number of training epochs to run for. - */ - totalTrainingEpochs: number; - /** - * The batch size used during training. - */ - trainingBatchSize: number; - /** - * The fine-tuning method for training a custom model. - */ - trainingConfigType: string; - } - - export interface GetModelsModelCollectionItemFineTuneDetailTrainingDataset { - /** - * The Object Storage bucket name. - */ - bucket: string; - /** - * The type of the data asset. - */ - datasetType: string; - /** - * The Object Storage namespace. - */ - namespace: string; - /** - * The Object Storage object name. - */ - object: string; - } - - export interface GetModelsModelCollectionItemModelMetric { - /** - * Fine-tuned model accuracy. - */ - finalAccuracy: number; - /** - * Fine-tuned model loss. - */ - finalLoss: number; - /** - * The type of the model metrics. Each type of model can expect a different set of model metrics. - */ - modelMetricsType: string; - } - - export interface ModelFineTuneDetails { - /** - * The OCID of the dedicated AI cluster this fine-tuning runs on. - */ - dedicatedAiClusterId: string; - /** - * The fine-tuning method and hyperparameters used for fine-tuning a custom model. - */ - trainingConfig: outputs.GenerativeAi.ModelFineTuneDetailsTrainingConfig; - /** - * The dataset used to fine-tune the model. - * - * Only one dataset is allowed per custom model, which is split 80-20 for training and validating. You must provide the dataset in a JSON Lines (JSONL) file. Each line in the JSONL file must have the format: `{"prompt": "", "completion": ""}` - */ - trainingDataset: outputs.GenerativeAi.ModelFineTuneDetailsTrainingDataset; - } - - export interface ModelFineTuneDetailsTrainingConfig { - /** - * Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation. - */ - earlyStoppingPatience: number; - /** - * How much the loss must improve to prevent early stopping. - */ - earlyStoppingThreshold: number; - /** - * The initial learning rate to be used during training - */ - learningRate: number; - /** - * Determines how frequently to log model metrics. - * - * Every step is logged for the first 20 steps and then follows this parameter for log frequency. Set to 0 to disable logging the model metrics. - */ - logModelMetricsIntervalInSteps: number; - /** - * This parameter represents the scaling factor for the weight matrices in LoRA. - */ - loraAlpha: number; - /** - * This parameter indicates the dropout probability for LoRA layers. - */ - loraDropout: number; - /** - * This parameter represents the LoRA rank of the update matrices. - */ - loraR: number; - /** - * The number of last layers to be fine-tuned. - */ - numOfLastLayers: number; - /** - * The maximum number of training epochs to run for. - */ - totalTrainingEpochs: number; - /** - * The batch size used during training. - */ - trainingBatchSize: number; - /** - * The fine-tuning method for training a custom model. - */ - trainingConfigType: string; - } - - export interface ModelFineTuneDetailsTrainingDataset { + export interface GetModelFineTuneDetailTrainingDataset { /** * The Object Storage bucket name. */ @@ -117784,7 +119086,7 @@ export namespace GenerativeAi { object: string; } - export interface ModelModelMetric { + export interface GetModelModelMetric { /** * Fine-tuned model accuracy. */ @@ -117799,654 +119101,287 @@ export namespace GenerativeAi { modelMetricsType: string; } -} - -export namespace GloballyDistributedDatabase { - export interface GetPrivateEndpointsFilter { + export interface GetModelsFilter { name: string; regex?: boolean; values: string[]; } - export interface GetPrivateEndpointsPrivateEndpointCollection { - items: outputs.GloballyDistributedDatabase.GetPrivateEndpointsPrivateEndpointCollectionItem[]; + export interface GetModelsModelCollection { + items: outputs.GenerativeAi.GetModelsModelCollectionItem[]; } - export interface GetPrivateEndpointsPrivateEndpointCollectionItem { + export interface GetModelsModelCollectionItem { /** - * The ID of the compartment in which to list resources. + * The OCID of the base model that's used for fine-tuning. For pretrained models, the value is null. */ - compartmentId: string; + baseModelId: string; /** - * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * Describes what this model can be used for. + */ + capabilities: string[]; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ + compartmentId: string; definedTags: {[key: string]: string}; /** - * PrivateEndpoint description. + * An optional description of the model. */ description: string; /** - * A filter to return only private endpoint that match the entire name given. The match is not case sensitive. + * A filter to return only resources that match the given display name exactly. */ 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"}` + * Details about fine-tuning a custom model. */ - freeformTags: {[key: string]: string}; + fineTuneDetails: outputs.GenerativeAi.GetModelsModelCollectionItemFineTuneDetail[]; /** - * The identifier of the Private Endpoint. + * 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"}` */ - id: string; + freeformTags: {[key: string]: string}; /** - * Detailed message for the lifecycle state. + * The ID of the model. */ - lifecycleStateDetails: string; + id: string; /** - * The OCIDs of the network security groups that the private endpoint belongs to. + * Whether a model is supported long-term. Only applicable to base models. */ - nsgIds: string[]; + isLongTermSupported: boolean; /** - * IP address of the Private Endpoint. + * A message describing the current state of the model in more detail that can provide actionable information. */ - privateIp: string; + lifecycleDetails: string; /** - * The OCIDs of sharded databases that consumes the given private endpoint. + * Model metrics during the creation of a new model. */ - shardedDatabases: string[]; + modelMetrics: outputs.GenerativeAi.GetModelsModelCollectionItemModelMetric[]; /** * A filter to return only resources their lifecycleState matches the given lifecycleState. */ state: string; /** - * Identifier of the subnet in which private endpoint exists. - */ - subnetId: string; - /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags: {[key: string]: string}; /** - * The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string - */ - timeCreated: string; - /** - * The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - */ - timeUpdated: string; - /** - * Identifier of the VCN in which subnet exists. - */ - vcnId: string; - } - - export interface GetShardedDatabaseCatalogDetail { - adminPassword: string; - /** - * Identifier of the primary cloudAutonomousVmCluster for the shard. - */ - cloudAutonomousVmClusterId: string; - /** - * The compute amount available to the underlying autonomous database associated with shard. - */ - computeCount: number; - /** - * Identifier of the underlying container database. - */ - containerDatabaseId: string; - /** - * Identifier of the underlying container database parent. - */ - containerDatabaseParentId: string; - /** - * The data disk group size to be allocated in GBs. - */ - dataStorageSizeInGbs: number; - /** - * Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - */ - encryptionKeyDetails: outputs.GloballyDistributedDatabase.GetShardedDatabaseCatalogDetailEncryptionKeyDetail[]; - /** - * Determines the auto-scaling mode. - */ - isAutoScalingEnabled: boolean; - /** - * Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - */ - metadata: {[key: string]: string}; - /** - * Name of the shard. - */ - name: string; - /** - * Identifier of the peer cloudAutonomousVmCluster for the shard. - */ - peerCloudAutonomousVmClusterId: string; - /** - * Name of the shard-group to which the shard belongs. - */ - shardGroup: string; - /** - * Status of shard or catalog or gsm for the sharded database. - */ - status: string; - /** - * Identifier of the underlying supporting resource. - */ - supportingResourceId: string; - /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string + * The date and time that the model was created in the format of an RFC3339 datetime string. */ timeCreated: string; /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string + * Corresponds to the time when the custom model and its associated foundation model will be deprecated. */ - timeSslCertificateExpires: string; + timeDeprecated: string; /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string + * The date and time that the model was updated in the format of an RFC3339 datetime string. */ timeUpdated: string; - } - - export interface GetShardedDatabaseCatalogDetailEncryptionKeyDetail { - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - */ - kmsKeyId: string; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - */ - kmsKeyVersionId: string; + type: string; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. + * A filter to return only resources that match the entire vendor given. */ - vaultId: string; - } - - export interface GetShardedDatabaseConnectionString { + vendor: string; /** - * Collection of connection strings. + * The version of the model. */ - allConnectionStrings: {[key: string]: string}; + version: string; } - export interface GetShardedDatabaseGsm { - /** - * The compute amount available to the underlying autonomous database associated with shard. - */ - computeCount: number; - /** - * The data disk group size to be allocated in GBs. - */ - dataStorageSizeInGbs: number; - /** - * Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - */ - metadata: {[key: string]: string}; - /** - * Name of the shard. - */ - name: string; - /** - * Status of shard or catalog or gsm for the sharded database. - */ - status: string; - /** - * Identifier of the underlying supporting resource. - */ - supportingResourceId: string; + export interface GetModelsModelCollectionItemFineTuneDetail { /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string + * The OCID of the dedicated AI cluster this fine-tuning runs on. */ - timeCreated: string; + dedicatedAiClusterId: string; /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string + * The fine-tuning method and hyperparameters used for fine-tuning a custom model. */ - timeSslCertificateExpires: string; + trainingConfigs: outputs.GenerativeAi.GetModelsModelCollectionItemFineTuneDetailTrainingConfig[]; /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string + * The dataset used to fine-tune the model. */ - timeUpdated: string; - } - - export interface GetShardedDatabasePatchOperation { - operation: string; - selection: string; - value: string; + trainingDatasets: outputs.GenerativeAi.GetModelsModelCollectionItemFineTuneDetailTrainingDataset[]; } - export interface GetShardedDatabaseShardDetail { - adminPassword: string; - /** - * Identifier of the primary cloudAutonomousVmCluster for the shard. - */ - cloudAutonomousVmClusterId: string; - /** - * The compute amount available to the underlying autonomous database associated with shard. - */ - computeCount: number; - /** - * Identifier of the underlying container database. - */ - containerDatabaseId: string; - /** - * Identifier of the underlying container database parent. - */ - containerDatabaseParentId: string; - /** - * The data disk group size to be allocated in GBs. - */ - dataStorageSizeInGbs: number; - /** - * Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - */ - encryptionKeyDetails: outputs.GloballyDistributedDatabase.GetShardedDatabaseShardDetailEncryptionKeyDetail[]; - /** - * Determines the auto-scaling mode. - */ - isAutoScalingEnabled: boolean; - /** - * Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - */ - metadata: {[key: string]: string}; - /** - * Name of the shard. - */ - name: string; - /** - * Identifier of the peer cloudAutonomousVmCluster for the shard. - */ - peerCloudAutonomousVmClusterId: string; + export interface GetModelsModelCollectionItemFineTuneDetailTrainingConfig { /** - * Name of the shard-group to which the shard belongs. + * Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation. */ - shardGroup: string; + earlyStoppingPatience: number; /** - * Shard space name. + * How much the loss must improve to prevent early stopping. */ - shardSpace: string; + earlyStoppingThreshold: number; /** - * Status of shard or catalog or gsm for the sharded database. + * The initial learning rate to be used during training */ - status: string; + learningRate: number; /** - * Identifier of the underlying supporting resource. + * Determines how frequently to log model metrics. */ - supportingResourceId: string; + logModelMetricsIntervalInSteps: number; /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string + * This parameter represents the scaling factor for the weight matrices in LoRA. */ - timeCreated: string; + loraAlpha: number; /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string + * This parameter indicates the dropout probability for LoRA layers. */ - timeSslCertificateExpires: string; + loraDropout: number; /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string + * This parameter represents the LoRA rank of the update matrices. */ - timeUpdated: string; - } - - export interface GetShardedDatabaseShardDetailEncryptionKeyDetail { + loraR: number; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. + * The number of last layers to be fine-tuned. */ - kmsKeyId: string; + numOfLastLayers: number; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. + * The maximum number of training epochs to run for. */ - kmsKeyVersionId: string; + totalTrainingEpochs: number; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. + * The batch size used during training. */ - vaultId: string; - } - - export interface GetShardedDatabasesFilter { + trainingBatchSize: number; /** - * Name of the shard. + * The fine-tuning method for training a custom model. */ - name: string; - regex?: boolean; - values: string[]; - } - - export interface GetShardedDatabasesShardedDatabaseCollection { - items: outputs.GloballyDistributedDatabase.GetShardedDatabasesShardedDatabaseCollectionItem[]; + trainingConfigType: string; } - export interface GetShardedDatabasesShardedDatabaseCollectionItem { - /** - * The character set for the database. - */ - characterSet: string; - /** - * The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - */ - chunks: number; - /** - * The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - */ - clusterCertificateCommonName: string; - /** - * The ID of the compartment in which to list resources. - */ - compartmentId: string; - /** - * The database deployment type. - */ - dbDeploymentType: string; - /** - * Oracle Database version number. - */ - dbVersion: string; - /** - * Possible workload types. - */ - dbWorkload: string; - /** - * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - */ - definedTags: {[key: string]: string}; - /** - * A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - */ - 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]: string}; - /** - * Sharded Database identifier - */ - id: string; - lifecycleState: string; - /** - * Detailed message for the lifecycle state. - */ - lifecycleStateDetails: string; - /** - * The GSM listener port number. - */ - listenerPort: number; - /** - * The TLS listener port number for sharded database. - */ - listenerPortTls: number; - /** - * The national character set for the database. - */ - ncharacterSet: string; - /** - * Ons local port number. - */ - onsPortLocal: number; - /** - * Ons remote port number. - */ - onsPortRemote: number; - /** - * Unique prefix for the sharded database. - */ - prefix: string; - /** - * Sharding Method. - */ - shardingMethod: string; + export interface GetModelsModelCollectionItemFineTuneDetailTrainingDataset { /** - * A filter to return only resources their lifecycleState matches the given lifecycleState. + * The Object Storage bucket name. */ - state: string; + bucket: string; /** - * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * The type of the data asset. */ - systemTags: {[key: string]: string}; + datasetType: string; /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string + * The Object Storage namespace. */ - timeCreated: string; + namespace: string; /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string + * The Object Storage object name. */ - timeUpdated: string; - totalCpuCount: number; - totalDataStorageSizeInGbs: number; + object: string; } - export interface ShardedDatabaseCatalogDetail { - /** - * Admin password for the catalog database. - */ - adminPassword: string; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - */ - cloudAutonomousVmClusterId: string; - /** - * The compute count for the catalog database. It has to be in multiple of 2. - */ - computeCount: number; - /** - * Identifier of the underlying container database. - */ - containerDatabaseId: string; - /** - * Identifier of the underlying container database parent. - */ - containerDatabaseParentId: string; - /** - * The data disk group size to be allocated in GBs for the catalog database. - */ - dataStorageSizeInGbs: number; - /** - * Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - */ - encryptionKeyDetails: outputs.GloballyDistributedDatabase.ShardedDatabaseCatalogDetailEncryptionKeyDetails; - /** - * Determines the auto-scaling mode for the catalog database. - */ - isAutoScalingEnabled: boolean; - /** - * Additional metadata related to shard's underlying supporting resource. - */ - metadata: {[key: string]: string}; - /** - * Name of the shard. - */ - name: string; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - */ - peerCloudAutonomousVmClusterId: string; - /** - * Name of the shard-group to which the shard belongs. - */ - shardGroup: string; - /** - * Status of shard or catalog or gsm for the sharded database. - */ - status: string; - /** - * Identifier of the underlying supporting resource. - */ - supportingResourceId: string; + export interface GetModelsModelCollectionItemModelMetric { /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string + * Fine-tuned model accuracy. */ - timeCreated: string; + finalAccuracy: number; /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string + * Fine-tuned model loss. */ - timeSslCertificateExpires: string; + finalLoss: number; /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string + * The type of the model metrics. Each type of model can expect a different set of model metrics. */ - timeUpdated: string; + modelMetricsType: string; } - export interface ShardedDatabaseCatalogDetailEncryptionKeyDetails { - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - */ - kmsKeyId: string; + export interface ModelFineTuneDetails { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. + * The OCID of the dedicated AI cluster this fine-tuning runs on. */ - kmsKeyVersionId: string; + dedicatedAiClusterId: string; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. + * The fine-tuning method and hyperparameters used for fine-tuning a custom model. */ - vaultId: string; - } - - export interface ShardedDatabaseConnectionString { + trainingConfig: outputs.GenerativeAi.ModelFineTuneDetailsTrainingConfig; /** - * Collection of connection strings. + * The dataset used to fine-tune the model. + * + * Only one dataset is allowed per custom model, which is split 80-20 for training and validating. You must provide the dataset in a JSON Lines (JSONL) file. Each line in the JSONL file must have the format: `{"prompt": "", "completion": ""}` */ - allConnectionStrings: {[key: string]: string}; + trainingDataset: outputs.GenerativeAi.ModelFineTuneDetailsTrainingDataset; } - export interface ShardedDatabaseGsm { - /** - * The compute amount available to the underlying autonomous database associated with shard. - */ - computeCount: number; + export interface ModelFineTuneDetailsTrainingConfig { /** - * The data disk group size to be allocated in GBs. + * Stop training if the loss metric does not improve beyond 'early_stopping_threshold' for this many times of evaluation. */ - dataStorageSizeInGbs: number; + earlyStoppingPatience: number; /** - * Additional metadata related to shard's underlying supporting resource. + * How much the loss must improve to prevent early stopping. */ - metadata: {[key: string]: string}; + earlyStoppingThreshold: number; /** - * Name of the shard. + * The initial learning rate to be used during training */ - name: string; + learningRate: number; /** - * Status of shard or catalog or gsm for the sharded database. + * Determines how frequently to log model metrics. + * + * Every step is logged for the first 20 steps and then follows this parameter for log frequency. Set to 0 to disable logging the model metrics. */ - status: string; + logModelMetricsIntervalInSteps: number; /** - * Identifier of the underlying supporting resource. + * This parameter represents the scaling factor for the weight matrices in LoRA. */ - supportingResourceId: string; + loraAlpha: number; /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string + * This parameter indicates the dropout probability for LoRA layers. */ - timeCreated: string; + loraDropout: number; /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string + * This parameter represents the LoRA rank of the update matrices. */ - timeSslCertificateExpires: string; + loraR: number; /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string + * The number of last layers to be fine-tuned. */ - timeUpdated: string; - } - - export interface ShardedDatabasePatchOperation { + numOfLastLayers: number; /** - * (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` + * The maximum number of training epochs to run for. */ - operation: string; + totalTrainingEpochs: number; /** - * (Updatable) + * The batch size used during training. */ - selection: string; + trainingBatchSize: number; /** - * (Updatable) + * The fine-tuning method for training a custom model. */ - value: string; + trainingConfigType: string; } - export interface ShardedDatabaseShardDetail { - /** - * Admin password for shard database. - */ - adminPassword: string; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - */ - cloudAutonomousVmClusterId: string; - /** - * The compute count for the shard database. It has to be in multiples of 2. - */ - computeCount: number; - /** - * Identifier of the underlying container database. - */ - containerDatabaseId: string; - /** - * Identifier of the underlying container database parent. - */ - containerDatabaseParentId: string; - /** - * The data disk group size to be allocated in GBs for the shard database. - */ - dataStorageSizeInGbs: number; - /** - * Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - */ - encryptionKeyDetails: outputs.GloballyDistributedDatabase.ShardedDatabaseShardDetailEncryptionKeyDetails; - /** - * Determines the auto-scaling mode for the shard database. - */ - isAutoScalingEnabled: boolean; - /** - * Additional metadata related to shard's underlying supporting resource. - */ - metadata: {[key: string]: string}; - /** - * Name of the shard. - */ - name: string; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - */ - peerCloudAutonomousVmClusterId: string; - /** - * Name of the shard-group to which the shard belongs. - */ - shardGroup: string; - /** - * The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - */ - shardSpace: string; - /** - * Status of shard or catalog or gsm for the sharded database. - */ - status: string; + export interface ModelFineTuneDetailsTrainingDataset { /** - * Identifier of the underlying supporting resource. + * The Object Storage bucket name. */ - supportingResourceId: string; + bucket: string; /** - * The time the the Sharded Database was created. An RFC3339 formatted datetime string + * The type of the data asset. */ - timeCreated: string; + datasetType: string; /** - * The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string + * The Object Storage namespace. */ - timeSslCertificateExpires: string; + namespace: string; /** - * The time the Sharded Database was last updated. An RFC3339 formatted datetime string + * The Object Storage object name. */ - timeUpdated: string; + object: string; } - export interface ShardedDatabaseShardDetailEncryptionKeyDetails { + export interface ModelModelMetric { /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. + * Fine-tuned model accuracy. */ - kmsKeyId: string; + finalAccuracy: number; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. + * Fine-tuned model loss. */ - kmsKeyVersionId: string; + finalLoss: number; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. + * The type of the model metrics. Each type of model can expect a different set of model metrics. */ - vaultId: string; + modelMetricsType: string; } } @@ -159025,6 +159960,7 @@ export namespace Identity { * An identifier for the Resource as defined by the Service Consumer. The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer's tenant. */ externalId: string; + forceDelete: boolean; /** * Unique identifier for the SCIM Resource as defined by the Service Provider. Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider's entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier. */ @@ -173717,6 +174653,7 @@ export namespace Identity { * An identifier for the Resource as defined by the Service Consumer. READ-ONLY. */ externalId: string; + forceDelete: boolean; /** * A list of groups that the user belongs to, either thorough direct membership, nested groups, or dynamically calculated */ @@ -179485,7 +180422,7 @@ export namespace Kms { export interface GetKeyAutoKeyRotationDetail { /** - * The last execution status message. + * The last execution status message of auto key rotation. */ lastRotationMessage: string; /** @@ -179493,19 +180430,19 @@ export namespace Kms { */ lastRotationStatus: string; /** - * The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. */ rotationIntervalInDays: number; /** - * A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. */ timeOfLastRotation: string; /** - * A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. */ timeOfNextRotation: string; /** - * A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. */ timeOfScheduleStart: string; } @@ -179790,7 +180727,7 @@ export namespace Kms { export interface GetKeysKeyAutoKeyRotationDetail { /** - * The last execution status message. + * The last execution status message of auto key rotation. */ lastRotationMessage: string; /** @@ -179798,19 +180735,19 @@ export namespace Kms { */ lastRotationStatus: string; /** - * The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. */ rotationIntervalInDays: number; /** - * A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. */ timeOfLastRotation: string; /** - * A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. */ timeOfNextRotation: string; /** - * A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. */ timeOfScheduleStart: string; } @@ -180044,6 +180981,10 @@ export namespace Kms { * A Boolean value that indicates whether the Vault is primary Vault or replica Vault. */ isPrimary: boolean; + /** + * A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + */ + isVaultReplicable: boolean; /** * The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. */ @@ -180154,7 +181095,7 @@ export namespace Kms { export interface KeyAutoKeyRotationDetails { /** - * (Updatable) The last execution status message. + * (Updatable) The last execution status message of auto key rotation. */ lastRotationMessage: string; /** @@ -180162,19 +181103,19 @@ export namespace Kms { */ lastRotationStatus: string; /** - * (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + * (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. */ rotationIntervalInDays: number; /** - * (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + * (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. */ timeOfLastRotation: string; /** - * (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. */ timeOfNextRotation: string; /** - * (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + * (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. */ timeOfScheduleStart: string; } @@ -181808,10 +182749,18 @@ export namespace LoadBalancer { * Whether the load balancer has a VCN-local (private) IP address. */ isPrivate: boolean; + /** + * Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + */ + isRequestIdEnabled: boolean; /** * An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load balancer. */ networkSecurityGroupIds: string[]; + /** + * If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + */ + requestIdHeader: string; reservedIps: outputs.LoadBalancer.GetLoadBalancersLoadBalancerReservedIp[]; /** * A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `100Mbps` @@ -194014,13 +194963,20 @@ export namespace Mysql { faultDomain: string; } + export interface GetMysqlDbSystemCustomerContact { + /** + * The email address used by Oracle to send notifications regarding the DB System. + */ + email: string; + } + export interface GetMysqlDbSystemDataStorage { /** * The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. */ allocatedStorageSizeInGbs: number; /** - * DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * Initial size of the data volume in GiBs that will be created and attached. */ dataStorageSizeInGb: number; /** @@ -194199,7 +195155,11 @@ export namespace Mysql { */ currentPlacements: outputs.Mysql.GetMysqlDbSystemsDbSystemCurrentPlacement[]; /** - * DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + */ + customerContacts: outputs.Mysql.GetMysqlDbSystemsDbSystemCustomerContact[]; + /** + * Initial size of the data volume in GiBs that will be created and attached. */ dataStorageSizeInGb: number; /** @@ -194516,13 +195476,20 @@ export namespace Mysql { faultDomain: string; } + export interface GetMysqlDbSystemsDbSystemCustomerContact { + /** + * The email address used by Oracle to send notifications regarding the DB System. + */ + email: string; + } + export interface GetMysqlDbSystemsDbSystemDataStorage { /** * The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. */ allocatedStorageSizeInGbs: number; /** - * DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + * Initial size of the data volume in GiBs that will be created and attached. */ dataStorageSizeInGb: number; /** @@ -195833,6 +196800,13 @@ export namespace Mysql { faultDomain: string; } + export interface MysqlDbSystemCustomerContact { + /** + * (Updatable) The email address used by Oracle to send notifications regarding the DB System. + */ + email: string; + } + export interface MysqlDbSystemDataStorage { /** * The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. @@ -199370,7 +200344,7 @@ export namespace Ocvp { */ capacityReservationId: string; /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. */ clusterId: string; /** @@ -218673,6 +219647,10 @@ export namespace RecoveryMod { * A filter to return only the resources that match the specified lifecycle state. */ state: string; + /** + * The OCID of the cloud service subscription to which the protected database is linked. + */ + subscriptionId: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) */ @@ -218780,6 +219758,10 @@ export namespace RecoveryMod { * Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. */ lifecycleDetails: string; + /** + * Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + */ + mustEnforceCloudLocality: boolean; /** * An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. */ @@ -218911,10 +219893,6 @@ export namespace RecoveryMod { export interface ProtectedDatabaseRecoveryServiceSubnet { /** * (Updatable) The recovery service subnet OCID. - * - * - * ** IMPORTANT ** - * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ recoveryServiceSubnetId: string; /** @@ -231372,10 +232350,11 @@ export namespace Waf { } export interface AppFirewallPolicyActionBody { + template?: string; /** * (Updatable) Static response body text. */ - text: string; + text?: string; /** * (Updatable) Type of HttpResponseBody. */ @@ -232112,6 +233091,7 @@ export namespace Waf { } export interface GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBody { + template: string; /** * Static response body text. */ @@ -232521,6 +233501,7 @@ export namespace Waf { } export interface GetWebAppFirewallPolicyActionBody { + template: string; /** * Static response body text. */ diff --git a/sdk/python/pulumi_oci/__init__.py b/sdk/python/pulumi_oci/__init__.py index 2a8ea72584..f6c655b42d 100644 --- a/sdk/python/pulumi_oci/__init__.py +++ b/sdk/python/pulumi_oci/__init__.py @@ -93,8 +93,12 @@ datasafe = __datasafe import pulumi_oci.datascience as __datascience datascience = __datascience + import pulumi_oci.delegateaccesscontrol as __delegateaccesscontrol + delegateaccesscontrol = __delegateaccesscontrol import pulumi_oci.demandsignal as __demandsignal demandsignal = __demandsignal + import pulumi_oci.desktops as __desktops + desktops = __desktops import pulumi_oci.devops as __devops devops = __devops import pulumi_oci.disasterrecovery as __disasterrecovery @@ -107,8 +111,6 @@ events = __events import pulumi_oci.filestorage as __filestorage filestorage = __filestorage - import pulumi_oci.fleetsoftwareupdate as __fleetsoftwareupdate - fleetsoftwareupdate = __fleetsoftwareupdate import pulumi_oci.functions as __functions functions = __functions import pulumi_oci.fusionapps as __fusionapps @@ -117,8 +119,6 @@ generativeai = __generativeai import pulumi_oci.genericartifactscontent as __genericartifactscontent genericartifactscontent = __genericartifactscontent - import pulumi_oci.globallydistributeddatabase as __globallydistributeddatabase - globallydistributeddatabase = __globallydistributeddatabase import pulumi_oci.goldengate as __goldengate goldengate = __goldengate import pulumi_oci.healthchecks as __healthchecks @@ -286,19 +286,19 @@ datalabellingservice = _utilities.lazy_import('pulumi_oci.datalabellingservice') datasafe = _utilities.lazy_import('pulumi_oci.datasafe') datascience = _utilities.lazy_import('pulumi_oci.datascience') + delegateaccesscontrol = _utilities.lazy_import('pulumi_oci.delegateaccesscontrol') demandsignal = _utilities.lazy_import('pulumi_oci.demandsignal') + desktops = _utilities.lazy_import('pulumi_oci.desktops') devops = _utilities.lazy_import('pulumi_oci.devops') disasterrecovery = _utilities.lazy_import('pulumi_oci.disasterrecovery') dns = _utilities.lazy_import('pulumi_oci.dns') email = _utilities.lazy_import('pulumi_oci.email') events = _utilities.lazy_import('pulumi_oci.events') filestorage = _utilities.lazy_import('pulumi_oci.filestorage') - fleetsoftwareupdate = _utilities.lazy_import('pulumi_oci.fleetsoftwareupdate') functions = _utilities.lazy_import('pulumi_oci.functions') fusionapps = _utilities.lazy_import('pulumi_oci.fusionapps') generativeai = _utilities.lazy_import('pulumi_oci.generativeai') genericartifactscontent = _utilities.lazy_import('pulumi_oci.genericartifactscontent') - globallydistributeddatabase = _utilities.lazy_import('pulumi_oci.globallydistributeddatabase') goldengate = _utilities.lazy_import('pulumi_oci.goldengate') healthchecks = _utilities.lazy_import('pulumi_oci.healthchecks') identity = _utilities.lazy_import('pulumi_oci.identity') @@ -2085,6 +2085,22 @@ "oci:DataSafe/maskingPolicy:MaskingPolicy": "MaskingPolicy" } }, + { + "pkg": "oci", + "mod": "DataSafe/maskingPolicyHealthReportManagement", + "fqn": "pulumi_oci.datasafe", + "classes": { + "oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement": "MaskingPolicyHealthReportManagement" + } + }, + { + "pkg": "oci", + "mod": "DataSafe/maskingReportManagement", + "fqn": "pulumi_oci.datasafe", + "classes": { + "oci:DataSafe/maskingReportManagement:MaskingReportManagement": "MaskingReportManagement" + } + }, { "pkg": "oci", "mod": "DataSafe/onPremConnector", @@ -2197,6 +2213,14 @@ "oci:DataSafe/setSecurityAssessmentBaseline:SetSecurityAssessmentBaseline": "SetSecurityAssessmentBaseline" } }, + { + "pkg": "oci", + "mod": "DataSafe/setSecurityAssessmentBaselineManagement", + "fqn": "pulumi_oci.datasafe", + "classes": { + "oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement": "SetSecurityAssessmentBaselineManagement" + } + }, { "pkg": "oci", "mod": "DataSafe/setUserAssessmentBaseline", @@ -2205,6 +2229,14 @@ "oci:DataSafe/setUserAssessmentBaseline:SetUserAssessmentBaseline": "SetUserAssessmentBaseline" } }, + { + "pkg": "oci", + "mod": "DataSafe/setUserAssessmentBaselineManagement", + "fqn": "pulumi_oci.datasafe", + "classes": { + "oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement": "SetUserAssessmentBaselineManagement" + } + }, { "pkg": "oci", "mod": "DataSafe/sqlCollection", @@ -2261,6 +2293,14 @@ "oci:DataSafe/unsetSecurityAssessmentBaseline:UnsetSecurityAssessmentBaseline": "UnsetSecurityAssessmentBaseline" } }, + { + "pkg": "oci", + "mod": "DataSafe/unsetSecurityAssessmentBaselineManagement", + "fqn": "pulumi_oci.datasafe", + "classes": { + "oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement": "UnsetSecurityAssessmentBaselineManagement" + } + }, { "pkg": "oci", "mod": "DataSafe/unsetUserAssessmentBaseline", @@ -2269,6 +2309,14 @@ "oci:DataSafe/unsetUserAssessmentBaseline:UnsetUserAssessmentBaseline": "UnsetUserAssessmentBaseline" } }, + { + "pkg": "oci", + "mod": "DataSafe/unsetUserAssessmentBaselineManagement", + "fqn": "pulumi_oci.datasafe", + "classes": { + "oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement": "UnsetUserAssessmentBaselineManagement" + } + }, { "pkg": "oci", "mod": "DataSafe/userAssessment", @@ -2885,6 +2933,14 @@ "oci:Database/vmClusterRemoveVirtualMachine:VmClusterRemoveVirtualMachine": "VmClusterRemoveVirtualMachine" } }, + { + "pkg": "oci", + "mod": "DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement", + "fqn": "pulumi_oci.databasemanagement", + "classes": { + "oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement": "AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement" + } + }, { "pkg": "oci", "mod": "DatabaseManagement/databaseDbmFeaturesManagement", @@ -3149,6 +3205,22 @@ "oci:DatabaseTools/databaseToolsPrivateEndpoint:DatabaseToolsPrivateEndpoint": "DatabaseToolsPrivateEndpoint" } }, + { + "pkg": "oci", + "mod": "DelegateAccessControl/delegationControl", + "fqn": "pulumi_oci.delegateaccesscontrol", + "classes": { + "oci:DelegateAccessControl/delegationControl:DelegationControl": "DelegationControl" + } + }, + { + "pkg": "oci", + "mod": "DelegateAccessControl/delegationSubscription", + "fqn": "pulumi_oci.delegateaccesscontrol", + "classes": { + "oci:DelegateAccessControl/delegationSubscription:DelegationSubscription": "DelegationSubscription" + } + }, { "pkg": "oci", "mod": "DemandSignal/occDemandSignal", @@ -3157,6 +3229,14 @@ "oci:DemandSignal/occDemandSignal:OccDemandSignal": "OccDemandSignal" } }, + { + "pkg": "oci", + "mod": "Desktops/desktopPool", + "fqn": "pulumi_oci.desktops", + "classes": { + "oci:Desktops/desktopPool:DesktopPool": "DesktopPool" + } + }, { "pkg": "oci", "mod": "DevOps/buildPipeline", @@ -3509,22 +3589,6 @@ "oci:FileStorage/snapshot:Snapshot": "Snapshot" } }, - { - "pkg": "oci", - "mod": "FleetSoftwareUpdate/fsuCollection", - "fqn": "pulumi_oci.fleetsoftwareupdate", - "classes": { - "oci:FleetSoftwareUpdate/fsuCollection:FsuCollection": "FsuCollection" - } - }, - { - "pkg": "oci", - "mod": "FleetSoftwareUpdate/fsuCycle", - "fqn": "pulumi_oci.fleetsoftwareupdate", - "classes": { - "oci:FleetSoftwareUpdate/fsuCycle:FsuCycle": "FsuCycle" - } - }, { "pkg": "oci", "mod": "Functions/application", @@ -3629,22 +3693,6 @@ "oci:GenericArtifactsContent/artifactByPath:ArtifactByPath": "ArtifactByPath" } }, - { - "pkg": "oci", - "mod": "GloballyDistributedDatabase/privateEndpoint", - "fqn": "pulumi_oci.globallydistributeddatabase", - "classes": { - "oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint": "PrivateEndpoint" - } - }, - { - "pkg": "oci", - "mod": "GloballyDistributedDatabase/shardedDatabase", - "fqn": "pulumi_oci.globallydistributeddatabase", - "classes": { - "oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase": "ShardedDatabase" - } - }, { "pkg": "oci", "mod": "GoldenGate/connection", diff --git a/sdk/python/pulumi_oci/announcementsservice/__init__.py b/sdk/python/pulumi_oci/announcementsservice/__init__.py index 230c9fb541..61247d6668 100644 --- a/sdk/python/pulumi_oci/announcementsservice/__init__.py +++ b/sdk/python/pulumi_oci/announcementsservice/__init__.py @@ -10,5 +10,6 @@ from .announcement_subscriptions_filter_group import * from .get_announcement_subscription import * from .get_announcement_subscriptions import * +from .get_services import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_oci/announcementsservice/_inputs.py b/sdk/python/pulumi_oci/announcementsservice/_inputs.py index a09bb61fe9..36ce66edf3 100644 --- a/sdk/python/pulumi_oci/announcementsservice/_inputs.py +++ b/sdk/python/pulumi_oci/announcementsservice/_inputs.py @@ -14,6 +14,7 @@ 'AnnouncementSubscriptionFilterGroupsFilterArgs', 'AnnouncementSubscriptionsFilterGroupFilterArgs', 'GetAnnouncementSubscriptionsFilterArgs', + 'GetServicesFilterArgs', ] @pulumi.input_type @@ -22,7 +23,7 @@ def __init__(__self__, *, filters: pulumi.Input[Sequence[pulumi.Input['AnnouncementSubscriptionFilterGroupsFilterArgs']]], name: Optional[pulumi.Input[str]] = None): """ - :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[Sequence[pulumi.Input['AnnouncementSubscriptionFilterGroupsFilterArgs']]] filters: A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. :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) @@ -33,7 +34,7 @@ def __init__(__self__, *, @pulumi.getter def filters(self) -> pulumi.Input[Sequence[pulumi.Input['AnnouncementSubscriptionFilterGroupsFilterArgs']]]: """ - 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. + A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. """ return pulumi.get(self, "filters") @@ -60,7 +61,7 @@ def __init__(__self__, *, type: pulumi.Input[str], value: pulumi.Input[str]): """ - :param pulumi.Input[str] type: The type of filter. + :param pulumi.Input[str] type: The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. :param pulumi.Input[str] value: The value of the filter. """ pulumi.set(__self__, "type", type) @@ -70,7 +71,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> pulumi.Input[str]: """ - The type of filter. + The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. """ return pulumi.get(self, "type") @@ -97,7 +98,7 @@ def __init__(__self__, *, type: pulumi.Input[str], value: pulumi.Input[str]): """ - :param pulumi.Input[str] type: (Updatable) The type of filter. + :param pulumi.Input[str] type: (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. :param pulumi.Input[str] value: (Updatable) The value of the filter. """ pulumi.set(__self__, "type", type) @@ -107,7 +108,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> pulumi.Input[str]: """ - (Updatable) The type of filter. + (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. """ return pulumi.get(self, "type") @@ -173,3 +174,42 @@ def regex(self, value: Optional[bool]): pulumi.set(self, "regex", value) +@pulumi.input_type +class GetServicesFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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) + + diff --git a/sdk/python/pulumi_oci/announcementsservice/announcement_subscription.py b/sdk/python/pulumi_oci/announcementsservice/announcement_subscription.py index a8902fdae4..2ce5dffc25 100644 --- a/sdk/python/pulumi_oci/announcementsservice/announcement_subscription.py +++ b/sdk/python/pulumi_oci/announcementsservice/announcement_subscription.py @@ -34,8 +34,8 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) A description of the announcement subscription. Avoid entering confidential information. :param pulumi.Input['AnnouncementSubscriptionFilterGroupsArgs'] filter_groups: A list of filter groups for the announcement subscription. A filter group combines one or more filters that the Announcements service applies to announcements for matching purposes. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] preferred_language: (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. - :param pulumi.Input[str] preferred_time_zone: (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + :param pulumi.Input[str] preferred_language: (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. + :param pulumi.Input[str] preferred_time_zone: (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles ** IMPORTANT ** @@ -145,7 +145,7 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @pulumi.getter(name="preferredLanguage") def preferred_language(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. """ return pulumi.get(self, "preferred_language") @@ -157,7 +157,7 @@ def preferred_language(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="preferredTimeZone") def preferred_time_zone(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles ** IMPORTANT ** @@ -197,8 +197,8 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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 lifecycle state in more detail. For example, details might provide required or recommended actions for a resource in a Failed state. :param pulumi.Input[str] ons_topic_id: (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm). - :param pulumi.Input[str] preferred_language: (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. - :param pulumi.Input[str] preferred_time_zone: (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + :param pulumi.Input[str] preferred_language: (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. + :param pulumi.Input[str] preferred_time_zone: (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles ** IMPORTANT ** @@ -337,7 +337,7 @@ def ons_topic_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="preferredLanguage") def preferred_language(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. """ return pulumi.get(self, "preferred_language") @@ -349,7 +349,7 @@ def preferred_language(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="preferredTimeZone") def preferred_time_zone(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles ** IMPORTANT ** @@ -476,8 +476,8 @@ def __init__(__self__, :param pulumi.Input[Union['AnnouncementSubscriptionFilterGroupsArgs', 'AnnouncementSubscriptionFilterGroupsArgsDict']] filter_groups: A list of filter groups for the announcement subscription. A filter group combines one or more filters that the Announcements service applies to announcements for matching purposes. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] ons_topic_id: (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm). - :param pulumi.Input[str] preferred_language: (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. - :param pulumi.Input[str] preferred_time_zone: (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + :param pulumi.Input[str] preferred_language: (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. + :param pulumi.Input[str] preferred_time_zone: (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles ** IMPORTANT ** @@ -623,8 +623,8 @@ def get(resource_name: str, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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 lifecycle state in more detail. For example, details might provide required or recommended actions for a resource in a Failed state. :param pulumi.Input[str] ons_topic_id: (Updatable) The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. The caller of the operation needs the ONS_TOPIC_PUBLISH permission for the targeted Notifications service topic. For more information about Notifications permissions, see [Details for Notifications](https://docs.cloud.oracle.com/iaas/Content/Identity/policyreference/notificationpolicyreference.htm). - :param pulumi.Input[str] preferred_language: (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. - :param pulumi.Input[str] preferred_time_zone: (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + :param pulumi.Input[str] preferred_language: (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. + :param pulumi.Input[str] preferred_time_zone: (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles ** IMPORTANT ** @@ -722,7 +722,7 @@ def ons_topic_id(self) -> pulumi.Output[str]: @pulumi.getter(name="preferredLanguage") def preferred_language(self) -> pulumi.Output[str]: """ - (Updatable) (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + (Updatable) (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. """ return pulumi.get(self, "preferred_language") @@ -730,7 +730,7 @@ def preferred_language(self) -> pulumi.Output[str]: @pulumi.getter(name="preferredTimeZone") def preferred_time_zone(self) -> pulumi.Output[str]: """ - (Updatable) The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + (Updatable) The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles ** IMPORTANT ** diff --git a/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscription.py b/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscription.py index 19dd6b789d..f7a8a5b23d 100644 --- a/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscription.py +++ b/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscription.py @@ -153,7 +153,7 @@ def ons_topic_id(self) -> str: @pulumi.getter(name="preferredLanguage") def preferred_language(self) -> str: """ - (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. """ return pulumi.get(self, "preferred_language") @@ -161,7 +161,7 @@ def preferred_language(self) -> str: @pulumi.getter(name="preferredTimeZone") def preferred_time_zone(self) -> str: """ - The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles """ return pulumi.get(self, "preferred_time_zone") diff --git a/sdk/python/pulumi_oci/announcementsservice/get_services.py b/sdk/python/pulumi_oci/announcementsservice/get_services.py new file mode 100644 index 0000000000..64ce3e8495 --- /dev/null +++ b/sdk/python/pulumi_oci/announcementsservice/get_services.py @@ -0,0 +1,173 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetServicesResult', + 'AwaitableGetServicesResult', + 'get_services', + 'get_services_output', +] + +@pulumi.output_type +class GetServicesResult: + """ + A collection of values returned by getServices. + """ + def __init__(__self__, comms_manager_name=None, compartment_id=None, filters=None, id=None, platform_type=None, services_collections=None): + if comms_manager_name and not isinstance(comms_manager_name, str): + raise TypeError("Expected argument 'comms_manager_name' to be a str") + pulumi.set(__self__, "comms_manager_name", comms_manager_name) + 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 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 platform_type and not isinstance(platform_type, str): + raise TypeError("Expected argument 'platform_type' to be a str") + pulumi.set(__self__, "platform_type", platform_type) + if services_collections and not isinstance(services_collections, list): + raise TypeError("Expected argument 'services_collections' to be a list") + pulumi.set(__self__, "services_collections", services_collections) + + @property + @pulumi.getter(name="commsManagerName") + def comms_manager_name(self) -> Optional[str]: + """ + Name of the comms manager team that manages Notifications to this service. + """ + return pulumi.get(self, "comms_manager_name") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetServicesFilterResult']]: + 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(name="platformType") + def platform_type(self) -> Optional[str]: + """ + The platform type this service object is related to. + """ + return pulumi.get(self, "platform_type") + + @property + @pulumi.getter(name="servicesCollections") + def services_collections(self) -> Sequence['outputs.GetServicesServicesCollectionResult']: + """ + The list of services_collection. + """ + return pulumi.get(self, "services_collections") + + +class AwaitableGetServicesResult(GetServicesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServicesResult( + comms_manager_name=self.comms_manager_name, + compartment_id=self.compartment_id, + filters=self.filters, + id=self.id, + platform_type=self.platform_type, + services_collections=self.services_collections) + + +def get_services(comms_manager_name: Optional[str] = None, + compartment_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetServicesFilterArgs', 'GetServicesFilterArgsDict']]] = None, + platform_type: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServicesResult: + """ + This data source provides the list of Services in Oracle Cloud Infrastructure. + + List all OCI services + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_services = oci.AnnouncementsService.get_services(compartment_id=compartment_id, + comms_manager_name=service_comms_manager_name, + platform_type=service_platform_type) + ``` + + + :param str comms_manager_name: Filter by comms manager name + :param str compartment_id: The OCID of the root compartment/tenancy. + :param str platform_type: A filter to return only services underlying a specific platform. + """ + __args__ = dict() + __args__['commsManagerName'] = comms_manager_name + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + __args__['platformType'] = platform_type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:AnnouncementsService/getServices:getServices', __args__, opts=opts, typ=GetServicesResult).value + + return AwaitableGetServicesResult( + comms_manager_name=pulumi.get(__ret__, 'comms_manager_name'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + platform_type=pulumi.get(__ret__, 'platform_type'), + services_collections=pulumi.get(__ret__, 'services_collections')) + + +@_utilities.lift_output_func(get_services) +def get_services_output(comms_manager_name: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetServicesFilterArgs', 'GetServicesFilterArgsDict']]]]] = None, + platform_type: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServicesResult]: + """ + This data source provides the list of Services in Oracle Cloud Infrastructure. + + List all OCI services + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_services = oci.AnnouncementsService.get_services(compartment_id=compartment_id, + comms_manager_name=service_comms_manager_name, + platform_type=service_platform_type) + ``` + + + :param str comms_manager_name: Filter by comms manager name + :param str compartment_id: The OCID of the root compartment/tenancy. + :param str platform_type: A filter to return only services underlying a specific platform. + """ + ... diff --git a/sdk/python/pulumi_oci/announcementsservice/outputs.py b/sdk/python/pulumi_oci/announcementsservice/outputs.py index 56fafd2496..0aba3294f3 100644 --- a/sdk/python/pulumi_oci/announcementsservice/outputs.py +++ b/sdk/python/pulumi_oci/announcementsservice/outputs.py @@ -21,6 +21,9 @@ 'GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupResult', 'GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterResult', 'GetAnnouncementSubscriptionsFilterResult', + 'GetServicesFilterResult', + 'GetServicesServicesCollectionResult', + 'GetServicesServicesCollectionItemResult', ] @pulumi.output_type @@ -29,7 +32,7 @@ def __init__(__self__, *, filters: Sequence['outputs.AnnouncementSubscriptionFilterGroupsFilter'], name: Optional[str] = None): """ - :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 Sequence['AnnouncementSubscriptionFilterGroupsFilterArgs'] filters: A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. :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) @@ -40,7 +43,7 @@ def __init__(__self__, *, @pulumi.getter def filters(self) -> Sequence['outputs.AnnouncementSubscriptionFilterGroupsFilter']: """ - 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. + A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. """ return pulumi.get(self, "filters") @@ -59,7 +62,7 @@ def __init__(__self__, *, type: str, value: str): """ - :param str type: The type of filter. + :param str type: The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. :param str value: The value of the filter. """ pulumi.set(__self__, "type", type) @@ -69,7 +72,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> str: """ - The type of filter. + The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. """ return pulumi.get(self, "type") @@ -88,7 +91,7 @@ def __init__(__self__, *, type: str, value: str): """ - :param str type: (Updatable) The type of filter. + :param str type: (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. :param str value: (Updatable) The value of the filter. """ pulumi.set(__self__, "type", type) @@ -98,7 +101,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> str: """ - (Updatable) The type of filter. + (Updatable) The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. """ return pulumi.get(self, "type") @@ -117,7 +120,7 @@ def __init__(__self__, *, filters: Sequence['outputs.GetAnnouncementSubscriptionFilterGroupFilterResult'], name: str): """ - :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 Sequence['GetAnnouncementSubscriptionFilterGroupFilterArgs'] filters: A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. :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) @@ -127,7 +130,7 @@ def __init__(__self__, *, @pulumi.getter def filters(self) -> Sequence['outputs.GetAnnouncementSubscriptionFilterGroupFilterResult']: """ - 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. + A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. """ return pulumi.get(self, "filters") @@ -146,7 +149,7 @@ def __init__(__self__, *, type: str, value: str): """ - :param str type: The type of filter. + :param str type: The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. :param str value: The value of the filter. """ pulumi.set(__self__, "type", type) @@ -156,7 +159,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> str: """ - The type of filter. + The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. """ return pulumi.get(self, "type") @@ -209,8 +212,8 @@ def __init__(__self__, *, :param str id: The OCID of the announcement subscription. :param str lifecycle_details: A message describing the current lifecycle state in more detail. For example, details might provide required or recommended actions for a resource in a Failed state. :param str ons_topic_id: The OCID of the Notifications service topic that is the target for publishing announcements that match the configured announcement subscription. - :param str preferred_language: (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. - :param str preferred_time_zone: The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + :param str preferred_language: (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. + :param str preferred_time_zone: The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles :param str state: A filter to return only announcement subscriptions that match the given lifecycle state. :param Mapping[str, str] 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 date and time that the announcement subscription was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. @@ -308,7 +311,7 @@ def ons_topic_id(self) -> str: @pulumi.getter(name="preferredLanguage") def preferred_language(self) -> str: """ - (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR. + (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR. """ return pulumi.get(self, "preferred_language") @@ -316,7 +319,7 @@ def preferred_language(self) -> str: @pulumi.getter(name="preferredTimeZone") def preferred_time_zone(self) -> str: """ - The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles. + The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles """ return pulumi.get(self, "preferred_time_zone") @@ -359,7 +362,7 @@ def __init__(__self__, *, filters: Sequence['outputs.GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterResult'], name: str): """ - :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 Sequence['GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterArgs'] filters: A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. :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) @@ -369,7 +372,7 @@ def __init__(__self__, *, @pulumi.getter def filters(self) -> Sequence['outputs.GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterResult']: """ - 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. + A list of filters against which the Announcements service matches announcements. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. """ return pulumi.get(self, "filters") @@ -388,7 +391,7 @@ def __init__(__self__, *, type: str, value: str): """ - :param str type: The type of filter. + :param str type: The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. :param str value: The value of the filter. """ pulumi.set(__self__, "type", type) @@ -398,7 +401,7 @@ def __init__(__self__, *, @pulumi.getter def type(self) -> str: """ - The type of filter. + The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually. """ return pulumi.get(self, "type") @@ -444,3 +447,177 @@ def regex(self) -> Optional[bool]: return pulumi.get(self, "regex") +@pulumi.output_type +class GetServicesFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetServicesServicesCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetServicesServicesCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetServicesServicesCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetServicesServicesCollectionItemResult(dict): + def __init__(__self__, *, + comms_manager_name: str, + excluded_realms: Sequence[str], + id: str, + platform_type: str, + previous_service_names: Sequence[str], + service_name: str, + short_name: str, + state: str, + team_name: str, + time_created: str, + time_updated: str, + type: str): + """ + :param str comms_manager_name: Filter by comms manager name + :param Sequence[str] excluded_realms: The list of realms where this service is not available to be used. + :param str id: ID of the service object. + :param str platform_type: A filter to return only services underlying a specific platform. + :param Sequence[str] previous_service_names: The list of previously used names for this service object. + :param str service_name: Name of the service represented by this object. + :param str short_name: Short name of the team to whom this service object is related. + :param str state: Current state of the service object. + :param str team_name: Team name to which this service object is related. + :param str time_created: The date and time when the service object was created. + :param str time_updated: The date and time when the service object was updated. + """ + pulumi.set(__self__, "comms_manager_name", comms_manager_name) + pulumi.set(__self__, "excluded_realms", excluded_realms) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "platform_type", platform_type) + pulumi.set(__self__, "previous_service_names", previous_service_names) + pulumi.set(__self__, "service_name", service_name) + pulumi.set(__self__, "short_name", short_name) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "team_name", team_name) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "time_updated", time_updated) + pulumi.set(__self__, "type", type) + + @property + @pulumi.getter(name="commsManagerName") + def comms_manager_name(self) -> str: + """ + Filter by comms manager name + """ + return pulumi.get(self, "comms_manager_name") + + @property + @pulumi.getter(name="excludedRealms") + def excluded_realms(self) -> Sequence[str]: + """ + The list of realms where this service is not available to be used. + """ + return pulumi.get(self, "excluded_realms") + + @property + @pulumi.getter + def id(self) -> str: + """ + ID of the service object. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="platformType") + def platform_type(self) -> str: + """ + A filter to return only services underlying a specific platform. + """ + return pulumi.get(self, "platform_type") + + @property + @pulumi.getter(name="previousServiceNames") + def previous_service_names(self) -> Sequence[str]: + """ + The list of previously used names for this service object. + """ + return pulumi.get(self, "previous_service_names") + + @property + @pulumi.getter(name="serviceName") + def service_name(self) -> str: + """ + Name of the service represented by this object. + """ + return pulumi.get(self, "service_name") + + @property + @pulumi.getter(name="shortName") + def short_name(self) -> str: + """ + Short name of the team to whom this service object is related. + """ + return pulumi.get(self, "short_name") + + @property + @pulumi.getter + def state(self) -> str: + """ + Current state of the service object. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="teamName") + def team_name(self) -> str: + """ + Team name to which this service object is related. + """ + return pulumi.get(self, "team_name") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time when the service object was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time when the service object was updated. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter + def type(self) -> str: + return pulumi.get(self, "type") + + diff --git a/sdk/python/pulumi_oci/bigdataservice/_inputs.py b/sdk/python/pulumi_oci/bigdataservice/_inputs.py index 3b539f9acc..8ccd405b4d 100644 --- a/sdk/python/pulumi_oci/bigdataservice/_inputs.py +++ b/sdk/python/pulumi_oci/bigdataservice/_inputs.py @@ -1217,10 +1217,7 @@ def __init__(__self__, *, 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, - odh_version: Optional[pulumi.Input[str]] = None, - os_version: Optional[pulumi.Input[str]] = None, - ssh_fingerprint: Optional[pulumi.Input[str]] = None): + ocpus: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input[str] shape: Shape of the node :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. @@ -1230,9 +1227,6 @@ def __init__(__self__, *, :param pulumi.Input[int] memory_in_gbs: The total amount of memory available to the node, in gigabytes. :param pulumi.Input[int] nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param pulumi.Input[int] ocpus: The total number of OCPUs available to the node. - :param pulumi.Input[str] odh_version: Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - :param pulumi.Input[str] os_version: BDS-assigned Operating System version for the node. - :param pulumi.Input[str] ssh_fingerprint: The fingerprint of the SSH key used for node access """ pulumi.set(__self__, "shape", shape) if block_volume_size_in_gbs is not None: @@ -1249,12 +1243,6 @@ def __init__(__self__, *, pulumi.set(__self__, "nvmes", nvmes) if ocpus is not None: pulumi.set(__self__, "ocpus", ocpus) - if odh_version is not None: - pulumi.set(__self__, "odh_version", odh_version) - if os_version is not None: - pulumi.set(__self__, "os_version", os_version) - if ssh_fingerprint is not None: - pulumi.set(__self__, "ssh_fingerprint", ssh_fingerprint) @property @pulumi.getter @@ -1352,42 +1340,6 @@ def ocpus(self) -> Optional[pulumi.Input[int]]: def ocpus(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "ocpus", value) - @property - @pulumi.getter(name="odhVersion") - def odh_version(self) -> Optional[pulumi.Input[str]]: - """ - Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - """ - return pulumi.get(self, "odh_version") - - @odh_version.setter - def odh_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "odh_version", value) - - @property - @pulumi.getter(name="osVersion") - def os_version(self) -> Optional[pulumi.Input[str]]: - """ - BDS-assigned Operating System version for the node. - """ - return pulumi.get(self, "os_version") - - @os_version.setter - def os_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "os_version", value) - - @property - @pulumi.getter(name="sshFingerprint") - def ssh_fingerprint(self) -> Optional[pulumi.Input[str]]: - """ - The fingerprint of the SSH key used for node access - """ - return pulumi.get(self, "ssh_fingerprint") - - @ssh_fingerprint.setter - def ssh_fingerprint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ssh_fingerprint", value) - @pulumi.input_type class BdsInstanceCloudSqlDetailKerberosDetailArgs: diff --git a/sdk/python/pulumi_oci/bigdataservice/bds_instance.py b/sdk/python/pulumi_oci/bigdataservice/bds_instance.py index 235e160111..13c6427aeb 100644 --- a/sdk/python/pulumi_oci/bigdataservice/bds_instance.py +++ b/sdk/python/pulumi_oci/bigdataservice/bds_instance.py @@ -26,14 +26,12 @@ def __init__(__self__, *, master_node: pulumi.Input['BdsInstanceMasterNodeArgs'], util_node: pulumi.Input['BdsInstanceUtilNodeArgs'], worker_node: pulumi.Input['BdsInstanceWorkerNodeArgs'], - add_kafka_trigger: Optional[pulumi.Input[int]] = None, 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, pulumi.Input[str]]]] = None, edge_node: Optional[pulumi.Input['BdsInstanceEdgeNodeArgs']] = None, - execute_bootstrap_script_trigger: Optional[pulumi.Input[int]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, ignore_existing_nodes_shapes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cloud_sql_configured: Optional[pulumi.Input[bool]] = None, @@ -44,7 +42,6 @@ def __init__(__self__, *, kms_key_id: Optional[pulumi.Input[str]] = None, network_config: Optional[pulumi.Input['BdsInstanceNetworkConfigArgs']] = None, os_patch_version: Optional[pulumi.Input[str]] = None, - remove_kafka_trigger: Optional[pulumi.Input[int]] = None, state: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a BdsInstance resource. @@ -61,7 +58,6 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['BdsInstanceCloudSqlDetailArgs']]] cloud_sql_details: The information about added Cloud SQL capability :param pulumi.Input[str] cluster_profile: Profile of the Big Data Service cluster. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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[int] execute_bootstrap_script_trigger: (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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]]] ignore_existing_nodes_shapes: Tag to ignore changing the shape of existing worker, master, utility, compute_only_worker, edge, kafka_broker nodes, in a list format, when new nodes are added with a different shape. :param pulumi.Input[bool] is_cloud_sql_configured: (Updatable) Boolean flag specifying whether we configure Cloud SQL or not @@ -72,7 +68,6 @@ def __init__(__self__, *, :param pulumi.Input[str] kms_key_id: (Updatable) The OCID of the Key Management master encryption key. :param pulumi.Input['BdsInstanceNetworkConfigArgs'] network_config: Additional configuration of the user's network. :param pulumi.Input[str] os_patch_version: (Updatable) The version of the patch to be upated. - :param pulumi.Input[int] remove_kafka_trigger: (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. :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) @@ -85,8 +80,6 @@ def __init__(__self__, *, pulumi.set(__self__, "master_node", master_node) pulumi.set(__self__, "util_node", util_node) pulumi.set(__self__, "worker_node", worker_node) - if add_kafka_trigger is not None: - pulumi.set(__self__, "add_kafka_trigger", add_kafka_trigger) if bootstrap_script_url is not None: pulumi.set(__self__, "bootstrap_script_url", bootstrap_script_url) if cloud_sql_details is not None: @@ -99,8 +92,6 @@ def __init__(__self__, *, pulumi.set(__self__, "defined_tags", defined_tags) if edge_node is not None: pulumi.set(__self__, "edge_node", edge_node) - if execute_bootstrap_script_trigger is not None: - pulumi.set(__self__, "execute_bootstrap_script_trigger", execute_bootstrap_script_trigger) if freeform_tags is not None: pulumi.set(__self__, "freeform_tags", freeform_tags) if ignore_existing_nodes_shapes is not None: @@ -121,8 +112,6 @@ def __init__(__self__, *, pulumi.set(__self__, "network_config", network_config) if os_patch_version is not None: pulumi.set(__self__, "os_patch_version", os_patch_version) - if remove_kafka_trigger is not None: - pulumi.set(__self__, "remove_kafka_trigger", remove_kafka_trigger) if state is not None: pulumi.set(__self__, "state", state) @@ -243,15 +232,6 @@ def worker_node(self) -> pulumi.Input['BdsInstanceWorkerNodeArgs']: def worker_node(self, value: pulumi.Input['BdsInstanceWorkerNodeArgs']): pulumi.set(self, "worker_node", value) - @property - @pulumi.getter(name="addKafkaTrigger") - def add_kafka_trigger(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "add_kafka_trigger") - - @add_kafka_trigger.setter - def add_kafka_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "add_kafka_trigger", value) - @property @pulumi.getter(name="bootstrapScriptUrl") def bootstrap_script_url(self) -> Optional[pulumi.Input[str]]: @@ -318,18 +298,6 @@ def edge_node(self) -> Optional[pulumi.Input['BdsInstanceEdgeNodeArgs']]: def edge_node(self, value: Optional[pulumi.Input['BdsInstanceEdgeNodeArgs']]): pulumi.set(self, "edge_node", value) - @property - @pulumi.getter(name="executeBootstrapScriptTrigger") - def execute_bootstrap_script_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - """ - return pulumi.get(self, "execute_bootstrap_script_trigger") - - @execute_bootstrap_script_trigger.setter - def execute_bootstrap_script_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "execute_bootstrap_script_trigger", value) - @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -450,18 +418,6 @@ def os_patch_version(self) -> Optional[pulumi.Input[str]]: def os_patch_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "os_patch_version", value) - @property - @pulumi.getter(name="removeKafkaTrigger") - def remove_kafka_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - """ - return pulumi.get(self, "remove_kafka_trigger") - - @remove_kafka_trigger.setter - def remove_kafka_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "remove_kafka_trigger", value) - @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: @@ -478,7 +434,6 @@ def state(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class _BdsInstanceState: def __init__(__self__, *, - add_kafka_trigger: Optional[pulumi.Input[int]] = 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, @@ -492,7 +447,6 @@ def __init__(__self__, *, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, edge_node: Optional[pulumi.Input['BdsInstanceEdgeNodeArgs']] = None, - execute_bootstrap_script_trigger: Optional[pulumi.Input[int]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, ignore_existing_nodes_shapes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cloud_sql_configured: Optional[pulumi.Input[bool]] = None, @@ -509,7 +463,6 @@ def __init__(__self__, *, 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, - remove_kafka_trigger: Optional[pulumi.Input[int]] = None, state: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None, time_updated: Optional[pulumi.Input[str]] = None, @@ -528,7 +481,6 @@ def __init__(__self__, *, :param pulumi.Input[str] created_by: The user who created the cluster. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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) Name of the BDS instance - :param pulumi.Input[int] execute_bootstrap_script_trigger: (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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]]] ignore_existing_nodes_shapes: Tag to ignore changing the shape of existing worker, master, utility, compute_only_worker, edge, kafka_broker nodes, in a list format, when new nodes are added with a different shape. :param pulumi.Input[bool] is_cloud_sql_configured: (Updatable) Boolean flag specifying whether we configure Cloud SQL or not @@ -545,14 +497,11 @@ def __init__(__self__, *, :param pulumi.Input[int] number_of_nodes: Number of nodes that forming the cluster :param pulumi.Input[int] number_of_nodes_requiring_maintenance_reboot: Number of nodes that require a maintenance reboot :param pulumi.Input[str] os_patch_version: (Updatable) The version of the patch to be upated. - :param pulumi.Input[int] remove_kafka_trigger: (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. :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. :param pulumi.Input[str] time_created: The time the BDS instance was created. An RFC3339 formatted datetime string :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 """ - if add_kafka_trigger is not None: - pulumi.set(__self__, "add_kafka_trigger", add_kafka_trigger) if bootstrap_script_url is not None: pulumi.set(__self__, "bootstrap_script_url", bootstrap_script_url) if cloud_sql_details is not None: @@ -579,8 +528,6 @@ def __init__(__self__, *, pulumi.set(__self__, "display_name", display_name) if edge_node is not None: pulumi.set(__self__, "edge_node", edge_node) - if execute_bootstrap_script_trigger is not None: - pulumi.set(__self__, "execute_bootstrap_script_trigger", execute_bootstrap_script_trigger) if freeform_tags is not None: pulumi.set(__self__, "freeform_tags", freeform_tags) if ignore_existing_nodes_shapes is not None: @@ -613,8 +560,6 @@ def __init__(__self__, *, pulumi.set(__self__, "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) - if remove_kafka_trigger is not None: - pulumi.set(__self__, "remove_kafka_trigger", remove_kafka_trigger) if state is not None: pulumi.set(__self__, "state", state) if time_created is not None: @@ -626,15 +571,6 @@ def __init__(__self__, *, if worker_node is not None: pulumi.set(__self__, "worker_node", worker_node) - @property - @pulumi.getter(name="addKafkaTrigger") - def add_kafka_trigger(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "add_kafka_trigger") - - @add_kafka_trigger.setter - def add_kafka_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "add_kafka_trigger", value) - @property @pulumi.getter(name="bootstrapScriptUrl") def bootstrap_script_url(self) -> Optional[pulumi.Input[str]]: @@ -785,18 +721,6 @@ def edge_node(self) -> Optional[pulumi.Input['BdsInstanceEdgeNodeArgs']]: def edge_node(self, value: Optional[pulumi.Input['BdsInstanceEdgeNodeArgs']]): pulumi.set(self, "edge_node", value) - @property - @pulumi.getter(name="executeBootstrapScriptTrigger") - def execute_bootstrap_script_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - """ - return pulumi.get(self, "execute_bootstrap_script_trigger") - - @execute_bootstrap_script_trigger.setter - def execute_bootstrap_script_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "execute_bootstrap_script_trigger", value) - @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -989,18 +913,6 @@ def os_patch_version(self) -> Optional[pulumi.Input[str]]: def os_patch_version(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "os_patch_version", value) - @property - @pulumi.getter(name="removeKafkaTrigger") - def remove_kafka_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - """ - return pulumi.get(self, "remove_kafka_trigger") - - @remove_kafka_trigger.setter - def remove_kafka_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "remove_kafka_trigger", value) - @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: @@ -1064,7 +976,6 @@ class BdsInstance(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - add_kafka_trigger: Optional[pulumi.Input[int]] = None, bootstrap_script_url: Optional[pulumi.Input[str]] = None, cloud_sql_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BdsInstanceCloudSqlDetailArgs', 'BdsInstanceCloudSqlDetailArgsDict']]]]] = None, cluster_admin_password: Optional[pulumi.Input[str]] = None, @@ -1076,7 +987,6 @@ def __init__(__self__, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, edge_node: Optional[pulumi.Input[Union['BdsInstanceEdgeNodeArgs', 'BdsInstanceEdgeNodeArgsDict']]] = None, - execute_bootstrap_script_trigger: Optional[pulumi.Input[int]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, ignore_existing_nodes_shapes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cloud_sql_configured: Optional[pulumi.Input[bool]] = None, @@ -1090,7 +1000,6 @@ def __init__(__self__, master_node: Optional[pulumi.Input[Union['BdsInstanceMasterNodeArgs', 'BdsInstanceMasterNodeArgsDict']]] = None, network_config: Optional[pulumi.Input[Union['BdsInstanceNetworkConfigArgs', 'BdsInstanceNetworkConfigArgsDict']]] = None, os_patch_version: Optional[pulumi.Input[str]] = None, - remove_kafka_trigger: Optional[pulumi.Input[int]] = None, state: Optional[pulumi.Input[str]] = None, util_node: Optional[pulumi.Input[Union['BdsInstanceUtilNodeArgs', 'BdsInstanceUtilNodeArgsDict']]] = None, worker_node: Optional[pulumi.Input[Union['BdsInstanceWorkerNodeArgs', 'BdsInstanceWorkerNodeArgsDict']]] = None, @@ -1119,7 +1028,6 @@ def __init__(__self__, :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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) Name of the BDS instance - :param pulumi.Input[int] execute_bootstrap_script_trigger: (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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]]] ignore_existing_nodes_shapes: Tag to ignore changing the shape of existing worker, master, utility, compute_only_worker, edge, kafka_broker nodes, in a list format, when new nodes are added with a different shape. :param pulumi.Input[bool] is_cloud_sql_configured: (Updatable) Boolean flag specifying whether we configure Cloud SQL or not @@ -1133,7 +1041,6 @@ def __init__(__self__, :param pulumi.Input[Union['BdsInstanceMasterNodeArgs', 'BdsInstanceMasterNodeArgsDict']] master_node: The master node in the BDS instance :param pulumi.Input[Union['BdsInstanceNetworkConfigArgs', 'BdsInstanceNetworkConfigArgsDict']] network_config: Additional configuration of the user's network. :param pulumi.Input[str] os_patch_version: (Updatable) The version of the patch to be upated. - :param pulumi.Input[int] remove_kafka_trigger: (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. :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. :param pulumi.Input[Union['BdsInstanceUtilNodeArgs', 'BdsInstanceUtilNodeArgsDict']] util_node: The utility node in the BDS instance """ @@ -1171,7 +1078,6 @@ def __init__(__self__, resource_name: str, *args, **kwargs): def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, - add_kafka_trigger: Optional[pulumi.Input[int]] = None, bootstrap_script_url: Optional[pulumi.Input[str]] = None, cloud_sql_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BdsInstanceCloudSqlDetailArgs', 'BdsInstanceCloudSqlDetailArgsDict']]]]] = None, cluster_admin_password: Optional[pulumi.Input[str]] = None, @@ -1183,7 +1089,6 @@ def _internal_init(__self__, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, edge_node: Optional[pulumi.Input[Union['BdsInstanceEdgeNodeArgs', 'BdsInstanceEdgeNodeArgsDict']]] = None, - execute_bootstrap_script_trigger: Optional[pulumi.Input[int]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, ignore_existing_nodes_shapes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cloud_sql_configured: Optional[pulumi.Input[bool]] = None, @@ -1197,7 +1102,6 @@ def _internal_init(__self__, master_node: Optional[pulumi.Input[Union['BdsInstanceMasterNodeArgs', 'BdsInstanceMasterNodeArgsDict']]] = None, network_config: Optional[pulumi.Input[Union['BdsInstanceNetworkConfigArgs', 'BdsInstanceNetworkConfigArgsDict']]] = None, os_patch_version: Optional[pulumi.Input[str]] = None, - remove_kafka_trigger: Optional[pulumi.Input[int]] = None, state: Optional[pulumi.Input[str]] = None, util_node: Optional[pulumi.Input[Union['BdsInstanceUtilNodeArgs', 'BdsInstanceUtilNodeArgsDict']]] = None, worker_node: Optional[pulumi.Input[Union['BdsInstanceWorkerNodeArgs', 'BdsInstanceWorkerNodeArgsDict']]] = None, @@ -1210,7 +1114,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__ = BdsInstanceArgs.__new__(BdsInstanceArgs) - __props__.__dict__["add_kafka_trigger"] = add_kafka_trigger __props__.__dict__["bootstrap_script_url"] = bootstrap_script_url __props__.__dict__["cloud_sql_details"] = cloud_sql_details if cluster_admin_password is None and not opts.urn: @@ -1232,7 +1135,6 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["edge_node"] = edge_node - __props__.__dict__["execute_bootstrap_script_trigger"] = execute_bootstrap_script_trigger __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["ignore_existing_nodes_shapes"] = ignore_existing_nodes_shapes __props__.__dict__["is_cloud_sql_configured"] = is_cloud_sql_configured @@ -1252,7 +1154,6 @@ def _internal_init(__self__, __props__.__dict__["master_node"] = master_node __props__.__dict__["network_config"] = network_config __props__.__dict__["os_patch_version"] = os_patch_version - __props__.__dict__["remove_kafka_trigger"] = remove_kafka_trigger __props__.__dict__["state"] = state if util_node is None and not opts.urn: raise TypeError("Missing required property 'util_node'") @@ -1279,7 +1180,6 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, - add_kafka_trigger: Optional[pulumi.Input[int]] = None, bootstrap_script_url: Optional[pulumi.Input[str]] = None, cloud_sql_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BdsInstanceCloudSqlDetailArgs', 'BdsInstanceCloudSqlDetailArgsDict']]]]] = None, cluster_admin_password: Optional[pulumi.Input[str]] = None, @@ -1293,7 +1193,6 @@ def get(resource_name: str, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, edge_node: Optional[pulumi.Input[Union['BdsInstanceEdgeNodeArgs', 'BdsInstanceEdgeNodeArgsDict']]] = None, - execute_bootstrap_script_trigger: Optional[pulumi.Input[int]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, ignore_existing_nodes_shapes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, is_cloud_sql_configured: Optional[pulumi.Input[bool]] = None, @@ -1310,7 +1209,6 @@ def get(resource_name: str, 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, - remove_kafka_trigger: Optional[pulumi.Input[int]] = None, state: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None, time_updated: Optional[pulumi.Input[str]] = None, @@ -1334,7 +1232,6 @@ def get(resource_name: str, :param pulumi.Input[str] created_by: The user who created the cluster. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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) Name of the BDS instance - :param pulumi.Input[int] execute_bootstrap_script_trigger: (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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]]] ignore_existing_nodes_shapes: Tag to ignore changing the shape of existing worker, master, utility, compute_only_worker, edge, kafka_broker nodes, in a list format, when new nodes are added with a different shape. :param pulumi.Input[bool] is_cloud_sql_configured: (Updatable) Boolean flag specifying whether we configure Cloud SQL or not @@ -1351,7 +1248,6 @@ def get(resource_name: str, :param pulumi.Input[int] number_of_nodes: Number of nodes that forming the cluster :param pulumi.Input[int] number_of_nodes_requiring_maintenance_reboot: Number of nodes that require a maintenance reboot :param pulumi.Input[str] os_patch_version: (Updatable) The version of the patch to be upated. - :param pulumi.Input[int] remove_kafka_trigger: (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. :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. :param pulumi.Input[str] time_created: The time the BDS instance was created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time the BDS instance was updated. An RFC3339 formatted datetime string @@ -1361,7 +1257,6 @@ def get(resource_name: str, __props__ = _BdsInstanceState.__new__(_BdsInstanceState) - __props__.__dict__["add_kafka_trigger"] = add_kafka_trigger __props__.__dict__["bootstrap_script_url"] = bootstrap_script_url __props__.__dict__["cloud_sql_details"] = cloud_sql_details __props__.__dict__["cluster_admin_password"] = cluster_admin_password @@ -1375,7 +1270,6 @@ def get(resource_name: str, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["edge_node"] = edge_node - __props__.__dict__["execute_bootstrap_script_trigger"] = execute_bootstrap_script_trigger __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["ignore_existing_nodes_shapes"] = ignore_existing_nodes_shapes __props__.__dict__["is_cloud_sql_configured"] = is_cloud_sql_configured @@ -1392,7 +1286,6 @@ def get(resource_name: str, __props__.__dict__["number_of_nodes"] = number_of_nodes __props__.__dict__["number_of_nodes_requiring_maintenance_reboot"] = number_of_nodes_requiring_maintenance_reboot __props__.__dict__["os_patch_version"] = os_patch_version - __props__.__dict__["remove_kafka_trigger"] = remove_kafka_trigger __props__.__dict__["state"] = state __props__.__dict__["time_created"] = time_created __props__.__dict__["time_updated"] = time_updated @@ -1400,11 +1293,6 @@ def get(resource_name: str, __props__.__dict__["worker_node"] = worker_node return BdsInstance(resource_name, opts=opts, __props__=__props__) - @property - @pulumi.getter(name="addKafkaTrigger") - def add_kafka_trigger(self) -> pulumi.Output[Optional[int]]: - return pulumi.get(self, "add_kafka_trigger") - @property @pulumi.getter(name="bootstrapScriptUrl") def bootstrap_script_url(self) -> pulumi.Output[str]: @@ -1503,14 +1391,6 @@ def display_name(self) -> pulumi.Output[str]: def edge_node(self) -> pulumi.Output[Optional['outputs.BdsInstanceEdgeNode']]: return pulumi.get(self, "edge_node") - @property - @pulumi.getter(name="executeBootstrapScriptTrigger") - def execute_bootstrap_script_trigger(self) -> pulumi.Output[Optional[int]]: - """ - (Updatable) An optional property when incremented triggers Execute Bootstrap Script. Could be set to any integer value. - """ - return pulumi.get(self, "execute_bootstrap_script_trigger") - @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: @@ -1639,14 +1519,6 @@ def os_patch_version(self) -> pulumi.Output[Optional[str]]: """ return pulumi.get(self, "os_patch_version") - @property - @pulumi.getter(name="removeKafkaTrigger") - def remove_kafka_trigger(self) -> pulumi.Output[Optional[int]]: - """ - (Updatable) An optional property when incremented triggers Remove Kafka. Could be set to any integer value. - """ - return pulumi.get(self, "remove_kafka_trigger") - @property @pulumi.getter def state(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance.py index da043767ba..cbefe4a635 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance.py @@ -22,10 +22,7 @@ class GetBdsInstanceResult: """ A collection of values returned by getBdsInstance. """ - def __init__(__self__, add_kafka_trigger=None, bds_instance_id=None, bootstrap_script_url=None, cloud_sql_details=None, cluster_admin_password=None, cluster_details=None, cluster_profile=None, cluster_public_key=None, cluster_version=None, compartment_id=None, compute_only_worker_nodes=None, created_by=None, defined_tags=None, display_name=None, edge_nodes=None, execute_bootstrap_script_trigger=None, freeform_tags=None, id=None, ignore_existing_nodes_shapes=None, is_cloud_sql_configured=None, is_force_stop_jobs=None, is_high_availability=None, is_kafka_configured=None, is_secure=None, kafka_broker_nodes=None, kerberos_realm_name=None, kms_key_id=None, master_nodes=None, network_configs=None, nodes=None, number_of_nodes=None, number_of_nodes_requiring_maintenance_reboot=None, os_patch_version=None, remove_kafka_trigger=None, state=None, time_created=None, time_updated=None, util_nodes=None, worker_nodes=None): - if add_kafka_trigger and not isinstance(add_kafka_trigger, int): - raise TypeError("Expected argument 'add_kafka_trigger' to be a int") - pulumi.set(__self__, "add_kafka_trigger", add_kafka_trigger) + def __init__(__self__, bds_instance_id=None, bootstrap_script_url=None, cloud_sql_details=None, cluster_admin_password=None, cluster_details=None, cluster_profile=None, cluster_public_key=None, cluster_version=None, compartment_id=None, compute_only_worker_nodes=None, created_by=None, defined_tags=None, display_name=None, edge_nodes=None, freeform_tags=None, id=None, ignore_existing_nodes_shapes=None, is_cloud_sql_configured=None, is_force_stop_jobs=None, is_high_availability=None, is_kafka_configured=None, is_secure=None, kafka_broker_nodes=None, kerberos_realm_name=None, kms_key_id=None, master_nodes=None, network_configs=None, nodes=None, number_of_nodes=None, number_of_nodes_requiring_maintenance_reboot=None, os_patch_version=None, state=None, time_created=None, time_updated=None, util_nodes=None, worker_nodes=None): if bds_instance_id and not isinstance(bds_instance_id, str): raise TypeError("Expected argument 'bds_instance_id' to be a str") pulumi.set(__self__, "bds_instance_id", bds_instance_id) @@ -68,9 +65,6 @@ def __init__(__self__, add_kafka_trigger=None, bds_instance_id=None, bootstrap_s if edge_nodes and not isinstance(edge_nodes, list): raise TypeError("Expected argument 'edge_nodes' to be a list") pulumi.set(__self__, "edge_nodes", edge_nodes) - if execute_bootstrap_script_trigger and not isinstance(execute_bootstrap_script_trigger, int): - raise TypeError("Expected argument 'execute_bootstrap_script_trigger' to be a int") - pulumi.set(__self__, "execute_bootstrap_script_trigger", execute_bootstrap_script_trigger) 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) @@ -122,9 +116,6 @@ def __init__(__self__, add_kafka_trigger=None, bds_instance_id=None, bootstrap_s if os_patch_version and not isinstance(os_patch_version, str): raise TypeError("Expected argument 'os_patch_version' to be a str") pulumi.set(__self__, "os_patch_version", os_patch_version) - if remove_kafka_trigger and not isinstance(remove_kafka_trigger, int): - raise TypeError("Expected argument 'remove_kafka_trigger' to be a int") - pulumi.set(__self__, "remove_kafka_trigger", remove_kafka_trigger) if state and not isinstance(state, str): raise TypeError("Expected argument 'state' to be a str") pulumi.set(__self__, "state", state) @@ -141,11 +132,6 @@ def __init__(__self__, add_kafka_trigger=None, bds_instance_id=None, bootstrap_s raise TypeError("Expected argument 'worker_nodes' to be a list") pulumi.set(__self__, "worker_nodes", worker_nodes) - @property - @pulumi.getter(name="addKafkaTrigger") - def add_kafka_trigger(self) -> int: - return pulumi.get(self, "add_kafka_trigger") - @property @pulumi.getter(name="bdsInstanceId") def bds_instance_id(self) -> str: @@ -243,11 +229,6 @@ def display_name(self) -> str: def edge_nodes(self) -> Sequence['outputs.GetBdsInstanceEdgeNodeResult']: return pulumi.get(self, "edge_nodes") - @property - @pulumi.getter(name="executeBootstrapScriptTrigger") - def execute_bootstrap_script_trigger(self) -> int: - return pulumi.get(self, "execute_bootstrap_script_trigger") - @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Mapping[str, str]: @@ -366,11 +347,6 @@ def number_of_nodes_requiring_maintenance_reboot(self) -> int: def os_patch_version(self) -> str: return pulumi.get(self, "os_patch_version") - @property - @pulumi.getter(name="removeKafkaTrigger") - def remove_kafka_trigger(self) -> int: - return pulumi.get(self, "remove_kafka_trigger") - @property @pulumi.getter def state(self) -> str: @@ -412,7 +388,6 @@ def __await__(self): if False: yield self return GetBdsInstanceResult( - add_kafka_trigger=self.add_kafka_trigger, bds_instance_id=self.bds_instance_id, bootstrap_script_url=self.bootstrap_script_url, cloud_sql_details=self.cloud_sql_details, @@ -427,7 +402,6 @@ def __await__(self): defined_tags=self.defined_tags, display_name=self.display_name, edge_nodes=self.edge_nodes, - execute_bootstrap_script_trigger=self.execute_bootstrap_script_trigger, freeform_tags=self.freeform_tags, id=self.id, ignore_existing_nodes_shapes=self.ignore_existing_nodes_shapes, @@ -445,7 +419,6 @@ def __await__(self): number_of_nodes=self.number_of_nodes, number_of_nodes_requiring_maintenance_reboot=self.number_of_nodes_requiring_maintenance_reboot, os_patch_version=self.os_patch_version, - remove_kafka_trigger=self.remove_kafka_trigger, state=self.state, time_created=self.time_created, time_updated=self.time_updated, @@ -478,7 +451,6 @@ def get_bds_instance(bds_instance_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('oci:BigDataService/getBdsInstance:getBdsInstance', __args__, opts=opts, typ=GetBdsInstanceResult).value return AwaitableGetBdsInstanceResult( - add_kafka_trigger=pulumi.get(__ret__, 'add_kafka_trigger'), bds_instance_id=pulumi.get(__ret__, 'bds_instance_id'), bootstrap_script_url=pulumi.get(__ret__, 'bootstrap_script_url'), cloud_sql_details=pulumi.get(__ret__, 'cloud_sql_details'), @@ -493,7 +465,6 @@ def get_bds_instance(bds_instance_id: Optional[str] = None, defined_tags=pulumi.get(__ret__, 'defined_tags'), display_name=pulumi.get(__ret__, 'display_name'), edge_nodes=pulumi.get(__ret__, 'edge_nodes'), - execute_bootstrap_script_trigger=pulumi.get(__ret__, 'execute_bootstrap_script_trigger'), freeform_tags=pulumi.get(__ret__, 'freeform_tags'), id=pulumi.get(__ret__, 'id'), ignore_existing_nodes_shapes=pulumi.get(__ret__, 'ignore_existing_nodes_shapes'), @@ -511,7 +482,6 @@ def get_bds_instance(bds_instance_id: Optional[str] = None, number_of_nodes=pulumi.get(__ret__, 'number_of_nodes'), number_of_nodes_requiring_maintenance_reboot=pulumi.get(__ret__, 'number_of_nodes_requiring_maintenance_reboot'), os_patch_version=pulumi.get(__ret__, 'os_patch_version'), - remove_kafka_trigger=pulumi.get(__ret__, 'remove_kafka_trigger'), 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/bigdataservice/outputs.py b/sdk/python/pulumi_oci/bigdataservice/outputs.py index 181f31dca2..aa62d848a0 100644 --- a/sdk/python/pulumi_oci/bigdataservice/outputs.py +++ b/sdk/python/pulumi_oci/bigdataservice/outputs.py @@ -1420,12 +1420,6 @@ def __key_warning(key: str): suggest = "kerberos_details" elif key == "memoryInGbs": suggest = "memory_in_gbs" - elif key == "odhVersion": - suggest = "odh_version" - elif key == "osVersion": - suggest = "os_version" - elif key == "sshFingerprint": - suggest = "ssh_fingerprint" if suggest: pulumi.log.warn(f"Key '{key}' not found in BdsInstanceCloudSqlDetail. Access the value via the '{suggest}' property getter instead.") @@ -1446,10 +1440,7 @@ def __init__(__self__, *, kerberos_details: Optional[Sequence['outputs.BdsInstanceCloudSqlDetailKerberosDetail']] = None, memory_in_gbs: Optional[int] = None, nvmes: Optional[int] = None, - ocpus: Optional[int] = None, - odh_version: Optional[str] = None, - os_version: Optional[str] = None, - ssh_fingerprint: Optional[str] = None): + ocpus: Optional[int] = None): """ :param str shape: Shape of the node :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. @@ -1459,9 +1450,6 @@ def __init__(__self__, *, :param int memory_in_gbs: The total amount of memory available to the node, in gigabytes. :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. - :param str odh_version: Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - :param str os_version: BDS-assigned Operating System version for the node. - :param str ssh_fingerprint: The fingerprint of the SSH key used for node access """ pulumi.set(__self__, "shape", shape) if block_volume_size_in_gbs is not None: @@ -1478,12 +1466,6 @@ def __init__(__self__, *, pulumi.set(__self__, "nvmes", nvmes) if ocpus is not None: pulumi.set(__self__, "ocpus", ocpus) - if odh_version is not None: - pulumi.set(__self__, "odh_version", odh_version) - if os_version is not None: - pulumi.set(__self__, "os_version", os_version) - if ssh_fingerprint is not None: - pulumi.set(__self__, "ssh_fingerprint", ssh_fingerprint) @property @pulumi.getter @@ -1549,30 +1531,6 @@ def ocpus(self) -> Optional[int]: """ return pulumi.get(self, "ocpus") - @property - @pulumi.getter(name="odhVersion") - def odh_version(self) -> Optional[str]: - """ - Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - """ - return pulumi.get(self, "odh_version") - - @property - @pulumi.getter(name="osVersion") - def os_version(self) -> Optional[str]: - """ - BDS-assigned Operating System version for the node. - """ - return pulumi.get(self, "os_version") - - @property - @pulumi.getter(name="sshFingerprint") - def ssh_fingerprint(self) -> Optional[str]: - """ - The fingerprint of the SSH key used for node access - """ - return pulumi.get(self, "ssh_fingerprint") - @pulumi.output_type class BdsInstanceCloudSqlDetailKerberosDetail(dict): @@ -4990,10 +4948,7 @@ def __init__(__self__, *, memory_in_gbs: int, nvmes: int, ocpus: int, - odh_version: str, - os_version: str, - shape: str, - ssh_fingerprint: str): + shape: str): """ :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 str ip_address: IP address of the node. @@ -5002,10 +4957,7 @@ def __init__(__self__, *, :param int memory_in_gbs: The total amount of memory available to the node, in gigabytes. :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. - :param str odh_version: Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - :param str os_version: BDS-assigned Operating System version for the node. :param str shape: Shape of the node. - :param str ssh_fingerprint: The fingerprint of the SSH key used for node access. """ pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) pulumi.set(__self__, "ip_address", ip_address) @@ -5014,10 +4966,7 @@ def __init__(__self__, *, pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) pulumi.set(__self__, "nvmes", nvmes) pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "odh_version", odh_version) - pulumi.set(__self__, "os_version", os_version) pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "ssh_fingerprint", ssh_fingerprint) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -5075,22 +5024,6 @@ def ocpus(self) -> int: """ return pulumi.get(self, "ocpus") - @property - @pulumi.getter(name="odhVersion") - def odh_version(self) -> str: - """ - Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - """ - return pulumi.get(self, "odh_version") - - @property - @pulumi.getter(name="osVersion") - def os_version(self) -> str: - """ - BDS-assigned Operating System version for the node. - """ - return pulumi.get(self, "os_version") - @property @pulumi.getter def shape(self) -> str: @@ -5099,14 +5032,6 @@ def shape(self) -> str: """ return pulumi.get(self, "shape") - @property - @pulumi.getter(name="sshFingerprint") - def ssh_fingerprint(self) -> str: - """ - The fingerprint of the SSH key used for node access. - """ - return pulumi.get(self, "ssh_fingerprint") - @pulumi.output_type class GetBdsInstanceCloudSqlDetailKerberosDetailResult(dict): @@ -6625,7 +6550,6 @@ def ocpus(self) -> int: @pulumi.output_type class GetBdsInstancesBdsInstanceResult(dict): def __init__(__self__, *, - add_kafka_trigger: int, bootstrap_script_url: str, cloud_sql_details: Sequence['outputs.GetBdsInstancesBdsInstanceCloudSqlDetailResult'], cluster_admin_password: str, @@ -6639,7 +6563,6 @@ def __init__(__self__, *, defined_tags: Mapping[str, str], display_name: str, edge_nodes: Sequence['outputs.GetBdsInstancesBdsInstanceEdgeNodeResult'], - execute_bootstrap_script_trigger: int, freeform_tags: Mapping[str, str], id: str, ignore_existing_nodes_shapes: Sequence[str], @@ -6657,7 +6580,6 @@ def __init__(__self__, *, number_of_nodes: int, number_of_nodes_requiring_maintenance_reboot: int, os_patch_version: str, - remove_kafka_trigger: int, state: str, time_created: str, time_updated: str, @@ -6688,7 +6610,6 @@ 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__, "add_kafka_trigger", add_kafka_trigger) 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) @@ -6702,7 +6623,6 @@ def __init__(__self__, *, pulumi.set(__self__, "defined_tags", defined_tags) pulumi.set(__self__, "display_name", display_name) pulumi.set(__self__, "edge_nodes", edge_nodes) - pulumi.set(__self__, "execute_bootstrap_script_trigger", execute_bootstrap_script_trigger) pulumi.set(__self__, "freeform_tags", freeform_tags) pulumi.set(__self__, "id", id) pulumi.set(__self__, "ignore_existing_nodes_shapes", ignore_existing_nodes_shapes) @@ -6720,18 +6640,12 @@ def __init__(__self__, *, 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__, "remove_kafka_trigger", remove_kafka_trigger) 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) - @property - @pulumi.getter(name="addKafkaTrigger") - def add_kafka_trigger(self) -> int: - return pulumi.get(self, "add_kafka_trigger") - @property @pulumi.getter(name="bootstrapScriptUrl") def bootstrap_script_url(self) -> str: @@ -6824,11 +6738,6 @@ def display_name(self) -> str: def edge_nodes(self) -> Sequence['outputs.GetBdsInstancesBdsInstanceEdgeNodeResult']: return pulumi.get(self, "edge_nodes") - @property - @pulumi.getter(name="executeBootstrapScriptTrigger") - def execute_bootstrap_script_trigger(self) -> int: - return pulumi.get(self, "execute_bootstrap_script_trigger") - @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Mapping[str, str]: @@ -6947,11 +6856,6 @@ def number_of_nodes_requiring_maintenance_reboot(self) -> int: def os_patch_version(self) -> str: return pulumi.get(self, "os_patch_version") - @property - @pulumi.getter(name="removeKafkaTrigger") - def remove_kafka_trigger(self) -> int: - return pulumi.get(self, "remove_kafka_trigger") - @property @pulumi.getter def state(self) -> str: @@ -6997,10 +6901,7 @@ def __init__(__self__, *, memory_in_gbs: int, nvmes: int, ocpus: int, - odh_version: str, - os_version: str, - shape: str, - ssh_fingerprint: str): + shape: str): """ :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 str ip_address: IP address of the node. @@ -7009,10 +6910,7 @@ def __init__(__self__, *, :param int memory_in_gbs: The total amount of memory available to the node, in gigabytes. :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. - :param str odh_version: Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - :param str os_version: BDS-assigned Operating System version for the node. :param str shape: Shape of the node. - :param str ssh_fingerprint: The fingerprint of the SSH key used for node access. """ pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) pulumi.set(__self__, "ip_address", ip_address) @@ -7021,10 +6919,7 @@ def __init__(__self__, *, pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) pulumi.set(__self__, "nvmes", nvmes) pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "odh_version", odh_version) - pulumi.set(__self__, "os_version", os_version) pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "ssh_fingerprint", ssh_fingerprint) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -7082,22 +6977,6 @@ def ocpus(self) -> int: """ return pulumi.get(self, "ocpus") - @property - @pulumi.getter(name="odhVersion") - def odh_version(self) -> str: - """ - Version of the ODH (Oracle Distribution including Apache Hadoop) for the node. - """ - return pulumi.get(self, "odh_version") - - @property - @pulumi.getter(name="osVersion") - def os_version(self) -> str: - """ - BDS-assigned Operating System version for the node. - """ - return pulumi.get(self, "os_version") - @property @pulumi.getter def shape(self) -> str: @@ -7106,14 +6985,6 @@ def shape(self) -> str: """ return pulumi.get(self, "shape") - @property - @pulumi.getter(name="sshFingerprint") - def ssh_fingerprint(self) -> str: - """ - The fingerprint of the SSH key used for node access. - """ - return pulumi.get(self, "ssh_fingerprint") - @pulumi.output_type class GetBdsInstancesBdsInstanceCloudSqlDetailKerberosDetailResult(dict): diff --git a/sdk/python/pulumi_oci/database/_inputs.py b/sdk/python/pulumi_oci/database/_inputs.py index e435fbe755..38d8f8a794 100644 --- a/sdk/python/pulumi_oci/database/_inputs.py +++ b/sdk/python/pulumi_oci/database/_inputs.py @@ -1891,18 +1891,22 @@ def vault_id(self, value: Optional[pulumi.Input[str]]): @pulumi.input_type class AutonomousDatabaseLocalStandbyDbArgs: def __init__(__self__, *, + availability_domain: Optional[pulumi.Input[str]] = 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): """ + :param pulumi.Input[str] availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param pulumi.Input[int] lag_time_in_seconds: The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. :param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state. :param pulumi.Input[str] state: The current state of the Autonomous Database. :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. """ + if availability_domain is not None: + pulumi.set(__self__, "availability_domain", availability_domain) if lag_time_in_seconds is not None: pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: @@ -1914,6 +1918,18 @@ def __init__(__self__, *, if time_disaster_recovery_role_changed is not None: pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> Optional[pulumi.Input[str]]: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + + @availability_domain.setter + def availability_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability_domain", value) + @property @pulumi.getter(name="lagTimeInSeconds") def lag_time_in_seconds(self) -> Optional[pulumi.Input[int]]: @@ -2370,18 +2386,22 @@ def name(self, value: pulumi.Input[str]): @pulumi.input_type class AutonomousDatabaseStandbyDbArgs: def __init__(__self__, *, + availability_domain: Optional[pulumi.Input[str]] = 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): """ + :param pulumi.Input[str] availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param pulumi.Input[int] lag_time_in_seconds: The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. :param pulumi.Input[str] lifecycle_details: Additional information about the current lifecycle state. :param pulumi.Input[str] state: The current state of the Autonomous Database. :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. """ + if availability_domain is not None: + pulumi.set(__self__, "availability_domain", availability_domain) if lag_time_in_seconds is not None: pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: @@ -2393,6 +2413,18 @@ def __init__(__self__, *, if time_disaster_recovery_role_changed is not None: pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> Optional[pulumi.Input[str]]: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + + @availability_domain.setter + def availability_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability_domain", value) + @property @pulumi.getter(name="lagTimeInSeconds") def lag_time_in_seconds(self) -> Optional[pulumi.Input[int]]: diff --git a/sdk/python/pulumi_oci/database/autonomous_database.py b/sdk/python/pulumi_oci/database/autonomous_database.py index e09754a928..ceabe02f2e 100644 --- a/sdk/python/pulumi_oci/database/autonomous_database.py +++ b/sdk/python/pulumi_oci/database/autonomous_database.py @@ -1449,6 +1449,7 @@ def __init__(__self__, *, 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, + availability_domain: 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, @@ -1587,6 +1588,7 @@ def __init__(__self__, *, :param pulumi.Input[str] autonomous_database_backup_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Database Backup that you will clone to create a new Autonomous Database. :param pulumi.Input[str] autonomous_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Database that you will clone to create a new Autonomous Database. :param pulumi.Input[str] autonomous_maintenance_schedule_type: The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle. + :param pulumi.Input[str] availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param pulumi.Input[Sequence[pulumi.Input[str]]] available_upgrade_versions: List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. :param pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseBackupConfigArgs']]] backup_configs: Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. :param pulumi.Input[int] backup_retention_period_in_days: (Updatable) Retention period, in days, for backups. @@ -1810,6 +1812,8 @@ def __init__(__self__, *, pulumi.set(__self__, "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) + if availability_domain is not None: + pulumi.set(__self__, "availability_domain", availability_domain) if available_upgrade_versions is not None: pulumi.set(__self__, "available_upgrade_versions", available_upgrade_versions) if backup_configs is not None: @@ -2196,6 +2200,18 @@ def autonomous_maintenance_schedule_type(self) -> Optional[pulumi.Input[str]]: def autonomous_maintenance_schedule_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "autonomous_maintenance_schedule_type", value) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> Optional[pulumi.Input[str]]: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + + @availability_domain.setter + def availability_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability_domain", value) + @property @pulumi.getter(name="availableUpgradeVersions") def available_upgrade_versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -4235,6 +4251,7 @@ def _internal_init(__self__, __props__.__dict__["actual_used_data_storage_size_in_tbs"] = None __props__.__dict__["allocated_storage_size_in_tbs"] = None __props__.__dict__["apex_details"] = None + __props__.__dict__["availability_domain"] = None __props__.__dict__["available_upgrade_versions"] = None __props__.__dict__["backup_configs"] = None __props__.__dict__["cluster_placement_group_id"] = None @@ -4312,6 +4329,7 @@ def get(resource_name: str, 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, + availability_domain: Optional[pulumi.Input[str]] = None, available_upgrade_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, backup_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['AutonomousDatabaseBackupConfigArgs', 'AutonomousDatabaseBackupConfigArgsDict']]]]] = None, backup_retention_period_in_days: Optional[pulumi.Input[int]] = None, @@ -4455,6 +4473,7 @@ def get(resource_name: str, :param pulumi.Input[str] autonomous_database_backup_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Database Backup that you will clone to create a new Autonomous Database. :param pulumi.Input[str] autonomous_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Database that you will clone to create a new Autonomous Database. :param pulumi.Input[str] autonomous_maintenance_schedule_type: The maintenance schedule type of the Autonomous Database Serverless instances. The EARLY maintenance schedule of this Autonomous Database follows a schedule that applies patches prior to the REGULAR schedule.The REGULAR maintenance schedule of this Autonomous Database follows the normal cycle. + :param pulumi.Input[str] availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param pulumi.Input[Sequence[pulumi.Input[str]]] available_upgrade_versions: List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. :param pulumi.Input[Sequence[pulumi.Input[Union['AutonomousDatabaseBackupConfigArgs', 'AutonomousDatabaseBackupConfigArgsDict']]]] backup_configs: Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. :param pulumi.Input[int] backup_retention_period_in_days: (Updatable) Retention period, in days, for backups. @@ -4671,6 +4690,7 @@ def get(resource_name: str, __props__.__dict__["autonomous_database_backup_id"] = autonomous_database_backup_id __props__.__dict__["autonomous_database_id"] = autonomous_database_id __props__.__dict__["autonomous_maintenance_schedule_type"] = autonomous_maintenance_schedule_type + __props__.__dict__["availability_domain"] = availability_domain __props__.__dict__["available_upgrade_versions"] = available_upgrade_versions __props__.__dict__["backup_configs"] = backup_configs __props__.__dict__["backup_retention_period_in_days"] = backup_retention_period_in_days @@ -4886,6 +4906,14 @@ def autonomous_maintenance_schedule_type(self) -> pulumi.Output[str]: """ return pulumi.get(self, "autonomous_maintenance_schedule_type") + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> pulumi.Output[str]: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="availableUpgradeVersions") def available_upgrade_versions(self) -> pulumi.Output[Sequence[str]]: diff --git a/sdk/python/pulumi_oci/database/data_guard_association.py b/sdk/python/pulumi_oci/database/data_guard_association.py index 980c20ed8c..ba854c7141 100644 --- a/sdk/python/pulumi_oci/database/data_guard_association.py +++ b/sdk/python/pulumi_oci/database/data_guard_association.py @@ -33,6 +33,7 @@ def __init__(__self__, *, db_system_defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, db_system_freeform_tags: Optional[pulumi.Input[Mapping[str, 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, hostname: Optional[pulumi.Input[str]] = None, is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None, @@ -87,6 +88,7 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] db_system_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). :param pulumi.Input[Mapping[str, pulumi.Input[str]]] db_system_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 pulumi.Input[str] display_name: The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. + :param pulumi.Input[str] domain: A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. :param pulumi.Input[Sequence[pulumi.Input[str]]] fault_domains: A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain. @@ -146,6 +148,8 @@ def __init__(__self__, *, pulumi.set(__self__, "db_system_freeform_tags", db_system_freeform_tags) if display_name is not None: pulumi.set(__self__, "display_name", display_name) + if domain is not None: + pulumi.set(__self__, "domain", domain) if fault_domains is not None: pulumi.set(__self__, "fault_domains", fault_domains) if hostname is not None: @@ -398,6 +402,18 @@ 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 + def domain(self) -> Optional[pulumi.Input[str]]: + """ + A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + """ + return pulumi.get(self, "domain") + + @domain.setter + def domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "domain", value) + @property @pulumi.getter(name="faultDomains") def fault_domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -625,6 +641,7 @@ def __init__(__self__, *, db_system_freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, delete_standby_db_home_on_delete: 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, hostname: Optional[pulumi.Input[str]] = None, is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None, @@ -675,6 +692,7 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] db_system_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). :param pulumi.Input[Mapping[str, pulumi.Input[str]]] db_system_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 pulumi.Input[str] display_name: The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. + :param pulumi.Input[str] domain: A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. :param pulumi.Input[Sequence[pulumi.Input[str]]] fault_domains: A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain. @@ -762,6 +780,8 @@ def __init__(__self__, *, pulumi.set(__self__, "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) + if domain is not None: + pulumi.set(__self__, "domain", domain) if fault_domains is not None: pulumi.set(__self__, "fault_domains", fault_domains) if hostname is not None: @@ -1019,6 +1039,18 @@ 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 + def domain(self) -> Optional[pulumi.Input[str]]: + """ + A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + """ + return pulumi.get(self, "domain") + + @domain.setter + def domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "domain", value) + @property @pulumi.getter(name="faultDomains") def fault_domains(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -1367,6 +1399,7 @@ def __init__(__self__, db_system_freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, delete_standby_db_home_on_delete: 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, hostname: Optional[pulumi.Input[str]] = None, is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None, @@ -1425,6 +1458,7 @@ def __init__(__self__, db_system_defined_tags=data_guard_association_db_system_defined_tags, db_system_freeform_tags=data_guard_association_db_system_freeform_tags, display_name=data_guard_association_display_name, + domain=data_guard_association_domain, fault_domains=data_guard_association_fault_domains, hostname=data_guard_association_hostname, is_active_data_guard_enabled=data_guard_association_is_active_data_guard_enabled, @@ -1470,6 +1504,7 @@ def __init__(__self__, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] db_system_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). :param pulumi.Input[Mapping[str, pulumi.Input[str]]] db_system_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 pulumi.Input[str] display_name: The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. + :param pulumi.Input[str] domain: A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. :param pulumi.Input[Sequence[pulumi.Input[str]]] fault_domains: A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain. @@ -1561,6 +1596,7 @@ def __init__(__self__, db_system_defined_tags=data_guard_association_db_system_defined_tags, db_system_freeform_tags=data_guard_association_db_system_freeform_tags, display_name=data_guard_association_display_name, + domain=data_guard_association_domain, fault_domains=data_guard_association_fault_domains, hostname=data_guard_association_hostname, is_active_data_guard_enabled=data_guard_association_is_active_data_guard_enabled, @@ -1613,6 +1649,7 @@ def _internal_init(__self__, db_system_freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, delete_standby_db_home_on_delete: 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, hostname: Optional[pulumi.Input[str]] = None, is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None, @@ -1663,6 +1700,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'delete_standby_db_home_on_delete'") __props__.__dict__["delete_standby_db_home_on_delete"] = delete_standby_db_home_on_delete __props__.__dict__["display_name"] = display_name + __props__.__dict__["domain"] = domain __props__.__dict__["fault_domains"] = fault_domains __props__.__dict__["hostname"] = hostname __props__.__dict__["is_active_data_guard_enabled"] = is_active_data_guard_enabled @@ -1723,6 +1761,7 @@ def get(resource_name: str, db_system_freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, delete_standby_db_home_on_delete: 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, hostname: Optional[pulumi.Input[str]] = None, is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None, @@ -1778,6 +1817,7 @@ def get(resource_name: str, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] db_system_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). :param pulumi.Input[Mapping[str, pulumi.Input[str]]] db_system_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 pulumi.Input[str] display_name: The user-friendly name of the DB system that will contain the the standby database. The display name does not have to be unique. + :param pulumi.Input[str] domain: A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. :param pulumi.Input[Sequence[pulumi.Input[str]]] fault_domains: A Fault Domain is a grouping of hardware and infrastructure within an availability domain. 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 maintenance that affects one Fault Domain does not affect DB systems in other Fault Domains. If you do not specify the Fault Domain, the system selects one for you. To change the Fault Domain for a DB system, terminate it and launch a new DB system in the preferred Fault Domain. @@ -1852,6 +1892,7 @@ def get(resource_name: str, __props__.__dict__["db_system_freeform_tags"] = db_system_freeform_tags __props__.__dict__["delete_standby_db_home_on_delete"] = delete_standby_db_home_on_delete __props__.__dict__["display_name"] = display_name + __props__.__dict__["domain"] = domain __props__.__dict__["fault_domains"] = fault_domains __props__.__dict__["hostname"] = hostname __props__.__dict__["is_active_data_guard_enabled"] = is_active_data_guard_enabled @@ -2017,6 +2058,14 @@ def display_name(self) -> pulumi.Output[str]: """ return pulumi.get(self, "display_name") + @property + @pulumi.getter + def domain(self) -> pulumi.Output[str]: + """ + A domain name used for the DB system. If the Oracle-provided Internet and VCN Resolver is enabled for the specified subnet, the domain name for the subnet is used (do not provide one). Otherwise, provide a valid DNS domain name. Hyphens (-) are not permitted. + """ + return pulumi.get(self, "domain") + @property @pulumi.getter(name="faultDomains") def fault_domains(self) -> pulumi.Output[Optional[Sequence[str]]]: diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database.py b/sdk/python/pulumi_oci/database/get_autonomous_database.py index a9fb351686..651a4709e6 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database.py @@ -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, auto_refresh_frequency_in_seconds=None, auto_refresh_point_lag_in_seconds=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, byol_compute_count_limit=None, character_set=None, clone_type=None, cluster_placement_group_id=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_tools_details=None, db_version=None, db_workload=None, defined_tags=None, disaster_recovery_region_type=None, disaster_recovery_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_dev_tier=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_replicate_automatic_backups=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, net_services_architecture=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, public_connection_urls=None, public_endpoint=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, shrink_adb_trigger=None, source=None, source_id=None, standby_dbs=None, standby_whitelisted_ips=None, state=None, subnet_id=None, subscription_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_auto_refresh_start=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): + 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, auto_refresh_frequency_in_seconds=None, auto_refresh_point_lag_in_seconds=None, autonomous_container_database_id=None, autonomous_database_backup_id=None, autonomous_database_id=None, autonomous_maintenance_schedule_type=None, availability_domain=None, available_upgrade_versions=None, backup_configs=None, backup_retention_period_in_days=None, byol_compute_count_limit=None, character_set=None, clone_type=None, cluster_placement_group_id=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_tools_details=None, db_version=None, db_workload=None, defined_tags=None, disaster_recovery_region_type=None, disaster_recovery_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_dev_tier=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_replicate_automatic_backups=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, net_services_architecture=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, public_connection_urls=None, public_endpoint=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, shrink_adb_trigger=None, source=None, source_id=None, standby_dbs=None, standby_whitelisted_ips=None, state=None, subnet_id=None, subscription_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_auto_refresh_start=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) @@ -56,6 +56,9 @@ def __init__(__self__, actual_used_data_storage_size_in_tbs=None, admin_password if autonomous_maintenance_schedule_type and not isinstance(autonomous_maintenance_schedule_type, str): raise TypeError("Expected argument 'autonomous_maintenance_schedule_type' to be a str") pulumi.set(__self__, "autonomous_maintenance_schedule_type", autonomous_maintenance_schedule_type) + 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 available_upgrade_versions and not isinstance(available_upgrade_versions, list): raise TypeError("Expected argument 'available_upgrade_versions' to be a list") pulumi.set(__self__, "available_upgrade_versions", available_upgrade_versions) @@ -514,6 +517,14 @@ def autonomous_maintenance_schedule_type(self) -> str: """ return pulumi.get(self, "autonomous_maintenance_schedule_type") + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="availableUpgradeVersions") def available_upgrade_versions(self) -> Sequence[str]: @@ -1505,6 +1516,7 @@ def __await__(self): autonomous_database_backup_id=self.autonomous_database_backup_id, autonomous_database_id=self.autonomous_database_id, autonomous_maintenance_schedule_type=self.autonomous_maintenance_schedule_type, + availability_domain=self.availability_domain, available_upgrade_versions=self.available_upgrade_versions, backup_configs=self.backup_configs, backup_retention_period_in_days=self.backup_retention_period_in_days, @@ -1669,6 +1681,7 @@ def get_autonomous_database(autonomous_database_id: Optional[str] = None, autonomous_database_backup_id=pulumi.get(__ret__, 'autonomous_database_backup_id'), autonomous_database_id=pulumi.get(__ret__, 'autonomous_database_id'), autonomous_maintenance_schedule_type=pulumi.get(__ret__, 'autonomous_maintenance_schedule_type'), + availability_domain=pulumi.get(__ret__, 'availability_domain'), available_upgrade_versions=pulumi.get(__ret__, 'available_upgrade_versions'), backup_configs=pulumi.get(__ret__, 'backup_configs'), backup_retention_period_in_days=pulumi.get(__ret__, 'backup_retention_period_in_days'), diff --git a/sdk/python/pulumi_oci/database/get_autonomous_databases.py b/sdk/python/pulumi_oci/database/get_autonomous_databases.py index d197e6956a..86d90cb147 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_databases.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_databases.py @@ -81,9 +81,6 @@ def autonomous_container_database_id(self) -> Optional[str]: @property @pulumi.getter(name="autonomousDatabases") def autonomous_databases(self) -> Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseResult']: - """ - The list of autonomous_databases. - """ return pulumi.get(self, "autonomous_databases") @property @@ -227,56 +224,26 @@ def get_autonomous_databases(autonomous_container_database_id: Optional[str] = N state: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAutonomousDatabasesResult: """ - ## - - *** - ## subcategory: "Database" - - layout: "oci" - page_title: "Oracle Cloud Infrastructure: database_get_autonomous_databases" - sidebar_current: "docs-oci-datasource-database-autonomous_databases" - description: |- - Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service - --- - - # Data Source: database_get_autonomous_databases - This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. - - Gets a list of Autonomous Databases based on the query parameters specified. - - ## Example Usage + This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. - ```python - import pulumi - import pulumi_oci as oci - - test_autonomous_databases = oci.Database.get_autonomous_databases(compartment_id=compartment_id, - autonomous_container_database_id=test_autonomous_container_database["id"], - db_version=autonomous_database_db_version, - db_workload=autonomous_database_db_workload, - display_name=autonomous_database_display_name, - infrastructure_type=autonomous_database_infrastructure_type, - is_data_guard_enabled=autonomous_database_is_data_guard_enabled, - is_free_tier=autonomous_database_is_free_tier, - is_refreshable_clone=autonomous_database_is_refreshable_clone, - is_resource_pool_leader=autonomous_database_is_resource_pool_leader, - resource_pool_leader_id=test_resource_pool_leader["id"], - state=autonomous_database_state) - ``` + Gets the details of the specified Autonomous Database. :param str autonomous_container_database_id: The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - :param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - :param str db_version: A filter to return only autonomous database resources that match the specified dbVersion. - :param str db_workload: A filter to return only autonomous database resources that match the specified workload type. - :param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive. - :param str infrastructure_type: A filter to return only resources that match the given Infrastructure Type. - :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. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str db_version: A valid Oracle Database version for Autonomous Database. + :param str db_workload: The Autonomous Database workload type. The following values are valid: + * OLTP - indicates an Autonomous Transaction Processing database + * DW - indicates an Autonomous Data Warehouse database + * AJD - indicates an Autonomous JSON Database + * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. + :param str display_name: The user-friendly name for the Autonomous Database. The name does not have to be unique. + :param str infrastructure_type: The infrastructure type this resource belongs to. + :param bool is_data_guard_enabled: **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. + :param bool is_free_tier: 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. + :param bool is_refreshable_clone: Indicates if the Autonomous Database is a refreshable clone. + :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 str state: The current state of the Autonomous Database. """ __args__ = dict() __args__['autonomousContainerDatabaseId'] = autonomous_container_database_id @@ -329,55 +296,25 @@ def get_autonomous_databases_output(autonomous_container_database_id: Optional[p state: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutonomousDatabasesResult]: """ - ## - - *** - ## subcategory: "Database" - - layout: "oci" - page_title: "Oracle Cloud Infrastructure: database_get_autonomous_databases" - sidebar_current: "docs-oci-datasource-database-autonomous_databases" - description: |- - Provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service - --- - - # Data Source: database_get_autonomous_databases - This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service. - - Gets a list of Autonomous Databases based on the query parameters specified. - - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci + This data source provides details about a specific Autonomous Database resource in Oracle Cloud Infrastructure Database service. - test_autonomous_databases = oci.Database.get_autonomous_databases(compartment_id=compartment_id, - autonomous_container_database_id=test_autonomous_container_database["id"], - db_version=autonomous_database_db_version, - db_workload=autonomous_database_db_workload, - display_name=autonomous_database_display_name, - infrastructure_type=autonomous_database_infrastructure_type, - is_data_guard_enabled=autonomous_database_is_data_guard_enabled, - is_free_tier=autonomous_database_is_free_tier, - is_refreshable_clone=autonomous_database_is_refreshable_clone, - is_resource_pool_leader=autonomous_database_is_resource_pool_leader, - resource_pool_leader_id=test_resource_pool_leader["id"], - state=autonomous_database_state) - ``` + Gets the details of the specified Autonomous Database. :param str autonomous_container_database_id: The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - :param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - :param str db_version: A filter to return only autonomous database resources that match the specified dbVersion. - :param str db_workload: A filter to return only autonomous database resources that match the specified workload type. - :param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive. - :param str infrastructure_type: A filter to return only resources that match the given Infrastructure Type. - :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. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str db_version: A valid Oracle Database version for Autonomous Database. + :param str db_workload: The Autonomous Database workload type. The following values are valid: + * OLTP - indicates an Autonomous Transaction Processing database + * DW - indicates an Autonomous Data Warehouse database + * AJD - indicates an Autonomous JSON Database + * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. + :param str display_name: The user-friendly name for the Autonomous Database. The name does not have to be unique. + :param str infrastructure_type: The infrastructure type this resource belongs to. + :param bool is_data_guard_enabled: **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. + :param bool is_free_tier: 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. + :param bool is_refreshable_clone: Indicates if the Autonomous Database is a refreshable clone. + :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 str state: The current state of the Autonomous Database. """ ... 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 29a18ce71a..6fb7f2cbcf 100644 --- a/sdk/python/pulumi_oci/database/get_data_guard_association.py +++ b/sdk/python/pulumi_oci/database/get_data_guard_association.py @@ -22,7 +22,7 @@ class GetDataGuardAssociationResult: """ A collection of values returned by getDataGuardAssociation. """ - def __init__(__self__, apply_lag=None, apply_rate=None, availability_domain=None, backup_network_nsg_ids=None, cpu_core_count=None, create_async=None, creation_type=None, data_collection_options=None, data_guard_association_id=None, database_admin_password=None, database_defined_tags=None, database_freeform_tags=None, database_id=None, database_software_image_id=None, db_system_defined_tags=None, db_system_freeform_tags=None, delete_standby_db_home_on_delete=None, display_name=None, fault_domains=None, hostname=None, id=None, is_active_data_guard_enabled=None, license_model=None, lifecycle_details=None, node_count=None, nsg_ids=None, peer_data_guard_association_id=None, peer_database_id=None, peer_db_home_id=None, peer_db_system_id=None, peer_db_unique_name=None, peer_role=None, peer_sid_prefix=None, peer_vm_cluster_id=None, private_ip=None, protection_mode=None, role=None, shape=None, state=None, storage_volume_performance_mode=None, subnet_id=None, time_created=None, time_zone=None, transport_type=None): + def __init__(__self__, apply_lag=None, apply_rate=None, availability_domain=None, backup_network_nsg_ids=None, cpu_core_count=None, create_async=None, creation_type=None, data_collection_options=None, data_guard_association_id=None, database_admin_password=None, database_defined_tags=None, database_freeform_tags=None, database_id=None, database_software_image_id=None, db_system_defined_tags=None, db_system_freeform_tags=None, delete_standby_db_home_on_delete=None, display_name=None, domain=None, fault_domains=None, hostname=None, id=None, is_active_data_guard_enabled=None, license_model=None, lifecycle_details=None, node_count=None, nsg_ids=None, peer_data_guard_association_id=None, peer_database_id=None, peer_db_home_id=None, peer_db_system_id=None, peer_db_unique_name=None, peer_role=None, peer_sid_prefix=None, peer_vm_cluster_id=None, private_ip=None, protection_mode=None, role=None, shape=None, state=None, storage_volume_performance_mode=None, subnet_id=None, time_created=None, time_zone=None, transport_type=None): if apply_lag and not isinstance(apply_lag, str): raise TypeError("Expected argument 'apply_lag' to be a str") pulumi.set(__self__, "apply_lag", apply_lag) @@ -77,6 +77,9 @@ def __init__(__self__, apply_lag=None, apply_rate=None, availability_domain=None 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 domain and not isinstance(domain, str): + raise TypeError("Expected argument 'domain' to be a str") + pulumi.set(__self__, "domain", domain) if fault_domains and not isinstance(fault_domains, list): raise TypeError("Expected argument 'fault_domains' to be a list") pulumi.set(__self__, "fault_domains", fault_domains) @@ -255,6 +258,11 @@ def delete_standby_db_home_on_delete(self) -> str: def display_name(self) -> str: return pulumi.get(self, "display_name") + @property + @pulumi.getter + def domain(self) -> str: + return pulumi.get(self, "domain") + @property @pulumi.getter(name="faultDomains") def fault_domains(self) -> Sequence[str]: @@ -449,6 +457,7 @@ def __await__(self): db_system_freeform_tags=self.db_system_freeform_tags, delete_standby_db_home_on_delete=self.delete_standby_db_home_on_delete, display_name=self.display_name, + domain=self.domain, fault_domains=self.fault_domains, hostname=self.hostname, id=self.id, @@ -524,6 +533,7 @@ def get_data_guard_association(data_guard_association_id: Optional[str] = None, db_system_freeform_tags=pulumi.get(__ret__, 'db_system_freeform_tags'), delete_standby_db_home_on_delete=pulumi.get(__ret__, 'delete_standby_db_home_on_delete'), display_name=pulumi.get(__ret__, 'display_name'), + domain=pulumi.get(__ret__, 'domain'), fault_domains=pulumi.get(__ret__, 'fault_domains'), hostname=pulumi.get(__ret__, 'hostname'), id=pulumi.get(__ret__, 'id'), diff --git a/sdk/python/pulumi_oci/database/outputs.py b/sdk/python/pulumi_oci/database/outputs.py index 12c406473d..4ade86e254 100644 --- a/sdk/python/pulumi_oci/database/outputs.py +++ b/sdk/python/pulumi_oci/database/outputs.py @@ -2268,7 +2268,9 @@ class AutonomousDatabaseLocalStandbyDb(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "lagTimeInSeconds": + if key == "availabilityDomain": + suggest = "availability_domain" + elif key == "lagTimeInSeconds": suggest = "lag_time_in_seconds" elif key == "lifecycleDetails": suggest = "lifecycle_details" @@ -2289,18 +2291,22 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + availability_domain: Optional[str] = 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): """ + :param str availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param int lag_time_in_seconds: The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. :param str lifecycle_details: Additional information about the current lifecycle state. :param str state: The current state of the Autonomous Database. :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. """ + if availability_domain is not None: + pulumi.set(__self__, "availability_domain", availability_domain) if lag_time_in_seconds is not None: pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: @@ -2312,6 +2318,14 @@ def __init__(__self__, *, if time_disaster_recovery_role_changed is not None: pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> Optional[str]: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="lagTimeInSeconds") def lag_time_in_seconds(self) -> Optional[int]: @@ -2779,7 +2793,9 @@ class AutonomousDatabaseStandbyDb(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "lagTimeInSeconds": + if key == "availabilityDomain": + suggest = "availability_domain" + elif key == "lagTimeInSeconds": suggest = "lag_time_in_seconds" elif key == "lifecycleDetails": suggest = "lifecycle_details" @@ -2800,18 +2816,22 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + availability_domain: Optional[str] = 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): """ + :param str availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param int lag_time_in_seconds: The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. :param str lifecycle_details: Additional information about the current lifecycle state. :param str state: The current state of the Autonomous Database. :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. """ + if availability_domain is not None: + pulumi.set(__self__, "availability_domain", availability_domain) if lag_time_in_seconds is not None: pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: @@ -2823,6 +2843,14 @@ def __init__(__self__, *, if time_disaster_recovery_role_changed is not None: pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> Optional[str]: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="lagTimeInSeconds") def lag_time_in_seconds(self) -> Optional[int]: @@ -16305,24 +16333,35 @@ def vault_id(self) -> str: @pulumi.output_type class GetAutonomousDatabaseLocalStandbyDbResult(dict): def __init__(__self__, *, + availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, state: str, time_data_guard_role_changed: str, time_disaster_recovery_role_changed: str): """ + :param str availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param int lag_time_in_seconds: The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. :param str lifecycle_details: Additional information about the current lifecycle state. :param str state: The current state of the Autonomous Database. :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__, "availability_domain", availability_domain) 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) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="lagTimeInSeconds") def lag_time_in_seconds(self) -> int: @@ -16970,24 +17009,35 @@ def regex(self) -> Optional[bool]: @pulumi.output_type class GetAutonomousDatabaseStandbyDbResult(dict): def __init__(__self__, *, + availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, state: str, time_data_guard_role_changed: str, time_disaster_recovery_role_changed: str): """ + :param str availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param int lag_time_in_seconds: The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. :param str lifecycle_details: Additional information about the current lifecycle state. :param str state: The current state of the Autonomous Database. :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__, "availability_domain", availability_domain) 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) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="lagTimeInSeconds") def lag_time_in_seconds(self) -> int: @@ -17043,6 +17093,7 @@ def __init__(__self__, *, autonomous_database_backup_id: str, autonomous_database_id: str, autonomous_maintenance_schedule_type: str, + availability_domain: str, available_upgrade_versions: Sequence[str], backup_configs: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseBackupConfigResult'], backup_retention_period_in_days: int, @@ -17177,13 +17228,15 @@ def __init__(__self__, *, :param int auto_refresh_frequency_in_seconds: The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the `timeOfAutoRefreshStart` parameter. :param int auto_refresh_point_lag_in_seconds: The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens. :param str autonomous_container_database_id: The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + :param str autonomous_database_id: The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str autonomous_maintenance_schedule_type: The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle + :param str availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param Sequence[str] available_upgrade_versions: List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. :param Sequence['GetAutonomousDatabasesAutonomousDatabaseBackupConfigArgs'] backup_configs: Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. :param int backup_retention_period_in_days: Retention period, in days, for backups. :param str character_set: The character set for the autonomous database. The default is AL32UTF8. Allowed values are: :param str cluster_placement_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cluster placement group of the Autonomous Serverless Database. - :param str compartment_id: The compartment [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. :param float compute_count: Compute used by database tools. :param str compute_model: The compute model of the Autonomous Database. This is required if using the `computeCount` parameter. If using `cpuCoreCount` then it is an error to specify `computeModel` to a non-null value. ECPU compute model is the recommended model and OCPU compute model is legacy. :param Sequence['GetAutonomousDatabasesAutonomousDatabaseConnectionStringArgs'] connection_strings: The connection string used to connect to the Autonomous Database. The username for the Service Console is ADMIN. Use the password you entered when creating the Autonomous Database for the password value. @@ -17198,30 +17251,34 @@ def __init__(__self__, *, :param str dataguard_region_type: The Autonomous Data Guard region type of the Autonomous Database. For Autonomous Database Serverless, Autonomous Data Guard associations have designated primary and standby regions, and these region types do not change when the database changes roles. The standby regions in Autonomous Data Guard associations can be the same region designated as the primary region, or they can be remote regions. Certain database administrative operations may be available only in the primary region of the Autonomous Data Guard association, and cannot be performed when the database using the primary role is operating in a remote Autonomous Data Guard standby region. :param str db_name: The database name. :param Sequence['GetAutonomousDatabasesAutonomousDatabaseDbToolsDetailArgs'] db_tools_details: The list of database tools details. - :param str db_version: A filter to return only autonomous database resources that match the specified dbVersion. - :param str db_workload: A filter to return only autonomous database resources that match the specified workload type. + :param str db_version: A valid Oracle Database version for Autonomous Database. + :param str db_workload: The Autonomous Database workload type. The following values are valid: + * OLTP - indicates an Autonomous Transaction Processing database + * DW - indicates an Autonomous Data Warehouse database + * AJD - indicates an Autonomous JSON Database + * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. :param Mapping[str, str] 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). :param str disaster_recovery_region_type: The disaster recovery (DR) region type of the Autonomous Database. For Autonomous Database Serverless instances, DR associations have designated primary and standby regions. These region types do not change when the database changes roles. The standby region in DR associations can be the same region as the primary region, or they can be in a remote regions. Some database administration operations may be available only in the primary region of the DR association, and cannot be performed when the database using the primary role is operating in a remote region. :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. - :param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive. + :param str display_name: The user-friendly name for the Autonomous Database. The name does not have to be unique. :param int failed_data_recovery_in_seconds: Indicates the number of seconds of data loss for a Data Guard failover. :param Mapping[str, str] 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 id of the Autonomous Database [Vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts) service key management history entry. :param int in_memory_area_in_gbs: The area assigned to In-Memory tables in Autonomous Database. :param int in_memory_percentage: The percentage of the System Global Area(SGA) assigned to In-Memory tables in Autonomous Database. This property is applicable only to Autonomous Databases on the Exadata Cloud@Customer platform. - :param str infrastructure_type: A filter to return only resources that match the given Infrastructure Type. + :param str infrastructure_type: The infrastructure type this resource belongs to. :param bool is_access_control_enabled: Indicates if the database-level access control is enabled. If disabled, database access is defined by the network security rules. If enabled, database access is restricted to the IP addresses defined by the rules specified with the `whitelistedIps` property. While specifying `whitelistedIps` rules is optional, if database-level access control is enabled and no rules are specified, the database will become inaccessible. The rules can be added later using the `UpdateAutonomousDatabase` API operation or edit option in console. When creating a database clone, the desired access control setting should be specified. By default, database-level access control will be disabled for the clone. :param bool is_auto_scaling_enabled: Indicates if auto scaling is enabled for the Autonomous Database CPU core count. The default value is `TRUE`. :param bool is_auto_scaling_for_storage_enabled: Indicates if auto scaling is enabled for the Autonomous Database storage. The default value is `FALSE`. - :param bool is_data_guard_enabled: A filter to return only resources that have Data Guard enabled. + :param bool is_data_guard_enabled: **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. :param bool is_dedicated: True if the database uses [dedicated Exadata infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html). :param bool is_dev_tier: Autonomous Database for Developers are fixed-shape Autonomous Databases that developers can use to build and test new applications. On Serverless, these are low-cost and billed per instance, on Dedicated and Cloud@Customer there is no additional cost to create Developer databases. Developer databases come with limited resources and is not intended for large-scale testing and production deployments. When you need more compute or storage resources, you may upgrade to a full paid production database. - :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_free_tier: 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. :param bool is_local_data_guard_enabled: Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. :param bool is_mtls_connection_required: Specifies if the Autonomous Database requires mTLS connections. :param bool is_preview: Indicates if the Autonomous Database version is a preview version. :param bool is_reconnect_clone_enabled: Indicates if the refreshable clone can be reconnected to its source database. - :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_refreshable_clone: Indicates if the Autonomous Database is a refreshable clone. :param bool is_remote_data_guard_enabled: Indicates whether the Autonomous Database has Cross Region Data Guard enabled. Not applicable to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. :param bool is_replicate_automatic_backups: If true, 7 days worth of backups are replicated across regions for Cross-Region ADB or Backup-Based DR between Primary and Standby. If false, the backups taken on the Primary are not replicated to the Standby database. :param Sequence['GetAutonomousDatabasesAutonomousDatabaseKeyHistoryEntryArgs'] key_history_entries: Key History Entry. @@ -17237,7 +17294,7 @@ def __init__(__self__, *, :param Sequence['GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbArgs'] local_standby_dbs: Autonomous Data Guard standby database details. :param Sequence['GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleArgs'] long_term_backup_schedules: Details for the long-term backup schedule. :param int max_cpu_core_count: The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. - :param int memory_per_oracle_compute_unit_in_gbs: The amount of memory (in GBs) enabled per OCPU or ECPU. + :param int memory_per_oracle_compute_unit_in_gbs: The amount of memory (in GBs) enabled per ECPU or OCPU. :param str ncharacter_set: The national character set for the autonomous database. The default is AL16UTF16. Allowed values are: AL16UTF16 or UTF8. :param str net_services_architecture: Enabling SHARED server architecture enables a database server to allow many client processes to share very few server processes, thereby increasing the number of supported users. :param str next_long_term_backup_time_stamp: The date and time when the next long-term backup would be created. @@ -17257,7 +17314,7 @@ 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 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['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. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime. @@ -17265,9 +17322,10 @@ def __init__(__self__, *, :param str source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Database that was cloned to create the current Autonomous Database. :param Sequence['GetAutonomousDatabasesAutonomousDatabaseStandbyDbArgs'] standby_dbs: **Deprecated** Autonomous Data Guard standby database details. :param Sequence[str] standby_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. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`. - :param str state: A filter to return only resources that match the given lifecycle state exactly. + :param str state: The current state of the Autonomous Database. :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with. :param str subscription_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + 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 the backup subnet. :param Sequence[str] supported_regions_to_clone_tos: The list of regions that support the creation of an Autonomous Database clone or an Autonomous Data Guard standby database. :param Mapping[str, str] 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). :param str time_created: The date and time the Autonomous Database was created. @@ -17303,6 +17361,7 @@ def __init__(__self__, *, 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__, "availability_domain", availability_domain) 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) @@ -17499,6 +17558,9 @@ def autonomous_database_backup_id(self) -> str: @property @pulumi.getter(name="autonomousDatabaseId") def autonomous_database_id(self) -> str: + """ + The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + """ return pulumi.get(self, "autonomous_database_id") @property @@ -17509,6 +17571,14 @@ def autonomous_maintenance_schedule_type(self) -> str: """ return pulumi.get(self, "autonomous_maintenance_schedule_type") + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="availableUpgradeVersions") def available_upgrade_versions(self) -> Sequence[str]: @@ -17563,7 +17633,7 @@ def cluster_placement_group_id(self) -> str: @pulumi.getter(name="compartmentId") def compartment_id(self) -> str: """ - The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. """ return pulumi.get(self, "compartment_id") @@ -17683,7 +17753,7 @@ def db_tools_details(self) -> Sequence['outputs.GetAutonomousDatabasesAutonomous @pulumi.getter(name="dbVersion") def db_version(self) -> str: """ - A filter to return only autonomous database resources that match the specified dbVersion. + A valid Oracle Database version for Autonomous Database. """ return pulumi.get(self, "db_version") @@ -17691,7 +17761,11 @@ def db_version(self) -> str: @pulumi.getter(name="dbWorkload") def db_workload(self) -> str: """ - A filter to return only autonomous database resources that match the specified workload type. + The Autonomous Database workload type. The following values are valid: + * OLTP - indicates an Autonomous Transaction Processing database + * DW - indicates an Autonomous Data Warehouse database + * AJD - indicates an Autonomous JSON Database + * APEX - indicates an Autonomous Database with the Oracle APEX Application Development workload type. """ return pulumi.get(self, "db_workload") @@ -17723,7 +17797,7 @@ def disaster_recovery_type(self) -> str: @pulumi.getter(name="displayName") def display_name(self) -> str: """ - A filter to return only resources that match the entire display name given. The match is not case sensitive. + The user-friendly name for the Autonomous Database. The name does not have to be unique. """ return pulumi.get(self, "display_name") @@ -17771,7 +17845,7 @@ def in_memory_percentage(self) -> int: @pulumi.getter(name="infrastructureType") def infrastructure_type(self) -> str: """ - A filter to return only resources that match the given Infrastructure Type. + The infrastructure type this resource belongs to. """ return pulumi.get(self, "infrastructure_type") @@ -17803,7 +17877,7 @@ def is_auto_scaling_for_storage_enabled(self) -> bool: @pulumi.getter(name="isDataGuardEnabled") def is_data_guard_enabled(self) -> bool: """ - A filter to return only resources that have Data Guard enabled. + **Deprecated.** Indicates whether the Autonomous Database has local (in-region) Data Guard enabled. Not applicable to cross-region Autonomous Data Guard associations, or to Autonomous Databases using dedicated Exadata infrastructure or Exadata Cloud@Customer infrastructure. """ return pulumi.get(self, "is_data_guard_enabled") @@ -17827,7 +17901,7 @@ def is_dev_tier(self) -> bool: @pulumi.getter(name="isFreeTier") def is_free_tier(self) -> bool: """ - 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. + 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. """ return pulumi.get(self, "is_free_tier") @@ -17872,7 +17946,7 @@ def is_reconnect_clone_enabled(self) -> bool: @pulumi.getter(name="isRefreshableClone") def is_refreshable_clone(self) -> bool: """ - 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. + Indicates if the Autonomous Database is a refreshable clone. """ return pulumi.get(self, "is_refreshable_clone") @@ -18006,7 +18080,7 @@ def max_cpu_core_count(self) -> int: @pulumi.getter(name="memoryPerOracleComputeUnitInGbs") def memory_per_oracle_compute_unit_in_gbs(self) -> int: """ - The amount of memory (in GBs) enabled per OCPU or ECPU. + The amount of memory (in GBs) enabled per ECPU or OCPU. """ return pulumi.get(self, "memory_per_oracle_compute_unit_in_gbs") @@ -18164,7 +18238,7 @@ def remote_disaster_recovery_type(self) -> str: @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. + 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") @@ -18253,7 +18327,7 @@ def standby_whitelisted_ips(self) -> Sequence[str]: @pulumi.getter def state(self) -> str: """ - A filter to return only resources that match the given lifecycle state exactly. + The current state of the Autonomous Database. """ return pulumi.get(self, "state") @@ -18270,6 +18344,7 @@ def subnet_id(self) -> str: def subscription_id(self) -> str: """ The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subscription with which resource needs to be associated with. + 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 the backup subnet. """ return pulumi.get(self, "subscription_id") @@ -18623,12 +18698,11 @@ def __init__(__self__, *, value: str): """ :param str consumer_group: Consumer group used by the connection. - :param str display_name: A filter to return only resources that match the entire display name given. The match is not case sensitive. + :param str display_name: The user-friendly name for the Autonomous Database. The name does not have to be unique. :param str host_format: Host format used in connection string. - :param bool is_regional: True for a regional connection string, applicable to cross-region DG only. :param str protocol: Protocol used by the connection. :param str session_mode: Specifies whether the listener performs a direct hand-off of the session, or redirects the session. In RAC deployments where SCAN is used, sessions are redirected to a Node VIP. Use `DIRECT` for direct hand-offs. Use `REDIRECT` to redirect the session. - :param str syntax_format: Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Database Serverless instances always use the long format. + :param str syntax_format: Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. :param str tls_authentication: Specifies whether the TLS handshake is using one-way (`SERVER`) or mutual (`MUTUAL`) authentication. :param str value: Connection string value. """ @@ -18654,7 +18728,7 @@ def consumer_group(self) -> str: @pulumi.getter(name="displayName") def display_name(self) -> str: """ - A filter to return only resources that match the entire display name given. The match is not case sensitive. + The user-friendly name for the Autonomous Database. The name does not have to be unique. """ return pulumi.get(self, "display_name") @@ -18669,9 +18743,6 @@ def host_format(self) -> str: @property @pulumi.getter(name="isRegional") def is_regional(self) -> bool: - """ - True for a regional connection string, applicable to cross-region DG only. - """ return pulumi.get(self, "is_regional") @property @@ -18694,7 +18765,7 @@ def session_mode(self) -> str: @pulumi.getter(name="syntaxFormat") def syntax_format(self) -> str: """ - Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Database Serverless instances always use the long format. + Specifies whether the connection string is using the long (`LONG`), Easy Connect (`EZCONNECT`), or Easy Connect Plus (`EZCONNECTPLUS`) format. Autonomous Databases on shared Exadata infrastructure always use the long format. """ return pulumi.get(self, "syntax_format") @@ -18933,24 +19004,35 @@ def vault_id(self) -> str: @pulumi.output_type class GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult(dict): def __init__(__self__, *, + availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, state: str, time_data_guard_role_changed: str, time_disaster_recovery_role_changed: str): """ + :param str availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param int lag_time_in_seconds: The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. :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. + :param str state: The current state of the Autonomous Database. :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__, "availability_domain", availability_domain) 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) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="lagTimeInSeconds") def lag_time_in_seconds(self) -> int: @@ -18971,7 +19053,7 @@ def lifecycle_details(self) -> str: @pulumi.getter def state(self) -> str: """ - A filter to return only resources that match the given lifecycle state exactly. + The current state of the Autonomous Database. """ return pulumi.get(self, "state") @@ -19271,24 +19353,35 @@ def name(self) -> str: @pulumi.output_type class GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult(dict): def __init__(__self__, *, + availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, state: str, time_data_guard_role_changed: str, time_disaster_recovery_role_changed: str): """ + :param str availability_domain: The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param int lag_time_in_seconds: The amount of time, in seconds, that the data of the standby database lags the data of the primary database. Can be used to determine the potential data loss in the event of a failover. :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. + :param str state: The current state of the Autonomous Database. :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__, "availability_domain", availability_domain) 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) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + """ + The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. + """ + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="lagTimeInSeconds") def lag_time_in_seconds(self) -> int: @@ -19309,7 +19402,7 @@ def lifecycle_details(self) -> str: @pulumi.getter def state(self) -> str: """ - A filter to return only resources that match the given lifecycle state exactly. + The current state of the Autonomous Database. """ return pulumi.get(self, "state") @@ -19341,6 +19434,7 @@ def __init__(__self__, *, auto_refresh_point_lag_in_seconds: int, autonomous_container_database_id: str, autonomous_maintenance_schedule_type: str, + availability_domain: str, available_upgrade_versions: Sequence[str], backup_configs: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseBackupConfigResult'], backup_retention_period_in_days: int, @@ -19458,7 +19552,7 @@ def __init__(__self__, *, :param int auto_refresh_frequency_in_seconds: The frequency a refreshable clone is refreshed after auto-refresh is enabled. The minimum is 1 hour. The maximum is 7 days. The date and time that auto-refresh is enabled is controlled by the `timeOfAutoRefreshStart` parameter. :param int auto_refresh_point_lag_in_seconds: The time, in seconds, the data of the refreshable clone lags the primary database at the point of refresh. The minimum is 0 minutes (0 mins means refresh to the latest available timestamp). The maximum is 7 days. The lag time increases after refreshing until the next data refresh happens. :param str autonomous_container_database_id: The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - :param str autonomous_maintenance_schedule_type: The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle + :param str autonomous_maintenance_schedule_type: The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle* `availability_domain` - The availability domain where the Autonomous Database Serverless instance is located. :param Sequence[str] available_upgrade_versions: List of Oracle Database versions available for a database upgrade. If there are no version upgrades available, this list is empty. :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseBackupConfigArgs'] backup_configs: Autonomous Database configuration details for storing [manual backups](https://docs.oracle.com/en/cloud/paas/autonomous-database/adbsa/backup-restore.html#GUID-9035DFB8-4702-4CEB-8281-C2A303820809) in the [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) service. :param int backup_retention_period_in_days: Retention period, in days, for backups. @@ -19517,7 +19611,7 @@ def __init__(__self__, *, :param str lifecycle_details: Additional information about the current lifecycle state. :param int local_adg_auto_failover_max_data_loss_limit: Parameter that allows users to select an acceptable maximum data loss limit in seconds, up to which Automatic Failover will be triggered when necessary for a Local Autonomous Data Guard :param str local_disaster_recovery_type: Indicates the local 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. - :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArgs'] local_standby_dbs: Autonomous Data Guard standby database details. + :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArgs'] local_standby_dbs: Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleArgs'] long_term_backup_schedules: Details for the long-term backup schedule. :param int max_cpu_core_count: The number of Max OCPU cores to be made available to the autonomous database with auto scaling of cpu enabled. :param int memory_per_oracle_compute_unit_in_gbs: The amount of memory (in GBs) enabled per OCPU or ECPU. See [Compute Models in Autonomous Database on Dedicated Exadata Infrastructure](https://docs.oracle.com/en/cloud/paas/autonomous-database/dedicated/adbak) for more details. @@ -19544,7 +19638,7 @@ def __init__(__self__, *, :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationArgs'] scheduled_operations: The list of scheduled operations. Consists of values such as dayOfWeek, scheduledStartTime, scheduledStopTime. :param str service_console_url: The URL of the Service Console for the Autonomous Database. :param str source_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the source Autonomous Database that was cloned to create the current Autonomous Database. - :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbArgs'] standby_dbs: **Deprecated** Autonomous Data Guard standby database details. + :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbArgs'] standby_dbs: **Deprecated** Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. :param Sequence[str] standby_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. If `arePrimaryWhitelistedIpsUsed` is 'TRUE' then Autonomous Database uses this primary's IP access control list (ACL) for the disaster recovery peer called `standbywhitelistedips`. :param str state: A filter to return only resources that match the given lifecycle state exactly. :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the resource is associated with. @@ -19580,6 +19674,7 @@ def __init__(__self__, *, pulumi.set(__self__, "auto_refresh_point_lag_in_seconds", auto_refresh_point_lag_in_seconds) 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__, "availability_domain", availability_domain) 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) @@ -19750,10 +19845,15 @@ def autonomous_container_database_id(self) -> str: @pulumi.getter(name="autonomousMaintenanceScheduleType") def autonomous_maintenance_schedule_type(self) -> str: """ - The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle + The maintenance schedule type of the Autonomous Database Serverless. An EARLY maintenance schedule follows a schedule applying patches prior to the REGULAR schedule. A REGULAR maintenance schedule follows the normal cycle* `availability_domain` - The availability domain where the Autonomous Database Serverless instance is located. """ return pulumi.get(self, "autonomous_maintenance_schedule_type") + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="availableUpgradeVersions") def available_upgrade_versions(self) -> Sequence[str]: @@ -20199,7 +20299,7 @@ def local_disaster_recovery_type(self) -> str: @pulumi.getter(name="localStandbyDbs") def local_standby_dbs(self) -> Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult']: """ - Autonomous Data Guard standby database details. + Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. """ return pulumi.get(self, "local_standby_dbs") @@ -20408,7 +20508,7 @@ def source_id(self) -> str: @pulumi.getter(name="standbyDbs") def standby_dbs(self) -> Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult']: """ - **Deprecated** Autonomous Data Guard standby database details. + **Deprecated** Autonomous Data Guard standby database details.* `availability_domain` - The availability domain of a local Autonomous Data Guard standby database of an Autonomous Database Serverless instance. """ return pulumi.get(self, "standby_dbs") @@ -21081,6 +21181,7 @@ def vault_id(self) -> str: @pulumi.output_type class GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult(dict): def __init__(__self__, *, + availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, state: str, @@ -21093,12 +21194,18 @@ 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__, "availability_domain", availability_domain) 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) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="lagTimeInSeconds") def lag_time_in_seconds(self) -> int: @@ -21423,6 +21530,7 @@ def name(self) -> str: @pulumi.output_type class GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult(dict): def __init__(__self__, *, + availability_domain: str, lag_time_in_seconds: int, lifecycle_details: str, state: str, @@ -21435,12 +21543,18 @@ 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__, "availability_domain", availability_domain) 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) + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + return pulumi.get(self, "availability_domain") + @property @pulumi.getter(name="lagTimeInSeconds") def lag_time_in_seconds(self) -> int: @@ -28824,6 +28938,7 @@ def __init__(__self__, *, db_system_freeform_tags: Mapping[str, str], delete_standby_db_home_on_delete: str, display_name: str, + domain: str, fault_domains: Sequence[str], hostname: str, id: str, @@ -28885,6 +29000,7 @@ def __init__(__self__, *, 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__, "domain", domain) pulumi.set(__self__, "fault_domains", fault_domains) pulumi.set(__self__, "hostname", hostname) pulumi.set(__self__, "id", id) @@ -29006,6 +29122,11 @@ def delete_standby_db_home_on_delete(self) -> str: def display_name(self) -> str: return pulumi.get(self, "display_name") + @property + @pulumi.getter + def domain(self) -> str: + return pulumi.get(self, "domain") + @property @pulumi.getter(name="faultDomains") def fault_domains(self) -> Sequence[str]: diff --git a/sdk/python/pulumi_oci/databasemanagement/__init__.py b/sdk/python/pulumi_oci/databasemanagement/__init__.py index 6983fb6566..1264874e3a 100644 --- a/sdk/python/pulumi_oci/databasemanagement/__init__.py +++ b/sdk/python/pulumi_oci/databasemanagement/__init__.py @@ -5,6 +5,7 @@ from .. import _utilities import typing # Export this package's modules as members: +from .autonomous_database_autonomous_database_dbm_features_management import * from .database_dbm_features_management import * from .db_management_private_endpoint import * from .external_asm import * diff --git a/sdk/python/pulumi_oci/databasemanagement/_inputs.py b/sdk/python/pulumi_oci/databasemanagement/_inputs.py index 1a05d95b87..7c0f2b484a 100644 --- a/sdk/python/pulumi_oci/databasemanagement/_inputs.py +++ b/sdk/python/pulumi_oci/databasemanagement/_inputs.py @@ -10,6 +10,11 @@ from .. import _utilities __all__ = [ + 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs', + 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs', + 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs', + 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs', + 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs', 'DatabaseDbmFeaturesManagementFeatureDetailsArgs', 'DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs', 'DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs', @@ -69,6 +74,11 @@ 'ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs', 'ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsArgs', 'ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs', + 'ManagedDatabaseDbmgmtFeatureConfigArgs', + 'ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs', + 'ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs', + 'ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs', + 'ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs', 'ManagedDatabaseGroupManagedDatabaseArgs', 'ManagedDatabaseManagedDatabaseGroupArgs', 'ManagedDatabasesChangeDatabaseParameterCredentialsArgs', @@ -134,6 +144,358 @@ 'GetNamedCredentialsFilterArgs', ] +@pulumi.input_type +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs: + def __init__(__self__, *, + feature: pulumi.Input[str], + connector_details: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs']] = None, + database_connection_details: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs']] = None): + """ + :param pulumi.Input[str] feature: The name of the Database Management feature. + :param pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs'] connector_details: The connector details required to connect to an Oracle cloud database. + :param pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs'] database_connection_details: The connection details required to connect to the database. + """ + pulumi.set(__self__, "feature", feature) + if connector_details is not None: + pulumi.set(__self__, "connector_details", connector_details) + if database_connection_details is not None: + pulumi.set(__self__, "database_connection_details", database_connection_details) + + @property + @pulumi.getter + def feature(self) -> pulumi.Input[str]: + """ + The name of the Database Management feature. + """ + return pulumi.get(self, "feature") + + @feature.setter + def feature(self, value: pulumi.Input[str]): + pulumi.set(self, "feature", value) + + @property + @pulumi.getter(name="connectorDetails") + def connector_details(self) -> Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs']]: + """ + The connector details required to connect to an Oracle cloud database. + """ + return pulumi.get(self, "connector_details") + + @connector_details.setter + def connector_details(self, value: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs']]): + pulumi.set(self, "connector_details", value) + + @property + @pulumi.getter(name="databaseConnectionDetails") + def database_connection_details(self) -> Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs']]: + """ + The connection details required to connect to the database. + """ + return pulumi.get(self, "database_connection_details") + + @database_connection_details.setter + def database_connection_details(self, value: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs']]): + pulumi.set(self, "database_connection_details", value) + + +@pulumi.input_type +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs: + def __init__(__self__, *, + connector_type: Optional[pulumi.Input[str]] = None, + database_connector_id: Optional[pulumi.Input[str]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + private_end_point_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] connector_type: The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + * DIRECT: Direct connection + :param pulumi.Input[str] database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + :param pulumi.Input[str] management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + :param pulumi.Input[str] private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + """ + if connector_type is not None: + pulumi.set(__self__, "connector_type", connector_type) + if database_connector_id is not None: + pulumi.set(__self__, "database_connector_id", database_connector_id) + if management_agent_id is not None: + pulumi.set(__self__, "management_agent_id", management_agent_id) + if private_end_point_id is not None: + pulumi.set(__self__, "private_end_point_id", private_end_point_id) + + @property + @pulumi.getter(name="connectorType") + def connector_type(self) -> Optional[pulumi.Input[str]]: + """ + The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + * DIRECT: Direct connection + """ + return pulumi.get(self, "connector_type") + + @connector_type.setter + def connector_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connector_type", value) + + @property + @pulumi.getter(name="databaseConnectorId") + def database_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + """ + return pulumi.get(self, "database_connector_id") + + @database_connector_id.setter + def database_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_connector_id", value) + + @property + @pulumi.getter(name="managementAgentId") + def management_agent_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + """ + return pulumi.get(self, "management_agent_id") + + @management_agent_id.setter + def management_agent_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "management_agent_id", value) + + @property + @pulumi.getter(name="privateEndPointId") + def private_end_point_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + """ + return pulumi.get(self, "private_end_point_id") + + @private_end_point_id.setter + def private_end_point_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_end_point_id", value) + + +@pulumi.input_type +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs: + def __init__(__self__, *, + connection_credentials: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs']] = None, + connection_string: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs']] = None): + """ + :param pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs'] connection_credentials: The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + :param pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs'] connection_string: The details of the Oracle Database connection string. + """ + if connection_credentials is not None: + pulumi.set(__self__, "connection_credentials", connection_credentials) + if connection_string is not None: + pulumi.set(__self__, "connection_string", connection_string) + + @property + @pulumi.getter(name="connectionCredentials") + def connection_credentials(self) -> Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs']]: + """ + The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + """ + return pulumi.get(self, "connection_credentials") + + @connection_credentials.setter + def connection_credentials(self, value: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs']]): + pulumi.set(self, "connection_credentials", value) + + @property + @pulumi.getter(name="connectionString") + def connection_string(self) -> Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs']]: + """ + The details of the Oracle Database connection string. + """ + return pulumi.get(self, "connection_string") + + @connection_string.setter + def connection_string(self, value: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs']]): + pulumi.set(self, "connection_string", value) + + +@pulumi.input_type +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs: + def __init__(__self__, *, + 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): + """ + :param pulumi.Input[str] credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + + For example: inventorydb.abc112233445566778899 + :param pulumi.Input[str] credential_type: The type of credential used to connect to the database. + :param pulumi.Input[str] password_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] role: The role of the user 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 secret containing the SSL keystore and truststore details. + :param pulumi.Input[str] user_name: The user name used to connect to the database. + """ + if credential_name is not None: + pulumi.set(__self__, "credential_name", credential_name) + if credential_type is not None: + pulumi.set(__self__, "credential_type", credential_type) + if password_secret_id is not None: + pulumi.set(__self__, "password_secret_id", password_secret_id) + if role is not None: + pulumi.set(__self__, "role", role) + if ssl_secret_id is not None: + pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="credentialName") + def credential_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + + For example: inventorydb.abc112233445566778899 + """ + return pulumi.get(self, "credential_name") + + @credential_name.setter + def credential_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_name", value) + + @property + @pulumi.getter(name="credentialType") + def credential_type(self) -> Optional[pulumi.Input[str]]: + """ + The type of credential used to connect to the database. + """ + return pulumi.get(self, "credential_type") + + @credential_type.setter + def credential_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_type", value) + + @property + @pulumi.getter(name="passwordSecretId") + def password_secret_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + """ + return pulumi.get(self, "password_secret_id") + + @password_secret_id.setter + def password_secret_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password_secret_id", value) + + @property + @pulumi.getter + def role(self) -> Optional[pulumi.Input[str]]: + """ + The role of the user connecting to the database. + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role", value) + + @property + @pulumi.getter(name="sslSecretId") + def ssl_secret_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + """ + return pulumi.get(self, "ssl_secret_id") + + @ssl_secret_id.setter + def ssl_secret_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ssl_secret_id", value) + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: + """ + The user name used to connect to the database. + """ + return pulumi.get(self, "user_name") + + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) + + +@pulumi.input_type +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs: + def __init__(__self__, *, + connection_type: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] connection_type: The list of supported connection types: + * BASIC: Basic connection details + :param pulumi.Input[int] port: The port number used to connect to the database. + :param pulumi.Input[str] protocol: The protocol used to connect to the database. + :param pulumi.Input[str] service: The service name of the database. + """ + if connection_type is not None: + pulumi.set(__self__, "connection_type", connection_type) + if port is not None: + pulumi.set(__self__, "port", port) + if protocol is not None: + pulumi.set(__self__, "protocol", protocol) + if service is not None: + pulumi.set(__self__, "service", service) + + @property + @pulumi.getter(name="connectionType") + def connection_type(self) -> Optional[pulumi.Input[str]]: + """ + The list of supported connection types: + * BASIC: Basic connection details + """ + return pulumi.get(self, "connection_type") + + @connection_type.setter + def connection_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_type", value) + + @property + @pulumi.getter + def port(self) -> Optional[pulumi.Input[int]]: + """ + The port number used to connect to the database. + """ + return pulumi.get(self, "port") + + @port.setter + def port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "port", value) + + @property + @pulumi.getter + def protocol(self) -> Optional[pulumi.Input[str]]: + """ + The protocol used to connect to the database. + """ + return pulumi.get(self, "protocol") + + @protocol.setter + def protocol(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "protocol", value) + + @property + @pulumi.getter + def service(self) -> Optional[pulumi.Input[str]]: + """ + The service name of the database. + """ + return pulumi.get(self, "service") + + @service.setter + def service(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service", value) + + @pulumi.input_type class DatabaseDbmFeaturesManagementFeatureDetailsArgs: def __init__(__self__, *, @@ -232,6 +594,7 @@ def __init__(__self__, *, * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection :param pulumi.Input[str] database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. :param pulumi.Input[str] management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. :param pulumi.Input[str] private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. @@ -253,6 +616,7 @@ def connector_type(self) -> Optional[pulumi.Input[str]]: * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection """ return pulumi.get(self, "connector_type") @@ -341,6 +705,7 @@ class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnec def __init__(__self__, *, credential_name: Optional[pulumi.Input[str]] = None, credential_type: Optional[pulumi.Input[str]] = None, + named_credential_id: 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, @@ -350,6 +715,7 @@ def __init__(__self__, *, For example: inventorydb.abc112233445566778899 :param pulumi.Input[str] credential_type: The type of credential used to connect to the database. + :param pulumi.Input[str] named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. :param pulumi.Input[str] password_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] role: The role of the user 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 secret containing the SSL keystore and truststore details. @@ -359,6 +725,8 @@ def __init__(__self__, *, pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -394,6 +762,18 @@ def credential_type(self) -> Optional[pulumi.Input[str]]: def credential_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "credential_type", value) + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @named_credential_id.setter + def named_credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "named_credential_id", value) + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> Optional[pulumi.Input[str]]: @@ -907,6 +1287,7 @@ class ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs: def __init__(__self__, *, credential_name: Optional[pulumi.Input[str]] = None, credential_type: Optional[pulumi.Input[str]] = None, + named_credential_id: 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, @@ -914,6 +1295,7 @@ def __init__(__self__, *, """ :param pulumi.Input[str] credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param pulumi.Input[str] credential_type: The type of the credential for tablespace administration tasks. + :param pulumi.Input[str] named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param pulumi.Input[str] password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param pulumi.Input[str] role: The role of the database user. :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. @@ -923,6 +1305,8 @@ def __init__(__self__, *, pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -956,6 +1340,18 @@ def credential_type(self) -> Optional[pulumi.Input[str]]: def credential_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "credential_type", value) + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @named_credential_id.setter + def named_credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "named_credential_id", value) + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> Optional[pulumi.Input[str]]: @@ -2376,6 +2772,7 @@ class ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnec def __init__(__self__, *, credential_name: Optional[pulumi.Input[str]] = None, credential_type: Optional[pulumi.Input[str]] = None, + named_credential_id: 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, @@ -2383,6 +2780,7 @@ def __init__(__self__, *, """ :param pulumi.Input[str] credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param pulumi.Input[str] credential_type: The type of the credential for tablespace administration tasks. + :param pulumi.Input[str] named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param pulumi.Input[str] password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param pulumi.Input[str] role: The role of the database user. :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. @@ -2392,6 +2790,8 @@ def __init__(__self__, *, pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -2425,6 +2825,18 @@ def credential_type(self) -> Optional[pulumi.Input[str]]: def credential_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "credential_type", value) + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @named_credential_id.setter + def named_credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "named_credential_id", value) + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> Optional[pulumi.Input[str]]: @@ -2859,6 +3271,7 @@ class ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnect def __init__(__self__, *, credential_name: Optional[pulumi.Input[str]] = None, credential_type: Optional[pulumi.Input[str]] = None, + named_credential_id: 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, @@ -2866,6 +3279,7 @@ def __init__(__self__, *, """ :param pulumi.Input[str] credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param pulumi.Input[str] credential_type: The type of the credential for tablespace administration tasks. + :param pulumi.Input[str] named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param pulumi.Input[str] password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param pulumi.Input[str] role: The role of the database user. :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. @@ -2875,6 +3289,8 @@ def __init__(__self__, *, pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -2908,6 +3324,18 @@ def credential_type(self) -> Optional[pulumi.Input[str]]: def credential_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "credential_type", value) + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @named_credential_id.setter + def named_credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "named_credential_id", value) + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> Optional[pulumi.Input[str]]: @@ -3555,6 +3983,7 @@ class ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConn def __init__(__self__, *, credential_name: Optional[pulumi.Input[str]] = None, credential_type: Optional[pulumi.Input[str]] = None, + named_credential_id: 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, @@ -3562,6 +3991,7 @@ def __init__(__self__, *, """ :param pulumi.Input[str] credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param pulumi.Input[str] credential_type: The type of the credential for tablespace administration tasks. + :param pulumi.Input[str] named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param pulumi.Input[str] password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param pulumi.Input[str] role: The role of the database user. :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. @@ -3571,6 +4001,8 @@ def __init__(__self__, *, pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -3604,6 +4036,18 @@ def credential_type(self) -> Optional[pulumi.Input[str]]: def credential_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "credential_type", value) + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @named_credential_id.setter + def named_credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "named_credential_id", value) + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> Optional[pulumi.Input[str]]: @@ -5923,6 +6367,7 @@ def __init__(__self__, *, * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection :param pulumi.Input[str] database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. :param pulumi.Input[str] management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. :param pulumi.Input[str] private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. @@ -5944,6 +6389,7 @@ def connector_type(self) -> Optional[pulumi.Input[str]]: * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection """ return pulumi.get(self, "connector_type") @@ -6054,6 +6500,7 @@ def __init__(__self__, *, * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection :param pulumi.Input[str] database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. :param pulumi.Input[str] management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. :param pulumi.Input[str] private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. @@ -6075,6 +6522,7 @@ def connector_type(self) -> Optional[pulumi.Input[str]]: * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection """ return pulumi.get(self, "connector_type") @@ -6134,31 +6582,197 @@ def __init__(__self__, *, @property @pulumi.getter - def feature(self) -> pulumi.Input[str]: + def feature(self) -> pulumi.Input[str]: + """ + The name of the Database Management feature. + """ + return pulumi.get(self, "feature") + + @feature.setter + def feature(self, value: pulumi.Input[str]): + pulumi.set(self, "feature", value) + + @property + @pulumi.getter(name="connectorDetails") + def connector_details(self) -> Optional[pulumi.Input['ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs']]: + """ + The connector details required to connect to an Oracle cloud database. + """ + return pulumi.get(self, "connector_details") + + @connector_details.setter + def connector_details(self, value: Optional[pulumi.Input['ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs']]): + pulumi.set(self, "connector_details", value) + + +@pulumi.input_type +class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs: + def __init__(__self__, *, + connector_type: Optional[pulumi.Input[str]] = None, + database_connector_id: Optional[pulumi.Input[str]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + private_end_point_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] connector_type: The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + * DIRECT: Direct connection + :param pulumi.Input[str] database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + :param pulumi.Input[str] management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + :param pulumi.Input[str] private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + """ + if connector_type is not None: + pulumi.set(__self__, "connector_type", connector_type) + if database_connector_id is not None: + pulumi.set(__self__, "database_connector_id", database_connector_id) + if management_agent_id is not None: + pulumi.set(__self__, "management_agent_id", management_agent_id) + if private_end_point_id is not None: + pulumi.set(__self__, "private_end_point_id", private_end_point_id) + + @property + @pulumi.getter(name="connectorType") + def connector_type(self) -> Optional[pulumi.Input[str]]: + """ + The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + * DIRECT: Direct connection + """ + return pulumi.get(self, "connector_type") + + @connector_type.setter + def connector_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connector_type", value) + + @property + @pulumi.getter(name="databaseConnectorId") + def database_connector_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + """ + return pulumi.get(self, "database_connector_id") + + @database_connector_id.setter + def database_connector_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_connector_id", value) + + @property + @pulumi.getter(name="managementAgentId") + def management_agent_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + """ + return pulumi.get(self, "management_agent_id") + + @management_agent_id.setter + def management_agent_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "management_agent_id", value) + + @property + @pulumi.getter(name="privateEndPointId") + def private_end_point_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + """ + return pulumi.get(self, "private_end_point_id") + + @private_end_point_id.setter + def private_end_point_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_end_point_id", value) + + +@pulumi.input_type +class ManagedDatabaseDbmgmtFeatureConfigArgs: + def __init__(__self__, *, + connector_details: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs']]]] = None, + database_connection_details: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs']]]] = None, + feature: Optional[pulumi.Input[str]] = None, + feature_status: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs']]] connector_details: The connector details required to connect to an Oracle cloud database. + :param pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs']]] database_connection_details: The connection details required to connect to the database. + :param pulumi.Input[str] feature: The name of the Database Management feature. + :param pulumi.Input[str] feature_status: The list of statuses for Database Management features. + :param pulumi.Input[str] license_model: The Oracle license model that applies to the external database. + """ + if connector_details is not None: + pulumi.set(__self__, "connector_details", connector_details) + if database_connection_details is not None: + pulumi.set(__self__, "database_connection_details", database_connection_details) + if feature is not None: + pulumi.set(__self__, "feature", feature) + if feature_status is not None: + pulumi.set(__self__, "feature_status", feature_status) + if license_model is not None: + pulumi.set(__self__, "license_model", license_model) + + @property + @pulumi.getter(name="connectorDetails") + def connector_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs']]]]: + """ + The connector details required to connect to an Oracle cloud database. + """ + return pulumi.get(self, "connector_details") + + @connector_details.setter + def connector_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs']]]]): + pulumi.set(self, "connector_details", value) + + @property + @pulumi.getter(name="databaseConnectionDetails") + def database_connection_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs']]]]: + """ + The connection details required to connect to the database. + """ + return pulumi.get(self, "database_connection_details") + + @database_connection_details.setter + def database_connection_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs']]]]): + pulumi.set(self, "database_connection_details", value) + + @property + @pulumi.getter + def feature(self) -> Optional[pulumi.Input[str]]: """ The name of the Database Management feature. """ return pulumi.get(self, "feature") @feature.setter - def feature(self, value: pulumi.Input[str]): + def feature(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "feature", value) @property - @pulumi.getter(name="connectorDetails") - def connector_details(self) -> Optional[pulumi.Input['ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs']]: + @pulumi.getter(name="featureStatus") + def feature_status(self) -> Optional[pulumi.Input[str]]: """ - The connector details required to connect to an Oracle cloud database. + The list of statuses for Database Management features. """ - return pulumi.get(self, "connector_details") + return pulumi.get(self, "feature_status") - @connector_details.setter - def connector_details(self, value: Optional[pulumi.Input['ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs']]): - pulumi.set(self, "connector_details", value) + @feature_status.setter + def feature_status(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "feature_status", value) + + @property + @pulumi.getter(name="licenseModel") + def license_model(self) -> Optional[pulumi.Input[str]]: + """ + The Oracle license model that applies to the external database. + """ + return pulumi.get(self, "license_model") + + @license_model.setter + def license_model(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "license_model", value) @pulumi.input_type -class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs: +class ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs: def __init__(__self__, *, connector_type: Optional[pulumi.Input[str]] = None, database_connector_id: Optional[pulumi.Input[str]] = None, @@ -6234,6 +6848,237 @@ def private_end_point_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "private_end_point_id", value) +@pulumi.input_type +class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs: + def __init__(__self__, *, + connection_credentials: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs']]]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs']]]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs']]] connection_credentials: The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + :param pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs']]] connection_strings: The details of the Oracle Database connection string. + """ + if connection_credentials is not None: + pulumi.set(__self__, "connection_credentials", connection_credentials) + if connection_strings is not None: + pulumi.set(__self__, "connection_strings", connection_strings) + + @property + @pulumi.getter(name="connectionCredentials") + def connection_credentials(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs']]]]: + """ + The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + """ + return pulumi.get(self, "connection_credentials") + + @connection_credentials.setter + def connection_credentials(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs']]]]): + pulumi.set(self, "connection_credentials", value) + + @property + @pulumi.getter(name="connectionStrings") + def connection_strings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs']]]]: + """ + The details of the Oracle Database connection string. + """ + return pulumi.get(self, "connection_strings") + + @connection_strings.setter + def connection_strings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs']]]]): + pulumi.set(self, "connection_strings", value) + + +@pulumi.input_type +class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs: + def __init__(__self__, *, + credential_name: Optional[pulumi.Input[str]] = None, + credential_type: Optional[pulumi.Input[str]] = None, + named_credential_id: 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): + """ + :param pulumi.Input[str] credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + :param pulumi.Input[str] credential_type: The type of credential used to connect to the database. + :param pulumi.Input[str] named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + :param pulumi.Input[str] password_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] role: The role of the user 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 secret containing the SSL keystore and truststore details. + :param pulumi.Input[str] user_name: The user name used to connect to the database. + """ + if credential_name is not None: + pulumi.set(__self__, "credential_name", credential_name) + if credential_type is not None: + pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) + if password_secret_id is not None: + pulumi.set(__self__, "password_secret_id", password_secret_id) + if role is not None: + pulumi.set(__self__, "role", role) + if ssl_secret_id is not None: + pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="credentialName") + def credential_name(self) -> Optional[pulumi.Input[str]]: + """ + The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + """ + return pulumi.get(self, "credential_name") + + @credential_name.setter + def credential_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_name", value) + + @property + @pulumi.getter(name="credentialType") + def credential_type(self) -> Optional[pulumi.Input[str]]: + """ + The type of credential used to connect to the database. + """ + return pulumi.get(self, "credential_type") + + @credential_type.setter + def credential_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "credential_type", value) + + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @named_credential_id.setter + def named_credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "named_credential_id", value) + + @property + @pulumi.getter(name="passwordSecretId") + def password_secret_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + """ + return pulumi.get(self, "password_secret_id") + + @password_secret_id.setter + def password_secret_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "password_secret_id", value) + + @property + @pulumi.getter + def role(self) -> Optional[pulumi.Input[str]]: + """ + The role of the user connecting to the database. + """ + return pulumi.get(self, "role") + + @role.setter + def role(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "role", value) + + @property + @pulumi.getter(name="sslSecretId") + def ssl_secret_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + """ + return pulumi.get(self, "ssl_secret_id") + + @ssl_secret_id.setter + def ssl_secret_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ssl_secret_id", value) + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[pulumi.Input[str]]: + """ + The user name used to connect to the database. + """ + return pulumi.get(self, "user_name") + + @user_name.setter + def user_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_name", value) + + +@pulumi.input_type +class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs: + def __init__(__self__, *, + connection_type: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] connection_type: The list of supported connection types: + * BASIC: Basic connection details + :param pulumi.Input[int] port: The port number used to connect to the database. + :param pulumi.Input[str] protocol: The protocol used to connect to the database. + :param pulumi.Input[str] service: The service name of the database. + """ + if connection_type is not None: + pulumi.set(__self__, "connection_type", connection_type) + if port is not None: + pulumi.set(__self__, "port", port) + if protocol is not None: + pulumi.set(__self__, "protocol", protocol) + if service is not None: + pulumi.set(__self__, "service", service) + + @property + @pulumi.getter(name="connectionType") + def connection_type(self) -> Optional[pulumi.Input[str]]: + """ + The list of supported connection types: + * BASIC: Basic connection details + """ + return pulumi.get(self, "connection_type") + + @connection_type.setter + def connection_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_type", value) + + @property + @pulumi.getter + def port(self) -> Optional[pulumi.Input[int]]: + """ + The port number used to connect to the database. + """ + return pulumi.get(self, "port") + + @port.setter + def port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "port", value) + + @property + @pulumi.getter + def protocol(self) -> Optional[pulumi.Input[str]]: + """ + The protocol used to connect to the database. + """ + return pulumi.get(self, "protocol") + + @protocol.setter + def protocol(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "protocol", value) + + @property + @pulumi.getter + def service(self) -> Optional[pulumi.Input[str]]: + """ + The service name of the database. + """ + return pulumi.get(self, "service") + + @service.setter + def service(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service", value) + + @pulumi.input_type class ManagedDatabaseGroupManagedDatabaseArgs: def __init__(__self__, *, @@ -7059,6 +7904,7 @@ def __init__(__self__, *, * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection :param pulumi.Input[str] database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. :param pulumi.Input[str] management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. :param pulumi.Input[str] private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. @@ -7080,6 +7926,7 @@ def connector_type(self) -> Optional[pulumi.Input[str]]: * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection """ return pulumi.get(self, "connector_type") @@ -7168,6 +8015,7 @@ class PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsDatab def __init__(__self__, *, credential_name: Optional[pulumi.Input[str]] = None, credential_type: Optional[pulumi.Input[str]] = None, + named_credential_id: 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, @@ -7177,6 +8025,7 @@ def __init__(__self__, *, For example: inventorydb.abc112233445566778899 :param pulumi.Input[str] credential_type: The type of credential used to connect to the database. + :param pulumi.Input[str] named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. :param pulumi.Input[str] password_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] role: The role of the user 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 secret containing the SSL keystore and truststore details. @@ -7186,6 +8035,8 @@ def __init__(__self__, *, pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -7221,6 +8072,18 @@ def credential_type(self) -> Optional[pulumi.Input[str]]: def credential_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "credential_type", value) + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @named_credential_id.setter + def named_credential_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "named_credential_id", value) + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> Optional[pulumi.Input[str]]: diff --git a/sdk/python/pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py b/sdk/python/pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py new file mode 100644 index 0000000000..4f1b6ec0d4 --- /dev/null +++ b/sdk/python/pulumi_oci/databasemanagement/autonomous_database_autonomous_database_dbm_features_management.py @@ -0,0 +1,275 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs', 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement'] + +@pulumi.input_type +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs: + def __init__(__self__, *, + autonomous_database_id: pulumi.Input[str], + enable_autonomous_database_dbm_feature: pulumi.Input[bool], + feature_details: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None): + """ + The set of arguments for constructing a AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement resource. + :param pulumi.Input[str] autonomous_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + :param pulumi.Input[bool] enable_autonomous_database_dbm_feature: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + + + ** IMPORTANT ** + 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['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs'] feature_details: The details required to enable the specified Database Management feature for an Autonomous Database. + """ + pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + pulumi.set(__self__, "enable_autonomous_database_dbm_feature", enable_autonomous_database_dbm_feature) + if feature_details is not None: + pulumi.set(__self__, "feature_details", feature_details) + + @property + @pulumi.getter(name="autonomousDatabaseId") + def autonomous_database_id(self) -> pulumi.Input[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + """ + return pulumi.get(self, "autonomous_database_id") + + @autonomous_database_id.setter + def autonomous_database_id(self, value: pulumi.Input[str]): + pulumi.set(self, "autonomous_database_id", value) + + @property + @pulumi.getter(name="enableAutonomousDatabaseDbmFeature") + def enable_autonomous_database_dbm_feature(self) -> pulumi.Input[bool]: + """ + (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + + + ** IMPORTANT ** + 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, "enable_autonomous_database_dbm_feature") + + @enable_autonomous_database_dbm_feature.setter + def enable_autonomous_database_dbm_feature(self, value: pulumi.Input[bool]): + pulumi.set(self, "enable_autonomous_database_dbm_feature", value) + + @property + @pulumi.getter(name="featureDetails") + def feature_details(self) -> Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs']]: + """ + The details required to enable the specified Database Management feature for an Autonomous Database. + """ + return pulumi.get(self, "feature_details") + + @feature_details.setter + def feature_details(self, value: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs']]): + pulumi.set(self, "feature_details", value) + + +@pulumi.input_type +class _AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState: + def __init__(__self__, *, + autonomous_database_id: Optional[pulumi.Input[str]] = None, + enable_autonomous_database_dbm_feature: Optional[pulumi.Input[bool]] = None, + feature_details: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None): + """ + Input properties used for looking up and filtering AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement resources. + :param pulumi.Input[str] autonomous_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + :param pulumi.Input[bool] enable_autonomous_database_dbm_feature: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + + + ** IMPORTANT ** + 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['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs'] feature_details: The details required to enable the specified Database Management feature for an Autonomous Database. + """ + if autonomous_database_id is not None: + pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + if enable_autonomous_database_dbm_feature is not None: + pulumi.set(__self__, "enable_autonomous_database_dbm_feature", enable_autonomous_database_dbm_feature) + if feature_details is not None: + pulumi.set(__self__, "feature_details", feature_details) + + @property + @pulumi.getter(name="autonomousDatabaseId") + def autonomous_database_id(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + """ + return pulumi.get(self, "autonomous_database_id") + + @autonomous_database_id.setter + def autonomous_database_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "autonomous_database_id", value) + + @property + @pulumi.getter(name="enableAutonomousDatabaseDbmFeature") + def enable_autonomous_database_dbm_feature(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + + + ** IMPORTANT ** + 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, "enable_autonomous_database_dbm_feature") + + @enable_autonomous_database_dbm_feature.setter + def enable_autonomous_database_dbm_feature(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "enable_autonomous_database_dbm_feature", value) + + @property + @pulumi.getter(name="featureDetails") + def feature_details(self) -> Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs']]: + """ + The details required to enable the specified Database Management feature for an Autonomous Database. + """ + return pulumi.get(self, "feature_details") + + @feature_details.setter + def feature_details(self, value: Optional[pulumi.Input['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs']]): + pulumi.set(self, "feature_details", value) + + +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + autonomous_database_id: Optional[pulumi.Input[str]] = None, + enable_autonomous_database_dbm_feature: Optional[pulumi.Input[bool]] = None, + feature_details: Optional[pulumi.Input[Union['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs', 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgsDict']]] = None, + __props__=None): + """ + This resource provides the Autonomous Database Autonomous Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service. + + Enables a Database Management feature for the specified Autonomous Database. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] autonomous_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + :param pulumi.Input[bool] enable_autonomous_database_dbm_feature: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + + + ** IMPORTANT ** + 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[Union['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs', 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgsDict']] feature_details: The details required to enable the specified Database Management feature for an Autonomous Database. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Autonomous Database Autonomous Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service. + + Enables a Database Management feature for the specified Autonomous Database. + + :param str resource_name: The name of the resource. + :param AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs 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(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + autonomous_database_id: Optional[pulumi.Input[str]] = None, + enable_autonomous_database_dbm_feature: Optional[pulumi.Input[bool]] = None, + feature_details: Optional[pulumi.Input[Union['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs', 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgsDict']]] = 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__ = AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs.__new__(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementArgs) + + 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 enable_autonomous_database_dbm_feature is None and not opts.urn: + raise TypeError("Missing required property 'enable_autonomous_database_dbm_feature'") + __props__.__dict__["enable_autonomous_database_dbm_feature"] = enable_autonomous_database_dbm_feature + __props__.__dict__["feature_details"] = feature_details + super(AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement, __self__).__init__( + 'oci:DatabaseManagement/autonomousDatabaseAutonomousDatabaseDbmFeaturesManagement:AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + autonomous_database_id: Optional[pulumi.Input[str]] = None, + enable_autonomous_database_dbm_feature: Optional[pulumi.Input[bool]] = None, + feature_details: Optional[pulumi.Input[Union['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs', 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgsDict']]] = None) -> 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement': + """ + Get an existing AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement 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] autonomous_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + :param pulumi.Input[bool] enable_autonomous_database_dbm_feature: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + + + ** IMPORTANT ** + 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[Union['AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgs', 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsArgsDict']] feature_details: The details required to enable the specified Database Management feature for an Autonomous Database. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState.__new__(_AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementState) + + __props__.__dict__["autonomous_database_id"] = autonomous_database_id + __props__.__dict__["enable_autonomous_database_dbm_feature"] = enable_autonomous_database_dbm_feature + __props__.__dict__["feature_details"] = feature_details + return AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagement(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="autonomousDatabaseId") + def autonomous_database_id(self) -> pulumi.Output[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. + """ + return pulumi.get(self, "autonomous_database_id") + + @property + @pulumi.getter(name="enableAutonomousDatabaseDbmFeature") + def enable_autonomous_database_dbm_feature(self) -> pulumi.Output[bool]: + """ + (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. + + + ** IMPORTANT ** + 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, "enable_autonomous_database_dbm_feature") + + @property + @pulumi.getter(name="featureDetails") + def feature_details(self) -> pulumi.Output[Optional['outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails']]: + """ + The details required to enable the specified Database Management feature for an Autonomous Database. + """ + return pulumi.get(self, "feature_details") + diff --git a/sdk/python/pulumi_oci/databasemanagement/database_dbm_features_management.py b/sdk/python/pulumi_oci/databasemanagement/database_dbm_features_management.py index 48b31ab470..0ad1c19f0b 100644 --- a/sdk/python/pulumi_oci/databasemanagement/database_dbm_features_management.py +++ b/sdk/python/pulumi_oci/databasemanagement/database_dbm_features_management.py @@ -18,7 +18,8 @@ class DatabaseDbmFeaturesManagementArgs: def __init__(__self__, *, database_id: pulumi.Input[str], enable_database_dbm_feature: pulumi.Input[bool], - feature_details: Optional[pulumi.Input['DatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None): + feature_details: Optional[pulumi.Input['DatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None, + modify_database_dbm_feature: Optional[pulumi.Input[bool]] = None): """ The set of arguments for constructing a DatabaseDbmFeaturesManagement resource. :param pulumi.Input[str] database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database. @@ -33,6 +34,8 @@ def __init__(__self__, *, pulumi.set(__self__, "enable_database_dbm_feature", enable_database_dbm_feature) if feature_details is not None: pulumi.set(__self__, "feature_details", feature_details) + if modify_database_dbm_feature is not None: + pulumi.set(__self__, "modify_database_dbm_feature", modify_database_dbm_feature) @property @pulumi.getter(name="databaseId") @@ -74,13 +77,23 @@ def feature_details(self) -> Optional[pulumi.Input['DatabaseDbmFeaturesManagemen def feature_details(self, value: Optional[pulumi.Input['DatabaseDbmFeaturesManagementFeatureDetailsArgs']]): pulumi.set(self, "feature_details", value) + @property + @pulumi.getter(name="modifyDatabaseDbmFeature") + def modify_database_dbm_feature(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "modify_database_dbm_feature") + + @modify_database_dbm_feature.setter + def modify_database_dbm_feature(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "modify_database_dbm_feature", value) + @pulumi.input_type class _DatabaseDbmFeaturesManagementState: def __init__(__self__, *, database_id: Optional[pulumi.Input[str]] = None, enable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, - feature_details: Optional[pulumi.Input['DatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None): + feature_details: Optional[pulumi.Input['DatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None, + modify_database_dbm_feature: Optional[pulumi.Input[bool]] = None): """ Input properties used for looking up and filtering DatabaseDbmFeaturesManagement resources. :param pulumi.Input[str] database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database. @@ -97,6 +110,8 @@ def __init__(__self__, *, pulumi.set(__self__, "enable_database_dbm_feature", enable_database_dbm_feature) if feature_details is not None: pulumi.set(__self__, "feature_details", feature_details) + if modify_database_dbm_feature is not None: + pulumi.set(__self__, "modify_database_dbm_feature", modify_database_dbm_feature) @property @pulumi.getter(name="databaseId") @@ -138,6 +153,15 @@ def feature_details(self) -> Optional[pulumi.Input['DatabaseDbmFeaturesManagemen def feature_details(self, value: Optional[pulumi.Input['DatabaseDbmFeaturesManagementFeatureDetailsArgs']]): pulumi.set(self, "feature_details", value) + @property + @pulumi.getter(name="modifyDatabaseDbmFeature") + def modify_database_dbm_feature(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "modify_database_dbm_feature") + + @modify_database_dbm_feature.setter + def modify_database_dbm_feature(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "modify_database_dbm_feature", value) + class DatabaseDbmFeaturesManagement(pulumi.CustomResource): @overload @@ -147,6 +171,7 @@ def __init__(__self__, database_id: Optional[pulumi.Input[str]] = None, enable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, feature_details: Optional[pulumi.Input[Union['DatabaseDbmFeaturesManagementFeatureDetailsArgs', 'DatabaseDbmFeaturesManagementFeatureDetailsArgsDict']]] = None, + modify_database_dbm_feature: Optional[pulumi.Input[bool]] = None, __props__=None): """ This resource provides the Database Dbm Features Management resource in Oracle Cloud Infrastructure Database Management service. @@ -192,6 +217,7 @@ def _internal_init(__self__, database_id: Optional[pulumi.Input[str]] = None, enable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, feature_details: Optional[pulumi.Input[Union['DatabaseDbmFeaturesManagementFeatureDetailsArgs', 'DatabaseDbmFeaturesManagementFeatureDetailsArgsDict']]] = None, + modify_database_dbm_feature: Optional[pulumi.Input[bool]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -208,6 +234,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'enable_database_dbm_feature'") __props__.__dict__["enable_database_dbm_feature"] = enable_database_dbm_feature __props__.__dict__["feature_details"] = feature_details + __props__.__dict__["modify_database_dbm_feature"] = modify_database_dbm_feature super(DatabaseDbmFeaturesManagement, __self__).__init__( 'oci:DatabaseManagement/databaseDbmFeaturesManagement:DatabaseDbmFeaturesManagement', resource_name, @@ -220,7 +247,8 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, database_id: Optional[pulumi.Input[str]] = None, enable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, - feature_details: Optional[pulumi.Input[Union['DatabaseDbmFeaturesManagementFeatureDetailsArgs', 'DatabaseDbmFeaturesManagementFeatureDetailsArgsDict']]] = None) -> 'DatabaseDbmFeaturesManagement': + feature_details: Optional[pulumi.Input[Union['DatabaseDbmFeaturesManagementFeatureDetailsArgs', 'DatabaseDbmFeaturesManagementFeatureDetailsArgsDict']]] = None, + modify_database_dbm_feature: Optional[pulumi.Input[bool]] = None) -> 'DatabaseDbmFeaturesManagement': """ Get an existing DatabaseDbmFeaturesManagement resource's state with the given name, id, and optional extra properties used to qualify the lookup. @@ -243,6 +271,7 @@ def get(resource_name: str, __props__.__dict__["database_id"] = database_id __props__.__dict__["enable_database_dbm_feature"] = enable_database_dbm_feature __props__.__dict__["feature_details"] = feature_details + __props__.__dict__["modify_database_dbm_feature"] = modify_database_dbm_feature return DatabaseDbmFeaturesManagement(resource_name, opts=opts, __props__=__props__) @property @@ -273,3 +302,8 @@ def feature_details(self) -> pulumi.Output[Optional['outputs.DatabaseDbmFeatures """ return pulumi.get(self, "feature_details") + @property + @pulumi.getter(name="modifyDatabaseDbmFeature") + def modify_database_dbm_feature(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "modify_database_dbm_feature") + 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 2e9fc52a7b..25a45faa75 100644 --- a/sdk/python/pulumi_oci/databasemanagement/db_management_private_endpoint.py +++ b/sdk/python/pulumi_oci/databasemanagement/db_management_private_endpoint.py @@ -20,6 +20,7 @@ def __init__(__self__, *, description: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, is_cluster: Optional[pulumi.Input[bool]] = None, + is_dns_resolution_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): """ @@ -34,6 +35,7 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) The description of the private endpoint. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_cluster: Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. + :param pulumi.Input[bool] is_dns_resolution_enabled: Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. :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. """ @@ -47,6 +49,8 @@ def __init__(__self__, *, pulumi.set(__self__, "freeform_tags", freeform_tags) if is_cluster is not None: pulumi.set(__self__, "is_cluster", is_cluster) + if is_dns_resolution_enabled is not None: + pulumi.set(__self__, "is_dns_resolution_enabled", is_dns_resolution_enabled) if name is not None: pulumi.set(__self__, "name", name) if nsg_ids is not None: @@ -128,6 +132,18 @@ def is_cluster(self) -> Optional[pulumi.Input[bool]]: def is_cluster(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_cluster", value) + @property + @pulumi.getter(name="isDnsResolutionEnabled") + def is_dns_resolution_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + """ + return pulumi.get(self, "is_dns_resolution_enabled") + + @is_dns_resolution_enabled.setter + def is_dns_resolution_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_dns_resolution_enabled", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -161,6 +177,7 @@ def __init__(__self__, *, description: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, is_cluster: Optional[pulumi.Input[bool]] = None, + is_dns_resolution_enabled: 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, @@ -176,6 +193,7 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) The description of the private endpoint. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_cluster: Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. + :param pulumi.Input[bool] is_dns_resolution_enabled: Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. :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. :param pulumi.Input[str] private_ip: The IP addresses assigned to the Database Management private endpoint. @@ -199,6 +217,8 @@ def __init__(__self__, *, pulumi.set(__self__, "freeform_tags", freeform_tags) if is_cluster is not None: pulumi.set(__self__, "is_cluster", is_cluster) + if is_dns_resolution_enabled is not None: + pulumi.set(__self__, "is_dns_resolution_enabled", is_dns_resolution_enabled) if name is not None: pulumi.set(__self__, "name", name) if nsg_ids is not None: @@ -276,6 +296,18 @@ def is_cluster(self) -> Optional[pulumi.Input[bool]]: def is_cluster(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_cluster", value) + @property + @pulumi.getter(name="isDnsResolutionEnabled") + def is_dns_resolution_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + """ + return pulumi.get(self, "is_dns_resolution_enabled") + + @is_dns_resolution_enabled.setter + def is_dns_resolution_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_dns_resolution_enabled", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -387,6 +419,7 @@ def __init__(__self__, description: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, is_cluster: Optional[pulumi.Input[bool]] = None, + is_dns_resolution_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, subnet_id: Optional[pulumi.Input[str]] = None, @@ -414,6 +447,7 @@ def __init__(__self__, "Department": "Finance", }, is_cluster=db_management_private_endpoint_is_cluster, + is_dns_resolution_enabled=db_management_private_endpoint_is_dns_resolution_enabled, nsg_ids=db_management_private_endpoint_nsg_ids) ``` @@ -432,6 +466,7 @@ def __init__(__self__, :param pulumi.Input[str] description: (Updatable) The description of the private endpoint. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_cluster: Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. + :param pulumi.Input[bool] is_dns_resolution_enabled: Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. :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. :param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. @@ -469,6 +504,7 @@ def __init__(__self__, "Department": "Finance", }, is_cluster=db_management_private_endpoint_is_cluster, + is_dns_resolution_enabled=db_management_private_endpoint_is_dns_resolution_enabled, nsg_ids=db_management_private_endpoint_nsg_ids) ``` @@ -500,6 +536,7 @@ def _internal_init(__self__, description: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, is_cluster: Optional[pulumi.Input[bool]] = None, + is_dns_resolution_enabled: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, subnet_id: Optional[pulumi.Input[str]] = None, @@ -519,6 +556,7 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_cluster"] = is_cluster + __props__.__dict__["is_dns_resolution_enabled"] = is_dns_resolution_enabled __props__.__dict__["name"] = name __props__.__dict__["nsg_ids"] = nsg_ids if subnet_id is None and not opts.urn: @@ -544,6 +582,7 @@ def get(resource_name: str, description: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, is_cluster: Optional[pulumi.Input[bool]] = None, + is_dns_resolution_enabled: 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, @@ -564,6 +603,7 @@ def get(resource_name: str, :param pulumi.Input[str] description: (Updatable) The description of the private endpoint. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_cluster: Specifies whether the Database Management private endpoint will be used for Oracle Databases in a cluster. + :param pulumi.Input[bool] is_dns_resolution_enabled: Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. :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. :param pulumi.Input[str] private_ip: The IP addresses assigned to the Database Management private endpoint. @@ -586,6 +626,7 @@ def get(resource_name: str, __props__.__dict__["description"] = description __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_cluster"] = is_cluster + __props__.__dict__["is_dns_resolution_enabled"] = is_dns_resolution_enabled __props__.__dict__["name"] = name __props__.__dict__["nsg_ids"] = nsg_ids __props__.__dict__["private_ip"] = private_ip @@ -636,6 +677,14 @@ def is_cluster(self) -> pulumi.Output[bool]: """ return pulumi.get(self, "is_cluster") + @property + @pulumi.getter(name="isDnsResolutionEnabled") + def is_dns_resolution_enabled(self) -> pulumi.Output[bool]: + """ + Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + """ + return pulumi.get(self, "is_dns_resolution_enabled") + @property @pulumi.getter def name(self) -> pulumi.Output[str]: 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 50eef0ae49..7edfe11157 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 @@ -21,7 +21,7 @@ class GetDbManagementPrivateEndpointResult: """ A collection of values returned by getDbManagementPrivateEndpoint. """ - def __init__(__self__, compartment_id=None, db_management_private_endpoint_id=None, defined_tags=None, description=None, freeform_tags=None, id=None, is_cluster=None, name=None, nsg_ids=None, private_ip=None, state=None, subnet_id=None, system_tags=None, time_created=None, vcn_id=None): + def __init__(__self__, compartment_id=None, db_management_private_endpoint_id=None, defined_tags=None, description=None, freeform_tags=None, id=None, is_cluster=None, is_dns_resolution_enabled=None, name=None, nsg_ids=None, private_ip=None, state=None, subnet_id=None, system_tags=None, time_created=None, vcn_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) @@ -43,6 +43,9 @@ def __init__(__self__, compartment_id=None, db_management_private_endpoint_id=No if is_cluster and not isinstance(is_cluster, bool): raise TypeError("Expected argument 'is_cluster' to be a bool") pulumi.set(__self__, "is_cluster", is_cluster) + if is_dns_resolution_enabled and not isinstance(is_dns_resolution_enabled, bool): + raise TypeError("Expected argument 'is_dns_resolution_enabled' to be a bool") + pulumi.set(__self__, "is_dns_resolution_enabled", is_dns_resolution_enabled) if name and not isinstance(name, str): raise TypeError("Expected argument 'name' to be a str") pulumi.set(__self__, "name", name) @@ -121,6 +124,14 @@ def is_cluster(self) -> bool: """ return pulumi.get(self, "is_cluster") + @property + @pulumi.getter(name="isDnsResolutionEnabled") + def is_dns_resolution_enabled(self) -> bool: + """ + Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + """ + return pulumi.get(self, "is_dns_resolution_enabled") + @property @pulumi.getter def name(self) -> str: @@ -199,6 +210,7 @@ def __await__(self): freeform_tags=self.freeform_tags, id=self.id, is_cluster=self.is_cluster, + is_dns_resolution_enabled=self.is_dns_resolution_enabled, name=self.name, nsg_ids=self.nsg_ids, private_ip=self.private_ip, @@ -241,6 +253,7 @@ def get_db_management_private_endpoint(db_management_private_endpoint_id: Option freeform_tags=pulumi.get(__ret__, 'freeform_tags'), id=pulumi.get(__ret__, 'id'), is_cluster=pulumi.get(__ret__, 'is_cluster'), + is_dns_resolution_enabled=pulumi.get(__ret__, 'is_dns_resolution_enabled'), name=pulumi.get(__ret__, 'name'), nsg_ids=pulumi.get(__ret__, 'nsg_ids'), private_ip=pulumi.get(__ret__, 'private_ip'), 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 2d9528aad4..eeb47bc4d7 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 @@ -23,7 +23,7 @@ class GetDbManagementPrivateEndpointsResult: """ A collection of values returned by getDbManagementPrivateEndpoints. """ - def __init__(__self__, compartment_id=None, db_management_private_endpoint_collections=None, filters=None, id=None, is_cluster=None, name=None, state=None, vcn_id=None): + def __init__(__self__, compartment_id=None, db_management_private_endpoint_collections=None, filters=None, id=None, is_cluster=None, is_dns_resolution_enabled=None, name=None, state=None, vcn_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) @@ -39,6 +39,9 @@ def __init__(__self__, compartment_id=None, db_management_private_endpoint_colle if is_cluster and not isinstance(is_cluster, bool): raise TypeError("Expected argument 'is_cluster' to be a bool") pulumi.set(__self__, "is_cluster", is_cluster) + if is_dns_resolution_enabled and not isinstance(is_dns_resolution_enabled, bool): + raise TypeError("Expected argument 'is_dns_resolution_enabled' to be a bool") + pulumi.set(__self__, "is_dns_resolution_enabled", is_dns_resolution_enabled) if name and not isinstance(name, str): raise TypeError("Expected argument 'name' to be a str") pulumi.set(__self__, "name", name) @@ -86,6 +89,14 @@ def is_cluster(self) -> Optional[bool]: """ return pulumi.get(self, "is_cluster") + @property + @pulumi.getter(name="isDnsResolutionEnabled") + def is_dns_resolution_enabled(self) -> Optional[bool]: + """ + Specifies whether the Database Management private endpoint has DNS proxy server enabled to resolve private host name. + """ + return pulumi.get(self, "is_dns_resolution_enabled") + @property @pulumi.getter def name(self) -> Optional[str]: @@ -122,6 +133,7 @@ def __await__(self): filters=self.filters, id=self.id, is_cluster=self.is_cluster, + is_dns_resolution_enabled=self.is_dns_resolution_enabled, name=self.name, state=self.state, vcn_id=self.vcn_id) @@ -130,6 +142,7 @@ def __await__(self): def get_db_management_private_endpoints(compartment_id: Optional[str] = None, filters: Optional[Sequence[Union['GetDbManagementPrivateEndpointsFilterArgs', 'GetDbManagementPrivateEndpointsFilterArgsDict']]] = None, is_cluster: Optional[bool] = None, + is_dns_resolution_enabled: Optional[bool] = None, name: Optional[str] = None, state: Optional[str] = None, vcn_id: Optional[str] = None, @@ -147,6 +160,7 @@ def get_db_management_private_endpoints(compartment_id: Optional[str] = None, test_db_management_private_endpoints = oci.DatabaseManagement.get_db_management_private_endpoints(compartment_id=compartment_id, is_cluster=db_management_private_endpoint_is_cluster, + is_dns_resolution_enabled=db_management_private_endpoint_is_dns_resolution_enabled, name=db_management_private_endpoint_name, state=db_management_private_endpoint_state, vcn_id=test_vcn["id"]) @@ -155,6 +169,7 @@ def get_db_management_private_endpoints(compartment_id: Optional[str] = None, :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. :param bool is_cluster: The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. + :param bool is_dns_resolution_enabled: The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. :param str name: A filter to return only resources that match the entire name. :param str state: The lifecycle state of a resource. :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. @@ -163,6 +178,7 @@ def get_db_management_private_endpoints(compartment_id: Optional[str] = None, __args__['compartmentId'] = compartment_id __args__['filters'] = filters __args__['isCluster'] = is_cluster + __args__['isDnsResolutionEnabled'] = is_dns_resolution_enabled __args__['name'] = name __args__['state'] = state __args__['vcnId'] = vcn_id @@ -175,6 +191,7 @@ def get_db_management_private_endpoints(compartment_id: Optional[str] = None, filters=pulumi.get(__ret__, 'filters'), id=pulumi.get(__ret__, 'id'), is_cluster=pulumi.get(__ret__, 'is_cluster'), + is_dns_resolution_enabled=pulumi.get(__ret__, 'is_dns_resolution_enabled'), name=pulumi.get(__ret__, 'name'), state=pulumi.get(__ret__, 'state'), vcn_id=pulumi.get(__ret__, 'vcn_id')) @@ -184,6 +201,7 @@ def get_db_management_private_endpoints(compartment_id: Optional[str] = None, def get_db_management_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None, filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDbManagementPrivateEndpointsFilterArgs', 'GetDbManagementPrivateEndpointsFilterArgsDict']]]]] = None, is_cluster: Optional[pulumi.Input[Optional[bool]]] = None, + is_dns_resolution_enabled: Optional[pulumi.Input[Optional[bool]]] = None, name: Optional[pulumi.Input[Optional[str]]] = None, state: Optional[pulumi.Input[Optional[str]]] = None, vcn_id: Optional[pulumi.Input[Optional[str]]] = None, @@ -201,6 +219,7 @@ def get_db_management_private_endpoints_output(compartment_id: Optional[pulumi.I test_db_management_private_endpoints = oci.DatabaseManagement.get_db_management_private_endpoints(compartment_id=compartment_id, is_cluster=db_management_private_endpoint_is_cluster, + is_dns_resolution_enabled=db_management_private_endpoint_is_dns_resolution_enabled, name=db_management_private_endpoint_name, state=db_management_private_endpoint_state, vcn_id=test_vcn["id"]) @@ -209,6 +228,7 @@ def get_db_management_private_endpoints_output(compartment_id: Optional[pulumi.I :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. :param bool is_cluster: The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. + :param bool is_dns_resolution_enabled: The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. :param str name: A filter to return only resources that match the entire name. :param str state: The lifecycle state of a resource. :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database.py index 64611b53f6..5f38646504 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database.py @@ -22,13 +22,16 @@ class GetManagedDatabaseResult: """ A collection of values returned by getManagedDatabase. """ - def __init__(__self__, additional_details=None, compartment_id=None, database_status=None, database_sub_type=None, database_type=None, database_version=None, db_system_id=None, defined_tags=None, deployment_type=None, freeform_tags=None, id=None, is_cluster=None, managed_database_groups=None, managed_database_id=None, management_option=None, name=None, parent_container_id=None, storage_system_id=None, time_created=None, workload_type=None): + def __init__(__self__, additional_details=None, compartment_id=None, database_platform_name=None, database_status=None, database_sub_type=None, database_type=None, database_version=None, db_system_id=None, dbmgmt_feature_configs=None, defined_tags=None, deployment_type=None, freeform_tags=None, id=None, is_cluster=None, managed_database_groups=None, managed_database_id=None, management_option=None, name=None, parent_container_id=None, storage_system_id=None, system_tags=None, time_created=None, workload_type=None): if additional_details and not isinstance(additional_details, dict): raise TypeError("Expected argument 'additional_details' to be a dict") pulumi.set(__self__, "additional_details", additional_details) 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 database_platform_name and not isinstance(database_platform_name, str): + raise TypeError("Expected argument 'database_platform_name' to be a str") + pulumi.set(__self__, "database_platform_name", database_platform_name) if database_status and not isinstance(database_status, str): raise TypeError("Expected argument 'database_status' to be a str") pulumi.set(__self__, "database_status", database_status) @@ -44,6 +47,9 @@ def __init__(__self__, additional_details=None, compartment_id=None, database_st 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) + if dbmgmt_feature_configs and not isinstance(dbmgmt_feature_configs, list): + raise TypeError("Expected argument 'dbmgmt_feature_configs' to be a list") + pulumi.set(__self__, "dbmgmt_feature_configs", dbmgmt_feature_configs) 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) @@ -77,6 +83,9 @@ def __init__(__self__, additional_details=None, compartment_id=None, database_st if storage_system_id and not isinstance(storage_system_id, str): raise TypeError("Expected argument 'storage_system_id' to be a str") pulumi.set(__self__, "storage_system_id", storage_system_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) @@ -100,6 +109,14 @@ def compartment_id(self) -> str: """ return pulumi.get(self, "compartment_id") + @property + @pulumi.getter(name="databasePlatformName") + def database_platform_name(self) -> Optional[str]: + """ + The operating system of database. + """ + return pulumi.get(self, "database_platform_name") + @property @pulumi.getter(name="databaseStatus") def database_status(self) -> str: @@ -140,6 +157,14 @@ def db_system_id(self) -> str: """ return pulumi.get(self, "db_system_id") + @property + @pulumi.getter(name="dbmgmtFeatureConfigs") + def dbmgmt_feature_configs(self) -> Sequence['outputs.GetManagedDatabaseDbmgmtFeatureConfigResult']: + """ + The list of feature configurations + """ + return pulumi.get(self, "dbmgmt_feature_configs") + @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Mapping[str, str]: @@ -225,6 +250,14 @@ def storage_system_id(self) -> str: """ return pulumi.get(self, "storage_system_id") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -250,11 +283,13 @@ def __await__(self): return GetManagedDatabaseResult( additional_details=self.additional_details, compartment_id=self.compartment_id, + database_platform_name=self.database_platform_name, database_status=self.database_status, database_sub_type=self.database_sub_type, database_type=self.database_type, database_version=self.database_version, db_system_id=self.db_system_id, + dbmgmt_feature_configs=self.dbmgmt_feature_configs, defined_tags=self.defined_tags, deployment_type=self.deployment_type, freeform_tags=self.freeform_tags, @@ -266,11 +301,13 @@ def __await__(self): name=self.name, parent_container_id=self.parent_container_id, storage_system_id=self.storage_system_id, + system_tags=self.system_tags, time_created=self.time_created, workload_type=self.workload_type) -def get_managed_database(managed_database_id: Optional[str] = None, +def get_managed_database(database_platform_name: Optional[str] = None, + managed_database_id: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetManagedDatabaseResult: """ This data source provides details about a specific Managed Database resource in Oracle Cloud Infrastructure Database Management service. @@ -287,9 +324,11 @@ def get_managed_database(managed_database_id: Optional[str] = None, ``` + :param str database_platform_name: The operating system of database. :param str managed_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. """ __args__ = dict() + __args__['databasePlatformName'] = database_platform_name __args__['managedDatabaseId'] = managed_database_id opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('oci:DatabaseManagement/getManagedDatabase:getManagedDatabase', __args__, opts=opts, typ=GetManagedDatabaseResult).value @@ -297,11 +336,13 @@ def get_managed_database(managed_database_id: Optional[str] = None, return AwaitableGetManagedDatabaseResult( additional_details=pulumi.get(__ret__, 'additional_details'), compartment_id=pulumi.get(__ret__, 'compartment_id'), + database_platform_name=pulumi.get(__ret__, 'database_platform_name'), database_status=pulumi.get(__ret__, 'database_status'), database_sub_type=pulumi.get(__ret__, 'database_sub_type'), database_type=pulumi.get(__ret__, 'database_type'), database_version=pulumi.get(__ret__, 'database_version'), db_system_id=pulumi.get(__ret__, 'db_system_id'), + dbmgmt_feature_configs=pulumi.get(__ret__, 'dbmgmt_feature_configs'), defined_tags=pulumi.get(__ret__, 'defined_tags'), deployment_type=pulumi.get(__ret__, 'deployment_type'), freeform_tags=pulumi.get(__ret__, 'freeform_tags'), @@ -313,12 +354,14 @@ def get_managed_database(managed_database_id: Optional[str] = None, name=pulumi.get(__ret__, 'name'), parent_container_id=pulumi.get(__ret__, 'parent_container_id'), storage_system_id=pulumi.get(__ret__, 'storage_system_id'), + system_tags=pulumi.get(__ret__, 'system_tags'), time_created=pulumi.get(__ret__, 'time_created'), workload_type=pulumi.get(__ret__, 'workload_type')) @_utilities.lift_output_func(get_managed_database) -def get_managed_database_output(managed_database_id: Optional[pulumi.Input[str]] = None, +def get_managed_database_output(database_platform_name: Optional[pulumi.Input[Optional[str]]] = None, + managed_database_id: Optional[pulumi.Input[str]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetManagedDatabaseResult]: """ This data source provides details about a specific Managed Database resource in Oracle Cloud Infrastructure Database Management service. @@ -335,6 +378,7 @@ def get_managed_database_output(managed_database_id: Optional[pulumi.Input[str]] ``` + :param str database_platform_name: The operating system of database. :param str managed_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. """ ... diff --git a/sdk/python/pulumi_oci/databasemanagement/managed_database.py b/sdk/python/pulumi_oci/databasemanagement/managed_database.py index 9c8acde2f2..1eeb10b69d 100644 --- a/sdk/python/pulumi_oci/databasemanagement/managed_database.py +++ b/sdk/python/pulumi_oci/databasemanagement/managed_database.py @@ -81,11 +81,13 @@ class _ManagedDatabaseState: def __init__(__self__, *, additional_details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, compartment_id: Optional[pulumi.Input[str]] = None, + database_platform_name: Optional[pulumi.Input[str]] = None, database_status: Optional[pulumi.Input[str]] = None, database_sub_type: Optional[pulumi.Input[str]] = None, database_type: Optional[pulumi.Input[str]] = None, database_version: Optional[pulumi.Input[str]] = None, db_system_id: Optional[pulumi.Input[str]] = None, + dbmgmt_feature_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigArgs']]]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, deployment_type: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, @@ -103,11 +105,13 @@ def __init__(__self__, *, Input properties used for looking up and filtering ManagedDatabase resources. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] additional_details: The additional details specific to a type of database defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. + :param pulumi.Input[str] database_platform_name: The operating system of database. :param pulumi.Input[str] database_status: The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. :param pulumi.Input[str] database_sub_type: The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. :param pulumi.Input[str] database_type: The type of Oracle Database installation. :param pulumi.Input[str] database_version: The Oracle Database version. :param pulumi.Input[str] db_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. + :param pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigArgs']]] dbmgmt_feature_configs: The list of feature configurations :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] deployment_type: The infrastructure used to deploy the Oracle Database. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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"}` @@ -130,6 +134,8 @@ def __init__(__self__, *, pulumi.set(__self__, "additional_details", additional_details) if compartment_id is not None: pulumi.set(__self__, "compartment_id", compartment_id) + if database_platform_name is not None: + pulumi.set(__self__, "database_platform_name", database_platform_name) if database_status is not None: pulumi.set(__self__, "database_status", database_status) if database_sub_type is not None: @@ -140,6 +146,8 @@ def __init__(__self__, *, pulumi.set(__self__, "database_version", database_version) if db_system_id is not None: pulumi.set(__self__, "db_system_id", db_system_id) + if dbmgmt_feature_configs is not None: + pulumi.set(__self__, "dbmgmt_feature_configs", dbmgmt_feature_configs) if defined_tags is not None: pulumi.set(__self__, "defined_tags", defined_tags) if deployment_type is not None: @@ -191,6 +199,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="databasePlatformName") + def database_platform_name(self) -> Optional[pulumi.Input[str]]: + """ + The operating system of database. + """ + return pulumi.get(self, "database_platform_name") + + @database_platform_name.setter + def database_platform_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "database_platform_name", value) + @property @pulumi.getter(name="databaseStatus") def database_status(self) -> Optional[pulumi.Input[str]]: @@ -251,6 +271,18 @@ def db_system_id(self) -> Optional[pulumi.Input[str]]: def db_system_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "db_system_id", value) + @property + @pulumi.getter(name="dbmgmtFeatureConfigs") + def dbmgmt_feature_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigArgs']]]]: + """ + The list of feature configurations + """ + return pulumi.get(self, "dbmgmt_feature_configs") + + @dbmgmt_feature_configs.setter + def dbmgmt_feature_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseDbmgmtFeatureConfigArgs']]]]): + pulumi.set(self, "dbmgmt_feature_configs", value) + @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -497,11 +529,13 @@ def _internal_init(__self__, __props__.__dict__["managed_database_id"] = managed_database_id __props__.__dict__["additional_details"] = None __props__.__dict__["compartment_id"] = None + __props__.__dict__["database_platform_name"] = None __props__.__dict__["database_status"] = None __props__.__dict__["database_sub_type"] = None __props__.__dict__["database_type"] = None __props__.__dict__["database_version"] = None __props__.__dict__["db_system_id"] = None + __props__.__dict__["dbmgmt_feature_configs"] = None __props__.__dict__["deployment_type"] = None __props__.__dict__["is_cluster"] = None __props__.__dict__["managed_database_groups"] = None @@ -524,11 +558,13 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, additional_details: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, compartment_id: Optional[pulumi.Input[str]] = None, + database_platform_name: Optional[pulumi.Input[str]] = None, database_status: Optional[pulumi.Input[str]] = None, database_sub_type: Optional[pulumi.Input[str]] = None, database_type: Optional[pulumi.Input[str]] = None, database_version: Optional[pulumi.Input[str]] = None, db_system_id: Optional[pulumi.Input[str]] = None, + dbmgmt_feature_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ManagedDatabaseDbmgmtFeatureConfigArgs', 'ManagedDatabaseDbmgmtFeatureConfigArgsDict']]]]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, deployment_type: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, @@ -551,11 +587,13 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] additional_details: The additional details specific to a type of database defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the Managed Database Group resides. + :param pulumi.Input[str] database_platform_name: The operating system of database. :param pulumi.Input[str] database_status: The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. :param pulumi.Input[str] database_sub_type: The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. :param pulumi.Input[str] database_type: The type of Oracle Database installation. :param pulumi.Input[str] database_version: The Oracle Database version. :param pulumi.Input[str] db_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. + :param pulumi.Input[Sequence[pulumi.Input[Union['ManagedDatabaseDbmgmtFeatureConfigArgs', 'ManagedDatabaseDbmgmtFeatureConfigArgsDict']]]] dbmgmt_feature_configs: The list of feature configurations :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] deployment_type: The infrastructure used to deploy the Oracle Database. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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"}` @@ -580,11 +618,13 @@ def get(resource_name: str, __props__.__dict__["additional_details"] = additional_details __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["database_platform_name"] = database_platform_name __props__.__dict__["database_status"] = database_status __props__.__dict__["database_sub_type"] = database_sub_type __props__.__dict__["database_type"] = database_type __props__.__dict__["database_version"] = database_version __props__.__dict__["db_system_id"] = db_system_id + __props__.__dict__["dbmgmt_feature_configs"] = dbmgmt_feature_configs __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["deployment_type"] = deployment_type __props__.__dict__["freeform_tags"] = freeform_tags @@ -616,6 +656,14 @@ def compartment_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "compartment_id") + @property + @pulumi.getter(name="databasePlatformName") + def database_platform_name(self) -> pulumi.Output[str]: + """ + The operating system of database. + """ + return pulumi.get(self, "database_platform_name") + @property @pulumi.getter(name="databaseStatus") def database_status(self) -> pulumi.Output[str]: @@ -656,6 +704,14 @@ def db_system_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "db_system_id") + @property + @pulumi.getter(name="dbmgmtFeatureConfigs") + def dbmgmt_feature_configs(self) -> pulumi.Output[Sequence['outputs.ManagedDatabaseDbmgmtFeatureConfig']]: + """ + The list of feature configurations + """ + return pulumi.get(self, "dbmgmt_feature_configs") + @property @pulumi.getter(name="definedTags") def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: diff --git a/sdk/python/pulumi_oci/databasemanagement/outputs.py b/sdk/python/pulumi_oci/databasemanagement/outputs.py index 54e60d1bab..99c35b1516 100644 --- a/sdk/python/pulumi_oci/databasemanagement/outputs.py +++ b/sdk/python/pulumi_oci/databasemanagement/outputs.py @@ -11,6 +11,11 @@ from . import outputs __all__ = [ + 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails', + 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails', + 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails', + 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials', + 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString', 'DatabaseDbmFeaturesManagementFeatureDetails', 'DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails', 'DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails', @@ -70,6 +75,11 @@ 'ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails', 'ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetails', 'ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails', + 'ManagedDatabaseDbmgmtFeatureConfig', + 'ManagedDatabaseDbmgmtFeatureConfigConnectorDetail', + 'ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail', + 'ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential', + 'ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString', 'ManagedDatabaseGroupManagedDatabase', 'ManagedDatabaseManagedDatabaseGroup', 'ManagedDatabasesChangeDatabaseParameterCredentials', @@ -122,6 +132,11 @@ 'GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigResult', 'GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoResult', 'GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoResult', + 'GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigResult', + 'GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult', + 'GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult', + 'GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult', + 'GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult', 'GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailResult', 'GetExternalDatabasesFilterResult', 'GetExternalDbHomesExternalDbHomeCollectionResult', @@ -263,6 +278,11 @@ 'GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionResult', 'GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemResult', 'GetManagedDatabaseCursorCacheStatementsFilterResult', + 'GetManagedDatabaseDbmgmtFeatureConfigResult', + 'GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailResult', + 'GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailResult', + 'GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult', + 'GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult', 'GetManagedDatabaseGroupManagedDatabaseResult', 'GetManagedDatabaseGroupsFilterResult', 'GetManagedDatabaseGroupsManagedDatabaseGroupCollectionResult', @@ -375,6 +395,11 @@ 'GetManagedDatabasesFilterResult', 'GetManagedDatabasesManagedDatabaseCollectionResult', 'GetManagedDatabasesManagedDatabaseCollectionItemResult', + 'GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigResult', + 'GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult', + 'GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult', + 'GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult', + 'GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult', 'GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroupResult', 'GetManagedDatabasesUserProxyUserItemResult', 'GetManagedDatabasesUserProxyUsersFilterResult', @@ -403,7 +428,7 @@ ] @pulumi.output_type -class DatabaseDbmFeaturesManagementFeatureDetails(dict): +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -411,44 +436,32 @@ def __key_warning(key: str): suggest = "connector_details" elif key == "databaseConnectionDetails": suggest = "database_connection_details" - elif key == "isAutoEnablePluggableDatabase": - suggest = "is_auto_enable_pluggable_database" - elif key == "managementType": - suggest = "management_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in DatabaseDbmFeaturesManagementFeatureDetails. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - DatabaseDbmFeaturesManagementFeatureDetails.__key_warning(key) + AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - DatabaseDbmFeaturesManagementFeatureDetails.__key_warning(key) + AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetails.__key_warning(key) return super().get(key, default) def __init__(__self__, *, feature: str, - connector_details: Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails'] = None, - database_connection_details: Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails'] = None, - is_auto_enable_pluggable_database: Optional[bool] = None, - management_type: Optional[str] = None): + connector_details: Optional['outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails'] = None, + database_connection_details: Optional['outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails'] = None): """ :param str feature: The name of the Database Management feature. - :param 'DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs' connector_details: The connector details required to connect to an Oracle cloud database. - :param 'DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs' database_connection_details: The connection details required to connect to the database. - :param bool is_auto_enable_pluggable_database: Indicates whether the pluggable database can be enabled automatically. - :param str management_type: The management type for the database. + :param 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs' connector_details: The connector details required to connect to an Oracle cloud database. + :param 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs' database_connection_details: The connection details required to connect to the database. """ pulumi.set(__self__, "feature", feature) if connector_details is not None: pulumi.set(__self__, "connector_details", connector_details) if database_connection_details is not None: pulumi.set(__self__, "database_connection_details", database_connection_details) - if is_auto_enable_pluggable_database is not None: - pulumi.set(__self__, "is_auto_enable_pluggable_database", is_auto_enable_pluggable_database) - if management_type is not None: - pulumi.set(__self__, "management_type", management_type) @property @pulumi.getter @@ -460,7 +473,7 @@ def feature(self) -> str: @property @pulumi.getter(name="connectorDetails") - def connector_details(self) -> Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails']: + def connector_details(self) -> Optional['outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails']: """ The connector details required to connect to an Oracle cloud database. """ @@ -468,31 +481,15 @@ def connector_details(self) -> Optional['outputs.DatabaseDbmFeaturesManagementFe @property @pulumi.getter(name="databaseConnectionDetails") - def database_connection_details(self) -> Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails']: + def database_connection_details(self) -> Optional['outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails']: """ The connection details required to connect to the database. """ return pulumi.get(self, "database_connection_details") - @property - @pulumi.getter(name="isAutoEnablePluggableDatabase") - def is_auto_enable_pluggable_database(self) -> Optional[bool]: - """ - Indicates whether the pluggable database can be enabled automatically. - """ - return pulumi.get(self, "is_auto_enable_pluggable_database") - - @property - @pulumi.getter(name="managementType") - def management_type(self) -> Optional[str]: - """ - The management type for the database. - """ - return pulumi.get(self, "management_type") - @pulumi.output_type -class DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails(dict): +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -506,14 +503,14 @@ def __key_warning(key: str): suggest = "private_end_point_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) + AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) + AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) return super().get(key, default) def __init__(__self__, *, @@ -526,6 +523,7 @@ def __init__(__self__, *, * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection :param str database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. :param str private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. @@ -547,6 +545,7 @@ def connector_type(self) -> Optional[str]: * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection """ return pulumi.get(self, "connector_type") @@ -576,7 +575,7 @@ def private_end_point_id(self) -> Optional[str]: @pulumi.output_type -class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails(dict): +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -586,22 +585,22 @@ def __key_warning(key: str): suggest = "connection_string" if suggest: - pulumi.log.warn(f"Key '{key}' not found in DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.__key_warning(key) + AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.__key_warning(key) + AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - connection_credentials: Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials'] = None, - connection_string: Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString'] = None): + connection_credentials: Optional['outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials'] = None, + connection_string: Optional['outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString'] = None): """ - :param 'DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs' connection_credentials: The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. - :param 'DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs' connection_string: The details of the Oracle Database connection string. + :param 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs' connection_credentials: The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + :param 'AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs' connection_string: The details of the Oracle Database connection string. """ if connection_credentials is not None: pulumi.set(__self__, "connection_credentials", connection_credentials) @@ -610,7 +609,7 @@ def __init__(__self__, *, @property @pulumi.getter(name="connectionCredentials") - def connection_credentials(self) -> Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials']: + def connection_credentials(self) -> Optional['outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials']: """ The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. """ @@ -618,7 +617,7 @@ def connection_credentials(self) -> Optional['outputs.DatabaseDbmFeaturesManagem @property @pulumi.getter(name="connectionString") - def connection_string(self) -> Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString']: + def connection_string(self) -> Optional['outputs.AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString']: """ The details of the Oracle Database connection string. """ @@ -626,7 +625,7 @@ def connection_string(self) -> Optional['outputs.DatabaseDbmFeaturesManagementFe @pulumi.output_type -class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials(dict): +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -642,14 +641,14 @@ def __key_warning(key: str): suggest = "user_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.__key_warning(key) + AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.__key_warning(key) + AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.__key_warning(key) return super().get(key, default) def __init__(__self__, *, @@ -734,7 +733,7 @@ def user_name(self) -> Optional[str]: @pulumi.output_type -class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString(dict): +class AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -742,14 +741,14 @@ def __key_warning(key: str): suggest = "connection_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.__key_warning(key) + AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.__key_warning(key) + AutonomousDatabaseAutonomousDatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.__key_warning(key) return super().get(key, default) def __init__(__self__, *, @@ -808,418 +807,232 @@ def service(self) -> Optional[str]: @pulumi.output_type -class ExternalAsmServicedDatabase(dict): +class DatabaseDbmFeaturesManagementFeatureDetails(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "compartmentId": - suggest = "compartment_id" - elif key == "databaseSubType": - suggest = "database_sub_type" - elif key == "databaseType": - suggest = "database_type" - elif key == "dbUniqueName": - suggest = "db_unique_name" - elif key == "diskGroups": - suggest = "disk_groups" - elif key == "displayName": - suggest = "display_name" - elif key == "isManaged": - suggest = "is_managed" + if key == "connectorDetails": + suggest = "connector_details" + elif key == "databaseConnectionDetails": + suggest = "database_connection_details" + elif key == "isAutoEnablePluggableDatabase": + suggest = "is_auto_enable_pluggable_database" + elif key == "managementType": + suggest = "management_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalAsmServicedDatabase. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in DatabaseDbmFeaturesManagementFeatureDetails. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalAsmServicedDatabase.__key_warning(key) + DatabaseDbmFeaturesManagementFeatureDetails.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalAsmServicedDatabase.__key_warning(key) + DatabaseDbmFeaturesManagementFeatureDetails.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - 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): - """ - :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. - :param str database_sub_type: The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. - :param str database_type: The type of Oracle Database installation. - :param str db_unique_name: The unique name of the external database. - :param Sequence[str] disk_groups: The list of ASM disk groups used by the database. - :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. - :param bool is_managed: Indicates whether the database is a Managed Database or not. - """ - if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) - if database_sub_type is not None: - pulumi.set(__self__, "database_sub_type", database_sub_type) - if database_type is not None: - pulumi.set(__self__, "database_type", database_type) - if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) - if disk_groups is not None: - pulumi.set(__self__, "disk_groups", disk_groups) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if id is not None: - pulumi.set(__self__, "id", id) - if is_managed is not None: - pulumi.set(__self__, "is_managed", is_managed) - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> Optional[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. - """ - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="databaseSubType") - def database_sub_type(self) -> Optional[str]: - """ - The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. - """ - return pulumi.get(self, "database_sub_type") - - @property - @pulumi.getter(name="databaseType") - def database_type(self) -> Optional[str]: + feature: str, + connector_details: Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails'] = None, + database_connection_details: Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails'] = None, + is_auto_enable_pluggable_database: Optional[bool] = None, + management_type: Optional[str] = None): """ - The type of Oracle Database installation. + :param str feature: The name of the Database Management feature. + :param 'DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs' connector_details: The connector details required to connect to an Oracle cloud database. + :param 'DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsArgs' database_connection_details: The connection details required to connect to the database. + :param bool is_auto_enable_pluggable_database: Indicates whether the pluggable database can be enabled automatically. + :param str management_type: The management type for the database. """ - return pulumi.get(self, "database_type") + pulumi.set(__self__, "feature", feature) + if connector_details is not None: + pulumi.set(__self__, "connector_details", connector_details) + if database_connection_details is not None: + pulumi.set(__self__, "database_connection_details", database_connection_details) + if is_auto_enable_pluggable_database is not None: + pulumi.set(__self__, "is_auto_enable_pluggable_database", is_auto_enable_pluggable_database) + if management_type is not None: + pulumi.set(__self__, "management_type", management_type) @property - @pulumi.getter(name="dbUniqueName") - def db_unique_name(self) -> Optional[str]: + @pulumi.getter + def feature(self) -> str: """ - The unique name of the external database. + The name of the Database Management feature. """ - return pulumi.get(self, "db_unique_name") + return pulumi.get(self, "feature") @property - @pulumi.getter(name="diskGroups") - def disk_groups(self) -> Optional[Sequence[str]]: + @pulumi.getter(name="connectorDetails") + def connector_details(self) -> Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails']: """ - The list of ASM disk groups used by the database. + The connector details required to connect to an Oracle cloud database. """ - return pulumi.get(self, "disk_groups") + return pulumi.get(self, "connector_details") @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: + @pulumi.getter(name="databaseConnectionDetails") + def database_connection_details(self) -> Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails']: """ - The user-friendly name for the database. The name does not have to be unique. + The connection details required to connect to the database. """ - return pulumi.get(self, "display_name") + return pulumi.get(self, "database_connection_details") @property - @pulumi.getter - def id(self) -> Optional[str]: + @pulumi.getter(name="isAutoEnablePluggableDatabase") + def is_auto_enable_pluggable_database(self) -> Optional[bool]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. + Indicates whether the pluggable database can be enabled automatically. """ - return pulumi.get(self, "id") + return pulumi.get(self, "is_auto_enable_pluggable_database") @property - @pulumi.getter(name="isManaged") - def is_managed(self) -> Optional[bool]: + @pulumi.getter(name="managementType") + def management_type(self) -> Optional[str]: """ - Indicates whether the database is a Managed Database or not. + The management type for the database. """ - return pulumi.get(self, "is_managed") + return pulumi.get(self, "management_type") @pulumi.output_type -class ExternalClusterNetworkConfiguration(dict): +class DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "networkNumber": - suggest = "network_number" - elif key == "networkType": - suggest = "network_type" + if key == "connectorType": + suggest = "connector_type" + elif key == "databaseConnectorId": + suggest = "database_connector_id" + elif key == "managementAgentId": + suggest = "management_agent_id" + elif key == "privateEndPointId": + suggest = "private_end_point_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalClusterNetworkConfiguration. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalClusterNetworkConfiguration.__key_warning(key) + DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalClusterNetworkConfiguration.__key_warning(key) + DatabaseDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - network_number: Optional[int] = None, - network_type: Optional[str] = None, - subnet: Optional[str] = None): + connector_type: Optional[str] = None, + database_connector_id: Optional[str] = None, + management_agent_id: Optional[str] = None, + private_end_point_id: Optional[str] = None): """ - :param int network_number: The network number from which VIPs are obtained. - :param str network_type: The network type. - :param str subnet: The subnet for the network. + :param str connector_type: The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + * DIRECT: Direct connection + :param str database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + :param str private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. """ - if network_number is not None: - pulumi.set(__self__, "network_number", network_number) - if network_type is not None: - pulumi.set(__self__, "network_type", network_type) - if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + if connector_type is not None: + pulumi.set(__self__, "connector_type", connector_type) + if database_connector_id is not None: + pulumi.set(__self__, "database_connector_id", database_connector_id) + if management_agent_id is not None: + pulumi.set(__self__, "management_agent_id", management_agent_id) + if private_end_point_id is not None: + pulumi.set(__self__, "private_end_point_id", private_end_point_id) @property - @pulumi.getter(name="networkNumber") - def network_number(self) -> Optional[int]: - """ - The network number from which VIPs are obtained. - """ - return pulumi.get(self, "network_number") - - @property - @pulumi.getter(name="networkType") - def network_type(self) -> Optional[str]: - """ - The network type. - """ - return pulumi.get(self, "network_type") - - @property - @pulumi.getter - def subnet(self) -> Optional[str]: - """ - The subnet for the network. - """ - return pulumi.get(self, "subnet") - - -@pulumi.output_type -class ExternalClusterScanConfiguration(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "networkNumber": - suggest = "network_number" - elif key == "scanName": - suggest = "scan_name" - elif key == "scanPort": - suggest = "scan_port" - elif key == "scanProtocol": - suggest = "scan_protocol" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalClusterScanConfiguration. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ExternalClusterScanConfiguration.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ExternalClusterScanConfiguration.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - network_number: Optional[int] = None, - scan_name: Optional[str] = None, - scan_port: Optional[int] = None, - scan_protocol: Optional[str] = None): - """ - :param int network_number: The network number from which VIPs are obtained. - :param str scan_name: The name of the SCAN listener. - :param int scan_port: The port number of the SCAN listener. - :param str scan_protocol: The protocol of the SCAN listener. - """ - if network_number is not None: - pulumi.set(__self__, "network_number", network_number) - if scan_name is not None: - pulumi.set(__self__, "scan_name", scan_name) - if scan_port is not None: - pulumi.set(__self__, "scan_port", scan_port) - if scan_protocol is not None: - pulumi.set(__self__, "scan_protocol", scan_protocol) - - @property - @pulumi.getter(name="networkNumber") - def network_number(self) -> Optional[int]: - """ - The network number from which VIPs are obtained. - """ - return pulumi.get(self, "network_number") - - @property - @pulumi.getter(name="scanName") - def scan_name(self) -> Optional[str]: - """ - The name of the SCAN listener. - """ - return pulumi.get(self, "scan_name") - - @property - @pulumi.getter(name="scanPort") - def scan_port(self) -> Optional[int]: - """ - The port number of the SCAN listener. - """ - return pulumi.get(self, "scan_port") - - @property - @pulumi.getter(name="scanProtocol") - def scan_protocol(self) -> Optional[str]: - """ - The protocol of the SCAN listener. - """ - return pulumi.get(self, "scan_protocol") - - -@pulumi.output_type -class ExternalClusterVipConfiguration(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "networkNumber": - suggest = "network_number" - elif key == "nodeName": - suggest = "node_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalClusterVipConfiguration. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ExternalClusterVipConfiguration.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ExternalClusterVipConfiguration.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - address: Optional[str] = None, - network_number: Optional[int] = None, - node_name: Optional[str] = None): + @pulumi.getter(name="connectorType") + def connector_type(self) -> Optional[str]: """ - :param str address: The VIP name or IP address. - :param int network_number: The network number from which VIPs are obtained. - :param str node_name: The name of the node with the VIP. + The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + * DIRECT: Direct connection """ - if address is not None: - pulumi.set(__self__, "address", address) - if network_number is not None: - pulumi.set(__self__, "network_number", network_number) - if node_name is not None: - pulumi.set(__self__, "node_name", node_name) + return pulumi.get(self, "connector_type") @property - @pulumi.getter - def address(self) -> Optional[str]: + @pulumi.getter(name="databaseConnectorId") + def database_connector_id(self) -> Optional[str]: """ - The VIP name or IP address. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. """ - return pulumi.get(self, "address") + return pulumi.get(self, "database_connector_id") @property - @pulumi.getter(name="networkNumber") - def network_number(self) -> Optional[int]: + @pulumi.getter(name="managementAgentId") + def management_agent_id(self) -> Optional[str]: """ - The network number from which VIPs are obtained. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. """ - return pulumi.get(self, "network_number") + return pulumi.get(self, "management_agent_id") @property - @pulumi.getter(name="nodeName") - def node_name(self) -> Optional[str]: + @pulumi.getter(name="privateEndPointId") + def private_end_point_id(self) -> Optional[str]: """ - The name of the node with the VIP. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. """ - return pulumi.get(self, "node_name") + return pulumi.get(self, "private_end_point_id") @pulumi.output_type -class ExternalDbSystemConnectorConnectionInfo(dict): +class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "componentType": - suggest = "component_type" - elif key == "connectionCredentials": + if key == "connectionCredentials": suggest = "connection_credentials" - elif key == "connectionStrings": - suggest = "connection_strings" - elif key == "databaseCredentials": - suggest = "database_credentials" + elif key == "connectionString": + suggest = "connection_string" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalDbSystemConnectorConnectionInfo. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalDbSystemConnectorConnectionInfo.__key_warning(key) + DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalDbSystemConnectorConnectionInfo.__key_warning(key) + DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetails.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - component_type: str, - connection_credentials: Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoConnectionCredential']] = None, - connection_strings: Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoConnectionString']] = None, - database_credentials: Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoDatabaseCredential']] = None): + connection_credentials: Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials'] = None, + connection_string: Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString'] = None): """ - :param str component_type: The component type. - :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. - :param Sequence['ExternalDbSystemConnectorConnectionInfoDatabaseCredentialArgs'] database_credentials: The credential to connect to the database to perform tablespace administration tasks. + :param 'DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentialsArgs' connection_credentials: The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + :param 'DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionStringArgs' connection_string: The details of the Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) if connection_credentials is not None: pulumi.set(__self__, "connection_credentials", connection_credentials) - if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) - if database_credentials is not None: - pulumi.set(__self__, "database_credentials", database_credentials) - - @property - @pulumi.getter(name="componentType") - def component_type(self) -> str: - """ - The component type. - """ - return pulumi.get(self, "component_type") + if connection_string is not None: + pulumi.set(__self__, "connection_string", connection_string) @property @pulumi.getter(name="connectionCredentials") - def connection_credentials(self) -> Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoConnectionCredential']]: + def connection_credentials(self) -> Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials']: """ - The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. """ return pulumi.get(self, "connection_credentials") @property - @pulumi.getter(name="connectionStrings") - def connection_strings(self) -> Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoConnectionString']]: - """ - The Oracle Database connection string. - """ - return pulumi.get(self, "connection_strings") - - @property - @pulumi.getter(name="databaseCredentials") - def database_credentials(self) -> Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoDatabaseCredential']]: + @pulumi.getter(name="connectionString") + def connection_string(self) -> Optional['outputs.DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString']: """ - The credential to connect to the database to perform tablespace administration tasks. + The details of the Oracle Database connection string. """ - return pulumi.get(self, "database_credentials") + return pulumi.get(self, "connection_string") @pulumi.output_type -class ExternalDbSystemConnectorConnectionInfoConnectionCredential(dict): +class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -1227,6 +1040,8 @@ def __key_warning(key: str): suggest = "credential_name" elif key == "credentialType": suggest = "credential_type" + elif key == "namedCredentialId": + suggest = "named_credential_id" elif key == "passwordSecretId": suggest = "password_secret_id" elif key == "sslSecretId": @@ -1235,35 +1050,41 @@ def __key_warning(key: str): suggest = "user_name" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalDbSystemConnectorConnectionInfoConnectionCredential. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalDbSystemConnectorConnectionInfoConnectionCredential.__key_warning(key) + DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalDbSystemConnectorConnectionInfoConnectionCredential.__key_warning(key) + DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionCredentials.__key_warning(key) return super().get(key, default) def __init__(__self__, *, credential_name: Optional[str] = None, credential_type: Optional[str] = None, + named_credential_id: Optional[str] = None, password_secret_id: Optional[str] = None, role: Optional[str] = None, ssl_secret_id: Optional[str] = None, user_name: Optional[str] = None): """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. - :param str credential_type: The type of the credential for tablespace administration tasks. - :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. - :param str role: The role of the database user. + + For example: inventorydb.abc112233445566778899 + :param str credential_type: The type of credential used to connect to the database. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + :param str role: The role of the user connecting to the database. :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. + :param str user_name: The user name used to connect to the database. """ if credential_name is not None: pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -1278,22 +1099,32 @@ def __init__(__self__, *, def credential_name(self) -> Optional[str]: """ The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. - """ + + For example: inventorydb.abc112233445566778899 + """ return pulumi.get(self, "credential_name") @property @pulumi.getter(name="credentialType") def credential_type(self) -> Optional[str]: """ - The type of the credential for tablespace administration tasks. + The type of credential used to connect to the database. """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> Optional[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. """ return pulumi.get(self, "password_secret_id") @@ -1301,7 +1132,7 @@ def password_secret_id(self) -> Optional[str]: @pulumi.getter def role(self) -> Optional[str]: """ - The role of the database user. + The role of the user connecting to the database. """ return pulumi.get(self, "role") @@ -1317,47 +1148,44 @@ def ssl_secret_id(self) -> Optional[str]: @pulumi.getter(name="userName") def user_name(self) -> Optional[str]: """ - The user name used to connect to the ASM instance. + The user name used to connect to the database. """ return pulumi.get(self, "user_name") @pulumi.output_type -class ExternalDbSystemConnectorConnectionInfoConnectionString(dict): +class DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "hostName": - suggest = "host_name" + if key == "connectionType": + suggest = "connection_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalDbSystemConnectorConnectionInfoConnectionString. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalDbSystemConnectorConnectionInfoConnectionString.__key_warning(key) + DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalDbSystemConnectorConnectionInfoConnectionString.__key_warning(key) + DatabaseDbmFeaturesManagementFeatureDetailsDatabaseConnectionDetailsConnectionString.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - host_name: Optional[str] = None, - hosts: Optional[Sequence[str]] = None, + connection_type: Optional[str] = None, port: Optional[int] = None, protocol: Optional[str] = None, service: Optional[str] = None): """ - :param str host_name: The host name of the database or the SCAN name in case of a RAC database. - :param Sequence[str] hosts: The list of host names of the ASM instances. - :param int port: The port used to connect to the ASM instance. - :param str protocol: The protocol used to connect to the ASM instance. - :param str service: The service name of the ASM instance. + :param str connection_type: The list of supported connection types: + * BASIC: Basic connection details + :param int port: The port number used to connect to the database. + :param str protocol: The protocol used to connect to the database. + :param str service: The service name of the database. """ - if host_name is not None: - pulumi.set(__self__, "host_name", host_name) - if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + if connection_type is not None: + pulumi.set(__self__, "connection_type", connection_type) if port is not None: pulumi.set(__self__, "port", port) if protocol is not None: @@ -1366,26 +1194,19 @@ def __init__(__self__, *, pulumi.set(__self__, "service", service) @property - @pulumi.getter(name="hostName") - def host_name(self) -> Optional[str]: - """ - The host name of the database or the SCAN name in case of a RAC database. - """ - return pulumi.get(self, "host_name") - - @property - @pulumi.getter - def hosts(self) -> Optional[Sequence[str]]: + @pulumi.getter(name="connectionType") + def connection_type(self) -> Optional[str]: """ - The list of host names of the ASM instances. + The list of supported connection types: + * BASIC: Basic connection details """ - return pulumi.get(self, "hosts") + return pulumi.get(self, "connection_type") @property @pulumi.getter def port(self) -> Optional[int]: """ - The port used to connect to the ASM instance. + The port number used to connect to the database. """ return pulumi.get(self, "port") @@ -1393,7 +1214,7 @@ def port(self) -> Optional[int]: @pulumi.getter def protocol(self) -> Optional[str]: """ - The protocol used to connect to the ASM instance. + The protocol used to connect to the database. """ return pulumi.get(self, "protocol") @@ -1401,145 +1222,758 @@ def protocol(self) -> Optional[str]: @pulumi.getter def service(self) -> Optional[str]: """ - The service name of the ASM instance. + The service name of the database. """ return pulumi.get(self, "service") @pulumi.output_type -class ExternalDbSystemConnectorConnectionInfoDatabaseCredential(dict): +class ExternalAsmServicedDatabase(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "credentialType": - suggest = "credential_type" - elif key == "namedCredentialId": - suggest = "named_credential_id" - elif key == "passwordSecretId": - suggest = "password_secret_id" + if key == "compartmentId": + suggest = "compartment_id" + elif key == "databaseSubType": + suggest = "database_sub_type" + elif key == "databaseType": + suggest = "database_type" + elif key == "dbUniqueName": + suggest = "db_unique_name" + elif key == "diskGroups": + suggest = "disk_groups" + elif key == "displayName": + suggest = "display_name" + elif key == "isManaged": + suggest = "is_managed" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalDbSystemConnectorConnectionInfoDatabaseCredential. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ExternalAsmServicedDatabase. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalDbSystemConnectorConnectionInfoDatabaseCredential.__key_warning(key) + ExternalAsmServicedDatabase.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalDbSystemConnectorConnectionInfoDatabaseCredential.__key_warning(key) + ExternalAsmServicedDatabase.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - credential_type: Optional[str] = None, - named_credential_id: Optional[str] = None, - password: Optional[str] = None, - password_secret_id: Optional[str] = None, - role: Optional[str] = None, - username: Optional[str] = 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): """ - :param str credential_type: The type of the credential for tablespace administration tasks. - :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. - :param str password: The database user's password encoded using BASE64 scheme. - :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. - :param str role: The role of the database user. - :param str username: The user to connect to the database. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. + :param str database_sub_type: The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. + :param str database_type: The type of Oracle Database installation. + :param str db_unique_name: The unique name of the external database. + :param Sequence[str] disk_groups: The list of ASM disk groups used by the database. + :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. + :param bool is_managed: Indicates whether the database is a Managed Database or not. """ - if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) - if named_credential_id is not None: - pulumi.set(__self__, "named_credential_id", named_credential_id) - if password is not None: - pulumi.set(__self__, "password", password) - if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) - if role is not None: - pulumi.set(__self__, "role", role) - if username is not None: - pulumi.set(__self__, "username", username) + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if database_sub_type is not None: + pulumi.set(__self__, "database_sub_type", database_sub_type) + if database_type is not None: + pulumi.set(__self__, "database_type", database_type) + if db_unique_name is not None: + pulumi.set(__self__, "db_unique_name", db_unique_name) + if disk_groups is not None: + pulumi.set(__self__, "disk_groups", disk_groups) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if id is not None: + pulumi.set(__self__, "id", id) + if is_managed is not None: + pulumi.set(__self__, "is_managed", is_managed) @property - @pulumi.getter(name="credentialType") - def credential_type(self) -> Optional[str]: + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: """ - The type of the credential for tablespace administration tasks. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. """ - return pulumi.get(self, "credential_type") + return pulumi.get(self, "compartment_id") @property - @pulumi.getter(name="namedCredentialId") - def named_credential_id(self) -> Optional[str]: + @pulumi.getter(name="databaseSubType") + def database_sub_type(self) -> Optional[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. """ - return pulumi.get(self, "named_credential_id") + return pulumi.get(self, "database_sub_type") @property - @pulumi.getter - def password(self) -> Optional[str]: + @pulumi.getter(name="databaseType") + def database_type(self) -> Optional[str]: """ - The database user's password encoded using BASE64 scheme. + The type of Oracle Database installation. """ - return pulumi.get(self, "password") + return pulumi.get(self, "database_type") @property - @pulumi.getter(name="passwordSecretId") - def password_secret_id(self) -> Optional[str]: + @pulumi.getter(name="dbUniqueName") + def db_unique_name(self) -> Optional[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. + The unique name of the external database. """ - return pulumi.get(self, "password_secret_id") + return pulumi.get(self, "db_unique_name") @property - @pulumi.getter - def role(self) -> Optional[str]: + @pulumi.getter(name="diskGroups") + def disk_groups(self) -> Optional[Sequence[str]]: """ - The role of the database user. + The list of ASM disk groups used by the database. """ - return pulumi.get(self, "role") + return pulumi.get(self, "disk_groups") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + The user-friendly name for the database. The name does not have to be unique. + """ + return pulumi.get(self, "display_name") @property @pulumi.getter - def username(self) -> Optional[str]: + def id(self) -> Optional[str]: """ - The user to connect to the database. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. """ - return pulumi.get(self, "username") + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isManaged") + def is_managed(self) -> Optional[bool]: + """ + Indicates whether the database is a Managed Database or not. + """ + return pulumi.get(self, "is_managed") @pulumi.output_type -class ExternalDbSystemDatabaseManagementConfig(dict): +class ExternalClusterNetworkConfiguration(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "licenseModel": - suggest = "license_model" + if key == "networkNumber": + suggest = "network_number" + elif key == "networkType": + suggest = "network_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalDbSystemDatabaseManagementConfig. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ExternalClusterNetworkConfiguration. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalDbSystemDatabaseManagementConfig.__key_warning(key) + ExternalClusterNetworkConfiguration.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalDbSystemDatabaseManagementConfig.__key_warning(key) + ExternalClusterNetworkConfiguration.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - license_model: str): + network_number: Optional[int] = None, + network_type: Optional[str] = None, + subnet: Optional[str] = None): """ - :param str license_model: The Oracle license model that applies to the external database. + :param int network_number: The network number from which VIPs are obtained. + :param str network_type: The network type. + :param str subnet: The subnet for the network. """ - pulumi.set(__self__, "license_model", license_model) + if network_number is not None: + pulumi.set(__self__, "network_number", network_number) + if network_type is not None: + pulumi.set(__self__, "network_type", network_type) + if subnet is not None: + pulumi.set(__self__, "subnet", subnet) @property - @pulumi.getter(name="licenseModel") - def license_model(self) -> str: + @pulumi.getter(name="networkNumber") + def network_number(self) -> Optional[int]: """ - The Oracle license model that applies to the external database. + The network number from which VIPs are obtained. """ - return pulumi.get(self, "license_model") - + return pulumi.get(self, "network_number") + + @property + @pulumi.getter(name="networkType") + def network_type(self) -> Optional[str]: + """ + The network type. + """ + return pulumi.get(self, "network_type") + + @property + @pulumi.getter + def subnet(self) -> Optional[str]: + """ + The subnet for the network. + """ + return pulumi.get(self, "subnet") + + +@pulumi.output_type +class ExternalClusterScanConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "networkNumber": + suggest = "network_number" + elif key == "scanName": + suggest = "scan_name" + elif key == "scanPort": + suggest = "scan_port" + elif key == "scanProtocol": + suggest = "scan_protocol" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalClusterScanConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExternalClusterScanConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExternalClusterScanConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + network_number: Optional[int] = None, + scan_name: Optional[str] = None, + scan_port: Optional[int] = None, + scan_protocol: Optional[str] = None): + """ + :param int network_number: The network number from which VIPs are obtained. + :param str scan_name: The name of the SCAN listener. + :param int scan_port: The port number of the SCAN listener. + :param str scan_protocol: The protocol of the SCAN listener. + """ + if network_number is not None: + pulumi.set(__self__, "network_number", network_number) + if scan_name is not None: + pulumi.set(__self__, "scan_name", scan_name) + if scan_port is not None: + pulumi.set(__self__, "scan_port", scan_port) + if scan_protocol is not None: + pulumi.set(__self__, "scan_protocol", scan_protocol) + + @property + @pulumi.getter(name="networkNumber") + def network_number(self) -> Optional[int]: + """ + The network number from which VIPs are obtained. + """ + return pulumi.get(self, "network_number") + + @property + @pulumi.getter(name="scanName") + def scan_name(self) -> Optional[str]: + """ + The name of the SCAN listener. + """ + return pulumi.get(self, "scan_name") + + @property + @pulumi.getter(name="scanPort") + def scan_port(self) -> Optional[int]: + """ + The port number of the SCAN listener. + """ + return pulumi.get(self, "scan_port") + + @property + @pulumi.getter(name="scanProtocol") + def scan_protocol(self) -> Optional[str]: + """ + The protocol of the SCAN listener. + """ + return pulumi.get(self, "scan_protocol") + + +@pulumi.output_type +class ExternalClusterVipConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "networkNumber": + suggest = "network_number" + elif key == "nodeName": + suggest = "node_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalClusterVipConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExternalClusterVipConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExternalClusterVipConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + address: Optional[str] = None, + network_number: Optional[int] = None, + node_name: Optional[str] = None): + """ + :param str address: The VIP name or IP address. + :param int network_number: The network number from which VIPs are obtained. + :param str node_name: The name of the node with the VIP. + """ + if address is not None: + pulumi.set(__self__, "address", address) + if network_number is not None: + pulumi.set(__self__, "network_number", network_number) + if node_name is not None: + pulumi.set(__self__, "node_name", node_name) + + @property + @pulumi.getter + def address(self) -> Optional[str]: + """ + The VIP name or IP address. + """ + return pulumi.get(self, "address") + + @property + @pulumi.getter(name="networkNumber") + def network_number(self) -> Optional[int]: + """ + The network number from which VIPs are obtained. + """ + return pulumi.get(self, "network_number") + + @property + @pulumi.getter(name="nodeName") + def node_name(self) -> Optional[str]: + """ + The name of the node with the VIP. + """ + return pulumi.get(self, "node_name") + + +@pulumi.output_type +class ExternalDbSystemConnectorConnectionInfo(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "componentType": + suggest = "component_type" + elif key == "connectionCredentials": + suggest = "connection_credentials" + elif key == "connectionStrings": + suggest = "connection_strings" + elif key == "databaseCredentials": + suggest = "database_credentials" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalDbSystemConnectorConnectionInfo. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExternalDbSystemConnectorConnectionInfo.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExternalDbSystemConnectorConnectionInfo.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + component_type: str, + connection_credentials: Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoConnectionCredential']] = None, + connection_strings: Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoConnectionString']] = None, + database_credentials: Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoDatabaseCredential']] = None): + """ + :param str component_type: The component type. + :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. + :param Sequence['ExternalDbSystemConnectorConnectionInfoDatabaseCredentialArgs'] database_credentials: The credential to connect to the database to perform tablespace administration tasks. + """ + pulumi.set(__self__, "component_type", component_type) + if connection_credentials is not None: + pulumi.set(__self__, "connection_credentials", connection_credentials) + if connection_strings is not None: + pulumi.set(__self__, "connection_strings", connection_strings) + if database_credentials is not None: + pulumi.set(__self__, "database_credentials", database_credentials) + + @property + @pulumi.getter(name="componentType") + def component_type(self) -> str: + """ + The component type. + """ + return pulumi.get(self, "component_type") + + @property + @pulumi.getter(name="connectionCredentials") + def connection_credentials(self) -> Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoConnectionCredential']]: + """ + The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + """ + return pulumi.get(self, "connection_credentials") + + @property + @pulumi.getter(name="connectionStrings") + def connection_strings(self) -> Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoConnectionString']]: + """ + The Oracle Database connection string. + """ + return pulumi.get(self, "connection_strings") + + @property + @pulumi.getter(name="databaseCredentials") + def database_credentials(self) -> Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoDatabaseCredential']]: + """ + The credential to connect to the database to perform tablespace administration tasks. + """ + return pulumi.get(self, "database_credentials") + + +@pulumi.output_type +class ExternalDbSystemConnectorConnectionInfoConnectionCredential(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "credentialName": + suggest = "credential_name" + elif key == "credentialType": + suggest = "credential_type" + elif key == "namedCredentialId": + suggest = "named_credential_id" + elif key == "passwordSecretId": + suggest = "password_secret_id" + elif key == "sslSecretId": + suggest = "ssl_secret_id" + elif key == "userName": + suggest = "user_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalDbSystemConnectorConnectionInfoConnectionCredential. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExternalDbSystemConnectorConnectionInfoConnectionCredential.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExternalDbSystemConnectorConnectionInfoConnectionCredential.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + credential_name: Optional[str] = None, + credential_type: Optional[str] = None, + named_credential_id: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + ssl_secret_id: Optional[str] = None, + user_name: Optional[str] = None): + """ + :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. + :param str role: The role of the database user. + :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. + """ + if credential_name is not None: + pulumi.set(__self__, "credential_name", credential_name) + if credential_type is not None: + pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) + if password_secret_id is not None: + pulumi.set(__self__, "password_secret_id", password_secret_id) + if role is not None: + pulumi.set(__self__, "role", role) + if ssl_secret_id is not None: + pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="credentialName") + def credential_name(self) -> Optional[str]: + """ + The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + """ + return pulumi.get(self, "credential_name") + + @property + @pulumi.getter(name="credentialType") + def credential_type(self) -> Optional[str]: + """ + The type of the credential for tablespace administration tasks. + """ + return pulumi.get(self, "credential_type") + + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @property + @pulumi.getter(name="passwordSecretId") + def password_secret_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. + """ + return pulumi.get(self, "password_secret_id") + + @property + @pulumi.getter + def role(self) -> Optional[str]: + """ + The role of the database user. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="sslSecretId") + def ssl_secret_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + """ + return pulumi.get(self, "ssl_secret_id") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + """ + The user name used to connect to the ASM instance. + """ + return pulumi.get(self, "user_name") + + +@pulumi.output_type +class ExternalDbSystemConnectorConnectionInfoConnectionString(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "hostName": + suggest = "host_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalDbSystemConnectorConnectionInfoConnectionString. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExternalDbSystemConnectorConnectionInfoConnectionString.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExternalDbSystemConnectorConnectionInfoConnectionString.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + host_name: Optional[str] = None, + hosts: Optional[Sequence[str]] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + service: Optional[str] = None): + """ + :param str host_name: The host name of the database or the SCAN name in case of a RAC database. + :param Sequence[str] hosts: The list of host names of the ASM instances. + :param int port: The port used to connect to the ASM instance. + :param str protocol: The protocol used to connect to the ASM instance. + :param str service: The service name of the ASM instance. + """ + if host_name is not None: + pulumi.set(__self__, "host_name", host_name) + if hosts is not None: + pulumi.set(__self__, "hosts", hosts) + if port is not None: + pulumi.set(__self__, "port", port) + if protocol is not None: + pulumi.set(__self__, "protocol", protocol) + if service is not None: + pulumi.set(__self__, "service", service) + + @property + @pulumi.getter(name="hostName") + def host_name(self) -> Optional[str]: + """ + The host name of the database or the SCAN name in case of a RAC database. + """ + return pulumi.get(self, "host_name") + + @property + @pulumi.getter + def hosts(self) -> Optional[Sequence[str]]: + """ + The list of host names of the ASM instances. + """ + return pulumi.get(self, "hosts") + + @property + @pulumi.getter + def port(self) -> Optional[int]: + """ + The port used to connect to the ASM instance. + """ + return pulumi.get(self, "port") + + @property + @pulumi.getter + def protocol(self) -> Optional[str]: + """ + The protocol used to connect to the ASM instance. + """ + return pulumi.get(self, "protocol") + + @property + @pulumi.getter + def service(self) -> Optional[str]: + """ + The service name of the ASM instance. + """ + return pulumi.get(self, "service") + + +@pulumi.output_type +class ExternalDbSystemConnectorConnectionInfoDatabaseCredential(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "credentialType": + suggest = "credential_type" + elif key == "namedCredentialId": + suggest = "named_credential_id" + elif key == "passwordSecretId": + suggest = "password_secret_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalDbSystemConnectorConnectionInfoDatabaseCredential. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExternalDbSystemConnectorConnectionInfoDatabaseCredential.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExternalDbSystemConnectorConnectionInfoDatabaseCredential.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + credential_type: Optional[str] = None, + named_credential_id: Optional[str] = None, + password: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + username: Optional[str] = None): + """ + :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + :param str password: The database user's password encoded using BASE64 scheme. + :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. + :param str role: The role of the database user. + :param str username: The user to connect to the database. + """ + if credential_type is not None: + pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) + if password is not None: + pulumi.set(__self__, "password", password) + if password_secret_id is not None: + pulumi.set(__self__, "password_secret_id", password_secret_id) + if role is not None: + pulumi.set(__self__, "role", role) + if username is not None: + pulumi.set(__self__, "username", username) + + @property + @pulumi.getter(name="credentialType") + def credential_type(self) -> Optional[str]: + """ + The type of the credential for tablespace administration tasks. + """ + return pulumi.get(self, "credential_type") + + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @property + @pulumi.getter + def password(self) -> Optional[str]: + """ + The database user's password encoded using BASE64 scheme. + """ + return pulumi.get(self, "password") + + @property + @pulumi.getter(name="passwordSecretId") + def password_secret_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. + """ + return pulumi.get(self, "password_secret_id") + + @property + @pulumi.getter + def role(self) -> Optional[str]: + """ + The role of the database user. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter + def username(self) -> Optional[str]: + """ + The user to connect to the database. + """ + return pulumi.get(self, "username") + + +@pulumi.output_type +class ExternalDbSystemDatabaseManagementConfig(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "licenseModel": + suggest = "license_model" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalDbSystemDatabaseManagementConfig. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExternalDbSystemDatabaseManagementConfig.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExternalDbSystemDatabaseManagementConfig.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + license_model: str): + """ + :param str license_model: The Oracle license model that applies to the external database. + """ + pulumi.set(__self__, "license_model", license_model) + + @property + @pulumi.getter(name="licenseModel") + def license_model(self) -> str: + """ + The Oracle license model that applies to the external database. + """ + return pulumi.get(self, "license_model") + @pulumi.output_type class ExternalDbSystemDiscoveryDiscoveredComponent(dict): @@ -2642,6 +3076,8 @@ def __key_warning(key: str): suggest = "credential_name" elif key == "credentialType": suggest = "credential_type" + elif key == "namedCredentialId": + suggest = "named_credential_id" elif key == "passwordSecretId": suggest = "password_secret_id" elif key == "sslSecretId": @@ -2663,6 +3099,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, credential_name: Optional[str] = None, credential_type: Optional[str] = None, + named_credential_id: Optional[str] = None, password_secret_id: Optional[str] = None, role: Optional[str] = None, ssl_secret_id: Optional[str] = None, @@ -2670,6 +3107,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -2679,6 +3117,8 @@ def __init__(__self__, *, pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -2704,6 +3144,14 @@ def credential_type(self) -> Optional[str]: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> Optional[str]: @@ -3128,6 +3576,8 @@ def __key_warning(key: str): suggest = "credential_name" elif key == "credentialType": suggest = "credential_type" + elif key == "namedCredentialId": + suggest = "named_credential_id" elif key == "passwordSecretId": suggest = "password_secret_id" elif key == "sslSecretId": @@ -3149,6 +3599,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, credential_name: Optional[str] = None, credential_type: Optional[str] = None, + named_credential_id: Optional[str] = None, password_secret_id: Optional[str] = None, role: Optional[str] = None, ssl_secret_id: Optional[str] = None, @@ -3156,6 +3607,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -3165,6 +3617,8 @@ def __init__(__self__, *, pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -3190,6 +3644,14 @@ def credential_type(self) -> Optional[str]: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> Optional[str]: @@ -3817,6 +4279,8 @@ def __key_warning(key: str): suggest = "credential_name" elif key == "credentialType": suggest = "credential_type" + elif key == "namedCredentialId": + suggest = "named_credential_id" elif key == "passwordSecretId": suggest = "password_secret_id" elif key == "sslSecretId": @@ -3838,6 +4302,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, credential_name: Optional[str] = None, credential_type: Optional[str] = None, + named_credential_id: Optional[str] = None, password_secret_id: Optional[str] = None, role: Optional[str] = None, ssl_secret_id: Optional[str] = None, @@ -3845,6 +4310,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -3854,6 +4320,8 @@ def __init__(__self__, *, pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -3875,9 +4343,17 @@ def credential_name(self) -> Optional[str]: @pulumi.getter(name="credentialType") def credential_type(self) -> Optional[str]: """ - The type of the credential for tablespace administration tasks. + The type of the credential for tablespace administration tasks. + """ + return pulumi.get(self, "credential_type") + + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. """ - return pulumi.get(self, "credential_type") + return pulumi.get(self, "named_credential_id") @property @pulumi.getter(name="passwordSecretId") @@ -5461,9 +5937,261 @@ def max_hard_disk_throughput(self) -> Optional[int]: @pulumi.getter(name="memoryGb") def memory_gb(self) -> Optional[float]: """ - The Exadata storage server memory size in GB. + The Exadata storage server memory size in GB. + """ + return pulumi.get(self, "memory_gb") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> Optional[str]: + """ + The type of Exadata resource. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The current lifecycle state of the database resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def status(self) -> Optional[str]: + """ + The status of the Exadata resource. + """ + return pulumi.get(self, "status") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Optional[Mapping[str, str]]: + """ + 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"}` + """ + return pulumi.get(self, "system_tags") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> Optional[str]: + """ + The timestamp of the creation of the Exadata resource. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> Optional[str]: + """ + The timestamp of the last update of the Exadata resource. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter + def version(self) -> Optional[str]: + """ + The version of the Exadata resource. + """ + return pulumi.get(self, "version") + + +@pulumi.output_type +class ExternalExadataStorageServerConnector(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "additionalDetails": + suggest = "additional_details" + elif key == "agentId": + suggest = "agent_id" + elif key == "connectionUri": + suggest = "connection_uri" + elif key == "definedTags": + suggest = "defined_tags" + elif key == "displayName": + suggest = "display_name" + elif key == "freeformTags": + suggest = "freeform_tags" + elif key == "internalId": + suggest = "internal_id" + elif key == "lifecycleDetails": + suggest = "lifecycle_details" + elif key == "resourceType": + suggest = "resource_type" + elif key == "storageServerId": + suggest = "storage_server_id" + elif key == "systemTags": + suggest = "system_tags" + elif key == "timeCreated": + suggest = "time_created" + elif key == "timeUpdated": + suggest = "time_updated" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalExadataStorageServerConnector. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExternalExadataStorageServerConnector.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExternalExadataStorageServerConnector.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + additional_details: Optional[Mapping[str, str]] = None, + agent_id: Optional[str] = None, + connection_uri: Optional[str] = None, + defined_tags: Optional[Mapping[str, str]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, str]] = None, + id: Optional[str] = None, + internal_id: Optional[str] = None, + lifecycle_details: Optional[str] = None, + resource_type: Optional[str] = None, + state: Optional[str] = None, + status: Optional[str] = None, + storage_server_id: Optional[str] = None, + system_tags: Optional[Mapping[str, str]] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + version: Optional[str] = None): + """ + :param Mapping[str, str] additional_details: The additional details of the resource defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` + :param str agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the agent for the Exadata storage server. + :param str connection_uri: The unique string of the connection. For example, "https:///MS/RESTService/". + :param Mapping[str, str] 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 str display_name: The name of the Exadata resource. English letters, numbers, "-", "_" and "." only. + :param Mapping[str, str] 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"}` + + + ** IMPORTANT ** + 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 id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata resource. + :param str internal_id: The internal ID of the Exadata resource. + :param str lifecycle_details: The details of the lifecycle state of the Exadata resource. + :param str resource_type: The type of Exadata resource. + :param str state: The current lifecycle state of the database resource. + :param str status: The status of the Exadata resource. + :param str storage_server_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata storage server. + :param Mapping[str, str] 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 timestamp of the creation of the Exadata resource. + :param str time_updated: The timestamp of the last update of the Exadata resource. + :param str version: The version of the Exadata resource. + """ + if additional_details is not None: + pulumi.set(__self__, "additional_details", additional_details) + if agent_id is not None: + pulumi.set(__self__, "agent_id", agent_id) + if connection_uri is not None: + pulumi.set(__self__, "connection_uri", connection_uri) + if defined_tags is not None: + pulumi.set(__self__, "defined_tags", defined_tags) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if freeform_tags is not None: + pulumi.set(__self__, "freeform_tags", freeform_tags) + if id is not None: + pulumi.set(__self__, "id", id) + if internal_id is not None: + pulumi.set(__self__, "internal_id", internal_id) + if lifecycle_details is not None: + pulumi.set(__self__, "lifecycle_details", lifecycle_details) + if resource_type is not None: + pulumi.set(__self__, "resource_type", resource_type) + if state is not None: + pulumi.set(__self__, "state", state) + if status is not None: + pulumi.set(__self__, "status", status) + if storage_server_id is not None: + pulumi.set(__self__, "storage_server_id", storage_server_id) + if system_tags is not None: + pulumi.set(__self__, "system_tags", system_tags) + if time_created is not None: + pulumi.set(__self__, "time_created", time_created) + if time_updated is not None: + pulumi.set(__self__, "time_updated", time_updated) + if version is not None: + pulumi.set(__self__, "version", version) + + @property + @pulumi.getter(name="additionalDetails") + def additional_details(self) -> Optional[Mapping[str, str]]: + """ + The additional details of the resource defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "additional_details") + + @property + @pulumi.getter(name="agentId") + def agent_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the agent for the Exadata storage server. + """ + return pulumi.get(self, "agent_id") + + @property + @pulumi.getter(name="connectionUri") + def connection_uri(self) -> Optional[str]: + """ + The unique string of the connection. For example, "https:///MS/RESTService/". + """ + return pulumi.get(self, "connection_uri") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[Mapping[str, str]]: + """ + (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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + The name of the Exadata resource. English letters, numbers, "-", "_" and "." only. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Optional[Mapping[str, str]]: + """ + (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"}` + + + ** IMPORTANT ** + 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 + def id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="internalId") + def internal_id(self) -> Optional[str]: + """ + The internal ID of the Exadata resource. + """ + return pulumi.get(self, "internal_id") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> Optional[str]: + """ + The details of the lifecycle state of the Exadata resource. """ - return pulumi.get(self, "memory_gb") + return pulumi.get(self, "lifecycle_details") @property @pulumi.getter(name="resourceType") @@ -5489,6 +6217,14 @@ def status(self) -> Optional[str]: """ return pulumi.get(self, "status") + @property + @pulumi.getter(name="storageServerId") + def storage_server_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata storage server. + """ + return pulumi.get(self, "storage_server_id") + @property @pulumi.getter(name="systemTags") def system_tags(self) -> Optional[Mapping[str, str]]: @@ -5523,547 +6259,575 @@ def version(self) -> Optional[str]: @pulumi.output_type -class ExternalExadataStorageServerConnector(dict): +class ExternalListenerEndpoint(dict): + def __init__(__self__, *, + host: Optional[str] = None, + key: Optional[str] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + services: Optional[Sequence[str]] = None): + """ + :param str host: The host name or IP address. + :param str key: The unique name of the service. + :param int port: The port number. + :param str protocol: The listener protocol. + :param Sequence[str] services: The list of services registered with the listener. + """ + if host is not None: + pulumi.set(__self__, "host", host) + if key is not None: + pulumi.set(__self__, "key", key) + if port is not None: + pulumi.set(__self__, "port", port) + if protocol is not None: + pulumi.set(__self__, "protocol", protocol) + if services is not None: + pulumi.set(__self__, "services", services) + + @property + @pulumi.getter + def host(self) -> Optional[str]: + """ + The host name or IP address. + """ + return pulumi.get(self, "host") + + @property + @pulumi.getter + def key(self) -> Optional[str]: + """ + The unique name of the service. + """ + return pulumi.get(self, "key") + + @property + @pulumi.getter + def port(self) -> Optional[int]: + """ + The port number. + """ + return pulumi.get(self, "port") + + @property + @pulumi.getter + def protocol(self) -> Optional[str]: + """ + The listener protocol. + """ + return pulumi.get(self, "protocol") + + @property + @pulumi.getter + def services(self) -> Optional[Sequence[str]]: + """ + The list of services registered with the listener. + """ + return pulumi.get(self, "services") + + +@pulumi.output_type +class ExternalListenerServicedAsm(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "additionalDetails": - suggest = "additional_details" - elif key == "agentId": - suggest = "agent_id" - elif key == "connectionUri": - suggest = "connection_uri" - elif key == "definedTags": - suggest = "defined_tags" + if key == "compartmentId": + suggest = "compartment_id" elif key == "displayName": suggest = "display_name" - elif key == "freeformTags": - suggest = "freeform_tags" - elif key == "internalId": - suggest = "internal_id" - elif key == "lifecycleDetails": - suggest = "lifecycle_details" - elif key == "resourceType": - suggest = "resource_type" - elif key == "storageServerId": - suggest = "storage_server_id" - elif key == "systemTags": - suggest = "system_tags" - elif key == "timeCreated": - suggest = "time_created" - elif key == "timeUpdated": - suggest = "time_updated" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalExadataStorageServerConnector. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ExternalListenerServicedAsm. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalExadataStorageServerConnector.__key_warning(key) + ExternalListenerServicedAsm.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalExadataStorageServerConnector.__key_warning(key) + ExternalListenerServicedAsm.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - additional_details: Optional[Mapping[str, str]] = None, - agent_id: Optional[str] = None, - connection_uri: Optional[str] = None, - defined_tags: Optional[Mapping[str, str]] = None, + compartment_id: Optional[str] = None, display_name: Optional[str] = None, - freeform_tags: Optional[Mapping[str, str]] = None, - id: Optional[str] = None, - internal_id: Optional[str] = None, - lifecycle_details: Optional[str] = None, - resource_type: Optional[str] = None, - state: Optional[str] = None, - status: Optional[str] = None, - storage_server_id: Optional[str] = None, - system_tags: Optional[Mapping[str, str]] = None, - time_created: Optional[str] = None, - time_updated: Optional[str] = None, - version: Optional[str] = None): + id: Optional[str] = None): """ - :param Mapping[str, str] additional_details: The additional details of the resource defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` - :param str agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the agent for the Exadata storage server. - :param str connection_uri: The unique string of the connection. For example, "https:///MS/RESTService/". - :param Mapping[str, str] 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 str display_name: The name of the Exadata resource. English letters, numbers, "-", "_" and "." only. - :param Mapping[str, str] 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"}` - - - ** IMPORTANT ** - 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 id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata resource. - :param str internal_id: The internal ID of the Exadata resource. - :param str lifecycle_details: The details of the lifecycle state of the Exadata resource. - :param str resource_type: The type of Exadata resource. - :param str state: The current lifecycle state of the database resource. - :param str status: The status of the Exadata resource. - :param str storage_server_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata storage server. - :param Mapping[str, str] 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 timestamp of the creation of the Exadata resource. - :param str time_updated: The timestamp of the last update of the Exadata resource. - :param str version: The version of the Exadata resource. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. + :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. """ - if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) - if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) - if connection_uri is not None: - pulumi.set(__self__, "connection_uri", connection_uri) - if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) if display_name is not None: pulumi.set(__self__, "display_name", display_name) - if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) if id is not None: pulumi.set(__self__, "id", id) - if internal_id is not None: - pulumi.set(__self__, "internal_id", internal_id) - if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) - if state is not None: - pulumi.set(__self__, "state", state) - if status is not None: - pulumi.set(__self__, "status", status) - if storage_server_id is not None: - pulumi.set(__self__, "storage_server_id", storage_server_id) - if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) - if time_created is not None: - pulumi.set(__self__, "time_created", time_created) - if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) - if version is not None: - pulumi.set(__self__, "version", version) @property - @pulumi.getter(name="additionalDetails") - def additional_details(self) -> Optional[Mapping[str, str]]: + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + The user-friendly name for the database. The name does not have to be unique. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. + """ + return pulumi.get(self, "id") + + +@pulumi.output_type +class ExternalListenerServicedDatabase(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "compartmentId": + suggest = "compartment_id" + elif key == "databaseSubType": + suggest = "database_sub_type" + elif key == "databaseType": + suggest = "database_type" + elif key == "dbUniqueName": + suggest = "db_unique_name" + elif key == "displayName": + suggest = "display_name" + elif key == "isManaged": + suggest = "is_managed" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalListenerServicedDatabase. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExternalListenerServicedDatabase.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExternalListenerServicedDatabase.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + 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): + """ + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. + :param str database_sub_type: The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. + :param str database_type: The type of Oracle Database installation. + :param str db_unique_name: The unique name of the external database. + :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. + :param bool is_managed: Indicates whether the database is a Managed Database or not. + """ + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if database_sub_type is not None: + pulumi.set(__self__, "database_sub_type", database_sub_type) + if database_type is not None: + pulumi.set(__self__, "database_type", database_type) + if db_unique_name is not None: + pulumi.set(__self__, "db_unique_name", db_unique_name) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if id is not None: + pulumi.set(__self__, "id", id) + if is_managed is not None: + pulumi.set(__self__, "is_managed", is_managed) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: """ - The additional details of the resource defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. """ - return pulumi.get(self, "additional_details") + return pulumi.get(self, "compartment_id") @property - @pulumi.getter(name="agentId") - def agent_id(self) -> Optional[str]: + @pulumi.getter(name="databaseSubType") + def database_sub_type(self) -> Optional[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the agent for the Exadata storage server. + The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. """ - return pulumi.get(self, "agent_id") + return pulumi.get(self, "database_sub_type") @property - @pulumi.getter(name="connectionUri") - def connection_uri(self) -> Optional[str]: + @pulumi.getter(name="databaseType") + def database_type(self) -> Optional[str]: """ - The unique string of the connection. For example, "https:///MS/RESTService/". + The type of Oracle Database installation. """ - return pulumi.get(self, "connection_uri") + return pulumi.get(self, "database_type") @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Optional[Mapping[str, str]]: + @pulumi.getter(name="dbUniqueName") + def db_unique_name(self) -> Optional[str]: """ - (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"}` + The unique name of the external database. """ - return pulumi.get(self, "defined_tags") + return pulumi.get(self, "db_unique_name") @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[str]: """ - The name of the Exadata resource. English letters, numbers, "-", "_" and "." only. + The user-friendly name for the database. The name does not have to be unique. """ return pulumi.get(self, "display_name") - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Optional[Mapping[str, str]]: - """ - (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"}` - - - ** IMPORTANT ** - 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 def id(self) -> Optional[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata resource. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. """ return pulumi.get(self, "id") @property - @pulumi.getter(name="internalId") - def internal_id(self) -> Optional[str]: + @pulumi.getter(name="isManaged") + def is_managed(self) -> Optional[bool]: """ - The internal ID of the Exadata resource. + Indicates whether the database is a Managed Database or not. """ - return pulumi.get(self, "internal_id") + return pulumi.get(self, "is_managed") - @property - @pulumi.getter(name="lifecycleDetails") - def lifecycle_details(self) -> Optional[str]: - """ - The details of the lifecycle state of the Exadata resource. - """ - return pulumi.get(self, "lifecycle_details") - @property - @pulumi.getter(name="resourceType") - def resource_type(self) -> Optional[str]: - """ - The type of Exadata resource. - """ - return pulumi.get(self, "resource_type") +@pulumi.output_type +class ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "connectorDetails": + suggest = "connector_details" + elif key == "licenseModel": + suggest = "license_model" - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - The current lifecycle state of the database resource. - """ - return pulumi.get(self, "state") + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails. Access the value via the '{suggest}' property getter instead.") - @property - @pulumi.getter - def status(self) -> Optional[str]: - """ - The status of the Exadata resource. - """ - return pulumi.get(self, "status") + def __getitem__(self, key: str) -> Any: + ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails.__key_warning(key) + return super().__getitem__(key) - @property - @pulumi.getter(name="storageServerId") - def storage_server_id(self) -> Optional[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata storage server. - """ - return pulumi.get(self, "storage_server_id") + def get(self, key: str, default = None) -> Any: + ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails.__key_warning(key) + return super().get(key, default) - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Optional[Mapping[str, str]]: + def __init__(__self__, *, + feature: str, + connector_details: Optional['outputs.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails'] = None, + license_model: Optional[str] = None): """ - 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 feature: The name of the Database Management feature. + :param 'ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs' connector_details: The connector details required to connect to an Oracle cloud database. + :param str license_model: The Oracle license model that applies to the external database. """ - return pulumi.get(self, "system_tags") + pulumi.set(__self__, "feature", feature) + if connector_details is not None: + pulumi.set(__self__, "connector_details", connector_details) + if license_model is not None: + pulumi.set(__self__, "license_model", license_model) @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> Optional[str]: + @pulumi.getter + def feature(self) -> str: """ - The timestamp of the creation of the Exadata resource. + The name of the Database Management feature. """ - return pulumi.get(self, "time_created") + return pulumi.get(self, "feature") @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> Optional[str]: + @pulumi.getter(name="connectorDetails") + def connector_details(self) -> Optional['outputs.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails']: """ - The timestamp of the last update of the Exadata resource. + The connector details required to connect to an Oracle cloud database. """ - return pulumi.get(self, "time_updated") + return pulumi.get(self, "connector_details") @property - @pulumi.getter - def version(self) -> Optional[str]: + @pulumi.getter(name="licenseModel") + def license_model(self) -> Optional[str]: """ - The version of the Exadata resource. + The Oracle license model that applies to the external database. """ - return pulumi.get(self, "version") + return pulumi.get(self, "license_model") @pulumi.output_type -class ExternalListenerEndpoint(dict): - def __init__(__self__, *, - host: Optional[str] = None, - key: Optional[str] = None, - port: Optional[int] = None, - protocol: Optional[str] = None, - services: Optional[Sequence[str]] = None): - """ - :param str host: The host name or IP address. - :param str key: The unique name of the service. - :param int port: The port number. - :param str protocol: The listener protocol. - :param Sequence[str] services: The list of services registered with the listener. - """ - if host is not None: - pulumi.set(__self__, "host", host) - if key is not None: - pulumi.set(__self__, "key", key) - if port is not None: - pulumi.set(__self__, "port", port) - if protocol is not None: - pulumi.set(__self__, "protocol", protocol) - if services is not None: - pulumi.set(__self__, "services", services) +class ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "connectorType": + suggest = "connector_type" + elif key == "databaseConnectorId": + suggest = "database_connector_id" + elif key == "managementAgentId": + suggest = "management_agent_id" + elif key == "privateEndPointId": + suggest = "private_end_point_id" - @property - @pulumi.getter - def host(self) -> Optional[str]: + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + connector_type: Optional[str] = None, + database_connector_id: Optional[str] = None, + management_agent_id: Optional[str] = None, + private_end_point_id: Optional[str] = None): """ - The host name or IP address. + :param str connector_type: The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + * DIRECT: Direct connection + :param str database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + :param str private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. """ - return pulumi.get(self, "host") + if connector_type is not None: + pulumi.set(__self__, "connector_type", connector_type) + if database_connector_id is not None: + pulumi.set(__self__, "database_connector_id", database_connector_id) + if management_agent_id is not None: + pulumi.set(__self__, "management_agent_id", management_agent_id) + if private_end_point_id is not None: + pulumi.set(__self__, "private_end_point_id", private_end_point_id) @property - @pulumi.getter - def key(self) -> Optional[str]: + @pulumi.getter(name="connectorType") + def connector_type(self) -> Optional[str]: """ - The unique name of the service. + The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + * DIRECT: Direct connection """ - return pulumi.get(self, "key") + return pulumi.get(self, "connector_type") @property - @pulumi.getter - def port(self) -> Optional[int]: + @pulumi.getter(name="databaseConnectorId") + def database_connector_id(self) -> Optional[str]: """ - The port number. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. """ - return pulumi.get(self, "port") + return pulumi.get(self, "database_connector_id") @property - @pulumi.getter - def protocol(self) -> Optional[str]: + @pulumi.getter(name="managementAgentId") + def management_agent_id(self) -> Optional[str]: """ - The listener protocol. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. """ - return pulumi.get(self, "protocol") + return pulumi.get(self, "management_agent_id") @property - @pulumi.getter - def services(self) -> Optional[Sequence[str]]: + @pulumi.getter(name="privateEndPointId") + def private_end_point_id(self) -> Optional[str]: """ - The list of services registered with the listener. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. """ - return pulumi.get(self, "services") + return pulumi.get(self, "private_end_point_id") @pulumi.output_type -class ExternalListenerServicedAsm(dict): +class ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetails(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "compartmentId": - suggest = "compartment_id" - elif key == "displayName": - suggest = "display_name" + if key == "connectorDetails": + suggest = "connector_details" + elif key == "licenseModel": + suggest = "license_model" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalListenerServicedAsm. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetails. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalListenerServicedAsm.__key_warning(key) + ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetails.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalListenerServicedAsm.__key_warning(key) + ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetails.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - compartment_id: Optional[str] = None, - display_name: Optional[str] = None, - id: Optional[str] = None): + feature: str, + connector_details: Optional['outputs.ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails'] = None, + license_model: Optional[str] = None): """ - :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. - :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. + :param str feature: The name of the Database Management feature. + :param 'ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs' connector_details: The connector details required to connect to an Oracle cloud database. + :param str license_model: The Oracle license model that applies to the external database. """ - if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if id is not None: - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "feature", feature) + if connector_details is not None: + pulumi.set(__self__, "connector_details", connector_details) + if license_model is not None: + pulumi.set(__self__, "license_model", license_model) @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> Optional[str]: + @pulumi.getter + def feature(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. + The name of the Database Management feature. """ - return pulumi.get(self, "compartment_id") + return pulumi.get(self, "feature") @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: + @pulumi.getter(name="connectorDetails") + def connector_details(self) -> Optional['outputs.ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails']: """ - The user-friendly name for the database. The name does not have to be unique. + The connector details required to connect to an Oracle cloud database. """ - return pulumi.get(self, "display_name") + return pulumi.get(self, "connector_details") @property - @pulumi.getter - def id(self) -> Optional[str]: + @pulumi.getter(name="licenseModel") + def license_model(self) -> Optional[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. + The Oracle license model that applies to the external database. """ - return pulumi.get(self, "id") + return pulumi.get(self, "license_model") @pulumi.output_type -class ExternalListenerServicedDatabase(dict): +class ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "compartmentId": - suggest = "compartment_id" - elif key == "databaseSubType": - suggest = "database_sub_type" - elif key == "databaseType": - suggest = "database_type" - elif key == "dbUniqueName": - suggest = "db_unique_name" - elif key == "displayName": - suggest = "display_name" - elif key == "isManaged": - suggest = "is_managed" + if key == "connectorType": + suggest = "connector_type" + elif key == "databaseConnectorId": + suggest = "database_connector_id" + elif key == "managementAgentId": + suggest = "management_agent_id" + elif key == "privateEndPointId": + suggest = "private_end_point_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalListenerServicedDatabase. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalListenerServicedDatabase.__key_warning(key) + ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalListenerServicedDatabase.__key_warning(key) + ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - 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): - """ - :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. - :param str database_sub_type: The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. - :param str database_type: The type of Oracle Database installation. - :param str db_unique_name: The unique name of the external database. - :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. - :param bool is_managed: Indicates whether the database is a Managed Database or not. - """ - if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) - if database_sub_type is not None: - pulumi.set(__self__, "database_sub_type", database_sub_type) - if database_type is not None: - pulumi.set(__self__, "database_type", database_type) - if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if id is not None: - pulumi.set(__self__, "id", id) - if is_managed is not None: - pulumi.set(__self__, "is_managed", is_managed) - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> Optional[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which the external database resides. - """ - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="databaseSubType") - def database_sub_type(self) -> Optional[str]: - """ - The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. - """ - return pulumi.get(self, "database_sub_type") - - @property - @pulumi.getter(name="databaseType") - def database_type(self) -> Optional[str]: + connector_type: Optional[str] = None, + database_connector_id: Optional[str] = None, + management_agent_id: Optional[str] = None, + private_end_point_id: Optional[str] = None): """ - The type of Oracle Database installation. + :param str connector_type: The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + * DIRECT: Direct connection + :param str database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + :param str private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. """ - return pulumi.get(self, "database_type") + if connector_type is not None: + pulumi.set(__self__, "connector_type", connector_type) + if database_connector_id is not None: + pulumi.set(__self__, "database_connector_id", database_connector_id) + if management_agent_id is not None: + pulumi.set(__self__, "management_agent_id", management_agent_id) + if private_end_point_id is not None: + pulumi.set(__self__, "private_end_point_id", private_end_point_id) @property - @pulumi.getter(name="dbUniqueName") - def db_unique_name(self) -> Optional[str]: + @pulumi.getter(name="connectorType") + def connector_type(self) -> Optional[str]: """ - The unique name of the external database. + The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + * DIRECT: Direct connection """ - return pulumi.get(self, "db_unique_name") + return pulumi.get(self, "connector_type") @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: + @pulumi.getter(name="databaseConnectorId") + def database_connector_id(self) -> Optional[str]: """ - The user-friendly name for the database. The name does not have to be unique. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. """ - return pulumi.get(self, "display_name") + return pulumi.get(self, "database_connector_id") @property - @pulumi.getter - def id(self) -> Optional[str]: + @pulumi.getter(name="managementAgentId") + def management_agent_id(self) -> Optional[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. """ - return pulumi.get(self, "id") + return pulumi.get(self, "management_agent_id") @property - @pulumi.getter(name="isManaged") - def is_managed(self) -> Optional[bool]: + @pulumi.getter(name="privateEndPointId") + def private_end_point_id(self) -> Optional[str]: """ - Indicates whether the database is a Managed Database or not. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. """ - return pulumi.get(self, "is_managed") + return pulumi.get(self, "private_end_point_id") @pulumi.output_type -class ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails(dict): +class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetails(dict): @staticmethod def __key_warning(key: str): suggest = None if key == "connectorDetails": suggest = "connector_details" - elif key == "licenseModel": - suggest = "license_model" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetails. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails.__key_warning(key) + ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetails.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetails.__key_warning(key) + ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetails.__key_warning(key) return super().get(key, default) def __init__(__self__, *, feature: str, - connector_details: Optional['outputs.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails'] = None, - license_model: Optional[str] = None): + connector_details: Optional['outputs.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails'] = None): """ :param str feature: The name of the Database Management feature. - :param 'ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs' connector_details: The connector details required to connect to an Oracle cloud database. - :param str license_model: The Oracle license model that applies to the external database. + :param 'ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs' connector_details: The connector details required to connect to an Oracle cloud database. """ pulumi.set(__self__, "feature", feature) if connector_details is not None: pulumi.set(__self__, "connector_details", connector_details) - if license_model is not None: - pulumi.set(__self__, "license_model", license_model) @property @pulumi.getter @@ -6075,23 +6839,15 @@ def feature(self) -> str: @property @pulumi.getter(name="connectorDetails") - def connector_details(self) -> Optional['outputs.ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails']: + def connector_details(self) -> Optional['outputs.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails']: """ The connector details required to connect to an Oracle cloud database. """ return pulumi.get(self, "connector_details") - @property - @pulumi.getter(name="licenseModel") - def license_model(self) -> Optional[str]: - """ - The Oracle license model that applies to the external database. - """ - return pulumi.get(self, "license_model") - @pulumi.output_type -class ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails(dict): +class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -6105,14 +6861,14 @@ def __key_warning(key: str): suggest = "private_end_point_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) + ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalcontainerdatabaseExternalContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) + ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) return super().get(key, default) def __init__(__self__, *, @@ -6125,6 +6881,7 @@ def __init__(__self__, *, * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection :param str database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. :param str private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. @@ -6146,6 +6903,7 @@ def connector_type(self) -> Optional[str]: * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection """ return pulumi.get(self, "connector_type") @@ -6175,56 +6933,85 @@ def private_end_point_id(self) -> Optional[str]: @pulumi.output_type -class ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetails(dict): +class ManagedDatabaseDbmgmtFeatureConfig(dict): @staticmethod def __key_warning(key: str): suggest = None if key == "connectorDetails": suggest = "connector_details" + elif key == "databaseConnectionDetails": + suggest = "database_connection_details" + elif key == "featureStatus": + suggest = "feature_status" elif key == "licenseModel": suggest = "license_model" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetails. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ManagedDatabaseDbmgmtFeatureConfig. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetails.__key_warning(key) + ManagedDatabaseDbmgmtFeatureConfig.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetails.__key_warning(key) + ManagedDatabaseDbmgmtFeatureConfig.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - feature: str, - connector_details: Optional['outputs.ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails'] = None, + connector_details: Optional[Sequence['outputs.ManagedDatabaseDbmgmtFeatureConfigConnectorDetail']] = None, + database_connection_details: Optional[Sequence['outputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail']] = None, + feature: Optional[str] = None, + feature_status: Optional[str] = None, license_model: Optional[str] = None): """ + :param Sequence['ManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs'] connector_details: The connector details required to connect to an Oracle cloud database. + :param Sequence['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs'] database_connection_details: The connection details required to connect to the database. :param str feature: The name of the Database Management feature. - :param 'ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs' connector_details: The connector details required to connect to an Oracle cloud database. + :param str feature_status: The list of statuses for Database Management features. :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "feature", feature) if connector_details is not None: pulumi.set(__self__, "connector_details", connector_details) + if database_connection_details is not None: + pulumi.set(__self__, "database_connection_details", database_connection_details) + if feature is not None: + pulumi.set(__self__, "feature", feature) + if feature_status is not None: + pulumi.set(__self__, "feature_status", feature_status) if license_model is not None: pulumi.set(__self__, "license_model", license_model) + @property + @pulumi.getter(name="connectorDetails") + def connector_details(self) -> Optional[Sequence['outputs.ManagedDatabaseDbmgmtFeatureConfigConnectorDetail']]: + """ + The connector details required to connect to an Oracle cloud database. + """ + return pulumi.get(self, "connector_details") + + @property + @pulumi.getter(name="databaseConnectionDetails") + def database_connection_details(self) -> Optional[Sequence['outputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail']]: + """ + The connection details required to connect to the database. + """ + return pulumi.get(self, "database_connection_details") + @property @pulumi.getter - def feature(self) -> str: + def feature(self) -> Optional[str]: """ The name of the Database Management feature. """ return pulumi.get(self, "feature") @property - @pulumi.getter(name="connectorDetails") - def connector_details(self) -> Optional['outputs.ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails']: + @pulumi.getter(name="featureStatus") + def feature_status(self) -> Optional[str]: """ - The connector details required to connect to an Oracle cloud database. + The list of statuses for Database Management features. """ - return pulumi.get(self, "connector_details") + return pulumi.get(self, "feature_status") @property @pulumi.getter(name="licenseModel") @@ -6236,7 +7023,7 @@ def license_model(self) -> Optional[str]: @pulumi.output_type -class ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails(dict): +class ManagedDatabaseDbmgmtFeatureConfigConnectorDetail(dict): @staticmethod def __key_warning(key: str): suggest = None @@ -6250,14 +7037,14 @@ def __key_warning(key: str): suggest = "private_end_point_id" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ManagedDatabaseDbmgmtFeatureConfigConnectorDetail. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) + ManagedDatabaseDbmgmtFeatureConfigConnectorDetail.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalnoncontainerdatabaseExternalNonContainerDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) + ManagedDatabaseDbmgmtFeatureConfigConnectorDetail.__key_warning(key) return super().get(key, default) def __init__(__self__, *, @@ -6320,134 +7107,245 @@ def private_end_point_id(self) -> Optional[str]: @pulumi.output_type -class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetails(dict): +class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "connectorDetails": - suggest = "connector_details" + if key == "connectionCredentials": + suggest = "connection_credentials" + elif key == "connectionStrings": + suggest = "connection_strings" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetails. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetails.__key_warning(key) + ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetails.__key_warning(key) + ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetail.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - feature: str, - connector_details: Optional['outputs.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails'] = None): + connection_credentials: Optional[Sequence['outputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential']] = None, + connection_strings: Optional[Sequence['outputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString']] = None): """ - :param str feature: The name of the Database Management feature. - :param 'ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetailsArgs' connector_details: The connector details required to connect to an Oracle cloud database. + :param Sequence['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + :param Sequence['ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs'] connection_strings: The details of the Oracle Database connection string. """ - pulumi.set(__self__, "feature", feature) - if connector_details is not None: - pulumi.set(__self__, "connector_details", connector_details) + if connection_credentials is not None: + pulumi.set(__self__, "connection_credentials", connection_credentials) + if connection_strings is not None: + pulumi.set(__self__, "connection_strings", connection_strings) + + @property + @pulumi.getter(name="connectionCredentials") + def connection_credentials(self) -> Optional[Sequence['outputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential']]: + """ + The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + """ + return pulumi.get(self, "connection_credentials") + + @property + @pulumi.getter(name="connectionStrings") + def connection_strings(self) -> Optional[Sequence['outputs.ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString']]: + """ + The details of the Oracle Database connection string. + """ + return pulumi.get(self, "connection_strings") + + +@pulumi.output_type +class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "credentialName": + suggest = "credential_name" + elif key == "credentialType": + suggest = "credential_type" + elif key == "namedCredentialId": + suggest = "named_credential_id" + elif key == "passwordSecretId": + suggest = "password_secret_id" + elif key == "sslSecretId": + suggest = "ssl_secret_id" + elif key == "userName": + suggest = "user_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredential.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + credential_name: Optional[str] = None, + credential_type: Optional[str] = None, + named_credential_id: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + ssl_secret_id: Optional[str] = None, + user_name: Optional[str] = None): + """ + :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + :param str credential_type: The type of credential used to connect to the database. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + :param str role: The role of the user connecting to the database. + :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 database. + """ + if credential_name is not None: + pulumi.set(__self__, "credential_name", credential_name) + if credential_type is not None: + pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) + if password_secret_id is not None: + pulumi.set(__self__, "password_secret_id", password_secret_id) + if role is not None: + pulumi.set(__self__, "role", role) + if ssl_secret_id is not None: + pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + if user_name is not None: + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="credentialName") + def credential_name(self) -> Optional[str]: + """ + The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + """ + return pulumi.get(self, "credential_name") + + @property + @pulumi.getter(name="credentialType") + def credential_type(self) -> Optional[str]: + """ + The type of credential used to connect to the database. + """ + return pulumi.get(self, "credential_type") + + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @property + @pulumi.getter(name="passwordSecretId") + def password_secret_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + """ + return pulumi.get(self, "password_secret_id") @property @pulumi.getter - def feature(self) -> str: + def role(self) -> Optional[str]: """ - The name of the Database Management feature. + The role of the user connecting to the database. """ - return pulumi.get(self, "feature") + return pulumi.get(self, "role") @property - @pulumi.getter(name="connectorDetails") - def connector_details(self) -> Optional['outputs.ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails']: + @pulumi.getter(name="sslSecretId") + def ssl_secret_id(self) -> Optional[str]: """ - The connector details required to connect to an Oracle cloud database. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. """ - return pulumi.get(self, "connector_details") + return pulumi.get(self, "ssl_secret_id") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> Optional[str]: + """ + The user name used to connect to the database. + """ + return pulumi.get(self, "user_name") @pulumi.output_type -class ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails(dict): +class ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString(dict): @staticmethod def __key_warning(key: str): suggest = None - if key == "connectorType": - suggest = "connector_type" - elif key == "databaseConnectorId": - suggest = "database_connector_id" - elif key == "managementAgentId": - suggest = "management_agent_id" - elif key == "privateEndPointId": - suggest = "private_end_point_id" + if key == "connectionType": + suggest = "connection_type" if suggest: - pulumi.log.warn(f"Key '{key}' not found in ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails. Access the value via the '{suggest}' property getter instead.") + pulumi.log.warn(f"Key '{key}' not found in ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString. Access the value via the '{suggest}' property getter instead.") def __getitem__(self, key: str) -> Any: - ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) + ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.__key_warning(key) return super().__getitem__(key) def get(self, key: str, default = None) -> Any: - ExternalpluggabledatabaseExternalPluggableDbmFeaturesManagementFeatureDetailsConnectorDetails.__key_warning(key) + ManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionString.__key_warning(key) return super().get(key, default) def __init__(__self__, *, - connector_type: Optional[str] = None, - database_connector_id: Optional[str] = None, - management_agent_id: Optional[str] = None, - private_end_point_id: Optional[str] = None): + connection_type: Optional[str] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + service: Optional[str] = None): """ - :param str connector_type: The list of supported connection types: - * PE: Private endpoint - * MACS: Management agent - * EXTERNAL: External database connector - :param str database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. - :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. - :param str private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + :param str connection_type: The list of supported connection types: + * BASIC: Basic connection details + :param int port: The port number used to connect to the database. + :param str protocol: The protocol used to connect to the database. + :param str service: The service name of the database. """ - if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) - if database_connector_id is not None: - pulumi.set(__self__, "database_connector_id", database_connector_id) - if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) - if private_end_point_id is not None: - pulumi.set(__self__, "private_end_point_id", private_end_point_id) + if connection_type is not None: + pulumi.set(__self__, "connection_type", connection_type) + if port is not None: + pulumi.set(__self__, "port", port) + if protocol is not None: + pulumi.set(__self__, "protocol", protocol) + if service is not None: + pulumi.set(__self__, "service", service) @property - @pulumi.getter(name="connectorType") - def connector_type(self) -> Optional[str]: + @pulumi.getter(name="connectionType") + def connection_type(self) -> Optional[str]: """ The list of supported connection types: - * PE: Private endpoint - * MACS: Management agent - * EXTERNAL: External database connector + * BASIC: Basic connection details """ - return pulumi.get(self, "connector_type") + return pulumi.get(self, "connection_type") @property - @pulumi.getter(name="databaseConnectorId") - def database_connector_id(self) -> Optional[str]: + @pulumi.getter + def port(self) -> Optional[int]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + The port number used to connect to the database. """ - return pulumi.get(self, "database_connector_id") + return pulumi.get(self, "port") @property - @pulumi.getter(name="managementAgentId") - def management_agent_id(self) -> Optional[str]: + @pulumi.getter + def protocol(self) -> Optional[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + The protocol used to connect to the database. """ - return pulumi.get(self, "management_agent_id") + return pulumi.get(self, "protocol") - @property - @pulumi.getter(name="privateEndPointId") - def private_end_point_id(self) -> Optional[str]: + @property + @pulumi.getter + def service(self) -> Optional[str]: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + The service name of the database. """ - return pulumi.get(self, "private_end_point_id") + return pulumi.get(self, "service") @pulumi.output_type @@ -7303,6 +8201,7 @@ def __init__(__self__, *, * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection :param str database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. :param str private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. @@ -7324,6 +8223,7 @@ def connector_type(self) -> Optional[str]: * PE: Private endpoint * MACS: Management agent * EXTERNAL: External database connector + * DIRECT: Direct connection """ return pulumi.get(self, "connector_type") @@ -7411,6 +8311,8 @@ def __key_warning(key: str): suggest = "credential_name" elif key == "credentialType": suggest = "credential_type" + elif key == "namedCredentialId": + suggest = "named_credential_id" elif key == "passwordSecretId": suggest = "password_secret_id" elif key == "sslSecretId": @@ -7432,6 +8334,7 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, credential_name: Optional[str] = None, credential_type: Optional[str] = None, + named_credential_id: Optional[str] = None, password_secret_id: Optional[str] = None, role: Optional[str] = None, ssl_secret_id: Optional[str] = None, @@ -7441,6 +8344,7 @@ def __init__(__self__, *, For example: inventorydb.abc112233445566778899 :param str credential_type: The type of credential used to connect to the database. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param str role: The role of the user connecting to the database. :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. @@ -7450,6 +8354,8 @@ def __init__(__self__, *, pulumi.set(__self__, "credential_name", credential_name) if credential_type is not None: pulumi.set(__self__, "credential_type", credential_type) + if named_credential_id is not None: + pulumi.set(__self__, "named_credential_id", named_credential_id) if password_secret_id is not None: pulumi.set(__self__, "password_secret_id", password_secret_id) if role is not None: @@ -7477,6 +8383,14 @@ def credential_type(self) -> Optional[str]: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> Optional[str]: @@ -7758,6 +8672,7 @@ def __init__(__self__, *, freeform_tags: Mapping[str, str], id: str, is_cluster: bool, + is_dns_resolution_enabled: bool, name: str, nsg_ids: Sequence[str], private_ip: str, @@ -7773,6 +8688,7 @@ def __init__(__self__, *, :param Mapping[str, str] 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Management private endpoint. :param bool is_cluster: The option to filter Database Management private endpoints that can used for Oracle Databases in a cluster. This should be used along with the vcnId query parameter. + :param bool is_dns_resolution_enabled: The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. :param str name: A filter to return only resources that match the entire name. :param Sequence[str] nsg_ids: The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. :param str private_ip: The IP addresses assigned to the Database Management private endpoint. @@ -7788,6 +8704,7 @@ def __init__(__self__, *, pulumi.set(__self__, "freeform_tags", freeform_tags) pulumi.set(__self__, "id", id) pulumi.set(__self__, "is_cluster", is_cluster) + pulumi.set(__self__, "is_dns_resolution_enabled", is_dns_resolution_enabled) pulumi.set(__self__, "name", name) pulumi.set(__self__, "nsg_ids", nsg_ids) pulumi.set(__self__, "private_ip", private_ip) @@ -7845,6 +8762,14 @@ def is_cluster(self) -> bool: """ return pulumi.get(self, "is_cluster") + @property + @pulumi.getter(name="isDnsResolutionEnabled") + def is_dns_resolution_enabled(self) -> bool: + """ + The option to filter Database Management private endpoints which are endbled with DNS proxy server. This should be used along with the vcnId query parameter. Only one of this parameter and IsClusterDbManagementPrivateEndpointQueryParam should be set to true at one time. + """ + return pulumi.get(self, "is_dns_resolution_enabled") + @property @pulumi.getter def name(self) -> str: @@ -9467,363 +10392,631 @@ def external_cluster_id(self) -> str: return pulumi.get(self, "external_cluster_id") @property - @pulumi.getter(name="externalConnectorId") - def external_connector_id(self) -> str: + @pulumi.getter(name="externalConnectorId") + def external_connector_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. + """ + return pulumi.get(self, "external_connector_id") + + @property + @pulumi.getter(name="externalDbSystemId") + def external_db_system_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. + """ + return pulumi.get(self, "external_db_system_id") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter(name="gridHome") + def grid_home(self) -> str: + """ + The directory in which Oracle Grid Infrastructure is installed. + """ + return pulumi.get(self, "grid_home") + + @property + @pulumi.getter + def id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external cluster. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isFlexCluster") + def is_flex_cluster(self) -> bool: + """ + Indicates whether the cluster is Oracle Flex Cluster or not. + """ + return pulumi.get(self, "is_flex_cluster") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> str: + """ + Additional information about the current lifecycle state. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter(name="networkConfigurations") + def network_configurations(self) -> Sequence['outputs.GetExternalClustersExternalClusterCollectionItemNetworkConfigurationResult']: + """ + The list of network address configurations of the external cluster. + """ + return pulumi.get(self, "network_configurations") + + @property + @pulumi.getter(name="ocrFileLocation") + def ocr_file_location(self) -> str: + """ + The location of the Oracle Cluster Registry (OCR). + """ + return pulumi.get(self, "ocr_file_location") + + @property + @pulumi.getter(name="scanConfigurations") + def scan_configurations(self) -> Sequence['outputs.GetExternalClustersExternalClusterCollectionItemScanConfigurationResult']: + """ + The list of Single Client Access Name (SCAN) configurations of the external cluster. + """ + return pulumi.get(self, "scan_configurations") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current lifecycle state of the external cluster. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "system_tags") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time the external cluster was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time the external cluster was last updated. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter + def version(self) -> str: + """ + The cluster version. + """ + return pulumi.get(self, "version") + + @property + @pulumi.getter(name="vipConfigurations") + def vip_configurations(self) -> Sequence['outputs.GetExternalClustersExternalClusterCollectionItemVipConfigurationResult']: + """ + The list of Virtual IP (VIP) configurations of the external cluster. + """ + return pulumi.get(self, "vip_configurations") + + +@pulumi.output_type +class GetExternalClustersExternalClusterCollectionItemNetworkConfigurationResult(dict): + def __init__(__self__, *, + network_number: int, + network_type: str, + subnet: str): + """ + :param int network_number: The network number from which VIPs are obtained. + :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) + + @property + @pulumi.getter(name="networkNumber") + def network_number(self) -> int: + """ + The network number from which VIPs are obtained. + """ + return pulumi.get(self, "network_number") + + @property + @pulumi.getter(name="networkType") + def network_type(self) -> str: + """ + The network type. + """ + return pulumi.get(self, "network_type") + + @property + @pulumi.getter + def subnet(self) -> str: + """ + The subnet for the network. + """ + return pulumi.get(self, "subnet") + + +@pulumi.output_type +class GetExternalClustersExternalClusterCollectionItemScanConfigurationResult(dict): + def __init__(__self__, *, + network_number: int, + scan_name: str, + scan_port: int, + scan_protocol: str): + """ + :param int network_number: The network number from which VIPs are obtained. + :param str scan_name: The name of the SCAN listener. + :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) + + @property + @pulumi.getter(name="networkNumber") + def network_number(self) -> int: + """ + The network number from which VIPs are obtained. + """ + return pulumi.get(self, "network_number") + + @property + @pulumi.getter(name="scanName") + def scan_name(self) -> str: + """ + The name of the SCAN listener. + """ + return pulumi.get(self, "scan_name") + + @property + @pulumi.getter(name="scanPort") + def scan_port(self) -> int: + """ + The port number of the SCAN listener. + """ + return pulumi.get(self, "scan_port") + + @property + @pulumi.getter(name="scanProtocol") + def scan_protocol(self) -> str: + """ + The protocol of the SCAN listener. + """ + return pulumi.get(self, "scan_protocol") + + +@pulumi.output_type +class GetExternalClustersExternalClusterCollectionItemVipConfigurationResult(dict): + def __init__(__self__, *, + address: str, + network_number: int, + node_name: str): + """ + :param str address: The VIP name or IP address. + :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) + + @property + @pulumi.getter + def address(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. + The VIP name or IP address. """ - return pulumi.get(self, "external_connector_id") + return pulumi.get(self, "address") @property - @pulumi.getter(name="externalDbSystemId") - def external_db_system_id(self) -> str: + @pulumi.getter(name="networkNumber") + def network_number(self) -> int: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. + The network number from which VIPs are obtained. """ - return pulumi.get(self, "external_db_system_id") + return pulumi.get(self, "network_number") @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Mapping[str, str]: + @pulumi.getter(name="nodeName") + def node_name(self) -> str: """ - 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"}` + The name of the node with the VIP. """ - return pulumi.get(self, "freeform_tags") + return pulumi.get(self, "node_name") + + +@pulumi.output_type +class GetExternalClustersFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "regex", regex) @property - @pulumi.getter(name="gridHome") - def grid_home(self) -> str: + @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 GetExternalDatabasesExternalDatabaseCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemResult']): """ - The directory in which Oracle Grid Infrastructure is installed. + :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemArgs'] items: An array of external databases. """ - return pulumi.get(self, "grid_home") + pulumi.set(__self__, "items", items) @property @pulumi.getter - def id(self) -> str: + def items(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemResult']: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external cluster. + An array of external databases. """ - return pulumi.get(self, "id") + return pulumi.get(self, "items") - @property - @pulumi.getter(name="isFlexCluster") - def is_flex_cluster(self) -> bool: + +@pulumi.output_type +class GetExternalDatabasesExternalDatabaseCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + database_platform_name: str, + database_sub_type: str, + database_type: str, + database_version: str, + db_management_configs: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigResult'], + db_system_infos: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoResult'], + db_unique_name: str, + dbmgmt_feature_configs: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigResult'], + defined_tags: Mapping[str, str], + display_name: str, + external_container_database_id: str, + external_db_home_id: str, + freeform_tags: Mapping[str, str], + id: str, + instance_details: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailResult'], + state: str, + system_tags: Mapping[str, str], + time_created: str): """ - Indicates whether the cluster is Oracle Flex Cluster or not. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str database_platform_name: The operating system of database. + :param str database_sub_type: The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. + :param str database_type: The type of Oracle Database installation. + :param str database_version: The Oracle database version. + :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigArgs'] db_management_configs: The configuration of the Database Management service. + :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoArgs'] db_system_infos: The basic information about an external DB system. + :param str db_unique_name: The `DB_UNIQUE_NAME` of the external database. + :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigArgs'] dbmgmt_feature_configs: The list of feature configurations + :param Mapping[str, str] 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 filter to only return the resources that match the entire display name. + :param str external_container_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent Container Database (CDB) if this is a Pluggable Database (PDB). + :param str external_db_home_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB home. + :param Mapping[str, str] 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. + :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailArgs'] instance_details: The list of database instances if the database is a RAC database. + :param str state: The current lifecycle state of the external database resource. + :param Mapping[str, str] 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 external DB system was created. """ - return pulumi.get(self, "is_flex_cluster") + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "database_platform_name", database_platform_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__, "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__, "dbmgmt_feature_configs", dbmgmt_feature_configs) + 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__, "external_db_home_id", external_db_home_id) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "instance_details", instance_details) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "system_tags", system_tags) + pulumi.set(__self__, "time_created", time_created) @property - @pulumi.getter(name="lifecycleDetails") - def lifecycle_details(self) -> str: + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: """ - Additional information about the current lifecycle state. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. """ - return pulumi.get(self, "lifecycle_details") + return pulumi.get(self, "compartment_id") @property - @pulumi.getter(name="networkConfigurations") - def network_configurations(self) -> Sequence['outputs.GetExternalClustersExternalClusterCollectionItemNetworkConfigurationResult']: + @pulumi.getter(name="databasePlatformName") + def database_platform_name(self) -> str: """ - The list of network address configurations of the external cluster. + The operating system of database. """ - return pulumi.get(self, "network_configurations") + return pulumi.get(self, "database_platform_name") @property - @pulumi.getter(name="ocrFileLocation") - def ocr_file_location(self) -> str: + @pulumi.getter(name="databaseSubType") + def database_sub_type(self) -> str: """ - The location of the Oracle Cluster Registry (OCR). + The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. """ - return pulumi.get(self, "ocr_file_location") + return pulumi.get(self, "database_sub_type") @property - @pulumi.getter(name="scanConfigurations") - def scan_configurations(self) -> Sequence['outputs.GetExternalClustersExternalClusterCollectionItemScanConfigurationResult']: + @pulumi.getter(name="databaseType") + def database_type(self) -> str: """ - The list of Single Client Access Name (SCAN) configurations of the external cluster. + The type of Oracle Database installation. """ - return pulumi.get(self, "scan_configurations") + return pulumi.get(self, "database_type") @property - @pulumi.getter - def state(self) -> str: + @pulumi.getter(name="databaseVersion") + def database_version(self) -> str: """ - The current lifecycle state of the external cluster. + The Oracle database version. """ - return pulumi.get(self, "state") + return pulumi.get(self, "database_version") @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Mapping[str, str]: + @pulumi.getter(name="dbManagementConfigs") + def db_management_configs(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigResult']: """ - 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"}` + The configuration of the Database Management service. """ - return pulumi.get(self, "system_tags") + return pulumi.get(self, "db_management_configs") @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> str: + @pulumi.getter(name="dbSystemInfos") + def db_system_infos(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoResult']: """ - The date and time the external cluster was created. + The basic information about an external DB system. """ - return pulumi.get(self, "time_created") + return pulumi.get(self, "db_system_infos") @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: + @pulumi.getter(name="dbUniqueName") + def db_unique_name(self) -> str: """ - The date and time the external cluster was last updated. + The `DB_UNIQUE_NAME` of the external database. """ - return pulumi.get(self, "time_updated") + return pulumi.get(self, "db_unique_name") @property - @pulumi.getter - def version(self) -> str: + @pulumi.getter(name="dbmgmtFeatureConfigs") + def dbmgmt_feature_configs(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigResult']: """ - The cluster version. + The list of feature configurations """ - return pulumi.get(self, "version") + return pulumi.get(self, "dbmgmt_feature_configs") @property - @pulumi.getter(name="vipConfigurations") - def vip_configurations(self) -> Sequence['outputs.GetExternalClustersExternalClusterCollectionItemVipConfigurationResult']: + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: """ - The list of Virtual IP (VIP) configurations of the external cluster. + 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"}` """ - return pulumi.get(self, "vip_configurations") - + return pulumi.get(self, "defined_tags") -@pulumi.output_type -class GetExternalClustersExternalClusterCollectionItemNetworkConfigurationResult(dict): - def __init__(__self__, *, - network_number: int, - network_type: str, - subnet: str): + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: """ - :param int network_number: The network number from which VIPs are obtained. - :param str network_type: The network type. - :param str subnet: The subnet for the network. + A filter to only return the resources that match the entire display name. """ - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "subnet", subnet) + return pulumi.get(self, "display_name") @property - @pulumi.getter(name="networkNumber") - def network_number(self) -> int: + @pulumi.getter(name="externalContainerDatabaseId") + def external_container_database_id(self) -> str: """ - The network number from which VIPs are obtained. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent Container Database (CDB) if this is a Pluggable Database (PDB). """ - return pulumi.get(self, "network_number") + return pulumi.get(self, "external_container_database_id") @property - @pulumi.getter(name="networkType") - def network_type(self) -> str: + @pulumi.getter(name="externalDbHomeId") + def external_db_home_id(self) -> str: """ - The network type. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB home. """ - return pulumi.get(self, "network_type") + return pulumi.get(self, "external_db_home_id") @property - @pulumi.getter - def subnet(self) -> str: + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: """ - The subnet for the network. + 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"}` """ - return pulumi.get(self, "subnet") - + return pulumi.get(self, "freeform_tags") -@pulumi.output_type -class GetExternalClustersExternalClusterCollectionItemScanConfigurationResult(dict): - def __init__(__self__, *, - network_number: int, - scan_name: str, - scan_port: int, - scan_protocol: str): + @property + @pulumi.getter + def id(self) -> str: """ - :param int network_number: The network number from which VIPs are obtained. - :param str scan_name: The name of the SCAN listener. - :param int scan_port: The port number of the SCAN listener. - :param str scan_protocol: The protocol of the SCAN listener. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. """ - 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) + return pulumi.get(self, "id") @property - @pulumi.getter(name="networkNumber") - def network_number(self) -> int: + @pulumi.getter(name="instanceDetails") + def instance_details(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailResult']: """ - The network number from which VIPs are obtained. + The list of database instances if the database is a RAC database. """ - return pulumi.get(self, "network_number") + return pulumi.get(self, "instance_details") @property - @pulumi.getter(name="scanName") - def scan_name(self) -> str: + @pulumi.getter + def state(self) -> str: """ - The name of the SCAN listener. + The current lifecycle state of the external database resource. """ - return pulumi.get(self, "scan_name") + return pulumi.get(self, "state") @property - @pulumi.getter(name="scanPort") - def scan_port(self) -> int: + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: """ - The port number of the SCAN listener. + 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"}` """ - return pulumi.get(self, "scan_port") + return pulumi.get(self, "system_tags") @property - @pulumi.getter(name="scanProtocol") - def scan_protocol(self) -> str: + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: """ - The protocol of the SCAN listener. + The date and time the external DB system was created. """ - return pulumi.get(self, "scan_protocol") + return pulumi.get(self, "time_created") @pulumi.output_type -class GetExternalClustersExternalClusterCollectionItemVipConfigurationResult(dict): +class GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigResult(dict): def __init__(__self__, *, - address: str, - network_number: int, - node_name: str): + connector_id: str, + database_management_status: str, + license_model: str): """ - :param str address: The VIP name or IP address. - :param int network_number: The network number from which VIPs are obtained. - :param str node_name: The name of the node with the VIP. + :param str connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + :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__, "address", address) - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "node_name", node_name) + pulumi.set(__self__, "connector_id", connector_id) + pulumi.set(__self__, "database_management_status", database_management_status) + pulumi.set(__self__, "license_model", license_model) @property - @pulumi.getter - def address(self) -> str: + @pulumi.getter(name="connectorId") + def connector_id(self) -> str: """ - The VIP name or IP address. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. """ - return pulumi.get(self, "address") + return pulumi.get(self, "connector_id") @property - @pulumi.getter(name="networkNumber") - def network_number(self) -> int: + @pulumi.getter(name="databaseManagementStatus") + def database_management_status(self) -> str: """ - The network number from which VIPs are obtained. + The status of the Database Management service. """ - return pulumi.get(self, "network_number") + return pulumi.get(self, "database_management_status") @property - @pulumi.getter(name="nodeName") - def node_name(self) -> str: + @pulumi.getter(name="licenseModel") + def license_model(self) -> str: """ - The name of the node with the VIP. + The Oracle license model that applies to the external database. """ - return pulumi.get(self, "node_name") + return pulumi.get(self, "license_model") @pulumi.output_type -class GetExternalClustersFilterResult(dict): +class GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoResult(dict): def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "regex", regex) + compartment_id: str, + display_name: str, + exadata_infra_infos: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoResult'], + id: str): + """ + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str display_name: A filter to only return the resources that match the entire display name. + :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) @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") + @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. + """ + return pulumi.get(self, "compartment_id") @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A filter to only return the resources that match the entire display name. + """ + return pulumi.get(self, "display_name") @property - @pulumi.getter - def regex(self) -> Optional[bool]: - return pulumi.get(self, "regex") - - -@pulumi.output_type -class GetExternalDatabasesExternalDatabaseCollectionResult(dict): - def __init__(__self__, *, - items: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemResult']): + @pulumi.getter(name="exadataInfraInfos") + def exadata_infra_infos(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoResult']: """ - :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemArgs'] items: An array of external databases. + The basic information about an external Exadata Infrastructure. """ - pulumi.set(__self__, "items", items) + return pulumi.get(self, "exadata_infra_infos") @property @pulumi.getter - def items(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemResult']: + def id(self) -> str: """ - An array of external databases. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. """ - return pulumi.get(self, "items") + return pulumi.get(self, "id") @pulumi.output_type -class GetExternalDatabasesExternalDatabaseCollectionItemResult(dict): +class GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoResult(dict): def __init__(__self__, *, 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, - defined_tags: Mapping[str, str], display_name: str, - external_container_database_id: str, - external_db_home_id: str, - freeform_tags: Mapping[str, str], - id: str, - instance_details: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailResult'], - state: str, - system_tags: Mapping[str, str], - time_created: str): + id: str): """ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - :param str database_sub_type: The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. - :param str database_type: The type of Oracle Database installation. - :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigArgs'] db_management_configs: The configuration of the Database Management service. - :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoArgs'] db_system_infos: The basic information about an external DB system. - :param str db_unique_name: The `DB_UNIQUE_NAME` of the external database. - :param Mapping[str, str] 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 filter to only return the resources that match the entire display name. - :param str external_container_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent Container Database (CDB) if this is a Pluggable Database (PDB). - :param str external_db_home_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB home. - :param Mapping[str, str] 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. - :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailArgs'] instance_details: The list of database instances if the database is a RAC database. - :param str state: The current lifecycle state of the external database resource. - :param Mapping[str, str] 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 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__, "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__, "external_db_home_id", external_db_home_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_details", instance_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -9834,255 +11027,305 @@ def compartment_id(self) -> str: return pulumi.get(self, "compartment_id") @property - @pulumi.getter(name="databaseSubType") - def database_sub_type(self) -> str: + @pulumi.getter(name="displayName") + def display_name(self) -> str: """ - The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or Non-container Database. + A filter to only return the resources that match the entire display name. """ - return pulumi.get(self, "database_sub_type") + return pulumi.get(self, "display_name") @property - @pulumi.getter(name="databaseType") - def database_type(self) -> str: + @pulumi.getter + def id(self) -> str: """ - The type of Oracle Database installation. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. """ - return pulumi.get(self, "database_type") + return pulumi.get(self, "id") - @property - @pulumi.getter(name="dbManagementConfigs") - def db_management_configs(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigResult']: + +@pulumi.output_type +class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigResult(dict): + def __init__(__self__, *, + connector_details: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult'], + database_connection_details: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult'], + feature: str, + feature_status: str, + license_model: str): """ - The configuration of the Database Management service. + :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs'] connector_details: The connector details required to connect to an Oracle cloud database. + :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs'] database_connection_details: The connection details required to connect to the database. + :param str feature: The name of the Database Management feature. + :param str feature_status: The list of statuses for Database Management features. + :param str license_model: The Oracle license model that applies to the external database. """ - return pulumi.get(self, "db_management_configs") + pulumi.set(__self__, "connector_details", connector_details) + pulumi.set(__self__, "database_connection_details", database_connection_details) + pulumi.set(__self__, "feature", feature) + pulumi.set(__self__, "feature_status", feature_status) + pulumi.set(__self__, "license_model", license_model) @property - @pulumi.getter(name="dbSystemInfos") - def db_system_infos(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoResult']: + @pulumi.getter(name="connectorDetails") + def connector_details(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult']: """ - The basic information about an external DB system. + The connector details required to connect to an Oracle cloud database. """ - return pulumi.get(self, "db_system_infos") + return pulumi.get(self, "connector_details") @property - @pulumi.getter(name="dbUniqueName") - def db_unique_name(self) -> str: + @pulumi.getter(name="databaseConnectionDetails") + def database_connection_details(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult']: """ - The `DB_UNIQUE_NAME` of the external database. + The connection details required to connect to the database. """ - return pulumi.get(self, "db_unique_name") + return pulumi.get(self, "database_connection_details") @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Mapping[str, str]: + @pulumi.getter + def feature(self) -> str: """ - 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"}` + The name of the Database Management feature. """ - return pulumi.get(self, "defined_tags") + return pulumi.get(self, "feature") @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: + @pulumi.getter(name="featureStatus") + def feature_status(self) -> str: """ - A filter to only return the resources that match the entire display name. + The list of statuses for Database Management features. """ - return pulumi.get(self, "display_name") + return pulumi.get(self, "feature_status") @property - @pulumi.getter(name="externalContainerDatabaseId") - def external_container_database_id(self) -> str: + @pulumi.getter(name="licenseModel") + def license_model(self) -> str: + """ + The Oracle license model that applies to the external database. + """ + return pulumi.get(self, "license_model") + + +@pulumi.output_type +class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult(dict): + def __init__(__self__, *, + connector_type: str, + database_connector_id: str, + management_agent_id: str, + private_end_point_id: str): """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent Container Database (CDB) if this is a Pluggable Database (PDB). + :param str connector_type: The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + :param str database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + :param str private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. """ - return pulumi.get(self, "external_container_database_id") + pulumi.set(__self__, "connector_type", connector_type) + pulumi.set(__self__, "database_connector_id", database_connector_id) + pulumi.set(__self__, "management_agent_id", management_agent_id) + pulumi.set(__self__, "private_end_point_id", private_end_point_id) @property - @pulumi.getter(name="externalDbHomeId") - def external_db_home_id(self) -> str: + @pulumi.getter(name="connectorType") + def connector_type(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB home. + The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector """ - return pulumi.get(self, "external_db_home_id") + return pulumi.get(self, "connector_type") @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Mapping[str, str]: + @pulumi.getter(name="databaseConnectorId") + def database_connector_id(self) -> str: """ - 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"}` + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. """ - return pulumi.get(self, "freeform_tags") + return pulumi.get(self, "database_connector_id") @property - @pulumi.getter - def id(self) -> str: + @pulumi.getter(name="managementAgentId") + def management_agent_id(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. """ - return pulumi.get(self, "id") + return pulumi.get(self, "management_agent_id") @property - @pulumi.getter(name="instanceDetails") - def instance_details(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailResult']: + @pulumi.getter(name="privateEndPointId") + def private_end_point_id(self) -> str: """ - The list of database instances if the database is a RAC database. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. """ - return pulumi.get(self, "instance_details") + return pulumi.get(self, "private_end_point_id") - @property - @pulumi.getter - def state(self) -> str: + +@pulumi.output_type +class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult(dict): + def __init__(__self__, *, + connection_credentials: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult']): """ - The current lifecycle state of the external database resource. + :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs'] connection_strings: The details of the Oracle Database connection string. """ - return pulumi.get(self, "state") + pulumi.set(__self__, "connection_credentials", connection_credentials) + pulumi.set(__self__, "connection_strings", connection_strings) @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Mapping[str, str]: + @pulumi.getter(name="connectionCredentials") + def connection_credentials(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult']: """ - 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"}` + The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. """ - return pulumi.get(self, "system_tags") + return pulumi.get(self, "connection_credentials") @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> str: + @pulumi.getter(name="connectionStrings") + def connection_strings(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult']: """ - The date and time the external DB system was created. + The details of the Oracle Database connection string. """ - return pulumi.get(self, "time_created") + return pulumi.get(self, "connection_strings") @pulumi.output_type -class GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigResult(dict): +class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult(dict): def __init__(__self__, *, - connector_id: str, - database_management_status: str, - license_model: str): + credential_name: str, + credential_type: str, + named_credential_id: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str): """ - :param str connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. - :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. + :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + :param str credential_type: The type of credential used to connect to the database. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + :param str role: The role of the user connecting to the database. + :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 database. """ - pulumi.set(__self__, "connector_id", connector_id) - pulumi.set(__self__, "database_management_status", database_management_status) - pulumi.set(__self__, "license_model", license_model) + pulumi.set(__self__, "credential_name", credential_name) + pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) + 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) @property - @pulumi.getter(name="connectorId") - def connector_id(self) -> str: + @pulumi.getter(name="credentialName") + def credential_name(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. """ - return pulumi.get(self, "connector_id") + return pulumi.get(self, "credential_name") @property - @pulumi.getter(name="databaseManagementStatus") - def database_management_status(self) -> str: + @pulumi.getter(name="credentialType") + def credential_type(self) -> str: """ - The status of the Database Management service. + The type of credential used to connect to the database. """ - return pulumi.get(self, "database_management_status") + return pulumi.get(self, "credential_type") @property - @pulumi.getter(name="licenseModel") - def license_model(self) -> str: - """ - The Oracle license model that applies to the external database. - """ - return pulumi.get(self, "license_model") - - -@pulumi.output_type -class GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoResult(dict): - def __init__(__self__, *, - compartment_id: str, - display_name: str, - exadata_infra_infos: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoResult'], - id: str): + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: """ - :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - :param str display_name: A filter to only return the resources that match the entire display name. - :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. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. """ - 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) + return pulumi.get(self, "named_credential_id") @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: + @pulumi.getter(name="passwordSecretId") + def password_secret_id(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. """ - return pulumi.get(self, "compartment_id") + return pulumi.get(self, "password_secret_id") @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: + @pulumi.getter + def role(self) -> str: """ - A filter to only return the resources that match the entire display name. + The role of the user connecting to the database. """ - return pulumi.get(self, "display_name") + return pulumi.get(self, "role") @property - @pulumi.getter(name="exadataInfraInfos") - def exadata_infra_infos(self) -> Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoResult']: + @pulumi.getter(name="sslSecretId") + def ssl_secret_id(self) -> str: """ - The basic information about an external Exadata Infrastructure. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. """ - return pulumi.get(self, "exadata_infra_infos") + return pulumi.get(self, "ssl_secret_id") @property - @pulumi.getter - def id(self) -> str: + @pulumi.getter(name="userName") + def user_name(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. + The user name used to connect to the database. """ - return pulumi.get(self, "id") + return pulumi.get(self, "user_name") @pulumi.output_type -class GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoResult(dict): +class GetExternalDatabasesExternalDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult(dict): def __init__(__self__, *, - compartment_id: str, - display_name: str, - id: str): + connection_type: str, + port: int, + protocol: str, + service: str): """ - :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. - :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. + :param str connection_type: The list of supported connection types: + * BASIC: Basic connection details + :param int port: The port number used to connect to the database. + :param str protocol: The protocol used to connect to the database. + :param str service: The service name of the database. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + pulumi.set(__self__, "connection_type", connection_type) + pulumi.set(__self__, "port", port) + pulumi.set(__self__, "protocol", protocol) + pulumi.set(__self__, "service", service) @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: + @pulumi.getter(name="connectionType") + def connection_type(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + The list of supported connection types: + * BASIC: Basic connection details """ - return pulumi.get(self, "compartment_id") + return pulumi.get(self, "connection_type") @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: + @pulumi.getter + def port(self) -> int: """ - A filter to only return the resources that match the entire display name. + The port number used to connect to the database. """ - return pulumi.get(self, "display_name") + return pulumi.get(self, "port") @property @pulumi.getter - def id(self) -> str: + def protocol(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. + The protocol used to connect to the database. """ - return pulumi.get(self, "id") + return pulumi.get(self, "protocol") + + @property + @pulumi.getter + def service(self) -> str: + """ + The service name of the database. + """ + return pulumi.get(self, "service") @pulumi.output_type @@ -10666,6 +11909,7 @@ class GetExternalDbSystemConnectorConnectionInfoConnectionCredentialResult(dict) def __init__(__self__, *, credential_name: str, credential_type: str, + named_credential_id: str, password_secret_id: str, role: str, ssl_secret_id: str, @@ -10673,6 +11917,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -10680,6 +11925,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "credential_name", credential_name) pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) pulumi.set(__self__, "password_secret_id", password_secret_id) pulumi.set(__self__, "role", role) pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) @@ -10701,6 +11947,14 @@ def credential_type(self) -> str: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> str: @@ -11131,6 +12385,7 @@ class GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnec def __init__(__self__, *, credential_name: str, credential_type: str, + named_credential_id: str, password_secret_id: str, role: str, ssl_secret_id: str, @@ -11138,6 +12393,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -11145,6 +12401,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "credential_name", credential_name) pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) pulumi.set(__self__, "password_secret_id", password_secret_id) pulumi.set(__self__, "role", role) pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) @@ -11166,6 +12423,14 @@ def credential_type(self) -> str: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> str: @@ -12375,6 +13640,7 @@ class GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDisco def __init__(__self__, *, credential_name: str, credential_type: str, + named_credential_id: str, password_secret_id: str, role: str, ssl_secret_id: str, @@ -12382,6 +13648,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -12389,6 +13656,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "credential_name", credential_name) pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) pulumi.set(__self__, "password_secret_id", password_secret_id) pulumi.set(__self__, "role", role) pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) @@ -12410,6 +13678,14 @@ def credential_type(self) -> str: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> str: @@ -12718,6 +13994,7 @@ class GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDisco def __init__(__self__, *, credential_name: str, credential_type: str, + named_credential_id: str, password_secret_id: str, role: str, ssl_secret_id: str, @@ -12725,6 +14002,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -12732,6 +14010,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "credential_name", credential_name) pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) pulumi.set(__self__, "password_secret_id", password_secret_id) pulumi.set(__self__, "role", role) pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) @@ -12753,6 +14032,14 @@ def credential_type(self) -> str: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> str: @@ -13214,6 +14501,7 @@ class GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDisco def __init__(__self__, *, credential_name: str, credential_type: str, + named_credential_id: str, password_secret_id: str, role: str, ssl_secret_id: str, @@ -13221,6 +14509,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -13228,6 +14517,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "credential_name", credential_name) pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) pulumi.set(__self__, "password_secret_id", password_secret_id) pulumi.set(__self__, "role", role) pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) @@ -13249,6 +14539,14 @@ def credential_type(self) -> str: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> str: @@ -14647,6 +15945,7 @@ class GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorCon def __init__(__self__, *, credential_name: str, credential_type: str, + named_credential_id: str, password_secret_id: str, role: str, ssl_secret_id: str, @@ -14654,6 +15953,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -14661,6 +15961,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "credential_name", credential_name) pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) pulumi.set(__self__, "password_secret_id", password_secret_id) pulumi.set(__self__, "role", role) pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) @@ -14682,6 +15983,14 @@ def credential_type(self) -> str: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> str: @@ -14990,6 +16299,7 @@ class GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConn def __init__(__self__, *, credential_name: str, credential_type: str, + named_credential_id: str, password_secret_id: str, role: str, ssl_secret_id: str, @@ -14997,6 +16307,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -15004,6 +16315,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "credential_name", credential_name) pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) pulumi.set(__self__, "password_secret_id", password_secret_id) pulumi.set(__self__, "role", role) pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) @@ -15025,6 +16337,14 @@ def credential_type(self) -> str: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> str: @@ -15486,6 +16806,7 @@ class GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorC def __init__(__self__, *, credential_name: str, credential_type: str, + named_credential_id: str, password_secret_id: str, role: str, ssl_secret_id: str, @@ -15493,6 +16814,7 @@ def __init__(__self__, *, """ :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. :param str credential_type: The type of the credential for tablespace administration tasks. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database password is stored. :param str role: The role of the database user. :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. @@ -15500,6 +16822,7 @@ def __init__(__self__, *, """ pulumi.set(__self__, "credential_name", credential_name) pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) pulumi.set(__self__, "password_secret_id", password_secret_id) pulumi.set(__self__, "role", role) pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) @@ -15521,6 +16844,14 @@ def credential_type(self) -> str: """ return pulumi.get(self, "credential_type") + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the named credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + @property @pulumi.getter(name="passwordSecretId") def password_secret_id(self) -> str: @@ -19957,186 +21288,471 @@ def __init__(__self__, *, category: str, count: int): """ - :param str category: The category of different attention logs. - :param int count: The count of attention logs with specific category. + :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) + + @property + @pulumi.getter + def category(self) -> str: + """ + The category of different attention logs. + """ + return pulumi.get(self, "category") + + @property + @pulumi.getter + def count(self) -> int: + """ + The count of attention logs with specific category. + """ + return pulumi.get(self, "count") + + +@pulumi.output_type +class GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemResult']): + """ + :param Sequence['GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemArgs'] items: An array of the counts of different urgency or type of attention logs. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemResult']: + """ + An array of the counts of different urgency or type of attention logs. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemResult(dict): + def __init__(__self__, *, + category: str, + count: int): + """ + :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) + + @property + @pulumi.getter + def category(self) -> str: + """ + The category of different attention logs. + """ + return pulumi.get(self, "category") + + @property + @pulumi.getter + def count(self) -> int: + """ + The count of attention logs with specific category. + """ + return pulumi.get(self, "count") + + +@pulumi.output_type +class GetManagedDatabaseAttentionLogCountsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemResult']): + """ + :param Sequence['GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemArgs'] items: A list of SQL statements in the cursor cache. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemResult']: + """ + A list of SQL statements in the cursor cache. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemResult(dict): + def __init__(__self__, *, + schema: str, + sql_id: str, + sql_text: str): + """ + :param str schema: The name of the parsing schema. + :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) + + @property + @pulumi.getter + def schema(self) -> str: + """ + The name of the parsing schema. + """ + return pulumi.get(self, "schema") + + @property + @pulumi.getter(name="sqlId") + def sql_id(self) -> str: + """ + The SQL statement identifier. Identifies a SQL statement in the cursor cache. + """ + return pulumi.get(self, "sql_id") + + @property + @pulumi.getter(name="sqlText") + def sql_text(self) -> str: + """ + 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. + """ + return pulumi.get(self, "sql_text") + + +@pulumi.output_type +class GetManagedDatabaseCursorCacheStatementsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetManagedDatabaseDbmgmtFeatureConfigResult(dict): + def __init__(__self__, *, + connector_details: Sequence['outputs.GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailResult'], + database_connection_details: Sequence['outputs.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailResult'], + feature: str, + feature_status: str, + license_model: str): + """ + :param Sequence['GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailArgs'] connector_details: The connector details required to connect to an Oracle cloud database. + :param Sequence['GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailArgs'] database_connection_details: The connection details required to connect to the database. + :param str feature: The name of the Database Management feature. + :param str feature_status: The list of statuses for Database Management features. + :param str license_model: The Oracle license model that applies to the external database. + """ + pulumi.set(__self__, "connector_details", connector_details) + pulumi.set(__self__, "database_connection_details", database_connection_details) + pulumi.set(__self__, "feature", feature) + pulumi.set(__self__, "feature_status", feature_status) + pulumi.set(__self__, "license_model", license_model) + + @property + @pulumi.getter(name="connectorDetails") + def connector_details(self) -> Sequence['outputs.GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailResult']: + """ + The connector details required to connect to an Oracle cloud database. + """ + return pulumi.get(self, "connector_details") + + @property + @pulumi.getter(name="databaseConnectionDetails") + def database_connection_details(self) -> Sequence['outputs.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailResult']: + """ + The connection details required to connect to the database. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "count", count) + return pulumi.get(self, "database_connection_details") @property @pulumi.getter - def category(self) -> str: + def feature(self) -> str: """ - The category of different attention logs. + The name of the Database Management feature. """ - return pulumi.get(self, "category") + return pulumi.get(self, "feature") @property - @pulumi.getter - def count(self) -> int: + @pulumi.getter(name="featureStatus") + def feature_status(self) -> str: """ - The count of attention logs with specific category. + The list of statuses for Database Management features. """ - return pulumi.get(self, "count") + return pulumi.get(self, "feature_status") + + @property + @pulumi.getter(name="licenseModel") + def license_model(self) -> str: + """ + The Oracle license model that applies to the external database. + """ + return pulumi.get(self, "license_model") @pulumi.output_type -class GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionResult(dict): +class GetManagedDatabaseDbmgmtFeatureConfigConnectorDetailResult(dict): def __init__(__self__, *, - items: Sequence['outputs.GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemResult']): + connector_type: str, + database_connector_id: str, + management_agent_id: str, + private_end_point_id: str): """ - :param Sequence['GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemArgs'] items: An array of the counts of different urgency or type of attention logs. + :param str connector_type: The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + :param str database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + :param str private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. """ - pulumi.set(__self__, "items", items) + pulumi.set(__self__, "connector_type", connector_type) + pulumi.set(__self__, "database_connector_id", database_connector_id) + pulumi.set(__self__, "management_agent_id", management_agent_id) + pulumi.set(__self__, "private_end_point_id", private_end_point_id) @property - @pulumi.getter - def items(self) -> Sequence['outputs.GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemResult']: + @pulumi.getter(name="connectorType") + def connector_type(self) -> str: """ - An array of the counts of different urgency or type of attention logs. + The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector """ - return pulumi.get(self, "items") - + return pulumi.get(self, "connector_type") -@pulumi.output_type -class GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemResult(dict): - def __init__(__self__, *, - category: str, - count: int): + @property + @pulumi.getter(name="databaseConnectorId") + def database_connector_id(self) -> str: """ - :param str category: The category of different attention logs. - :param int count: The count of attention logs with specific category. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "count", count) + return pulumi.get(self, "database_connector_id") @property - @pulumi.getter - def category(self) -> str: + @pulumi.getter(name="managementAgentId") + def management_agent_id(self) -> str: """ - The category of different attention logs. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. """ - return pulumi.get(self, "category") + return pulumi.get(self, "management_agent_id") @property - @pulumi.getter - def count(self) -> int: + @pulumi.getter(name="privateEndPointId") + def private_end_point_id(self) -> str: """ - The count of attention logs with specific category. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. """ - return pulumi.get(self, "count") + return pulumi.get(self, "private_end_point_id") @pulumi.output_type -class GetManagedDatabaseAttentionLogCountsFilterResult(dict): +class GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailResult(dict): def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "regex", regex) - - @property - @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") + connection_credentials: Sequence['outputs.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult']): + """ + :param Sequence['GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + :param Sequence['GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs'] connection_strings: The details of the Oracle Database connection string. + """ + pulumi.set(__self__, "connection_credentials", connection_credentials) + pulumi.set(__self__, "connection_strings", connection_strings) @property - @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") + @pulumi.getter(name="connectionCredentials") + def connection_credentials(self) -> Sequence['outputs.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult']: + """ + The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + """ + return pulumi.get(self, "connection_credentials") @property - @pulumi.getter - def regex(self) -> Optional[bool]: - return pulumi.get(self, "regex") + @pulumi.getter(name="connectionStrings") + def connection_strings(self) -> Sequence['outputs.GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult']: + """ + The details of the Oracle Database connection string. + """ + return pulumi.get(self, "connection_strings") @pulumi.output_type -class GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionResult(dict): +class GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult(dict): def __init__(__self__, *, - items: Sequence['outputs.GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemResult']): + credential_name: str, + credential_type: str, + named_credential_id: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str): """ - :param Sequence['GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemArgs'] items: A list of SQL statements in the cursor cache. + :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + :param str credential_type: The type of credential used to connect to the database. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + :param str role: The role of the user connecting to the database. + :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 database. """ - pulumi.set(__self__, "items", items) + pulumi.set(__self__, "credential_name", credential_name) + pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) + 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) @property - @pulumi.getter - def items(self) -> Sequence['outputs.GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemResult']: + @pulumi.getter(name="credentialName") + def credential_name(self) -> str: """ - A list of SQL statements in the cursor cache. + The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. """ - return pulumi.get(self, "items") + return pulumi.get(self, "credential_name") + @property + @pulumi.getter(name="credentialType") + def credential_type(self) -> str: + """ + The type of credential used to connect to the database. + """ + return pulumi.get(self, "credential_type") -@pulumi.output_type -class GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemResult(dict): - def __init__(__self__, *, - schema: str, - sql_id: str, - sql_text: str): + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: """ - :param str schema: The name of the parsing schema. - :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. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. """ - pulumi.set(__self__, "schema", schema) - pulumi.set(__self__, "sql_id", sql_id) - pulumi.set(__self__, "sql_text", sql_text) + return pulumi.get(self, "named_credential_id") + + @property + @pulumi.getter(name="passwordSecretId") + def password_secret_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + """ + return pulumi.get(self, "password_secret_id") @property @pulumi.getter - def schema(self) -> str: + def role(self) -> str: """ - The name of the parsing schema. + The role of the user connecting to the database. """ - return pulumi.get(self, "schema") + return pulumi.get(self, "role") @property - @pulumi.getter(name="sqlId") - def sql_id(self) -> str: + @pulumi.getter(name="sslSecretId") + def ssl_secret_id(self) -> str: """ - The SQL statement identifier. Identifies a SQL statement in the cursor cache. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. """ - return pulumi.get(self, "sql_id") + return pulumi.get(self, "ssl_secret_id") @property - @pulumi.getter(name="sqlText") - def sql_text(self) -> str: + @pulumi.getter(name="userName") + def user_name(self) -> str: """ - 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. + The user name used to connect to the database. """ - return pulumi.get(self, "sql_text") + return pulumi.get(self, "user_name") @pulumi.output_type -class GetManagedDatabaseCursorCacheStatementsFilterResult(dict): +class GetManagedDatabaseDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult(dict): def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "regex", regex) + connection_type: str, + port: int, + protocol: str, + service: str): + """ + :param str connection_type: The list of supported connection types: + * BASIC: Basic connection details + :param int port: The port number used to connect to the database. + :param str protocol: The protocol used to connect to the database. + :param str service: The service name of the database. + """ + pulumi.set(__self__, "connection_type", connection_type) + pulumi.set(__self__, "port", port) + pulumi.set(__self__, "protocol", protocol) + pulumi.set(__self__, "service", service) + + @property + @pulumi.getter(name="connectionType") + def connection_type(self) -> str: + """ + The list of supported connection types: + * BASIC: Basic connection details + """ + return pulumi.get(self, "connection_type") @property @pulumi.getter - def name(self) -> str: - return pulumi.get(self, "name") + def port(self) -> int: + """ + The port number used to connect to the database. + """ + return pulumi.get(self, "port") @property @pulumi.getter - def values(self) -> Sequence[str]: - return pulumi.get(self, "values") + def protocol(self) -> str: + """ + The protocol used to connect to the database. + """ + return pulumi.get(self, "protocol") @property @pulumi.getter - def regex(self) -> Optional[bool]: - return pulumi.get(self, "regex") + def service(self) -> str: + """ + The service name of the database. + """ + return pulumi.get(self, "service") @pulumi.output_type @@ -26796,11 +28412,13 @@ class GetManagedDatabasesManagedDatabaseCollectionItemResult(dict): def __init__(__self__, *, additional_details: Mapping[str, str], compartment_id: str, + database_platform_name: str, database_status: str, database_sub_type: str, database_type: str, database_version: str, db_system_id: str, + dbmgmt_feature_configs: Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigResult'], defined_tags: Mapping[str, str], deployment_type: str, freeform_tags: Mapping[str, str], @@ -26811,16 +28429,19 @@ def __init__(__self__, *, name: str, parent_container_id: str, storage_system_id: str, + system_tags: Mapping[str, str], time_created: str, workload_type: str): """ :param Mapping[str, str] additional_details: The additional details specific to a type of database defined in `{"key": "value"}` format. Example: `{"bar-key": "value"}` :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str database_platform_name: The operating system of database. :param str database_status: The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time. :param str database_sub_type: The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database. :param str database_type: The type of Oracle Database installation. :param str database_version: The Oracle Database version. :param str db_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. + :param Sequence['GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigArgs'] dbmgmt_feature_configs: The list of feature configurations :param Mapping[str, str] 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 deployment_type: A filter to return Managed Databases of the specified deployment type. :param Mapping[str, str] 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"}` @@ -26831,16 +28452,19 @@ def __init__(__self__, *, :param str name: A filter to return only resources that match the entire name. :param str parent_container_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the parent Container Database if Managed Database is a Pluggable Database. :param str storage_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the storage DB system. + :param Mapping[str, str] 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 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_platform_name", database_platform_name) 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__, "database_version", database_version) pulumi.set(__self__, "db_system_id", db_system_id) + pulumi.set(__self__, "dbmgmt_feature_configs", dbmgmt_feature_configs) pulumi.set(__self__, "defined_tags", defined_tags) pulumi.set(__self__, "deployment_type", deployment_type) pulumi.set(__self__, "freeform_tags", freeform_tags) @@ -26851,6 +28475,7 @@ def __init__(__self__, *, 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__, "system_tags", system_tags) pulumi.set(__self__, "time_created", time_created) pulumi.set(__self__, "workload_type", workload_type) @@ -26870,6 +28495,14 @@ def compartment_id(self) -> str: """ return pulumi.get(self, "compartment_id") + @property + @pulumi.getter(name="databasePlatformName") + def database_platform_name(self) -> str: + """ + The operating system of database. + """ + return pulumi.get(self, "database_platform_name") + @property @pulumi.getter(name="databaseStatus") def database_status(self) -> str: @@ -26906,9 +28539,17 @@ def database_version(self) -> str: @pulumi.getter(name="dbSystemId") def db_system_id(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system that this Managed Database is part of. + """ + return pulumi.get(self, "db_system_id") + + @property + @pulumi.getter(name="dbmgmtFeatureConfigs") + def dbmgmt_feature_configs(self) -> Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigResult']: + """ + The list of feature configurations """ - return pulumi.get(self, "db_system_id") + return pulumi.get(self, "dbmgmt_feature_configs") @property @pulumi.getter(name="definedTags") @@ -26990,6 +28631,14 @@ def storage_system_id(self) -> str: """ return pulumi.get(self, "storage_system_id") + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "system_tags") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: @@ -27007,6 +28656,291 @@ def workload_type(self) -> str: return pulumi.get(self, "workload_type") +@pulumi.output_type +class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigResult(dict): + def __init__(__self__, *, + connector_details: Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult'], + database_connection_details: Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult'], + feature: str, + feature_status: str, + license_model: str): + """ + :param Sequence['GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailArgs'] connector_details: The connector details required to connect to an Oracle cloud database. + :param Sequence['GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailArgs'] database_connection_details: The connection details required to connect to the database. + :param str feature: The name of the Database Management feature. + :param str feature_status: The list of statuses for Database Management features. + :param str license_model: The Oracle license model that applies to the external database. + """ + pulumi.set(__self__, "connector_details", connector_details) + pulumi.set(__self__, "database_connection_details", database_connection_details) + pulumi.set(__self__, "feature", feature) + pulumi.set(__self__, "feature_status", feature_status) + pulumi.set(__self__, "license_model", license_model) + + @property + @pulumi.getter(name="connectorDetails") + def connector_details(self) -> Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult']: + """ + The connector details required to connect to an Oracle cloud database. + """ + return pulumi.get(self, "connector_details") + + @property + @pulumi.getter(name="databaseConnectionDetails") + def database_connection_details(self) -> Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult']: + """ + The connection details required to connect to the database. + """ + return pulumi.get(self, "database_connection_details") + + @property + @pulumi.getter + def feature(self) -> str: + """ + The name of the Database Management feature. + """ + return pulumi.get(self, "feature") + + @property + @pulumi.getter(name="featureStatus") + def feature_status(self) -> str: + """ + The list of statuses for Database Management features. + """ + return pulumi.get(self, "feature_status") + + @property + @pulumi.getter(name="licenseModel") + def license_model(self) -> str: + """ + The Oracle license model that applies to the external database. + """ + return pulumi.get(self, "license_model") + + +@pulumi.output_type +class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigConnectorDetailResult(dict): + def __init__(__self__, *, + connector_type: str, + database_connector_id: str, + management_agent_id: str, + private_end_point_id: str): + """ + :param str connector_type: The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + :param str database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + :param str private_end_point_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + """ + pulumi.set(__self__, "connector_type", connector_type) + pulumi.set(__self__, "database_connector_id", database_connector_id) + pulumi.set(__self__, "management_agent_id", management_agent_id) + pulumi.set(__self__, "private_end_point_id", private_end_point_id) + + @property + @pulumi.getter(name="connectorType") + def connector_type(self) -> str: + """ + The list of supported connection types: + * PE: Private endpoint + * MACS: Management agent + * EXTERNAL: External database connector + """ + return pulumi.get(self, "connector_type") + + @property + @pulumi.getter(name="databaseConnectorId") + def database_connector_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database connector. + """ + return pulumi.get(self, "database_connector_id") + + @property + @pulumi.getter(name="managementAgentId") + def management_agent_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent. + """ + return pulumi.get(self, "management_agent_id") + + @property + @pulumi.getter(name="privateEndPointId") + def private_end_point_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private endpoint. + """ + return pulumi.get(self, "private_end_point_id") + + +@pulumi.output_type +class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailResult(dict): + def __init__(__self__, *, + connection_credentials: Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult']): + """ + :param Sequence['GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + :param Sequence['GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringArgs'] connection_strings: The details of the Oracle Database connection string. + """ + pulumi.set(__self__, "connection_credentials", connection_credentials) + pulumi.set(__self__, "connection_strings", connection_strings) + + @property + @pulumi.getter(name="connectionCredentials") + def connection_credentials(self) -> Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult']: + """ + The credentials used to connect to the database. Currently only the `DETAILS` type is supported for creating MACS connector credentials. + """ + return pulumi.get(self, "connection_credentials") + + @property + @pulumi.getter(name="connectionStrings") + def connection_strings(self) -> Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult']: + """ + The details of the Oracle Database connection string. + """ + return pulumi.get(self, "connection_strings") + + +@pulumi.output_type +class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionCredentialResult(dict): + def __init__(__self__, *, + credential_name: str, + credential_type: str, + named_credential_id: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str): + """ + :param str credential_name: The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + :param str credential_type: The type of credential used to connect to the database. + :param str named_credential_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + :param str role: The role of the user connecting to the database. + :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 database. + """ + pulumi.set(__self__, "credential_name", credential_name) + pulumi.set(__self__, "credential_type", credential_type) + pulumi.set(__self__, "named_credential_id", named_credential_id) + 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) + + @property + @pulumi.getter(name="credentialName") + def credential_name(self) -> str: + """ + The name of the credential information that used to connect to the DB system resource. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. *IMPORTANT* - The name must be unique within the Oracle Cloud Infrastructure region the credential is being created in. If you specify a name that duplicates the name of another credential within the same Oracle Cloud Infrastructure region, you may overwrite or corrupt the credential that is already using the name. + """ + return pulumi.get(self, "credential_name") + + @property + @pulumi.getter(name="credentialType") + def credential_type(self) -> str: + """ + The type of credential used to connect to the database. + """ + return pulumi.get(self, "credential_type") + + @property + @pulumi.getter(name="namedCredentialId") + def named_credential_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Named Credential where the database password metadata is stored. + """ + return pulumi.get(self, "named_credential_id") + + @property + @pulumi.getter(name="passwordSecretId") + def password_secret_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. + """ + return pulumi.get(self, "password_secret_id") + + @property + @pulumi.getter + def role(self) -> str: + """ + The role of the user connecting to the database. + """ + return pulumi.get(self, "role") + + @property + @pulumi.getter(name="sslSecretId") + def ssl_secret_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. + """ + return pulumi.get(self, "ssl_secret_id") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> str: + """ + The user name used to connect to the database. + """ + return pulumi.get(self, "user_name") + + +@pulumi.output_type +class GetManagedDatabasesManagedDatabaseCollectionItemDbmgmtFeatureConfigDatabaseConnectionDetailConnectionStringResult(dict): + def __init__(__self__, *, + connection_type: str, + port: int, + protocol: str, + service: str): + """ + :param str connection_type: The list of supported connection types: + * BASIC: Basic connection details + :param int port: The port number used to connect to the database. + :param str protocol: The protocol used to connect to the database. + :param str service: The service name of the database. + """ + pulumi.set(__self__, "connection_type", connection_type) + pulumi.set(__self__, "port", port) + pulumi.set(__self__, "protocol", protocol) + pulumi.set(__self__, "service", service) + + @property + @pulumi.getter(name="connectionType") + def connection_type(self) -> str: + """ + The list of supported connection types: + * BASIC: Basic connection details + """ + return pulumi.get(self, "connection_type") + + @property + @pulumi.getter + def port(self) -> int: + """ + The port number used to connect to the database. + """ + return pulumi.get(self, "port") + + @property + @pulumi.getter + def protocol(self) -> str: + """ + The protocol used to connect to the database. + """ + return pulumi.get(self, "protocol") + + @property + @pulumi.getter + def service(self) -> str: + """ + The service name of the database. + """ + return pulumi.get(self, "service") + + @pulumi.output_type class GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroupResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py b/sdk/python/pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py index f322479bea..dbde023b4b 100644 --- a/sdk/python/pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py +++ b/sdk/python/pulumi_oci/databasemanagement/pluggabledatabase_pluggable_database_dbm_features_management.py @@ -18,7 +18,8 @@ class PluggabledatabasePluggableDatabaseDbmFeaturesManagementArgs: def __init__(__self__, *, enable_pluggable_database_dbm_feature: pulumi.Input[bool], pluggable_database_id: pulumi.Input[str], - feature_details: Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None): + feature_details: Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None, + modify_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None): """ The set of arguments for constructing a PluggabledatabasePluggableDatabaseDbmFeaturesManagement resource. :param pulumi.Input[bool] enable_pluggable_database_dbm_feature: (Updatable) A required field when set to `true` calls enable action and when set to `false` calls disable action. @@ -33,6 +34,8 @@ def __init__(__self__, *, pulumi.set(__self__, "pluggable_database_id", pluggable_database_id) if feature_details is not None: pulumi.set(__self__, "feature_details", feature_details) + if modify_pluggable_database_dbm_feature is not None: + pulumi.set(__self__, "modify_pluggable_database_dbm_feature", modify_pluggable_database_dbm_feature) @property @pulumi.getter(name="enablePluggableDatabaseDbmFeature") @@ -74,12 +77,22 @@ def feature_details(self) -> Optional[pulumi.Input['PluggabledatabasePluggableDa def feature_details(self, value: Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']]): pulumi.set(self, "feature_details", value) + @property + @pulumi.getter(name="modifyPluggableDatabaseDbmFeature") + def modify_pluggable_database_dbm_feature(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "modify_pluggable_database_dbm_feature") + + @modify_pluggable_database_dbm_feature.setter + def modify_pluggable_database_dbm_feature(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "modify_pluggable_database_dbm_feature", value) + @pulumi.input_type class _PluggabledatabasePluggableDatabaseDbmFeaturesManagementState: def __init__(__self__, *, enable_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, feature_details: Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']] = None, + modify_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, pluggable_database_id: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering PluggabledatabasePluggableDatabaseDbmFeaturesManagement resources. @@ -95,6 +108,8 @@ def __init__(__self__, *, pulumi.set(__self__, "enable_pluggable_database_dbm_feature", enable_pluggable_database_dbm_feature) if feature_details is not None: pulumi.set(__self__, "feature_details", feature_details) + if modify_pluggable_database_dbm_feature is not None: + pulumi.set(__self__, "modify_pluggable_database_dbm_feature", modify_pluggable_database_dbm_feature) if pluggable_database_id is not None: pulumi.set(__self__, "pluggable_database_id", pluggable_database_id) @@ -126,6 +141,15 @@ def feature_details(self) -> Optional[pulumi.Input['PluggabledatabasePluggableDa def feature_details(self, value: Optional[pulumi.Input['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs']]): pulumi.set(self, "feature_details", value) + @property + @pulumi.getter(name="modifyPluggableDatabaseDbmFeature") + def modify_pluggable_database_dbm_feature(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "modify_pluggable_database_dbm_feature") + + @modify_pluggable_database_dbm_feature.setter + def modify_pluggable_database_dbm_feature(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "modify_pluggable_database_dbm_feature", value) + @property @pulumi.getter(name="pluggableDatabaseId") def pluggable_database_id(self) -> Optional[pulumi.Input[str]]: @@ -146,6 +170,7 @@ def __init__(__self__, opts: Optional[pulumi.ResourceOptions] = None, enable_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, feature_details: Optional[pulumi.Input[Union['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs', 'PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgsDict']]] = None, + modify_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, pluggable_database_id: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -191,6 +216,7 @@ def _internal_init(__self__, opts: Optional[pulumi.ResourceOptions] = None, enable_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, feature_details: Optional[pulumi.Input[Union['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs', 'PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgsDict']]] = None, + modify_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, pluggable_database_id: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -205,6 +231,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'enable_pluggable_database_dbm_feature'") __props__.__dict__["enable_pluggable_database_dbm_feature"] = enable_pluggable_database_dbm_feature __props__.__dict__["feature_details"] = feature_details + __props__.__dict__["modify_pluggable_database_dbm_feature"] = modify_pluggable_database_dbm_feature if pluggable_database_id is None and not opts.urn: raise TypeError("Missing required property 'pluggable_database_id'") __props__.__dict__["pluggable_database_id"] = pluggable_database_id @@ -220,6 +247,7 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, enable_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, feature_details: Optional[pulumi.Input[Union['PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgs', 'PluggabledatabasePluggableDatabaseDbmFeaturesManagementFeatureDetailsArgsDict']]] = None, + modify_pluggable_database_dbm_feature: Optional[pulumi.Input[bool]] = None, pluggable_database_id: Optional[pulumi.Input[str]] = None) -> 'PluggabledatabasePluggableDatabaseDbmFeaturesManagement': """ Get an existing PluggabledatabasePluggableDatabaseDbmFeaturesManagement resource's state with the given name, id, and optional extra @@ -242,6 +270,7 @@ def get(resource_name: str, __props__.__dict__["enable_pluggable_database_dbm_feature"] = enable_pluggable_database_dbm_feature __props__.__dict__["feature_details"] = feature_details + __props__.__dict__["modify_pluggable_database_dbm_feature"] = modify_pluggable_database_dbm_feature __props__.__dict__["pluggable_database_id"] = pluggable_database_id return PluggabledatabasePluggableDatabaseDbmFeaturesManagement(resource_name, opts=opts, __props__=__props__) @@ -265,6 +294,11 @@ def feature_details(self) -> pulumi.Output[Optional['outputs.PluggabledatabasePl """ return pulumi.get(self, "feature_details") + @property + @pulumi.getter(name="modifyPluggableDatabaseDbmFeature") + def modify_pluggable_database_dbm_feature(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "modify_pluggable_database_dbm_feature") + @property @pulumi.getter(name="pluggableDatabaseId") def pluggable_database_id(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/datasafe/__init__.py b/sdk/python/pulumi_oci/datasafe/__init__.py index 18ad32b1f7..56fb98d887 100644 --- a/sdk/python/pulumi_oci/datasafe/__init__.py +++ b/sdk/python/pulumi_oci/datasafe/__init__.py @@ -144,6 +144,8 @@ from .masking_policies_apply_difference_to_masking_columns import * from .masking_policies_masking_column import * from .masking_policy import * +from .masking_policy_health_report_management import * +from .masking_report_management import * from .on_prem_connector import * from .report import * from .report_definition import * @@ -158,7 +160,9 @@ from .sensitive_data_models_sensitive_column import * from .sensitive_type import * from .set_security_assessment_baseline import * +from .set_security_assessment_baseline_management import * from .set_user_assessment_baseline import * +from .set_user_assessment_baseline_management import * from .sql_collection import * from .sql_firewall_policy import * from .sql_firewall_policy_management import * @@ -166,7 +170,9 @@ from .target_database import * from .target_database_peer_target_database import * from .unset_security_assessment_baseline import * +from .unset_security_assessment_baseline_management import * from .unset_user_assessment_baseline import * +from .unset_user_assessment_baseline_management import * from .user_assessment import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/_inputs.py b/sdk/python/pulumi_oci/datasafe/_inputs.py index 1648d0c8d3..830dff4590 100644 --- a/sdk/python/pulumi_oci/datasafe/_inputs.py +++ b/sdk/python/pulumi_oci/datasafe/_inputs.py @@ -1418,6 +1418,12 @@ def __init__(__self__, *, status: Optional[pulumi.Input[str]] = None, time_status_updated: Optional[pulumi.Input[str]] = None, violation_log_auto_purge: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] exclude_job: (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + :param pulumi.Input[str] status: (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + :param pulumi.Input[str] time_status_updated: The most recent time when the firewall status is updated, in the format defined by RFC3339. + :param pulumi.Input[str] violation_log_auto_purge: (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + """ if exclude_job is not None: pulumi.set(__self__, "exclude_job", exclude_job) if status is not None: @@ -1430,6 +1436,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="excludeJob") def exclude_job(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + """ return pulumi.get(self, "exclude_job") @exclude_job.setter @@ -1439,6 +1448,9 @@ def exclude_job(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def status(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + """ return pulumi.get(self, "status") @status.setter @@ -1448,6 +1460,9 @@ def status(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeStatusUpdated") def time_status_updated(self) -> Optional[pulumi.Input[str]]: + """ + The most recent time when the firewall status is updated, in the format defined by RFC3339. + """ return pulumi.get(self, "time_status_updated") @time_status_updated.setter @@ -1457,6 +1472,9 @@ def time_status_updated(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="violationLogAutoPurge") def violation_log_auto_purge(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + """ return pulumi.get(self, "violation_log_auto_purge") @violation_log_auto_purge.setter diff --git a/sdk/python/pulumi_oci/datasafe/database_security_config_management.py b/sdk/python/pulumi_oci/datasafe/database_security_config_management.py index 5b6e051408..7c81911733 100644 --- a/sdk/python/pulumi_oci/datasafe/database_security_config_management.py +++ b/sdk/python/pulumi_oci/datasafe/database_security_config_management.py @@ -26,6 +26,18 @@ def __init__(__self__, *, target_id: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a DatabaseSecurityConfigManagement resource. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment containing the database security config. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] refresh_trigger: (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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['DatabaseSecurityConfigManagementSqlFirewallConfigArgs'] sql_firewall_config: (Updatable) Details to update the SQL firewall config. + :param pulumi.Input[str] target_id: Unique target identifier. """ if compartment_id is not None: pulumi.set(__self__, "compartment_id", compartment_id) @@ -47,6 +59,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the compartment containing the database security config. + """ return pulumi.get(self, "compartment_id") @compartment_id.setter @@ -56,6 +71,9 @@ def compartment_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @defined_tags.setter @@ -65,6 +83,9 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The description of the security policy. + """ return pulumi.get(self, "description") @description.setter @@ -74,6 +95,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @display_name.setter @@ -83,6 +107,9 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @freeform_tags.setter @@ -92,6 +119,13 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @property @pulumi.getter(name="refreshTrigger") def refresh_trigger(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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, "refresh_trigger") @refresh_trigger.setter @@ -101,6 +135,9 @@ def refresh_trigger(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter(name="sqlFirewallConfig") def sql_firewall_config(self) -> Optional[pulumi.Input['DatabaseSecurityConfigManagementSqlFirewallConfigArgs']]: + """ + (Updatable) Details to update the SQL firewall config. + """ return pulumi.get(self, "sql_firewall_config") @sql_firewall_config.setter @@ -110,6 +147,9 @@ def sql_firewall_config(self, value: Optional[pulumi.Input['DatabaseSecurityConf @property @pulumi.getter(name="targetId") def target_id(self) -> Optional[pulumi.Input[str]]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @target_id.setter @@ -136,6 +176,24 @@ def __init__(__self__, *, time_updated: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering DatabaseSecurityConfigManagement resources. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment containing the database security config. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] lifecycle_details: Details about the current state of the database security config in Data Safe. + :param pulumi.Input[bool] refresh_trigger: (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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['DatabaseSecurityConfigManagementSqlFirewallConfigArgs'] sql_firewall_config: (Updatable) Details to update the SQL firewall config. + :param pulumi.Input[str] state: The current state of the database security config. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. + :param pulumi.Input[str] time_created: The time that the database security config was created, in the format defined by RFC3339. + :param pulumi.Input[str] time_last_refreshed: The last date and time the database security config was refreshed, in the format defined by RFC3339. + :param pulumi.Input[str] time_updated: The date and time the database security configuration was last updated, in the format defined by RFC3339. """ if compartment_id is not None: pulumi.set(__self__, "compartment_id", compartment_id) @@ -169,6 +227,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the compartment containing the database security config. + """ return pulumi.get(self, "compartment_id") @compartment_id.setter @@ -178,6 +239,9 @@ def compartment_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @defined_tags.setter @@ -187,6 +251,9 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The description of the security policy. + """ return pulumi.get(self, "description") @description.setter @@ -196,6 +263,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @display_name.setter @@ -205,6 +275,9 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @freeform_tags.setter @@ -214,6 +287,9 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @property @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> Optional[pulumi.Input[str]]: + """ + Details about the current state of the database security config in Data Safe. + """ return pulumi.get(self, "lifecycle_details") @lifecycle_details.setter @@ -223,6 +299,13 @@ def lifecycle_details(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="refreshTrigger") def refresh_trigger(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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, "refresh_trigger") @refresh_trigger.setter @@ -232,6 +315,9 @@ def refresh_trigger(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter(name="sqlFirewallConfig") def sql_firewall_config(self) -> Optional[pulumi.Input['DatabaseSecurityConfigManagementSqlFirewallConfigArgs']]: + """ + (Updatable) Details to update the SQL firewall config. + """ return pulumi.get(self, "sql_firewall_config") @sql_firewall_config.setter @@ -241,6 +327,9 @@ def sql_firewall_config(self, value: Optional[pulumi.Input['DatabaseSecurityConf @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of the database security config. + """ return pulumi.get(self, "state") @state.setter @@ -250,6 +339,9 @@ def state(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="systemTags") def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + 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"}` + """ return pulumi.get(self, "system_tags") @system_tags.setter @@ -259,6 +351,9 @@ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str @property @pulumi.getter(name="targetId") def target_id(self) -> Optional[pulumi.Input[str]]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @target_id.setter @@ -268,6 +363,9 @@ def target_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeCreated") def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The time that the database security config was created, in the format defined by RFC3339. + """ return pulumi.get(self, "time_created") @time_created.setter @@ -277,6 +375,9 @@ def time_created(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeLastRefreshed") def time_last_refreshed(self) -> Optional[pulumi.Input[str]]: + """ + The last date and time the database security config was refreshed, in the format defined by RFC3339. + """ return pulumi.get(self, "time_last_refreshed") @time_last_refreshed.setter @@ -286,6 +387,9 @@ def time_last_refreshed(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeUpdated") def time_updated(self) -> Optional[pulumi.Input[str]]: + """ + The date and time the database security configuration was last updated, in the format defined by RFC3339. + """ return pulumi.get(self, "time_updated") @time_updated.setter @@ -308,9 +412,52 @@ def __init__(__self__, target_id: Optional[pulumi.Input[str]] = None, __props__=None): """ - Create a DatabaseSecurityConfigManagement resource with the given unique name, props, and options. + This resource provides the Database Security Config Management resource in Oracle Cloud Infrastructure Data Safe service. + + Updates the database security configuration. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_database_security_config_management = oci.data_safe.DatabaseSecurityConfigManagement("test_database_security_config_management", + compartment_id=compartment_id, + target_id=test_target_database["id"], + defined_tags={ + "Operations.CostCenter": "42", + }, + description=database_security_config_management_description, + display_name=database_security_config_management_display_name, + freeform_tags={ + "Department": "Finance", + }, + sql_firewall_config={ + "exclude_job": database_security_config_management_sql_firewall_config_exclude_job, + "status": database_security_config_management_sql_firewall_config_status, + "violation_log_auto_purge": database_security_config_management_sql_firewall_config_violation_log_auto_purge, + }) + ``` + + ## Import + + Import is not supported for this resource. + :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 of the compartment containing the database security config. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] refresh_trigger: (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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[Union['DatabaseSecurityConfigManagementSqlFirewallConfigArgs', 'DatabaseSecurityConfigManagementSqlFirewallConfigArgsDict']] sql_firewall_config: (Updatable) Details to update the SQL firewall config. + :param pulumi.Input[str] target_id: Unique target identifier. """ ... @overload @@ -319,7 +466,38 @@ def __init__(__self__, args: Optional[DatabaseSecurityConfigManagementArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Create a DatabaseSecurityConfigManagement resource with the given unique name, props, and options. + This resource provides the Database Security Config Management resource in Oracle Cloud Infrastructure Data Safe service. + + Updates the database security configuration. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_database_security_config_management = oci.data_safe.DatabaseSecurityConfigManagement("test_database_security_config_management", + compartment_id=compartment_id, + target_id=test_target_database["id"], + defined_tags={ + "Operations.CostCenter": "42", + }, + description=database_security_config_management_description, + display_name=database_security_config_management_display_name, + freeform_tags={ + "Department": "Finance", + }, + sql_firewall_config={ + "exclude_job": database_security_config_management_sql_firewall_config_exclude_job, + "status": database_security_config_management_sql_firewall_config_status, + "violation_log_auto_purge": database_security_config_management_sql_firewall_config_violation_log_auto_purge, + }) + ``` + + ## Import + + Import is not supported for this resource. + :param str resource_name: The name of the resource. :param DatabaseSecurityConfigManagementArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. @@ -397,6 +575,24 @@ 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) The OCID of the compartment containing the database security config. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] lifecycle_details: Details about the current state of the database security config in Data Safe. + :param pulumi.Input[bool] refresh_trigger: (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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[Union['DatabaseSecurityConfigManagementSqlFirewallConfigArgs', 'DatabaseSecurityConfigManagementSqlFirewallConfigArgsDict']] sql_firewall_config: (Updatable) Details to update the SQL firewall config. + :param pulumi.Input[str] state: The current state of the database security config. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. + :param pulumi.Input[str] time_created: The time that the database security config was created, in the format defined by RFC3339. + :param pulumi.Input[str] time_last_refreshed: The last date and time the database security config was refreshed, in the format defined by RFC3339. + :param pulumi.Input[str] time_updated: The date and time the database security configuration was last updated, in the format defined by RFC3339. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -421,70 +617,116 @@ def get(resource_name: str, @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> pulumi.Output[str]: + """ + (Updatable) The OCID of the compartment containing the database security config. + """ return pulumi.get(self, "compartment_id") @property @pulumi.getter(name="definedTags") def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @property @pulumi.getter def description(self) -> pulumi.Output[str]: + """ + (Updatable) The description of the security policy. + """ return pulumi.get(self, "description") @property @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) The display name of the database security config. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @property @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> pulumi.Output[str]: + """ + Details about the current state of the database security config in Data Safe. + """ return pulumi.get(self, "lifecycle_details") @property @pulumi.getter(name="refreshTrigger") def refresh_trigger(self) -> pulumi.Output[Optional[bool]]: + """ + (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer 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, "refresh_trigger") @property @pulumi.getter(name="sqlFirewallConfig") def sql_firewall_config(self) -> pulumi.Output['outputs.DatabaseSecurityConfigManagementSqlFirewallConfig']: + """ + (Updatable) Details to update the SQL firewall config. + """ return pulumi.get(self, "sql_firewall_config") @property @pulumi.getter def state(self) -> pulumi.Output[str]: + """ + The current state of the database security config. + """ return pulumi.get(self, "state") @property @pulumi.getter(name="systemTags") def system_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + 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"}` + """ return pulumi.get(self, "system_tags") @property @pulumi.getter(name="targetId") def target_id(self) -> pulumi.Output[Optional[str]]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @property @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: + """ + The time that the database security config was created, in the format defined by RFC3339. + """ return pulumi.get(self, "time_created") @property @pulumi.getter(name="timeLastRefreshed") def time_last_refreshed(self) -> pulumi.Output[str]: + """ + The last date and time the database security config was refreshed, in the format defined by RFC3339. + """ return pulumi.get(self, "time_last_refreshed") @property @pulumi.getter(name="timeUpdated") def time_updated(self) -> pulumi.Output[str]: + """ + The date and time the database security configuration was last updated, in the format defined by RFC3339. + """ return pulumi.get(self, "time_updated") diff --git a/sdk/python/pulumi_oci/datasafe/masking_policy_health_report_management.py b/sdk/python/pulumi_oci/datasafe/masking_policy_health_report_management.py new file mode 100644 index 0000000000..ad1c2d4099 --- /dev/null +++ b/sdk/python/pulumi_oci/datasafe/masking_policy_health_report_management.py @@ -0,0 +1,453 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['MaskingPolicyHealthReportManagementArgs', 'MaskingPolicyHealthReportManagement'] + +@pulumi.input_type +class MaskingPolicyHealthReportManagementArgs: + def __init__(__self__, *, + compartment_id: Optional[pulumi.Input[str]] = None, + masking_policy_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MaskingPolicyHealthReportManagement resource. + :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the masking report. + :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy. + :param pulumi.Input[str] target_id: The OCID of the target database masked. + """ + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if masking_policy_id is not None: + pulumi.set(__self__, "masking_policy_id", masking_policy_id) + if target_id is not None: + pulumi.set(__self__, "target_id", target_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the compartment that contains the masking report. + """ + 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="maskingPolicyId") + def masking_policy_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the masking policy. + """ + return pulumi.get(self, "masking_policy_id") + + @masking_policy_id.setter + def masking_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "masking_policy_id", value) + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the target database masked. + """ + return pulumi.get(self, "target_id") + + @target_id.setter + def target_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_id", value) + + +@pulumi.input_type +class _MaskingPolicyHealthReportManagementState: + def __init__(__self__, *, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + masking_policy_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, + time_updated: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering MaskingPolicyHealthReportManagement resources. + :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the masking report. + :param pulumi.Input[str] description: Description for the pre-masking report, + :param pulumi.Input[str] display_name: The display name of the pre-masking report, + :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy. + :param pulumi.Input[str] state: The current state of the pre-masking report. + :param pulumi.Input[str] target_id: The OCID of the target database masked. + :param pulumi.Input[str] time_created: The date and time the pre-masking report 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 pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + """ + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if defined_tags is not None: + pulumi.set(__self__, "defined_tags", defined_tags) + if description is not None: + pulumi.set(__self__, "description", description) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if freeform_tags is not None: + pulumi.set(__self__, "freeform_tags", freeform_tags) + if masking_policy_id is not None: + pulumi.set(__self__, "masking_policy_id", masking_policy_id) + if state is not None: + pulumi.set(__self__, "state", state) + if target_id is not None: + pulumi.set(__self__, "target_id", target_id) + if time_created is not None: + pulumi.set(__self__, "time_created", time_created) + if time_updated is not None: + pulumi.set(__self__, "time_updated", time_updated) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the compartment that contains the masking report. + """ + 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, pulumi.Input[str]]]]: + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + Description for the pre-masking report, + """ + 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]]: + """ + The display name of the pre-masking report, + """ + 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, pulumi.Input[str]]]]: + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter(name="maskingPolicyId") + def masking_policy_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the masking policy. + """ + return pulumi.get(self, "masking_policy_id") + + @masking_policy_id.setter + def masking_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "masking_policy_id", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of the pre-masking report. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the target database masked. + """ + return pulumi.get(self, "target_id") + + @target_id.setter + def target_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_id", value) + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + """ + 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 the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + """ + 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 MaskingPolicyHealthReportManagement(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + masking_policy_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides Pre-masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. + + Gets the details of the specified pre-masking health report. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_pre_masking_report_management = oci.data_safe.MaskingPolicyHealthReportManagement("test_pre_masking_report_management", + target_id=test_target_database["id"], + masking_policy_id=test_masking_policy["id"]) + ``` + + ## Import + + Import is not supported for this resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the masking report. + :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy. + :param pulumi.Input[str] target_id: The OCID of the target database masked. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[MaskingPolicyHealthReportManagementArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides Pre-masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. + + Gets the details of the specified pre-masking health report. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_pre_masking_report_management = oci.data_safe.MaskingPolicyHealthReportManagement("test_pre_masking_report_management", + target_id=test_target_database["id"], + masking_policy_id=test_masking_policy["id"]) + ``` + + ## Import + + Import is not supported for this resource. + + :param str resource_name: The name of the resource. + :param MaskingPolicyHealthReportManagementArgs 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(MaskingPolicyHealthReportManagementArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __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, + masking_policy_id: Optional[pulumi.Input[str]] = None, + target_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__ = MaskingPolicyHealthReportManagementArgs.__new__(MaskingPolicyHealthReportManagementArgs) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["masking_policy_id"] = masking_policy_id + __props__.__dict__["target_id"] = target_id + __props__.__dict__["defined_tags"] = None + __props__.__dict__["description"] = None + __props__.__dict__["display_name"] = None + __props__.__dict__["freeform_tags"] = None + __props__.__dict__["state"] = None + __props__.__dict__["time_created"] = None + __props__.__dict__["time_updated"] = None + super(MaskingPolicyHealthReportManagement, __self__).__init__( + 'oci:DataSafe/maskingPolicyHealthReportManagement:MaskingPolicyHealthReportManagement', + 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, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + masking_policy_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, + time_updated: Optional[pulumi.Input[str]] = None) -> 'MaskingPolicyHealthReportManagement': + """ + Get an existing MaskingPolicyHealthReportManagement 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: The OCID of the compartment that contains the masking report. + :param pulumi.Input[str] description: Description for the pre-masking report, + :param pulumi.Input[str] display_name: The display name of the pre-masking report, + :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy. + :param pulumi.Input[str] state: The current state of the pre-masking report. + :param pulumi.Input[str] target_id: The OCID of the target database masked. + :param pulumi.Input[str] time_created: The date and time the pre-masking report 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 pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _MaskingPolicyHealthReportManagementState.__new__(_MaskingPolicyHealthReportManagementState) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["description"] = description + __props__.__dict__["display_name"] = display_name + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["masking_policy_id"] = masking_policy_id + __props__.__dict__["state"] = state + __props__.__dict__["target_id"] = target_id + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_updated"] = time_updated + return MaskingPolicyHealthReportManagement(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + The OCID of the compartment that contains the masking report. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + Description for the pre-masking report, + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + The display name of the pre-masking report, + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter(name="maskingPolicyId") + def masking_policy_id(self) -> pulumi.Output[str]: + """ + The OCID of the masking policy. + """ + return pulumi.get(self, "masking_policy_id") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The current state of the pre-masking report. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> pulumi.Output[str]: + """ + The OCID of the target database masked. + """ + return pulumi.get(self, "target_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> pulumi.Output[str]: + """ + The date and time the pre-masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> pulumi.Output[str]: + """ + The date and time the pre-masking report was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), + """ + return pulumi.get(self, "time_updated") + diff --git a/sdk/python/pulumi_oci/datasafe/masking_report_management.py b/sdk/python/pulumi_oci/datasafe/masking_report_management.py new file mode 100644 index 0000000000..57cf0db3a1 --- /dev/null +++ b/sdk/python/pulumi_oci/datasafe/masking_report_management.py @@ -0,0 +1,693 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['MaskingReportManagementArgs', 'MaskingReportManagement'] + +@pulumi.input_type +class MaskingReportManagementArgs: + def __init__(__self__, *, + compartment_id: Optional[pulumi.Input[str]] = None, + masking_policy_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a MaskingReportManagement resource. + :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the masking report. + :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy. + :param pulumi.Input[str] target_id: The OCID of the target database masked. + """ + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if masking_policy_id is not None: + pulumi.set(__self__, "masking_policy_id", masking_policy_id) + if target_id is not None: + pulumi.set(__self__, "target_id", target_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the compartment that contains the masking report. + """ + 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="maskingPolicyId") + def masking_policy_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the masking policy. + """ + return pulumi.get(self, "masking_policy_id") + + @masking_policy_id.setter + def masking_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "masking_policy_id", value) + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the target database masked. + """ + return pulumi.get(self, "target_id") + + @target_id.setter + def target_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_id", value) + + +@pulumi.input_type +class _MaskingReportManagementState: + def __init__(__self__, *, + compartment_id: Optional[pulumi.Input[str]] = 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, + masking_policy_id: Optional[pulumi.Input[str]] = None, + masking_work_request_id: Optional[pulumi.Input[str]] = None, + parallel_degree: Optional[pulumi.Input[str]] = None, + recompile: 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, + time_masking_finished: Optional[pulumi.Input[str]] = None, + time_masking_started: Optional[pulumi.Input[str]] = None, + total_masked_columns: Optional[pulumi.Input[str]] = None, + total_masked_objects: Optional[pulumi.Input[str]] = None, + total_masked_schemas: Optional[pulumi.Input[str]] = None, + total_masked_sensitive_types: Optional[pulumi.Input[str]] = None, + total_masked_values: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering MaskingReportManagement resources. + :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the masking report. + :param pulumi.Input[bool] is_drop_temp_tables_enabled: Indicates if the temporary tables created during the masking operation were dropped after masking. + :param pulumi.Input[bool] is_redo_logging_enabled: Indicates if redo logging was enabled during the masking operation. + :param pulumi.Input[bool] is_refresh_stats_enabled: Indicates if statistics gathering was enabled during the masking operation. + :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy. + :param pulumi.Input[str] masking_work_request_id: The OCID of the masking work request that resulted in this masking report. + :param pulumi.Input[str] parallel_degree: Indicates if parallel execution was enabled during the masking operation. + :param pulumi.Input[str] recompile: Indicates how invalid objects were recompiled post the masking operation. + :param pulumi.Input[str] state: The current state of the masking report. + :param pulumi.Input[str] target_id: The OCID of the target database masked. + :param pulumi.Input[str] time_created: The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + :param pulumi.Input[str] time_masking_finished: The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + :param pulumi.Input[str] time_masking_started: The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + :param pulumi.Input[str] total_masked_columns: The total number of masked columns. + :param pulumi.Input[str] total_masked_objects: The total number of unique objects (tables and editioning views) that contain the masked columns. + :param pulumi.Input[str] total_masked_schemas: The total number of unique schemas that contain the masked columns. + :param pulumi.Input[str] total_masked_sensitive_types: The total number of unique sensitive types associated with the masked columns. + :param pulumi.Input[str] total_masked_values: The total number of masked values. + """ + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if is_drop_temp_tables_enabled is not None: + pulumi.set(__self__, "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) + if is_refresh_stats_enabled is not None: + pulumi.set(__self__, "is_refresh_stats_enabled", is_refresh_stats_enabled) + if masking_policy_id is not None: + pulumi.set(__self__, "masking_policy_id", masking_policy_id) + if masking_work_request_id is not None: + pulumi.set(__self__, "masking_work_request_id", masking_work_request_id) + if parallel_degree is not None: + pulumi.set(__self__, "parallel_degree", parallel_degree) + if recompile is not None: + pulumi.set(__self__, "recompile", recompile) + if state is not None: + pulumi.set(__self__, "state", state) + if target_id is not None: + pulumi.set(__self__, "target_id", target_id) + if time_created is not None: + pulumi.set(__self__, "time_created", time_created) + if time_masking_finished is not None: + pulumi.set(__self__, "time_masking_finished", time_masking_finished) + if time_masking_started is not None: + pulumi.set(__self__, "time_masking_started", time_masking_started) + if total_masked_columns is not None: + pulumi.set(__self__, "total_masked_columns", total_masked_columns) + if total_masked_objects is not None: + pulumi.set(__self__, "total_masked_objects", total_masked_objects) + if total_masked_schemas is not None: + pulumi.set(__self__, "total_masked_schemas", total_masked_schemas) + if total_masked_sensitive_types is not None: + pulumi.set(__self__, "total_masked_sensitive_types", total_masked_sensitive_types) + if total_masked_values is not None: + pulumi.set(__self__, "total_masked_values", total_masked_values) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the compartment that contains the masking report. + """ + 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="isDropTempTablesEnabled") + def is_drop_temp_tables_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates if the temporary tables created during the masking operation were dropped after masking. + """ + return pulumi.get(self, "is_drop_temp_tables_enabled") + + @is_drop_temp_tables_enabled.setter + def is_drop_temp_tables_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_drop_temp_tables_enabled", value) + + @property + @pulumi.getter(name="isRedoLoggingEnabled") + def is_redo_logging_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates if redo logging was enabled during the masking operation. + """ + return pulumi.get(self, "is_redo_logging_enabled") + + @is_redo_logging_enabled.setter + def is_redo_logging_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_redo_logging_enabled", value) + + @property + @pulumi.getter(name="isRefreshStatsEnabled") + def is_refresh_stats_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates if statistics gathering was enabled during the masking operation. + """ + return pulumi.get(self, "is_refresh_stats_enabled") + + @is_refresh_stats_enabled.setter + def is_refresh_stats_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_refresh_stats_enabled", value) + + @property + @pulumi.getter(name="maskingPolicyId") + def masking_policy_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the masking policy. + """ + return pulumi.get(self, "masking_policy_id") + + @masking_policy_id.setter + def masking_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "masking_policy_id", value) + + @property + @pulumi.getter(name="maskingWorkRequestId") + def masking_work_request_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the masking work request that resulted in this masking report. + """ + return pulumi.get(self, "masking_work_request_id") + + @masking_work_request_id.setter + def masking_work_request_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "masking_work_request_id", value) + + @property + @pulumi.getter(name="parallelDegree") + def parallel_degree(self) -> Optional[pulumi.Input[str]]: + """ + Indicates if parallel execution was enabled during the masking operation. + """ + return pulumi.get(self, "parallel_degree") + + @parallel_degree.setter + def parallel_degree(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "parallel_degree", value) + + @property + @pulumi.getter + def recompile(self) -> Optional[pulumi.Input[str]]: + """ + Indicates how invalid objects were recompiled post the masking operation. + """ + return pulumi.get(self, "recompile") + + @recompile.setter + def recompile(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "recompile", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of the masking report. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the target database masked. + """ + return pulumi.get(self, "target_id") + + @target_id.setter + def target_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_id", value) + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + """ + 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="timeMaskingFinished") + def time_masking_finished(self) -> Optional[pulumi.Input[str]]: + """ + The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + """ + return pulumi.get(self, "time_masking_finished") + + @time_masking_finished.setter + def time_masking_finished(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_masking_finished", value) + + @property + @pulumi.getter(name="timeMaskingStarted") + def time_masking_started(self) -> Optional[pulumi.Input[str]]: + """ + The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + """ + return pulumi.get(self, "time_masking_started") + + @time_masking_started.setter + def time_masking_started(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_masking_started", value) + + @property + @pulumi.getter(name="totalMaskedColumns") + def total_masked_columns(self) -> Optional[pulumi.Input[str]]: + """ + The total number of masked columns. + """ + return pulumi.get(self, "total_masked_columns") + + @total_masked_columns.setter + def total_masked_columns(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "total_masked_columns", value) + + @property + @pulumi.getter(name="totalMaskedObjects") + def total_masked_objects(self) -> Optional[pulumi.Input[str]]: + """ + The total number of unique objects (tables and editioning views) that contain the masked columns. + """ + return pulumi.get(self, "total_masked_objects") + + @total_masked_objects.setter + def total_masked_objects(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "total_masked_objects", value) + + @property + @pulumi.getter(name="totalMaskedSchemas") + def total_masked_schemas(self) -> Optional[pulumi.Input[str]]: + """ + The total number of unique schemas that contain the masked columns. + """ + return pulumi.get(self, "total_masked_schemas") + + @total_masked_schemas.setter + def total_masked_schemas(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "total_masked_schemas", value) + + @property + @pulumi.getter(name="totalMaskedSensitiveTypes") + def total_masked_sensitive_types(self) -> Optional[pulumi.Input[str]]: + """ + The total number of unique sensitive types associated with the masked columns. + """ + return pulumi.get(self, "total_masked_sensitive_types") + + @total_masked_sensitive_types.setter + def total_masked_sensitive_types(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "total_masked_sensitive_types", value) + + @property + @pulumi.getter(name="totalMaskedValues") + def total_masked_values(self) -> Optional[pulumi.Input[str]]: + """ + The total number of masked values. + """ + return pulumi.get(self, "total_masked_values") + + @total_masked_values.setter + def total_masked_values(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "total_masked_values", value) + + +class MaskingReportManagement(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + masking_policy_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides Masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. + + Gets the details of the specified masking report. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_masking_report_management = oci.data_safe.MaskingReportManagement("test_masking_report_management", + target_id=test_target_database["id"], + masking_policy_id=test_masking_policy["id"]) + ``` + + ## Import + + Import is not supported for this resource. + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the masking report. + :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy. + :param pulumi.Input[str] target_id: The OCID of the target database masked. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: Optional[MaskingReportManagementArgs] = None, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides Masking Report Management resource in Oracle Cloud Infrastructure Data Safe service. + + Gets the details of the specified masking report. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_masking_report_management = oci.data_safe.MaskingReportManagement("test_masking_report_management", + target_id=test_target_database["id"], + masking_policy_id=test_masking_policy["id"]) + ``` + + ## Import + + Import is not supported for this resource. + + :param str resource_name: The name of the resource. + :param MaskingReportManagementArgs 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(MaskingReportManagementArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __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, + masking_policy_id: Optional[pulumi.Input[str]] = None, + target_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__ = MaskingReportManagementArgs.__new__(MaskingReportManagementArgs) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["masking_policy_id"] = masking_policy_id + __props__.__dict__["target_id"] = target_id + __props__.__dict__["is_drop_temp_tables_enabled"] = None + __props__.__dict__["is_redo_logging_enabled"] = None + __props__.__dict__["is_refresh_stats_enabled"] = None + __props__.__dict__["masking_work_request_id"] = None + __props__.__dict__["parallel_degree"] = None + __props__.__dict__["recompile"] = None + __props__.__dict__["state"] = None + __props__.__dict__["time_created"] = None + __props__.__dict__["time_masking_finished"] = None + __props__.__dict__["time_masking_started"] = None + __props__.__dict__["total_masked_columns"] = None + __props__.__dict__["total_masked_objects"] = None + __props__.__dict__["total_masked_schemas"] = None + __props__.__dict__["total_masked_sensitive_types"] = None + __props__.__dict__["total_masked_values"] = None + super(MaskingReportManagement, __self__).__init__( + 'oci:DataSafe/maskingReportManagement:MaskingReportManagement', + 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, + 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, + masking_policy_id: Optional[pulumi.Input[str]] = None, + masking_work_request_id: Optional[pulumi.Input[str]] = None, + parallel_degree: Optional[pulumi.Input[str]] = None, + recompile: 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, + time_masking_finished: Optional[pulumi.Input[str]] = None, + time_masking_started: Optional[pulumi.Input[str]] = None, + total_masked_columns: Optional[pulumi.Input[str]] = None, + total_masked_objects: Optional[pulumi.Input[str]] = None, + total_masked_schemas: Optional[pulumi.Input[str]] = None, + total_masked_sensitive_types: Optional[pulumi.Input[str]] = None, + total_masked_values: Optional[pulumi.Input[str]] = None) -> 'MaskingReportManagement': + """ + Get an existing MaskingReportManagement 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: The OCID of the compartment that contains the masking report. + :param pulumi.Input[bool] is_drop_temp_tables_enabled: Indicates if the temporary tables created during the masking operation were dropped after masking. + :param pulumi.Input[bool] is_redo_logging_enabled: Indicates if redo logging was enabled during the masking operation. + :param pulumi.Input[bool] is_refresh_stats_enabled: Indicates if statistics gathering was enabled during the masking operation. + :param pulumi.Input[str] masking_policy_id: The OCID of the masking policy. + :param pulumi.Input[str] masking_work_request_id: The OCID of the masking work request that resulted in this masking report. + :param pulumi.Input[str] parallel_degree: Indicates if parallel execution was enabled during the masking operation. + :param pulumi.Input[str] recompile: Indicates how invalid objects were recompiled post the masking operation. + :param pulumi.Input[str] state: The current state of the masking report. + :param pulumi.Input[str] target_id: The OCID of the target database masked. + :param pulumi.Input[str] time_created: The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + :param pulumi.Input[str] time_masking_finished: The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + :param pulumi.Input[str] time_masking_started: The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + :param pulumi.Input[str] total_masked_columns: The total number of masked columns. + :param pulumi.Input[str] total_masked_objects: The total number of unique objects (tables and editioning views) that contain the masked columns. + :param pulumi.Input[str] total_masked_schemas: The total number of unique schemas that contain the masked columns. + :param pulumi.Input[str] total_masked_sensitive_types: The total number of unique sensitive types associated with the masked columns. + :param pulumi.Input[str] total_masked_values: The total number of masked values. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _MaskingReportManagementState.__new__(_MaskingReportManagementState) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["is_drop_temp_tables_enabled"] = is_drop_temp_tables_enabled + __props__.__dict__["is_redo_logging_enabled"] = is_redo_logging_enabled + __props__.__dict__["is_refresh_stats_enabled"] = is_refresh_stats_enabled + __props__.__dict__["masking_policy_id"] = masking_policy_id + __props__.__dict__["masking_work_request_id"] = masking_work_request_id + __props__.__dict__["parallel_degree"] = parallel_degree + __props__.__dict__["recompile"] = recompile + __props__.__dict__["state"] = state + __props__.__dict__["target_id"] = target_id + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_masking_finished"] = time_masking_finished + __props__.__dict__["time_masking_started"] = time_masking_started + __props__.__dict__["total_masked_columns"] = total_masked_columns + __props__.__dict__["total_masked_objects"] = total_masked_objects + __props__.__dict__["total_masked_schemas"] = total_masked_schemas + __props__.__dict__["total_masked_sensitive_types"] = total_masked_sensitive_types + __props__.__dict__["total_masked_values"] = total_masked_values + return MaskingReportManagement(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + The OCID of the compartment that contains the masking report. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="isDropTempTablesEnabled") + def is_drop_temp_tables_enabled(self) -> pulumi.Output[bool]: + """ + Indicates if the temporary tables created during the masking operation were dropped after masking. + """ + return pulumi.get(self, "is_drop_temp_tables_enabled") + + @property + @pulumi.getter(name="isRedoLoggingEnabled") + def is_redo_logging_enabled(self) -> pulumi.Output[bool]: + """ + Indicates if redo logging was enabled during the masking operation. + """ + return pulumi.get(self, "is_redo_logging_enabled") + + @property + @pulumi.getter(name="isRefreshStatsEnabled") + def is_refresh_stats_enabled(self) -> pulumi.Output[bool]: + """ + Indicates if statistics gathering was enabled during the masking operation. + """ + return pulumi.get(self, "is_refresh_stats_enabled") + + @property + @pulumi.getter(name="maskingPolicyId") + def masking_policy_id(self) -> pulumi.Output[str]: + """ + The OCID of the masking policy. + """ + return pulumi.get(self, "masking_policy_id") + + @property + @pulumi.getter(name="maskingWorkRequestId") + def masking_work_request_id(self) -> pulumi.Output[str]: + """ + The OCID of the masking work request that resulted in this masking report. + """ + return pulumi.get(self, "masking_work_request_id") + + @property + @pulumi.getter(name="parallelDegree") + def parallel_degree(self) -> pulumi.Output[str]: + """ + Indicates if parallel execution was enabled during the masking operation. + """ + return pulumi.get(self, "parallel_degree") + + @property + @pulumi.getter + def recompile(self) -> pulumi.Output[str]: + """ + Indicates how invalid objects were recompiled post the masking operation. + """ + return pulumi.get(self, "recompile") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The current state of the masking report. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> pulumi.Output[str]: + """ + The OCID of the target database masked. + """ + return pulumi.get(self, "target_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> pulumi.Output[str]: + """ + The date and time the masking report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeMaskingFinished") + def time_masking_finished(self) -> pulumi.Output[str]: + """ + The date and time data masking finished, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + """ + return pulumi.get(self, "time_masking_finished") + + @property + @pulumi.getter(name="timeMaskingStarted") + def time_masking_started(self) -> pulumi.Output[str]: + """ + The date and time data masking started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) + """ + return pulumi.get(self, "time_masking_started") + + @property + @pulumi.getter(name="totalMaskedColumns") + def total_masked_columns(self) -> pulumi.Output[str]: + """ + The total number of masked columns. + """ + return pulumi.get(self, "total_masked_columns") + + @property + @pulumi.getter(name="totalMaskedObjects") + def total_masked_objects(self) -> pulumi.Output[str]: + """ + The total number of unique objects (tables and editioning views) that contain the masked columns. + """ + return pulumi.get(self, "total_masked_objects") + + @property + @pulumi.getter(name="totalMaskedSchemas") + def total_masked_schemas(self) -> pulumi.Output[str]: + """ + The total number of unique schemas that contain the masked columns. + """ + return pulumi.get(self, "total_masked_schemas") + + @property + @pulumi.getter(name="totalMaskedSensitiveTypes") + def total_masked_sensitive_types(self) -> pulumi.Output[str]: + """ + The total number of unique sensitive types associated with the masked columns. + """ + return pulumi.get(self, "total_masked_sensitive_types") + + @property + @pulumi.getter(name="totalMaskedValues") + def total_masked_values(self) -> pulumi.Output[str]: + """ + The total number of masked values. + """ + return pulumi.get(self, "total_masked_values") + diff --git a/sdk/python/pulumi_oci/datasafe/outputs.py b/sdk/python/pulumi_oci/datasafe/outputs.py index c34b7119fe..51cc502e04 100644 --- a/sdk/python/pulumi_oci/datasafe/outputs.py +++ b/sdk/python/pulumi_oci/datasafe/outputs.py @@ -1689,6 +1689,12 @@ def __init__(__self__, *, status: Optional[str] = None, time_status_updated: Optional[str] = None, violation_log_auto_purge: Optional[str] = None): + """ + :param str exclude_job: (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + :param str status: (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + :param str time_status_updated: The most recent time when the firewall status is updated, in the format defined by RFC3339. + :param str violation_log_auto_purge: (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + """ if exclude_job is not None: pulumi.set(__self__, "exclude_job", exclude_job) if status is not None: @@ -1701,21 +1707,33 @@ def __init__(__self__, *, @property @pulumi.getter(name="excludeJob") def exclude_job(self) -> Optional[str]: + """ + (Updatable) Specifies whether the firewall should include or exclude the database internal job activities. + """ return pulumi.get(self, "exclude_job") @property @pulumi.getter def status(self) -> Optional[str]: + """ + (Updatable) Specifies whether the firewall is enabled or disabled on the target database. + """ return pulumi.get(self, "status") @property @pulumi.getter(name="timeStatusUpdated") def time_status_updated(self) -> Optional[str]: + """ + The most recent time when the firewall status is updated, in the format defined by RFC3339. + """ return pulumi.get(self, "time_status_updated") @property @pulumi.getter(name="violationLogAutoPurge") def violation_log_auto_purge(self) -> Optional[str]: + """ + (Updatable) Specifies whether Data Safe should automatically purge the violation logs from the database after collecting the violation logs and persisting on Data Safe. + """ return pulumi.get(self, "violation_log_auto_purge") diff --git a/sdk/python/pulumi_oci/datasafe/security_policy_deployment_management.py b/sdk/python/pulumi_oci/datasafe/security_policy_deployment_management.py index 35b254dddb..9ba81cf3f2 100644 --- a/sdk/python/pulumi_oci/datasafe/security_policy_deployment_management.py +++ b/sdk/python/pulumi_oci/datasafe/security_policy_deployment_management.py @@ -22,6 +22,12 @@ def __init__(__self__, *, target_id: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a SecurityPolicyDeploymentManagement resource. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment containing the security policy deployment. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy deployment. + :param pulumi.Input[str] display_name: (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. """ if compartment_id is not None: pulumi.set(__self__, "compartment_id", compartment_id) @@ -39,6 +45,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the compartment containing the security policy deployment. + """ return pulumi.get(self, "compartment_id") @compartment_id.setter @@ -48,6 +57,9 @@ def compartment_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @defined_tags.setter @@ -57,6 +69,9 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The description of the security policy deployment. + """ return pulumi.get(self, "description") @description.setter @@ -66,6 +81,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @display_name.setter @@ -75,6 +93,9 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @freeform_tags.setter @@ -84,6 +105,9 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @property @pulumi.getter(name="targetId") def target_id(self) -> Optional[pulumi.Input[str]]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @target_id.setter @@ -108,6 +132,18 @@ def __init__(__self__, *, time_updated: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering SecurityPolicyDeploymentManagement resources. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment containing the security policy deployment. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy deployment. + :param pulumi.Input[str] display_name: (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] lifecycle_details: Details about the current state of the security policy deployment in Data Safe. + :param pulumi.Input[str] security_policy_id: The OCID of the security policy corresponding to the security policy deployment. + :param pulumi.Input[str] state: The current state of the security policy deployment. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. + :param pulumi.Input[str] time_created: The time that the security policy deployment was created, in the format defined by RFC3339. + :param pulumi.Input[str] time_updated: The last date and time the security policy deployment was updated, in the format defined by RFC3339. """ if compartment_id is not None: pulumi.set(__self__, "compartment_id", compartment_id) @@ -137,6 +173,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the compartment containing the security policy deployment. + """ return pulumi.get(self, "compartment_id") @compartment_id.setter @@ -146,6 +185,9 @@ def compartment_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @defined_tags.setter @@ -155,6 +197,9 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The description of the security policy deployment. + """ return pulumi.get(self, "description") @description.setter @@ -164,6 +209,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @display_name.setter @@ -173,6 +221,9 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @freeform_tags.setter @@ -182,6 +233,9 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @property @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> Optional[pulumi.Input[str]]: + """ + Details about the current state of the security policy deployment in Data Safe. + """ return pulumi.get(self, "lifecycle_details") @lifecycle_details.setter @@ -191,6 +245,9 @@ def lifecycle_details(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="securityPolicyId") def security_policy_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the security policy corresponding to the security policy deployment. + """ return pulumi.get(self, "security_policy_id") @security_policy_id.setter @@ -200,6 +257,9 @@ def security_policy_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of the security policy deployment. + """ return pulumi.get(self, "state") @state.setter @@ -209,6 +269,9 @@ def state(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="systemTags") def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + 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"}` + """ return pulumi.get(self, "system_tags") @system_tags.setter @@ -218,6 +281,9 @@ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str @property @pulumi.getter(name="targetId") def target_id(self) -> Optional[pulumi.Input[str]]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @target_id.setter @@ -227,6 +293,9 @@ def target_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeCreated") def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The time that the security policy deployment was created, in the format defined by RFC3339. + """ return pulumi.get(self, "time_created") @time_created.setter @@ -236,6 +305,9 @@ def time_created(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeUpdated") def time_updated(self) -> Optional[pulumi.Input[str]]: + """ + The last date and time the security policy deployment was updated, in the format defined by RFC3339. + """ return pulumi.get(self, "time_updated") @time_updated.setter @@ -256,9 +328,41 @@ def __init__(__self__, target_id: Optional[pulumi.Input[str]] = None, __props__=None): """ - Create a SecurityPolicyDeploymentManagement resource with the given unique name, props, and options. + This resource provides the Security Policy Deployment Management resource in Oracle Cloud Infrastructure Data Safe service. + + Updates the security policy deployment. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_security_policy_deployment_management = oci.data_safe.SecurityPolicyDeploymentManagement("test_security_policy_deployment_management", + compartment_id=compartment_id, + target_id=test_target_database["id"], + defined_tags={ + "Operations.CostCenter": "42", + }, + description=security_policy_deployment_management_description, + display_name=security_policy_deployment_management_display_name, + freeform_tags={ + "Department": "Finance", + }) + ``` + + ## Import + + Import is not supported for this resource. + :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 of the compartment containing the security policy deployment. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy deployment. + :param pulumi.Input[str] display_name: (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. """ ... @overload @@ -267,7 +371,33 @@ def __init__(__self__, args: Optional[SecurityPolicyDeploymentManagementArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Create a SecurityPolicyDeploymentManagement resource with the given unique name, props, and options. + This resource provides the Security Policy Deployment Management resource in Oracle Cloud Infrastructure Data Safe service. + + Updates the security policy deployment. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_security_policy_deployment_management = oci.data_safe.SecurityPolicyDeploymentManagement("test_security_policy_deployment_management", + compartment_id=compartment_id, + target_id=test_target_database["id"], + defined_tags={ + "Operations.CostCenter": "42", + }, + description=security_policy_deployment_management_description, + display_name=security_policy_deployment_management_display_name, + freeform_tags={ + "Department": "Finance", + }) + ``` + + ## Import + + Import is not supported for this resource. + :param str resource_name: The name of the resource. :param SecurityPolicyDeploymentManagementArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. @@ -339,6 +469,18 @@ 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) The OCID of the compartment containing the security policy deployment. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy deployment. + :param pulumi.Input[str] display_name: (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] lifecycle_details: Details about the current state of the security policy deployment in Data Safe. + :param pulumi.Input[str] security_policy_id: The OCID of the security policy corresponding to the security policy deployment. + :param pulumi.Input[str] state: The current state of the security policy deployment. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. + :param pulumi.Input[str] time_created: The time that the security policy deployment was created, in the format defined by RFC3339. + :param pulumi.Input[str] time_updated: The last date and time the security policy deployment was updated, in the format defined by RFC3339. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -361,60 +503,96 @@ def get(resource_name: str, @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> pulumi.Output[str]: + """ + (Updatable) The OCID of the compartment containing the security policy deployment. + """ return pulumi.get(self, "compartment_id") @property @pulumi.getter(name="definedTags") def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @property @pulumi.getter def description(self) -> pulumi.Output[str]: + """ + (Updatable) The description of the security policy deployment. + """ return pulumi.get(self, "description") @property @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) The display name of the security policy deployment. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @property @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> pulumi.Output[str]: + """ + Details about the current state of the security policy deployment in Data Safe. + """ return pulumi.get(self, "lifecycle_details") @property @pulumi.getter(name="securityPolicyId") def security_policy_id(self) -> pulumi.Output[str]: + """ + The OCID of the security policy corresponding to the security policy deployment. + """ return pulumi.get(self, "security_policy_id") @property @pulumi.getter def state(self) -> pulumi.Output[str]: + """ + The current state of the security policy deployment. + """ return pulumi.get(self, "state") @property @pulumi.getter(name="systemTags") def system_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + 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"}` + """ return pulumi.get(self, "system_tags") @property @pulumi.getter(name="targetId") def target_id(self) -> pulumi.Output[str]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @property @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: + """ + The time that the security policy deployment was created, in the format defined by RFC3339. + """ return pulumi.get(self, "time_created") @property @pulumi.getter(name="timeUpdated") def time_updated(self) -> pulumi.Output[str]: + """ + The last date and time the security policy deployment was updated, in the format defined by RFC3339. + """ return pulumi.get(self, "time_updated") diff --git a/sdk/python/pulumi_oci/datasafe/security_policy_management.py b/sdk/python/pulumi_oci/datasafe/security_policy_management.py index 8afd93ea2a..68688415f9 100644 --- a/sdk/python/pulumi_oci/datasafe/security_policy_management.py +++ b/sdk/python/pulumi_oci/datasafe/security_policy_management.py @@ -22,6 +22,12 @@ def __init__(__self__, *, target_id: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a SecurityPolicyManagement resource. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment containing the security policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. """ if compartment_id is not None: pulumi.set(__self__, "compartment_id", compartment_id) @@ -39,6 +45,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the compartment containing the security policy. + """ return pulumi.get(self, "compartment_id") @compartment_id.setter @@ -48,6 +57,9 @@ def compartment_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @defined_tags.setter @@ -57,6 +69,9 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The description of the security policy. + """ return pulumi.get(self, "description") @description.setter @@ -66,6 +81,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @display_name.setter @@ -75,6 +93,9 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @freeform_tags.setter @@ -84,6 +105,9 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @property @pulumi.getter(name="targetId") def target_id(self) -> Optional[pulumi.Input[str]]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @target_id.setter @@ -107,6 +131,17 @@ def __init__(__self__, *, time_updated: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering SecurityPolicyManagement resources. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment containing the security policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] lifecycle_details: Details about the current state of the security policy in Data Safe. + :param pulumi.Input[str] state: The current state of the security policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. + :param pulumi.Input[str] time_created: The time that the security policy was created, in the format defined by RFC3339. + :param pulumi.Input[str] time_updated: The last date and time the security policy was updated, in the format defined by RFC3339. """ if compartment_id is not None: pulumi.set(__self__, "compartment_id", compartment_id) @@ -134,6 +169,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the compartment containing the security policy. + """ return pulumi.get(self, "compartment_id") @compartment_id.setter @@ -143,6 +181,9 @@ def compartment_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @defined_tags.setter @@ -152,6 +193,9 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The description of the security policy. + """ return pulumi.get(self, "description") @description.setter @@ -161,6 +205,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @display_name.setter @@ -170,6 +217,9 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @freeform_tags.setter @@ -179,6 +229,9 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @property @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> Optional[pulumi.Input[str]]: + """ + Details about the current state of the security policy in Data Safe. + """ return pulumi.get(self, "lifecycle_details") @lifecycle_details.setter @@ -188,6 +241,9 @@ def lifecycle_details(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of the security policy. + """ return pulumi.get(self, "state") @state.setter @@ -197,6 +253,9 @@ def state(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="systemTags") def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + 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"}` + """ return pulumi.get(self, "system_tags") @system_tags.setter @@ -206,6 +265,9 @@ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str @property @pulumi.getter(name="targetId") def target_id(self) -> Optional[pulumi.Input[str]]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @target_id.setter @@ -215,6 +277,9 @@ def target_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeCreated") def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The time that the security policy was created, in the format defined by RFC3339. + """ return pulumi.get(self, "time_created") @time_created.setter @@ -224,6 +289,9 @@ def time_created(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeUpdated") def time_updated(self) -> Optional[pulumi.Input[str]]: + """ + The last date and time the security policy was updated, in the format defined by RFC3339. + """ return pulumi.get(self, "time_updated") @time_updated.setter @@ -244,9 +312,41 @@ def __init__(__self__, target_id: Optional[pulumi.Input[str]] = None, __props__=None): """ - Create a SecurityPolicyManagement resource with the given unique name, props, and options. + This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service. + + Updates the security policy. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_security_policy_management = oci.data_safe.SecurityPolicyManagement("test_security_policy_management", + compartment_id=compartment_id, + target_id=test_target_database["id"], + defined_tags={ + "Operations.CostCenter": "42", + }, + description=security_policy_management_description, + display_name=security_policy_management_display_name, + freeform_tags={ + "Department": "Finance", + }) + ``` + + ## Import + + Import is not supported for this resource. + :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 of the compartment containing the security policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. """ ... @overload @@ -255,7 +355,33 @@ def __init__(__self__, args: Optional[SecurityPolicyManagementArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Create a SecurityPolicyManagement resource with the given unique name, props, and options. + This resource provides the Security Policy Management resource in Oracle Cloud Infrastructure Data Safe service. + + Updates the security policy. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_security_policy_management = oci.data_safe.SecurityPolicyManagement("test_security_policy_management", + compartment_id=compartment_id, + target_id=test_target_database["id"], + defined_tags={ + "Operations.CostCenter": "42", + }, + description=security_policy_management_description, + display_name=security_policy_management_display_name, + freeform_tags={ + "Department": "Finance", + }) + ``` + + ## Import + + Import is not supported for this resource. + :param str resource_name: The name of the resource. :param SecurityPolicyManagementArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. @@ -325,6 +451,17 @@ 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) The OCID of the compartment containing the security policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the security policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] lifecycle_details: Details about the current state of the security policy in Data Safe. + :param pulumi.Input[str] state: The current state of the security policy. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. + :param pulumi.Input[str] time_created: The time that the security policy was created, in the format defined by RFC3339. + :param pulumi.Input[str] time_updated: The last date and time the security policy was updated, in the format defined by RFC3339. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -346,55 +483,88 @@ def get(resource_name: str, @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> pulumi.Output[str]: + """ + (Updatable) The OCID of the compartment containing the security policy. + """ return pulumi.get(self, "compartment_id") @property @pulumi.getter(name="definedTags") def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @property @pulumi.getter def description(self) -> pulumi.Output[str]: + """ + (Updatable) The description of the security policy. + """ return pulumi.get(self, "description") @property @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) The display name of the security policy. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @property @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> pulumi.Output[str]: + """ + Details about the current state of the security policy in Data Safe. + """ return pulumi.get(self, "lifecycle_details") @property @pulumi.getter def state(self) -> pulumi.Output[str]: + """ + The current state of the security policy. + """ return pulumi.get(self, "state") @property @pulumi.getter(name="systemTags") def system_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + 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"}` + """ return pulumi.get(self, "system_tags") @property @pulumi.getter(name="targetId") def target_id(self) -> pulumi.Output[str]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @property @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: + """ + The time that the security policy was created, in the format defined by RFC3339. + """ return pulumi.get(self, "time_created") @property @pulumi.getter(name="timeUpdated") def time_updated(self) -> pulumi.Output[str]: + """ + The last date and time the security policy was updated, in the format defined by RFC3339. + """ return pulumi.get(self, "time_updated") diff --git a/sdk/python/pulumi_oci/datasafe/set_security_assessment_baseline_management.py b/sdk/python/pulumi_oci/datasafe/set_security_assessment_baseline_management.py new file mode 100644 index 0000000000..3425c58d23 --- /dev/null +++ b/sdk/python/pulumi_oci/datasafe/set_security_assessment_baseline_management.py @@ -0,0 +1,304 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['SetSecurityAssessmentBaselineManagementArgs', 'SetSecurityAssessmentBaselineManagement'] + +@pulumi.input_type +class SetSecurityAssessmentBaselineManagementArgs: + def __init__(__self__, *, + compartment_id: pulumi.Input[str], + target_id: pulumi.Input[str]): + """ + The set of arguments for constructing a SetSecurityAssessmentBaselineManagement resource. + :param pulumi.Input[str] compartment_id: The compartment OCID of the target. + + + ** IMPORTANT ** + 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] target_id: The target OCID for which SA needs to be set as baseline. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "target_id", target_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + The compartment OCID of the target. + + + ** IMPORTANT ** + 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, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> pulumi.Input[str]: + """ + The target OCID for which SA needs to be set as baseline. + """ + return pulumi.get(self, "target_id") + + @target_id.setter + def target_id(self, value: pulumi.Input[str]): + pulumi.set(self, "target_id", value) + + +@pulumi.input_type +class _SetSecurityAssessmentBaselineManagementState: + def __init__(__self__, *, + assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + security_assessment_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering SetSecurityAssessmentBaselineManagement resources. + :param pulumi.Input[str] compartment_id: The compartment OCID of the target. + + + ** IMPORTANT ** + 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] target_id: The target OCID for which SA needs to be set as baseline. + """ + if assessment_ids is not None: + pulumi.set(__self__, "assessment_ids", assessment_ids) + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if security_assessment_id is not None: + pulumi.set(__self__, "security_assessment_id", security_assessment_id) + if target_id is not None: + pulumi.set(__self__, "target_id", target_id) + + @property + @pulumi.getter(name="assessmentIds") + def assessment_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "assessment_ids") + + @assessment_ids.setter + def assessment_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "assessment_ids", value) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + The compartment OCID of the target. + + + ** IMPORTANT ** + 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, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="securityAssessmentId") + def security_assessment_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "security_assessment_id") + + @security_assessment_id.setter + def security_assessment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "security_assessment_id", value) + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> Optional[pulumi.Input[str]]: + """ + The target OCID for which SA needs to be set as baseline. + """ + return pulumi.get(self, "target_id") + + @target_id.setter + def target_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_id", value) + + +class SetSecurityAssessmentBaselineManagement(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + + Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_set_security_assessment_baseline_management = oci.data_safe.SetSecurityAssessmentBaselineManagement("test_set_security_assessment_baseline_management", + target_id=test_target_database["id"], + compartment_id=comaprtment_id) + ``` + + ## Import + + SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: The compartment OCID of the target. + + + ** IMPORTANT ** + 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] target_id: The target OCID for which SA needs to be set as baseline. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SetSecurityAssessmentBaselineManagementArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + + Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_set_security_assessment_baseline_management = oci.data_safe.SetSecurityAssessmentBaselineManagement("test_set_security_assessment_baseline_management", + target_id=test_target_database["id"], + compartment_id=comaprtment_id) + ``` + + ## Import + + SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id" + ``` + + :param str resource_name: The name of the resource. + :param SetSecurityAssessmentBaselineManagementArgs 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(SetSecurityAssessmentBaselineManagementArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __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, + target_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__ = SetSecurityAssessmentBaselineManagementArgs.__new__(SetSecurityAssessmentBaselineManagementArgs) + + if compartment_id is None and not opts.urn: + raise TypeError("Missing required property 'compartment_id'") + __props__.__dict__["compartment_id"] = compartment_id + if target_id is None and not opts.urn: + raise TypeError("Missing required property 'target_id'") + __props__.__dict__["target_id"] = target_id + __props__.__dict__["assessment_ids"] = None + __props__.__dict__["security_assessment_id"] = None + super(SetSecurityAssessmentBaselineManagement, __self__).__init__( + 'oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + security_assessment_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None) -> 'SetSecurityAssessmentBaselineManagement': + """ + Get an existing SetSecurityAssessmentBaselineManagement 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: The compartment OCID of the target. + + + ** IMPORTANT ** + 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] target_id: The target OCID for which SA needs to be set as baseline. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _SetSecurityAssessmentBaselineManagementState.__new__(_SetSecurityAssessmentBaselineManagementState) + + __props__.__dict__["assessment_ids"] = assessment_ids + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["security_assessment_id"] = security_assessment_id + __props__.__dict__["target_id"] = target_id + return SetSecurityAssessmentBaselineManagement(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="assessmentIds") + def assessment_ids(self) -> pulumi.Output[Sequence[str]]: + return pulumi.get(self, "assessment_ids") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + The compartment OCID of the target. + + + ** IMPORTANT ** + 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, "compartment_id") + + @property + @pulumi.getter(name="securityAssessmentId") + def security_assessment_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "security_assessment_id") + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> pulumi.Output[str]: + """ + The target OCID for which SA needs to be set as baseline. + """ + return pulumi.get(self, "target_id") + diff --git a/sdk/python/pulumi_oci/datasafe/set_user_assessment_baseline_management.py b/sdk/python/pulumi_oci/datasafe/set_user_assessment_baseline_management.py new file mode 100644 index 0000000000..a9d24e100a --- /dev/null +++ b/sdk/python/pulumi_oci/datasafe/set_user_assessment_baseline_management.py @@ -0,0 +1,304 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['SetUserAssessmentBaselineManagementArgs', 'SetUserAssessmentBaselineManagement'] + +@pulumi.input_type +class SetUserAssessmentBaselineManagementArgs: + def __init__(__self__, *, + compartment_id: pulumi.Input[str], + target_id: pulumi.Input[str]): + """ + The set of arguments for constructing a SetUserAssessmentBaselineManagement resource. + :param pulumi.Input[str] compartment_id: The compartment OCID of the target. + + + ** IMPORTANT ** + 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] target_id: The target OCID for which UA needs to be set as baseline. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "target_id", target_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + The compartment OCID of the target. + + + ** IMPORTANT ** + 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, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> pulumi.Input[str]: + """ + The target OCID for which UA needs to be set as baseline. + """ + return pulumi.get(self, "target_id") + + @target_id.setter + def target_id(self, value: pulumi.Input[str]): + pulumi.set(self, "target_id", value) + + +@pulumi.input_type +class _SetUserAssessmentBaselineManagementState: + def __init__(__self__, *, + assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + user_assessment_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering SetUserAssessmentBaselineManagement resources. + :param pulumi.Input[str] compartment_id: The compartment OCID of the target. + + + ** IMPORTANT ** + 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] target_id: The target OCID for which UA needs to be set as baseline. + """ + if assessment_ids is not None: + pulumi.set(__self__, "assessment_ids", assessment_ids) + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if target_id is not None: + pulumi.set(__self__, "target_id", target_id) + if user_assessment_id is not None: + pulumi.set(__self__, "user_assessment_id", user_assessment_id) + + @property + @pulumi.getter(name="assessmentIds") + def assessment_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + return pulumi.get(self, "assessment_ids") + + @assessment_ids.setter + def assessment_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "assessment_ids", value) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + The compartment OCID of the target. + + + ** IMPORTANT ** + 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, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> Optional[pulumi.Input[str]]: + """ + The target OCID for which UA needs to be set as baseline. + """ + return pulumi.get(self, "target_id") + + @target_id.setter + def target_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "target_id", value) + + @property + @pulumi.getter(name="userAssessmentId") + def user_assessment_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "user_assessment_id") + + @user_assessment_id.setter + def user_assessment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_assessment_id", value) + + +class SetUserAssessmentBaselineManagement(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Set User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + + Sets the saved user assessment as the baseline in the compartment where the the specified assessment resides. The user assessment needs to be of type 'SAVED'. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_set_user_assessment_baseline_management = oci.data_safe.SetUserAssessmentBaselineManagement("test_set_user_assessment_baseline_management", + target_id=test_target_database["id"], + compartment_id=comaprtment_id) + ``` + + ## Import + + SetUserAssessmentBaselineManagement can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement test_set_user_assessment_baseline_management "id" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: The compartment OCID of the target. + + + ** IMPORTANT ** + 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] target_id: The target OCID for which UA needs to be set as baseline. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: SetUserAssessmentBaselineManagementArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Set User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + + Sets the saved user assessment as the baseline in the compartment where the the specified assessment resides. The user assessment needs to be of type 'SAVED'. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_set_user_assessment_baseline_management = oci.data_safe.SetUserAssessmentBaselineManagement("test_set_user_assessment_baseline_management", + target_id=test_target_database["id"], + compartment_id=comaprtment_id) + ``` + + ## Import + + SetUserAssessmentBaselineManagement can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement test_set_user_assessment_baseline_management "id" + ``` + + :param str resource_name: The name of the resource. + :param SetUserAssessmentBaselineManagementArgs 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(SetUserAssessmentBaselineManagementArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __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, + target_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__ = SetUserAssessmentBaselineManagementArgs.__new__(SetUserAssessmentBaselineManagementArgs) + + if compartment_id is None and not opts.urn: + raise TypeError("Missing required property 'compartment_id'") + __props__.__dict__["compartment_id"] = compartment_id + if target_id is None and not opts.urn: + raise TypeError("Missing required property 'target_id'") + __props__.__dict__["target_id"] = target_id + __props__.__dict__["assessment_ids"] = None + __props__.__dict__["user_assessment_id"] = None + super(SetUserAssessmentBaselineManagement, __self__).__init__( + 'oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + user_assessment_id: Optional[pulumi.Input[str]] = None) -> 'SetUserAssessmentBaselineManagement': + """ + Get an existing SetUserAssessmentBaselineManagement 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: The compartment OCID of the target. + + + ** IMPORTANT ** + 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] target_id: The target OCID for which UA needs to be set as baseline. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _SetUserAssessmentBaselineManagementState.__new__(_SetUserAssessmentBaselineManagementState) + + __props__.__dict__["assessment_ids"] = assessment_ids + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["target_id"] = target_id + __props__.__dict__["user_assessment_id"] = user_assessment_id + return SetUserAssessmentBaselineManagement(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="assessmentIds") + def assessment_ids(self) -> pulumi.Output[Sequence[str]]: + return pulumi.get(self, "assessment_ids") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + The compartment OCID of the target. + + + ** IMPORTANT ** + 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, "compartment_id") + + @property + @pulumi.getter(name="targetId") + def target_id(self) -> pulumi.Output[str]: + """ + The target OCID for which UA needs to be set as baseline. + """ + return pulumi.get(self, "target_id") + + @property + @pulumi.getter(name="userAssessmentId") + def user_assessment_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "user_assessment_id") + diff --git a/sdk/python/pulumi_oci/datasafe/sql_firewall_policy_management.py b/sdk/python/pulumi_oci/datasafe/sql_firewall_policy_management.py index fc34d91229..56f38de48e 100644 --- a/sdk/python/pulumi_oci/datasafe/sql_firewall_policy_management.py +++ b/sdk/python/pulumi_oci/datasafe/sql_firewall_policy_management.py @@ -32,6 +32,26 @@ def __init__(__self__, *, violation_audit: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a SqlFirewallPolicyManagement resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_ips: (Updatable) List of allowed ip addresses for the SQL firewall policy. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_os_usernames: (Updatable) List of allowed operating system user names for the SQL firewall policy. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_programs: (Updatable) List of allowed client programs for the SQL firewall policy. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment containing the SQL firewall policy. + :param pulumi.Input[str] db_user_name: The database user name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the SQL firewall policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + :param pulumi.Input[str] enforcement_scope: (Updatable) Specifies the SQL firewall policy enforcement option. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] sql_firewall_policy_id: The OCID of the SQL firewall policy resource. + :param pulumi.Input[str] state: The current state of the SQL firewall policy. + :param pulumi.Input[str] status: (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + :param pulumi.Input[str] target_id: Unique target identifier. + :param pulumi.Input[str] violation_action: (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + :param pulumi.Input[str] violation_audit: (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + + + ** IMPORTANT ** + Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values """ if allowed_client_ips is not None: pulumi.set(__self__, "allowed_client_ips", allowed_client_ips) @@ -69,6 +89,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="allowedClientIps") def allowed_client_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) List of allowed ip addresses for the SQL firewall policy. + """ return pulumi.get(self, "allowed_client_ips") @allowed_client_ips.setter @@ -78,6 +101,9 @@ def allowed_client_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ @property @pulumi.getter(name="allowedClientOsUsernames") def allowed_client_os_usernames(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) List of allowed operating system user names for the SQL firewall policy. + """ return pulumi.get(self, "allowed_client_os_usernames") @allowed_client_os_usernames.setter @@ -87,6 +113,9 @@ def allowed_client_os_usernames(self, value: Optional[pulumi.Input[Sequence[pulu @property @pulumi.getter(name="allowedClientPrograms") def allowed_client_programs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) List of allowed client programs for the SQL firewall policy. + """ return pulumi.get(self, "allowed_client_programs") @allowed_client_programs.setter @@ -96,6 +125,9 @@ def allowed_client_programs(self, value: Optional[pulumi.Input[Sequence[pulumi.I @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the compartment containing the SQL firewall policy. + """ return pulumi.get(self, "compartment_id") @compartment_id.setter @@ -105,6 +137,9 @@ def compartment_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="dbUserName") def db_user_name(self) -> Optional[pulumi.Input[str]]: + """ + The database user name. + """ return pulumi.get(self, "db_user_name") @db_user_name.setter @@ -114,6 +149,9 @@ def db_user_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @defined_tags.setter @@ -123,6 +161,9 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The description of the SQL firewall policy. + """ return pulumi.get(self, "description") @description.setter @@ -132,6 +173,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @display_name.setter @@ -141,6 +185,9 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="enforcementScope") def enforcement_scope(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies the SQL firewall policy enforcement option. + """ return pulumi.get(self, "enforcement_scope") @enforcement_scope.setter @@ -150,6 +197,9 @@ def enforcement_scope(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @freeform_tags.setter @@ -159,6 +209,9 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @property @pulumi.getter(name="sqlFirewallPolicyId") def sql_firewall_policy_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the SQL firewall policy resource. + """ return pulumi.get(self, "sql_firewall_policy_id") @sql_firewall_policy_id.setter @@ -168,6 +221,9 @@ def sql_firewall_policy_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of the SQL firewall policy. + """ return pulumi.get(self, "state") @state.setter @@ -177,6 +233,9 @@ def state(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def status(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + """ return pulumi.get(self, "status") @status.setter @@ -186,6 +245,9 @@ def status(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="targetId") def target_id(self) -> Optional[pulumi.Input[str]]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @target_id.setter @@ -195,6 +257,9 @@ def target_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="violationAction") def violation_action(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + """ return pulumi.get(self, "violation_action") @violation_action.setter @@ -204,6 +269,13 @@ def violation_action(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="violationAudit") def violation_audit(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + + + ** IMPORTANT ** + 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, "violation_audit") @violation_audit.setter @@ -238,6 +310,32 @@ def __init__(__self__, *, violation_audit: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering SqlFirewallPolicyManagement resources. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_ips: (Updatable) List of allowed ip addresses for the SQL firewall policy. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_os_usernames: (Updatable) List of allowed operating system user names for the SQL firewall policy. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_programs: (Updatable) List of allowed client programs for the SQL firewall policy. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment containing the SQL firewall policy. + :param pulumi.Input[str] db_user_name: The database user name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the SQL firewall policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + :param pulumi.Input[str] enforcement_scope: (Updatable) Specifies the SQL firewall policy enforcement option. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] lifecycle_details: Details about the current state of the SQL firewall policy in Data Safe. + :param pulumi.Input[str] security_policy_id: The OCID of the security policy corresponding to the SQL firewall policy. + :param pulumi.Input[str] sql_firewall_policy_id: The OCID of the SQL firewall policy resource. + :param pulumi.Input[str] sql_level: Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + :param pulumi.Input[str] state: The current state of the SQL firewall policy. + :param pulumi.Input[str] status: (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. + :param pulumi.Input[str] time_created: The time that the SQL firewall policy was created, in the format defined by RFC3339. + :param pulumi.Input[str] time_updated: The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + :param pulumi.Input[str] violation_action: (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + :param pulumi.Input[str] violation_audit: (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + + + ** IMPORTANT ** + Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values """ if allowed_client_ips is not None: pulumi.set(__self__, "allowed_client_ips", allowed_client_ips) @@ -287,6 +385,9 @@ def __init__(__self__, *, @property @pulumi.getter(name="allowedClientIps") def allowed_client_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) List of allowed ip addresses for the SQL firewall policy. + """ return pulumi.get(self, "allowed_client_ips") @allowed_client_ips.setter @@ -296,6 +397,9 @@ def allowed_client_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[ @property @pulumi.getter(name="allowedClientOsUsernames") def allowed_client_os_usernames(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) List of allowed operating system user names for the SQL firewall policy. + """ return pulumi.get(self, "allowed_client_os_usernames") @allowed_client_os_usernames.setter @@ -305,6 +409,9 @@ def allowed_client_os_usernames(self, value: Optional[pulumi.Input[Sequence[pulu @property @pulumi.getter(name="allowedClientPrograms") def allowed_client_programs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) List of allowed client programs for the SQL firewall policy. + """ return pulumi.get(self, "allowed_client_programs") @allowed_client_programs.setter @@ -314,6 +421,9 @@ def allowed_client_programs(self, value: Optional[pulumi.Input[Sequence[pulumi.I @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the compartment containing the SQL firewall policy. + """ return pulumi.get(self, "compartment_id") @compartment_id.setter @@ -323,6 +433,9 @@ def compartment_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="dbUserName") def db_user_name(self) -> Optional[pulumi.Input[str]]: + """ + The database user name. + """ return pulumi.get(self, "db_user_name") @db_user_name.setter @@ -332,6 +445,9 @@ def db_user_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @defined_tags.setter @@ -341,6 +457,9 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st @property @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The description of the SQL firewall policy. + """ return pulumi.get(self, "description") @description.setter @@ -350,6 +469,9 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @display_name.setter @@ -359,6 +481,9 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="enforcementScope") def enforcement_scope(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies the SQL firewall policy enforcement option. + """ return pulumi.get(self, "enforcement_scope") @enforcement_scope.setter @@ -368,6 +493,9 @@ def enforcement_scope(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @freeform_tags.setter @@ -377,6 +505,9 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @property @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> Optional[pulumi.Input[str]]: + """ + Details about the current state of the SQL firewall policy in Data Safe. + """ return pulumi.get(self, "lifecycle_details") @lifecycle_details.setter @@ -386,6 +517,9 @@ def lifecycle_details(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="securityPolicyId") def security_policy_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the security policy corresponding to the SQL firewall policy. + """ return pulumi.get(self, "security_policy_id") @security_policy_id.setter @@ -395,6 +529,9 @@ def security_policy_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="sqlFirewallPolicyId") def sql_firewall_policy_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the SQL firewall policy resource. + """ return pulumi.get(self, "sql_firewall_policy_id") @sql_firewall_policy_id.setter @@ -404,6 +541,9 @@ def sql_firewall_policy_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="sqlLevel") def sql_level(self) -> Optional[pulumi.Input[str]]: + """ + Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + """ return pulumi.get(self, "sql_level") @sql_level.setter @@ -413,6 +553,9 @@ def sql_level(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of the SQL firewall policy. + """ return pulumi.get(self, "state") @state.setter @@ -422,6 +565,9 @@ def state(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def status(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + """ return pulumi.get(self, "status") @status.setter @@ -431,6 +577,9 @@ def status(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="systemTags") def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + 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"}` + """ return pulumi.get(self, "system_tags") @system_tags.setter @@ -440,6 +589,9 @@ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str @property @pulumi.getter(name="targetId") def target_id(self) -> Optional[pulumi.Input[str]]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @target_id.setter @@ -449,6 +601,9 @@ def target_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeCreated") def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The time that the SQL firewall policy was created, in the format defined by RFC3339. + """ return pulumi.get(self, "time_created") @time_created.setter @@ -458,6 +613,9 @@ def time_created(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeUpdated") def time_updated(self) -> Optional[pulumi.Input[str]]: + """ + The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + """ return pulumi.get(self, "time_updated") @time_updated.setter @@ -467,6 +625,9 @@ def time_updated(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="violationAction") def violation_action(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + """ return pulumi.get(self, "violation_action") @violation_action.setter @@ -476,6 +637,13 @@ def violation_action(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="violationAudit") def violation_audit(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + + + ** IMPORTANT ** + 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, "violation_audit") @violation_audit.setter @@ -506,9 +674,63 @@ def __init__(__self__, violation_audit: Optional[pulumi.Input[str]] = None, __props__=None): """ - Create a SqlFirewallPolicyManagement resource with the given unique name, props, and options. + This resource provides the Sql Firewall Policy Management resource in Oracle Cloud Infrastructure Data Safe service. + + Updates the SQL firewall policy. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_sql_firewall_policy_management = oci.data_safe.SqlFirewallPolicyManagement("test_sql_firewall_policy_management", + compartment_id=compartment_id, + target_id=test_target_database["id"], + db_user_name=test_user["name"], + allowed_client_ips=sql_firewall_policy_management_allowed_client_ips, + allowed_client_os_usernames=sql_firewall_policy_management_allowed_client_os_usernames, + allowed_client_programs=sql_firewall_policy_management_allowed_client_programs, + defined_tags={ + "Operations.CostCenter": "42", + }, + description=sql_firewall_policy_management_description, + display_name=sql_firewall_policy_management_display_name, + enforcement_scope=sql_firewall_policy_management_enforcement_scope, + freeform_tags={ + "Department": "Finance", + }, + status=sql_firewall_policy_management_status, + violation_action=sql_firewall_policy_management_violation_action, + violation_audit=sql_firewall_policy_management_violation_audit) + ``` + + ## Import + + Import is not supported for this resource. + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_ips: (Updatable) List of allowed ip addresses for the SQL firewall policy. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_os_usernames: (Updatable) List of allowed operating system user names for the SQL firewall policy. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_programs: (Updatable) List of allowed client programs for the SQL firewall policy. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment containing the SQL firewall policy. + :param pulumi.Input[str] db_user_name: The database user name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the SQL firewall policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + :param pulumi.Input[str] enforcement_scope: (Updatable) Specifies the SQL firewall policy enforcement option. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] sql_firewall_policy_id: The OCID of the SQL firewall policy resource. + :param pulumi.Input[str] state: The current state of the SQL firewall policy. + :param pulumi.Input[str] status: (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + :param pulumi.Input[str] target_id: Unique target identifier. + :param pulumi.Input[str] violation_action: (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + :param pulumi.Input[str] violation_audit: (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + + + ** IMPORTANT ** + 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 @@ -517,7 +739,41 @@ def __init__(__self__, args: Optional[SqlFirewallPolicyManagementArgs] = None, opts: Optional[pulumi.ResourceOptions] = None): """ - Create a SqlFirewallPolicyManagement resource with the given unique name, props, and options. + This resource provides the Sql Firewall Policy Management resource in Oracle Cloud Infrastructure Data Safe service. + + Updates the SQL firewall policy. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_sql_firewall_policy_management = oci.data_safe.SqlFirewallPolicyManagement("test_sql_firewall_policy_management", + compartment_id=compartment_id, + target_id=test_target_database["id"], + db_user_name=test_user["name"], + allowed_client_ips=sql_firewall_policy_management_allowed_client_ips, + allowed_client_os_usernames=sql_firewall_policy_management_allowed_client_os_usernames, + allowed_client_programs=sql_firewall_policy_management_allowed_client_programs, + defined_tags={ + "Operations.CostCenter": "42", + }, + description=sql_firewall_policy_management_description, + display_name=sql_firewall_policy_management_display_name, + enforcement_scope=sql_firewall_policy_management_enforcement_scope, + freeform_tags={ + "Department": "Finance", + }, + status=sql_firewall_policy_management_status, + violation_action=sql_firewall_policy_management_violation_action, + violation_audit=sql_firewall_policy_management_violation_audit) + ``` + + ## Import + + Import is not supported for this resource. + :param str resource_name: The name of the resource. :param SqlFirewallPolicyManagementArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. @@ -619,6 +875,32 @@ 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]]] allowed_client_ips: (Updatable) List of allowed ip addresses for the SQL firewall policy. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_os_usernames: (Updatable) List of allowed operating system user names for the SQL firewall policy. + :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_client_programs: (Updatable) List of allowed client programs for the SQL firewall policy. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment containing the SQL firewall policy. + :param pulumi.Input[str] db_user_name: The database user name. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) The description of the SQL firewall policy. + :param pulumi.Input[str] display_name: (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + :param pulumi.Input[str] enforcement_scope: (Updatable) Specifies the SQL firewall policy enforcement option. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] lifecycle_details: Details about the current state of the SQL firewall policy in Data Safe. + :param pulumi.Input[str] security_policy_id: The OCID of the security policy corresponding to the SQL firewall policy. + :param pulumi.Input[str] sql_firewall_policy_id: The OCID of the SQL firewall policy resource. + :param pulumi.Input[str] sql_level: Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + :param pulumi.Input[str] state: The current state of the SQL firewall policy. + :param pulumi.Input[str] status: (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] target_id: Unique target identifier. + :param pulumi.Input[str] time_created: The time that the SQL firewall policy was created, in the format defined by RFC3339. + :param pulumi.Input[str] time_updated: The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + :param pulumi.Input[str] violation_action: (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + :param pulumi.Input[str] violation_audit: (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + + + ** IMPORTANT ** + Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -651,110 +933,180 @@ def get(resource_name: str, @property @pulumi.getter(name="allowedClientIps") def allowed_client_ips(self) -> pulumi.Output[Sequence[str]]: + """ + (Updatable) List of allowed ip addresses for the SQL firewall policy. + """ return pulumi.get(self, "allowed_client_ips") @property @pulumi.getter(name="allowedClientOsUsernames") def allowed_client_os_usernames(self) -> pulumi.Output[Sequence[str]]: + """ + (Updatable) List of allowed operating system user names for the SQL firewall policy. + """ return pulumi.get(self, "allowed_client_os_usernames") @property @pulumi.getter(name="allowedClientPrograms") def allowed_client_programs(self) -> pulumi.Output[Sequence[str]]: + """ + (Updatable) List of allowed client programs for the SQL firewall policy. + """ return pulumi.get(self, "allowed_client_programs") @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> pulumi.Output[str]: + """ + (Updatable) The OCID of the compartment containing the SQL firewall policy. + """ return pulumi.get(self, "compartment_id") @property @pulumi.getter(name="dbUserName") def db_user_name(self) -> pulumi.Output[str]: + """ + The database user name. + """ return pulumi.get(self, "db_user_name") @property @pulumi.getter(name="definedTags") def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ return pulumi.get(self, "defined_tags") @property @pulumi.getter def description(self) -> pulumi.Output[str]: + """ + (Updatable) The description of the SQL firewall policy. + """ return pulumi.get(self, "description") @property @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) The display name of the SQL firewall policy. The name does not have to be unique, and it is changeable. + """ return pulumi.get(self, "display_name") @property @pulumi.getter(name="enforcementScope") def enforcement_scope(self) -> pulumi.Output[str]: + """ + (Updatable) Specifies the SQL firewall policy enforcement option. + """ return pulumi.get(self, "enforcement_scope") @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ return pulumi.get(self, "freeform_tags") @property @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> pulumi.Output[str]: + """ + Details about the current state of the SQL firewall policy in Data Safe. + """ return pulumi.get(self, "lifecycle_details") @property @pulumi.getter(name="securityPolicyId") def security_policy_id(self) -> pulumi.Output[str]: + """ + The OCID of the security policy corresponding to the SQL firewall policy. + """ return pulumi.get(self, "security_policy_id") @property @pulumi.getter(name="sqlFirewallPolicyId") def sql_firewall_policy_id(self) -> pulumi.Output[str]: + """ + The OCID of the SQL firewall policy resource. + """ return pulumi.get(self, "sql_firewall_policy_id") @property @pulumi.getter(name="sqlLevel") def sql_level(self) -> pulumi.Output[str]: + """ + Specifies the level of SQL included for this SQL firewall policy. USER_ISSUED_SQL - User issued SQL statements only. ALL_SQL - Includes all SQL statements including SQL statement issued inside PL/SQL units. + """ return pulumi.get(self, "sql_level") @property @pulumi.getter def state(self) -> pulumi.Output[str]: + """ + The current state of the SQL firewall policy. + """ return pulumi.get(self, "state") @property @pulumi.getter def status(self) -> pulumi.Output[str]: + """ + (Updatable) Specifies whether the SQL firewall policy is enabled or disabled. + """ return pulumi.get(self, "status") @property @pulumi.getter(name="systemTags") def system_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + 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"}` + """ return pulumi.get(self, "system_tags") @property @pulumi.getter(name="targetId") def target_id(self) -> pulumi.Output[str]: + """ + Unique target identifier. + """ return pulumi.get(self, "target_id") @property @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: + """ + The time that the SQL firewall policy was created, in the format defined by RFC3339. + """ return pulumi.get(self, "time_created") @property @pulumi.getter(name="timeUpdated") def time_updated(self) -> pulumi.Output[str]: + """ + The date and time the SQL firewall policy was last updated, in the format defined by RFC3339. + """ return pulumi.get(self, "time_updated") @property @pulumi.getter(name="violationAction") def violation_action(self) -> pulumi.Output[str]: + """ + (Updatable) Specifies the SQL firewall action based on detection of SQL firewall violations. + """ return pulumi.get(self, "violation_action") @property @pulumi.getter(name="violationAudit") def violation_audit(self) -> pulumi.Output[str]: + """ + (Updatable) Specifies whether a unified audit policy should be enabled for auditing the SQL firewall policy violations. + + + ** IMPORTANT ** + 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, "violation_audit") diff --git a/sdk/python/pulumi_oci/datasafe/unset_security_assessment_baseline_management.py b/sdk/python/pulumi_oci/datasafe/unset_security_assessment_baseline_management.py new file mode 100644 index 0000000000..75ab05b87c --- /dev/null +++ b/sdk/python/pulumi_oci/datasafe/unset_security_assessment_baseline_management.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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['UnsetSecurityAssessmentBaselineManagementArgs', 'UnsetSecurityAssessmentBaselineManagement'] + +@pulumi.input_type +class UnsetSecurityAssessmentBaselineManagementArgs: + def __init__(__self__, *, + compartment_id: pulumi.Input[str], + security_assessment_id: pulumi.Input[str]): + """ + The set of arguments for constructing a UnsetSecurityAssessmentBaselineManagement resource. + :param pulumi.Input[str] compartment_id: The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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] security_assessment_id: The OCID of the security assessment. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "security_assessment_id", security_assessment_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="securityAssessmentId") + def security_assessment_id(self) -> pulumi.Input[str]: + """ + The OCID of the security assessment. + """ + return pulumi.get(self, "security_assessment_id") + + @security_assessment_id.setter + def security_assessment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "security_assessment_id", value) + + +@pulumi.input_type +class _UnsetSecurityAssessmentBaselineManagementState: + def __init__(__self__, *, + compartment_id: Optional[pulumi.Input[str]] = None, + security_assessment_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering UnsetSecurityAssessmentBaselineManagement resources. + :param pulumi.Input[str] compartment_id: The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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] security_assessment_id: The OCID of the security assessment. + """ + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if security_assessment_id is not None: + pulumi.set(__self__, "security_assessment_id", security_assessment_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="securityAssessmentId") + def security_assessment_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the security assessment. + """ + return pulumi.get(self, "security_assessment_id") + + @security_assessment_id.setter + def security_assessment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "security_assessment_id", value) + + +class UnsetSecurityAssessmentBaselineManagement(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + security_assessment_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Unset Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + + Removes the baseline setting for the saved security assessment as the baseline in the compartment where the the specified assessment resides. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_unset_security_assessment_baseline_management = oci.data_safe.UnsetSecurityAssessmentBaselineManagement("test_unset_security_assessment_baseline_management", + security_assessment_id=test_set_security_assessment_baseline_management["securityAssessmentId"], + compartment_id=comaprtment_id) + ``` + + ## Import + + UnsetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement test_unset_security_assessment_baseline_management "id" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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] security_assessment_id: The OCID of the security assessment. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: UnsetSecurityAssessmentBaselineManagementArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Unset Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + + Removes the baseline setting for the saved security assessment as the baseline in the compartment where the the specified assessment resides. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_unset_security_assessment_baseline_management = oci.data_safe.UnsetSecurityAssessmentBaselineManagement("test_unset_security_assessment_baseline_management", + security_assessment_id=test_set_security_assessment_baseline_management["securityAssessmentId"], + compartment_id=comaprtment_id) + ``` + + ## Import + + UnsetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement test_unset_security_assessment_baseline_management "id" + ``` + + :param str resource_name: The name of the resource. + :param UnsetSecurityAssessmentBaselineManagementArgs 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(UnsetSecurityAssessmentBaselineManagementArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __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, + security_assessment_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__ = UnsetSecurityAssessmentBaselineManagementArgs.__new__(UnsetSecurityAssessmentBaselineManagementArgs) + + if compartment_id is None and not opts.urn: + raise TypeError("Missing required property 'compartment_id'") + __props__.__dict__["compartment_id"] = compartment_id + if security_assessment_id is None and not opts.urn: + raise TypeError("Missing required property 'security_assessment_id'") + __props__.__dict__["security_assessment_id"] = security_assessment_id + super(UnsetSecurityAssessmentBaselineManagement, __self__).__init__( + 'oci:DataSafe/unsetSecurityAssessmentBaselineManagement:UnsetSecurityAssessmentBaselineManagement', + 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, + security_assessment_id: Optional[pulumi.Input[str]] = None) -> 'UnsetSecurityAssessmentBaselineManagement': + """ + Get an existing UnsetSecurityAssessmentBaselineManagement 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: The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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] security_assessment_id: The OCID of the security assessment. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _UnsetSecurityAssessmentBaselineManagementState.__new__(_UnsetSecurityAssessmentBaselineManagementState) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["security_assessment_id"] = security_assessment_id + return UnsetSecurityAssessmentBaselineManagement(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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, "compartment_id") + + @property + @pulumi.getter(name="securityAssessmentId") + def security_assessment_id(self) -> pulumi.Output[str]: + """ + The OCID of the security assessment. + """ + return pulumi.get(self, "security_assessment_id") + diff --git a/sdk/python/pulumi_oci/datasafe/unset_user_assessment_baseline_management.py b/sdk/python/pulumi_oci/datasafe/unset_user_assessment_baseline_management.py new file mode 100644 index 0000000000..b97680762f --- /dev/null +++ b/sdk/python/pulumi_oci/datasafe/unset_user_assessment_baseline_management.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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['UnsetUserAssessmentBaselineManagementArgs', 'UnsetUserAssessmentBaselineManagement'] + +@pulumi.input_type +class UnsetUserAssessmentBaselineManagementArgs: + def __init__(__self__, *, + compartment_id: pulumi.Input[str], + user_assessment_id: pulumi.Input[str]): + """ + The set of arguments for constructing a UnsetUserAssessmentBaselineManagement resource. + :param pulumi.Input[str] compartment_id: The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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_assessment_id: The OCID of the user assessment. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "user_assessment_id", user_assessment_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="userAssessmentId") + def user_assessment_id(self) -> pulumi.Input[str]: + """ + The OCID of the user assessment. + """ + return pulumi.get(self, "user_assessment_id") + + @user_assessment_id.setter + def user_assessment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "user_assessment_id", value) + + +@pulumi.input_type +class _UnsetUserAssessmentBaselineManagementState: + def __init__(__self__, *, + compartment_id: Optional[pulumi.Input[str]] = None, + user_assessment_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering UnsetUserAssessmentBaselineManagement resources. + :param pulumi.Input[str] compartment_id: The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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_assessment_id: The OCID of the user assessment. + """ + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if user_assessment_id is not None: + pulumi.set(__self__, "user_assessment_id", user_assessment_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="userAssessmentId") + def user_assessment_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the user assessment. + """ + return pulumi.get(self, "user_assessment_id") + + @user_assessment_id.setter + def user_assessment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "user_assessment_id", value) + + +class UnsetUserAssessmentBaselineManagement(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + user_assessment_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Unset User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + + Removes the baseline setting for the saved user assessment as the baseline in the compartment where the the specified assessment resides. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_unset_user_assessment_baseline_management = oci.data_safe.UnsetUserAssessmentBaselineManagement("test_unset_user_assessment_baseline_management", + user_assessment_id=test_set_user_assessment_baseline_management["userAssessmentId"], + compartment_id=comaprtment_id) + ``` + + ## Import + + UnsetUserAssessmentBaselineManagement can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement test_unset_user_assessment_baseline_management "id" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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_assessment_id: The OCID of the user assessment. + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: UnsetUserAssessmentBaselineManagementArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Unset User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. + + Removes the baseline setting for the saved user assessment as the baseline in the compartment where the the specified assessment resides. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_unset_user_assessment_baseline_management = oci.data_safe.UnsetUserAssessmentBaselineManagement("test_unset_user_assessment_baseline_management", + user_assessment_id=test_set_user_assessment_baseline_management["userAssessmentId"], + compartment_id=comaprtment_id) + ``` + + ## Import + + UnsetUserAssessmentBaselineManagement can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement test_unset_user_assessment_baseline_management "id" + ``` + + :param str resource_name: The name of the resource. + :param UnsetUserAssessmentBaselineManagementArgs 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(UnsetUserAssessmentBaselineManagementArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __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, + user_assessment_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__ = UnsetUserAssessmentBaselineManagementArgs.__new__(UnsetUserAssessmentBaselineManagementArgs) + + if compartment_id is None and not opts.urn: + raise TypeError("Missing required property 'compartment_id'") + __props__.__dict__["compartment_id"] = compartment_id + if user_assessment_id is None and not opts.urn: + raise TypeError("Missing required property 'user_assessment_id'") + __props__.__dict__["user_assessment_id"] = user_assessment_id + super(UnsetUserAssessmentBaselineManagement, __self__).__init__( + 'oci:DataSafe/unsetUserAssessmentBaselineManagement:UnsetUserAssessmentBaselineManagement', + 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, + user_assessment_id: Optional[pulumi.Input[str]] = None) -> 'UnsetUserAssessmentBaselineManagement': + """ + Get an existing UnsetUserAssessmentBaselineManagement 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: The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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_assessment_id: The OCID of the user assessment. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _UnsetUserAssessmentBaselineManagementState.__new__(_UnsetUserAssessmentBaselineManagementState) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["user_assessment_id"] = user_assessment_id + return UnsetUserAssessmentBaselineManagement(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + The compartment OCID where the assessment resides. + + + ** IMPORTANT ** + 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, "compartment_id") + + @property + @pulumi.getter(name="userAssessmentId") + def user_assessment_id(self) -> pulumi.Output[str]: + """ + The OCID of the user assessment. + """ + return pulumi.get(self, "user_assessment_id") + diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/__init__.py b/sdk/python/pulumi_oci/delegateaccesscontrol/__init__.py new file mode 100644 index 0000000000..1352766c24 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/__init__.py @@ -0,0 +1,24 @@ +# 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 .delegation_control import * +from .delegation_subscription import * +from .get_delegated_resource_access_request import * +from .get_delegated_resource_access_request_audit_log_report import * +from .get_delegated_resource_access_request_histories import * +from .get_delegated_resource_access_requests import * +from .get_delegation_control import * +from .get_delegation_control_resources import * +from .get_delegation_controls import * +from .get_delegation_subscription import * +from .get_delegation_subscriptions import * +from .get_service_provider import * +from .get_service_provider_action import * +from .get_service_provider_actions import * +from .get_service_providers import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/_inputs.py b/sdk/python/pulumi_oci/delegateaccesscontrol/_inputs.py new file mode 100644 index 0000000000..6c19bf408c --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/_inputs.py @@ -0,0 +1,306 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = [ + 'GetDelegatedResourceAccessRequestHistoriesFilterArgs', + 'GetDelegatedResourceAccessRequestsFilterArgs', + 'GetDelegationControlResourcesFilterArgs', + 'GetDelegationControlsFilterArgs', + 'GetDelegationSubscriptionsFilterArgs', + 'GetServiceProviderActionsFilterArgs', + 'GetServiceProvidersFilterArgs', +] + +@pulumi.input_type +class GetDelegatedResourceAccessRequestHistoriesFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDelegatedResourceAccessRequestsFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDelegationControlResourcesFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDelegationControlsFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDelegationSubscriptionsFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetServiceProviderActionsFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :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) + if regex is not None: + pulumi.set(__self__, "regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + """ + A filter to return only resources that match the entire name given. + """ + 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 GetServiceProvidersFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: A filter to return Service Provider resources that match the given name. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + """ + A filter to return Service Provider resources that match the given name. + """ + 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/delegateaccesscontrol/delegation_control.py b/sdk/python/pulumi_oci/delegateaccesscontrol/delegation_control.py new file mode 100644 index 0000000000..9c72601681 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/delegation_control.py @@ -0,0 +1,1082 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['DelegationControlArgs', 'DelegationControl'] + +@pulumi.input_type +class DelegationControlArgs: + def __init__(__self__, *, + compartment_id: pulumi.Input[str], + delegation_subscription_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + display_name: pulumi.Input[str], + notification_message_format: pulumi.Input[str], + notification_topic_id: pulumi.Input[str], + resource_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + resource_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None, + num_approvals_required: Optional[pulumi.Input[int]] = None, + pre_approved_service_provider_action_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + vault_key_id: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a DelegationControl resource. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains this Delegation Control. + :param pulumi.Input[Sequence[pulumi.Input[str]]] delegation_subscription_ids: (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + :param pulumi.Input[str] display_name: (Updatable) Name of the Delegation Control. The name does not need to be unique. + :param pulumi.Input[str] notification_message_format: (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + :param pulumi.Input[str] notification_topic_id: (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + :param pulumi.Input[Sequence[pulumi.Input[str]]] resource_ids: (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + :param pulumi.Input[str] resource_type: Resource type for which the Delegation Control is applicable to. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) Description of the Delegation Control. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_auto_approve_during_maintenance: (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + :param pulumi.Input[int] num_approvals_required: (Updatable) number of approvals required. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pre_approved_service_provider_action_names: (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + :param pulumi.Input[str] vault_id: The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + :param pulumi.Input[str] vault_key_id: The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + + + ** IMPORTANT ** + Any change to 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__, "delegation_subscription_ids", delegation_subscription_ids) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "notification_message_format", notification_message_format) + pulumi.set(__self__, "notification_topic_id", notification_topic_id) + pulumi.set(__self__, "resource_ids", resource_ids) + pulumi.set(__self__, "resource_type", resource_type) + if defined_tags is not None: + pulumi.set(__self__, "defined_tags", defined_tags) + if description is not None: + pulumi.set(__self__, "description", description) + if freeform_tags is not None: + pulumi.set(__self__, "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) + if num_approvals_required is not None: + pulumi.set(__self__, "num_approvals_required", num_approvals_required) + if pre_approved_service_provider_action_names is not None: + pulumi.set(__self__, "pre_approved_service_provider_action_names", pre_approved_service_provider_action_names) + if vault_id is not None: + pulumi.set(__self__, "vault_id", vault_id) + if vault_key_id is not None: + pulumi.set(__self__, "vault_key_id", vault_key_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + (Updatable) The OCID of the compartment that contains this Delegation Control. + """ + 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="delegationSubscriptionIds") + def delegation_subscription_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + """ + return pulumi.get(self, "delegation_subscription_ids") + + @delegation_subscription_ids.setter + def delegation_subscription_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "delegation_subscription_ids", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + (Updatable) Name of the Delegation Control. The name does not need to be unique. + """ + 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="notificationMessageFormat") + def notification_message_format(self) -> pulumi.Input[str]: + """ + (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + """ + return pulumi.get(self, "notification_message_format") + + @notification_message_format.setter + def notification_message_format(self, value: pulumi.Input[str]): + pulumi.set(self, "notification_message_format", value) + + @property + @pulumi.getter(name="notificationTopicId") + def notification_topic_id(self) -> pulumi.Input[str]: + """ + (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + """ + return pulumi.get(self, "notification_topic_id") + + @notification_topic_id.setter + def notification_topic_id(self, value: pulumi.Input[str]): + pulumi.set(self, "notification_topic_id", value) + + @property + @pulumi.getter(name="resourceIds") + def resource_ids(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: + """ + (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_ids") + + @resource_ids.setter + def resource_ids(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]): + pulumi.set(self, "resource_ids", value) + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> pulumi.Input[str]: + """ + Resource type for which the Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_type") + + @resource_type.setter + def resource_type(self, value: pulumi.Input[str]): + pulumi.set(self, "resource_type", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Description of the Delegation Control. + """ + 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, pulumi.Input[str]]]]: + """ + (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"}` + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter(name="isAutoApproveDuringMaintenance") + def is_auto_approve_during_maintenance(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + """ + return pulumi.get(self, "is_auto_approve_during_maintenance") + + @is_auto_approve_during_maintenance.setter + def is_auto_approve_during_maintenance(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_auto_approve_during_maintenance", value) + + @property + @pulumi.getter(name="numApprovalsRequired") + def num_approvals_required(self) -> Optional[pulumi.Input[int]]: + """ + (Updatable) number of approvals required. + """ + return pulumi.get(self, "num_approvals_required") + + @num_approvals_required.setter + def num_approvals_required(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "num_approvals_required", value) + + @property + @pulumi.getter(name="preApprovedServiceProviderActionNames") + def pre_approved_service_provider_action_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + """ + return pulumi.get(self, "pre_approved_service_provider_action_names") + + @pre_approved_service_provider_action_names.setter + def pre_approved_service_provider_action_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pre_approved_service_provider_action_names", value) + + @property + @pulumi.getter(name="vaultId") + def vault_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + """ + return pulumi.get(self, "vault_id") + + @vault_id.setter + def vault_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vault_id", value) + + @property + @pulumi.getter(name="vaultKeyId") + def vault_key_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + + + ** IMPORTANT ** + 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, "vault_key_id") + + @vault_key_id.setter + def vault_key_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vault_key_id", value) + + +@pulumi.input_type +class _DelegationControlState: + def __init__(__self__, *, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + delegation_subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None, + lifecycle_state_details: Optional[pulumi.Input[str]] = None, + notification_message_format: Optional[pulumi.Input[str]] = None, + notification_topic_id: Optional[pulumi.Input[str]] = None, + num_approvals_required: Optional[pulumi.Input[int]] = None, + pre_approved_service_provider_action_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_deleted: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + vault_key_id: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering DelegationControl resources. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains this Delegation Control. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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[Sequence[pulumi.Input[str]]] delegation_subscription_ids: (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + :param pulumi.Input[str] description: (Updatable) Description of the Delegation Control. + :param pulumi.Input[str] display_name: (Updatable) Name of the Delegation Control. The name does not need to be unique. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_auto_approve_during_maintenance: (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + :param pulumi.Input[str] lifecycle_state_details: Description of the current lifecycle state in more detail. + :param pulumi.Input[str] notification_message_format: (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + :param pulumi.Input[str] notification_topic_id: (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + :param pulumi.Input[int] num_approvals_required: (Updatable) number of approvals required. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pre_approved_service_provider_action_names: (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + :param pulumi.Input[Sequence[pulumi.Input[str]]] resource_ids: (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + :param pulumi.Input[str] resource_type: Resource type for which the Delegation Control is applicable to. + :param pulumi.Input[str] state: The current lifecycle state of the Delegation Control. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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: Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + :param pulumi.Input[str] time_deleted: Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + :param pulumi.Input[str] time_updated: Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + :param pulumi.Input[str] vault_id: The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + :param pulumi.Input[str] vault_key_id: The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + + + ** IMPORTANT ** + Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + """ + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if defined_tags is not None: + pulumi.set(__self__, "defined_tags", defined_tags) + if delegation_subscription_ids is not None: + pulumi.set(__self__, "delegation_subscription_ids", delegation_subscription_ids) + if description is not None: + pulumi.set(__self__, "description", description) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if freeform_tags is not None: + pulumi.set(__self__, "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) + if lifecycle_state_details is not None: + pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + if notification_message_format is not None: + pulumi.set(__self__, "notification_message_format", notification_message_format) + if notification_topic_id is not None: + pulumi.set(__self__, "notification_topic_id", notification_topic_id) + if num_approvals_required is not None: + pulumi.set(__self__, "num_approvals_required", num_approvals_required) + if pre_approved_service_provider_action_names is not None: + pulumi.set(__self__, "pre_approved_service_provider_action_names", pre_approved_service_provider_action_names) + if resource_ids is not None: + pulumi.set(__self__, "resource_ids", resource_ids) + if resource_type is not None: + pulumi.set(__self__, "resource_type", resource_type) + if state is not None: + pulumi.set(__self__, "state", state) + if system_tags is not None: + pulumi.set(__self__, "system_tags", system_tags) + if time_created is not None: + pulumi.set(__self__, "time_created", time_created) + if time_deleted is not None: + pulumi.set(__self__, "time_deleted", time_deleted) + if time_updated is not None: + pulumi.set(__self__, "time_updated", time_updated) + if vault_id is not None: + pulumi.set(__self__, "vault_id", vault_id) + if vault_key_id is not None: + pulumi.set(__self__, "vault_key_id", vault_key_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the compartment that contains this Delegation Control. + """ + 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, pulumi.Input[str]]]]: + """ + (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"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter(name="delegationSubscriptionIds") + def delegation_subscription_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + """ + return pulumi.get(self, "delegation_subscription_ids") + + @delegation_subscription_ids.setter + def delegation_subscription_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "delegation_subscription_ids", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Description of the Delegation Control. + """ + 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) Name of the Delegation Control. The name does not need to be unique. + """ + 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, pulumi.Input[str]]]]: + """ + (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"}` + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter(name="isAutoApproveDuringMaintenance") + def is_auto_approve_during_maintenance(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + """ + return pulumi.get(self, "is_auto_approve_during_maintenance") + + @is_auto_approve_during_maintenance.setter + def is_auto_approve_during_maintenance(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_auto_approve_during_maintenance", value) + + @property + @pulumi.getter(name="lifecycleStateDetails") + def lifecycle_state_details(self) -> Optional[pulumi.Input[str]]: + """ + Description of the current lifecycle state in more detail. + """ + return pulumi.get(self, "lifecycle_state_details") + + @lifecycle_state_details.setter + def lifecycle_state_details(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "lifecycle_state_details", value) + + @property + @pulumi.getter(name="notificationMessageFormat") + def notification_message_format(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + """ + return pulumi.get(self, "notification_message_format") + + @notification_message_format.setter + def notification_message_format(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_message_format", value) + + @property + @pulumi.getter(name="notificationTopicId") + def notification_topic_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + """ + return pulumi.get(self, "notification_topic_id") + + @notification_topic_id.setter + def notification_topic_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "notification_topic_id", value) + + @property + @pulumi.getter(name="numApprovalsRequired") + def num_approvals_required(self) -> Optional[pulumi.Input[int]]: + """ + (Updatable) number of approvals required. + """ + return pulumi.get(self, "num_approvals_required") + + @num_approvals_required.setter + def num_approvals_required(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "num_approvals_required", value) + + @property + @pulumi.getter(name="preApprovedServiceProviderActionNames") + def pre_approved_service_provider_action_names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + """ + return pulumi.get(self, "pre_approved_service_provider_action_names") + + @pre_approved_service_provider_action_names.setter + def pre_approved_service_provider_action_names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "pre_approved_service_provider_action_names", value) + + @property + @pulumi.getter(name="resourceIds") + def resource_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_ids") + + @resource_ids.setter + def resource_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "resource_ids", value) + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> Optional[pulumi.Input[str]]: + """ + Resource type for which the Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_type") + + @resource_type.setter + def resource_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_type", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + The current lifecycle state of the Delegation Control. + """ + 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, pulumi.Input[str]]]]: + """ + 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, pulumi.Input[str]]]]): + pulumi.set(self, "system_tags", value) + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> Optional[pulumi.Input[str]]: + """ + Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21: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="timeDeleted") + def time_deleted(self) -> Optional[pulumi.Input[str]]: + """ + Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + """ + return pulumi.get(self, "time_deleted") + + @time_deleted.setter + def time_deleted(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_deleted", value) + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> Optional[pulumi.Input[str]]: + """ + Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21: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) + + @property + @pulumi.getter(name="vaultId") + def vault_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + """ + return pulumi.get(self, "vault_id") + + @vault_id.setter + def vault_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vault_id", value) + + @property + @pulumi.getter(name="vaultKeyId") + def vault_key_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + + + ** IMPORTANT ** + 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, "vault_key_id") + + @vault_key_id.setter + def vault_key_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vault_key_id", value) + + +class DelegationControl(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, pulumi.Input[str]]]] = None, + delegation_subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None, + notification_message_format: Optional[pulumi.Input[str]] = None, + notification_topic_id: Optional[pulumi.Input[str]] = None, + num_approvals_required: Optional[pulumi.Input[int]] = None, + pre_approved_service_provider_action_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + vault_key_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Creates a Delegation Control. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegation_control = oci.delegate_access_control.DelegationControl("test_delegation_control", + compartment_id=compartment_id, + delegation_subscription_ids=delegation_control_delegation_subscription_ids, + display_name=delegation_control_display_name, + notification_message_format=delegation_control_notification_message_format, + notification_topic_id=test_notification_topic["id"], + resource_ids=delegation_control_resource_ids, + resource_type=delegation_control_resource_type, + defined_tags={ + "Operations.CostCenter": "42", + }, + description=delegation_control_description, + freeform_tags={ + "Department": "Finance", + }, + is_auto_approve_during_maintenance=delegation_control_is_auto_approve_during_maintenance, + num_approvals_required=delegation_control_num_approvals_required, + pre_approved_service_provider_action_names=delegation_control_pre_approved_service_provider_action_names, + vault_id=test_vault["id"], + vault_key_id=test_key["id"]) + ``` + + ## Import + + DelegationControls can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DelegateAccessControl/delegationControl:DelegationControl test_delegation_control "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 of the compartment that contains this Delegation Control. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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[Sequence[pulumi.Input[str]]] delegation_subscription_ids: (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + :param pulumi.Input[str] description: (Updatable) Description of the Delegation Control. + :param pulumi.Input[str] display_name: (Updatable) Name of the Delegation Control. The name does not need to be unique. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_auto_approve_during_maintenance: (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + :param pulumi.Input[str] notification_message_format: (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + :param pulumi.Input[str] notification_topic_id: (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + :param pulumi.Input[int] num_approvals_required: (Updatable) number of approvals required. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pre_approved_service_provider_action_names: (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + :param pulumi.Input[Sequence[pulumi.Input[str]]] resource_ids: (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + :param pulumi.Input[str] resource_type: Resource type for which the Delegation Control is applicable to. + :param pulumi.Input[str] vault_id: The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + :param pulumi.Input[str] vault_key_id: The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + + + ** IMPORTANT ** + 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: DelegationControlArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Creates a Delegation Control. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegation_control = oci.delegate_access_control.DelegationControl("test_delegation_control", + compartment_id=compartment_id, + delegation_subscription_ids=delegation_control_delegation_subscription_ids, + display_name=delegation_control_display_name, + notification_message_format=delegation_control_notification_message_format, + notification_topic_id=test_notification_topic["id"], + resource_ids=delegation_control_resource_ids, + resource_type=delegation_control_resource_type, + defined_tags={ + "Operations.CostCenter": "42", + }, + description=delegation_control_description, + freeform_tags={ + "Department": "Finance", + }, + is_auto_approve_during_maintenance=delegation_control_is_auto_approve_during_maintenance, + num_approvals_required=delegation_control_num_approvals_required, + pre_approved_service_provider_action_names=delegation_control_pre_approved_service_provider_action_names, + vault_id=test_vault["id"], + vault_key_id=test_key["id"]) + ``` + + ## Import + + DelegationControls can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DelegateAccessControl/delegationControl:DelegationControl test_delegation_control "id" + ``` + + :param str resource_name: The name of the resource. + :param DelegationControlArgs 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(DelegationControlArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __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, pulumi.Input[str]]]] = None, + delegation_subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None, + notification_message_format: Optional[pulumi.Input[str]] = None, + notification_topic_id: Optional[pulumi.Input[str]] = None, + num_approvals_required: Optional[pulumi.Input[int]] = None, + pre_approved_service_provider_action_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + vault_key_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__ = DelegationControlArgs.__new__(DelegationControlArgs) + + 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 delegation_subscription_ids is None and not opts.urn: + raise TypeError("Missing required property 'delegation_subscription_ids'") + __props__.__dict__["delegation_subscription_ids"] = delegation_subscription_ids + __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 + __props__.__dict__["is_auto_approve_during_maintenance"] = is_auto_approve_during_maintenance + if notification_message_format is None and not opts.urn: + raise TypeError("Missing required property 'notification_message_format'") + __props__.__dict__["notification_message_format"] = notification_message_format + if notification_topic_id is None and not opts.urn: + raise TypeError("Missing required property 'notification_topic_id'") + __props__.__dict__["notification_topic_id"] = notification_topic_id + __props__.__dict__["num_approvals_required"] = num_approvals_required + __props__.__dict__["pre_approved_service_provider_action_names"] = pre_approved_service_provider_action_names + if resource_ids is None and not opts.urn: + raise TypeError("Missing required property 'resource_ids'") + __props__.__dict__["resource_ids"] = resource_ids + if resource_type is None and not opts.urn: + raise TypeError("Missing required property 'resource_type'") + __props__.__dict__["resource_type"] = resource_type + __props__.__dict__["vault_id"] = vault_id + __props__.__dict__["vault_key_id"] = vault_key_id + __props__.__dict__["lifecycle_state_details"] = None + __props__.__dict__["state"] = None + __props__.__dict__["system_tags"] = None + __props__.__dict__["time_created"] = None + __props__.__dict__["time_deleted"] = None + __props__.__dict__["time_updated"] = None + super(DelegationControl, __self__).__init__( + 'oci:DelegateAccessControl/delegationControl:DelegationControl', + 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, pulumi.Input[str]]]] = None, + delegation_subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None, + lifecycle_state_details: Optional[pulumi.Input[str]] = None, + notification_message_format: Optional[pulumi.Input[str]] = None, + notification_topic_id: Optional[pulumi.Input[str]] = None, + num_approvals_required: Optional[pulumi.Input[int]] = None, + pre_approved_service_provider_action_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_deleted: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + vault_key_id: Optional[pulumi.Input[str]] = None) -> 'DelegationControl': + """ + Get an existing DelegationControl 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 of the compartment that contains this Delegation Control. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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[Sequence[pulumi.Input[str]]] delegation_subscription_ids: (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + :param pulumi.Input[str] description: (Updatable) Description of the Delegation Control. + :param pulumi.Input[str] display_name: (Updatable) Name of the Delegation Control. The name does not need to be unique. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_auto_approve_during_maintenance: (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + :param pulumi.Input[str] lifecycle_state_details: Description of the current lifecycle state in more detail. + :param pulumi.Input[str] notification_message_format: (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + :param pulumi.Input[str] notification_topic_id: (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + :param pulumi.Input[int] num_approvals_required: (Updatable) number of approvals required. + :param pulumi.Input[Sequence[pulumi.Input[str]]] pre_approved_service_provider_action_names: (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + :param pulumi.Input[Sequence[pulumi.Input[str]]] resource_ids: (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + :param pulumi.Input[str] resource_type: Resource type for which the Delegation Control is applicable to. + :param pulumi.Input[str] state: The current lifecycle state of the Delegation Control. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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: Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + :param pulumi.Input[str] time_deleted: Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + :param pulumi.Input[str] time_updated: Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + :param pulumi.Input[str] vault_id: The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + :param pulumi.Input[str] vault_key_id: The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + + + ** IMPORTANT ** + Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _DelegationControlState.__new__(_DelegationControlState) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["delegation_subscription_ids"] = delegation_subscription_ids + __props__.__dict__["description"] = description + __props__.__dict__["display_name"] = display_name + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["is_auto_approve_during_maintenance"] = is_auto_approve_during_maintenance + __props__.__dict__["lifecycle_state_details"] = lifecycle_state_details + __props__.__dict__["notification_message_format"] = notification_message_format + __props__.__dict__["notification_topic_id"] = notification_topic_id + __props__.__dict__["num_approvals_required"] = num_approvals_required + __props__.__dict__["pre_approved_service_provider_action_names"] = pre_approved_service_provider_action_names + __props__.__dict__["resource_ids"] = resource_ids + __props__.__dict__["resource_type"] = resource_type + __props__.__dict__["state"] = state + __props__.__dict__["system_tags"] = system_tags + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_deleted"] = time_deleted + __props__.__dict__["time_updated"] = time_updated + __props__.__dict__["vault_id"] = vault_id + __props__.__dict__["vault_key_id"] = vault_key_id + return DelegationControl(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + (Updatable) The OCID of the compartment that contains this Delegation Control. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="delegationSubscriptionIds") + def delegation_subscription_ids(self) -> pulumi.Output[Sequence[str]]: + """ + (Updatable) List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + """ + return pulumi.get(self, "delegation_subscription_ids") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + (Updatable) Description of the Delegation Control. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) Name of the Delegation Control. The name does not need to be unique. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter(name="isAutoApproveDuringMaintenance") + def is_auto_approve_during_maintenance(self) -> pulumi.Output[bool]: + """ + (Updatable) Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + """ + return pulumi.get(self, "is_auto_approve_during_maintenance") + + @property + @pulumi.getter(name="lifecycleStateDetails") + def lifecycle_state_details(self) -> pulumi.Output[str]: + """ + Description of the current lifecycle state in more detail. + """ + return pulumi.get(self, "lifecycle_state_details") + + @property + @pulumi.getter(name="notificationMessageFormat") + def notification_message_format(self) -> pulumi.Output[str]: + """ + (Updatable) The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + """ + return pulumi.get(self, "notification_message_format") + + @property + @pulumi.getter(name="notificationTopicId") + def notification_topic_id(self) -> pulumi.Output[str]: + """ + (Updatable) The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + """ + return pulumi.get(self, "notification_topic_id") + + @property + @pulumi.getter(name="numApprovalsRequired") + def num_approvals_required(self) -> pulumi.Output[int]: + """ + (Updatable) number of approvals required. + """ + return pulumi.get(self, "num_approvals_required") + + @property + @pulumi.getter(name="preApprovedServiceProviderActionNames") + def pre_approved_service_provider_action_names(self) -> pulumi.Output[Sequence[str]]: + """ + (Updatable) List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + """ + return pulumi.get(self, "pre_approved_service_provider_action_names") + + @property + @pulumi.getter(name="resourceIds") + def resource_ids(self) -> pulumi.Output[Sequence[str]]: + """ + (Updatable) The OCID of the selected resources that this Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_ids") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> pulumi.Output[str]: + """ + Resource type for which the Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The current lifecycle state of the Delegation Control. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + 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]: + """ + Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeDeleted") + def time_deleted(self) -> pulumi.Output[str]: + """ + Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + """ + return pulumi.get(self, "time_deleted") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> pulumi.Output[str]: + """ + Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="vaultId") + def vault_id(self) -> pulumi.Output[str]: + """ + The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + """ + return pulumi.get(self, "vault_id") + + @property + @pulumi.getter(name="vaultKeyId") + def vault_key_id(self) -> pulumi.Output[str]: + """ + The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + + + ** IMPORTANT ** + 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, "vault_key_id") + diff --git a/sdk/python/pulumi_oci/globallydistributeddatabase/private_endpoint.py b/sdk/python/pulumi_oci/delegateaccesscontrol/delegation_subscription.py similarity index 50% rename from sdk/python/pulumi_oci/globallydistributeddatabase/private_endpoint.py rename to sdk/python/pulumi_oci/delegateaccesscontrol/delegation_subscription.py index ef7f12d929..2e2f3bdb24 100644 --- a/sdk/python/pulumi_oci/globallydistributeddatabase/private_endpoint.py +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/delegation_subscription.py @@ -9,49 +9,45 @@ from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities -__all__ = ['PrivateEndpointArgs', 'PrivateEndpoint'] +__all__ = ['DelegationSubscriptionArgs', 'DelegationSubscription'] @pulumi.input_type -class PrivateEndpointArgs: +class DelegationSubscriptionArgs: def __init__(__self__, *, compartment_id: pulumi.Input[str], - display_name: pulumi.Input[str], - subnet_id: pulumi.Input[str], + service_provider_id: pulumi.Input[str], + subscribed_service_type: pulumi.Input[str], defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): """ - The set of arguments for constructing a PrivateEndpoint resource. - :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where private endpoint is to be created. - :param pulumi.Input[str] display_name: (Updatable) Private endpoint display name. - :param pulumi.Input[str] subnet_id: Identifier of the customer subnet against which private endpoint is to be created. + The set of arguments for constructing a DelegationSubscription resource. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains the Delegation Control. + :param pulumi.Input[str] service_provider_id: Unique identifier of the Service Provider. + :param pulumi.Input[str] subscribed_service_type: Subscribed Service Provider Service Type. ** IMPORTANT ** 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, pulumi.Input[str]]] 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) PrivateEndpoint description. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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]]] nsg_ids: (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) Description of the Delegation Subscription. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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__, "subnet_id", subnet_id) + pulumi.set(__self__, "service_provider_id", service_provider_id) + pulumi.set(__self__, "subscribed_service_type", subscribed_service_type) if defined_tags is not None: pulumi.set(__self__, "defined_tags", defined_tags) if description is not None: pulumi.set(__self__, "description", description) if freeform_tags is not None: pulumi.set(__self__, "freeform_tags", freeform_tags) - if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> pulumi.Input[str]: """ - (Updatable) Identifier of the compartment where private endpoint is to be created. + (Updatable) The OCID of the compartment that contains the Delegation Control. """ return pulumi.get(self, "compartment_id") @@ -60,38 +56,38 @@ 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]: + @pulumi.getter(name="serviceProviderId") + def service_provider_id(self) -> pulumi.Input[str]: """ - (Updatable) Private endpoint display name. + Unique identifier of the Service Provider. """ - return pulumi.get(self, "display_name") + return pulumi.get(self, "service_provider_id") - @display_name.setter - def display_name(self, value: pulumi.Input[str]): - pulumi.set(self, "display_name", value) + @service_provider_id.setter + def service_provider_id(self, value: pulumi.Input[str]): + pulumi.set(self, "service_provider_id", value) @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Input[str]: + @pulumi.getter(name="subscribedServiceType") + def subscribed_service_type(self) -> pulumi.Input[str]: """ - Identifier of the customer subnet against which private endpoint is to be created. + Subscribed Service Provider Service Type. ** IMPORTANT ** 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") + return pulumi.get(self, "subscribed_service_type") - @subnet_id.setter - def subnet_id(self, value: pulumi.Input[str]): - pulumi.set(self, "subnet_id", value) + @subscribed_service_type.setter + def subscribed_service_type(self, value: pulumi.Input[str]): + pulumi.set(self, "subscribed_service_type", value) @property @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + (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"}` """ return pulumi.get(self, "defined_tags") @@ -103,7 +99,7 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) PrivateEndpoint description. + (Updatable) Description of the Delegation Subscription. """ return pulumi.get(self, "description") @@ -115,7 +111,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + (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"}` """ return pulumi.get(self, "freeform_tags") @@ -123,21 +119,9 @@ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]] def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "freeform_tags", value) - @property - @pulumi.getter(name="nsgIds") - def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - """ - 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) - @pulumi.input_type -class _PrivateEndpointState: +class _DelegationSubscriptionState: def __init__(__self__, *, compartment_id: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, @@ -145,36 +129,30 @@ def __init__(__self__, *, display_name: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, lifecycle_state_details: Optional[pulumi.Input[str]] = None, - nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - sharded_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service_provider_id: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, + subscribed_service_type: Optional[pulumi.Input[str]] = None, system_tags: Optional[pulumi.Input[Mapping[str, 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): - """ - Input properties used for looking up and filtering PrivateEndpoint resources. - :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where private endpoint is to be created. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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) PrivateEndpoint description. - :param pulumi.Input[str] display_name: (Updatable) Private endpoint display name. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_state_details: Detailed message for the lifecycle state. - :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_ip: IP address of the Private Endpoint. - :param pulumi.Input[Sequence[pulumi.Input[str]]] sharded_databases: The OCIDs of sharded databases that consumes the given private endpoint. - :param pulumi.Input[str] state: Lifecycle states for private endpoint. - :param pulumi.Input[str] subnet_id: Identifier of the customer subnet against which private endpoint is to be created. + time_updated: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering DelegationSubscription resources. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains the Delegation Control. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) Description of the Delegation Subscription. + :param pulumi.Input[str] display_name: Display name + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] lifecycle_state_details: Description of the current lifecycle state in more detail. + :param pulumi.Input[str] service_provider_id: Unique identifier of the Service Provider. + :param pulumi.Input[str] state: The current lifecycle state of the Service Provider. + :param pulumi.Input[str] subscribed_service_type: Subscribed Service Provider Service Type. ** IMPORTANT ** 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, pulumi.Input[str]]] 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 PrivateEndpoint was first created. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_updated: The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - :param pulumi.Input[str] vcn_id: Identifier of the VCN in which subnet exists. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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: Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + :param pulumi.Input[str] time_updated: Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' """ if compartment_id is not None: pulumi.set(__self__, "compartment_id", compartment_id) @@ -188,30 +166,24 @@ def __init__(__self__, *, pulumi.set(__self__, "freeform_tags", freeform_tags) if lifecycle_state_details is not None: pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) - if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) - if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) - if sharded_databases is not None: - pulumi.set(__self__, "sharded_databases", sharded_databases) + if service_provider_id is not None: + pulumi.set(__self__, "service_provider_id", service_provider_id) if state is not None: pulumi.set(__self__, "state", state) - if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + if subscribed_service_type is not None: + pulumi.set(__self__, "subscribed_service_type", subscribed_service_type) if system_tags is not None: pulumi.set(__self__, "system_tags", system_tags) if time_created is not None: pulumi.set(__self__, "time_created", time_created) if time_updated is not None: pulumi.set(__self__, "time_updated", time_updated) - if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Identifier of the compartment where private endpoint is to be created. + (Updatable) The OCID of the compartment that contains the Delegation Control. """ return pulumi.get(self, "compartment_id") @@ -223,7 +195,7 @@ def compartment_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="definedTags") def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + (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"}` """ return pulumi.get(self, "defined_tags") @@ -235,7 +207,7 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[st @pulumi.getter def description(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) PrivateEndpoint description. + (Updatable) Description of the Delegation Subscription. """ return pulumi.get(self, "description") @@ -247,7 +219,7 @@ def description(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Private endpoint display name. + Display name """ return pulumi.get(self, "display_name") @@ -259,7 +231,7 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + (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"}` """ return pulumi.get(self, "freeform_tags") @@ -271,7 +243,7 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[s @pulumi.getter(name="lifecycleStateDetails") def lifecycle_state_details(self) -> Optional[pulumi.Input[str]]: """ - Detailed message for the lifecycle state. + Description of the current lifecycle state in more detail. """ return pulumi.get(self, "lifecycle_state_details") @@ -280,46 +252,22 @@ def lifecycle_state_details(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "lifecycle_state_details", value) @property - @pulumi.getter(name="nsgIds") - def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + @pulumi.getter(name="serviceProviderId") + def service_provider_id(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. + Unique identifier of the Service Provider. """ - return pulumi.get(self, "nsg_ids") + return pulumi.get(self, "service_provider_id") - @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="privateIp") - def private_ip(self) -> Optional[pulumi.Input[str]]: - """ - IP address of the Private Endpoint. - """ - return pulumi.get(self, "private_ip") - - @private_ip.setter - def private_ip(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_ip", value) - - @property - @pulumi.getter(name="shardedDatabases") - def sharded_databases(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - The OCIDs of sharded databases that consumes the given private endpoint. - """ - return pulumi.get(self, "sharded_databases") - - @sharded_databases.setter - def sharded_databases(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "sharded_databases", value) + @service_provider_id.setter + def service_provider_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "service_provider_id", value) @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: """ - Lifecycle states for private endpoint. + The current lifecycle state of the Service Provider. """ return pulumi.get(self, "state") @@ -328,26 +276,26 @@ 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]]: + @pulumi.getter(name="subscribedServiceType") + def subscribed_service_type(self) -> Optional[pulumi.Input[str]]: """ - Identifier of the customer subnet against which private endpoint is to be created. + Subscribed Service Provider Service Type. ** IMPORTANT ** 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") + return pulumi.get(self, "subscribed_service_type") - @subnet_id.setter - def subnet_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "subnet_id", value) + @subscribed_service_type.setter + def subscribed_service_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subscribed_service_type", value) @property @pulumi.getter(name="systemTags") def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: """ - Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + 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") @@ -359,7 +307,7 @@ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str @pulumi.getter(name="timeCreated") def time_created(self) -> Optional[pulumi.Input[str]]: """ - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string + Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' """ return pulumi.get(self, "time_created") @@ -371,7 +319,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 Private Endpoint was last updated. An RFC3339 formatted datetime string + Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' """ return pulumi.get(self, "time_updated") @@ -379,20 +327,8 @@ def time_updated(self) -> Optional[pulumi.Input[str]]: def time_updated(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "time_updated", value) - @property - @pulumi.getter(name="vcnId") - def vcn_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the VCN in which subnet exists. - """ - return pulumi.get(self, "vcn_id") - - @vcn_id.setter - def vcn_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "vcn_id", value) - -class PrivateEndpoint(pulumi.CustomResource): +class DelegationSubscription(pulumi.CustomResource): @overload def __init__(__self__, resource_name: str, @@ -400,15 +336,14 @@ def __init__(__self__, compartment_id: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, - display_name: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, + service_provider_id: Optional[pulumi.Input[str]] = None, + subscribed_service_type: Optional[pulumi.Input[str]] = None, __props__=None): """ - This resource provides the Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. + This resource provides the Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. - Creates a PrivateEndpoint. + Creates Delegation Subscription in Delegation Control. ## Example Usage @@ -416,37 +351,35 @@ def __init__(__self__, import pulumi import pulumi_oci as oci - test_private_endpoint = oci.globally_distributed_database.PrivateEndpoint("test_private_endpoint", + test_delegation_subscription = oci.delegate_access_control.DelegationSubscription("test_delegation_subscription", compartment_id=compartment_id, - display_name=private_endpoint_display_name, - subnet_id=test_subnet["id"], + service_provider_id=test_service_provider["id"], + subscribed_service_type=delegation_subscription_subscribed_service_type, defined_tags={ - "foo-namespace.bar-key": "value", + "Operations.CostCenter": "42", }, - description=private_endpoint_description, + description=delegation_subscription_description, freeform_tags={ - "bar-key": "value", - }, - nsg_ids=private_endpoint_nsg_ids) + "Department": "Finance", + }) ``` ## Import - PrivateEndpoints can be imported using the `id`, e.g. + DelegationSubscriptions can be imported using the `id`, e.g. ```sh - $ pulumi import oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint test_private_endpoint "id" + $ pulumi import oci:DelegateAccessControl/delegationSubscription:DelegationSubscription test_delegation_subscription "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) Identifier of the compartment where private endpoint is to be created. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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) PrivateEndpoint description. - :param pulumi.Input[str] display_name: (Updatable) Private endpoint display name. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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]]] nsg_ids: (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - :param pulumi.Input[str] subnet_id: Identifier of the customer subnet against which private endpoint is to be created. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains the Delegation Control. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) Description of the Delegation Subscription. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] service_provider_id: Unique identifier of the Service Provider. + :param pulumi.Input[str] subscribed_service_type: Subscribed Service Provider Service Type. ** IMPORTANT ** @@ -456,12 +389,12 @@ def __init__(__self__, @overload def __init__(__self__, resource_name: str, - args: PrivateEndpointArgs, + args: DelegationSubscriptionArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - This resource provides the Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. + This resource provides the Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. - Creates a PrivateEndpoint. + Creates Delegation Subscription in Delegation Control. ## Example Usage @@ -469,35 +402,34 @@ def __init__(__self__, import pulumi import pulumi_oci as oci - test_private_endpoint = oci.globally_distributed_database.PrivateEndpoint("test_private_endpoint", + test_delegation_subscription = oci.delegate_access_control.DelegationSubscription("test_delegation_subscription", compartment_id=compartment_id, - display_name=private_endpoint_display_name, - subnet_id=test_subnet["id"], + service_provider_id=test_service_provider["id"], + subscribed_service_type=delegation_subscription_subscribed_service_type, defined_tags={ - "foo-namespace.bar-key": "value", + "Operations.CostCenter": "42", }, - description=private_endpoint_description, + description=delegation_subscription_description, freeform_tags={ - "bar-key": "value", - }, - nsg_ids=private_endpoint_nsg_ids) + "Department": "Finance", + }) ``` ## Import - PrivateEndpoints can be imported using the `id`, e.g. + DelegationSubscriptions can be imported using the `id`, e.g. ```sh - $ pulumi import oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint test_private_endpoint "id" + $ pulumi import oci:DelegateAccessControl/delegationSubscription:DelegationSubscription test_delegation_subscription "id" ``` :param str resource_name: The name of the resource. - :param PrivateEndpointArgs args: The arguments to use to populate this resource's properties. + :param DelegationSubscriptionArgs 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) + resource_args, opts = _utilities.get_resource_args_opts(DelegationSubscriptionArgs, pulumi.ResourceOptions, *args, **kwargs) if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: @@ -509,10 +441,9 @@ def _internal_init(__self__, compartment_id: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, description: Optional[pulumi.Input[str]] = None, - display_name: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, + service_provider_id: Optional[pulumi.Input[str]] = None, + subscribed_service_type: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -520,31 +451,28 @@ def _internal_init(__self__, 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) + __props__ = DelegationSubscriptionArgs.__new__(DelegationSubscriptionArgs) 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 __props__.__dict__["freeform_tags"] = freeform_tags - __props__.__dict__["nsg_ids"] = nsg_ids - if subnet_id is None and not opts.urn: - raise TypeError("Missing required property 'subnet_id'") - __props__.__dict__["subnet_id"] = subnet_id + if service_provider_id is None and not opts.urn: + raise TypeError("Missing required property 'service_provider_id'") + __props__.__dict__["service_provider_id"] = service_provider_id + if subscribed_service_type is None and not opts.urn: + raise TypeError("Missing required property 'subscribed_service_type'") + __props__.__dict__["subscribed_service_type"] = subscribed_service_type + __props__.__dict__["display_name"] = None __props__.__dict__["lifecycle_state_details"] = None - __props__.__dict__["private_ip"] = None - __props__.__dict__["sharded_databases"] = None __props__.__dict__["state"] = None __props__.__dict__["system_tags"] = None __props__.__dict__["time_created"] = None __props__.__dict__["time_updated"] = None - __props__.__dict__["vcn_id"] = None - super(PrivateEndpoint, __self__).__init__( - 'oci:GloballyDistributedDatabase/privateEndpoint:PrivateEndpoint', + super(DelegationSubscription, __self__).__init__( + 'oci:DelegateAccessControl/delegationSubscription:DelegationSubscription', resource_name, __props__, opts) @@ -559,45 +487,39 @@ def get(resource_name: str, display_name: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, lifecycle_state_details: Optional[pulumi.Input[str]] = None, - nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - private_ip: Optional[pulumi.Input[str]] = None, - sharded_databases: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service_provider_id: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, - subnet_id: Optional[pulumi.Input[str]] = None, + subscribed_service_type: Optional[pulumi.Input[str]] = None, system_tags: Optional[pulumi.Input[Mapping[str, 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) -> 'PrivateEndpoint': + time_updated: Optional[pulumi.Input[str]] = None) -> 'DelegationSubscription': """ - Get an existing PrivateEndpoint resource's state with the given name, id, and optional extra + Get an existing DelegationSubscription 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) Identifier of the compartment where private endpoint is to be created. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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) PrivateEndpoint description. - :param pulumi.Input[str] display_name: (Updatable) Private endpoint display name. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_state_details: Detailed message for the lifecycle state. - :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_ip: IP address of the Private Endpoint. - :param pulumi.Input[Sequence[pulumi.Input[str]]] sharded_databases: The OCIDs of sharded databases that consumes the given private endpoint. - :param pulumi.Input[str] state: Lifecycle states for private endpoint. - :param pulumi.Input[str] subnet_id: Identifier of the customer subnet against which private endpoint is to be created. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains the Delegation Control. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) Description of the Delegation Subscription. + :param pulumi.Input[str] display_name: Display name + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] lifecycle_state_details: Description of the current lifecycle state in more detail. + :param pulumi.Input[str] service_provider_id: Unique identifier of the Service Provider. + :param pulumi.Input[str] state: The current lifecycle state of the Service Provider. + :param pulumi.Input[str] subscribed_service_type: Subscribed Service Provider Service Type. ** IMPORTANT ** 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, pulumi.Input[str]]] 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 PrivateEndpoint was first created. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_updated: The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - :param pulumi.Input[str] vcn_id: Identifier of the VCN in which subnet exists. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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: Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + :param pulumi.Input[str] time_updated: Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - __props__ = _PrivateEndpointState.__new__(_PrivateEndpointState) + __props__ = _DelegationSubscriptionState.__new__(_DelegationSubscriptionState) __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["defined_tags"] = defined_tags @@ -605,22 +527,19 @@ def get(resource_name: str, __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["lifecycle_state_details"] = lifecycle_state_details - __props__.__dict__["nsg_ids"] = nsg_ids - __props__.__dict__["private_ip"] = private_ip - __props__.__dict__["sharded_databases"] = sharded_databases + __props__.__dict__["service_provider_id"] = service_provider_id __props__.__dict__["state"] = state - __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["subscribed_service_type"] = subscribed_service_type __props__.__dict__["system_tags"] = system_tags __props__.__dict__["time_created"] = time_created __props__.__dict__["time_updated"] = time_updated - __props__.__dict__["vcn_id"] = vcn_id - return PrivateEndpoint(resource_name, opts=opts, __props__=__props__) + return DelegationSubscription(resource_name, opts=opts, __props__=__props__) @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> pulumi.Output[str]: """ - (Updatable) Identifier of the compartment where private endpoint is to be created. + (Updatable) The OCID of the compartment that contains the Delegation Control. """ return pulumi.get(self, "compartment_id") @@ -628,7 +547,7 @@ def compartment_id(self) -> pulumi.Output[str]: @pulumi.getter(name="definedTags") def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: """ - (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + (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"}` """ return pulumi.get(self, "defined_tags") @@ -636,7 +555,7 @@ def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: @pulumi.getter def description(self) -> pulumi.Output[str]: """ - (Updatable) PrivateEndpoint description. + (Updatable) Description of the Delegation Subscription. """ return pulumi.get(self, "description") @@ -644,7 +563,7 @@ def description(self) -> pulumi.Output[str]: @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Output[str]: """ - (Updatable) Private endpoint display name. + Display name """ return pulumi.get(self, "display_name") @@ -652,7 +571,7 @@ def display_name(self) -> pulumi.Output[str]: @pulumi.getter(name="freeformTags") def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: """ - (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + (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"}` """ return pulumi.get(self, "freeform_tags") @@ -660,59 +579,43 @@ def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: @pulumi.getter(name="lifecycleStateDetails") def lifecycle_state_details(self) -> pulumi.Output[str]: """ - Detailed message for the lifecycle state. + Description of the current lifecycle state in more detail. """ return pulumi.get(self, "lifecycle_state_details") @property - @pulumi.getter(name="nsgIds") - def nsg_ids(self) -> pulumi.Output[Sequence[str]]: - """ - (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. - """ - return pulumi.get(self, "nsg_ids") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> pulumi.Output[str]: - """ - IP address of the Private Endpoint. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="shardedDatabases") - def sharded_databases(self) -> pulumi.Output[Sequence[str]]: + @pulumi.getter(name="serviceProviderId") + def service_provider_id(self) -> pulumi.Output[str]: """ - The OCIDs of sharded databases that consumes the given private endpoint. + Unique identifier of the Service Provider. """ - return pulumi.get(self, "sharded_databases") + return pulumi.get(self, "service_provider_id") @property @pulumi.getter def state(self) -> pulumi.Output[str]: """ - Lifecycle states for private endpoint. + The current lifecycle state of the Service Provider. """ return pulumi.get(self, "state") @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> pulumi.Output[str]: + @pulumi.getter(name="subscribedServiceType") + def subscribed_service_type(self) -> pulumi.Output[str]: """ - Identifier of the customer subnet against which private endpoint is to be created. + Subscribed Service Provider Service Type. ** IMPORTANT ** 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") + return pulumi.get(self, "subscribed_service_type") @property @pulumi.getter(name="systemTags") def system_tags(self) -> pulumi.Output[Mapping[str, str]]: """ - Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + 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") @@ -720,7 +623,7 @@ def system_tags(self) -> pulumi.Output[Mapping[str, str]]: @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: """ - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string + Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' """ return pulumi.get(self, "time_created") @@ -728,15 +631,7 @@ def time_created(self) -> pulumi.Output[str]: @pulumi.getter(name="timeUpdated") def time_updated(self) -> pulumi.Output[str]: """ - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string + Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' """ return pulumi.get(self, "time_updated") - @property - @pulumi.getter(name="vcnId") - def vcn_id(self) -> pulumi.Output[str]: - """ - Identifier of the VCN in which subnet exists. - """ - return pulumi.get(self, "vcn_id") - diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py new file mode 100644 index 0000000000..a74f6dc168 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request.py @@ -0,0 +1,535 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetDelegatedResourceAccessRequestResult', + 'AwaitableGetDelegatedResourceAccessRequestResult', + 'get_delegated_resource_access_request', + 'get_delegated_resource_access_request_output', +] + +@pulumi.output_type +class GetDelegatedResourceAccessRequestResult: + """ + A collection of values returned by getDelegatedResourceAccessRequest. + """ + def __init__(__self__, approval_infos=None, audit_types=None, closure_comment=None, compartment_id=None, database_name_lists=None, defined_tags=None, delegated_resource_access_request_id=None, delegation_control_id=None, delegation_subscription_ids=None, description=None, display_name=None, duration_in_hours=None, extend_duration_in_hours=None, freeform_tags=None, id=None, is_auto_approved=None, is_pending_more_info=None, lifecycle_state_details=None, num_extension_approvals=None, num_initial_approvals=None, provided_service_types=None, reason_for_request=None, request_status=None, requested_action_names=None, requester_type=None, resource_id=None, resource_name=None, resource_type=None, severity=None, state=None, system_tags=None, ticket_numbers=None, time_access_requested=None, time_created=None, time_updated=None): + if approval_infos and not isinstance(approval_infos, list): + raise TypeError("Expected argument 'approval_infos' to be a list") + pulumi.set(__self__, "approval_infos", approval_infos) + if audit_types and not isinstance(audit_types, list): + raise TypeError("Expected argument 'audit_types' to be a list") + pulumi.set(__self__, "audit_types", audit_types) + if closure_comment and not isinstance(closure_comment, str): + raise TypeError("Expected argument 'closure_comment' to be a str") + pulumi.set(__self__, "closure_comment", closure_comment) + 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 database_name_lists and not isinstance(database_name_lists, list): + raise TypeError("Expected argument 'database_name_lists' to be a list") + pulumi.set(__self__, "database_name_lists", database_name_lists) + 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 delegated_resource_access_request_id and not isinstance(delegated_resource_access_request_id, str): + raise TypeError("Expected argument 'delegated_resource_access_request_id' to be a str") + pulumi.set(__self__, "delegated_resource_access_request_id", delegated_resource_access_request_id) + if delegation_control_id and not isinstance(delegation_control_id, str): + raise TypeError("Expected argument 'delegation_control_id' to be a str") + pulumi.set(__self__, "delegation_control_id", delegation_control_id) + if delegation_subscription_ids and not isinstance(delegation_subscription_ids, list): + raise TypeError("Expected argument 'delegation_subscription_ids' to be a list") + pulumi.set(__self__, "delegation_subscription_ids", delegation_subscription_ids) + 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 duration_in_hours and not isinstance(duration_in_hours, int): + raise TypeError("Expected argument 'duration_in_hours' to be a int") + pulumi.set(__self__, "duration_in_hours", duration_in_hours) + if extend_duration_in_hours and not isinstance(extend_duration_in_hours, int): + raise TypeError("Expected argument 'extend_duration_in_hours' to be a int") + pulumi.set(__self__, "extend_duration_in_hours", extend_duration_in_hours) + 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 is_auto_approved and not isinstance(is_auto_approved, bool): + raise TypeError("Expected argument 'is_auto_approved' to be a bool") + pulumi.set(__self__, "is_auto_approved", is_auto_approved) + if is_pending_more_info and not isinstance(is_pending_more_info, bool): + raise TypeError("Expected argument 'is_pending_more_info' to be a bool") + pulumi.set(__self__, "is_pending_more_info", is_pending_more_info) + if lifecycle_state_details and not isinstance(lifecycle_state_details, str): + raise TypeError("Expected argument 'lifecycle_state_details' to be a str") + pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + if num_extension_approvals and not isinstance(num_extension_approvals, int): + raise TypeError("Expected argument 'num_extension_approvals' to be a int") + pulumi.set(__self__, "num_extension_approvals", num_extension_approvals) + if num_initial_approvals and not isinstance(num_initial_approvals, int): + raise TypeError("Expected argument 'num_initial_approvals' to be a int") + pulumi.set(__self__, "num_initial_approvals", num_initial_approvals) + if provided_service_types and not isinstance(provided_service_types, list): + raise TypeError("Expected argument 'provided_service_types' to be a list") + pulumi.set(__self__, "provided_service_types", provided_service_types) + if reason_for_request and not isinstance(reason_for_request, str): + raise TypeError("Expected argument 'reason_for_request' to be a str") + pulumi.set(__self__, "reason_for_request", reason_for_request) + if request_status and not isinstance(request_status, str): + raise TypeError("Expected argument 'request_status' to be a str") + pulumi.set(__self__, "request_status", request_status) + if requested_action_names and not isinstance(requested_action_names, list): + raise TypeError("Expected argument 'requested_action_names' to be a list") + pulumi.set(__self__, "requested_action_names", requested_action_names) + if requester_type and not isinstance(requester_type, str): + raise TypeError("Expected argument 'requester_type' to be a str") + pulumi.set(__self__, "requester_type", requester_type) + if resource_id and not isinstance(resource_id, str): + raise TypeError("Expected argument 'resource_id' to be a str") + pulumi.set(__self__, "resource_id", resource_id) + if resource_name and not isinstance(resource_name, str): + raise TypeError("Expected argument 'resource_name' to be a str") + pulumi.set(__self__, "resource_name", resource_name) + if resource_type and not isinstance(resource_type, str): + raise TypeError("Expected argument 'resource_type' to be a str") + pulumi.set(__self__, "resource_type", resource_type) + if severity and not isinstance(severity, str): + raise TypeError("Expected argument 'severity' to be a str") + pulumi.set(__self__, "severity", severity) + 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 ticket_numbers and not isinstance(ticket_numbers, list): + raise TypeError("Expected argument 'ticket_numbers' to be a list") + pulumi.set(__self__, "ticket_numbers", ticket_numbers) + if time_access_requested and not isinstance(time_access_requested, str): + raise TypeError("Expected argument 'time_access_requested' to be a str") + pulumi.set(__self__, "time_access_requested", time_access_requested) + 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="approvalInfos") + def approval_infos(self) -> Sequence['outputs.GetDelegatedResourceAccessRequestApprovalInfoResult']: + """ + In case of single approval, this will have only one item. Else, a list of approvals. + """ + return pulumi.get(self, "approval_infos") + + @property + @pulumi.getter(name="auditTypes") + def audit_types(self) -> Sequence[str]: + """ + Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + """ + return pulumi.get(self, "audit_types") + + @property + @pulumi.getter(name="closureComment") + def closure_comment(self) -> str: + """ + The comment entered by the support operator while closing the request. + """ + return pulumi.get(self, "closure_comment") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The OCID of the compartment that contains the Delegated Resource Access Request. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="databaseNameLists") + def database_name_lists(self) -> Sequence[str]: + """ + List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + """ + return pulumi.get(self, "database_name_lists") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="delegatedResourceAccessRequestId") + def delegated_resource_access_request_id(self) -> str: + return pulumi.get(self, "delegated_resource_access_request_id") + + @property + @pulumi.getter(name="delegationControlId") + def delegation_control_id(self) -> str: + """ + The OCID of the Delegation Control governing the target resource. + """ + return pulumi.get(self, "delegation_control_id") + + @property + @pulumi.getter(name="delegationSubscriptionIds") + def delegation_subscription_ids(self) -> Sequence[str]: + """ + List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + """ + return pulumi.get(self, "delegation_subscription_ids") + + @property + @pulumi.getter + def description(self) -> str: + """ + Detailed description of this Delegated Resource Access Request. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Display name. This is generated by the system automatically. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="durationInHours") + def duration_in_hours(self) -> int: + """ + Duration in hours for which access is sought on the target resource. + """ + return pulumi.get(self, "duration_in_hours") + + @property + @pulumi.getter(name="extendDurationInHours") + def extend_duration_in_hours(self) -> int: + """ + Duration in hours for which extension access is sought on the target resource. + """ + return pulumi.get(self, "extend_duration_in_hours") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isAutoApproved") + def is_auto_approved(self) -> bool: + """ + Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + """ + return pulumi.get(self, "is_auto_approved") + + @property + @pulumi.getter(name="isPendingMoreInfo") + def is_pending_more_info(self) -> bool: + """ + Indicates if the delegated resource access request is waiting on more information from the operator + """ + return pulumi.get(self, "is_pending_more_info") + + @property + @pulumi.getter(name="lifecycleStateDetails") + def lifecycle_state_details(self) -> str: + """ + Description of the current lifecycle state in more detail. + """ + return pulumi.get(self, "lifecycle_state_details") + + @property + @pulumi.getter(name="numExtensionApprovals") + def num_extension_approvals(self) -> int: + """ + Number of extension approvals that have been obtained so far. + """ + return pulumi.get(self, "num_extension_approvals") + + @property + @pulumi.getter(name="numInitialApprovals") + def num_initial_approvals(self) -> int: + """ + Number of initial approvals that have been obtained so far. + """ + return pulumi.get(self, "num_initial_approvals") + + @property + @pulumi.getter(name="providedServiceTypes") + def provided_service_types(self) -> Sequence[str]: + """ + List of Service Provider Service Types being provided by the support operator user. + """ + return pulumi.get(self, "provided_service_types") + + @property + @pulumi.getter(name="reasonForRequest") + def reason_for_request(self) -> str: + """ + A short description explaining why this Delegated Resource Access Request is needed by the support operator. + """ + return pulumi.get(self, "reason_for_request") + + @property + @pulumi.getter(name="requestStatus") + def request_status(self) -> str: + """ + The current status of the Delegated Resource Access Request. + """ + return pulumi.get(self, "request_status") + + @property + @pulumi.getter(name="requestedActionNames") + def requested_action_names(self) -> Sequence[str]: + """ + List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + """ + return pulumi.get(self, "requested_action_names") + + @property + @pulumi.getter(name="requesterType") + def requester_type(self) -> str: + """ + Requester type + """ + return pulumi.get(self, "requester_type") + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> str: + """ + The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + """ + return pulumi.get(self, "resource_id") + + @property + @pulumi.getter(name="resourceName") + def resource_name(self) -> str: + """ + The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + """ + return pulumi.get(self, "resource_name") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> str: + """ + Resource type for which the associated Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter + def severity(self) -> str: + """ + Priority assigned to the Delegated Resource Access Request by the support operator + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current lifecycle state of the Delegated Resource Access Request. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + 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="ticketNumbers") + def ticket_numbers(self) -> Sequence[str]: + """ + A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + """ + return pulumi.get(self, "ticket_numbers") + + @property + @pulumi.getter(name="timeAccessRequested") + def time_access_requested(self) -> str: + """ + Requested access start time in UTC. + """ + return pulumi.get(self, "time_access_requested") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetDelegatedResourceAccessRequestResult(GetDelegatedResourceAccessRequestResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDelegatedResourceAccessRequestResult( + approval_infos=self.approval_infos, + audit_types=self.audit_types, + closure_comment=self.closure_comment, + compartment_id=self.compartment_id, + database_name_lists=self.database_name_lists, + defined_tags=self.defined_tags, + delegated_resource_access_request_id=self.delegated_resource_access_request_id, + delegation_control_id=self.delegation_control_id, + delegation_subscription_ids=self.delegation_subscription_ids, + description=self.description, + display_name=self.display_name, + duration_in_hours=self.duration_in_hours, + extend_duration_in_hours=self.extend_duration_in_hours, + freeform_tags=self.freeform_tags, + id=self.id, + is_auto_approved=self.is_auto_approved, + is_pending_more_info=self.is_pending_more_info, + lifecycle_state_details=self.lifecycle_state_details, + num_extension_approvals=self.num_extension_approvals, + num_initial_approvals=self.num_initial_approvals, + provided_service_types=self.provided_service_types, + reason_for_request=self.reason_for_request, + request_status=self.request_status, + requested_action_names=self.requested_action_names, + requester_type=self.requester_type, + resource_id=self.resource_id, + resource_name=self.resource_name, + resource_type=self.resource_type, + severity=self.severity, + state=self.state, + system_tags=self.system_tags, + ticket_numbers=self.ticket_numbers, + time_access_requested=self.time_access_requested, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_delegated_resource_access_request(delegated_resource_access_request_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegatedResourceAccessRequestResult: + """ + This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Gets details of a Delegated Resource Access Request. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegated_resource_access_request = oci.DelegateAccessControl.get_delegated_resource_access_request(delegated_resource_access_request_id=test_delegated_resource_access_request_oci_delegate_access_control_delegated_resource_access_request["id"]) + ``` + + + :param str delegated_resource_access_request_id: Unique Delegated Resource Access Request identifier + """ + __args__ = dict() + __args__['delegatedResourceAccessRequestId'] = delegated_resource_access_request_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegatedResourceAccessRequest:getDelegatedResourceAccessRequest', __args__, opts=opts, typ=GetDelegatedResourceAccessRequestResult).value + + return AwaitableGetDelegatedResourceAccessRequestResult( + approval_infos=pulumi.get(__ret__, 'approval_infos'), + audit_types=pulumi.get(__ret__, 'audit_types'), + closure_comment=pulumi.get(__ret__, 'closure_comment'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + database_name_lists=pulumi.get(__ret__, 'database_name_lists'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + delegated_resource_access_request_id=pulumi.get(__ret__, 'delegated_resource_access_request_id'), + delegation_control_id=pulumi.get(__ret__, 'delegation_control_id'), + delegation_subscription_ids=pulumi.get(__ret__, 'delegation_subscription_ids'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + duration_in_hours=pulumi.get(__ret__, 'duration_in_hours'), + extend_duration_in_hours=pulumi.get(__ret__, 'extend_duration_in_hours'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + is_auto_approved=pulumi.get(__ret__, 'is_auto_approved'), + is_pending_more_info=pulumi.get(__ret__, 'is_pending_more_info'), + lifecycle_state_details=pulumi.get(__ret__, 'lifecycle_state_details'), + num_extension_approvals=pulumi.get(__ret__, 'num_extension_approvals'), + num_initial_approvals=pulumi.get(__ret__, 'num_initial_approvals'), + provided_service_types=pulumi.get(__ret__, 'provided_service_types'), + reason_for_request=pulumi.get(__ret__, 'reason_for_request'), + request_status=pulumi.get(__ret__, 'request_status'), + requested_action_names=pulumi.get(__ret__, 'requested_action_names'), + requester_type=pulumi.get(__ret__, 'requester_type'), + resource_id=pulumi.get(__ret__, 'resource_id'), + resource_name=pulumi.get(__ret__, 'resource_name'), + resource_type=pulumi.get(__ret__, 'resource_type'), + severity=pulumi.get(__ret__, 'severity'), + state=pulumi.get(__ret__, 'state'), + system_tags=pulumi.get(__ret__, 'system_tags'), + ticket_numbers=pulumi.get(__ret__, 'ticket_numbers'), + time_access_requested=pulumi.get(__ret__, 'time_access_requested'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) + + +@_utilities.lift_output_func(get_delegated_resource_access_request) +def get_delegated_resource_access_request_output(delegated_resource_access_request_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegatedResourceAccessRequestResult]: + """ + This data source provides details about a specific Delegated Resource Access Request resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Gets details of a Delegated Resource Access Request. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegated_resource_access_request = oci.DelegateAccessControl.get_delegated_resource_access_request(delegated_resource_access_request_id=test_delegated_resource_access_request_oci_delegate_access_control_delegated_resource_access_request["id"]) + ``` + + + :param str delegated_resource_access_request_id: Unique Delegated Resource Access Request identifier + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py new file mode 100644 index 0000000000..cd74ec8035 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_audit_log_report.py @@ -0,0 +1,174 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = [ + 'GetDelegatedResourceAccessRequestAuditLogReportResult', + 'AwaitableGetDelegatedResourceAccessRequestAuditLogReportResult', + 'get_delegated_resource_access_request_audit_log_report', + 'get_delegated_resource_access_request_audit_log_report_output', +] + +@pulumi.output_type +class GetDelegatedResourceAccessRequestAuditLogReportResult: + """ + A collection of values returned by getDelegatedResourceAccessRequestAuditLogReport. + """ + def __init__(__self__, audit_report_status=None, delegated_resource_access_request_id=None, id=None, is_process_tree_enabled=None, process_tree=None, report=None, time_report_generated=None): + if audit_report_status and not isinstance(audit_report_status, str): + raise TypeError("Expected argument 'audit_report_status' to be a str") + pulumi.set(__self__, "audit_report_status", audit_report_status) + if delegated_resource_access_request_id and not isinstance(delegated_resource_access_request_id, str): + raise TypeError("Expected argument 'delegated_resource_access_request_id' to be a str") + pulumi.set(__self__, "delegated_resource_access_request_id", delegated_resource_access_request_id) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if is_process_tree_enabled and not isinstance(is_process_tree_enabled, bool): + raise TypeError("Expected argument 'is_process_tree_enabled' to be a bool") + pulumi.set(__self__, "is_process_tree_enabled", is_process_tree_enabled) + if process_tree and not isinstance(process_tree, str): + raise TypeError("Expected argument 'process_tree' to be a str") + pulumi.set(__self__, "process_tree", process_tree) + if report and not isinstance(report, str): + raise TypeError("Expected argument 'report' to be a str") + pulumi.set(__self__, "report", report) + if time_report_generated and not isinstance(time_report_generated, str): + raise TypeError("Expected argument 'time_report_generated' to be a str") + pulumi.set(__self__, "time_report_generated", time_report_generated) + + @property + @pulumi.getter(name="auditReportStatus") + def audit_report_status(self) -> str: + """ + Status of the audit report + """ + return pulumi.get(self, "audit_report_status") + + @property + @pulumi.getter(name="delegatedResourceAccessRequestId") + def delegated_resource_access_request_id(self) -> str: + return pulumi.get(self, "delegated_resource_access_request_id") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isProcessTreeEnabled") + def is_process_tree_enabled(self) -> Optional[bool]: + return pulumi.get(self, "is_process_tree_enabled") + + @property + @pulumi.getter(name="processTree") + def process_tree(self) -> str: + """ + The process tree data + """ + return pulumi.get(self, "process_tree") + + @property + @pulumi.getter + def report(self) -> str: + """ + Audit log report. + """ + return pulumi.get(self, "report") + + @property + @pulumi.getter(name="timeReportGenerated") + def time_report_generated(self) -> str: + """ + Time when the audit report was generated [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_report_generated") + + +class AwaitableGetDelegatedResourceAccessRequestAuditLogReportResult(GetDelegatedResourceAccessRequestAuditLogReportResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDelegatedResourceAccessRequestAuditLogReportResult( + audit_report_status=self.audit_report_status, + delegated_resource_access_request_id=self.delegated_resource_access_request_id, + id=self.id, + is_process_tree_enabled=self.is_process_tree_enabled, + process_tree=self.process_tree, + report=self.report, + time_report_generated=self.time_report_generated) + + +def get_delegated_resource_access_request_audit_log_report(delegated_resource_access_request_id: Optional[str] = None, + is_process_tree_enabled: Optional[bool] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegatedResourceAccessRequestAuditLogReportResult: + """ + This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Gets the audit log report for the given Delegated Resource Access Request. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegated_resource_access_request_audit_log_report = oci.DelegateAccessControl.get_delegated_resource_access_request_audit_log_report(delegated_resource_access_request_id=test_delegated_resource_access_request["id"], + is_process_tree_enabled=delegated_resource_access_request_audit_log_report_is_process_tree_enabled) + ``` + + + :param str delegated_resource_access_request_id: Unique Delegated Resource Access Request identifier + :param bool is_process_tree_enabled: Set to true to enable process tree computation in audit report + """ + __args__ = dict() + __args__['delegatedResourceAccessRequestId'] = delegated_resource_access_request_id + __args__['isProcessTreeEnabled'] = is_process_tree_enabled + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegatedResourceAccessRequestAuditLogReport:getDelegatedResourceAccessRequestAuditLogReport', __args__, opts=opts, typ=GetDelegatedResourceAccessRequestAuditLogReportResult).value + + return AwaitableGetDelegatedResourceAccessRequestAuditLogReportResult( + audit_report_status=pulumi.get(__ret__, 'audit_report_status'), + delegated_resource_access_request_id=pulumi.get(__ret__, 'delegated_resource_access_request_id'), + id=pulumi.get(__ret__, 'id'), + is_process_tree_enabled=pulumi.get(__ret__, 'is_process_tree_enabled'), + process_tree=pulumi.get(__ret__, 'process_tree'), + report=pulumi.get(__ret__, 'report'), + time_report_generated=pulumi.get(__ret__, 'time_report_generated')) + + +@_utilities.lift_output_func(get_delegated_resource_access_request_audit_log_report) +def get_delegated_resource_access_request_audit_log_report_output(delegated_resource_access_request_id: Optional[pulumi.Input[str]] = None, + is_process_tree_enabled: Optional[pulumi.Input[Optional[bool]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegatedResourceAccessRequestAuditLogReportResult]: + """ + This data source provides details about a specific Delegated Resource Access Request Audit Log Report resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Gets the audit log report for the given Delegated Resource Access Request. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegated_resource_access_request_audit_log_report = oci.DelegateAccessControl.get_delegated_resource_access_request_audit_log_report(delegated_resource_access_request_id=test_delegated_resource_access_request["id"], + is_process_tree_enabled=delegated_resource_access_request_audit_log_report_is_process_tree_enabled) + ``` + + + :param str delegated_resource_access_request_id: Unique Delegated Resource Access Request identifier + :param bool is_process_tree_enabled: Set to true to enable process tree computation in audit report + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py new file mode 100644 index 0000000000..af159a323d --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_request_histories.py @@ -0,0 +1,133 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDelegatedResourceAccessRequestHistoriesResult', + 'AwaitableGetDelegatedResourceAccessRequestHistoriesResult', + 'get_delegated_resource_access_request_histories', + 'get_delegated_resource_access_request_histories_output', +] + +@pulumi.output_type +class GetDelegatedResourceAccessRequestHistoriesResult: + """ + A collection of values returned by getDelegatedResourceAccessRequestHistories. + """ + def __init__(__self__, delegated_resource_access_request_history_collections=None, delegated_resource_access_request_id=None, filters=None, id=None): + if delegated_resource_access_request_history_collections and not isinstance(delegated_resource_access_request_history_collections, list): + raise TypeError("Expected argument 'delegated_resource_access_request_history_collections' to be a list") + pulumi.set(__self__, "delegated_resource_access_request_history_collections", delegated_resource_access_request_history_collections) + if delegated_resource_access_request_id and not isinstance(delegated_resource_access_request_id, str): + raise TypeError("Expected argument 'delegated_resource_access_request_id' to be a str") + pulumi.set(__self__, "delegated_resource_access_request_id", delegated_resource_access_request_id) + 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="delegatedResourceAccessRequestHistoryCollections") + def delegated_resource_access_request_history_collections(self) -> Sequence['outputs.GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionResult']: + """ + The list of delegated_resource_access_request_history_collection. + """ + return pulumi.get(self, "delegated_resource_access_request_history_collections") + + @property + @pulumi.getter(name="delegatedResourceAccessRequestId") + def delegated_resource_access_request_id(self) -> str: + return pulumi.get(self, "delegated_resource_access_request_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDelegatedResourceAccessRequestHistoriesFilterResult']]: + 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 AwaitableGetDelegatedResourceAccessRequestHistoriesResult(GetDelegatedResourceAccessRequestHistoriesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDelegatedResourceAccessRequestHistoriesResult( + delegated_resource_access_request_history_collections=self.delegated_resource_access_request_history_collections, + delegated_resource_access_request_id=self.delegated_resource_access_request_id, + filters=self.filters, + id=self.id) + + +def get_delegated_resource_access_request_histories(delegated_resource_access_request_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetDelegatedResourceAccessRequestHistoriesFilterArgs', 'GetDelegatedResourceAccessRequestHistoriesFilterArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegatedResourceAccessRequestHistoriesResult: + """ + This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. + + Returns a history of all status associated with the Delegated Resource Access RequestId. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegated_resource_access_request_histories = oci.DelegateAccessControl.get_delegated_resource_access_request_histories(delegated_resource_access_request_id=test_delegated_resource_access_request["id"]) + ``` + + + :param str delegated_resource_access_request_id: Unique Delegated Resource Access Request identifier + """ + __args__ = dict() + __args__['delegatedResourceAccessRequestId'] = delegated_resource_access_request_id + __args__['filters'] = filters + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegatedResourceAccessRequestHistories:getDelegatedResourceAccessRequestHistories', __args__, opts=opts, typ=GetDelegatedResourceAccessRequestHistoriesResult).value + + return AwaitableGetDelegatedResourceAccessRequestHistoriesResult( + delegated_resource_access_request_history_collections=pulumi.get(__ret__, 'delegated_resource_access_request_history_collections'), + delegated_resource_access_request_id=pulumi.get(__ret__, 'delegated_resource_access_request_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id')) + + +@_utilities.lift_output_func(get_delegated_resource_access_request_histories) +def get_delegated_resource_access_request_histories_output(delegated_resource_access_request_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDelegatedResourceAccessRequestHistoriesFilterArgs', 'GetDelegatedResourceAccessRequestHistoriesFilterArgsDict']]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegatedResourceAccessRequestHistoriesResult]: + """ + This data source provides the list of Delegated Resource Access Request Histories in Oracle Cloud Infrastructure Delegate Access Control service. + + Returns a history of all status associated with the Delegated Resource Access RequestId. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegated_resource_access_request_histories = oci.DelegateAccessControl.get_delegated_resource_access_request_histories(delegated_resource_access_request_id=test_delegated_resource_access_request["id"]) + ``` + + + :param str delegated_resource_access_request_id: Unique Delegated Resource Access Request identifier + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py new file mode 100644 index 0000000000..10ad63de87 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegated_resource_access_requests.py @@ -0,0 +1,250 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDelegatedResourceAccessRequestsResult', + 'AwaitableGetDelegatedResourceAccessRequestsResult', + 'get_delegated_resource_access_requests', + 'get_delegated_resource_access_requests_output', +] + +@pulumi.output_type +class GetDelegatedResourceAccessRequestsResult: + """ + A collection of values returned by getDelegatedResourceAccessRequests. + """ + def __init__(__self__, compartment_id=None, delegated_resource_access_request_summary_collections=None, delegation_control_id=None, filters=None, id=None, request_status=None, resource_id=None, state=None, time_end=None, time_start=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 delegated_resource_access_request_summary_collections and not isinstance(delegated_resource_access_request_summary_collections, list): + raise TypeError("Expected argument 'delegated_resource_access_request_summary_collections' to be a list") + pulumi.set(__self__, "delegated_resource_access_request_summary_collections", delegated_resource_access_request_summary_collections) + if delegation_control_id and not isinstance(delegation_control_id, str): + raise TypeError("Expected argument 'delegation_control_id' to be a str") + pulumi.set(__self__, "delegation_control_id", delegation_control_id) + 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 request_status and not isinstance(request_status, str): + raise TypeError("Expected argument 'request_status' to be a str") + pulumi.set(__self__, "request_status", request_status) + if resource_id and not isinstance(resource_id, str): + raise TypeError("Expected argument 'resource_id' to be a str") + pulumi.set(__self__, "resource_id", resource_id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if time_end and not isinstance(time_end, str): + raise TypeError("Expected argument 'time_end' to be a str") + pulumi.set(__self__, "time_end", time_end) + if time_start and not isinstance(time_start, str): + raise TypeError("Expected argument 'time_start' to be a str") + pulumi.set(__self__, "time_start", time_start) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The OCID of the compartment that contains the Delegated Resource Access Request. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="delegatedResourceAccessRequestSummaryCollections") + def delegated_resource_access_request_summary_collections(self) -> Sequence['outputs.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionResult']: + """ + The list of delegated_resource_access_request_summary_collection. + """ + return pulumi.get(self, "delegated_resource_access_request_summary_collections") + + @property + @pulumi.getter(name="delegationControlId") + def delegation_control_id(self) -> Optional[str]: + """ + The OCID of the Delegation Control governing the target resource. + """ + return pulumi.get(self, "delegation_control_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDelegatedResourceAccessRequestsFilterResult']]: + 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(name="requestStatus") + def request_status(self) -> Optional[str]: + """ + The current status of the Delegated Resource Access Request. + """ + return pulumi.get(self, "request_status") + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> Optional[str]: + """ + The OCID of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + """ + return pulumi.get(self, "resource_id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The current lifecycle state of the Delegated Resource Access Request. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="timeEnd") + def time_end(self) -> Optional[str]: + return pulumi.get(self, "time_end") + + @property + @pulumi.getter(name="timeStart") + def time_start(self) -> Optional[str]: + return pulumi.get(self, "time_start") + + +class AwaitableGetDelegatedResourceAccessRequestsResult(GetDelegatedResourceAccessRequestsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDelegatedResourceAccessRequestsResult( + compartment_id=self.compartment_id, + delegated_resource_access_request_summary_collections=self.delegated_resource_access_request_summary_collections, + delegation_control_id=self.delegation_control_id, + filters=self.filters, + id=self.id, + request_status=self.request_status, + resource_id=self.resource_id, + state=self.state, + time_end=self.time_end, + time_start=self.time_start) + + +def get_delegated_resource_access_requests(compartment_id: Optional[str] = None, + delegation_control_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetDelegatedResourceAccessRequestsFilterArgs', 'GetDelegatedResourceAccessRequestsFilterArgsDict']]] = None, + request_status: Optional[str] = None, + resource_id: Optional[str] = None, + state: Optional[str] = None, + time_end: Optional[str] = None, + time_start: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegatedResourceAccessRequestsResult: + """ + This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. + + Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegated_resource_access_requests = oci.DelegateAccessControl.get_delegated_resource_access_requests(compartment_id=compartment_id, + delegation_control_id=test_delegation_control["id"], + request_status=delegated_resource_access_request_request_status, + resource_id=test_resource["id"], + state=delegated_resource_access_request_state, + time_end=delegated_resource_access_request_time_end, + time_start=delegated_resource_access_request_time_start) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str delegation_control_id: unique Delegation Control identifier + :param str request_status: A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + :param str resource_id: A filter to return only Delegated Resource Access Requests for the given resource identifier. + :param str state: A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + :param str time_end: Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + :param str time_start: Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['delegationControlId'] = delegation_control_id + __args__['filters'] = filters + __args__['requestStatus'] = request_status + __args__['resourceId'] = resource_id + __args__['state'] = state + __args__['timeEnd'] = time_end + __args__['timeStart'] = time_start + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegatedResourceAccessRequests:getDelegatedResourceAccessRequests', __args__, opts=opts, typ=GetDelegatedResourceAccessRequestsResult).value + + return AwaitableGetDelegatedResourceAccessRequestsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + delegated_resource_access_request_summary_collections=pulumi.get(__ret__, 'delegated_resource_access_request_summary_collections'), + delegation_control_id=pulumi.get(__ret__, 'delegation_control_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + request_status=pulumi.get(__ret__, 'request_status'), + resource_id=pulumi.get(__ret__, 'resource_id'), + state=pulumi.get(__ret__, 'state'), + time_end=pulumi.get(__ret__, 'time_end'), + time_start=pulumi.get(__ret__, 'time_start')) + + +@_utilities.lift_output_func(get_delegated_resource_access_requests) +def get_delegated_resource_access_requests_output(compartment_id: Optional[pulumi.Input[str]] = None, + delegation_control_id: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDelegatedResourceAccessRequestsFilterArgs', 'GetDelegatedResourceAccessRequestsFilterArgsDict']]]]] = None, + request_status: Optional[pulumi.Input[Optional[str]]] = None, + resource_id: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + time_end: Optional[pulumi.Input[Optional[str]]] = None, + time_start: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegatedResourceAccessRequestsResult]: + """ + This data source provides the list of Delegated Resource Access Requests in Oracle Cloud Infrastructure Delegate Access Control service. + + Lists all Delegated Resource Access Requests in the compartment. Note that only one of lifecycleState or requestStatus query parameter can be used. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegated_resource_access_requests = oci.DelegateAccessControl.get_delegated_resource_access_requests(compartment_id=compartment_id, + delegation_control_id=test_delegation_control["id"], + request_status=delegated_resource_access_request_request_status, + resource_id=test_resource["id"], + state=delegated_resource_access_request_state, + time_end=delegated_resource_access_request_time_end, + time_start=delegated_resource_access_request_time_start) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str delegation_control_id: unique Delegation Control identifier + :param str request_status: A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + :param str resource_id: A filter to return only Delegated Resource Access Requests for the given resource identifier. + :param str state: A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + :param str time_end: Query end time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + :param str time_start: Query start time in UTC in ISO 8601 format(inclusive). Example 2019-10-30T00:00:00Z (yyyy-MM-ddThh:mm:ssZ). timeIntervalStart and timeIntervalEnd parameters cannot be used together. + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_control.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_control.py new file mode 100644 index 0000000000..0180bcab53 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_control.py @@ -0,0 +1,378 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = [ + 'GetDelegationControlResult', + 'AwaitableGetDelegationControlResult', + 'get_delegation_control', + 'get_delegation_control_output', +] + +@pulumi.output_type +class GetDelegationControlResult: + """ + A collection of values returned by getDelegationControl. + """ + def __init__(__self__, compartment_id=None, defined_tags=None, delegation_control_id=None, delegation_subscription_ids=None, description=None, display_name=None, freeform_tags=None, id=None, is_auto_approve_during_maintenance=None, lifecycle_state_details=None, notification_message_format=None, notification_topic_id=None, num_approvals_required=None, pre_approved_service_provider_action_names=None, resource_ids=None, resource_type=None, state=None, system_tags=None, time_created=None, time_deleted=None, time_updated=None, vault_id=None, vault_key_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 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 delegation_control_id and not isinstance(delegation_control_id, str): + raise TypeError("Expected argument 'delegation_control_id' to be a str") + pulumi.set(__self__, "delegation_control_id", delegation_control_id) + if delegation_subscription_ids and not isinstance(delegation_subscription_ids, list): + raise TypeError("Expected argument 'delegation_subscription_ids' to be a list") + pulumi.set(__self__, "delegation_subscription_ids", delegation_subscription_ids) + 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 is_auto_approve_during_maintenance and not isinstance(is_auto_approve_during_maintenance, bool): + raise TypeError("Expected argument 'is_auto_approve_during_maintenance' to be a bool") + pulumi.set(__self__, "is_auto_approve_during_maintenance", is_auto_approve_during_maintenance) + if lifecycle_state_details and not isinstance(lifecycle_state_details, str): + raise TypeError("Expected argument 'lifecycle_state_details' to be a str") + pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + if notification_message_format and not isinstance(notification_message_format, str): + raise TypeError("Expected argument 'notification_message_format' to be a str") + pulumi.set(__self__, "notification_message_format", notification_message_format) + if notification_topic_id and not isinstance(notification_topic_id, str): + raise TypeError("Expected argument 'notification_topic_id' to be a str") + pulumi.set(__self__, "notification_topic_id", notification_topic_id) + if num_approvals_required and not isinstance(num_approvals_required, int): + raise TypeError("Expected argument 'num_approvals_required' to be a int") + pulumi.set(__self__, "num_approvals_required", num_approvals_required) + if pre_approved_service_provider_action_names and not isinstance(pre_approved_service_provider_action_names, list): + raise TypeError("Expected argument 'pre_approved_service_provider_action_names' to be a list") + pulumi.set(__self__, "pre_approved_service_provider_action_names", pre_approved_service_provider_action_names) + if resource_ids and not isinstance(resource_ids, list): + raise TypeError("Expected argument 'resource_ids' to be a list") + pulumi.set(__self__, "resource_ids", resource_ids) + if resource_type and not isinstance(resource_type, str): + raise TypeError("Expected argument 'resource_type' to be a str") + pulumi.set(__self__, "resource_type", resource_type) + 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_deleted and not isinstance(time_deleted, str): + raise TypeError("Expected argument 'time_deleted' to be a str") + pulumi.set(__self__, "time_deleted", time_deleted) + 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 vault_id and not isinstance(vault_id, str): + raise TypeError("Expected argument 'vault_id' to be a str") + pulumi.set(__self__, "vault_id", vault_id) + if vault_key_id and not isinstance(vault_key_id, str): + raise TypeError("Expected argument 'vault_key_id' to be a str") + pulumi.set(__self__, "vault_key_id", vault_key_id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The OCID of the compartment that contains the Delegation Control. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="delegationControlId") + def delegation_control_id(self) -> str: + return pulumi.get(self, "delegation_control_id") + + @property + @pulumi.getter(name="delegationSubscriptionIds") + def delegation_subscription_ids(self) -> Sequence[str]: + """ + List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + """ + return pulumi.get(self, "delegation_subscription_ids") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the Delegation Control. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Name of the Delegation Control. The name does not need to be unique. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + The OCID of the Delegation Control. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isAutoApproveDuringMaintenance") + def is_auto_approve_during_maintenance(self) -> bool: + """ + Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + """ + return pulumi.get(self, "is_auto_approve_during_maintenance") + + @property + @pulumi.getter(name="lifecycleStateDetails") + def lifecycle_state_details(self) -> str: + """ + Description of the current lifecycle state in more detail. + """ + return pulumi.get(self, "lifecycle_state_details") + + @property + @pulumi.getter(name="notificationMessageFormat") + def notification_message_format(self) -> str: + """ + The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + """ + return pulumi.get(self, "notification_message_format") + + @property + @pulumi.getter(name="notificationTopicId") + def notification_topic_id(self) -> str: + """ + The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + """ + return pulumi.get(self, "notification_topic_id") + + @property + @pulumi.getter(name="numApprovalsRequired") + def num_approvals_required(self) -> int: + """ + number of approvals required. + """ + return pulumi.get(self, "num_approvals_required") + + @property + @pulumi.getter(name="preApprovedServiceProviderActionNames") + def pre_approved_service_provider_action_names(self) -> Sequence[str]: + """ + List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + """ + return pulumi.get(self, "pre_approved_service_provider_action_names") + + @property + @pulumi.getter(name="resourceIds") + def resource_ids(self) -> Sequence[str]: + """ + The OCID of the selected resources that this Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_ids") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> str: + """ + Resource type for which the Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current lifecycle state of the Delegation Control. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + 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: + """ + Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeDeleted") + def time_deleted(self) -> str: + """ + Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + """ + return pulumi.get(self, "time_deleted") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="vaultId") + def vault_id(self) -> str: + """ + The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + """ + return pulumi.get(self, "vault_id") + + @property + @pulumi.getter(name="vaultKeyId") + def vault_key_id(self) -> str: + """ + The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + """ + return pulumi.get(self, "vault_key_id") + + +class AwaitableGetDelegationControlResult(GetDelegationControlResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDelegationControlResult( + compartment_id=self.compartment_id, + defined_tags=self.defined_tags, + delegation_control_id=self.delegation_control_id, + delegation_subscription_ids=self.delegation_subscription_ids, + description=self.description, + display_name=self.display_name, + freeform_tags=self.freeform_tags, + id=self.id, + is_auto_approve_during_maintenance=self.is_auto_approve_during_maintenance, + lifecycle_state_details=self.lifecycle_state_details, + notification_message_format=self.notification_message_format, + notification_topic_id=self.notification_topic_id, + num_approvals_required=self.num_approvals_required, + pre_approved_service_provider_action_names=self.pre_approved_service_provider_action_names, + resource_ids=self.resource_ids, + resource_type=self.resource_type, + state=self.state, + system_tags=self.system_tags, + time_created=self.time_created, + time_deleted=self.time_deleted, + time_updated=self.time_updated, + vault_id=self.vault_id, + vault_key_id=self.vault_key_id) + + +def get_delegation_control(delegation_control_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegationControlResult: + """ + This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Gets the Delegation Control associated with the specified Delegation Control ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegation_control = oci.DelegateAccessControl.get_delegation_control(delegation_control_id=test_delegation_control_oci_delegate_access_control_delegation_control["id"]) + ``` + + + :param str delegation_control_id: unique Delegation Control identifier + """ + __args__ = dict() + __args__['delegationControlId'] = delegation_control_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegationControl:getDelegationControl', __args__, opts=opts, typ=GetDelegationControlResult).value + + return AwaitableGetDelegationControlResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + delegation_control_id=pulumi.get(__ret__, 'delegation_control_id'), + delegation_subscription_ids=pulumi.get(__ret__, 'delegation_subscription_ids'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + is_auto_approve_during_maintenance=pulumi.get(__ret__, 'is_auto_approve_during_maintenance'), + lifecycle_state_details=pulumi.get(__ret__, 'lifecycle_state_details'), + notification_message_format=pulumi.get(__ret__, 'notification_message_format'), + notification_topic_id=pulumi.get(__ret__, 'notification_topic_id'), + num_approvals_required=pulumi.get(__ret__, 'num_approvals_required'), + pre_approved_service_provider_action_names=pulumi.get(__ret__, 'pre_approved_service_provider_action_names'), + resource_ids=pulumi.get(__ret__, 'resource_ids'), + resource_type=pulumi.get(__ret__, 'resource_type'), + state=pulumi.get(__ret__, 'state'), + system_tags=pulumi.get(__ret__, 'system_tags'), + time_created=pulumi.get(__ret__, 'time_created'), + time_deleted=pulumi.get(__ret__, 'time_deleted'), + time_updated=pulumi.get(__ret__, 'time_updated'), + vault_id=pulumi.get(__ret__, 'vault_id'), + vault_key_id=pulumi.get(__ret__, 'vault_key_id')) + + +@_utilities.lift_output_func(get_delegation_control) +def get_delegation_control_output(delegation_control_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegationControlResult]: + """ + This data source provides details about a specific Delegation Control resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Gets the Delegation Control associated with the specified Delegation Control ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegation_control = oci.DelegateAccessControl.get_delegation_control(delegation_control_id=test_delegation_control_oci_delegate_access_control_delegation_control["id"]) + ``` + + + :param str delegation_control_id: unique Delegation Control identifier + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py new file mode 100644 index 0000000000..dcde7bfe45 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_control_resources.py @@ -0,0 +1,133 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDelegationControlResourcesResult', + 'AwaitableGetDelegationControlResourcesResult', + 'get_delegation_control_resources', + 'get_delegation_control_resources_output', +] + +@pulumi.output_type +class GetDelegationControlResourcesResult: + """ + A collection of values returned by getDelegationControlResources. + """ + def __init__(__self__, delegation_control_id=None, delegation_control_resource_collections=None, filters=None, id=None): + if delegation_control_id and not isinstance(delegation_control_id, str): + raise TypeError("Expected argument 'delegation_control_id' to be a str") + pulumi.set(__self__, "delegation_control_id", delegation_control_id) + if delegation_control_resource_collections and not isinstance(delegation_control_resource_collections, list): + raise TypeError("Expected argument 'delegation_control_resource_collections' to be a list") + pulumi.set(__self__, "delegation_control_resource_collections", delegation_control_resource_collections) + 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="delegationControlId") + def delegation_control_id(self) -> str: + return pulumi.get(self, "delegation_control_id") + + @property + @pulumi.getter(name="delegationControlResourceCollections") + def delegation_control_resource_collections(self) -> Sequence['outputs.GetDelegationControlResourcesDelegationControlResourceCollectionResult']: + """ + The list of delegation_control_resource_collection. + """ + return pulumi.get(self, "delegation_control_resource_collections") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDelegationControlResourcesFilterResult']]: + 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 AwaitableGetDelegationControlResourcesResult(GetDelegationControlResourcesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDelegationControlResourcesResult( + delegation_control_id=self.delegation_control_id, + delegation_control_resource_collections=self.delegation_control_resource_collections, + filters=self.filters, + id=self.id) + + +def get_delegation_control_resources(delegation_control_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetDelegationControlResourcesFilterArgs', 'GetDelegationControlResourcesFilterArgsDict']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegationControlResourcesResult: + """ + This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. + + Returns a list of resources associated with the Delegation Control. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegation_control_resources = oci.DelegateAccessControl.get_delegation_control_resources(delegation_control_id=test_delegation_control["id"]) + ``` + + + :param str delegation_control_id: unique Delegation Control identifier + """ + __args__ = dict() + __args__['delegationControlId'] = delegation_control_id + __args__['filters'] = filters + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegationControlResources:getDelegationControlResources', __args__, opts=opts, typ=GetDelegationControlResourcesResult).value + + return AwaitableGetDelegationControlResourcesResult( + delegation_control_id=pulumi.get(__ret__, 'delegation_control_id'), + delegation_control_resource_collections=pulumi.get(__ret__, 'delegation_control_resource_collections'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id')) + + +@_utilities.lift_output_func(get_delegation_control_resources) +def get_delegation_control_resources_output(delegation_control_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDelegationControlResourcesFilterArgs', 'GetDelegationControlResourcesFilterArgsDict']]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegationControlResourcesResult]: + """ + This data source provides the list of Delegation Control Resources in Oracle Cloud Infrastructure Delegate Access Control service. + + Returns a list of resources associated with the Delegation Control. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegation_control_resources = oci.DelegateAccessControl.get_delegation_control_resources(delegation_control_id=test_delegation_control["id"]) + ``` + + + :param str delegation_control_id: unique Delegation Control identifier + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_controls.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_controls.py new file mode 100644 index 0000000000..71f3257f04 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_controls.py @@ -0,0 +1,213 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDelegationControlsResult', + 'AwaitableGetDelegationControlsResult', + 'get_delegation_controls', + 'get_delegation_controls_output', +] + +@pulumi.output_type +class GetDelegationControlsResult: + """ + A collection of values returned by getDelegationControls. + """ + def __init__(__self__, compartment_id=None, delegation_control_summary_collections=None, display_name=None, filters=None, id=None, resource_id=None, resource_type=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 delegation_control_summary_collections and not isinstance(delegation_control_summary_collections, list): + raise TypeError("Expected argument 'delegation_control_summary_collections' to be a list") + pulumi.set(__self__, "delegation_control_summary_collections", delegation_control_summary_collections) + 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 resource_id and not isinstance(resource_id, str): + raise TypeError("Expected argument 'resource_id' to be a str") + pulumi.set(__self__, "resource_id", resource_id) + if resource_type and not isinstance(resource_type, str): + raise TypeError("Expected argument 'resource_type' to be a str") + pulumi.set(__self__, "resource_type", resource_type) + 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 of the compartment that contains the Delegation Control. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="delegationControlSummaryCollections") + def delegation_control_summary_collections(self) -> Sequence['outputs.GetDelegationControlsDelegationControlSummaryCollectionResult']: + """ + The list of delegation_control_summary_collection. + """ + return pulumi.get(self, "delegation_control_summary_collections") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + Name of the Delegation Control. The name does not need to be unique. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDelegationControlsFilterResult']]: + 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(name="resourceId") + def resource_id(self) -> Optional[str]: + return pulumi.get(self, "resource_id") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> Optional[str]: + """ + Resource type for which the Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The current lifecycle state of the Delegation Control. + """ + return pulumi.get(self, "state") + + +class AwaitableGetDelegationControlsResult(GetDelegationControlsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDelegationControlsResult( + compartment_id=self.compartment_id, + delegation_control_summary_collections=self.delegation_control_summary_collections, + display_name=self.display_name, + filters=self.filters, + id=self.id, + resource_id=self.resource_id, + resource_type=self.resource_type, + state=self.state) + + +def get_delegation_controls(compartment_id: Optional[str] = None, + display_name: Optional[str] = None, + filters: Optional[Sequence[Union['GetDelegationControlsFilterArgs', 'GetDelegationControlsFilterArgsDict']]] = None, + resource_id: Optional[str] = None, + resource_type: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegationControlsResult: + """ + This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. + + Lists the Delegation Controls in the compartment. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegation_controls = oci.DelegateAccessControl.get_delegation_controls(compartment_id=compartment_id, + display_name=delegation_control_display_name, + resource_id=test_resource["id"], + resource_type=delegation_control_resource_type, + state=delegation_control_state) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str display_name: A filter to return Delegation Control resources that match the given display name. + :param str resource_id: A filter to return Delegation Control resources that match the given resource ID. + :param str resource_type: A filter to return only resources that match the given resource type. + :param str state: A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['resourceId'] = resource_id + __args__['resourceType'] = resource_type + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegationControls:getDelegationControls', __args__, opts=opts, typ=GetDelegationControlsResult).value + + return AwaitableGetDelegationControlsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + delegation_control_summary_collections=pulumi.get(__ret__, 'delegation_control_summary_collections'), + display_name=pulumi.get(__ret__, 'display_name'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + resource_id=pulumi.get(__ret__, 'resource_id'), + resource_type=pulumi.get(__ret__, 'resource_type'), + state=pulumi.get(__ret__, 'state')) + + +@_utilities.lift_output_func(get_delegation_controls) +def get_delegation_controls_output(compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDelegationControlsFilterArgs', 'GetDelegationControlsFilterArgsDict']]]]] = None, + resource_id: Optional[pulumi.Input[Optional[str]]] = None, + resource_type: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegationControlsResult]: + """ + This data source provides the list of Delegation Controls in Oracle Cloud Infrastructure Delegate Access Control service. + + Lists the Delegation Controls in the compartment. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegation_controls = oci.DelegateAccessControl.get_delegation_controls(compartment_id=compartment_id, + display_name=delegation_control_display_name, + resource_id=test_resource["id"], + resource_type=delegation_control_resource_type, + state=delegation_control_state) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str display_name: A filter to return Delegation Control resources that match the given display name. + :param str resource_id: A filter to return Delegation Control resources that match the given resource ID. + :param str resource_type: A filter to return only resources that match the given resource type. + :param str state: A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + """ + ... diff --git a/sdk/python/pulumi_oci/globallydistributeddatabase/get_private_endpoint.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_subscription.py similarity index 50% rename from sdk/python/pulumi_oci/globallydistributeddatabase/get_private_endpoint.py rename to sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_subscription.py index f7bb380a78..a2ecf4a65f 100644 --- a/sdk/python/pulumi_oci/globallydistributeddatabase/get_private_endpoint.py +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_subscription.py @@ -10,24 +10,27 @@ from .. import _utilities __all__ = [ - 'GetPrivateEndpointResult', - 'AwaitableGetPrivateEndpointResult', - 'get_private_endpoint', - 'get_private_endpoint_output', + 'GetDelegationSubscriptionResult', + 'AwaitableGetDelegationSubscriptionResult', + 'get_delegation_subscription', + 'get_delegation_subscription_output', ] @pulumi.output_type -class GetPrivateEndpointResult: +class GetDelegationSubscriptionResult: """ - A collection of values returned by getPrivateEndpoint. + A collection of values returned by getDelegationSubscription. """ - def __init__(__self__, compartment_id=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_state_details=None, nsg_ids=None, private_endpoint_id=None, private_ip=None, sharded_databases=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_updated=None, vcn_id=None): + def __init__(__self__, compartment_id=None, defined_tags=None, delegation_subscription_id=None, description=None, display_name=None, freeform_tags=None, id=None, lifecycle_state_details=None, service_provider_id=None, state=None, subscribed_service_type=None, system_tags=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 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 delegation_subscription_id and not isinstance(delegation_subscription_id, str): + raise TypeError("Expected argument 'delegation_subscription_id' to be a str") + pulumi.set(__self__, "delegation_subscription_id", delegation_subscription_id) if description and not isinstance(description, str): raise TypeError("Expected argument 'description' to be a str") pulumi.set(__self__, "description", description) @@ -43,24 +46,15 @@ def __init__(__self__, compartment_id=None, defined_tags=None, description=None, if lifecycle_state_details and not isinstance(lifecycle_state_details, str): raise TypeError("Expected argument 'lifecycle_state_details' to be a str") pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_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 private_endpoint_id and not isinstance(private_endpoint_id, str): - raise TypeError("Expected argument 'private_endpoint_id' to be a str") - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) - if private_ip and not isinstance(private_ip, str): - raise TypeError("Expected argument 'private_ip' to be a str") - pulumi.set(__self__, "private_ip", private_ip) - if sharded_databases and not isinstance(sharded_databases, list): - raise TypeError("Expected argument 'sharded_databases' to be a list") - pulumi.set(__self__, "sharded_databases", sharded_databases) + if service_provider_id and not isinstance(service_provider_id, str): + raise TypeError("Expected argument 'service_provider_id' to be a str") + pulumi.set(__self__, "service_provider_id", service_provider_id) 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 subscribed_service_type and not isinstance(subscribed_service_type, str): + raise TypeError("Expected argument 'subscribed_service_type' to be a str") + pulumi.set(__self__, "subscribed_service_type", subscribed_service_type) 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) @@ -70,15 +64,12 @@ def __init__(__self__, compartment_id=None, defined_tags=None, description=None, 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 vcn_id and not isinstance(vcn_id, str): - raise TypeError("Expected argument 'vcn_id' to be a str") - pulumi.set(__self__, "vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> str: """ - Identifier of the compartment in which private endpoint exists. + The OCID of the compartment that contains the Delegation Subscription. """ return pulumi.get(self, "compartment_id") @@ -86,15 +77,20 @@ def compartment_id(self) -> str: @pulumi.getter(name="definedTags") def defined_tags(self) -> Mapping[str, str]: """ - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + 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"}` """ return pulumi.get(self, "defined_tags") + @property + @pulumi.getter(name="delegationSubscriptionId") + def delegation_subscription_id(self) -> str: + return pulumi.get(self, "delegation_subscription_id") + @property @pulumi.getter def description(self) -> str: """ - PrivateEndpoint description. + Description of the Delegation Subscription. """ return pulumi.get(self, "description") @@ -102,7 +98,7 @@ def description(self) -> str: @pulumi.getter(name="displayName") def display_name(self) -> str: """ - PrivateEndpoint display name. + Display name """ return pulumi.get(self, "display_name") @@ -110,7 +106,7 @@ def display_name(self) -> str: @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Mapping[str, str]: """ - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + 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"}` """ return pulumi.get(self, "freeform_tags") @@ -118,7 +114,7 @@ def freeform_tags(self) -> Mapping[str, str]: @pulumi.getter def id(self) -> str: """ - The identifier of the Private Endpoint. + Unique identifier for the Delegation Subscription. """ return pulumi.get(self, "id") @@ -126,60 +122,39 @@ def id(self) -> str: @pulumi.getter(name="lifecycleStateDetails") def lifecycle_state_details(self) -> str: """ - Detailed message for the lifecycle state. + Description of the current lifecycle state in more detail. """ return pulumi.get(self, "lifecycle_state_details") @property - @pulumi.getter(name="nsgIds") - def nsg_ids(self) -> Sequence[str]: - """ - The OCIDs of the network security groups that the private endpoint belongs to. - """ - return pulumi.get(self, "nsg_ids") - - @property - @pulumi.getter(name="privateEndpointId") - def private_endpoint_id(self) -> str: - return pulumi.get(self, "private_endpoint_id") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: + @pulumi.getter(name="serviceProviderId") + def service_provider_id(self) -> str: """ - IP address of the Private Endpoint. + Unique identifier of the Service Provider. """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="shardedDatabases") - def sharded_databases(self) -> Sequence[str]: - """ - The OCIDs of sharded databases that consumes the given private endpoint. - """ - return pulumi.get(self, "sharded_databases") + return pulumi.get(self, "service_provider_id") @property @pulumi.getter def state(self) -> str: """ - Lifecycle states for private endpoint. + The current lifecycle state of the Service Provider. """ return pulumi.get(self, "state") @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: + @pulumi.getter(name="subscribedServiceType") + def subscribed_service_type(self) -> str: """ - Identifier of the subnet in which private endpoint exists. + Subscribed Service Provider Service Type. """ - return pulumi.get(self, "subnet_id") + return pulumi.get(self, "subscribed_service_type") @property @pulumi.getter(name="systemTags") def system_tags(self) -> Mapping[str, str]: """ - Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` + 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") @@ -187,7 +162,7 @@ def system_tags(self) -> Mapping[str, str]: @pulumi.getter(name="timeCreated") def time_created(self) -> str: """ - The time the PrivateEndpoint was first created. An RFC3339 formatted datetime string + Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' """ return pulumi.get(self, "time_created") @@ -195,50 +170,39 @@ def time_created(self) -> str: @pulumi.getter(name="timeUpdated") def time_updated(self) -> str: """ - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string + Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' """ return pulumi.get(self, "time_updated") - @property - @pulumi.getter(name="vcnId") - def vcn_id(self) -> str: - """ - Identifier of the VCN in which subnet exists. - """ - return pulumi.get(self, "vcn_id") - -class AwaitableGetPrivateEndpointResult(GetPrivateEndpointResult): +class AwaitableGetDelegationSubscriptionResult(GetDelegationSubscriptionResult): # pylint: disable=using-constant-test def __await__(self): if False: yield self - return GetPrivateEndpointResult( + return GetDelegationSubscriptionResult( compartment_id=self.compartment_id, defined_tags=self.defined_tags, + delegation_subscription_id=self.delegation_subscription_id, description=self.description, display_name=self.display_name, freeform_tags=self.freeform_tags, id=self.id, lifecycle_state_details=self.lifecycle_state_details, - nsg_ids=self.nsg_ids, - private_endpoint_id=self.private_endpoint_id, - private_ip=self.private_ip, - sharded_databases=self.sharded_databases, + service_provider_id=self.service_provider_id, state=self.state, - subnet_id=self.subnet_id, + subscribed_service_type=self.subscribed_service_type, system_tags=self.system_tags, time_created=self.time_created, - time_updated=self.time_updated, - vcn_id=self.vcn_id) + time_updated=self.time_updated) -def get_private_endpoint(private_endpoint_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointResult: +def get_delegation_subscription(delegation_subscription_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegationSubscriptionResult: """ - This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. + This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. - Get the PrivateEndpoint resource. + Gets a DelegationSubscription by identifier ## Example Usage @@ -246,44 +210,41 @@ def get_private_endpoint(private_endpoint_id: Optional[str] = None, import pulumi import pulumi_oci as oci - test_private_endpoint = oci.GloballyDistributedDatabase.get_private_endpoint(private_endpoint_id=test_private_endpoint_oci_globally_distributed_database_private_endpoint["id"]) + test_delegation_subscription = oci.DelegateAccessControl.get_delegation_subscription(delegation_subscription_id=test_delegation_subscription_oci_delegate_access_control_delegation_subscription["id"]) ``` - :param str private_endpoint_id: Oracle Sharded Database PrivateEndpoint identifier + :param str delegation_subscription_id: unique Delegation Subscription identifier """ __args__ = dict() - __args__['privateEndpointId'] = private_endpoint_id + __args__['delegationSubscriptionId'] = delegation_subscription_id opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('oci:GloballyDistributedDatabase/getPrivateEndpoint:getPrivateEndpoint', __args__, opts=opts, typ=GetPrivateEndpointResult).value + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getDelegationSubscription:getDelegationSubscription', __args__, opts=opts, typ=GetDelegationSubscriptionResult).value - return AwaitableGetPrivateEndpointResult( + return AwaitableGetDelegationSubscriptionResult( compartment_id=pulumi.get(__ret__, 'compartment_id'), defined_tags=pulumi.get(__ret__, 'defined_tags'), + delegation_subscription_id=pulumi.get(__ret__, 'delegation_subscription_id'), description=pulumi.get(__ret__, 'description'), display_name=pulumi.get(__ret__, 'display_name'), freeform_tags=pulumi.get(__ret__, 'freeform_tags'), id=pulumi.get(__ret__, 'id'), lifecycle_state_details=pulumi.get(__ret__, 'lifecycle_state_details'), - nsg_ids=pulumi.get(__ret__, 'nsg_ids'), - private_endpoint_id=pulumi.get(__ret__, 'private_endpoint_id'), - private_ip=pulumi.get(__ret__, 'private_ip'), - sharded_databases=pulumi.get(__ret__, 'sharded_databases'), + service_provider_id=pulumi.get(__ret__, 'service_provider_id'), state=pulumi.get(__ret__, 'state'), - subnet_id=pulumi.get(__ret__, 'subnet_id'), + subscribed_service_type=pulumi.get(__ret__, 'subscribed_service_type'), system_tags=pulumi.get(__ret__, 'system_tags'), time_created=pulumi.get(__ret__, 'time_created'), - time_updated=pulumi.get(__ret__, 'time_updated'), - vcn_id=pulumi.get(__ret__, 'vcn_id')) + time_updated=pulumi.get(__ret__, 'time_updated')) -@_utilities.lift_output_func(get_private_endpoint) -def get_private_endpoint_output(private_endpoint_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointResult]: +@_utilities.lift_output_func(get_delegation_subscription) +def get_delegation_subscription_output(delegation_subscription_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegationSubscriptionResult]: """ - This data source provides details about a specific Private Endpoint resource in Oracle Cloud Infrastructure Globally Distributed Database service. + This data source provides details about a specific Delegation Subscription resource in Oracle Cloud Infrastructure Delegate Access Control service. - Get the PrivateEndpoint resource. + Gets a DelegationSubscription by identifier ## Example Usage @@ -291,10 +252,10 @@ def get_private_endpoint_output(private_endpoint_id: Optional[pulumi.Input[str]] import pulumi import pulumi_oci as oci - test_private_endpoint = oci.GloballyDistributedDatabase.get_private_endpoint(private_endpoint_id=test_private_endpoint_oci_globally_distributed_database_private_endpoint["id"]) + test_delegation_subscription = oci.DelegateAccessControl.get_delegation_subscription(delegation_subscription_id=test_delegation_subscription_oci_delegate_access_control_delegation_subscription["id"]) ``` - :param str private_endpoint_id: Oracle Sharded Database PrivateEndpoint identifier + :param str delegation_subscription_id: unique Delegation Subscription identifier """ ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py new file mode 100644 index 0000000000..fca7132c0a --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_delegation_subscriptions.py @@ -0,0 +1,176 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDelegationSubscriptionsResult', + 'AwaitableGetDelegationSubscriptionsResult', + 'get_delegation_subscriptions', + 'get_delegation_subscriptions_output', +] + +@pulumi.output_type +class GetDelegationSubscriptionsResult: + """ + A collection of values returned by getDelegationSubscriptions. + """ + def __init__(__self__, compartment_id=None, delegation_subscription_summary_collections=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 delegation_subscription_summary_collections and not isinstance(delegation_subscription_summary_collections, list): + raise TypeError("Expected argument 'delegation_subscription_summary_collections' to be a list") + pulumi.set(__self__, "delegation_subscription_summary_collections", delegation_subscription_summary_collections) + 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 of the compartment that contains the Delegation Subscription. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="delegationSubscriptionSummaryCollections") + def delegation_subscription_summary_collections(self) -> Sequence['outputs.GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionResult']: + """ + The list of delegation_subscription_summary_collection. + """ + return pulumi.get(self, "delegation_subscription_summary_collections") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + Display name + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDelegationSubscriptionsFilterResult']]: + 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 lifecycle state of the Service Provider. + """ + return pulumi.get(self, "state") + + +class AwaitableGetDelegationSubscriptionsResult(GetDelegationSubscriptionsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDelegationSubscriptionsResult( + compartment_id=self.compartment_id, + delegation_subscription_summary_collections=self.delegation_subscription_summary_collections, + display_name=self.display_name, + filters=self.filters, + id=self.id, + state=self.state) + + +def get_delegation_subscriptions(compartment_id: Optional[str] = None, + display_name: Optional[str] = None, + filters: Optional[Sequence[Union['GetDelegationSubscriptionsFilterArgs', 'GetDelegationSubscriptionsFilterArgsDict']]] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDelegationSubscriptionsResult: + """ + This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. + + Lists the Delegation Subscriptions in Delegation Control. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegation_subscriptions = oci.DelegateAccessControl.get_delegation_subscriptions(compartment_id=compartment_id, + display_name=delegation_subscription_display_name, + state=delegation_subscription_state) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str display_name: A filter to return Delegation Subscription resources that match the given display name. + :param str state: A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __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:DelegateAccessControl/getDelegationSubscriptions:getDelegationSubscriptions', __args__, opts=opts, typ=GetDelegationSubscriptionsResult).value + + return AwaitableGetDelegationSubscriptionsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + delegation_subscription_summary_collections=pulumi.get(__ret__, 'delegation_subscription_summary_collections'), + 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_delegation_subscriptions) +def get_delegation_subscriptions_output(compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDelegationSubscriptionsFilterArgs', 'GetDelegationSubscriptionsFilterArgsDict']]]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDelegationSubscriptionsResult]: + """ + This data source provides the list of Delegation Subscriptions in Oracle Cloud Infrastructure Delegate Access Control service. + + Lists the Delegation Subscriptions in Delegation Control. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_delegation_subscriptions = oci.DelegateAccessControl.get_delegation_subscriptions(compartment_id=compartment_id, + display_name=delegation_subscription_display_name, + state=delegation_subscription_state) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str display_name: A filter to return Delegation Subscription resources that match the given display name. + :param str state: A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_provider.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_provider.py new file mode 100644 index 0000000000..f2fe5abaac --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_provider.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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = [ + 'GetServiceProviderResult', + 'AwaitableGetServiceProviderResult', + 'get_service_provider', + 'get_service_provider_output', +] + +@pulumi.output_type +class GetServiceProviderResult: + """ + A collection of values returned by getServiceProvider. + """ + def __init__(__self__, compartment_id=None, defined_tags=None, description=None, freeform_tags=None, id=None, lifecycle_state_details=None, name=None, service_provider_id=None, service_provider_type=None, service_types=None, state=None, supported_resource_types=None, system_tags=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 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 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_state_details and not isinstance(lifecycle_state_details, str): + raise TypeError("Expected argument 'lifecycle_state_details' to be a str") + pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if service_provider_id and not isinstance(service_provider_id, str): + raise TypeError("Expected argument 'service_provider_id' to be a str") + pulumi.set(__self__, "service_provider_id", service_provider_id) + if service_provider_type and not isinstance(service_provider_type, str): + raise TypeError("Expected argument 'service_provider_type' to be a str") + pulumi.set(__self__, "service_provider_type", service_provider_type) + if service_types and not isinstance(service_types, list): + raise TypeError("Expected argument 'service_types' to be a list") + pulumi.set(__self__, "service_types", service_types) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if supported_resource_types and not isinstance(supported_resource_types, list): + raise TypeError("Expected argument 'supported_resource_types' to be a list") + pulumi.set(__self__, "supported_resource_types", supported_resource_types) + 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="compartmentId") + def compartment_id(self) -> str: + """ + The OCID of the compartment that contains the Delegation Control. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the Service Provider. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lifecycleStateDetails") + def lifecycle_state_details(self) -> str: + """ + Description of the current lifecycle state in more detail. + """ + return pulumi.get(self, "lifecycle_state_details") + + @property + @pulumi.getter + def name(self) -> str: + """ + Unique name of the Service Provider. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="serviceProviderId") + def service_provider_id(self) -> str: + return pulumi.get(self, "service_provider_id") + + @property + @pulumi.getter(name="serviceProviderType") + def service_provider_type(self) -> str: + """ + Service Provider type. + """ + return pulumi.get(self, "service_provider_type") + + @property + @pulumi.getter(name="serviceTypes") + def service_types(self) -> Sequence[str]: + """ + Types of services offered by this provider. + """ + return pulumi.get(self, "service_types") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current lifecycle state of the Service Provider. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="supportedResourceTypes") + def supported_resource_types(self) -> Sequence[str]: + """ + Resource types for which this provider will provide service. Default to all if not specified. + """ + return pulumi.get(self, "supported_resource_types") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + 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: + """ + Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetServiceProviderResult(GetServiceProviderResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServiceProviderResult( + compartment_id=self.compartment_id, + defined_tags=self.defined_tags, + description=self.description, + freeform_tags=self.freeform_tags, + id=self.id, + lifecycle_state_details=self.lifecycle_state_details, + name=self.name, + service_provider_id=self.service_provider_id, + service_provider_type=self.service_provider_type, + service_types=self.service_types, + state=self.state, + supported_resource_types=self.supported_resource_types, + system_tags=self.system_tags, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_service_provider(service_provider_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceProviderResult: + """ + This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Gets a ServiceProvider by identifier + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_service_provider = oci.DelegateAccessControl.get_service_provider(service_provider_id=test_service_provider_oci_delegate_access_control_service_provider["id"]) + ``` + + + :param str service_provider_id: unique Service Provider identifier + """ + __args__ = dict() + __args__['serviceProviderId'] = service_provider_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getServiceProvider:getServiceProvider', __args__, opts=opts, typ=GetServiceProviderResult).value + + return AwaitableGetServiceProviderResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + description=pulumi.get(__ret__, 'description'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + lifecycle_state_details=pulumi.get(__ret__, 'lifecycle_state_details'), + name=pulumi.get(__ret__, 'name'), + service_provider_id=pulumi.get(__ret__, 'service_provider_id'), + service_provider_type=pulumi.get(__ret__, 'service_provider_type'), + service_types=pulumi.get(__ret__, 'service_types'), + state=pulumi.get(__ret__, 'state'), + supported_resource_types=pulumi.get(__ret__, 'supported_resource_types'), + 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_service_provider) +def get_service_provider_output(service_provider_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceProviderResult]: + """ + This data source provides details about a specific Service Provider resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Gets a ServiceProvider by identifier + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_service_provider = oci.DelegateAccessControl.get_service_provider(service_provider_id=test_service_provider_oci_delegate_access_control_service_provider["id"]) + ``` + + + :param str service_provider_id: unique Service Provider identifier + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_provider_action.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_provider_action.py new file mode 100644 index 0000000000..93e342bc33 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_provider_action.py @@ -0,0 +1,210 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetServiceProviderActionResult', + 'AwaitableGetServiceProviderActionResult', + 'get_service_provider_action', + 'get_service_provider_action_output', +] + +@pulumi.output_type +class GetServiceProviderActionResult: + """ + A collection of values returned by getServiceProviderAction. + """ + def __init__(__self__, component=None, customer_display_name=None, description=None, id=None, name=None, properties=None, resource_type=None, service_provider_action_id=None, service_provider_service_types=None, state=None): + if component and not isinstance(component, str): + raise TypeError("Expected argument 'component' to be a str") + pulumi.set(__self__, "component", component) + if customer_display_name and not isinstance(customer_display_name, str): + raise TypeError("Expected argument 'customer_display_name' to be a str") + pulumi.set(__self__, "customer_display_name", customer_display_name) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if properties and not isinstance(properties, list): + raise TypeError("Expected argument 'properties' to be a list") + pulumi.set(__self__, "properties", properties) + if resource_type and not isinstance(resource_type, str): + raise TypeError("Expected argument 'resource_type' to be a str") + pulumi.set(__self__, "resource_type", resource_type) + if service_provider_action_id and not isinstance(service_provider_action_id, str): + raise TypeError("Expected argument 'service_provider_action_id' to be a str") + pulumi.set(__self__, "service_provider_action_id", service_provider_action_id) + if service_provider_service_types and not isinstance(service_provider_service_types, list): + raise TypeError("Expected argument 'service_provider_service_types' to be a list") + pulumi.set(__self__, "service_provider_service_types", service_provider_service_types) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def component(self) -> str: + """ + Name of the infrastructure layer associated with the Service Provider Action. + """ + return pulumi.get(self, "component") + + @property + @pulumi.getter(name="customerDisplayName") + def customer_display_name(self) -> str: + """ + Display Name of the Service Provider Action. + """ + return pulumi.get(self, "customer_display_name") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + """ + return pulumi.get(self, "description") + + @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 name(self) -> str: + """ + Name of the property + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> Sequence['outputs.GetServiceProviderActionPropertyResult']: + """ + Fine grained properties associated with the Delegation Control. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> str: + """ + resourceType for which the ServiceProviderAction is applicable + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter(name="serviceProviderActionId") + def service_provider_action_id(self) -> str: + return pulumi.get(self, "service_provider_action_id") + + @property + @pulumi.getter(name="serviceProviderServiceTypes") + def service_provider_service_types(self) -> Sequence[str]: + """ + List of Service Provider Service Types that this Service Provider Action is applicable to. + """ + return pulumi.get(self, "service_provider_service_types") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current lifecycle state of the Service Provider Action. + """ + return pulumi.get(self, "state") + + +class AwaitableGetServiceProviderActionResult(GetServiceProviderActionResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServiceProviderActionResult( + component=self.component, + customer_display_name=self.customer_display_name, + description=self.description, + id=self.id, + name=self.name, + properties=self.properties, + resource_type=self.resource_type, + service_provider_action_id=self.service_provider_action_id, + service_provider_service_types=self.service_provider_service_types, + state=self.state) + + +def get_service_provider_action(service_provider_action_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceProviderActionResult: + """ + This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Gets the Service Provider Action associated with the specified Service Provider Action ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_service_provider_action = oci.DelegateAccessControl.get_service_provider_action(service_provider_action_id=test_service_provider_action_oci_delegate_access_control_service_provider_action["id"]) + ``` + + + :param str service_provider_action_id: Unique Oracle supplied identifier associated with the Service Provider Action. + """ + __args__ = dict() + __args__['serviceProviderActionId'] = service_provider_action_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getServiceProviderAction:getServiceProviderAction', __args__, opts=opts, typ=GetServiceProviderActionResult).value + + return AwaitableGetServiceProviderActionResult( + component=pulumi.get(__ret__, 'component'), + customer_display_name=pulumi.get(__ret__, 'customer_display_name'), + description=pulumi.get(__ret__, 'description'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + properties=pulumi.get(__ret__, 'properties'), + resource_type=pulumi.get(__ret__, 'resource_type'), + service_provider_action_id=pulumi.get(__ret__, 'service_provider_action_id'), + service_provider_service_types=pulumi.get(__ret__, 'service_provider_service_types'), + state=pulumi.get(__ret__, 'state')) + + +@_utilities.lift_output_func(get_service_provider_action) +def get_service_provider_action_output(service_provider_action_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceProviderActionResult]: + """ + This data source provides details about a specific Service Provider Action resource in Oracle Cloud Infrastructure Delegate Access Control service. + + Gets the Service Provider Action associated with the specified Service Provider Action ID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_service_provider_action = oci.DelegateAccessControl.get_service_provider_action(service_provider_action_id=test_service_provider_action_oci_delegate_access_control_service_provider_action["id"]) + ``` + + + :param str service_provider_action_id: Unique Oracle supplied identifier associated with the Service Provider Action. + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py new file mode 100644 index 0000000000..6b6e278569 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_provider_actions.py @@ -0,0 +1,210 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetServiceProviderActionsResult', + 'AwaitableGetServiceProviderActionsResult', + 'get_service_provider_actions', + 'get_service_provider_actions_output', +] + +@pulumi.output_type +class GetServiceProviderActionsResult: + """ + A collection of values returned by getServiceProviderActions. + """ + def __init__(__self__, compartment_id=None, filters=None, id=None, name=None, resource_type=None, service_provider_action_summary_collections=None, service_provider_service_types=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 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 name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if resource_type and not isinstance(resource_type, str): + raise TypeError("Expected argument 'resource_type' to be a str") + pulumi.set(__self__, "resource_type", resource_type) + if service_provider_action_summary_collections and not isinstance(service_provider_action_summary_collections, list): + raise TypeError("Expected argument 'service_provider_action_summary_collections' to be a list") + pulumi.set(__self__, "service_provider_action_summary_collections", service_provider_action_summary_collections) + if service_provider_service_types and not isinstance(service_provider_service_types, list): + raise TypeError("Expected argument 'service_provider_service_types' to be a list") + pulumi.set(__self__, "service_provider_service_types", service_provider_service_types) + 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: + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetServiceProviderActionsFilterResult']]: + 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 name(self) -> Optional[str]: + """ + Name of the property + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> Optional[str]: + """ + resourceType for which the ServiceProviderAction is applicable + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter(name="serviceProviderActionSummaryCollections") + def service_provider_action_summary_collections(self) -> Sequence['outputs.GetServiceProviderActionsServiceProviderActionSummaryCollectionResult']: + """ + The list of service_provider_action_summary_collection. + """ + return pulumi.get(self, "service_provider_action_summary_collections") + + @property + @pulumi.getter(name="serviceProviderServiceTypes") + def service_provider_service_types(self) -> Optional[Sequence[str]]: + return pulumi.get(self, "service_provider_service_types") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The current lifecycle state of the Service Provider Action. + """ + return pulumi.get(self, "state") + + +class AwaitableGetServiceProviderActionsResult(GetServiceProviderActionsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServiceProviderActionsResult( + compartment_id=self.compartment_id, + filters=self.filters, + id=self.id, + name=self.name, + resource_type=self.resource_type, + service_provider_action_summary_collections=self.service_provider_action_summary_collections, + service_provider_service_types=self.service_provider_service_types, + state=self.state) + + +def get_service_provider_actions(compartment_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetServiceProviderActionsFilterArgs', 'GetServiceProviderActionsFilterArgsDict']]] = None, + name: Optional[str] = None, + resource_type: Optional[str] = None, + service_provider_service_types: Optional[Sequence[str]] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceProviderActionsResult: + """ + This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. + + Lists all the ServiceProviderActions available in the system. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_service_provider_actions = oci.DelegateAccessControl.get_service_provider_actions(compartment_id=compartment_id, + name=service_provider_action_name, + resource_type=service_provider_action_resource_type, + service_provider_service_types=service_provider_action_service_provider_service_type, + state=service_provider_action_state) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str name: A filter to return only resources that match the entire name given. + :param str resource_type: A filter to return only resources that match the given resource type. + :param Sequence[str] service_provider_service_types: A filter to return only resources that match the given Service Provider service type. + :param str state: A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + __args__['name'] = name + __args__['resourceType'] = resource_type + __args__['serviceProviderServiceTypes'] = service_provider_service_types + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getServiceProviderActions:getServiceProviderActions', __args__, opts=opts, typ=GetServiceProviderActionsResult).value + + return AwaitableGetServiceProviderActionsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + resource_type=pulumi.get(__ret__, 'resource_type'), + service_provider_action_summary_collections=pulumi.get(__ret__, 'service_provider_action_summary_collections'), + service_provider_service_types=pulumi.get(__ret__, 'service_provider_service_types'), + state=pulumi.get(__ret__, 'state')) + + +@_utilities.lift_output_func(get_service_provider_actions) +def get_service_provider_actions_output(compartment_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetServiceProviderActionsFilterArgs', 'GetServiceProviderActionsFilterArgsDict']]]]] = None, + name: Optional[pulumi.Input[Optional[str]]] = None, + resource_type: Optional[pulumi.Input[Optional[str]]] = None, + service_provider_service_types: Optional[pulumi.Input[Optional[Sequence[str]]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceProviderActionsResult]: + """ + This data source provides the list of Service Provider Actions in Oracle Cloud Infrastructure Delegate Access Control service. + + Lists all the ServiceProviderActions available in the system. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_service_provider_actions = oci.DelegateAccessControl.get_service_provider_actions(compartment_id=compartment_id, + name=service_provider_action_name, + resource_type=service_provider_action_resource_type, + service_provider_service_types=service_provider_action_service_provider_service_type, + state=service_provider_action_state) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str name: A filter to return only resources that match the entire name given. + :param str resource_type: A filter to return only resources that match the given resource type. + :param Sequence[str] service_provider_service_types: A filter to return only resources that match the given Service Provider service type. + :param str state: A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_providers.py b/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_providers.py new file mode 100644 index 0000000000..901bed4be4 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/get_service_providers.py @@ -0,0 +1,213 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetServiceProvidersResult', + 'AwaitableGetServiceProvidersResult', + 'get_service_providers', + 'get_service_providers_output', +] + +@pulumi.output_type +class GetServiceProvidersResult: + """ + A collection of values returned by getServiceProviders. + """ + def __init__(__self__, compartment_id=None, filters=None, id=None, name=None, service_provider_summary_collections=None, service_provider_type=None, state=None, supported_resource_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) + 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 name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) + if service_provider_summary_collections and not isinstance(service_provider_summary_collections, list): + raise TypeError("Expected argument 'service_provider_summary_collections' to be a list") + pulumi.set(__self__, "service_provider_summary_collections", service_provider_summary_collections) + if service_provider_type and not isinstance(service_provider_type, str): + raise TypeError("Expected argument 'service_provider_type' to be a str") + pulumi.set(__self__, "service_provider_type", service_provider_type) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if supported_resource_type and not isinstance(supported_resource_type, str): + raise TypeError("Expected argument 'supported_resource_type' to be a str") + pulumi.set(__self__, "supported_resource_type", supported_resource_type) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The OCID of the compartment that contains the Delegation Control. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetServiceProvidersFilterResult']]: + 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 name(self) -> Optional[str]: + """ + Unique name of the Service Provider. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="serviceProviderSummaryCollections") + def service_provider_summary_collections(self) -> Sequence['outputs.GetServiceProvidersServiceProviderSummaryCollectionResult']: + """ + The list of service_provider_summary_collection. + """ + return pulumi.get(self, "service_provider_summary_collections") + + @property + @pulumi.getter(name="serviceProviderType") + def service_provider_type(self) -> Optional[str]: + """ + Service Provider type. + """ + return pulumi.get(self, "service_provider_type") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The current lifecycle state of the Service Provider. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="supportedResourceType") + def supported_resource_type(self) -> Optional[str]: + return pulumi.get(self, "supported_resource_type") + + +class AwaitableGetServiceProvidersResult(GetServiceProvidersResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetServiceProvidersResult( + compartment_id=self.compartment_id, + filters=self.filters, + id=self.id, + name=self.name, + service_provider_summary_collections=self.service_provider_summary_collections, + service_provider_type=self.service_provider_type, + state=self.state, + supported_resource_type=self.supported_resource_type) + + +def get_service_providers(compartment_id: Optional[str] = None, + filters: Optional[Sequence[Union['GetServiceProvidersFilterArgs', 'GetServiceProvidersFilterArgsDict']]] = None, + name: Optional[str] = None, + service_provider_type: Optional[str] = None, + state: Optional[str] = None, + supported_resource_type: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetServiceProvidersResult: + """ + This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. + + Lists the Service Providers. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_service_providers = oci.DelegateAccessControl.get_service_providers(compartment_id=compartment_id, + name=service_provider_name, + service_provider_type=service_provider_service_provider_type, + state=service_provider_state, + supported_resource_type=service_provider_supported_resource_type) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str name: A filter to return Service Provider resources that match the given name. + :param str service_provider_type: A filter to return only Service Provider resources whose provider type matches the given provider type. + :param str state: A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + :param str supported_resource_type: A filter to return only Service Provider resources whose supported resource type matches the given resource type. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + __args__['name'] = name + __args__['serviceProviderType'] = service_provider_type + __args__['state'] = state + __args__['supportedResourceType'] = supported_resource_type + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DelegateAccessControl/getServiceProviders:getServiceProviders', __args__, opts=opts, typ=GetServiceProvidersResult).value + + return AwaitableGetServiceProvidersResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + name=pulumi.get(__ret__, 'name'), + service_provider_summary_collections=pulumi.get(__ret__, 'service_provider_summary_collections'), + service_provider_type=pulumi.get(__ret__, 'service_provider_type'), + state=pulumi.get(__ret__, 'state'), + supported_resource_type=pulumi.get(__ret__, 'supported_resource_type')) + + +@_utilities.lift_output_func(get_service_providers) +def get_service_providers_output(compartment_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetServiceProvidersFilterArgs', 'GetServiceProvidersFilterArgsDict']]]]] = None, + name: Optional[pulumi.Input[Optional[str]]] = None, + service_provider_type: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + supported_resource_type: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetServiceProvidersResult]: + """ + This data source provides the list of Service Providers in Oracle Cloud Infrastructure Delegate Access Control service. + + Lists the Service Providers. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_service_providers = oci.DelegateAccessControl.get_service_providers(compartment_id=compartment_id, + name=service_provider_name, + service_provider_type=service_provider_service_provider_type, + state=service_provider_state, + supported_resource_type=service_provider_supported_resource_type) + ``` + + + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str name: A filter to return Service Provider resources that match the given name. + :param str service_provider_type: A filter to return only Service Provider resources whose provider type matches the given provider type. + :param str state: A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + :param str supported_resource_type: A filter to return only Service Provider resources whose supported resource type matches the given resource type. + """ + ... diff --git a/sdk/python/pulumi_oci/delegateaccesscontrol/outputs.py b/sdk/python/pulumi_oci/delegateaccesscontrol/outputs.py new file mode 100644 index 0000000000..f4df6a48b3 --- /dev/null +++ b/sdk/python/pulumi_oci/delegateaccesscontrol/outputs.py @@ -0,0 +1,1679 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetDelegatedResourceAccessRequestApprovalInfoResult', + 'GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionResult', + 'GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemResult', + 'GetDelegatedResourceAccessRequestHistoriesFilterResult', + 'GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionResult', + 'GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemResult', + 'GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoResult', + 'GetDelegatedResourceAccessRequestsFilterResult', + 'GetDelegationControlResourcesDelegationControlResourceCollectionResult', + 'GetDelegationControlResourcesDelegationControlResourceCollectionItemResult', + 'GetDelegationControlResourcesFilterResult', + 'GetDelegationControlsDelegationControlSummaryCollectionResult', + 'GetDelegationControlsDelegationControlSummaryCollectionItemResult', + 'GetDelegationControlsFilterResult', + 'GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionResult', + 'GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemResult', + 'GetDelegationSubscriptionsFilterResult', + 'GetServiceProviderActionPropertyResult', + 'GetServiceProviderActionsFilterResult', + 'GetServiceProviderActionsServiceProviderActionSummaryCollectionResult', + 'GetServiceProviderActionsServiceProviderActionSummaryCollectionItemResult', + 'GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyResult', + 'GetServiceProvidersFilterResult', + 'GetServiceProvidersServiceProviderSummaryCollectionResult', + 'GetServiceProvidersServiceProviderSummaryCollectionItemResult', +] + +@pulumi.output_type +class GetDelegatedResourceAccessRequestApprovalInfoResult(dict): + def __init__(__self__, *, + approval_action: str, + approval_type: str, + approver_additional_message: str, + approver_comment: str, + approver_id: str, + time_approved_for_access: str): + """ + :param str approval_action: Indicated whether the request is approved or rejected. + :param str approval_type: approval type, initial or extension + :param str approver_additional_message: Additional message specified by the approver of the request. + :param str approver_comment: Comment specified by the approver of the request. + :param str approver_id: User ID of the approver. + :param str time_approved_for_access: Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + """ + pulumi.set(__self__, "approval_action", approval_action) + pulumi.set(__self__, "approval_type", approval_type) + pulumi.set(__self__, "approver_additional_message", approver_additional_message) + pulumi.set(__self__, "approver_comment", approver_comment) + pulumi.set(__self__, "approver_id", approver_id) + pulumi.set(__self__, "time_approved_for_access", time_approved_for_access) + + @property + @pulumi.getter(name="approvalAction") + def approval_action(self) -> str: + """ + Indicated whether the request is approved or rejected. + """ + return pulumi.get(self, "approval_action") + + @property + @pulumi.getter(name="approvalType") + def approval_type(self) -> str: + """ + approval type, initial or extension + """ + return pulumi.get(self, "approval_type") + + @property + @pulumi.getter(name="approverAdditionalMessage") + def approver_additional_message(self) -> str: + """ + Additional message specified by the approver of the request. + """ + return pulumi.get(self, "approver_additional_message") + + @property + @pulumi.getter(name="approverComment") + def approver_comment(self) -> str: + """ + Comment specified by the approver of the request. + """ + return pulumi.get(self, "approver_comment") + + @property + @pulumi.getter(name="approverId") + def approver_id(self) -> str: + """ + User ID of the approver. + """ + return pulumi.get(self, "approver_id") + + @property + @pulumi.getter(name="timeApprovedForAccess") + def time_approved_for_access(self) -> str: + """ + Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + """ + return pulumi.get(self, "time_approved_for_access") + + +@pulumi.output_type +class GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemResult']): + """ + :param Sequence['GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemArgs'] items: List of DelegatedResourceAccessRequestHistorySummary objects. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemResult']: + """ + List of DelegatedResourceAccessRequestHistorySummary objects. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDelegatedResourceAccessRequestHistoriesDelegatedResourceAccessRequestHistoryCollectionItemResult(dict): + def __init__(__self__, *, + comment: str, + request_status: str, + state: str, + timestamp: str, + user_id: str): + """ + :param str comment: Comment about the status change. + :param str request_status: The current status of the Delegated Resource Access Request. + :param str state: The current lifecycle state of the Delegated Resource Access Request. + :param str timestamp: Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + :param str user_id: ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator". + """ + pulumi.set(__self__, "comment", comment) + pulumi.set(__self__, "request_status", request_status) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "timestamp", timestamp) + pulumi.set(__self__, "user_id", user_id) + + @property + @pulumi.getter + def comment(self) -> str: + """ + Comment about the status change. + """ + return pulumi.get(self, "comment") + + @property + @pulumi.getter(name="requestStatus") + def request_status(self) -> str: + """ + The current status of the Delegated Resource Access Request. + """ + return pulumi.get(self, "request_status") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current lifecycle state of the Delegated Resource Access Request. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter + def timestamp(self) -> str: + """ + Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + """ + return pulumi.get(self, "timestamp") + + @property + @pulumi.getter(name="userId") + def user_id(self) -> str: + """ + ID of user who modified the Delegated Resource Access Request. For operator, this field is "Operator". + """ + return pulumi.get(self, "user_id") + + +@pulumi.output_type +class GetDelegatedResourceAccessRequestHistoriesFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemResult(dict): + def __init__(__self__, *, + approval_infos: Sequence['outputs.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoResult'], + audit_types: Sequence[str], + closure_comment: str, + compartment_id: str, + database_name_lists: Sequence[str], + defined_tags: Mapping[str, str], + delegation_control_id: str, + delegation_subscription_ids: Sequence[str], + description: str, + display_name: str, + duration_in_hours: int, + extend_duration_in_hours: int, + freeform_tags: Mapping[str, str], + id: str, + is_auto_approved: bool, + is_pending_more_info: bool, + lifecycle_state_details: str, + num_extension_approvals: int, + num_initial_approvals: int, + provided_service_types: Sequence[str], + reason_for_request: str, + request_status: str, + requested_action_names: Sequence[str], + requester_type: str, + resource_id: str, + resource_name: str, + resource_type: str, + severity: str, + state: str, + system_tags: Mapping[str, str], + ticket_numbers: Sequence[str], + time_access_requested: str, + time_created: str, + time_updated: str): + """ + :param Sequence['GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoArgs'] approval_infos: In case of single approval, this will have only one item. Else, a list of approvals. + :param Sequence[str] audit_types: Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + :param str closure_comment: The comment entered by the support operator while closing the request. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param Sequence[str] database_name_lists: List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + :param Mapping[str, str] 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 delegation_control_id: unique Delegation Control identifier + :param Sequence[str] delegation_subscription_ids: List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + :param str description: Detailed description of this Delegated Resource Access Request. + :param str display_name: Display name. This is generated by the system automatically. + :param int duration_in_hours: Duration in hours for which access is sought on the target resource. + :param int extend_duration_in_hours: Duration in hours for which extension access is sought on the target resource. + :param Mapping[str, str] 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 Delegated Resource Access Request. + :param bool is_auto_approved: Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + :param bool is_pending_more_info: Indicates if the delegated resource access request is waiting on more information from the operator + :param str lifecycle_state_details: Description of the current lifecycle state in more detail. + :param int num_extension_approvals: Number of extension approvals that have been obtained so far. + :param int num_initial_approvals: Number of initial approvals that have been obtained so far. + :param Sequence[str] provided_service_types: List of Service Provider Service Types being provided by the support operator user. + :param str reason_for_request: A short description explaining why this Delegated Resource Access Request is needed by the support operator. + :param str request_status: A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + :param Sequence[str] requested_action_names: List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + :param str requester_type: Requester type + :param str resource_id: A filter to return only Delegated Resource Access Requests for the given resource identifier. + :param str resource_name: The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + :param str resource_type: Resource type for which the associated Delegation Control is applicable to. + :param str severity: Priority assigned to the Delegated Resource Access Request by the support operator + :param str state: A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + :param Mapping[str, str] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + :param Sequence[str] ticket_numbers: A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + :param str time_access_requested: Requested access start time in UTC. + :param str time_created: Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + :param str time_updated: Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + """ + pulumi.set(__self__, "approval_infos", approval_infos) + pulumi.set(__self__, "audit_types", audit_types) + pulumi.set(__self__, "closure_comment", closure_comment) + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "database_name_lists", database_name_lists) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "delegation_control_id", delegation_control_id) + pulumi.set(__self__, "delegation_subscription_ids", delegation_subscription_ids) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "duration_in_hours", duration_in_hours) + pulumi.set(__self__, "extend_duration_in_hours", extend_duration_in_hours) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "is_auto_approved", is_auto_approved) + pulumi.set(__self__, "is_pending_more_info", is_pending_more_info) + pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + pulumi.set(__self__, "num_extension_approvals", num_extension_approvals) + pulumi.set(__self__, "num_initial_approvals", num_initial_approvals) + pulumi.set(__self__, "provided_service_types", provided_service_types) + pulumi.set(__self__, "reason_for_request", reason_for_request) + pulumi.set(__self__, "request_status", request_status) + pulumi.set(__self__, "requested_action_names", requested_action_names) + pulumi.set(__self__, "requester_type", requester_type) + 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__, "system_tags", system_tags) + pulumi.set(__self__, "ticket_numbers", ticket_numbers) + pulumi.set(__self__, "time_access_requested", time_access_requested) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "time_updated", time_updated) + + @property + @pulumi.getter(name="approvalInfos") + def approval_infos(self) -> Sequence['outputs.GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoResult']: + """ + In case of single approval, this will have only one item. Else, a list of approvals. + """ + return pulumi.get(self, "approval_infos") + + @property + @pulumi.getter(name="auditTypes") + def audit_types(self) -> Sequence[str]: + """ + Specifies the type of auditing to be enabled. There are two levels of auditing: command-level and keystroke-level. By default, both command-level and keystroke-level auditing are enabled, i.e. commands and key strokes issued by the support operator are logged. + """ + return pulumi.get(self, "audit_types") + + @property + @pulumi.getter(name="closureComment") + def closure_comment(self) -> str: + """ + The comment entered by the support operator while closing the request. + """ + return pulumi.get(self, "closure_comment") + + @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. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="databaseNameLists") + def database_name_lists(self) -> Sequence[str]: + """ + List of Database unique names for which access is requested. This parameter is required for DLGT_MGMT_SYS_MAINT_ACCESS cage when database access in needed. + """ + return pulumi.get(self, "database_name_lists") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="delegationControlId") + def delegation_control_id(self) -> str: + """ + unique Delegation Control identifier + """ + return pulumi.get(self, "delegation_control_id") + + @property + @pulumi.getter(name="delegationSubscriptionIds") + def delegation_subscription_ids(self) -> Sequence[str]: + """ + List of Delegation Subscription OCID that are associated with this Delegated Resource Access Request based on the service types being requested. + """ + return pulumi.get(self, "delegation_subscription_ids") + + @property + @pulumi.getter + def description(self) -> str: + """ + Detailed description of this Delegated Resource Access Request. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Display name. This is generated by the system automatically. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="durationInHours") + def duration_in_hours(self) -> int: + """ + Duration in hours for which access is sought on the target resource. + """ + return pulumi.get(self, "duration_in_hours") + + @property + @pulumi.getter(name="extendDurationInHours") + def extend_duration_in_hours(self) -> int: + """ + Duration in hours for which extension access is sought on the target resource. + """ + return pulumi.get(self, "extend_duration_in_hours") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + The OCID of the Delegated Resource Access Request. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isAutoApproved") + def is_auto_approved(self) -> bool: + """ + Set to true if the request is approved automatically based on preApprovedServiceProviderActionNames or isAutoApproveDuringMaintenance in the associated Delegation Control. + """ + return pulumi.get(self, "is_auto_approved") + + @property + @pulumi.getter(name="isPendingMoreInfo") + def is_pending_more_info(self) -> bool: + """ + Indicates if the delegated resource access request is waiting on more information from the operator + """ + return pulumi.get(self, "is_pending_more_info") + + @property + @pulumi.getter(name="lifecycleStateDetails") + def lifecycle_state_details(self) -> str: + """ + Description of the current lifecycle state in more detail. + """ + return pulumi.get(self, "lifecycle_state_details") + + @property + @pulumi.getter(name="numExtensionApprovals") + def num_extension_approvals(self) -> int: + """ + Number of extension approvals that have been obtained so far. + """ + return pulumi.get(self, "num_extension_approvals") + + @property + @pulumi.getter(name="numInitialApprovals") + def num_initial_approvals(self) -> int: + """ + Number of initial approvals that have been obtained so far. + """ + return pulumi.get(self, "num_initial_approvals") + + @property + @pulumi.getter(name="providedServiceTypes") + def provided_service_types(self) -> Sequence[str]: + """ + List of Service Provider Service Types being provided by the support operator user. + """ + return pulumi.get(self, "provided_service_types") + + @property + @pulumi.getter(name="reasonForRequest") + def reason_for_request(self) -> str: + """ + A short description explaining why this Delegated Resource Access Request is needed by the support operator. + """ + return pulumi.get(self, "reason_for_request") + + @property + @pulumi.getter(name="requestStatus") + def request_status(self) -> str: + """ + A filter to return only Delegated Resource Access Requests whose status matches the given Delegated Resource Access Request status. + """ + return pulumi.get(self, "request_status") + + @property + @pulumi.getter(name="requestedActionNames") + def requested_action_names(self) -> Sequence[str]: + """ + List of Service Provider Action names for which approval is sought by the support operator user. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. + """ + return pulumi.get(self, "requested_action_names") + + @property + @pulumi.getter(name="requesterType") + def requester_type(self) -> str: + """ + Requester type + """ + return pulumi.get(self, "requester_type") + + @property + @pulumi.getter(name="resourceId") + def resource_id(self) -> str: + """ + A filter to return only Delegated Resource Access Requests for the given resource identifier. + """ + return pulumi.get(self, "resource_id") + + @property + @pulumi.getter(name="resourceName") + def resource_name(self) -> str: + """ + The name of the target resource associated with the Delegated Resource Access Request. The support operator raises a Delegated Resource Access Request to get approval to access the target resource. + """ + return pulumi.get(self, "resource_name") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> str: + """ + Resource type for which the associated Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter + def severity(self) -> str: + """ + Priority assigned to the Delegated Resource Access Request by the support operator + """ + return pulumi.get(self, "severity") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return only Delegated Resource Access Requests whose lifecycleState matches the given Delegated Resource Access Request lifecycleState. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + 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="ticketNumbers") + def ticket_numbers(self) -> Sequence[str]: + """ + A list of ticket numbers related to this Delegated Resource Access Request, e.g. Service Request (SR) number and JIRA ticket number. + """ + return pulumi.get(self, "ticket_numbers") + + @property + @pulumi.getter(name="timeAccessRequested") + def time_access_requested(self) -> str: + """ + Requested access start time in UTC. + """ + return pulumi.get(self, "time_access_requested") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + Time when the Delegated Resource Access Request was created in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Time when the Delegated Resource Access Request was last modified in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetDelegatedResourceAccessRequestsDelegatedResourceAccessRequestSummaryCollectionItemApprovalInfoResult(dict): + def __init__(__self__, *, + approval_action: str, + approval_type: str, + approver_additional_message: str, + approver_comment: str, + approver_id: str, + time_approved_for_access: str): + """ + :param str approval_action: Indicated whether the request is approved or rejected. + :param str approval_type: approval type, initial or extension + :param str approver_additional_message: Additional message specified by the approver of the request. + :param str approver_comment: Comment specified by the approver of the request. + :param str approver_id: User ID of the approver. + :param str time_approved_for_access: Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + """ + pulumi.set(__self__, "approval_action", approval_action) + pulumi.set(__self__, "approval_type", approval_type) + pulumi.set(__self__, "approver_additional_message", approver_additional_message) + pulumi.set(__self__, "approver_comment", approver_comment) + pulumi.set(__self__, "approver_id", approver_id) + pulumi.set(__self__, "time_approved_for_access", time_approved_for_access) + + @property + @pulumi.getter(name="approvalAction") + def approval_action(self) -> str: + """ + Indicated whether the request is approved or rejected. + """ + return pulumi.get(self, "approval_action") + + @property + @pulumi.getter(name="approvalType") + def approval_type(self) -> str: + """ + approval type, initial or extension + """ + return pulumi.get(self, "approval_type") + + @property + @pulumi.getter(name="approverAdditionalMessage") + def approver_additional_message(self) -> str: + """ + Additional message specified by the approver of the request. + """ + return pulumi.get(self, "approver_additional_message") + + @property + @pulumi.getter(name="approverComment") + def approver_comment(self) -> str: + """ + Comment specified by the approver of the request. + """ + return pulumi.get(self, "approver_comment") + + @property + @pulumi.getter(name="approverId") + def approver_id(self) -> str: + """ + User ID of the approver. + """ + return pulumi.get(self, "approver_id") + + @property + @pulumi.getter(name="timeApprovedForAccess") + def time_approved_for_access(self) -> str: + """ + Access start time that is actually approved by the customer in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. + """ + return pulumi.get(self, "time_approved_for_access") + + +@pulumi.output_type +class GetDelegatedResourceAccessRequestsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDelegationControlResourcesDelegationControlResourceCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDelegationControlResourcesDelegationControlResourceCollectionItemResult']): + """ + :param Sequence['GetDelegationControlResourcesDelegationControlResourceCollectionItemArgs'] items: List of DelegationControlResourceSummary objects. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDelegationControlResourcesDelegationControlResourceCollectionItemResult']: + """ + List of DelegationControlResourceSummary objects. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDelegationControlResourcesDelegationControlResourceCollectionItemResult(dict): + def __init__(__self__, *, + id: str, + resource_status: str): + """ + :param str id: OCID of the resource. + :param str resource_status: The current status of the resource in Delegation Control. + """ + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "resource_status", resource_status) + + @property + @pulumi.getter + def id(self) -> str: + """ + OCID of the resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="resourceStatus") + def resource_status(self) -> str: + """ + The current status of the resource in Delegation Control. + """ + return pulumi.get(self, "resource_status") + + +@pulumi.output_type +class GetDelegationControlResourcesFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDelegationControlsDelegationControlSummaryCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDelegationControlsDelegationControlSummaryCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDelegationControlsDelegationControlSummaryCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDelegationControlsDelegationControlSummaryCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + defined_tags: Mapping[str, str], + delegation_subscription_ids: Sequence[str], + description: str, + display_name: str, + freeform_tags: Mapping[str, str], + id: str, + is_auto_approve_during_maintenance: bool, + lifecycle_state_details: str, + notification_message_format: str, + notification_topic_id: str, + num_approvals_required: int, + pre_approved_service_provider_action_names: Sequence[str], + resource_ids: Sequence[str], + resource_type: str, + state: str, + system_tags: Mapping[str, str], + time_created: str, + time_deleted: str, + time_updated: str, + vault_id: str, + vault_key_id: str): + """ + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param Mapping[str, str] 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 Sequence[str] delegation_subscription_ids: List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + :param str description: Description of the Delegation Control. + :param str display_name: A filter to return Delegation Control resources that match the given display name. + :param Mapping[str, str] 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 Delegation Control. + :param bool is_auto_approve_during_maintenance: Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + :param str lifecycle_state_details: Description of the current lifecycle state in more detail. + :param str notification_message_format: The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + :param str notification_topic_id: The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + :param int num_approvals_required: number of approvals required. + :param Sequence[str] pre_approved_service_provider_action_names: List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + :param Sequence[str] resource_ids: The OCID of the selected resources that this Delegation Control is applicable to. + :param str resource_type: A filter to return only resources that match the given resource type. + :param str state: A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + :param Mapping[str, str] 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: Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + :param str time_deleted: Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + :param str time_updated: Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + :param str vault_id: The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + :param str vault_key_id: The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + """ + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "delegation_subscription_ids", delegation_subscription_ids) + 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_approve_during_maintenance", is_auto_approve_during_maintenance) + pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + pulumi.set(__self__, "notification_message_format", notification_message_format) + pulumi.set(__self__, "notification_topic_id", notification_topic_id) + pulumi.set(__self__, "num_approvals_required", num_approvals_required) + pulumi.set(__self__, "pre_approved_service_provider_action_names", pre_approved_service_provider_action_names) + pulumi.set(__self__, "resource_ids", resource_ids) + 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_deleted", time_deleted) + pulumi.set(__self__, "time_updated", time_updated) + pulumi.set(__self__, "vault_id", vault_id) + pulumi.set(__self__, "vault_key_id", vault_key_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. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="delegationSubscriptionIds") + def delegation_subscription_ids(self) -> Sequence[str]: + """ + List of Delegation Subscription OCID that are allowed for this Delegation Control. The allowed subscriptions will determine the available Service Provider Actions. Only support operators for the allowed subscriptions are allowed to create Delegated Resource Access Request. + """ + return pulumi.get(self, "delegation_subscription_ids") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the Delegation Control. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A filter to return Delegation Control resources that match the given display name. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + The OCID of the Delegation Control. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="isAutoApproveDuringMaintenance") + def is_auto_approve_during_maintenance(self) -> bool: + """ + Set to true to allow all Delegated Resource Access Request to be approved automatically during maintenance. + """ + return pulumi.get(self, "is_auto_approve_during_maintenance") + + @property + @pulumi.getter(name="lifecycleStateDetails") + def lifecycle_state_details(self) -> str: + """ + Description of the current lifecycle state in more detail. + """ + return pulumi.get(self, "lifecycle_state_details") + + @property + @pulumi.getter(name="notificationMessageFormat") + def notification_message_format(self) -> str: + """ + The format of the Oracle Cloud Infrastructure Notification messages for this Delegation Control. + """ + return pulumi.get(self, "notification_message_format") + + @property + @pulumi.getter(name="notificationTopicId") + def notification_topic_id(self) -> str: + """ + The OCID of the Oracle Cloud Infrastructure Notification topic to publish messages related to this Delegation Control. + """ + return pulumi.get(self, "notification_topic_id") + + @property + @pulumi.getter(name="numApprovalsRequired") + def num_approvals_required(self) -> int: + """ + number of approvals required. + """ + return pulumi.get(self, "num_approvals_required") + + @property + @pulumi.getter(name="preApprovedServiceProviderActionNames") + def pre_approved_service_provider_action_names(self) -> Sequence[str]: + """ + List of pre-approved Service Provider Action names. The list of pre-defined Service Provider Actions can be obtained from the ListServiceProviderActions API. Delegated Resource Access Requests associated with a resource governed by this Delegation Control will be automatically approved if the Delegated Resource Access Request only contain Service Provider Actions in the pre-approved list. + """ + return pulumi.get(self, "pre_approved_service_provider_action_names") + + @property + @pulumi.getter(name="resourceIds") + def resource_ids(self) -> Sequence[str]: + """ + The OCID of the selected resources that this Delegation Control is applicable to. + """ + return pulumi.get(self, "resource_ids") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> str: + """ + A filter to return only resources that match the given resource type. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return only Delegation Control resources whose lifecycleState matches the given Delegation Control lifecycle state. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + 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: + """ + Time when the Delegation Control was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeDeleted") + def time_deleted(self) -> str: + """ + Time when the Delegation Control was deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format, e.g. '2020-05-22T21:10:29.600Z'. Note a deleted Delegation Control still stays in the system, so that you can still audit Service Provider Actions associated with Delegated Resource Access Requests raised on target resources governed by the deleted Delegation Control. + """ + return pulumi.get(self, "time_deleted") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Time when the Delegation Control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="vaultId") + def vault_id(self) -> str: + """ + The OCID of the Oracle Cloud Infrastructure Vault that will store the secrets containing the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. Delegate Access Control Service will generate the SSH keys and store them as secrets in the Oracle Cloud Infrastructure Vault. + """ + return pulumi.get(self, "vault_id") + + @property + @pulumi.getter(name="vaultKeyId") + def vault_key_id(self) -> str: + """ + The OCID of the Master Encryption Key in the Oracle Cloud Infrastructure Vault specified by vaultId. This key will be used to encrypt the SSH keys to access the resource governed by this Delegation Control by Delegate Access Control Service. This property is required when resourceType is CLOUDVMCLUSTER. + """ + return pulumi.get(self, "vault_key_id") + + +@pulumi.output_type +class GetDelegationControlsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDelegationSubscriptionsDelegationSubscriptionSummaryCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + defined_tags: Mapping[str, str], + description: str, + display_name: str, + freeform_tags: Mapping[str, str], + id: str, + lifecycle_state_details: str, + service_provider_id: str, + state: str, + subscribed_service_type: str, + system_tags: Mapping[str, str], + 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. + :param Mapping[str, str] 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 description: Description of the Delegation Subscription. + :param str display_name: A filter to return Delegation Subscription resources that match the given display name. + :param Mapping[str, str] 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: Unique identifier for the Delegation Subscription. + :param str lifecycle_state_details: Description of the current lifecycle state in more detail. + :param str service_provider_id: Unique identifier of the Service Provider. + :param str state: A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + :param str subscribed_service_type: Subscribed Service Provider Service Type. + :param Mapping[str, str] 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: Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + :param str time_updated: Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21: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__, "lifecycle_state_details", lifecycle_state_details) + pulumi.set(__self__, "service_provider_id", service_provider_id) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "subscribed_service_type", subscribed_service_type) + pulumi.set(__self__, "system_tags", system_tags) + pulumi.set(__self__, "time_created", time_created) + 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. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the Delegation Subscription. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A filter to return Delegation Subscription resources that match the given display name. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + Unique identifier for the Delegation Subscription. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lifecycleStateDetails") + def lifecycle_state_details(self) -> str: + """ + Description of the current lifecycle state in more detail. + """ + return pulumi.get(self, "lifecycle_state_details") + + @property + @pulumi.getter(name="serviceProviderId") + def service_provider_id(self) -> str: + """ + Unique identifier of the Service Provider. + """ + return pulumi.get(self, "service_provider_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return only Delegation Subscription resources whose lifecycleState matches the given Delegation Subscription lifecycle state. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subscribedServiceType") + def subscribed_service_type(self) -> str: + """ + Subscribed Service Provider Service Type. + """ + return pulumi.get(self, "subscribed_service_type") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + 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: + """ + Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetDelegationSubscriptionsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetServiceProviderActionPropertyResult(dict): + def __init__(__self__, *, + name: str, + value: str): + """ + :param str name: Name of the property + :param str value: value of the property + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of the property + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def value(self) -> str: + """ + value of the property + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetServiceProviderActionsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :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) + if regex is not None: + pulumi.set(__self__, "regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + """ + A filter to return only resources that match the entire name given. + """ + 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 GetServiceProviderActionsServiceProviderActionSummaryCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetServiceProviderActionsServiceProviderActionSummaryCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetServiceProviderActionsServiceProviderActionSummaryCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetServiceProviderActionsServiceProviderActionSummaryCollectionItemResult(dict): + def __init__(__self__, *, + component: str, + customer_display_name: str, + description: str, + id: str, + name: str, + properties: Sequence['outputs.GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyResult'], + resource_type: str, + service_provider_service_types: Sequence[str], + state: str): + """ + :param str component: Name of the infrastructure layer associated with the Service Provider Action. + :param str customer_display_name: Display Name of the Service Provider Action. + :param str description: Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + :param str id: Unique Oracle assigned identifier for the Service Provider Action. + :param str name: A filter to return only resources that match the entire name given. + :param Sequence['GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyArgs'] properties: Fine grained properties associated with the Delegation Control. + :param str resource_type: A filter to return only resources that match the given resource type. + :param Sequence[str] service_provider_service_types: List of Service Provider Service Types that this Service Provider Action is applicable to. + :param str state: A filter to return only resources whose lifecycleState matches the given Service Provider Action 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) + pulumi.set(__self__, "service_provider_service_types", service_provider_service_types) + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter + def component(self) -> str: + """ + Name of the infrastructure layer associated with the Service Provider Action. + """ + return pulumi.get(self, "component") + + @property + @pulumi.getter(name="customerDisplayName") + def customer_display_name(self) -> str: + """ + Display Name of the Service Provider Action. + """ + return pulumi.get(self, "customer_display_name") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the Service Provider Action in terms of associated risk profile, and characteristics of the operating system commands made available to the support operator under this Service Provider Action. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def id(self) -> str: + """ + Unique Oracle assigned identifier for the Service Provider Action. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + A filter to return only resources that match the entire name given. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def properties(self) -> Sequence['outputs.GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyResult']: + """ + Fine grained properties associated with the Delegation Control. + """ + return pulumi.get(self, "properties") + + @property + @pulumi.getter(name="resourceType") + def resource_type(self) -> str: + """ + A filter to return only resources that match the given resource type. + """ + return pulumi.get(self, "resource_type") + + @property + @pulumi.getter(name="serviceProviderServiceTypes") + def service_provider_service_types(self) -> Sequence[str]: + """ + List of Service Provider Service Types that this Service Provider Action is applicable to. + """ + return pulumi.get(self, "service_provider_service_types") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return only resources whose lifecycleState matches the given Service Provider Action lifecycleState. + """ + return pulumi.get(self, "state") + + +@pulumi.output_type +class GetServiceProviderActionsServiceProviderActionSummaryCollectionItemPropertyResult(dict): + def __init__(__self__, *, + name: str, + value: str): + """ + :param str name: A filter to return only resources that match the entire name given. + :param str value: value of the property + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "value", value) + + @property + @pulumi.getter + def name(self) -> str: + """ + A filter to return only resources that match the entire name given. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def value(self) -> str: + """ + value of the property + """ + return pulumi.get(self, "value") + + +@pulumi.output_type +class GetServiceProvidersFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: A filter to return Service Provider resources that match the given name. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + """ + A filter to return Service Provider resources that match the given name. + """ + 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 GetServiceProvidersServiceProviderSummaryCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetServiceProvidersServiceProviderSummaryCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetServiceProvidersServiceProviderSummaryCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetServiceProvidersServiceProviderSummaryCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + defined_tags: Mapping[str, str], + description: str, + freeform_tags: Mapping[str, str], + id: str, + lifecycle_state_details: str, + name: str, + service_provider_type: str, + service_types: Sequence[str], + state: str, + supported_resource_types: Sequence[str], + system_tags: Mapping[str, str], + 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. + :param Mapping[str, str] 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 description: Description of the Service Provider. + :param Mapping[str, str] 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: Unique identifier for the Service Provider. + :param str lifecycle_state_details: Description of the current lifecycle state in more detail. + :param str name: A filter to return Service Provider resources that match the given name. + :param str service_provider_type: A filter to return only Service Provider resources whose provider type matches the given provider type. + :param Sequence[str] service_types: Types of services offered by this provider. + :param str state: A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + :param Sequence[str] supported_resource_types: Resource types for which this provider will provide service. Default to all if not specified. + :param Mapping[str, str] 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: Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + :param str time_updated: Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21: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__, "lifecycle_state_details", lifecycle_state_details) + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "service_provider_type", service_provider_type) + pulumi.set(__self__, "service_types", service_types) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "supported_resource_types", supported_resource_types) + pulumi.set(__self__, "system_tags", system_tags) + pulumi.set(__self__, "time_created", time_created) + 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. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + Description of the Service Provider. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + Unique identifier for the Service Provider. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lifecycleStateDetails") + def lifecycle_state_details(self) -> str: + """ + Description of the current lifecycle state in more detail. + """ + return pulumi.get(self, "lifecycle_state_details") + + @property + @pulumi.getter + def name(self) -> str: + """ + A filter to return Service Provider resources that match the given name. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="serviceProviderType") + def service_provider_type(self) -> str: + """ + A filter to return only Service Provider resources whose provider type matches the given provider type. + """ + return pulumi.get(self, "service_provider_type") + + @property + @pulumi.getter(name="serviceTypes") + def service_types(self) -> Sequence[str]: + """ + Types of services offered by this provider. + """ + return pulumi.get(self, "service_types") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return only Service Provider resources whose lifecycleState matches the given Service Provider lifecycle state. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="supportedResourceTypes") + def supported_resource_types(self) -> Sequence[str]: + """ + Resource types for which this provider will provide service. Default to all if not specified. + """ + return pulumi.get(self, "supported_resource_types") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, str]: + """ + 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: + """ + Time when the Service Provider was created expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Time when the Service Provider was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, e.g. '2020-05-22T21:10:29.600Z' + """ + return pulumi.get(self, "time_updated") + + diff --git a/sdk/python/pulumi_oci/fleetsoftwareupdate/__init__.py b/sdk/python/pulumi_oci/desktops/__init__.py similarity index 57% rename from sdk/python/pulumi_oci/fleetsoftwareupdate/__init__.py rename to sdk/python/pulumi_oci/desktops/__init__.py index 4b525fff19..b7e6803c4a 100644 --- a/sdk/python/pulumi_oci/fleetsoftwareupdate/__init__.py +++ b/sdk/python/pulumi_oci/desktops/__init__.py @@ -5,11 +5,12 @@ from .. import _utilities import typing # Export this package's modules as members: -from .fsu_collection import * -from .fsu_cycle import * -from .get_fsu_collection import * -from .get_fsu_collections import * -from .get_fsu_cycle import * -from .get_fsu_cycles import * +from .desktop_pool import * +from .get_desktop import * +from .get_desktop_pool import * +from .get_desktop_pool_desktops import * +from .get_desktop_pool_volumes import * +from .get_desktop_pools import * +from .get_desktops import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_oci/desktops/_inputs.py b/sdk/python/pulumi_oci/desktops/_inputs.py new file mode 100644 index 0000000000..6b6501e7da --- /dev/null +++ b/sdk/python/pulumi_oci/desktops/_inputs.py @@ -0,0 +1,483 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = [ + 'DesktopPoolAvailabilityPolicyArgs', + 'DesktopPoolAvailabilityPolicyStartScheduleArgs', + 'DesktopPoolAvailabilityPolicyStopScheduleArgs', + 'DesktopPoolDevicePolicyArgs', + 'DesktopPoolImageArgs', + 'DesktopPoolNetworkConfigurationArgs', + 'GetDesktopPoolDesktopsFilterArgs', + 'GetDesktopPoolVolumesFilterArgs', + 'GetDesktopPoolsFilterArgs', + 'GetDesktopsFilterArgs', +] + +@pulumi.input_type +class DesktopPoolAvailabilityPolicyArgs: + def __init__(__self__, *, + start_schedule: pulumi.Input['DesktopPoolAvailabilityPolicyStartScheduleArgs'], + stop_schedule: pulumi.Input['DesktopPoolAvailabilityPolicyStopScheduleArgs']): + """ + :param pulumi.Input['DesktopPoolAvailabilityPolicyStartScheduleArgs'] start_schedule: (Updatable) Provides the schedule information for a desktop. + :param pulumi.Input['DesktopPoolAvailabilityPolicyStopScheduleArgs'] stop_schedule: (Updatable) Provides the schedule information for a desktop. + """ + pulumi.set(__self__, "start_schedule", start_schedule) + pulumi.set(__self__, "stop_schedule", stop_schedule) + + @property + @pulumi.getter(name="startSchedule") + def start_schedule(self) -> pulumi.Input['DesktopPoolAvailabilityPolicyStartScheduleArgs']: + """ + (Updatable) Provides the schedule information for a desktop. + """ + return pulumi.get(self, "start_schedule") + + @start_schedule.setter + def start_schedule(self, value: pulumi.Input['DesktopPoolAvailabilityPolicyStartScheduleArgs']): + pulumi.set(self, "start_schedule", value) + + @property + @pulumi.getter(name="stopSchedule") + def stop_schedule(self) -> pulumi.Input['DesktopPoolAvailabilityPolicyStopScheduleArgs']: + """ + (Updatable) Provides the schedule information for a desktop. + """ + return pulumi.get(self, "stop_schedule") + + @stop_schedule.setter + def stop_schedule(self, value: pulumi.Input['DesktopPoolAvailabilityPolicyStopScheduleArgs']): + pulumi.set(self, "stop_schedule", value) + + +@pulumi.input_type +class DesktopPoolAvailabilityPolicyStartScheduleArgs: + def __init__(__self__, *, + cron_expression: pulumi.Input[str], + timezone: pulumi.Input[str]): + """ + :param pulumi.Input[str] cron_expression: (Updatable) A cron expression describing the desktop's schedule. + :param pulumi.Input[str] timezone: (Updatable) The timezone of the desktop's schedule. + """ + pulumi.set(__self__, "cron_expression", cron_expression) + pulumi.set(__self__, "timezone", timezone) + + @property + @pulumi.getter(name="cronExpression") + def cron_expression(self) -> pulumi.Input[str]: + """ + (Updatable) A cron expression describing the desktop's schedule. + """ + return pulumi.get(self, "cron_expression") + + @cron_expression.setter + def cron_expression(self, value: pulumi.Input[str]): + pulumi.set(self, "cron_expression", value) + + @property + @pulumi.getter + def timezone(self) -> pulumi.Input[str]: + """ + (Updatable) The timezone of the desktop's schedule. + """ + return pulumi.get(self, "timezone") + + @timezone.setter + def timezone(self, value: pulumi.Input[str]): + pulumi.set(self, "timezone", value) + + +@pulumi.input_type +class DesktopPoolAvailabilityPolicyStopScheduleArgs: + def __init__(__self__, *, + cron_expression: pulumi.Input[str], + timezone: pulumi.Input[str]): + """ + :param pulumi.Input[str] cron_expression: (Updatable) A cron expression describing the desktop's schedule. + :param pulumi.Input[str] timezone: (Updatable) The timezone of the desktop's schedule. + """ + pulumi.set(__self__, "cron_expression", cron_expression) + pulumi.set(__self__, "timezone", timezone) + + @property + @pulumi.getter(name="cronExpression") + def cron_expression(self) -> pulumi.Input[str]: + """ + (Updatable) A cron expression describing the desktop's schedule. + """ + return pulumi.get(self, "cron_expression") + + @cron_expression.setter + def cron_expression(self, value: pulumi.Input[str]): + pulumi.set(self, "cron_expression", value) + + @property + @pulumi.getter + def timezone(self) -> pulumi.Input[str]: + """ + (Updatable) The timezone of the desktop's schedule. + """ + return pulumi.get(self, "timezone") + + @timezone.setter + def timezone(self, value: pulumi.Input[str]): + pulumi.set(self, "timezone", value) + + +@pulumi.input_type +class DesktopPoolDevicePolicyArgs: + def __init__(__self__, *, + audio_mode: pulumi.Input[str], + cdm_mode: pulumi.Input[str], + clipboard_mode: pulumi.Input[str], + is_display_enabled: pulumi.Input[bool], + is_keyboard_enabled: pulumi.Input[bool], + is_pointer_enabled: pulumi.Input[bool], + is_printing_enabled: pulumi.Input[bool]): + """ + :param pulumi.Input[str] audio_mode: (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + :param pulumi.Input[str] cdm_mode: (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + :param pulumi.Input[str] clipboard_mode: (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + :param pulumi.Input[bool] is_display_enabled: (Updatable) Indicates whether the display is enabled. + :param pulumi.Input[bool] is_keyboard_enabled: (Updatable) Indicates whether the keyboard is enabled. + :param pulumi.Input[bool] is_pointer_enabled: (Updatable) Indicates whether the pointer is enabled. + :param pulumi.Input[bool] is_printing_enabled: (Updatable) Indicates whether printing is enabled. + """ + pulumi.set(__self__, "audio_mode", audio_mode) + pulumi.set(__self__, "cdm_mode", cdm_mode) + pulumi.set(__self__, "clipboard_mode", clipboard_mode) + pulumi.set(__self__, "is_display_enabled", is_display_enabled) + pulumi.set(__self__, "is_keyboard_enabled", is_keyboard_enabled) + pulumi.set(__self__, "is_pointer_enabled", is_pointer_enabled) + pulumi.set(__self__, "is_printing_enabled", is_printing_enabled) + + @property + @pulumi.getter(name="audioMode") + def audio_mode(self) -> pulumi.Input[str]: + """ + (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + """ + return pulumi.get(self, "audio_mode") + + @audio_mode.setter + def audio_mode(self, value: pulumi.Input[str]): + pulumi.set(self, "audio_mode", value) + + @property + @pulumi.getter(name="cdmMode") + def cdm_mode(self) -> pulumi.Input[str]: + """ + (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + """ + return pulumi.get(self, "cdm_mode") + + @cdm_mode.setter + def cdm_mode(self, value: pulumi.Input[str]): + pulumi.set(self, "cdm_mode", value) + + @property + @pulumi.getter(name="clipboardMode") + def clipboard_mode(self) -> pulumi.Input[str]: + """ + (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + """ + return pulumi.get(self, "clipboard_mode") + + @clipboard_mode.setter + def clipboard_mode(self, value: pulumi.Input[str]): + pulumi.set(self, "clipboard_mode", value) + + @property + @pulumi.getter(name="isDisplayEnabled") + def is_display_enabled(self) -> pulumi.Input[bool]: + """ + (Updatable) Indicates whether the display is enabled. + """ + return pulumi.get(self, "is_display_enabled") + + @is_display_enabled.setter + def is_display_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_display_enabled", value) + + @property + @pulumi.getter(name="isKeyboardEnabled") + def is_keyboard_enabled(self) -> pulumi.Input[bool]: + """ + (Updatable) Indicates whether the keyboard is enabled. + """ + return pulumi.get(self, "is_keyboard_enabled") + + @is_keyboard_enabled.setter + def is_keyboard_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_keyboard_enabled", value) + + @property + @pulumi.getter(name="isPointerEnabled") + def is_pointer_enabled(self) -> pulumi.Input[bool]: + """ + (Updatable) Indicates whether the pointer is enabled. + """ + return pulumi.get(self, "is_pointer_enabled") + + @is_pointer_enabled.setter + def is_pointer_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_pointer_enabled", value) + + @property + @pulumi.getter(name="isPrintingEnabled") + def is_printing_enabled(self) -> pulumi.Input[bool]: + """ + (Updatable) Indicates whether printing is enabled. + """ + return pulumi.get(self, "is_printing_enabled") + + @is_printing_enabled.setter + def is_printing_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_printing_enabled", value) + + +@pulumi.input_type +class DesktopPoolImageArgs: + def __init__(__self__, *, + image_id: pulumi.Input[str], + image_name: pulumi.Input[str]): + """ + :param pulumi.Input[str] image_id: The OCID of the desktop image. + :param pulumi.Input[str] image_name: The name of the desktop image. + """ + pulumi.set(__self__, "image_id", image_id) + pulumi.set(__self__, "image_name", image_name) + + @property + @pulumi.getter(name="imageId") + def image_id(self) -> pulumi.Input[str]: + """ + The OCID of the desktop image. + """ + return pulumi.get(self, "image_id") + + @image_id.setter + def image_id(self, value: pulumi.Input[str]): + pulumi.set(self, "image_id", value) + + @property + @pulumi.getter(name="imageName") + def image_name(self) -> pulumi.Input[str]: + """ + The name of the desktop image. + """ + return pulumi.get(self, "image_name") + + @image_name.setter + def image_name(self, value: pulumi.Input[str]): + pulumi.set(self, "image_name", value) + + +@pulumi.input_type +class DesktopPoolNetworkConfigurationArgs: + def __init__(__self__, *, + subnet_id: pulumi.Input[str], + vcn_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] subnet_id: The OCID of the subnet to use for the desktop pool. + :param pulumi.Input[str] vcn_id: The OCID of the VCN used by the desktop pool. + """ + pulumi.set(__self__, "subnet_id", subnet_id) + pulumi.set(__self__, "vcn_id", vcn_id) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Input[str]: + """ + The OCID of the subnet to use for the desktop pool. + """ + 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="vcnId") + def vcn_id(self) -> pulumi.Input[str]: + """ + The OCID of the VCN used by the desktop pool. + """ + return pulumi.get(self, "vcn_id") + + @vcn_id.setter + def vcn_id(self, value: pulumi.Input[str]): + pulumi.set(self, "vcn_id", value) + + +@pulumi.input_type +class GetDesktopPoolDesktopsFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDesktopPoolVolumesFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: The name of the desktop pool volume. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the desktop pool volume. + """ + 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 GetDesktopPoolsFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDesktopsFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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) + + diff --git a/sdk/python/pulumi_oci/desktops/desktop_pool.py b/sdk/python/pulumi_oci/desktops/desktop_pool.py new file mode 100644 index 0000000000..9b599832f4 --- /dev/null +++ b/sdk/python/pulumi_oci/desktops/desktop_pool.py @@ -0,0 +1,1348 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['DesktopPoolArgs', 'DesktopPool'] + +@pulumi.input_type +class DesktopPoolArgs: + def __init__(__self__, *, + are_privileged_users: pulumi.Input[bool], + availability_domain: pulumi.Input[str], + availability_policy: pulumi.Input['DesktopPoolAvailabilityPolicyArgs'], + compartment_id: pulumi.Input[str], + contact_details: pulumi.Input[str], + device_policy: pulumi.Input['DesktopPoolDevicePolicyArgs'], + display_name: pulumi.Input[str], + image: pulumi.Input['DesktopPoolImageArgs'], + is_storage_enabled: pulumi.Input[bool], + maximum_size: pulumi.Input[int], + network_configuration: pulumi.Input['DesktopPoolNetworkConfigurationArgs'], + shape_name: pulumi.Input[str], + standby_size: pulumi.Input[int], + storage_backup_policy_id: pulumi.Input[str], + storage_size_in_gbs: pulumi.Input[int], + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_start_scheduled: Optional[pulumi.Input[str]] = None, + time_stop_scheduled: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a DesktopPool resource. + :param pulumi.Input[bool] are_privileged_users: Indicates whether desktop pool users have administrative privileges on their desktop. + :param pulumi.Input[str] availability_domain: The availability domain of the desktop pool. + :param pulumi.Input['DesktopPoolAvailabilityPolicyArgs'] availability_policy: (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment which will contain the desktop pool. + :param pulumi.Input[str] contact_details: (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + :param pulumi.Input['DesktopPoolDevicePolicyArgs'] device_policy: (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + :param pulumi.Input[str] display_name: (Updatable) A user friendly display name. Avoid entering confidential information. + :param pulumi.Input['DesktopPoolImageArgs'] image: Provides information about the desktop image. + :param pulumi.Input[bool] is_storage_enabled: Indicates whether storage is enabled for the desktop pool. + :param pulumi.Input[int] maximum_size: (Updatable) The maximum number of desktops permitted in the desktop pool. + :param pulumi.Input['DesktopPoolNetworkConfigurationArgs'] network_configuration: Provides information about the network configuration of the desktop pool. + :param pulumi.Input[str] shape_name: The shape of the desktop pool. + :param pulumi.Input[int] standby_size: (Updatable) The maximum number of standby desktops available in the desktop pool. + :param pulumi.Input[str] storage_backup_policy_id: The backup policy OCID of the storage. + :param pulumi.Input[int] storage_size_in_gbs: The size in GBs of the storage for the desktop pool. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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]]] nsg_ids: A list of network security groups for the desktop pool. + :param pulumi.Input[str] time_start_scheduled: (Updatable) The start time of the desktop pool. + :param pulumi.Input[str] time_stop_scheduled: (Updatable) The stop time of the desktop pool. + + + ** IMPORTANT ** + Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + """ + pulumi.set(__self__, "are_privileged_users", are_privileged_users) + pulumi.set(__self__, "availability_domain", availability_domain) + pulumi.set(__self__, "availability_policy", availability_policy) + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "contact_details", contact_details) + pulumi.set(__self__, "device_policy", device_policy) + pulumi.set(__self__, "display_name", display_name) + pulumi.set(__self__, "image", image) + pulumi.set(__self__, "is_storage_enabled", is_storage_enabled) + pulumi.set(__self__, "maximum_size", maximum_size) + pulumi.set(__self__, "network_configuration", network_configuration) + pulumi.set(__self__, "shape_name", shape_name) + pulumi.set(__self__, "standby_size", standby_size) + pulumi.set(__self__, "storage_backup_policy_id", storage_backup_policy_id) + pulumi.set(__self__, "storage_size_in_gbs", storage_size_in_gbs) + if defined_tags is not None: + pulumi.set(__self__, "defined_tags", defined_tags) + if description is not None: + pulumi.set(__self__, "description", description) + if freeform_tags is not None: + pulumi.set(__self__, "freeform_tags", freeform_tags) + if nsg_ids is not None: + pulumi.set(__self__, "nsg_ids", nsg_ids) + if time_start_scheduled is not None: + pulumi.set(__self__, "time_start_scheduled", time_start_scheduled) + if time_stop_scheduled is not None: + pulumi.set(__self__, "time_stop_scheduled", time_stop_scheduled) + + @property + @pulumi.getter(name="arePrivilegedUsers") + def are_privileged_users(self) -> pulumi.Input[bool]: + """ + Indicates whether desktop pool users have administrative privileges on their desktop. + """ + return pulumi.get(self, "are_privileged_users") + + @are_privileged_users.setter + def are_privileged_users(self, value: pulumi.Input[bool]): + pulumi.set(self, "are_privileged_users", value) + + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> pulumi.Input[str]: + """ + The availability domain of the desktop pool. + """ + return pulumi.get(self, "availability_domain") + + @availability_domain.setter + def availability_domain(self, value: pulumi.Input[str]): + pulumi.set(self, "availability_domain", value) + + @property + @pulumi.getter(name="availabilityPolicy") + def availability_policy(self) -> pulumi.Input['DesktopPoolAvailabilityPolicyArgs']: + """ + (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + """ + return pulumi.get(self, "availability_policy") + + @availability_policy.setter + def availability_policy(self, value: pulumi.Input['DesktopPoolAvailabilityPolicyArgs']): + pulumi.set(self, "availability_policy", value) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + (Updatable) The OCID of the compartment which will contain the desktop pool. + """ + 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="contactDetails") + def contact_details(self) -> pulumi.Input[str]: + """ + (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + """ + return pulumi.get(self, "contact_details") + + @contact_details.setter + def contact_details(self, value: pulumi.Input[str]): + pulumi.set(self, "contact_details", value) + + @property + @pulumi.getter(name="devicePolicy") + def device_policy(self) -> pulumi.Input['DesktopPoolDevicePolicyArgs']: + """ + (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + """ + return pulumi.get(self, "device_policy") + + @device_policy.setter + def device_policy(self, value: pulumi.Input['DesktopPoolDevicePolicyArgs']): + pulumi.set(self, "device_policy", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + (Updatable) A user friendly 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 image(self) -> pulumi.Input['DesktopPoolImageArgs']: + """ + Provides information about the desktop image. + """ + return pulumi.get(self, "image") + + @image.setter + def image(self, value: pulumi.Input['DesktopPoolImageArgs']): + pulumi.set(self, "image", value) + + @property + @pulumi.getter(name="isStorageEnabled") + def is_storage_enabled(self) -> pulumi.Input[bool]: + """ + Indicates whether storage is enabled for the desktop pool. + """ + return pulumi.get(self, "is_storage_enabled") + + @is_storage_enabled.setter + def is_storage_enabled(self, value: pulumi.Input[bool]): + pulumi.set(self, "is_storage_enabled", value) + + @property + @pulumi.getter(name="maximumSize") + def maximum_size(self) -> pulumi.Input[int]: + """ + (Updatable) The maximum number of desktops permitted in the desktop pool. + """ + return pulumi.get(self, "maximum_size") + + @maximum_size.setter + def maximum_size(self, value: pulumi.Input[int]): + pulumi.set(self, "maximum_size", value) + + @property + @pulumi.getter(name="networkConfiguration") + def network_configuration(self) -> pulumi.Input['DesktopPoolNetworkConfigurationArgs']: + """ + Provides information about the network configuration of the desktop pool. + """ + return pulumi.get(self, "network_configuration") + + @network_configuration.setter + def network_configuration(self, value: pulumi.Input['DesktopPoolNetworkConfigurationArgs']): + pulumi.set(self, "network_configuration", value) + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> pulumi.Input[str]: + """ + The shape of the desktop pool. + """ + return pulumi.get(self, "shape_name") + + @shape_name.setter + def shape_name(self, value: pulumi.Input[str]): + pulumi.set(self, "shape_name", value) + + @property + @pulumi.getter(name="standbySize") + def standby_size(self) -> pulumi.Input[int]: + """ + (Updatable) The maximum number of standby desktops available in the desktop pool. + """ + return pulumi.get(self, "standby_size") + + @standby_size.setter + def standby_size(self, value: pulumi.Input[int]): + pulumi.set(self, "standby_size", value) + + @property + @pulumi.getter(name="storageBackupPolicyId") + def storage_backup_policy_id(self) -> pulumi.Input[str]: + """ + The backup policy OCID of the storage. + """ + return pulumi.get(self, "storage_backup_policy_id") + + @storage_backup_policy_id.setter + def storage_backup_policy_id(self, value: pulumi.Input[str]): + pulumi.set(self, "storage_backup_policy_id", value) + + @property + @pulumi.getter(name="storageSizeInGbs") + def storage_size_in_gbs(self) -> pulumi.Input[int]: + """ + The size in GBs of the storage for the desktop pool. + """ + return pulumi.get(self, "storage_size_in_gbs") + + @storage_size_in_gbs.setter + def storage_size_in_gbs(self, value: pulumi.Input[int]): + pulumi.set(self, "storage_size_in_gbs", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A user friendly description providing additional information about the resource. 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, pulumi.Input[str]]]]: + """ + (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"}` + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter(name="nsgIds") + def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A list of network security groups for the desktop pool. + """ + 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="timeStartScheduled") + def time_start_scheduled(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The start time of the desktop pool. + """ + return pulumi.get(self, "time_start_scheduled") + + @time_start_scheduled.setter + def time_start_scheduled(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_start_scheduled", value) + + @property + @pulumi.getter(name="timeStopScheduled") + def time_stop_scheduled(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The stop time of the desktop pool. + + + ** IMPORTANT ** + 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, "time_stop_scheduled") + + @time_stop_scheduled.setter + def time_stop_scheduled(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_stop_scheduled", value) + + +@pulumi.input_type +class _DesktopPoolState: + def __init__(__self__, *, + active_desktops: Optional[pulumi.Input[int]] = None, + are_privileged_users: Optional[pulumi.Input[bool]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + availability_policy: Optional[pulumi.Input['DesktopPoolAvailabilityPolicyArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + contact_details: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + device_policy: Optional[pulumi.Input['DesktopPoolDevicePolicyArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + image: Optional[pulumi.Input['DesktopPoolImageArgs']] = None, + is_storage_enabled: Optional[pulumi.Input[bool]] = None, + maximum_size: Optional[pulumi.Input[int]] = None, + network_configuration: Optional[pulumi.Input['DesktopPoolNetworkConfigurationArgs']] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + standby_size: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_backup_policy_id: Optional[pulumi.Input[str]] = None, + storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_start_scheduled: Optional[pulumi.Input[str]] = None, + time_stop_scheduled: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering DesktopPool resources. + :param pulumi.Input[int] active_desktops: The number of active desktops in the desktop pool. + :param pulumi.Input[bool] are_privileged_users: Indicates whether desktop pool users have administrative privileges on their desktop. + :param pulumi.Input[str] availability_domain: The availability domain of the desktop pool. + :param pulumi.Input['DesktopPoolAvailabilityPolicyArgs'] availability_policy: (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment which will contain the desktop pool. + :param pulumi.Input[str] contact_details: (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + :param pulumi.Input['DesktopPoolDevicePolicyArgs'] device_policy: (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + :param pulumi.Input[str] display_name: (Updatable) A user friendly display name. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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['DesktopPoolImageArgs'] image: Provides information about the desktop image. + :param pulumi.Input[bool] is_storage_enabled: Indicates whether storage is enabled for the desktop pool. + :param pulumi.Input[int] maximum_size: (Updatable) The maximum number of desktops permitted in the desktop pool. + :param pulumi.Input['DesktopPoolNetworkConfigurationArgs'] network_configuration: Provides information about the network configuration of the desktop pool. + :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: A list of network security groups for the desktop pool. + :param pulumi.Input[str] shape_name: The shape of the desktop pool. + :param pulumi.Input[int] standby_size: (Updatable) The maximum number of standby desktops available in the desktop pool. + :param pulumi.Input[str] state: The current state of the desktop pool. + :param pulumi.Input[str] storage_backup_policy_id: The backup policy OCID of the storage. + :param pulumi.Input[int] storage_size_in_gbs: The size in GBs of the storage for the desktop pool. + :param pulumi.Input[str] time_created: The date and time the resource was created. + :param pulumi.Input[str] time_start_scheduled: (Updatable) The start time of the desktop pool. + :param pulumi.Input[str] time_stop_scheduled: (Updatable) The stop time of the desktop pool. + + + ** IMPORTANT ** + Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + """ + if active_desktops is not None: + pulumi.set(__self__, "active_desktops", active_desktops) + if are_privileged_users is not None: + pulumi.set(__self__, "are_privileged_users", are_privileged_users) + if availability_domain is not None: + pulumi.set(__self__, "availability_domain", availability_domain) + if availability_policy is not None: + pulumi.set(__self__, "availability_policy", availability_policy) + if compartment_id is not None: + pulumi.set(__self__, "compartment_id", compartment_id) + if contact_details is not None: + pulumi.set(__self__, "contact_details", contact_details) + if defined_tags is not None: + pulumi.set(__self__, "defined_tags", defined_tags) + if description is not None: + pulumi.set(__self__, "description", description) + if device_policy is not None: + pulumi.set(__self__, "device_policy", device_policy) + if display_name is not None: + pulumi.set(__self__, "display_name", display_name) + if freeform_tags is not None: + pulumi.set(__self__, "freeform_tags", freeform_tags) + if image is not None: + pulumi.set(__self__, "image", image) + if is_storage_enabled is not None: + pulumi.set(__self__, "is_storage_enabled", is_storage_enabled) + if maximum_size is not None: + pulumi.set(__self__, "maximum_size", maximum_size) + if network_configuration is not None: + pulumi.set(__self__, "network_configuration", network_configuration) + if nsg_ids is not None: + pulumi.set(__self__, "nsg_ids", nsg_ids) + if shape_name is not None: + pulumi.set(__self__, "shape_name", shape_name) + if standby_size is not None: + pulumi.set(__self__, "standby_size", standby_size) + if state is not None: + pulumi.set(__self__, "state", state) + if storage_backup_policy_id is not None: + pulumi.set(__self__, "storage_backup_policy_id", storage_backup_policy_id) + if storage_size_in_gbs is not None: + pulumi.set(__self__, "storage_size_in_gbs", storage_size_in_gbs) + if time_created is not None: + pulumi.set(__self__, "time_created", time_created) + if time_start_scheduled is not None: + pulumi.set(__self__, "time_start_scheduled", time_start_scheduled) + if time_stop_scheduled is not None: + pulumi.set(__self__, "time_stop_scheduled", time_stop_scheduled) + + @property + @pulumi.getter(name="activeDesktops") + def active_desktops(self) -> Optional[pulumi.Input[int]]: + """ + The number of active desktops in the desktop pool. + """ + return pulumi.get(self, "active_desktops") + + @active_desktops.setter + def active_desktops(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "active_desktops", value) + + @property + @pulumi.getter(name="arePrivilegedUsers") + def are_privileged_users(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether desktop pool users have administrative privileges on their desktop. + """ + return pulumi.get(self, "are_privileged_users") + + @are_privileged_users.setter + def are_privileged_users(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "are_privileged_users", value) + + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> Optional[pulumi.Input[str]]: + """ + The availability domain of the desktop pool. + """ + return pulumi.get(self, "availability_domain") + + @availability_domain.setter + def availability_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "availability_domain", value) + + @property + @pulumi.getter(name="availabilityPolicy") + def availability_policy(self) -> Optional[pulumi.Input['DesktopPoolAvailabilityPolicyArgs']]: + """ + (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + """ + return pulumi.get(self, "availability_policy") + + @availability_policy.setter + def availability_policy(self, value: Optional[pulumi.Input['DesktopPoolAvailabilityPolicyArgs']]): + pulumi.set(self, "availability_policy", value) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the compartment which will contain the desktop pool. + """ + 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="contactDetails") + def contact_details(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + """ + return pulumi.get(self, "contact_details") + + @contact_details.setter + def contact_details(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "contact_details", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A user friendly description providing additional information about the resource. 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="devicePolicy") + def device_policy(self) -> Optional[pulumi.Input['DesktopPoolDevicePolicyArgs']]: + """ + (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + """ + return pulumi.get(self, "device_policy") + + @device_policy.setter + def device_policy(self, value: Optional[pulumi.Input['DesktopPoolDevicePolicyArgs']]): + pulumi.set(self, "device_policy", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A user friendly 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(name="freeformTags") + def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: + """ + (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"}` + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter + def image(self) -> Optional[pulumi.Input['DesktopPoolImageArgs']]: + """ + Provides information about the desktop image. + """ + return pulumi.get(self, "image") + + @image.setter + def image(self, value: Optional[pulumi.Input['DesktopPoolImageArgs']]): + pulumi.set(self, "image", value) + + @property + @pulumi.getter(name="isStorageEnabled") + def is_storage_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether storage is enabled for the desktop pool. + """ + return pulumi.get(self, "is_storage_enabled") + + @is_storage_enabled.setter + def is_storage_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_storage_enabled", value) + + @property + @pulumi.getter(name="maximumSize") + def maximum_size(self) -> Optional[pulumi.Input[int]]: + """ + (Updatable) The maximum number of desktops permitted in the desktop pool. + """ + return pulumi.get(self, "maximum_size") + + @maximum_size.setter + def maximum_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "maximum_size", value) + + @property + @pulumi.getter(name="networkConfiguration") + def network_configuration(self) -> Optional[pulumi.Input['DesktopPoolNetworkConfigurationArgs']]: + """ + Provides information about the network configuration of the desktop pool. + """ + return pulumi.get(self, "network_configuration") + + @network_configuration.setter + def network_configuration(self, value: Optional[pulumi.Input['DesktopPoolNetworkConfigurationArgs']]): + pulumi.set(self, "network_configuration", value) + + @property + @pulumi.getter(name="nsgIds") + def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + A list of network security groups for the desktop pool. + """ + 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="shapeName") + def shape_name(self) -> Optional[pulumi.Input[str]]: + """ + The shape of the desktop pool. + """ + 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(name="standbySize") + def standby_size(self) -> Optional[pulumi.Input[int]]: + """ + (Updatable) The maximum number of standby desktops available in the desktop pool. + """ + return pulumi.get(self, "standby_size") + + @standby_size.setter + def standby_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "standby_size", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of the desktop pool. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter(name="storageBackupPolicyId") + def storage_backup_policy_id(self) -> Optional[pulumi.Input[str]]: + """ + The backup policy OCID of the storage. + """ + return pulumi.get(self, "storage_backup_policy_id") + + @storage_backup_policy_id.setter + def storage_backup_policy_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "storage_backup_policy_id", value) + + @property + @pulumi.getter(name="storageSizeInGbs") + def storage_size_in_gbs(self) -> Optional[pulumi.Input[int]]: + """ + The size in GBs of the storage for the desktop pool. + """ + return pulumi.get(self, "storage_size_in_gbs") + + @storage_size_in_gbs.setter + def storage_size_in_gbs(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "storage_size_in_gbs", value) + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The date and time the resource was created. + """ + 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="timeStartScheduled") + def time_start_scheduled(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The start time of the desktop pool. + """ + return pulumi.get(self, "time_start_scheduled") + + @time_start_scheduled.setter + def time_start_scheduled(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_start_scheduled", value) + + @property + @pulumi.getter(name="timeStopScheduled") + def time_stop_scheduled(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The stop time of the desktop pool. + + + ** IMPORTANT ** + 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, "time_stop_scheduled") + + @time_stop_scheduled.setter + def time_stop_scheduled(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_stop_scheduled", value) + + +class DesktopPool(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + are_privileged_users: Optional[pulumi.Input[bool]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + availability_policy: Optional[pulumi.Input[Union['DesktopPoolAvailabilityPolicyArgs', 'DesktopPoolAvailabilityPolicyArgsDict']]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + contact_details: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + device_policy: Optional[pulumi.Input[Union['DesktopPoolDevicePolicyArgs', 'DesktopPoolDevicePolicyArgsDict']]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + image: Optional[pulumi.Input[Union['DesktopPoolImageArgs', 'DesktopPoolImageArgsDict']]] = None, + is_storage_enabled: Optional[pulumi.Input[bool]] = None, + maximum_size: Optional[pulumi.Input[int]] = None, + network_configuration: Optional[pulumi.Input[Union['DesktopPoolNetworkConfigurationArgs', 'DesktopPoolNetworkConfigurationArgsDict']]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + standby_size: Optional[pulumi.Input[int]] = None, + storage_backup_policy_id: Optional[pulumi.Input[str]] = None, + storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + time_start_scheduled: Optional[pulumi.Input[str]] = None, + time_stop_scheduled: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + + Creates a desktop pool with the given configuration parameters. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop_pool = oci.desktops.DesktopPool("test_desktop_pool", + are_privileged_users=desktop_pool_are_privileged_users, + availability_domain=desktop_pool_availability_domain, + availability_policy={ + "start_schedule": { + "cron_expression": "0 10 8 ? * 2", + "timezone": "America/Denver", + }, + "stop_schedule": { + "cron_expression": "0 20 18 ? * 6", + "timezone": "America/Denver", + }, + }, + compartment_id=compartment_id, + contact_details=desktop_pool_contact_details, + device_policy={ + "audio_mode": desktop_pool_device_policy_audio_mode, + "cdm_mode": desktop_pool_device_policy_cdm_mode, + "clipboard_mode": desktop_pool_device_policy_clipboard_mode, + "is_display_enabled": desktop_pool_device_policy_is_display_enabled, + "is_keyboard_enabled": desktop_pool_device_policy_is_keyboard_enabled, + "is_pointer_enabled": desktop_pool_device_policy_is_pointer_enabled, + "is_printing_enabled": desktop_pool_device_policy_is_printing_enabled, + }, + display_name=desktop_pool_display_name, + image={ + "image_id": test_image["id"], + "image_name": desktop_pool_image_image_name, + }, + is_storage_enabled=desktop_pool_is_storage_enabled, + maximum_size=desktop_pool_maximum_size, + network_configuration={ + "subnet_id": test_subnet["id"], + "vcn_id": test_vcn["id"], + }, + shape_name="VM.Standard.E4.Flex", + standby_size=desktop_pool_standby_size, + storage_backup_policy_id="ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz", + storage_size_in_gbs=desktop_pool_storage_size_in_gbs, + defined_tags={ + "Operations.CostCenter": "42", + }, + description=desktop_pool_description, + freeform_tags={ + "Department": "Finance", + }, + nsg_ids=desktop_pool_nsg_ids, + time_start_scheduled=desktop_pool_time_start_scheduled, + time_stop_scheduled=desktop_pool_time_stop_scheduled) + ``` + + ## Import + + DesktopPools can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:Desktops/desktopPool:DesktopPool test_desktop_pool "id" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[bool] are_privileged_users: Indicates whether desktop pool users have administrative privileges on their desktop. + :param pulumi.Input[str] availability_domain: The availability domain of the desktop pool. + :param pulumi.Input[Union['DesktopPoolAvailabilityPolicyArgs', 'DesktopPoolAvailabilityPolicyArgsDict']] availability_policy: (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment which will contain the desktop pool. + :param pulumi.Input[str] contact_details: (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + :param pulumi.Input[Union['DesktopPoolDevicePolicyArgs', 'DesktopPoolDevicePolicyArgsDict']] device_policy: (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + :param pulumi.Input[str] display_name: (Updatable) A user friendly display name. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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[Union['DesktopPoolImageArgs', 'DesktopPoolImageArgsDict']] image: Provides information about the desktop image. + :param pulumi.Input[bool] is_storage_enabled: Indicates whether storage is enabled for the desktop pool. + :param pulumi.Input[int] maximum_size: (Updatable) The maximum number of desktops permitted in the desktop pool. + :param pulumi.Input[Union['DesktopPoolNetworkConfigurationArgs', 'DesktopPoolNetworkConfigurationArgsDict']] network_configuration: Provides information about the network configuration of the desktop pool. + :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: A list of network security groups for the desktop pool. + :param pulumi.Input[str] shape_name: The shape of the desktop pool. + :param pulumi.Input[int] standby_size: (Updatable) The maximum number of standby desktops available in the desktop pool. + :param pulumi.Input[str] storage_backup_policy_id: The backup policy OCID of the storage. + :param pulumi.Input[int] storage_size_in_gbs: The size in GBs of the storage for the desktop pool. + :param pulumi.Input[str] time_start_scheduled: (Updatable) The start time of the desktop pool. + :param pulumi.Input[str] time_stop_scheduled: (Updatable) The stop time of the desktop pool. + + + ** IMPORTANT ** + 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: DesktopPoolArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + + Creates a desktop pool with the given configuration parameters. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop_pool = oci.desktops.DesktopPool("test_desktop_pool", + are_privileged_users=desktop_pool_are_privileged_users, + availability_domain=desktop_pool_availability_domain, + availability_policy={ + "start_schedule": { + "cron_expression": "0 10 8 ? * 2", + "timezone": "America/Denver", + }, + "stop_schedule": { + "cron_expression": "0 20 18 ? * 6", + "timezone": "America/Denver", + }, + }, + compartment_id=compartment_id, + contact_details=desktop_pool_contact_details, + device_policy={ + "audio_mode": desktop_pool_device_policy_audio_mode, + "cdm_mode": desktop_pool_device_policy_cdm_mode, + "clipboard_mode": desktop_pool_device_policy_clipboard_mode, + "is_display_enabled": desktop_pool_device_policy_is_display_enabled, + "is_keyboard_enabled": desktop_pool_device_policy_is_keyboard_enabled, + "is_pointer_enabled": desktop_pool_device_policy_is_pointer_enabled, + "is_printing_enabled": desktop_pool_device_policy_is_printing_enabled, + }, + display_name=desktop_pool_display_name, + image={ + "image_id": test_image["id"], + "image_name": desktop_pool_image_image_name, + }, + is_storage_enabled=desktop_pool_is_storage_enabled, + maximum_size=desktop_pool_maximum_size, + network_configuration={ + "subnet_id": test_subnet["id"], + "vcn_id": test_vcn["id"], + }, + shape_name="VM.Standard.E4.Flex", + standby_size=desktop_pool_standby_size, + storage_backup_policy_id="ocid1.volumebackuppolicy.oc1.xxxxyyyyyzzzz", + storage_size_in_gbs=desktop_pool_storage_size_in_gbs, + defined_tags={ + "Operations.CostCenter": "42", + }, + description=desktop_pool_description, + freeform_tags={ + "Department": "Finance", + }, + nsg_ids=desktop_pool_nsg_ids, + time_start_scheduled=desktop_pool_time_start_scheduled, + time_stop_scheduled=desktop_pool_time_stop_scheduled) + ``` + + ## Import + + DesktopPools can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:Desktops/desktopPool:DesktopPool test_desktop_pool "id" + ``` + + :param str resource_name: The name of the resource. + :param DesktopPoolArgs 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(DesktopPoolArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + are_privileged_users: Optional[pulumi.Input[bool]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + availability_policy: Optional[pulumi.Input[Union['DesktopPoolAvailabilityPolicyArgs', 'DesktopPoolAvailabilityPolicyArgsDict']]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + contact_details: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + device_policy: Optional[pulumi.Input[Union['DesktopPoolDevicePolicyArgs', 'DesktopPoolDevicePolicyArgsDict']]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + image: Optional[pulumi.Input[Union['DesktopPoolImageArgs', 'DesktopPoolImageArgsDict']]] = None, + is_storage_enabled: Optional[pulumi.Input[bool]] = None, + maximum_size: Optional[pulumi.Input[int]] = None, + network_configuration: Optional[pulumi.Input[Union['DesktopPoolNetworkConfigurationArgs', 'DesktopPoolNetworkConfigurationArgsDict']]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + standby_size: Optional[pulumi.Input[int]] = None, + storage_backup_policy_id: Optional[pulumi.Input[str]] = None, + storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + time_start_scheduled: Optional[pulumi.Input[str]] = None, + time_stop_scheduled: 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__ = DesktopPoolArgs.__new__(DesktopPoolArgs) + + if are_privileged_users is None and not opts.urn: + raise TypeError("Missing required property 'are_privileged_users'") + __props__.__dict__["are_privileged_users"] = are_privileged_users + if availability_domain is None and not opts.urn: + raise TypeError("Missing required property 'availability_domain'") + __props__.__dict__["availability_domain"] = availability_domain + if availability_policy is None and not opts.urn: + raise TypeError("Missing required property 'availability_policy'") + __props__.__dict__["availability_policy"] = availability_policy + if compartment_id is None and not opts.urn: + raise TypeError("Missing required property 'compartment_id'") + __props__.__dict__["compartment_id"] = compartment_id + if contact_details is None and not opts.urn: + raise TypeError("Missing required property 'contact_details'") + __props__.__dict__["contact_details"] = contact_details + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["description"] = description + if device_policy is None and not opts.urn: + raise TypeError("Missing required property 'device_policy'") + __props__.__dict__["device_policy"] = device_policy + 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 image is None and not opts.urn: + raise TypeError("Missing required property 'image'") + __props__.__dict__["image"] = image + if is_storage_enabled is None and not opts.urn: + raise TypeError("Missing required property 'is_storage_enabled'") + __props__.__dict__["is_storage_enabled"] = is_storage_enabled + if maximum_size is None and not opts.urn: + raise TypeError("Missing required property 'maximum_size'") + __props__.__dict__["maximum_size"] = maximum_size + if network_configuration is None and not opts.urn: + raise TypeError("Missing required property 'network_configuration'") + __props__.__dict__["network_configuration"] = network_configuration + __props__.__dict__["nsg_ids"] = nsg_ids + if shape_name is None and not opts.urn: + raise TypeError("Missing required property 'shape_name'") + __props__.__dict__["shape_name"] = shape_name + if standby_size is None and not opts.urn: + raise TypeError("Missing required property 'standby_size'") + __props__.__dict__["standby_size"] = standby_size + if storage_backup_policy_id is None and not opts.urn: + raise TypeError("Missing required property 'storage_backup_policy_id'") + __props__.__dict__["storage_backup_policy_id"] = storage_backup_policy_id + if storage_size_in_gbs is None and not opts.urn: + raise TypeError("Missing required property 'storage_size_in_gbs'") + __props__.__dict__["storage_size_in_gbs"] = storage_size_in_gbs + __props__.__dict__["time_start_scheduled"] = time_start_scheduled + __props__.__dict__["time_stop_scheduled"] = time_stop_scheduled + __props__.__dict__["active_desktops"] = None + __props__.__dict__["state"] = None + __props__.__dict__["time_created"] = None + super(DesktopPool, __self__).__init__( + 'oci:Desktops/desktopPool:DesktopPool', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + active_desktops: Optional[pulumi.Input[int]] = None, + are_privileged_users: Optional[pulumi.Input[bool]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + availability_policy: Optional[pulumi.Input[Union['DesktopPoolAvailabilityPolicyArgs', 'DesktopPoolAvailabilityPolicyArgsDict']]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + contact_details: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + device_policy: Optional[pulumi.Input[Union['DesktopPoolDevicePolicyArgs', 'DesktopPoolDevicePolicyArgsDict']]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + image: Optional[pulumi.Input[Union['DesktopPoolImageArgs', 'DesktopPoolImageArgsDict']]] = None, + is_storage_enabled: Optional[pulumi.Input[bool]] = None, + maximum_size: Optional[pulumi.Input[int]] = None, + network_configuration: Optional[pulumi.Input[Union['DesktopPoolNetworkConfigurationArgs', 'DesktopPoolNetworkConfigurationArgsDict']]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + standby_size: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_backup_policy_id: Optional[pulumi.Input[str]] = None, + storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_start_scheduled: Optional[pulumi.Input[str]] = None, + time_stop_scheduled: Optional[pulumi.Input[str]] = None) -> 'DesktopPool': + """ + Get an existing DesktopPool 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[int] active_desktops: The number of active desktops in the desktop pool. + :param pulumi.Input[bool] are_privileged_users: Indicates whether desktop pool users have administrative privileges on their desktop. + :param pulumi.Input[str] availability_domain: The availability domain of the desktop pool. + :param pulumi.Input[Union['DesktopPoolAvailabilityPolicyArgs', 'DesktopPoolAvailabilityPolicyArgsDict']] availability_policy: (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment which will contain the desktop pool. + :param pulumi.Input[str] contact_details: (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] description: (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + :param pulumi.Input[Union['DesktopPoolDevicePolicyArgs', 'DesktopPoolDevicePolicyArgsDict']] device_policy: (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + :param pulumi.Input[str] display_name: (Updatable) A user friendly display name. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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[Union['DesktopPoolImageArgs', 'DesktopPoolImageArgsDict']] image: Provides information about the desktop image. + :param pulumi.Input[bool] is_storage_enabled: Indicates whether storage is enabled for the desktop pool. + :param pulumi.Input[int] maximum_size: (Updatable) The maximum number of desktops permitted in the desktop pool. + :param pulumi.Input[Union['DesktopPoolNetworkConfigurationArgs', 'DesktopPoolNetworkConfigurationArgsDict']] network_configuration: Provides information about the network configuration of the desktop pool. + :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: A list of network security groups for the desktop pool. + :param pulumi.Input[str] shape_name: The shape of the desktop pool. + :param pulumi.Input[int] standby_size: (Updatable) The maximum number of standby desktops available in the desktop pool. + :param pulumi.Input[str] state: The current state of the desktop pool. + :param pulumi.Input[str] storage_backup_policy_id: The backup policy OCID of the storage. + :param pulumi.Input[int] storage_size_in_gbs: The size in GBs of the storage for the desktop pool. + :param pulumi.Input[str] time_created: The date and time the resource was created. + :param pulumi.Input[str] time_start_scheduled: (Updatable) The start time of the desktop pool. + :param pulumi.Input[str] time_stop_scheduled: (Updatable) The stop time of the desktop pool. + + + ** IMPORTANT ** + Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _DesktopPoolState.__new__(_DesktopPoolState) + + __props__.__dict__["active_desktops"] = active_desktops + __props__.__dict__["are_privileged_users"] = are_privileged_users + __props__.__dict__["availability_domain"] = availability_domain + __props__.__dict__["availability_policy"] = availability_policy + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["contact_details"] = contact_details + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["description"] = description + __props__.__dict__["device_policy"] = device_policy + __props__.__dict__["display_name"] = display_name + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["image"] = image + __props__.__dict__["is_storage_enabled"] = is_storage_enabled + __props__.__dict__["maximum_size"] = maximum_size + __props__.__dict__["network_configuration"] = network_configuration + __props__.__dict__["nsg_ids"] = nsg_ids + __props__.__dict__["shape_name"] = shape_name + __props__.__dict__["standby_size"] = standby_size + __props__.__dict__["state"] = state + __props__.__dict__["storage_backup_policy_id"] = storage_backup_policy_id + __props__.__dict__["storage_size_in_gbs"] = storage_size_in_gbs + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_start_scheduled"] = time_start_scheduled + __props__.__dict__["time_stop_scheduled"] = time_stop_scheduled + return DesktopPool(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="activeDesktops") + def active_desktops(self) -> pulumi.Output[int]: + """ + The number of active desktops in the desktop pool. + """ + return pulumi.get(self, "active_desktops") + + @property + @pulumi.getter(name="arePrivilegedUsers") + def are_privileged_users(self) -> pulumi.Output[bool]: + """ + Indicates whether desktop pool users have administrative privileges on their desktop. + """ + return pulumi.get(self, "are_privileged_users") + + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> pulumi.Output[str]: + """ + The availability domain of the desktop pool. + """ + return pulumi.get(self, "availability_domain") + + @property + @pulumi.getter(name="availabilityPolicy") + def availability_policy(self) -> pulumi.Output['outputs.DesktopPoolAvailabilityPolicy']: + """ + (Updatable) Provides the start and stop schedule information for desktop availability of the desktop pool. + """ + return pulumi.get(self, "availability_policy") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + (Updatable) The OCID of the compartment which will contain the desktop pool. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="contactDetails") + def contact_details(self) -> pulumi.Output[str]: + """ + (Updatable) Contact information of the desktop pool administrator. Avoid entering confidential information. + """ + return pulumi.get(self, "contact_details") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + (Updatable) A user friendly description providing additional information about the resource. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="devicePolicy") + def device_policy(self) -> pulumi.Output['outputs.DesktopPoolDevicePolicy']: + """ + (Updatable) Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + """ + return pulumi.get(self, "device_policy") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) A user friendly display name. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: + """ + (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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def image(self) -> pulumi.Output['outputs.DesktopPoolImage']: + """ + Provides information about the desktop image. + """ + return pulumi.get(self, "image") + + @property + @pulumi.getter(name="isStorageEnabled") + def is_storage_enabled(self) -> pulumi.Output[bool]: + """ + Indicates whether storage is enabled for the desktop pool. + """ + return pulumi.get(self, "is_storage_enabled") + + @property + @pulumi.getter(name="maximumSize") + def maximum_size(self) -> pulumi.Output[int]: + """ + (Updatable) The maximum number of desktops permitted in the desktop pool. + """ + return pulumi.get(self, "maximum_size") + + @property + @pulumi.getter(name="networkConfiguration") + def network_configuration(self) -> pulumi.Output['outputs.DesktopPoolNetworkConfiguration']: + """ + Provides information about the network configuration of the desktop pool. + """ + return pulumi.get(self, "network_configuration") + + @property + @pulumi.getter(name="nsgIds") + def nsg_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: + """ + A list of network security groups for the desktop pool. + """ + return pulumi.get(self, "nsg_ids") + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> pulumi.Output[str]: + """ + The shape of the desktop pool. + """ + return pulumi.get(self, "shape_name") + + @property + @pulumi.getter(name="standbySize") + def standby_size(self) -> pulumi.Output[int]: + """ + (Updatable) The maximum number of standby desktops available in the desktop pool. + """ + return pulumi.get(self, "standby_size") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The current state of the desktop pool. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="storageBackupPolicyId") + def storage_backup_policy_id(self) -> pulumi.Output[str]: + """ + The backup policy OCID of the storage. + """ + return pulumi.get(self, "storage_backup_policy_id") + + @property + @pulumi.getter(name="storageSizeInGbs") + def storage_size_in_gbs(self) -> pulumi.Output[int]: + """ + The size in GBs of the storage for the desktop pool. + """ + return pulumi.get(self, "storage_size_in_gbs") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> pulumi.Output[str]: + """ + The date and time the resource was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeStartScheduled") + def time_start_scheduled(self) -> pulumi.Output[Optional[str]]: + """ + (Updatable) The start time of the desktop pool. + """ + return pulumi.get(self, "time_start_scheduled") + + @property + @pulumi.getter(name="timeStopScheduled") + def time_stop_scheduled(self) -> pulumi.Output[Optional[str]]: + """ + (Updatable) The stop time of the desktop pool. + + + ** IMPORTANT ** + 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, "time_stop_scheduled") + diff --git a/sdk/python/pulumi_oci/desktops/get_desktop.py b/sdk/python/pulumi_oci/desktops/get_desktop.py new file mode 100644 index 0000000000..da51a9c5fa --- /dev/null +++ b/sdk/python/pulumi_oci/desktops/get_desktop.py @@ -0,0 +1,223 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetDesktopResult', + 'AwaitableGetDesktopResult', + 'get_desktop', + 'get_desktop_output', +] + +@pulumi.output_type +class GetDesktopResult: + """ + A collection of values returned by getDesktop. + """ + def __init__(__self__, defined_tags=None, desktop_id=None, device_policies=None, display_name=None, freeform_tags=None, hosting_options=None, id=None, pool_id=None, state=None, time_created=None, user_name=None): + 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 desktop_id and not isinstance(desktop_id, str): + raise TypeError("Expected argument 'desktop_id' to be a str") + pulumi.set(__self__, "desktop_id", desktop_id) + if device_policies and not isinstance(device_policies, list): + raise TypeError("Expected argument 'device_policies' to be a list") + pulumi.set(__self__, "device_policies", device_policies) + 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 hosting_options and not isinstance(hosting_options, list): + raise TypeError("Expected argument 'hosting_options' to be a list") + pulumi.set(__self__, "hosting_options", hosting_options) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if pool_id and not isinstance(pool_id, str): + raise TypeError("Expected argument 'pool_id' to be a str") + pulumi.set(__self__, "pool_id", pool_id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + 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 user_name and not isinstance(user_name, str): + raise TypeError("Expected argument 'user_name' to be a str") + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="desktopId") + def desktop_id(self) -> str: + return pulumi.get(self, "desktop_id") + + @property + @pulumi.getter(name="devicePolicies") + def device_policies(self) -> Sequence['outputs.GetDesktopDevicePolicyResult']: + """ + Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + """ + return pulumi.get(self, "device_policies") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A user friendly display name. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter(name="hostingOptions") + def hosting_options(self) -> Sequence['outputs.GetDesktopHostingOptionResult']: + """ + Provides information about where a desktop is hosted. + """ + return pulumi.get(self, "hosting_options") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="poolId") + def pool_id(self) -> str: + """ + The OCID of the desktop pool the desktop is a member of. + """ + return pulumi.get(self, "pool_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + The state of the desktop. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time the resource was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> str: + """ + The owner of the desktop. + """ + return pulumi.get(self, "user_name") + + +class AwaitableGetDesktopResult(GetDesktopResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDesktopResult( + defined_tags=self.defined_tags, + desktop_id=self.desktop_id, + device_policies=self.device_policies, + display_name=self.display_name, + freeform_tags=self.freeform_tags, + hosting_options=self.hosting_options, + id=self.id, + pool_id=self.pool_id, + state=self.state, + time_created=self.time_created, + user_name=self.user_name) + + +def get_desktop(desktop_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDesktopResult: + """ + This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service. + + Provides information about the desktop with the specified OCID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop = oci.Desktops.get_desktop(desktop_id=test_desktop_oci_desktops_desktop["id"]) + ``` + + + :param str desktop_id: The OCID of the desktop. + """ + __args__ = dict() + __args__['desktopId'] = desktop_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Desktops/getDesktop:getDesktop', __args__, opts=opts, typ=GetDesktopResult).value + + return AwaitableGetDesktopResult( + defined_tags=pulumi.get(__ret__, 'defined_tags'), + desktop_id=pulumi.get(__ret__, 'desktop_id'), + device_policies=pulumi.get(__ret__, 'device_policies'), + display_name=pulumi.get(__ret__, 'display_name'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + hosting_options=pulumi.get(__ret__, 'hosting_options'), + id=pulumi.get(__ret__, 'id'), + pool_id=pulumi.get(__ret__, 'pool_id'), + state=pulumi.get(__ret__, 'state'), + time_created=pulumi.get(__ret__, 'time_created'), + user_name=pulumi.get(__ret__, 'user_name')) + + +@_utilities.lift_output_func(get_desktop) +def get_desktop_output(desktop_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDesktopResult]: + """ + This data source provides details about a specific Desktop resource in Oracle Cloud Infrastructure Desktops service. + + Provides information about the desktop with the specified OCID. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop = oci.Desktops.get_desktop(desktop_id=test_desktop_oci_desktops_desktop["id"]) + ``` + + + :param str desktop_id: The OCID of the desktop. + """ + ... diff --git a/sdk/python/pulumi_oci/desktops/get_desktop_pool.py b/sdk/python/pulumi_oci/desktops/get_desktop_pool.py new file mode 100644 index 0000000000..b76c561580 --- /dev/null +++ b/sdk/python/pulumi_oci/desktops/get_desktop_pool.py @@ -0,0 +1,418 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetDesktopPoolResult', + 'AwaitableGetDesktopPoolResult', + 'get_desktop_pool', + 'get_desktop_pool_output', +] + +@pulumi.output_type +class GetDesktopPoolResult: + """ + A collection of values returned by getDesktopPool. + """ + def __init__(__self__, active_desktops=None, are_privileged_users=None, availability_domain=None, availability_policies=None, compartment_id=None, contact_details=None, defined_tags=None, description=None, desktop_pool_id=None, device_policies=None, display_name=None, freeform_tags=None, id=None, images=None, is_storage_enabled=None, maximum_size=None, network_configurations=None, nsg_ids=None, shape_name=None, standby_size=None, state=None, storage_backup_policy_id=None, storage_size_in_gbs=None, time_created=None, time_start_scheduled=None, time_stop_scheduled=None): + if active_desktops and not isinstance(active_desktops, int): + raise TypeError("Expected argument 'active_desktops' to be a int") + pulumi.set(__self__, "active_desktops", active_desktops) + if are_privileged_users and not isinstance(are_privileged_users, bool): + raise TypeError("Expected argument 'are_privileged_users' to be a bool") + pulumi.set(__self__, "are_privileged_users", are_privileged_users) + 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 availability_policies and not isinstance(availability_policies, list): + raise TypeError("Expected argument 'availability_policies' to be a list") + pulumi.set(__self__, "availability_policies", availability_policies) + 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 contact_details and not isinstance(contact_details, str): + raise TypeError("Expected argument 'contact_details' to be a str") + pulumi.set(__self__, "contact_details", contact_details) + 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 desktop_pool_id and not isinstance(desktop_pool_id, str): + raise TypeError("Expected argument 'desktop_pool_id' to be a str") + pulumi.set(__self__, "desktop_pool_id", desktop_pool_id) + if device_policies and not isinstance(device_policies, list): + raise TypeError("Expected argument 'device_policies' to be a list") + pulumi.set(__self__, "device_policies", device_policies) + 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 images and not isinstance(images, list): + raise TypeError("Expected argument 'images' to be a list") + pulumi.set(__self__, "images", images) + if is_storage_enabled and not isinstance(is_storage_enabled, bool): + raise TypeError("Expected argument 'is_storage_enabled' to be a bool") + pulumi.set(__self__, "is_storage_enabled", is_storage_enabled) + if maximum_size and not isinstance(maximum_size, int): + raise TypeError("Expected argument 'maximum_size' to be a int") + pulumi.set(__self__, "maximum_size", maximum_size) + if network_configurations and not isinstance(network_configurations, list): + raise TypeError("Expected argument 'network_configurations' to be a list") + pulumi.set(__self__, "network_configurations", network_configurations) + 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 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 standby_size and not isinstance(standby_size, int): + raise TypeError("Expected argument 'standby_size' to be a int") + pulumi.set(__self__, "standby_size", standby_size) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if storage_backup_policy_id and not isinstance(storage_backup_policy_id, str): + raise TypeError("Expected argument 'storage_backup_policy_id' to be a str") + pulumi.set(__self__, "storage_backup_policy_id", storage_backup_policy_id) + if storage_size_in_gbs and not isinstance(storage_size_in_gbs, int): + raise TypeError("Expected argument 'storage_size_in_gbs' to be a int") + pulumi.set(__self__, "storage_size_in_gbs", storage_size_in_gbs) + 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_start_scheduled and not isinstance(time_start_scheduled, str): + raise TypeError("Expected argument 'time_start_scheduled' to be a str") + pulumi.set(__self__, "time_start_scheduled", time_start_scheduled) + if time_stop_scheduled and not isinstance(time_stop_scheduled, str): + raise TypeError("Expected argument 'time_stop_scheduled' to be a str") + pulumi.set(__self__, "time_stop_scheduled", time_stop_scheduled) + + @property + @pulumi.getter(name="activeDesktops") + def active_desktops(self) -> int: + """ + The number of active desktops in the desktop pool. + """ + return pulumi.get(self, "active_desktops") + + @property + @pulumi.getter(name="arePrivilegedUsers") + def are_privileged_users(self) -> bool: + """ + Indicates whether desktop pool users have administrative privileges on their desktop. + """ + return pulumi.get(self, "are_privileged_users") + + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + """ + The availability domain of the desktop pool. + """ + return pulumi.get(self, "availability_domain") + + @property + @pulumi.getter(name="availabilityPolicies") + def availability_policies(self) -> Sequence['outputs.GetDesktopPoolAvailabilityPolicyResult']: + """ + Provides the start and stop schedule information for desktop availability of the desktop pool. + """ + return pulumi.get(self, "availability_policies") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The OCID of the compartment of the desktop pool. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="contactDetails") + def contact_details(self) -> str: + """ + Contact information of the desktop pool administrator. Avoid entering confidential information. + """ + return pulumi.get(self, "contact_details") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + A user friendly description providing additional information about the resource. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="desktopPoolId") + def desktop_pool_id(self) -> str: + return pulumi.get(self, "desktop_pool_id") + + @property + @pulumi.getter(name="devicePolicies") + def device_policies(self) -> Sequence['outputs.GetDesktopPoolDevicePolicyResult']: + """ + Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + """ + return pulumi.get(self, "device_policies") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A user friendly display name. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + The OCID of the desktop pool. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def images(self) -> Sequence['outputs.GetDesktopPoolImageResult']: + """ + Provides information about the desktop image. + """ + return pulumi.get(self, "images") + + @property + @pulumi.getter(name="isStorageEnabled") + def is_storage_enabled(self) -> bool: + """ + Indicates whether storage is enabled for the desktop pool. + """ + return pulumi.get(self, "is_storage_enabled") + + @property + @pulumi.getter(name="maximumSize") + def maximum_size(self) -> int: + """ + The maximum number of desktops permitted in the desktop pool. + """ + return pulumi.get(self, "maximum_size") + + @property + @pulumi.getter(name="networkConfigurations") + def network_configurations(self) -> Sequence['outputs.GetDesktopPoolNetworkConfigurationResult']: + """ + Provides information about the network configuration of the desktop pool. + """ + return pulumi.get(self, "network_configurations") + + @property + @pulumi.getter(name="nsgIds") + def nsg_ids(self) -> Sequence[str]: + """ + A list of network security groups for the desktop pool. + """ + return pulumi.get(self, "nsg_ids") + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> str: + """ + The shape of the desktop pool. + """ + return pulumi.get(self, "shape_name") + + @property + @pulumi.getter(name="standbySize") + def standby_size(self) -> int: + """ + The maximum number of standby desktops available in the desktop pool. + """ + return pulumi.get(self, "standby_size") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current state of the desktop pool. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="storageBackupPolicyId") + def storage_backup_policy_id(self) -> str: + """ + The backup policy OCID of the storage. + """ + return pulumi.get(self, "storage_backup_policy_id") + + @property + @pulumi.getter(name="storageSizeInGbs") + def storage_size_in_gbs(self) -> int: + """ + The size in GBs of the storage for the desktop pool. + """ + return pulumi.get(self, "storage_size_in_gbs") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time the resource was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeStartScheduled") + def time_start_scheduled(self) -> str: + """ + The start time of the desktop pool. + """ + return pulumi.get(self, "time_start_scheduled") + + @property + @pulumi.getter(name="timeStopScheduled") + def time_stop_scheduled(self) -> str: + """ + The stop time of the desktop pool. + """ + return pulumi.get(self, "time_stop_scheduled") + + +class AwaitableGetDesktopPoolResult(GetDesktopPoolResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDesktopPoolResult( + active_desktops=self.active_desktops, + are_privileged_users=self.are_privileged_users, + availability_domain=self.availability_domain, + availability_policies=self.availability_policies, + compartment_id=self.compartment_id, + contact_details=self.contact_details, + defined_tags=self.defined_tags, + description=self.description, + desktop_pool_id=self.desktop_pool_id, + device_policies=self.device_policies, + display_name=self.display_name, + freeform_tags=self.freeform_tags, + id=self.id, + images=self.images, + is_storage_enabled=self.is_storage_enabled, + maximum_size=self.maximum_size, + network_configurations=self.network_configurations, + nsg_ids=self.nsg_ids, + shape_name=self.shape_name, + standby_size=self.standby_size, + state=self.state, + storage_backup_policy_id=self.storage_backup_policy_id, + storage_size_in_gbs=self.storage_size_in_gbs, + time_created=self.time_created, + time_start_scheduled=self.time_start_scheduled, + time_stop_scheduled=self.time_stop_scheduled) + + +def get_desktop_pool(desktop_pool_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDesktopPoolResult: + """ + This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + + Returns information about the desktop pool including all configuration parameters and the current state. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop_pool = oci.Desktops.get_desktop_pool(desktop_pool_id=test_desktop_pool_oci_desktops_desktop_pool["id"]) + ``` + + + :param str desktop_pool_id: The OCID of the desktop pool. + """ + __args__ = dict() + __args__['desktopPoolId'] = desktop_pool_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Desktops/getDesktopPool:getDesktopPool', __args__, opts=opts, typ=GetDesktopPoolResult).value + + return AwaitableGetDesktopPoolResult( + active_desktops=pulumi.get(__ret__, 'active_desktops'), + are_privileged_users=pulumi.get(__ret__, 'are_privileged_users'), + availability_domain=pulumi.get(__ret__, 'availability_domain'), + availability_policies=pulumi.get(__ret__, 'availability_policies'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + contact_details=pulumi.get(__ret__, 'contact_details'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + description=pulumi.get(__ret__, 'description'), + desktop_pool_id=pulumi.get(__ret__, 'desktop_pool_id'), + device_policies=pulumi.get(__ret__, 'device_policies'), + display_name=pulumi.get(__ret__, 'display_name'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + images=pulumi.get(__ret__, 'images'), + is_storage_enabled=pulumi.get(__ret__, 'is_storage_enabled'), + maximum_size=pulumi.get(__ret__, 'maximum_size'), + network_configurations=pulumi.get(__ret__, 'network_configurations'), + nsg_ids=pulumi.get(__ret__, 'nsg_ids'), + shape_name=pulumi.get(__ret__, 'shape_name'), + standby_size=pulumi.get(__ret__, 'standby_size'), + state=pulumi.get(__ret__, 'state'), + storage_backup_policy_id=pulumi.get(__ret__, 'storage_backup_policy_id'), + storage_size_in_gbs=pulumi.get(__ret__, 'storage_size_in_gbs'), + time_created=pulumi.get(__ret__, 'time_created'), + time_start_scheduled=pulumi.get(__ret__, 'time_start_scheduled'), + time_stop_scheduled=pulumi.get(__ret__, 'time_stop_scheduled')) + + +@_utilities.lift_output_func(get_desktop_pool) +def get_desktop_pool_output(desktop_pool_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDesktopPoolResult]: + """ + This data source provides details about a specific Desktop Pool resource in Oracle Cloud Infrastructure Desktops service. + + Returns information about the desktop pool including all configuration parameters and the current state. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop_pool = oci.Desktops.get_desktop_pool(desktop_pool_id=test_desktop_pool_oci_desktops_desktop_pool["id"]) + ``` + + + :param str desktop_pool_id: The OCID of the desktop pool. + """ + ... diff --git a/sdk/python/pulumi_oci/desktops/get_desktop_pool_desktops.py b/sdk/python/pulumi_oci/desktops/get_desktop_pool_desktops.py new file mode 100644 index 0000000000..a692be4d54 --- /dev/null +++ b/sdk/python/pulumi_oci/desktops/get_desktop_pool_desktops.py @@ -0,0 +1,208 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDesktopPoolDesktopsResult', + 'AwaitableGetDesktopPoolDesktopsResult', + 'get_desktop_pool_desktops', + 'get_desktop_pool_desktops_output', +] + +@pulumi.output_type +class GetDesktopPoolDesktopsResult: + """ + A collection of values returned by getDesktopPoolDesktops. + """ + def __init__(__self__, availability_domain=None, compartment_id=None, desktop_pool_desktop_collections=None, desktop_pool_id=None, display_name=None, filters=None, id=None, state=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 desktop_pool_desktop_collections and not isinstance(desktop_pool_desktop_collections, list): + raise TypeError("Expected argument 'desktop_pool_desktop_collections' to be a list") + pulumi.set(__self__, "desktop_pool_desktop_collections", desktop_pool_desktop_collections) + if desktop_pool_id and not isinstance(desktop_pool_id, str): + raise TypeError("Expected argument 'desktop_pool_id' to be a str") + pulumi.set(__self__, "desktop_pool_id", desktop_pool_id) + 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="availabilityDomain") + def availability_domain(self) -> Optional[str]: + return pulumi.get(self, "availability_domain") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="desktopPoolDesktopCollections") + def desktop_pool_desktop_collections(self) -> Sequence['outputs.GetDesktopPoolDesktopsDesktopPoolDesktopCollectionResult']: + """ + The list of desktop_pool_desktop_collection. + """ + return pulumi.get(self, "desktop_pool_desktop_collections") + + @property + @pulumi.getter(name="desktopPoolId") + def desktop_pool_id(self) -> str: + return pulumi.get(self, "desktop_pool_id") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDesktopPoolDesktopsFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + return pulumi.get(self, "id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The state of the desktop. + """ + return pulumi.get(self, "state") + + +class AwaitableGetDesktopPoolDesktopsResult(GetDesktopPoolDesktopsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDesktopPoolDesktopsResult( + availability_domain=self.availability_domain, + compartment_id=self.compartment_id, + desktop_pool_desktop_collections=self.desktop_pool_desktop_collections, + desktop_pool_id=self.desktop_pool_id, + display_name=self.display_name, + filters=self.filters, + id=self.id, + state=self.state) + + +def get_desktop_pool_desktops(availability_domain: Optional[str] = None, + compartment_id: Optional[str] = None, + desktop_pool_id: Optional[str] = None, + display_name: Optional[str] = None, + filters: Optional[Sequence[Union['GetDesktopPoolDesktopsFilterArgs', 'GetDesktopPoolDesktopsFilterArgsDict']]] = None, + id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDesktopPoolDesktopsResult: + """ + This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. + + Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop_pool_desktops = oci.Desktops.get_desktop_pool_desktops(compartment_id=compartment_id, + desktop_pool_id=test_desktop_pool["id"], + availability_domain=desktop_pool_desktop_availability_domain, + display_name=desktop_pool_desktop_display_name, + id=desktop_pool_desktop_id, + state=desktop_pool_desktop_state) + ``` + + + :param str availability_domain: The name of the availability domain. + :param str compartment_id: The OCID of the compartment of the desktop pool. + :param str desktop_pool_id: The OCID of the desktop pool. + :param str display_name: A filter to return only results with the given displayName. + :param str id: A filter to return only results with the given OCID. + :param str state: A filter to return only results with the given lifecycleState. + """ + __args__ = dict() + __args__['availabilityDomain'] = availability_domain + __args__['compartmentId'] = compartment_id + __args__['desktopPoolId'] = desktop_pool_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['id'] = id + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Desktops/getDesktopPoolDesktops:getDesktopPoolDesktops', __args__, opts=opts, typ=GetDesktopPoolDesktopsResult).value + + return AwaitableGetDesktopPoolDesktopsResult( + availability_domain=pulumi.get(__ret__, 'availability_domain'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + desktop_pool_desktop_collections=pulumi.get(__ret__, 'desktop_pool_desktop_collections'), + desktop_pool_id=pulumi.get(__ret__, 'desktop_pool_id'), + 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_desktop_pool_desktops) +def get_desktop_pool_desktops_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + desktop_pool_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDesktopPoolDesktopsFilterArgs', 'GetDesktopPoolDesktopsFilterArgsDict']]]]] = None, + id: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDesktopPoolDesktopsResult]: + """ + This data source provides the list of Desktop Pool Desktops in Oracle Cloud Infrastructure Desktops service. + + Returns a list of desktops within a given desktop pool. You can limit the results to an availability domain, desktop name, or desktop state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop_pool_desktops = oci.Desktops.get_desktop_pool_desktops(compartment_id=compartment_id, + desktop_pool_id=test_desktop_pool["id"], + availability_domain=desktop_pool_desktop_availability_domain, + display_name=desktop_pool_desktop_display_name, + id=desktop_pool_desktop_id, + state=desktop_pool_desktop_state) + ``` + + + :param str availability_domain: The name of the availability domain. + :param str compartment_id: The OCID of the compartment of the desktop pool. + :param str desktop_pool_id: The OCID of the desktop pool. + :param str display_name: A filter to return only results with the given displayName. + :param str id: A filter to return only results with the given OCID. + :param str state: A filter to return only results with the given lifecycleState. + """ + ... diff --git a/sdk/python/pulumi_oci/desktops/get_desktop_pool_volumes.py b/sdk/python/pulumi_oci/desktops/get_desktop_pool_volumes.py new file mode 100644 index 0000000000..20a595b2e8 --- /dev/null +++ b/sdk/python/pulumi_oci/desktops/get_desktop_pool_volumes.py @@ -0,0 +1,214 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDesktopPoolVolumesResult', + 'AwaitableGetDesktopPoolVolumesResult', + 'get_desktop_pool_volumes', + 'get_desktop_pool_volumes_output', +] + +@pulumi.output_type +class GetDesktopPoolVolumesResult: + """ + A collection of values returned by getDesktopPoolVolumes. + """ + def __init__(__self__, availability_domain=None, compartment_id=None, desktop_pool_id=None, desktop_pool_volume_collections=None, display_name=None, filters=None, id=None, state=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 desktop_pool_id and not isinstance(desktop_pool_id, str): + raise TypeError("Expected argument 'desktop_pool_id' to be a str") + pulumi.set(__self__, "desktop_pool_id", desktop_pool_id) + if desktop_pool_volume_collections and not isinstance(desktop_pool_volume_collections, list): + raise TypeError("Expected argument 'desktop_pool_volume_collections' to be a list") + pulumi.set(__self__, "desktop_pool_volume_collections", desktop_pool_volume_collections) + 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="availabilityDomain") + def availability_domain(self) -> Optional[str]: + """ + The availability domain of the desktop pool. + """ + return pulumi.get(self, "availability_domain") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="desktopPoolId") + def desktop_pool_id(self) -> str: + return pulumi.get(self, "desktop_pool_id") + + @property + @pulumi.getter(name="desktopPoolVolumeCollections") + def desktop_pool_volume_collections(self) -> Sequence['outputs.GetDesktopPoolVolumesDesktopPoolVolumeCollectionResult']: + """ + The list of desktop_pool_volume_collection. + """ + return pulumi.get(self, "desktop_pool_volume_collections") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDesktopPoolVolumesFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The OCID of the desktop pool volume. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The state of the desktop pool volume. + """ + return pulumi.get(self, "state") + + +class AwaitableGetDesktopPoolVolumesResult(GetDesktopPoolVolumesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDesktopPoolVolumesResult( + availability_domain=self.availability_domain, + compartment_id=self.compartment_id, + desktop_pool_id=self.desktop_pool_id, + desktop_pool_volume_collections=self.desktop_pool_volume_collections, + display_name=self.display_name, + filters=self.filters, + id=self.id, + state=self.state) + + +def get_desktop_pool_volumes(availability_domain: Optional[str] = None, + compartment_id: Optional[str] = None, + desktop_pool_id: Optional[str] = None, + display_name: Optional[str] = None, + filters: Optional[Sequence[Union['GetDesktopPoolVolumesFilterArgs', 'GetDesktopPoolVolumesFilterArgsDict']]] = None, + id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDesktopPoolVolumesResult: + """ + This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. + + Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop_pool_volumes = oci.Desktops.get_desktop_pool_volumes(compartment_id=compartment_id, + desktop_pool_id=test_desktop_pool["id"], + availability_domain=desktop_pool_volume_availability_domain, + display_name=desktop_pool_volume_display_name, + id=desktop_pool_volume_id, + state=desktop_pool_volume_state) + ``` + + + :param str availability_domain: The name of the availability domain. + :param str compartment_id: The OCID of the compartment of the desktop pool. + :param str desktop_pool_id: The OCID of the desktop pool. + :param str display_name: A filter to return only results with the given displayName. + :param str id: A filter to return only results with the given OCID. + :param str state: A filter to return only results with the given lifecycleState. + """ + __args__ = dict() + __args__['availabilityDomain'] = availability_domain + __args__['compartmentId'] = compartment_id + __args__['desktopPoolId'] = desktop_pool_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['id'] = id + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Desktops/getDesktopPoolVolumes:getDesktopPoolVolumes', __args__, opts=opts, typ=GetDesktopPoolVolumesResult).value + + return AwaitableGetDesktopPoolVolumesResult( + availability_domain=pulumi.get(__ret__, 'availability_domain'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + desktop_pool_id=pulumi.get(__ret__, 'desktop_pool_id'), + desktop_pool_volume_collections=pulumi.get(__ret__, 'desktop_pool_volume_collections'), + 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_desktop_pool_volumes) +def get_desktop_pool_volumes_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + desktop_pool_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDesktopPoolVolumesFilterArgs', 'GetDesktopPoolVolumesFilterArgsDict']]]]] = None, + id: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDesktopPoolVolumesResult]: + """ + This data source provides the list of Desktop Pool Volumes in Oracle Cloud Infrastructure Desktops service. + + Returns a list of volumes within the given desktop pool. You can limit the results to an availability domain, volume name, or volume state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop_pool_volumes = oci.Desktops.get_desktop_pool_volumes(compartment_id=compartment_id, + desktop_pool_id=test_desktop_pool["id"], + availability_domain=desktop_pool_volume_availability_domain, + display_name=desktop_pool_volume_display_name, + id=desktop_pool_volume_id, + state=desktop_pool_volume_state) + ``` + + + :param str availability_domain: The name of the availability domain. + :param str compartment_id: The OCID of the compartment of the desktop pool. + :param str desktop_pool_id: The OCID of the desktop pool. + :param str display_name: A filter to return only results with the given displayName. + :param str id: A filter to return only results with the given OCID. + :param str state: A filter to return only results with the given lifecycleState. + """ + ... diff --git a/sdk/python/pulumi_oci/desktops/get_desktop_pools.py b/sdk/python/pulumi_oci/desktops/get_desktop_pools.py new file mode 100644 index 0000000000..d623e342fd --- /dev/null +++ b/sdk/python/pulumi_oci/desktops/get_desktop_pools.py @@ -0,0 +1,203 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDesktopPoolsResult', + 'AwaitableGetDesktopPoolsResult', + 'get_desktop_pools', + 'get_desktop_pools_output', +] + +@pulumi.output_type +class GetDesktopPoolsResult: + """ + A collection of values returned by getDesktopPools. + """ + def __init__(__self__, availability_domain=None, compartment_id=None, desktop_pool_collections=None, display_name=None, filters=None, id=None, state=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 desktop_pool_collections and not isinstance(desktop_pool_collections, list): + raise TypeError("Expected argument 'desktop_pool_collections' to be a list") + pulumi.set(__self__, "desktop_pool_collections", desktop_pool_collections) + 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="availabilityDomain") + def availability_domain(self) -> Optional[str]: + """ + The availability domain of the desktop pool. + """ + return pulumi.get(self, "availability_domain") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The OCID of the compartment of the desktop pool. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="desktopPoolCollections") + def desktop_pool_collections(self) -> Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionResult']: + """ + The list of desktop_pool_collection. + """ + return pulumi.get(self, "desktop_pool_collections") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + A user friendly display name. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDesktopPoolsFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The OCID of the desktop pool. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The current state of the desktop pool. + """ + return pulumi.get(self, "state") + + +class AwaitableGetDesktopPoolsResult(GetDesktopPoolsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDesktopPoolsResult( + availability_domain=self.availability_domain, + compartment_id=self.compartment_id, + desktop_pool_collections=self.desktop_pool_collections, + display_name=self.display_name, + filters=self.filters, + id=self.id, + state=self.state) + + +def get_desktop_pools(availability_domain: Optional[str] = None, + compartment_id: Optional[str] = None, + display_name: Optional[str] = None, + filters: Optional[Sequence[Union['GetDesktopPoolsFilterArgs', 'GetDesktopPoolsFilterArgsDict']]] = None, + id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDesktopPoolsResult: + """ + This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service. + + Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop_pools = oci.Desktops.get_desktop_pools(compartment_id=compartment_id, + availability_domain=desktop_pool_availability_domain, + display_name=desktop_pool_display_name, + id=desktop_pool_id, + state=desktop_pool_state) + ``` + + + :param str availability_domain: The name of the availability domain. + :param str compartment_id: The OCID of the compartment of the desktop pool. + :param str display_name: A filter to return only results with the given displayName. + :param str id: A filter to return only results with the given OCID. + :param str state: A filter to return only results with the given lifecycleState. + """ + __args__ = dict() + __args__['availabilityDomain'] = availability_domain + __args__['compartmentId'] = compartment_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['id'] = id + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Desktops/getDesktopPools:getDesktopPools', __args__, opts=opts, typ=GetDesktopPoolsResult).value + + return AwaitableGetDesktopPoolsResult( + availability_domain=pulumi.get(__ret__, 'availability_domain'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + desktop_pool_collections=pulumi.get(__ret__, 'desktop_pool_collections'), + 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_desktop_pools) +def get_desktop_pools_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDesktopPoolsFilterArgs', 'GetDesktopPoolsFilterArgsDict']]]]] = None, + id: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDesktopPoolsResult]: + """ + This data source provides the list of Desktop Pools in Oracle Cloud Infrastructure Desktops service. + + Returns a list of desktop pools within the given compartment. You can limit the results to an availability domain, pool name, or pool state. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktop_pools = oci.Desktops.get_desktop_pools(compartment_id=compartment_id, + availability_domain=desktop_pool_availability_domain, + display_name=desktop_pool_display_name, + id=desktop_pool_id, + state=desktop_pool_state) + ``` + + + :param str availability_domain: The name of the availability domain. + :param str compartment_id: The OCID of the compartment of the desktop pool. + :param str display_name: A filter to return only results with the given displayName. + :param str id: A filter to return only results with the given OCID. + :param str state: A filter to return only results with the given lifecycleState. + """ + ... diff --git a/sdk/python/pulumi_oci/desktops/get_desktops.py b/sdk/python/pulumi_oci/desktops/get_desktops.py new file mode 100644 index 0000000000..62c4d04347 --- /dev/null +++ b/sdk/python/pulumi_oci/desktops/get_desktops.py @@ -0,0 +1,214 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetDesktopsResult', + 'AwaitableGetDesktopsResult', + 'get_desktops', + 'get_desktops_output', +] + +@pulumi.output_type +class GetDesktopsResult: + """ + A collection of values returned by getDesktops. + """ + def __init__(__self__, availability_domain=None, compartment_id=None, desktop_collections=None, desktop_pool_id=None, display_name=None, filters=None, id=None, state=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 desktop_collections and not isinstance(desktop_collections, list): + raise TypeError("Expected argument 'desktop_collections' to be a list") + pulumi.set(__self__, "desktop_collections", desktop_collections) + if desktop_pool_id and not isinstance(desktop_pool_id, str): + raise TypeError("Expected argument 'desktop_pool_id' to be a str") + pulumi.set(__self__, "desktop_pool_id", desktop_pool_id) + 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="availabilityDomain") + def availability_domain(self) -> Optional[str]: + return pulumi.get(self, "availability_domain") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="desktopCollections") + def desktop_collections(self) -> Sequence['outputs.GetDesktopsDesktopCollectionResult']: + """ + The list of desktop_collection. + """ + return pulumi.get(self, "desktop_collections") + + @property + @pulumi.getter(name="desktopPoolId") + def desktop_pool_id(self) -> Optional[str]: + return pulumi.get(self, "desktop_pool_id") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + A user friendly display name. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetDesktopsFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + The OCID of the desktop. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The state of the desktop. + """ + return pulumi.get(self, "state") + + +class AwaitableGetDesktopsResult(GetDesktopsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDesktopsResult( + availability_domain=self.availability_domain, + compartment_id=self.compartment_id, + desktop_collections=self.desktop_collections, + desktop_pool_id=self.desktop_pool_id, + display_name=self.display_name, + filters=self.filters, + id=self.id, + state=self.state) + + +def get_desktops(availability_domain: Optional[str] = None, + compartment_id: Optional[str] = None, + desktop_pool_id: Optional[str] = None, + display_name: Optional[str] = None, + filters: Optional[Sequence[Union['GetDesktopsFilterArgs', 'GetDesktopsFilterArgsDict']]] = None, + id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDesktopsResult: + """ + This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. + + Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktops = oci.Desktops.get_desktops(compartment_id=compartment_id, + availability_domain=desktop_availability_domain, + desktop_pool_id=test_desktop_pool["id"], + display_name=desktop_display_name, + id=desktop_id, + state=desktop_state) + ``` + + + :param str availability_domain: The name of the availability domain. + :param str compartment_id: The OCID of the compartment of the desktop pool. + :param str desktop_pool_id: The OCID of the desktop pool. + :param str display_name: A filter to return only results with the given displayName. + :param str id: A filter to return only results with the given OCID. + :param str state: A filter to return only results with the given lifecycleState. + """ + __args__ = dict() + __args__['availabilityDomain'] = availability_domain + __args__['compartmentId'] = compartment_id + __args__['desktopPoolId'] = desktop_pool_id + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['id'] = id + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Desktops/getDesktops:getDesktops', __args__, opts=opts, typ=GetDesktopsResult).value + + return AwaitableGetDesktopsResult( + availability_domain=pulumi.get(__ret__, 'availability_domain'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + desktop_collections=pulumi.get(__ret__, 'desktop_collections'), + desktop_pool_id=pulumi.get(__ret__, 'desktop_pool_id'), + 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_desktops) +def get_desktops_output(availability_domain: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + desktop_pool_id: Optional[pulumi.Input[Optional[str]]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[Union['GetDesktopsFilterArgs', 'GetDesktopsFilterArgsDict']]]]] = None, + id: Optional[pulumi.Input[Optional[str]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDesktopsResult]: + """ + This data source provides the list of Desktops in Oracle Cloud Infrastructure Desktops service. + + Returns a list of desktops filtered by the specified parameters. You can limit the results to an availability domain, desktop name, desktop OCID, desktop state, pool OCID, or compartment OCID. You can limit the number of results returned, sort the results by time or name, and sort in ascending or descending order. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_desktops = oci.Desktops.get_desktops(compartment_id=compartment_id, + availability_domain=desktop_availability_domain, + desktop_pool_id=test_desktop_pool["id"], + display_name=desktop_display_name, + id=desktop_id, + state=desktop_state) + ``` + + + :param str availability_domain: The name of the availability domain. + :param str compartment_id: The OCID of the compartment of the desktop pool. + :param str desktop_pool_id: The OCID of the desktop pool. + :param str display_name: A filter to return only results with the given displayName. + :param str id: A filter to return only results with the given OCID. + :param str state: A filter to return only results with the given lifecycleState. + """ + ... diff --git a/sdk/python/pulumi_oci/desktops/outputs.py b/sdk/python/pulumi_oci/desktops/outputs.py new file mode 100644 index 0000000000..5866f3cffc --- /dev/null +++ b/sdk/python/pulumi_oci/desktops/outputs.py @@ -0,0 +1,1738 @@ +# 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, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'DesktopPoolAvailabilityPolicy', + 'DesktopPoolAvailabilityPolicyStartSchedule', + 'DesktopPoolAvailabilityPolicyStopSchedule', + 'DesktopPoolDevicePolicy', + 'DesktopPoolImage', + 'DesktopPoolNetworkConfiguration', + 'GetDesktopDevicePolicyResult', + 'GetDesktopHostingOptionResult', + 'GetDesktopHostingOptionImageResult', + 'GetDesktopPoolAvailabilityPolicyResult', + 'GetDesktopPoolAvailabilityPolicyStartScheduleResult', + 'GetDesktopPoolAvailabilityPolicyStopScheduleResult', + 'GetDesktopPoolDesktopsDesktopPoolDesktopCollectionResult', + 'GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemResult', + 'GetDesktopPoolDesktopsFilterResult', + 'GetDesktopPoolDevicePolicyResult', + 'GetDesktopPoolImageResult', + 'GetDesktopPoolNetworkConfigurationResult', + 'GetDesktopPoolVolumesDesktopPoolVolumeCollectionResult', + 'GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemResult', + 'GetDesktopPoolVolumesFilterResult', + 'GetDesktopPoolsDesktopPoolCollectionResult', + 'GetDesktopPoolsDesktopPoolCollectionItemResult', + 'GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyResult', + 'GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleResult', + 'GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleResult', + 'GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyResult', + 'GetDesktopPoolsDesktopPoolCollectionItemImageResult', + 'GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationResult', + 'GetDesktopPoolsFilterResult', + 'GetDesktopsDesktopCollectionResult', + 'GetDesktopsDesktopCollectionItemResult', + 'GetDesktopsFilterResult', +] + +@pulumi.output_type +class DesktopPoolAvailabilityPolicy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "startSchedule": + suggest = "start_schedule" + elif key == "stopSchedule": + suggest = "stop_schedule" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DesktopPoolAvailabilityPolicy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DesktopPoolAvailabilityPolicy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DesktopPoolAvailabilityPolicy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + start_schedule: 'outputs.DesktopPoolAvailabilityPolicyStartSchedule', + stop_schedule: 'outputs.DesktopPoolAvailabilityPolicyStopSchedule'): + """ + :param 'DesktopPoolAvailabilityPolicyStartScheduleArgs' start_schedule: (Updatable) Provides the schedule information for a desktop. + :param 'DesktopPoolAvailabilityPolicyStopScheduleArgs' stop_schedule: (Updatable) Provides the schedule information for a desktop. + """ + pulumi.set(__self__, "start_schedule", start_schedule) + pulumi.set(__self__, "stop_schedule", stop_schedule) + + @property + @pulumi.getter(name="startSchedule") + def start_schedule(self) -> 'outputs.DesktopPoolAvailabilityPolicyStartSchedule': + """ + (Updatable) Provides the schedule information for a desktop. + """ + return pulumi.get(self, "start_schedule") + + @property + @pulumi.getter(name="stopSchedule") + def stop_schedule(self) -> 'outputs.DesktopPoolAvailabilityPolicyStopSchedule': + """ + (Updatable) Provides the schedule information for a desktop. + """ + return pulumi.get(self, "stop_schedule") + + +@pulumi.output_type +class DesktopPoolAvailabilityPolicyStartSchedule(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cronExpression": + suggest = "cron_expression" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DesktopPoolAvailabilityPolicyStartSchedule. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DesktopPoolAvailabilityPolicyStartSchedule.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DesktopPoolAvailabilityPolicyStartSchedule.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cron_expression: str, + timezone: str): + """ + :param str cron_expression: (Updatable) A cron expression describing the desktop's schedule. + :param str timezone: (Updatable) The timezone of the desktop's schedule. + """ + pulumi.set(__self__, "cron_expression", cron_expression) + pulumi.set(__self__, "timezone", timezone) + + @property + @pulumi.getter(name="cronExpression") + def cron_expression(self) -> str: + """ + (Updatable) A cron expression describing the desktop's schedule. + """ + return pulumi.get(self, "cron_expression") + + @property + @pulumi.getter + def timezone(self) -> str: + """ + (Updatable) The timezone of the desktop's schedule. + """ + return pulumi.get(self, "timezone") + + +@pulumi.output_type +class DesktopPoolAvailabilityPolicyStopSchedule(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "cronExpression": + suggest = "cron_expression" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DesktopPoolAvailabilityPolicyStopSchedule. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DesktopPoolAvailabilityPolicyStopSchedule.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DesktopPoolAvailabilityPolicyStopSchedule.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + cron_expression: str, + timezone: str): + """ + :param str cron_expression: (Updatable) A cron expression describing the desktop's schedule. + :param str timezone: (Updatable) The timezone of the desktop's schedule. + """ + pulumi.set(__self__, "cron_expression", cron_expression) + pulumi.set(__self__, "timezone", timezone) + + @property + @pulumi.getter(name="cronExpression") + def cron_expression(self) -> str: + """ + (Updatable) A cron expression describing the desktop's schedule. + """ + return pulumi.get(self, "cron_expression") + + @property + @pulumi.getter + def timezone(self) -> str: + """ + (Updatable) The timezone of the desktop's schedule. + """ + return pulumi.get(self, "timezone") + + +@pulumi.output_type +class DesktopPoolDevicePolicy(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "audioMode": + suggest = "audio_mode" + elif key == "cdmMode": + suggest = "cdm_mode" + elif key == "clipboardMode": + suggest = "clipboard_mode" + elif key == "isDisplayEnabled": + suggest = "is_display_enabled" + elif key == "isKeyboardEnabled": + suggest = "is_keyboard_enabled" + elif key == "isPointerEnabled": + suggest = "is_pointer_enabled" + elif key == "isPrintingEnabled": + suggest = "is_printing_enabled" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DesktopPoolDevicePolicy. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DesktopPoolDevicePolicy.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DesktopPoolDevicePolicy.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + audio_mode: str, + cdm_mode: str, + clipboard_mode: str, + is_display_enabled: bool, + is_keyboard_enabled: bool, + is_pointer_enabled: bool, + is_printing_enabled: bool): + """ + :param str audio_mode: (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + :param str cdm_mode: (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + :param str clipboard_mode: (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + :param bool is_display_enabled: (Updatable) Indicates whether the display is enabled. + :param bool is_keyboard_enabled: (Updatable) Indicates whether the keyboard is enabled. + :param bool is_pointer_enabled: (Updatable) Indicates whether the pointer is enabled. + :param bool is_printing_enabled: (Updatable) Indicates whether printing is enabled. + """ + pulumi.set(__self__, "audio_mode", audio_mode) + pulumi.set(__self__, "cdm_mode", cdm_mode) + pulumi.set(__self__, "clipboard_mode", clipboard_mode) + pulumi.set(__self__, "is_display_enabled", is_display_enabled) + pulumi.set(__self__, "is_keyboard_enabled", is_keyboard_enabled) + pulumi.set(__self__, "is_pointer_enabled", is_pointer_enabled) + pulumi.set(__self__, "is_printing_enabled", is_printing_enabled) + + @property + @pulumi.getter(name="audioMode") + def audio_mode(self) -> str: + """ + (Updatable) The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + """ + return pulumi.get(self, "audio_mode") + + @property + @pulumi.getter(name="cdmMode") + def cdm_mode(self) -> str: + """ + (Updatable) The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + """ + return pulumi.get(self, "cdm_mode") + + @property + @pulumi.getter(name="clipboardMode") + def clipboard_mode(self) -> str: + """ + (Updatable) The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + """ + return pulumi.get(self, "clipboard_mode") + + @property + @pulumi.getter(name="isDisplayEnabled") + def is_display_enabled(self) -> bool: + """ + (Updatable) Indicates whether the display is enabled. + """ + return pulumi.get(self, "is_display_enabled") + + @property + @pulumi.getter(name="isKeyboardEnabled") + def is_keyboard_enabled(self) -> bool: + """ + (Updatable) Indicates whether the keyboard is enabled. + """ + return pulumi.get(self, "is_keyboard_enabled") + + @property + @pulumi.getter(name="isPointerEnabled") + def is_pointer_enabled(self) -> bool: + """ + (Updatable) Indicates whether the pointer is enabled. + """ + return pulumi.get(self, "is_pointer_enabled") + + @property + @pulumi.getter(name="isPrintingEnabled") + def is_printing_enabled(self) -> bool: + """ + (Updatable) Indicates whether printing is enabled. + """ + return pulumi.get(self, "is_printing_enabled") + + +@pulumi.output_type +class DesktopPoolImage(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "imageId": + suggest = "image_id" + elif key == "imageName": + suggest = "image_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DesktopPoolImage. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DesktopPoolImage.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DesktopPoolImage.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + image_id: str, + image_name: str): + """ + :param str image_id: The OCID of the desktop image. + :param str image_name: The name of the desktop image. + """ + pulumi.set(__self__, "image_id", image_id) + pulumi.set(__self__, "image_name", image_name) + + @property + @pulumi.getter(name="imageId") + def image_id(self) -> str: + """ + The OCID of the desktop image. + """ + return pulumi.get(self, "image_id") + + @property + @pulumi.getter(name="imageName") + def image_name(self) -> str: + """ + The name of the desktop image. + """ + return pulumi.get(self, "image_name") + + +@pulumi.output_type +class DesktopPoolNetworkConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "subnetId": + suggest = "subnet_id" + elif key == "vcnId": + suggest = "vcn_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in DesktopPoolNetworkConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + DesktopPoolNetworkConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + DesktopPoolNetworkConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + subnet_id: str, + vcn_id: str): + """ + :param str subnet_id: The OCID of the subnet to use for the desktop pool. + :param str vcn_id: The OCID of the VCN used by the desktop pool. + """ + pulumi.set(__self__, "subnet_id", subnet_id) + pulumi.set(__self__, "vcn_id", vcn_id) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + The OCID of the subnet to use for the desktop pool. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="vcnId") + def vcn_id(self) -> str: + """ + The OCID of the VCN used by the desktop pool. + """ + return pulumi.get(self, "vcn_id") + + +@pulumi.output_type +class GetDesktopDevicePolicyResult(dict): + def __init__(__self__, *, + audio_mode: str, + cdm_mode: str, + clipboard_mode: str, + is_display_enabled: bool, + is_keyboard_enabled: bool, + is_pointer_enabled: bool, + is_printing_enabled: bool): + """ + :param str audio_mode: The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + :param str cdm_mode: The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + :param str clipboard_mode: The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + :param bool is_display_enabled: Indicates whether the display is enabled. + :param bool is_keyboard_enabled: Indicates whether the keyboard is enabled. + :param bool is_pointer_enabled: Indicates whether the pointer is enabled. + :param bool is_printing_enabled: Indicates whether printing is enabled. + """ + pulumi.set(__self__, "audio_mode", audio_mode) + pulumi.set(__self__, "cdm_mode", cdm_mode) + pulumi.set(__self__, "clipboard_mode", clipboard_mode) + pulumi.set(__self__, "is_display_enabled", is_display_enabled) + pulumi.set(__self__, "is_keyboard_enabled", is_keyboard_enabled) + pulumi.set(__self__, "is_pointer_enabled", is_pointer_enabled) + pulumi.set(__self__, "is_printing_enabled", is_printing_enabled) + + @property + @pulumi.getter(name="audioMode") + def audio_mode(self) -> str: + """ + The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + """ + return pulumi.get(self, "audio_mode") + + @property + @pulumi.getter(name="cdmMode") + def cdm_mode(self) -> str: + """ + The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + """ + return pulumi.get(self, "cdm_mode") + + @property + @pulumi.getter(name="clipboardMode") + def clipboard_mode(self) -> str: + """ + The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + """ + return pulumi.get(self, "clipboard_mode") + + @property + @pulumi.getter(name="isDisplayEnabled") + def is_display_enabled(self) -> bool: + """ + Indicates whether the display is enabled. + """ + return pulumi.get(self, "is_display_enabled") + + @property + @pulumi.getter(name="isKeyboardEnabled") + def is_keyboard_enabled(self) -> bool: + """ + Indicates whether the keyboard is enabled. + """ + return pulumi.get(self, "is_keyboard_enabled") + + @property + @pulumi.getter(name="isPointerEnabled") + def is_pointer_enabled(self) -> bool: + """ + Indicates whether the pointer is enabled. + """ + return pulumi.get(self, "is_pointer_enabled") + + @property + @pulumi.getter(name="isPrintingEnabled") + def is_printing_enabled(self) -> bool: + """ + Indicates whether printing is enabled. + """ + return pulumi.get(self, "is_printing_enabled") + + +@pulumi.output_type +class GetDesktopHostingOptionResult(dict): + def __init__(__self__, *, + connect_address: str, + images: Sequence['outputs.GetDesktopHostingOptionImageResult']): + """ + :param str connect_address: The connection address of the desktop. + :param Sequence['GetDesktopHostingOptionImageArgs'] images: Provides information about the desktop image. + """ + pulumi.set(__self__, "connect_address", connect_address) + pulumi.set(__self__, "images", images) + + @property + @pulumi.getter(name="connectAddress") + def connect_address(self) -> str: + """ + The connection address of the desktop. + """ + return pulumi.get(self, "connect_address") + + @property + @pulumi.getter + def images(self) -> Sequence['outputs.GetDesktopHostingOptionImageResult']: + """ + Provides information about the desktop image. + """ + return pulumi.get(self, "images") + + +@pulumi.output_type +class GetDesktopHostingOptionImageResult(dict): + def __init__(__self__, *, + image_id: str, + image_name: str): + """ + :param str image_id: The OCID of the desktop image. + :param str image_name: The name of the desktop image. + """ + pulumi.set(__self__, "image_id", image_id) + pulumi.set(__self__, "image_name", image_name) + + @property + @pulumi.getter(name="imageId") + def image_id(self) -> str: + """ + The OCID of the desktop image. + """ + return pulumi.get(self, "image_id") + + @property + @pulumi.getter(name="imageName") + def image_name(self) -> str: + """ + The name of the desktop image. + """ + return pulumi.get(self, "image_name") + + +@pulumi.output_type +class GetDesktopPoolAvailabilityPolicyResult(dict): + def __init__(__self__, *, + start_schedules: Sequence['outputs.GetDesktopPoolAvailabilityPolicyStartScheduleResult'], + stop_schedules: Sequence['outputs.GetDesktopPoolAvailabilityPolicyStopScheduleResult']): + """ + :param Sequence['GetDesktopPoolAvailabilityPolicyStartScheduleArgs'] start_schedules: Provides the schedule information for a desktop. + :param Sequence['GetDesktopPoolAvailabilityPolicyStopScheduleArgs'] stop_schedules: Provides the schedule information for a desktop. + """ + pulumi.set(__self__, "start_schedules", start_schedules) + pulumi.set(__self__, "stop_schedules", stop_schedules) + + @property + @pulumi.getter(name="startSchedules") + def start_schedules(self) -> Sequence['outputs.GetDesktopPoolAvailabilityPolicyStartScheduleResult']: + """ + Provides the schedule information for a desktop. + """ + return pulumi.get(self, "start_schedules") + + @property + @pulumi.getter(name="stopSchedules") + def stop_schedules(self) -> Sequence['outputs.GetDesktopPoolAvailabilityPolicyStopScheduleResult']: + """ + Provides the schedule information for a desktop. + """ + return pulumi.get(self, "stop_schedules") + + +@pulumi.output_type +class GetDesktopPoolAvailabilityPolicyStartScheduleResult(dict): + def __init__(__self__, *, + cron_expression: str, + timezone: str): + """ + :param str cron_expression: A cron expression describing the desktop's schedule. + :param str timezone: The timezone of the desktop's schedule. + """ + pulumi.set(__self__, "cron_expression", cron_expression) + pulumi.set(__self__, "timezone", timezone) + + @property + @pulumi.getter(name="cronExpression") + def cron_expression(self) -> str: + """ + A cron expression describing the desktop's schedule. + """ + return pulumi.get(self, "cron_expression") + + @property + @pulumi.getter + def timezone(self) -> str: + """ + The timezone of the desktop's schedule. + """ + return pulumi.get(self, "timezone") + + +@pulumi.output_type +class GetDesktopPoolAvailabilityPolicyStopScheduleResult(dict): + def __init__(__self__, *, + cron_expression: str, + timezone: str): + """ + :param str cron_expression: A cron expression describing the desktop's schedule. + :param str timezone: The timezone of the desktop's schedule. + """ + pulumi.set(__self__, "cron_expression", cron_expression) + pulumi.set(__self__, "timezone", timezone) + + @property + @pulumi.getter(name="cronExpression") + def cron_expression(self) -> str: + """ + A cron expression describing the desktop's schedule. + """ + return pulumi.get(self, "cron_expression") + + @property + @pulumi.getter + def timezone(self) -> str: + """ + The timezone of the desktop's schedule. + """ + return pulumi.get(self, "timezone") + + +@pulumi.output_type +class GetDesktopPoolDesktopsDesktopPoolDesktopCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemResult']): + """ + :param Sequence['GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemArgs'] items: A list of desktops. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemResult']: + """ + A list of desktops. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDesktopPoolDesktopsDesktopPoolDesktopCollectionItemResult(dict): + def __init__(__self__, *, + defined_tags: Mapping[str, str], + desktop_id: str, + freeform_tags: Mapping[str, str], + instance_id: str, + is_assigned: bool, + state: str, + time_created: str, + user_name: str): + """ + :param Mapping[str, str] 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 desktop_id: The OCID of the desktop. + :param Mapping[str, str] 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 instance_id: The OCID of the compute resource used by this desktop. + :param bool is_assigned: Indicates whether the desktop is assigned to a user. + :param str state: A filter to return only results with the given lifecycleState. + :param str time_created: The date and time the resource was created. + :param str user_name: The owner of the desktop. + """ + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "desktop_id", desktop_id) + pulumi.set(__self__, "freeform_tags", freeform_tags) + pulumi.set(__self__, "instance_id", instance_id) + pulumi.set(__self__, "is_assigned", is_assigned) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="desktopId") + def desktop_id(self) -> str: + """ + The OCID of the desktop. + """ + return pulumi.get(self, "desktop_id") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter(name="instanceId") + def instance_id(self) -> str: + """ + The OCID of the compute resource used by this desktop. + """ + return pulumi.get(self, "instance_id") + + @property + @pulumi.getter(name="isAssigned") + def is_assigned(self) -> bool: + """ + Indicates whether the desktop is assigned to a user. + """ + return pulumi.get(self, "is_assigned") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return only results with the given lifecycleState. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time the resource was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> str: + """ + The owner of the desktop. + """ + return pulumi.get(self, "user_name") + + +@pulumi.output_type +class GetDesktopPoolDesktopsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDesktopPoolDevicePolicyResult(dict): + def __init__(__self__, *, + audio_mode: str, + cdm_mode: str, + clipboard_mode: str, + is_display_enabled: bool, + is_keyboard_enabled: bool, + is_pointer_enabled: bool, + is_printing_enabled: bool): + """ + :param str audio_mode: The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + :param str cdm_mode: The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + :param str clipboard_mode: The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + :param bool is_display_enabled: Indicates whether the display is enabled. + :param bool is_keyboard_enabled: Indicates whether the keyboard is enabled. + :param bool is_pointer_enabled: Indicates whether the pointer is enabled. + :param bool is_printing_enabled: Indicates whether printing is enabled. + """ + pulumi.set(__self__, "audio_mode", audio_mode) + pulumi.set(__self__, "cdm_mode", cdm_mode) + pulumi.set(__self__, "clipboard_mode", clipboard_mode) + pulumi.set(__self__, "is_display_enabled", is_display_enabled) + pulumi.set(__self__, "is_keyboard_enabled", is_keyboard_enabled) + pulumi.set(__self__, "is_pointer_enabled", is_pointer_enabled) + pulumi.set(__self__, "is_printing_enabled", is_printing_enabled) + + @property + @pulumi.getter(name="audioMode") + def audio_mode(self) -> str: + """ + The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + """ + return pulumi.get(self, "audio_mode") + + @property + @pulumi.getter(name="cdmMode") + def cdm_mode(self) -> str: + """ + The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + """ + return pulumi.get(self, "cdm_mode") + + @property + @pulumi.getter(name="clipboardMode") + def clipboard_mode(self) -> str: + """ + The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + """ + return pulumi.get(self, "clipboard_mode") + + @property + @pulumi.getter(name="isDisplayEnabled") + def is_display_enabled(self) -> bool: + """ + Indicates whether the display is enabled. + """ + return pulumi.get(self, "is_display_enabled") + + @property + @pulumi.getter(name="isKeyboardEnabled") + def is_keyboard_enabled(self) -> bool: + """ + Indicates whether the keyboard is enabled. + """ + return pulumi.get(self, "is_keyboard_enabled") + + @property + @pulumi.getter(name="isPointerEnabled") + def is_pointer_enabled(self) -> bool: + """ + Indicates whether the pointer is enabled. + """ + return pulumi.get(self, "is_pointer_enabled") + + @property + @pulumi.getter(name="isPrintingEnabled") + def is_printing_enabled(self) -> bool: + """ + Indicates whether printing is enabled. + """ + return pulumi.get(self, "is_printing_enabled") + + +@pulumi.output_type +class GetDesktopPoolImageResult(dict): + def __init__(__self__, *, + image_id: str, + image_name: str): + """ + :param str image_id: The OCID of the desktop image. + :param str image_name: The name of the desktop image. + """ + pulumi.set(__self__, "image_id", image_id) + pulumi.set(__self__, "image_name", image_name) + + @property + @pulumi.getter(name="imageId") + def image_id(self) -> str: + """ + The OCID of the desktop image. + """ + return pulumi.get(self, "image_id") + + @property + @pulumi.getter(name="imageName") + def image_name(self) -> str: + """ + The name of the desktop image. + """ + return pulumi.get(self, "image_name") + + +@pulumi.output_type +class GetDesktopPoolNetworkConfigurationResult(dict): + def __init__(__self__, *, + subnet_id: str, + vcn_id: str): + """ + :param str subnet_id: The OCID of the subnet to use for the desktop pool. + :param str vcn_id: The OCID of the VCN used by the desktop pool. + """ + pulumi.set(__self__, "subnet_id", subnet_id) + pulumi.set(__self__, "vcn_id", vcn_id) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + The OCID of the subnet to use for the desktop pool. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="vcnId") + def vcn_id(self) -> str: + """ + The OCID of the VCN used by the desktop pool. + """ + return pulumi.get(self, "vcn_id") + + +@pulumi.output_type +class GetDesktopPoolVolumesDesktopPoolVolumeCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemResult']): + """ + :param Sequence['GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemArgs'] items: A list of desktop pool volumes. + """ + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemResult']: + """ + A list of desktop pool volumes. + """ + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDesktopPoolVolumesDesktopPoolVolumeCollectionItemResult(dict): + def __init__(__self__, *, + availability_domain: str, + defined_tags: Mapping[str, str], + freeform_tags: Mapping[str, str], + id: str, + name: str, + pool_id: str, + state: str, + user_name: str): + """ + :param str availability_domain: The name of the availability domain. + :param Mapping[str, str] 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, str] 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: A filter to return only results with the given OCID. + :param str name: The name of the desktop pool volume. + :param str pool_id: The OCID of the desktop pool to which this volume belongs. + :param str state: A filter to return only results with the given lifecycleState. + :param str user_name: The owner of the desktop pool volume. + """ + pulumi.set(__self__, "availability_domain", availability_domain) + 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__, "pool_id", pool_id) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + """ + The name of the availability domain. + """ + return pulumi.get(self, "availability_domain") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + A filter to return only results with the given OCID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the desktop pool volume. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="poolId") + def pool_id(self) -> str: + """ + The OCID of the desktop pool to which this volume belongs. + """ + return pulumi.get(self, "pool_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return only results with the given lifecycleState. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> str: + """ + The owner of the desktop pool volume. + """ + return pulumi.get(self, "user_name") + + +@pulumi.output_type +class GetDesktopPoolVolumesFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: The name of the desktop pool volume. + """ + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the desktop pool volume. + """ + 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 GetDesktopPoolsDesktopPoolCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDesktopPoolsDesktopPoolCollectionItemResult(dict): + def __init__(__self__, *, + active_desktops: int, + are_privileged_users: bool, + availability_domain: str, + availability_policies: Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyResult'], + compartment_id: str, + contact_details: str, + defined_tags: Mapping[str, str], + description: str, + device_policies: Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyResult'], + display_name: str, + freeform_tags: Mapping[str, str], + id: str, + images: Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemImageResult'], + is_storage_enabled: bool, + maximum_size: int, + network_configurations: Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationResult'], + nsg_ids: Sequence[str], + shape_name: str, + standby_size: int, + state: str, + storage_backup_policy_id: str, + storage_size_in_gbs: int, + time_created: str, + time_start_scheduled: str, + time_stop_scheduled: str): + """ + :param int active_desktops: The number of active desktops in the desktop pool. + :param bool are_privileged_users: Indicates whether desktop pool users have administrative privileges on their desktop. + :param str availability_domain: The name of the availability domain. + :param Sequence['GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyArgs'] availability_policies: Provides the start and stop schedule information for desktop availability of the desktop pool. + :param str compartment_id: The OCID of the compartment of the desktop pool. + :param str contact_details: Contact information of the desktop pool administrator. Avoid entering confidential information. + :param Mapping[str, str] 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 description: A user friendly description providing additional information about the resource. Avoid entering confidential information. + :param Sequence['GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyArgs'] device_policies: Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + :param str display_name: A filter to return only results with the given displayName. + :param Mapping[str, str] 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: A filter to return only results with the given OCID. + :param Sequence['GetDesktopPoolsDesktopPoolCollectionItemImageArgs'] images: Provides information about the desktop image. + :param bool is_storage_enabled: Indicates whether storage is enabled for the desktop pool. + :param int maximum_size: The maximum number of desktops permitted in the desktop pool. + :param Sequence['GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationArgs'] network_configurations: Provides information about the network configuration of the desktop pool. + :param Sequence[str] nsg_ids: A list of network security groups for the desktop pool. + :param str shape_name: The shape of the desktop pool. + :param int standby_size: The maximum number of standby desktops available in the desktop pool. + :param str state: A filter to return only results with the given lifecycleState. + :param str storage_backup_policy_id: The backup policy OCID of the storage. + :param int storage_size_in_gbs: The size in GBs of the storage for the desktop pool. + :param str time_created: The date and time the resource was created. + :param str time_start_scheduled: The start time of the desktop pool. + :param str time_stop_scheduled: The stop time of the desktop pool. + """ + pulumi.set(__self__, "active_desktops", active_desktops) + pulumi.set(__self__, "are_privileged_users", are_privileged_users) + pulumi.set(__self__, "availability_domain", availability_domain) + pulumi.set(__self__, "availability_policies", availability_policies) + pulumi.set(__self__, "compartment_id", compartment_id) + pulumi.set(__self__, "contact_details", contact_details) + pulumi.set(__self__, "defined_tags", defined_tags) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "device_policies", device_policies) + 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_storage_enabled", is_storage_enabled) + pulumi.set(__self__, "maximum_size", maximum_size) + pulumi.set(__self__, "network_configurations", network_configurations) + pulumi.set(__self__, "nsg_ids", nsg_ids) + pulumi.set(__self__, "shape_name", shape_name) + pulumi.set(__self__, "standby_size", standby_size) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "storage_backup_policy_id", storage_backup_policy_id) + pulumi.set(__self__, "storage_size_in_gbs", storage_size_in_gbs) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "time_start_scheduled", time_start_scheduled) + pulumi.set(__self__, "time_stop_scheduled", time_stop_scheduled) + + @property + @pulumi.getter(name="activeDesktops") + def active_desktops(self) -> int: + """ + The number of active desktops in the desktop pool. + """ + return pulumi.get(self, "active_desktops") + + @property + @pulumi.getter(name="arePrivilegedUsers") + def are_privileged_users(self) -> bool: + """ + Indicates whether desktop pool users have administrative privileges on their desktop. + """ + return pulumi.get(self, "are_privileged_users") + + @property + @pulumi.getter(name="availabilityDomain") + def availability_domain(self) -> str: + """ + The name of the availability domain. + """ + return pulumi.get(self, "availability_domain") + + @property + @pulumi.getter(name="availabilityPolicies") + def availability_policies(self) -> Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyResult']: + """ + Provides the start and stop schedule information for desktop availability of the desktop pool. + """ + return pulumi.get(self, "availability_policies") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The OCID of the compartment of the desktop pool. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="contactDetails") + def contact_details(self) -> str: + """ + Contact information of the desktop pool administrator. Avoid entering confidential information. + """ + return pulumi.get(self, "contact_details") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + A user friendly description providing additional information about the resource. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="devicePolicies") + def device_policies(self) -> Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyResult']: + """ + Provides the settings for desktop and client device options, such as audio in and out, client drive mapping, and clipboard access. + """ + return pulumi.get(self, "device_policies") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A filter to return only results with the given displayName. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + A filter to return only results with the given OCID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def images(self) -> Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemImageResult']: + """ + Provides information about the desktop image. + """ + return pulumi.get(self, "images") + + @property + @pulumi.getter(name="isStorageEnabled") + def is_storage_enabled(self) -> bool: + """ + Indicates whether storage is enabled for the desktop pool. + """ + return pulumi.get(self, "is_storage_enabled") + + @property + @pulumi.getter(name="maximumSize") + def maximum_size(self) -> int: + """ + The maximum number of desktops permitted in the desktop pool. + """ + return pulumi.get(self, "maximum_size") + + @property + @pulumi.getter(name="networkConfigurations") + def network_configurations(self) -> Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationResult']: + """ + Provides information about the network configuration of the desktop pool. + """ + return pulumi.get(self, "network_configurations") + + @property + @pulumi.getter(name="nsgIds") + def nsg_ids(self) -> Sequence[str]: + """ + A list of network security groups for the desktop pool. + """ + return pulumi.get(self, "nsg_ids") + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> str: + """ + The shape of the desktop pool. + """ + return pulumi.get(self, "shape_name") + + @property + @pulumi.getter(name="standbySize") + def standby_size(self) -> int: + """ + The maximum number of standby desktops available in the desktop pool. + """ + return pulumi.get(self, "standby_size") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return only results with the given lifecycleState. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="storageBackupPolicyId") + def storage_backup_policy_id(self) -> str: + """ + The backup policy OCID of the storage. + """ + return pulumi.get(self, "storage_backup_policy_id") + + @property + @pulumi.getter(name="storageSizeInGbs") + def storage_size_in_gbs(self) -> int: + """ + The size in GBs of the storage for the desktop pool. + """ + return pulumi.get(self, "storage_size_in_gbs") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time the resource was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeStartScheduled") + def time_start_scheduled(self) -> str: + """ + The start time of the desktop pool. + """ + return pulumi.get(self, "time_start_scheduled") + + @property + @pulumi.getter(name="timeStopScheduled") + def time_stop_scheduled(self) -> str: + """ + The stop time of the desktop pool. + """ + return pulumi.get(self, "time_stop_scheduled") + + +@pulumi.output_type +class GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyResult(dict): + def __init__(__self__, *, + start_schedules: Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleResult'], + stop_schedules: Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleResult']): + """ + :param Sequence['GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleArgs'] start_schedules: Provides the schedule information for a desktop. + :param Sequence['GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleArgs'] stop_schedules: Provides the schedule information for a desktop. + """ + pulumi.set(__self__, "start_schedules", start_schedules) + pulumi.set(__self__, "stop_schedules", stop_schedules) + + @property + @pulumi.getter(name="startSchedules") + def start_schedules(self) -> Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleResult']: + """ + Provides the schedule information for a desktop. + """ + return pulumi.get(self, "start_schedules") + + @property + @pulumi.getter(name="stopSchedules") + def stop_schedules(self) -> Sequence['outputs.GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleResult']: + """ + Provides the schedule information for a desktop. + """ + return pulumi.get(self, "stop_schedules") + + +@pulumi.output_type +class GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStartScheduleResult(dict): + def __init__(__self__, *, + cron_expression: str, + timezone: str): + """ + :param str cron_expression: A cron expression describing the desktop's schedule. + :param str timezone: The timezone of the desktop's schedule. + """ + pulumi.set(__self__, "cron_expression", cron_expression) + pulumi.set(__self__, "timezone", timezone) + + @property + @pulumi.getter(name="cronExpression") + def cron_expression(self) -> str: + """ + A cron expression describing the desktop's schedule. + """ + return pulumi.get(self, "cron_expression") + + @property + @pulumi.getter + def timezone(self) -> str: + """ + The timezone of the desktop's schedule. + """ + return pulumi.get(self, "timezone") + + +@pulumi.output_type +class GetDesktopPoolsDesktopPoolCollectionItemAvailabilityPolicyStopScheduleResult(dict): + def __init__(__self__, *, + cron_expression: str, + timezone: str): + """ + :param str cron_expression: A cron expression describing the desktop's schedule. + :param str timezone: The timezone of the desktop's schedule. + """ + pulumi.set(__self__, "cron_expression", cron_expression) + pulumi.set(__self__, "timezone", timezone) + + @property + @pulumi.getter(name="cronExpression") + def cron_expression(self) -> str: + """ + A cron expression describing the desktop's schedule. + """ + return pulumi.get(self, "cron_expression") + + @property + @pulumi.getter + def timezone(self) -> str: + """ + The timezone of the desktop's schedule. + """ + return pulumi.get(self, "timezone") + + +@pulumi.output_type +class GetDesktopPoolsDesktopPoolCollectionItemDevicePolicyResult(dict): + def __init__(__self__, *, + audio_mode: str, + cdm_mode: str, + clipboard_mode: str, + is_display_enabled: bool, + is_keyboard_enabled: bool, + is_pointer_enabled: bool, + is_printing_enabled: bool): + """ + :param str audio_mode: The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + :param str cdm_mode: The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + :param str clipboard_mode: The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + :param bool is_display_enabled: Indicates whether the display is enabled. + :param bool is_keyboard_enabled: Indicates whether the keyboard is enabled. + :param bool is_pointer_enabled: Indicates whether the pointer is enabled. + :param bool is_printing_enabled: Indicates whether printing is enabled. + """ + pulumi.set(__self__, "audio_mode", audio_mode) + pulumi.set(__self__, "cdm_mode", cdm_mode) + pulumi.set(__self__, "clipboard_mode", clipboard_mode) + pulumi.set(__self__, "is_display_enabled", is_display_enabled) + pulumi.set(__self__, "is_keyboard_enabled", is_keyboard_enabled) + pulumi.set(__self__, "is_pointer_enabled", is_pointer_enabled) + pulumi.set(__self__, "is_printing_enabled", is_printing_enabled) + + @property + @pulumi.getter(name="audioMode") + def audio_mode(self) -> str: + """ + The audio mode. NONE: No access to the local audio devices is permitted. TODESKTOP: The user may record audio on their desktop. FROMDESKTOP: The user may play audio on their desktop. FULL: The user may play and record audio on their desktop. + """ + return pulumi.get(self, "audio_mode") + + @property + @pulumi.getter(name="cdmMode") + def cdm_mode(self) -> str: + """ + The client local drive access mode. NONE: No access to local drives permitted. READONLY: The user may read from local drives on their desktop. FULL: The user may read from and write to their local drives on their desktop. + """ + return pulumi.get(self, "cdm_mode") + + @property + @pulumi.getter(name="clipboardMode") + def clipboard_mode(self) -> str: + """ + The clipboard mode. NONE: No access to the local clipboard is permitted. TODESKTOP: The clipboard can be used to transfer data to the desktop only. FROMDESKTOP: The clipboard can be used to transfer data from the desktop only. FULL: The clipboard can be used to transfer data to and from the desktop. + """ + return pulumi.get(self, "clipboard_mode") + + @property + @pulumi.getter(name="isDisplayEnabled") + def is_display_enabled(self) -> bool: + """ + Indicates whether the display is enabled. + """ + return pulumi.get(self, "is_display_enabled") + + @property + @pulumi.getter(name="isKeyboardEnabled") + def is_keyboard_enabled(self) -> bool: + """ + Indicates whether the keyboard is enabled. + """ + return pulumi.get(self, "is_keyboard_enabled") + + @property + @pulumi.getter(name="isPointerEnabled") + def is_pointer_enabled(self) -> bool: + """ + Indicates whether the pointer is enabled. + """ + return pulumi.get(self, "is_pointer_enabled") + + @property + @pulumi.getter(name="isPrintingEnabled") + def is_printing_enabled(self) -> bool: + """ + Indicates whether printing is enabled. + """ + return pulumi.get(self, "is_printing_enabled") + + +@pulumi.output_type +class GetDesktopPoolsDesktopPoolCollectionItemImageResult(dict): + def __init__(__self__, *, + image_id: str, + image_name: str): + """ + :param str image_id: The OCID of the desktop image. + :param str image_name: The name of the desktop image. + """ + pulumi.set(__self__, "image_id", image_id) + pulumi.set(__self__, "image_name", image_name) + + @property + @pulumi.getter(name="imageId") + def image_id(self) -> str: + """ + The OCID of the desktop image. + """ + return pulumi.get(self, "image_id") + + @property + @pulumi.getter(name="imageName") + def image_name(self) -> str: + """ + The name of the desktop image. + """ + return pulumi.get(self, "image_name") + + +@pulumi.output_type +class GetDesktopPoolsDesktopPoolCollectionItemNetworkConfigurationResult(dict): + def __init__(__self__, *, + subnet_id: str, + vcn_id: str): + """ + :param str subnet_id: The OCID of the subnet to use for the desktop pool. + :param str vcn_id: The OCID of the VCN used by the desktop pool. + """ + pulumi.set(__self__, "subnet_id", subnet_id) + pulumi.set(__self__, "vcn_id", vcn_id) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + The OCID of the subnet to use for the desktop pool. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="vcnId") + def vcn_id(self) -> str: + """ + The OCID of the VCN used by the desktop pool. + """ + return pulumi.get(self, "vcn_id") + + +@pulumi.output_type +class GetDesktopPoolsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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 GetDesktopsDesktopCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetDesktopsDesktopCollectionItemResult']): + pulumi.set(__self__, "items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetDesktopsDesktopCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetDesktopsDesktopCollectionItemResult(dict): + def __init__(__self__, *, + defined_tags: Mapping[str, str], + display_name: str, + freeform_tags: Mapping[str, str], + id: str, + pool_id: str, + state: str, + time_created: str, + user_name: str): + """ + :param Mapping[str, str] 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 filter to return only results with the given displayName. + :param Mapping[str, str] 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: A filter to return only results with the given OCID. + :param str pool_id: The OCID of the desktop pool the desktop is a member of. + :param str state: A filter to return only results with the given lifecycleState. + :param str time_created: The date and time the resource was created. + :param str user_name: The owner of the desktop. + """ + 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__, "pool_id", pool_id) + pulumi.set(__self__, "state", state) + pulumi.set(__self__, "time_created", time_created) + pulumi.set(__self__, "user_name", user_name) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A filter to return only results with the given displayName. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, str]: + """ + 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"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + A filter to return only results with the given OCID. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="poolId") + def pool_id(self) -> str: + """ + The OCID of the desktop pool the desktop is a member of. + """ + return pulumi.get(self, "pool_id") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return only results with the given lifecycleState. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time the resource was created. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="userName") + def user_name(self) -> str: + """ + The owner of the desktop. + """ + return pulumi.get(self, "user_name") + + +@pulumi.output_type +class GetDesktopsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + pulumi.set(__self__, "name", name) + pulumi.set(__self__, "values", values) + if regex is not None: + pulumi.set(__self__, "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") + + diff --git a/sdk/python/pulumi_oci/filestorage/mount_target.py b/sdk/python/pulumi_oci/filestorage/mount_target.py index 5d18e6c820..d4e7832229 100644 --- a/sdk/python/pulumi_oci/filestorage/mount_target.py +++ b/sdk/python/pulumi_oci/filestorage/mount_target.py @@ -27,7 +27,8 @@ def __init__(__self__, *, 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): + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + requested_throughput: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a MountTarget resource. :param pulumi.Input[str] availability_domain: The availability domain in which to create the mount target. Example: `Uocm:PHX-AD-1` @@ -48,14 +49,11 @@ def __init__(__self__, *, Example: `files-1` :param pulumi.Input[str] idmap_type: (Updatable) The method used to map a Unix UID to secondary groups, if any. - :param pulumi.Input[str] ip_address: A private IP 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 a private IP address from the subnet. - - Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - - Example: `10.0.3.3` + :param pulumi.Input[str] ip_address: A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` :param pulumi.Input['MountTargetKerberosArgs'] kerberos: (Updatable) Kerberos details needed to create configuration. :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). + :param pulumi.Input[str] requested_throughput: (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). """ pulumi.set(__self__, "availability_domain", availability_domain) pulumi.set(__self__, "compartment_id", compartment_id) @@ -78,6 +76,8 @@ def __init__(__self__, *, pulumi.set(__self__, "ldap_idmap", ldap_idmap) if nsg_ids is not None: pulumi.set(__self__, "nsg_ids", nsg_ids) + if requested_throughput is not None: + pulumi.set(__self__, "requested_throughput", requested_throughput) @property @pulumi.getter(name="availabilityDomain") @@ -189,11 +189,7 @@ def idmap_type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="ipAddress") def ip_address(self) -> Optional[pulumi.Input[str]]: """ - A private IP 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 a private IP address from the subnet. - - Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - - Example: `10.0.3.3` + A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` """ return pulumi.get(self, "ip_address") @@ -237,6 +233,18 @@ def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "nsg_ids", value) + @property + @pulumi.getter(name="requestedThroughput") + def requested_throughput(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + """ + return pulumi.get(self, "requested_throughput") + + @requested_throughput.setter + def requested_throughput(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requested_throughput", value) + @pulumi.input_type class _MountTargetState: @@ -254,9 +262,13 @@ def __init__(__self__, *, ldap_idmap: Optional[pulumi.Input['MountTargetLdapIdmapArgs']] = None, lifecycle_details: Optional[pulumi.Input[str]] = None, nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + observed_throughput: Optional[pulumi.Input[str]] = None, private_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + requested_throughput: Optional[pulumi.Input[str]] = None, + reserved_storage_capacity: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, + time_billing_cycle_end: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering MountTarget resources. @@ -274,22 +286,22 @@ def __init__(__self__, *, Example: `files-1` :param pulumi.Input[str] idmap_type: (Updatable) The method used to map a Unix UID to secondary groups, if any. - :param pulumi.Input[str] ip_address: A private IP 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 a private IP address from the subnet. - - Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - - Example: `10.0.3.3` + :param pulumi.Input[str] ip_address: A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` :param pulumi.Input['MountTargetKerberosArgs'] kerberos: (Updatable) Kerberos details needed to create configuration. :param pulumi.Input['MountTargetLdapIdmapArgs'] ldap_idmap: (Updatable) Mount target details about the LDAP ID mapping configuration. :param pulumi.Input[str] lifecycle_details: Additional information about the current 'lifecycleState'. :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). + :param pulumi.Input[str] observed_throughput: Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ip_ids: The OCIDs of the private IP addresses associated with this mount target. + :param pulumi.Input[str] requested_throughput: (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + :param pulumi.Input[str] reserved_storage_capacity: * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). :param pulumi.Input[str] state: The current state of the mount target. :param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. ** IMPORTANT ** 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_billing_cycle_end: The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` :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` """ if availability_domain is not None: @@ -318,12 +330,20 @@ def __init__(__self__, *, pulumi.set(__self__, "lifecycle_details", lifecycle_details) if nsg_ids is not None: pulumi.set(__self__, "nsg_ids", nsg_ids) + if observed_throughput is not None: + pulumi.set(__self__, "observed_throughput", observed_throughput) if private_ip_ids is not None: pulumi.set(__self__, "private_ip_ids", private_ip_ids) + if requested_throughput is not None: + pulumi.set(__self__, "requested_throughput", requested_throughput) + if reserved_storage_capacity is not None: + pulumi.set(__self__, "reserved_storage_capacity", reserved_storage_capacity) if state is not None: pulumi.set(__self__, "state", state) if subnet_id is not None: pulumi.set(__self__, "subnet_id", subnet_id) + if time_billing_cycle_end is not None: + pulumi.set(__self__, "time_billing_cycle_end", time_billing_cycle_end) if time_created is not None: pulumi.set(__self__, "time_created", time_created) @@ -433,11 +453,7 @@ def idmap_type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="ipAddress") def ip_address(self) -> Optional[pulumi.Input[str]]: """ - A private IP 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 a private IP address from the subnet. - - Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - - Example: `10.0.3.3` + A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` """ return pulumi.get(self, "ip_address") @@ -493,6 +509,18 @@ def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "nsg_ids", value) + @property + @pulumi.getter(name="observedThroughput") + def observed_throughput(self) -> Optional[pulumi.Input[str]]: + """ + Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + """ + return pulumi.get(self, "observed_throughput") + + @observed_throughput.setter + def observed_throughput(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "observed_throughput", value) + @property @pulumi.getter(name="privateIpIds") def private_ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -505,6 +533,30 @@ def private_ip_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: def private_ip_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "private_ip_ids", value) + @property + @pulumi.getter(name="requestedThroughput") + def requested_throughput(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + """ + return pulumi.get(self, "requested_throughput") + + @requested_throughput.setter + def requested_throughput(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "requested_throughput", value) + + @property + @pulumi.getter(name="reservedStorageCapacity") + def reserved_storage_capacity(self) -> Optional[pulumi.Input[str]]: + """ + * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + """ + return pulumi.get(self, "reserved_storage_capacity") + + @reserved_storage_capacity.setter + def reserved_storage_capacity(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "reserved_storage_capacity", value) + @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: @@ -533,6 +585,18 @@ def subnet_id(self) -> Optional[pulumi.Input[str]]: def subnet_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "subnet_id", value) + @property + @pulumi.getter(name="timeBillingCycleEnd") + def time_billing_cycle_end(self) -> Optional[pulumi.Input[str]]: + """ + The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + """ + return pulumi.get(self, "time_billing_cycle_end") + + @time_billing_cycle_end.setter + def time_billing_cycle_end(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_billing_cycle_end", value) + @property @pulumi.getter(name="timeCreated") def time_created(self) -> Optional[pulumi.Input[str]]: @@ -562,6 +626,7 @@ def __init__(__self__, kerberos: Optional[pulumi.Input[Union['MountTargetKerberosArgs', 'MountTargetKerberosArgsDict']]] = None, ldap_idmap: Optional[pulumi.Input[Union['MountTargetLdapIdmapArgs', 'MountTargetLdapIdmapArgsDict']]] = None, nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + requested_throughput: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -637,7 +702,8 @@ def __init__(__self__, "schema_type": mount_target_ldap_idmap_schema_type, "user_search_base": mount_target_ldap_idmap_user_search_base, }, - nsg_ids=mount_target_nsg_ids) + nsg_ids=mount_target_nsg_ids, + requested_throughput=mount_target_requested_throughput) ``` ## Import @@ -663,14 +729,11 @@ def __init__(__self__, Example: `files-1` :param pulumi.Input[str] idmap_type: (Updatable) The method used to map a Unix UID to secondary groups, if any. - :param pulumi.Input[str] ip_address: A private IP 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 a private IP address from the subnet. - - Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - - Example: `10.0.3.3` + :param pulumi.Input[str] ip_address: A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` :param pulumi.Input[Union['MountTargetKerberosArgs', 'MountTargetKerberosArgsDict']] kerberos: (Updatable) Kerberos details needed to create configuration. :param pulumi.Input[Union['MountTargetLdapIdmapArgs', 'MountTargetLdapIdmapArgsDict']] 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). + :param pulumi.Input[str] requested_throughput: (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). :param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. @@ -756,7 +819,8 @@ def __init__(__self__, "schema_type": mount_target_ldap_idmap_schema_type, "user_search_base": mount_target_ldap_idmap_user_search_base, }, - nsg_ids=mount_target_nsg_ids) + nsg_ids=mount_target_nsg_ids, + requested_throughput=mount_target_requested_throughput) ``` ## Import @@ -793,6 +857,7 @@ def _internal_init(__self__, kerberos: Optional[pulumi.Input[Union['MountTargetKerberosArgs', 'MountTargetKerberosArgsDict']]] = None, ldap_idmap: Optional[pulumi.Input[Union['MountTargetLdapIdmapArgs', 'MountTargetLdapIdmapArgsDict']]] = None, nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + requested_throughput: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -818,13 +883,17 @@ def _internal_init(__self__, __props__.__dict__["kerberos"] = kerberos __props__.__dict__["ldap_idmap"] = ldap_idmap __props__.__dict__["nsg_ids"] = nsg_ids + __props__.__dict__["requested_throughput"] = requested_throughput if subnet_id is None and not opts.urn: raise TypeError("Missing required property 'subnet_id'") __props__.__dict__["subnet_id"] = subnet_id __props__.__dict__["export_set_id"] = None __props__.__dict__["lifecycle_details"] = None + __props__.__dict__["observed_throughput"] = None __props__.__dict__["private_ip_ids"] = None + __props__.__dict__["reserved_storage_capacity"] = None __props__.__dict__["state"] = None + __props__.__dict__["time_billing_cycle_end"] = None __props__.__dict__["time_created"] = None super(MountTarget, __self__).__init__( 'oci:FileStorage/mountTarget:MountTarget', @@ -849,9 +918,13 @@ def get(resource_name: str, ldap_idmap: Optional[pulumi.Input[Union['MountTargetLdapIdmapArgs', 'MountTargetLdapIdmapArgsDict']]] = None, lifecycle_details: Optional[pulumi.Input[str]] = None, nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + observed_throughput: Optional[pulumi.Input[str]] = None, private_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + requested_throughput: Optional[pulumi.Input[str]] = None, + reserved_storage_capacity: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None, + time_billing_cycle_end: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None) -> 'MountTarget': """ Get an existing MountTarget resource's state with the given name, id, and optional extra @@ -874,22 +947,22 @@ def get(resource_name: str, Example: `files-1` :param pulumi.Input[str] idmap_type: (Updatable) The method used to map a Unix UID to secondary groups, if any. - :param pulumi.Input[str] ip_address: A private IP 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 a private IP address from the subnet. - - Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - - Example: `10.0.3.3` + :param pulumi.Input[str] ip_address: A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` :param pulumi.Input[Union['MountTargetKerberosArgs', 'MountTargetKerberosArgsDict']] kerberos: (Updatable) Kerberos details needed to create configuration. :param pulumi.Input[Union['MountTargetLdapIdmapArgs', 'MountTargetLdapIdmapArgsDict']] ldap_idmap: (Updatable) Mount target details about the LDAP ID mapping configuration. :param pulumi.Input[str] lifecycle_details: Additional information about the current 'lifecycleState'. :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). + :param pulumi.Input[str] observed_throughput: Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). :param pulumi.Input[Sequence[pulumi.Input[str]]] private_ip_ids: The OCIDs of the private IP addresses associated with this mount target. + :param pulumi.Input[str] requested_throughput: (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + :param pulumi.Input[str] reserved_storage_capacity: * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). :param pulumi.Input[str] state: The current state of the mount target. :param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet in which to create the mount target. ** IMPORTANT ** 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_billing_cycle_end: The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` :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` """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -909,9 +982,13 @@ def get(resource_name: str, __props__.__dict__["ldap_idmap"] = ldap_idmap __props__.__dict__["lifecycle_details"] = lifecycle_details __props__.__dict__["nsg_ids"] = nsg_ids + __props__.__dict__["observed_throughput"] = observed_throughput __props__.__dict__["private_ip_ids"] = private_ip_ids + __props__.__dict__["requested_throughput"] = requested_throughput + __props__.__dict__["reserved_storage_capacity"] = reserved_storage_capacity __props__.__dict__["state"] = state __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["time_billing_cycle_end"] = time_billing_cycle_end __props__.__dict__["time_created"] = time_created return MountTarget(resource_name, opts=opts, __props__=__props__) @@ -989,11 +1066,7 @@ def idmap_type(self) -> pulumi.Output[str]: @pulumi.getter(name="ipAddress") def ip_address(self) -> pulumi.Output[str]: """ - A private IP 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 a private IP address from the subnet. - - Note: This attribute value is stored in the [PrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/) resource, not in the `mountTarget` resource. To update the `ipAddress`, use `GetMountTarget` to obtain the [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the mount target's private IPs (`privateIpIds`). Then, you can use [UpdatePrivateIp](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/PrivateIp/UpdatePrivateIp) to update the `ipAddress` value. - - Example: `10.0.3.3` + A private IP 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 a private IP address from the subnet. Example: `10.0.3.3` """ return pulumi.get(self, "ip_address") @@ -1029,6 +1102,14 @@ def nsg_ids(self) -> pulumi.Output[Sequence[str]]: """ return pulumi.get(self, "nsg_ids") + @property + @pulumi.getter(name="observedThroughput") + def observed_throughput(self) -> pulumi.Output[str]: + """ + Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + """ + return pulumi.get(self, "observed_throughput") + @property @pulumi.getter(name="privateIpIds") def private_ip_ids(self) -> pulumi.Output[Sequence[str]]: @@ -1037,6 +1118,22 @@ def private_ip_ids(self) -> pulumi.Output[Sequence[str]]: """ return pulumi.get(self, "private_ip_ids") + @property + @pulumi.getter(name="requestedThroughput") + def requested_throughput(self) -> pulumi.Output[str]: + """ + (Updatable) Throughput for mount target in Gbps. Currently only 1 Gbps of requestedThroughput is supported during create MountTarget. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + """ + return pulumi.get(self, "requested_throughput") + + @property + @pulumi.getter(name="reservedStorageCapacity") + def reserved_storage_capacity(self) -> pulumi.Output[str]: + """ + * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + """ + return pulumi.get(self, "reserved_storage_capacity") + @property @pulumi.getter def state(self) -> pulumi.Output[str]: @@ -1057,6 +1154,14 @@ def subnet_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "subnet_id") + @property + @pulumi.getter(name="timeBillingCycleEnd") + def time_billing_cycle_end(self) -> pulumi.Output[str]: + """ + The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + """ + return pulumi.get(self, "time_billing_cycle_end") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/filestorage/outputs.py b/sdk/python/pulumi_oci/filestorage/outputs.py index b43ee86c95..e286cb13e9 100644 --- a/sdk/python/pulumi_oci/filestorage/outputs.py +++ b/sdk/python/pulumi_oci/filestorage/outputs.py @@ -1671,9 +1671,13 @@ def __init__(__self__, *, ldap_idmaps: Sequence['outputs.GetMountTargetsMountTargetLdapIdmapResult'], lifecycle_details: str, nsg_ids: Sequence[str], + observed_throughput: str, private_ip_ids: Sequence[str], + requested_throughput: str, + reserved_storage_capacity: str, state: str, subnet_id: str, + time_billing_cycle_end: str, time_created: str): """ :param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1` @@ -1688,9 +1692,13 @@ def __init__(__self__, *, :param Sequence['GetMountTargetsMountTargetLdapIdmapArgs'] ldap_idmaps: Mount target details about the LDAP ID mapping configuration. :param str lifecycle_details: Additional information about the current 'lifecycleState'. :param Sequence[str] nsg_ids: 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). + :param str observed_throughput: Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). :param Sequence[str] private_ip_ids: The OCIDs of the private IP addresses associated with this mount target. + :param str requested_throughput: * New throughput for mount target at the end of billing cycle in Gbps. + :param str reserved_storage_capacity: * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :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_billing_cycle_end: The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` :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) @@ -1707,9 +1715,13 @@ def __init__(__self__, *, pulumi.set(__self__, "ldap_idmaps", ldap_idmaps) pulumi.set(__self__, "lifecycle_details", lifecycle_details) pulumi.set(__self__, "nsg_ids", nsg_ids) + pulumi.set(__self__, "observed_throughput", observed_throughput) pulumi.set(__self__, "private_ip_ids", private_ip_ids) + pulumi.set(__self__, "requested_throughput", requested_throughput) + pulumi.set(__self__, "reserved_storage_capacity", reserved_storage_capacity) pulumi.set(__self__, "state", state) pulumi.set(__self__, "subnet_id", subnet_id) + pulumi.set(__self__, "time_billing_cycle_end", time_billing_cycle_end) pulumi.set(__self__, "time_created", time_created) @property @@ -1818,6 +1830,14 @@ def nsg_ids(self) -> Sequence[str]: """ return pulumi.get(self, "nsg_ids") + @property + @pulumi.getter(name="observedThroughput") + def observed_throughput(self) -> str: + """ + Current billed throughput for mount target in Gbps. This corresponds to shape of mount target. Available shapes and corresponding throughput are listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + """ + return pulumi.get(self, "observed_throughput") + @property @pulumi.getter(name="privateIpIds") def private_ip_ids(self) -> Sequence[str]: @@ -1826,6 +1846,22 @@ def private_ip_ids(self) -> Sequence[str]: """ return pulumi.get(self, "private_ip_ids") + @property + @pulumi.getter(name="requestedThroughput") + def requested_throughput(self) -> str: + """ + * New throughput for mount target at the end of billing cycle in Gbps. + """ + return pulumi.get(self, "requested_throughput") + + @property + @pulumi.getter(name="reservedStorageCapacity") + def reserved_storage_capacity(self) -> str: + """ + * Reserved capacity (GB) associated with this mount target. Reserved capacity depends on observedThroughput value of mount target. Value is listed at [Mount Target Performance](https://docs.oracle.com/iaas/Content/File/Tasks/managingmounttargets.htm#performance). + """ + return pulumi.get(self, "reserved_storage_capacity") + @property @pulumi.getter def state(self) -> str: @@ -1842,6 +1878,14 @@ def subnet_id(self) -> str: """ return pulumi.get(self, "subnet_id") + @property + @pulumi.getter(name="timeBillingCycleEnd") + def time_billing_cycle_end(self) -> str: + """ + The date and time the mount target current billing cycle will end, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Once a cycle ends, it is updated automatically to next timestamp which is after 30 days. Example: `2016-08-25T21:10:29.600Z` + """ + return pulumi.get(self, "time_billing_cycle_end") + @property @pulumi.getter(name="timeCreated") def time_created(self) -> str: diff --git a/sdk/python/pulumi_oci/fleetsoftwareupdate/_inputs.py b/sdk/python/pulumi_oci/fleetsoftwareupdate/_inputs.py deleted file mode 100644 index a363a73015..0000000000 --- a/sdk/python/pulumi_oci/fleetsoftwareupdate/_inputs.py +++ /dev/null @@ -1,553 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities - -__all__ = [ - 'FsuCollectionActiveFsuCycleArgs', - 'FsuCollectionFleetDiscoveryArgs', - 'FsuCollectionFleetDiscoveryFilterArgs', - 'FsuCollectionFleetDiscoveryFilterTagArgs', - 'FsuCycleApplyActionScheduleArgs', - 'FsuCycleBatchingStrategyArgs', - 'FsuCycleDiagnosticsCollectionArgs', - 'FsuCycleGoalVersionDetailsArgs', - 'FsuCycleNextActionToExecuteArgs', - 'FsuCycleStageActionScheduleArgs', - 'GetFsuCollectionsFilterArgs', - 'GetFsuCyclesFilterArgs', -] - -@pulumi.input_type -class FsuCollectionActiveFsuCycleArgs: - def __init__(__self__, *, - display_name: Optional[pulumi.Input[str]] = None, - id: Optional[pulumi.Input[str]] = None): - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if id is not None: - pulumi.set(__self__, "id", id) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[pulumi.Input[str]]: - 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 id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "id") - - @id.setter - def id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "id", value) - - -@pulumi.input_type -class FsuCollectionFleetDiscoveryArgs: - def __init__(__self__, *, - strategy: pulumi.Input[str], - filters: Optional[pulumi.Input[Sequence[pulumi.Input['FsuCollectionFleetDiscoveryFilterArgs']]]] = None, - fsu_discovery_id: Optional[pulumi.Input[str]] = None, - query: Optional[pulumi.Input[str]] = None, - targets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - pulumi.set(__self__, "strategy", strategy) - if filters is not None: - pulumi.set(__self__, "filters", filters) - if fsu_discovery_id is not None: - pulumi.set(__self__, "fsu_discovery_id", fsu_discovery_id) - if query is not None: - pulumi.set(__self__, "query", query) - if targets is not None: - pulumi.set(__self__, "targets", targets) - - @property - @pulumi.getter - def strategy(self) -> pulumi.Input[str]: - return pulumi.get(self, "strategy") - - @strategy.setter - def strategy(self, value: pulumi.Input[str]): - pulumi.set(self, "strategy", value) - - @property - @pulumi.getter - def filters(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FsuCollectionFleetDiscoveryFilterArgs']]]]: - return pulumi.get(self, "filters") - - @filters.setter - def filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FsuCollectionFleetDiscoveryFilterArgs']]]]): - pulumi.set(self, "filters", value) - - @property - @pulumi.getter(name="fsuDiscoveryId") - def fsu_discovery_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "fsu_discovery_id") - - @fsu_discovery_id.setter - def fsu_discovery_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "fsu_discovery_id", value) - - @property - @pulumi.getter - def query(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "query") - - @query.setter - def query(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "query", value) - - @property - @pulumi.getter - def targets(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "targets") - - @targets.setter - def targets(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "targets", value) - - -@pulumi.input_type -class FsuCollectionFleetDiscoveryFilterArgs: - def __init__(__self__, *, - type: pulumi.Input[str], - entity_type: Optional[pulumi.Input[str]] = None, - identifiers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - mode: Optional[pulumi.Input[str]] = None, - names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - operator: Optional[pulumi.Input[str]] = None, - tags: Optional[pulumi.Input[Sequence[pulumi.Input['FsuCollectionFleetDiscoveryFilterTagArgs']]]] = None, - versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): - pulumi.set(__self__, "type", type) - if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) - if identifiers is not None: - pulumi.set(__self__, "identifiers", identifiers) - if mode is not None: - pulumi.set(__self__, "mode", mode) - if names is not None: - pulumi.set(__self__, "names", names) - if operator is not None: - pulumi.set(__self__, "operator", operator) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if versions is not None: - pulumi.set(__self__, "versions", versions) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="entityType") - def entity_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "entity_type") - - @entity_type.setter - def entity_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "entity_type", value) - - @property - @pulumi.getter - def identifiers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "identifiers") - - @identifiers.setter - def identifiers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "identifiers", value) - - @property - @pulumi.getter - def mode(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "mode") - - @mode.setter - def mode(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "mode", value) - - @property - @pulumi.getter - def names(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "names") - - @names.setter - def names(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "names", value) - - @property - @pulumi.getter - def operator(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "operator") - - @operator.setter - def operator(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "operator", value) - - @property - @pulumi.getter - def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FsuCollectionFleetDiscoveryFilterTagArgs']]]]: - return pulumi.get(self, "tags") - - @tags.setter - def tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FsuCollectionFleetDiscoveryFilterTagArgs']]]]): - pulumi.set(self, "tags", value) - - @property - @pulumi.getter - def versions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "versions") - - @versions.setter - def versions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "versions", value) - - -@pulumi.input_type -class FsuCollectionFleetDiscoveryFilterTagArgs: - def __init__(__self__, *, - key: pulumi.Input[str], - value: pulumi.Input[str], - namespace: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - if namespace is not None: - pulumi.set(__self__, "namespace", namespace) - - @property - @pulumi.getter - def key(self) -> pulumi.Input[str]: - return pulumi.get(self, "key") - - @key.setter - def key(self, value: pulumi.Input[str]): - pulumi.set(self, "key", value) - - @property - @pulumi.getter - def value(self) -> pulumi.Input[str]: - return pulumi.get(self, "value") - - @value.setter - def value(self, value: pulumi.Input[str]): - pulumi.set(self, "value", value) - - @property - @pulumi.getter - def namespace(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "namespace") - - @namespace.setter - def namespace(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "namespace", value) - - -@pulumi.input_type -class FsuCycleApplyActionScheduleArgs: - def __init__(__self__, *, - time_to_start: pulumi.Input[str], - type: pulumi.Input[str]): - pulumi.set(__self__, "time_to_start", time_to_start) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> pulumi.Input[str]: - return pulumi.get(self, "time_to_start") - - @time_to_start.setter - def time_to_start(self, value: pulumi.Input[str]): - pulumi.set(self, "time_to_start", value) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) - - -@pulumi.input_type -class FsuCycleBatchingStrategyArgs: - def __init__(__self__, *, - is_force_rolling: Optional[pulumi.Input[bool]] = None, - is_wait_for_batch_resume: Optional[pulumi.Input[bool]] = None, - percentage: Optional[pulumi.Input[int]] = None, - type: Optional[pulumi.Input[str]] = None): - if is_force_rolling is not None: - pulumi.set(__self__, "is_force_rolling", is_force_rolling) - if is_wait_for_batch_resume is not None: - pulumi.set(__self__, "is_wait_for_batch_resume", is_wait_for_batch_resume) - if percentage is not None: - pulumi.set(__self__, "percentage", percentage) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="isForceRolling") - def is_force_rolling(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "is_force_rolling") - - @is_force_rolling.setter - def is_force_rolling(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_force_rolling", value) - - @property - @pulumi.getter(name="isWaitForBatchResume") - def is_wait_for_batch_resume(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "is_wait_for_batch_resume") - - @is_wait_for_batch_resume.setter - def is_wait_for_batch_resume(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_wait_for_batch_resume", value) - - @property - @pulumi.getter - def percentage(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "percentage") - - @percentage.setter - def percentage(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "percentage", value) - - @property - @pulumi.getter - def type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) - - -@pulumi.input_type -class FsuCycleDiagnosticsCollectionArgs: - def __init__(__self__, *, - log_collection_mode: Optional[pulumi.Input[str]] = None): - if log_collection_mode is not None: - pulumi.set(__self__, "log_collection_mode", log_collection_mode) - - @property - @pulumi.getter(name="logCollectionMode") - def log_collection_mode(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "log_collection_mode") - - @log_collection_mode.setter - def log_collection_mode(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "log_collection_mode", value) - - -@pulumi.input_type -class FsuCycleGoalVersionDetailsArgs: - def __init__(__self__, *, - type: pulumi.Input[str], - home_policy: Optional[pulumi.Input[str]] = None, - new_home_prefix: Optional[pulumi.Input[str]] = None, - software_image_id: Optional[pulumi.Input[str]] = None, - version: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "type", type) - if home_policy is not None: - pulumi.set(__self__, "home_policy", home_policy) - if new_home_prefix is not None: - pulumi.set(__self__, "new_home_prefix", new_home_prefix) - if software_image_id is not None: - pulumi.set(__self__, "software_image_id", software_image_id) - if version is not None: - pulumi.set(__self__, "version", version) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="homePolicy") - def home_policy(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "home_policy") - - @home_policy.setter - def home_policy(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "home_policy", value) - - @property - @pulumi.getter(name="newHomePrefix") - def new_home_prefix(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "new_home_prefix") - - @new_home_prefix.setter - def new_home_prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "new_home_prefix", value) - - @property - @pulumi.getter(name="softwareImageId") - def software_image_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "software_image_id") - - @software_image_id.setter - def software_image_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "software_image_id", value) - - @property - @pulumi.getter - def version(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "version") - - @version.setter - def version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "version", value) - - -@pulumi.input_type -class FsuCycleNextActionToExecuteArgs: - def __init__(__self__, *, - time_to_start: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None): - if time_to_start is not None: - pulumi.set(__self__, "time_to_start", time_to_start) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "time_to_start") - - @time_to_start.setter - def time_to_start(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "time_to_start", value) - - @property - @pulumi.getter - def type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) - - -@pulumi.input_type -class FsuCycleStageActionScheduleArgs: - def __init__(__self__, *, - time_to_start: pulumi.Input[str], - type: pulumi.Input[str]): - pulumi.set(__self__, "time_to_start", time_to_start) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> pulumi.Input[str]: - return pulumi.get(self, "time_to_start") - - @time_to_start.setter - def time_to_start(self, value: pulumi.Input[str]): - pulumi.set(self, "time_to_start", value) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) - - -@pulumi.input_type -class GetFsuCollectionsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "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 GetFsuCyclesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "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) - - diff --git a/sdk/python/pulumi_oci/fleetsoftwareupdate/fsu_collection.py b/sdk/python/pulumi_oci/fleetsoftwareupdate/fsu_collection.py deleted file mode 100644 index e7c5fbd40b..0000000000 --- a/sdk/python/pulumi_oci/fleetsoftwareupdate/fsu_collection.py +++ /dev/null @@ -1,514 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['FsuCollectionArgs', 'FsuCollection'] - -@pulumi.input_type -class FsuCollectionArgs: - def __init__(__self__, *, - compartment_id: pulumi.Input[str], - service_type: pulumi.Input[str], - source_major_version: pulumi.Input[str], - type: pulumi.Input[str], - defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - display_name: Optional[pulumi.Input[str]] = None, - fleet_discovery: Optional[pulumi.Input['FsuCollectionFleetDiscoveryArgs']] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): - """ - The set of arguments for constructing a FsuCollection resource. - """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "source_major_version", source_major_version) - pulumi.set(__self__, "type", type) - if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if fleet_discovery is not None: - pulumi.set(__self__, "fleet_discovery", fleet_discovery) - if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> pulumi.Input[str]: - 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="serviceType") - def service_type(self) -> pulumi.Input[str]: - return pulumi.get(self, "service_type") - - @service_type.setter - def service_type(self, value: pulumi.Input[str]): - pulumi.set(self, "service_type", value) - - @property - @pulumi.getter(name="sourceMajorVersion") - def source_major_version(self) -> pulumi.Input[str]: - return pulumi.get(self, "source_major_version") - - @source_major_version.setter - def source_major_version(self, value: pulumi.Input[str]): - pulumi.set(self, "source_major_version", value) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "defined_tags") - - @defined_tags.setter - def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "defined_tags", value) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[pulumi.Input[str]]: - 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="fleetDiscovery") - def fleet_discovery(self) -> Optional[pulumi.Input['FsuCollectionFleetDiscoveryArgs']]: - return pulumi.get(self, "fleet_discovery") - - @fleet_discovery.setter - def fleet_discovery(self, value: Optional[pulumi.Input['FsuCollectionFleetDiscoveryArgs']]): - pulumi.set(self, "fleet_discovery", value) - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "freeform_tags") - - @freeform_tags.setter - def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "freeform_tags", value) - - -@pulumi.input_type -class _FsuCollectionState: - def __init__(__self__, *, - active_fsu_cycles: Optional[pulumi.Input[Sequence[pulumi.Input['FsuCollectionActiveFsuCycleArgs']]]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - display_name: Optional[pulumi.Input[str]] = None, - fleet_discovery: Optional[pulumi.Input['FsuCollectionFleetDiscoveryArgs']] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - lifecycle_details: Optional[pulumi.Input[str]] = None, - service_type: Optional[pulumi.Input[str]] = None, - source_major_version: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - target_count: Optional[pulumi.Input[int]] = None, - time_created: Optional[pulumi.Input[str]] = None, - time_updated: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering FsuCollection resources. - """ - if active_fsu_cycles is not None: - pulumi.set(__self__, "active_fsu_cycles", active_fsu_cycles) - if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) - if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if fleet_discovery is not None: - pulumi.set(__self__, "fleet_discovery", fleet_discovery) - if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) - if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - if service_type is not None: - pulumi.set(__self__, "service_type", service_type) - if source_major_version is not None: - pulumi.set(__self__, "source_major_version", source_major_version) - if state is not None: - pulumi.set(__self__, "state", state) - if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) - if target_count is not None: - pulumi.set(__self__, "target_count", target_count) - if time_created is not None: - pulumi.set(__self__, "time_created", time_created) - if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="activeFsuCycles") - def active_fsu_cycles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FsuCollectionActiveFsuCycleArgs']]]]: - return pulumi.get(self, "active_fsu_cycles") - - @active_fsu_cycles.setter - def active_fsu_cycles(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FsuCollectionActiveFsuCycleArgs']]]]): - pulumi.set(self, "active_fsu_cycles", value) - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> Optional[pulumi.Input[str]]: - 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, pulumi.Input[str]]]]: - return pulumi.get(self, "defined_tags") - - @defined_tags.setter - def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "defined_tags", value) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[pulumi.Input[str]]: - 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="fleetDiscovery") - def fleet_discovery(self) -> Optional[pulumi.Input['FsuCollectionFleetDiscoveryArgs']]: - return pulumi.get(self, "fleet_discovery") - - @fleet_discovery.setter - def fleet_discovery(self, value: Optional[pulumi.Input['FsuCollectionFleetDiscoveryArgs']]): - pulumi.set(self, "fleet_discovery", value) - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "freeform_tags") - - @freeform_tags.setter - def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "freeform_tags", value) - - @property - @pulumi.getter(name="lifecycleDetails") - def lifecycle_details(self) -> Optional[pulumi.Input[str]]: - 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="serviceType") - def service_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "service_type") - - @service_type.setter - def service_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "service_type", value) - - @property - @pulumi.getter(name="sourceMajorVersion") - def source_major_version(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "source_major_version") - - @source_major_version.setter - def source_major_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "source_major_version", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - 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, pulumi.Input[str]]]]: - return pulumi.get(self, "system_tags") - - @system_tags.setter - def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "system_tags", value) - - @property - @pulumi.getter(name="targetCount") - def target_count(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "target_count") - - @target_count.setter - def target_count(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "target_count", value) - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> Optional[pulumi.Input[str]]: - 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]]: - 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 - def type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) - - -class FsuCollection(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, pulumi.Input[str]]]] = None, - display_name: Optional[pulumi.Input[str]] = None, - fleet_discovery: Optional[pulumi.Input[Union['FsuCollectionFleetDiscoveryArgs', 'FsuCollectionFleetDiscoveryArgsDict']]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - service_type: Optional[pulumi.Input[str]] = None, - source_major_version: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Create a FsuCollection resource with the given unique name, props, and options. - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: FsuCollectionArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Create a FsuCollection resource with the given unique name, props, and options. - :param str resource_name: The name of the resource. - :param FsuCollectionArgs 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(FsuCollectionArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __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, pulumi.Input[str]]]] = None, - display_name: Optional[pulumi.Input[str]] = None, - fleet_discovery: Optional[pulumi.Input[Union['FsuCollectionFleetDiscoveryArgs', 'FsuCollectionFleetDiscoveryArgsDict']]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - service_type: Optional[pulumi.Input[str]] = None, - source_major_version: Optional[pulumi.Input[str]] = None, - type: 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__ = FsuCollectionArgs.__new__(FsuCollectionArgs) - - 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__["display_name"] = display_name - __props__.__dict__["fleet_discovery"] = fleet_discovery - __props__.__dict__["freeform_tags"] = freeform_tags - if service_type is None and not opts.urn: - raise TypeError("Missing required property 'service_type'") - __props__.__dict__["service_type"] = service_type - if source_major_version is None and not opts.urn: - raise TypeError("Missing required property 'source_major_version'") - __props__.__dict__["source_major_version"] = source_major_version - if type is None and not opts.urn: - raise TypeError("Missing required property 'type'") - __props__.__dict__["type"] = type - __props__.__dict__["active_fsu_cycles"] = None - __props__.__dict__["lifecycle_details"] = None - __props__.__dict__["state"] = None - __props__.__dict__["system_tags"] = None - __props__.__dict__["target_count"] = None - __props__.__dict__["time_created"] = None - __props__.__dict__["time_updated"] = None - super(FsuCollection, __self__).__init__( - 'oci:FleetSoftwareUpdate/fsuCollection:FsuCollection', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - active_fsu_cycles: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FsuCollectionActiveFsuCycleArgs', 'FsuCollectionActiveFsuCycleArgsDict']]]]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - display_name: Optional[pulumi.Input[str]] = None, - fleet_discovery: Optional[pulumi.Input[Union['FsuCollectionFleetDiscoveryArgs', 'FsuCollectionFleetDiscoveryArgsDict']]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - lifecycle_details: Optional[pulumi.Input[str]] = None, - service_type: Optional[pulumi.Input[str]] = None, - source_major_version: Optional[pulumi.Input[str]] = None, - state: Optional[pulumi.Input[str]] = None, - system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - target_count: Optional[pulumi.Input[int]] = None, - time_created: Optional[pulumi.Input[str]] = None, - time_updated: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None) -> 'FsuCollection': - """ - Get an existing FsuCollection 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _FsuCollectionState.__new__(_FsuCollectionState) - - __props__.__dict__["active_fsu_cycles"] = active_fsu_cycles - __props__.__dict__["compartment_id"] = compartment_id - __props__.__dict__["defined_tags"] = defined_tags - __props__.__dict__["display_name"] = display_name - __props__.__dict__["fleet_discovery"] = fleet_discovery - __props__.__dict__["freeform_tags"] = freeform_tags - __props__.__dict__["lifecycle_details"] = lifecycle_details - __props__.__dict__["service_type"] = service_type - __props__.__dict__["source_major_version"] = source_major_version - __props__.__dict__["state"] = state - __props__.__dict__["system_tags"] = system_tags - __props__.__dict__["target_count"] = target_count - __props__.__dict__["time_created"] = time_created - __props__.__dict__["time_updated"] = time_updated - __props__.__dict__["type"] = type - return FsuCollection(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="activeFsuCycles") - def active_fsu_cycles(self) -> pulumi.Output[Sequence['outputs.FsuCollectionActiveFsuCycle']]: - return pulumi.get(self, "active_fsu_cycles") - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: - return pulumi.get(self, "defined_tags") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> pulumi.Output[str]: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter(name="fleetDiscovery") - def fleet_discovery(self) -> pulumi.Output['outputs.FsuCollectionFleetDiscovery']: - return pulumi.get(self, "fleet_discovery") - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: - return pulumi.get(self, "freeform_tags") - - @property - @pulumi.getter(name="lifecycleDetails") - def lifecycle_details(self) -> pulumi.Output[str]: - return pulumi.get(self, "lifecycle_details") - - @property - @pulumi.getter(name="serviceType") - def service_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "service_type") - - @property - @pulumi.getter(name="sourceMajorVersion") - def source_major_version(self) -> pulumi.Output[str]: - return pulumi.get(self, "source_major_version") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> pulumi.Output[Mapping[str, str]]: - return pulumi.get(self, "system_tags") - - @property - @pulumi.getter(name="targetCount") - def target_count(self) -> pulumi.Output[int]: - return pulumi.get(self, "target_count") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> pulumi.Output[str]: - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> pulumi.Output[str]: - return pulumi.get(self, "time_updated") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_oci/fleetsoftwareupdate/fsu_cycle.py b/sdk/python/pulumi_oci/fleetsoftwareupdate/fsu_cycle.py deleted file mode 100644 index a4a40ea28c..0000000000 --- a/sdk/python/pulumi_oci/fleetsoftwareupdate/fsu_cycle.py +++ /dev/null @@ -1,812 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['FsuCycleArgs', 'FsuCycle'] - -@pulumi.input_type -class FsuCycleArgs: - def __init__(__self__, *, - compartment_id: pulumi.Input[str], - fsu_collection_id: pulumi.Input[str], - goal_version_details: pulumi.Input['FsuCycleGoalVersionDetailsArgs'], - type: pulumi.Input[str], - apply_action_schedule: Optional[pulumi.Input['FsuCycleApplyActionScheduleArgs']] = None, - batching_strategy: Optional[pulumi.Input['FsuCycleBatchingStrategyArgs']] = None, - defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - diagnostics_collection: Optional[pulumi.Input['FsuCycleDiagnosticsCollectionArgs']] = None, - display_name: Optional[pulumi.Input[str]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - is_ignore_missing_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - is_ignore_patches: Optional[pulumi.Input[bool]] = None, - is_keep_placement: Optional[pulumi.Input[bool]] = None, - max_drain_timeout_in_seconds: Optional[pulumi.Input[int]] = None, - stage_action_schedule: Optional[pulumi.Input['FsuCycleStageActionScheduleArgs']] = None): - """ - The set of arguments for constructing a FsuCycle resource. - """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "fsu_collection_id", fsu_collection_id) - pulumi.set(__self__, "goal_version_details", goal_version_details) - pulumi.set(__self__, "type", type) - if apply_action_schedule is not None: - pulumi.set(__self__, "apply_action_schedule", apply_action_schedule) - if batching_strategy is not None: - pulumi.set(__self__, "batching_strategy", batching_strategy) - if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) - if diagnostics_collection is not None: - pulumi.set(__self__, "diagnostics_collection", diagnostics_collection) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) - if is_ignore_missing_patches is not None: - pulumi.set(__self__, "is_ignore_missing_patches", is_ignore_missing_patches) - if is_ignore_patches is not None: - pulumi.set(__self__, "is_ignore_patches", is_ignore_patches) - if is_keep_placement is not None: - pulumi.set(__self__, "is_keep_placement", is_keep_placement) - if max_drain_timeout_in_seconds is not None: - pulumi.set(__self__, "max_drain_timeout_in_seconds", max_drain_timeout_in_seconds) - if stage_action_schedule is not None: - pulumi.set(__self__, "stage_action_schedule", stage_action_schedule) - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> pulumi.Input[str]: - 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="fsuCollectionId") - def fsu_collection_id(self) -> pulumi.Input[str]: - return pulumi.get(self, "fsu_collection_id") - - @fsu_collection_id.setter - def fsu_collection_id(self, value: pulumi.Input[str]): - pulumi.set(self, "fsu_collection_id", value) - - @property - @pulumi.getter(name="goalVersionDetails") - def goal_version_details(self) -> pulumi.Input['FsuCycleGoalVersionDetailsArgs']: - return pulumi.get(self, "goal_version_details") - - @goal_version_details.setter - def goal_version_details(self, value: pulumi.Input['FsuCycleGoalVersionDetailsArgs']): - pulumi.set(self, "goal_version_details", value) - - @property - @pulumi.getter - def type(self) -> pulumi.Input[str]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: pulumi.Input[str]): - pulumi.set(self, "type", value) - - @property - @pulumi.getter(name="applyActionSchedule") - def apply_action_schedule(self) -> Optional[pulumi.Input['FsuCycleApplyActionScheduleArgs']]: - return pulumi.get(self, "apply_action_schedule") - - @apply_action_schedule.setter - def apply_action_schedule(self, value: Optional[pulumi.Input['FsuCycleApplyActionScheduleArgs']]): - pulumi.set(self, "apply_action_schedule", value) - - @property - @pulumi.getter(name="batchingStrategy") - def batching_strategy(self) -> Optional[pulumi.Input['FsuCycleBatchingStrategyArgs']]: - return pulumi.get(self, "batching_strategy") - - @batching_strategy.setter - def batching_strategy(self, value: Optional[pulumi.Input['FsuCycleBatchingStrategyArgs']]): - pulumi.set(self, "batching_strategy", value) - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "defined_tags") - - @defined_tags.setter - def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "defined_tags", value) - - @property - @pulumi.getter(name="diagnosticsCollection") - def diagnostics_collection(self) -> Optional[pulumi.Input['FsuCycleDiagnosticsCollectionArgs']]: - return pulumi.get(self, "diagnostics_collection") - - @diagnostics_collection.setter - def diagnostics_collection(self, value: Optional[pulumi.Input['FsuCycleDiagnosticsCollectionArgs']]): - pulumi.set(self, "diagnostics_collection", value) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[pulumi.Input[str]]: - 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, pulumi.Input[str]]]]: - return pulumi.get(self, "freeform_tags") - - @freeform_tags.setter - def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "freeform_tags", value) - - @property - @pulumi.getter(name="isIgnoreMissingPatches") - def is_ignore_missing_patches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "is_ignore_missing_patches") - - @is_ignore_missing_patches.setter - def is_ignore_missing_patches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "is_ignore_missing_patches", value) - - @property - @pulumi.getter(name="isIgnorePatches") - def is_ignore_patches(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "is_ignore_patches") - - @is_ignore_patches.setter - def is_ignore_patches(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_ignore_patches", value) - - @property - @pulumi.getter(name="isKeepPlacement") - def is_keep_placement(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "is_keep_placement") - - @is_keep_placement.setter - def is_keep_placement(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_keep_placement", value) - - @property - @pulumi.getter(name="maxDrainTimeoutInSeconds") - def max_drain_timeout_in_seconds(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "max_drain_timeout_in_seconds") - - @max_drain_timeout_in_seconds.setter - def max_drain_timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_drain_timeout_in_seconds", value) - - @property - @pulumi.getter(name="stageActionSchedule") - def stage_action_schedule(self) -> Optional[pulumi.Input['FsuCycleStageActionScheduleArgs']]: - return pulumi.get(self, "stage_action_schedule") - - @stage_action_schedule.setter - def stage_action_schedule(self, value: Optional[pulumi.Input['FsuCycleStageActionScheduleArgs']]): - pulumi.set(self, "stage_action_schedule", value) - - -@pulumi.input_type -class _FsuCycleState: - def __init__(__self__, *, - apply_action_schedule: Optional[pulumi.Input['FsuCycleApplyActionScheduleArgs']] = None, - batching_strategy: Optional[pulumi.Input['FsuCycleBatchingStrategyArgs']] = None, - collection_type: Optional[pulumi.Input[str]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - diagnostics_collection: Optional[pulumi.Input['FsuCycleDiagnosticsCollectionArgs']] = None, - display_name: Optional[pulumi.Input[str]] = None, - executing_fsu_action_id: Optional[pulumi.Input[str]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - fsu_collection_id: Optional[pulumi.Input[str]] = None, - goal_version_details: Optional[pulumi.Input['FsuCycleGoalVersionDetailsArgs']] = None, - is_ignore_missing_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - is_ignore_patches: Optional[pulumi.Input[bool]] = None, - is_keep_placement: Optional[pulumi.Input[bool]] = None, - last_completed_action: Optional[pulumi.Input[str]] = None, - lifecycle_details: Optional[pulumi.Input[str]] = None, - max_drain_timeout_in_seconds: Optional[pulumi.Input[int]] = None, - next_action_to_executes: Optional[pulumi.Input[Sequence[pulumi.Input['FsuCycleNextActionToExecuteArgs']]]] = None, - stage_action_schedule: Optional[pulumi.Input['FsuCycleStageActionScheduleArgs']] = None, - state: Optional[pulumi.Input[str]] = None, - system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - time_created: Optional[pulumi.Input[str]] = None, - time_finished: Optional[pulumi.Input[str]] = None, - time_updated: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None): - """ - Input properties used for looking up and filtering FsuCycle resources. - """ - if apply_action_schedule is not None: - pulumi.set(__self__, "apply_action_schedule", apply_action_schedule) - if batching_strategy is not None: - pulumi.set(__self__, "batching_strategy", batching_strategy) - if collection_type is not None: - pulumi.set(__self__, "collection_type", collection_type) - if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) - if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) - if diagnostics_collection is not None: - pulumi.set(__self__, "diagnostics_collection", diagnostics_collection) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if executing_fsu_action_id is not None: - pulumi.set(__self__, "executing_fsu_action_id", executing_fsu_action_id) - if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) - if fsu_collection_id is not None: - pulumi.set(__self__, "fsu_collection_id", fsu_collection_id) - if goal_version_details is not None: - pulumi.set(__self__, "goal_version_details", goal_version_details) - if is_ignore_missing_patches is not None: - pulumi.set(__self__, "is_ignore_missing_patches", is_ignore_missing_patches) - if is_ignore_patches is not None: - pulumi.set(__self__, "is_ignore_patches", is_ignore_patches) - if is_keep_placement is not None: - pulumi.set(__self__, "is_keep_placement", is_keep_placement) - if last_completed_action is not None: - pulumi.set(__self__, "last_completed_action", last_completed_action) - if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - if max_drain_timeout_in_seconds is not None: - pulumi.set(__self__, "max_drain_timeout_in_seconds", max_drain_timeout_in_seconds) - if next_action_to_executes is not None: - pulumi.set(__self__, "next_action_to_executes", next_action_to_executes) - if stage_action_schedule is not None: - pulumi.set(__self__, "stage_action_schedule", stage_action_schedule) - if state is not None: - pulumi.set(__self__, "state", state) - if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) - if time_created is not None: - pulumi.set(__self__, "time_created", time_created) - if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) - if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="applyActionSchedule") - def apply_action_schedule(self) -> Optional[pulumi.Input['FsuCycleApplyActionScheduleArgs']]: - return pulumi.get(self, "apply_action_schedule") - - @apply_action_schedule.setter - def apply_action_schedule(self, value: Optional[pulumi.Input['FsuCycleApplyActionScheduleArgs']]): - pulumi.set(self, "apply_action_schedule", value) - - @property - @pulumi.getter(name="batchingStrategy") - def batching_strategy(self) -> Optional[pulumi.Input['FsuCycleBatchingStrategyArgs']]: - return pulumi.get(self, "batching_strategy") - - @batching_strategy.setter - def batching_strategy(self, value: Optional[pulumi.Input['FsuCycleBatchingStrategyArgs']]): - pulumi.set(self, "batching_strategy", value) - - @property - @pulumi.getter(name="collectionType") - def collection_type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "collection_type") - - @collection_type.setter - def collection_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "collection_type", value) - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> Optional[pulumi.Input[str]]: - 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, pulumi.Input[str]]]]: - return pulumi.get(self, "defined_tags") - - @defined_tags.setter - def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "defined_tags", value) - - @property - @pulumi.getter(name="diagnosticsCollection") - def diagnostics_collection(self) -> Optional[pulumi.Input['FsuCycleDiagnosticsCollectionArgs']]: - return pulumi.get(self, "diagnostics_collection") - - @diagnostics_collection.setter - def diagnostics_collection(self, value: Optional[pulumi.Input['FsuCycleDiagnosticsCollectionArgs']]): - pulumi.set(self, "diagnostics_collection", value) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[pulumi.Input[str]]: - 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="executingFsuActionId") - def executing_fsu_action_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "executing_fsu_action_id") - - @executing_fsu_action_id.setter - def executing_fsu_action_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "executing_fsu_action_id", value) - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - return pulumi.get(self, "freeform_tags") - - @freeform_tags.setter - def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "freeform_tags", value) - - @property - @pulumi.getter(name="fsuCollectionId") - def fsu_collection_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "fsu_collection_id") - - @fsu_collection_id.setter - def fsu_collection_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "fsu_collection_id", value) - - @property - @pulumi.getter(name="goalVersionDetails") - def goal_version_details(self) -> Optional[pulumi.Input['FsuCycleGoalVersionDetailsArgs']]: - return pulumi.get(self, "goal_version_details") - - @goal_version_details.setter - def goal_version_details(self, value: Optional[pulumi.Input['FsuCycleGoalVersionDetailsArgs']]): - pulumi.set(self, "goal_version_details", value) - - @property - @pulumi.getter(name="isIgnoreMissingPatches") - def is_ignore_missing_patches(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - return pulumi.get(self, "is_ignore_missing_patches") - - @is_ignore_missing_patches.setter - def is_ignore_missing_patches(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): - pulumi.set(self, "is_ignore_missing_patches", value) - - @property - @pulumi.getter(name="isIgnorePatches") - def is_ignore_patches(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "is_ignore_patches") - - @is_ignore_patches.setter - def is_ignore_patches(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_ignore_patches", value) - - @property - @pulumi.getter(name="isKeepPlacement") - def is_keep_placement(self) -> Optional[pulumi.Input[bool]]: - return pulumi.get(self, "is_keep_placement") - - @is_keep_placement.setter - def is_keep_placement(self, value: Optional[pulumi.Input[bool]]): - pulumi.set(self, "is_keep_placement", value) - - @property - @pulumi.getter(name="lastCompletedAction") - def last_completed_action(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "last_completed_action") - - @last_completed_action.setter - def last_completed_action(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "last_completed_action", value) - - @property - @pulumi.getter(name="lifecycleDetails") - def lifecycle_details(self) -> Optional[pulumi.Input[str]]: - 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="maxDrainTimeoutInSeconds") - def max_drain_timeout_in_seconds(self) -> Optional[pulumi.Input[int]]: - return pulumi.get(self, "max_drain_timeout_in_seconds") - - @max_drain_timeout_in_seconds.setter - def max_drain_timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "max_drain_timeout_in_seconds", value) - - @property - @pulumi.getter(name="nextActionToExecutes") - def next_action_to_executes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['FsuCycleNextActionToExecuteArgs']]]]: - return pulumi.get(self, "next_action_to_executes") - - @next_action_to_executes.setter - def next_action_to_executes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['FsuCycleNextActionToExecuteArgs']]]]): - pulumi.set(self, "next_action_to_executes", value) - - @property - @pulumi.getter(name="stageActionSchedule") - def stage_action_schedule(self) -> Optional[pulumi.Input['FsuCycleStageActionScheduleArgs']]: - return pulumi.get(self, "stage_action_schedule") - - @stage_action_schedule.setter - def stage_action_schedule(self, value: Optional[pulumi.Input['FsuCycleStageActionScheduleArgs']]): - pulumi.set(self, "stage_action_schedule", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - 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, pulumi.Input[str]]]]: - return pulumi.get(self, "system_tags") - - @system_tags.setter - def system_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "system_tags", value) - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> Optional[pulumi.Input[str]]: - 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="timeFinished") - def time_finished(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "time_finished") - - @time_finished.setter - def time_finished(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "time_finished", value) - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> Optional[pulumi.Input[str]]: - 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 - def type(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "type") - - @type.setter - def type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "type", value) - - -class FsuCycle(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - apply_action_schedule: Optional[pulumi.Input[Union['FsuCycleApplyActionScheduleArgs', 'FsuCycleApplyActionScheduleArgsDict']]] = None, - batching_strategy: Optional[pulumi.Input[Union['FsuCycleBatchingStrategyArgs', 'FsuCycleBatchingStrategyArgsDict']]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - diagnostics_collection: Optional[pulumi.Input[Union['FsuCycleDiagnosticsCollectionArgs', 'FsuCycleDiagnosticsCollectionArgsDict']]] = None, - display_name: Optional[pulumi.Input[str]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - fsu_collection_id: Optional[pulumi.Input[str]] = None, - goal_version_details: Optional[pulumi.Input[Union['FsuCycleGoalVersionDetailsArgs', 'FsuCycleGoalVersionDetailsArgsDict']]] = None, - is_ignore_missing_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - is_ignore_patches: Optional[pulumi.Input[bool]] = None, - is_keep_placement: Optional[pulumi.Input[bool]] = None, - max_drain_timeout_in_seconds: Optional[pulumi.Input[int]] = None, - stage_action_schedule: Optional[pulumi.Input[Union['FsuCycleStageActionScheduleArgs', 'FsuCycleStageActionScheduleArgsDict']]] = None, - type: Optional[pulumi.Input[str]] = None, - __props__=None): - """ - Create a FsuCycle resource with the given unique name, props, and options. - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - """ - ... - @overload - def __init__(__self__, - resource_name: str, - args: FsuCycleArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - Create a FsuCycle resource with the given unique name, props, and options. - :param str resource_name: The name of the resource. - :param FsuCycleArgs 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(FsuCycleArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - apply_action_schedule: Optional[pulumi.Input[Union['FsuCycleApplyActionScheduleArgs', 'FsuCycleApplyActionScheduleArgsDict']]] = None, - batching_strategy: Optional[pulumi.Input[Union['FsuCycleBatchingStrategyArgs', 'FsuCycleBatchingStrategyArgsDict']]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - diagnostics_collection: Optional[pulumi.Input[Union['FsuCycleDiagnosticsCollectionArgs', 'FsuCycleDiagnosticsCollectionArgsDict']]] = None, - display_name: Optional[pulumi.Input[str]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - fsu_collection_id: Optional[pulumi.Input[str]] = None, - goal_version_details: Optional[pulumi.Input[Union['FsuCycleGoalVersionDetailsArgs', 'FsuCycleGoalVersionDetailsArgsDict']]] = None, - is_ignore_missing_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - is_ignore_patches: Optional[pulumi.Input[bool]] = None, - is_keep_placement: Optional[pulumi.Input[bool]] = None, - max_drain_timeout_in_seconds: Optional[pulumi.Input[int]] = None, - stage_action_schedule: Optional[pulumi.Input[Union['FsuCycleStageActionScheduleArgs', 'FsuCycleStageActionScheduleArgsDict']]] = None, - type: 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__ = FsuCycleArgs.__new__(FsuCycleArgs) - - __props__.__dict__["apply_action_schedule"] = apply_action_schedule - __props__.__dict__["batching_strategy"] = batching_strategy - 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__["diagnostics_collection"] = diagnostics_collection - __props__.__dict__["display_name"] = display_name - __props__.__dict__["freeform_tags"] = freeform_tags - if fsu_collection_id is None and not opts.urn: - raise TypeError("Missing required property 'fsu_collection_id'") - __props__.__dict__["fsu_collection_id"] = fsu_collection_id - if goal_version_details is None and not opts.urn: - raise TypeError("Missing required property 'goal_version_details'") - __props__.__dict__["goal_version_details"] = goal_version_details - __props__.__dict__["is_ignore_missing_patches"] = is_ignore_missing_patches - __props__.__dict__["is_ignore_patches"] = is_ignore_patches - __props__.__dict__["is_keep_placement"] = is_keep_placement - __props__.__dict__["max_drain_timeout_in_seconds"] = max_drain_timeout_in_seconds - __props__.__dict__["stage_action_schedule"] = stage_action_schedule - if type is None and not opts.urn: - raise TypeError("Missing required property 'type'") - __props__.__dict__["type"] = type - __props__.__dict__["collection_type"] = None - __props__.__dict__["executing_fsu_action_id"] = None - __props__.__dict__["last_completed_action"] = None - __props__.__dict__["lifecycle_details"] = None - __props__.__dict__["next_action_to_executes"] = None - __props__.__dict__["state"] = None - __props__.__dict__["system_tags"] = None - __props__.__dict__["time_created"] = None - __props__.__dict__["time_finished"] = None - __props__.__dict__["time_updated"] = None - super(FsuCycle, __self__).__init__( - 'oci:FleetSoftwareUpdate/fsuCycle:FsuCycle', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - apply_action_schedule: Optional[pulumi.Input[Union['FsuCycleApplyActionScheduleArgs', 'FsuCycleApplyActionScheduleArgsDict']]] = None, - batching_strategy: Optional[pulumi.Input[Union['FsuCycleBatchingStrategyArgs', 'FsuCycleBatchingStrategyArgsDict']]] = None, - collection_type: Optional[pulumi.Input[str]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - diagnostics_collection: Optional[pulumi.Input[Union['FsuCycleDiagnosticsCollectionArgs', 'FsuCycleDiagnosticsCollectionArgsDict']]] = None, - display_name: Optional[pulumi.Input[str]] = None, - executing_fsu_action_id: Optional[pulumi.Input[str]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - fsu_collection_id: Optional[pulumi.Input[str]] = None, - goal_version_details: Optional[pulumi.Input[Union['FsuCycleGoalVersionDetailsArgs', 'FsuCycleGoalVersionDetailsArgsDict']]] = None, - is_ignore_missing_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, - is_ignore_patches: Optional[pulumi.Input[bool]] = None, - is_keep_placement: Optional[pulumi.Input[bool]] = None, - last_completed_action: Optional[pulumi.Input[str]] = None, - lifecycle_details: Optional[pulumi.Input[str]] = None, - max_drain_timeout_in_seconds: Optional[pulumi.Input[int]] = None, - next_action_to_executes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['FsuCycleNextActionToExecuteArgs', 'FsuCycleNextActionToExecuteArgsDict']]]]] = None, - stage_action_schedule: Optional[pulumi.Input[Union['FsuCycleStageActionScheduleArgs', 'FsuCycleStageActionScheduleArgsDict']]] = None, - state: Optional[pulumi.Input[str]] = None, - system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - time_created: Optional[pulumi.Input[str]] = None, - time_finished: Optional[pulumi.Input[str]] = None, - time_updated: Optional[pulumi.Input[str]] = None, - type: Optional[pulumi.Input[str]] = None) -> 'FsuCycle': - """ - Get an existing FsuCycle 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. - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _FsuCycleState.__new__(_FsuCycleState) - - __props__.__dict__["apply_action_schedule"] = apply_action_schedule - __props__.__dict__["batching_strategy"] = batching_strategy - __props__.__dict__["collection_type"] = collection_type - __props__.__dict__["compartment_id"] = compartment_id - __props__.__dict__["defined_tags"] = defined_tags - __props__.__dict__["diagnostics_collection"] = diagnostics_collection - __props__.__dict__["display_name"] = display_name - __props__.__dict__["executing_fsu_action_id"] = executing_fsu_action_id - __props__.__dict__["freeform_tags"] = freeform_tags - __props__.__dict__["fsu_collection_id"] = fsu_collection_id - __props__.__dict__["goal_version_details"] = goal_version_details - __props__.__dict__["is_ignore_missing_patches"] = is_ignore_missing_patches - __props__.__dict__["is_ignore_patches"] = is_ignore_patches - __props__.__dict__["is_keep_placement"] = is_keep_placement - __props__.__dict__["last_completed_action"] = last_completed_action - __props__.__dict__["lifecycle_details"] = lifecycle_details - __props__.__dict__["max_drain_timeout_in_seconds"] = max_drain_timeout_in_seconds - __props__.__dict__["next_action_to_executes"] = next_action_to_executes - __props__.__dict__["stage_action_schedule"] = stage_action_schedule - __props__.__dict__["state"] = state - __props__.__dict__["system_tags"] = system_tags - __props__.__dict__["time_created"] = time_created - __props__.__dict__["time_finished"] = time_finished - __props__.__dict__["time_updated"] = time_updated - __props__.__dict__["type"] = type - return FsuCycle(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="applyActionSchedule") - def apply_action_schedule(self) -> pulumi.Output['outputs.FsuCycleApplyActionSchedule']: - return pulumi.get(self, "apply_action_schedule") - - @property - @pulumi.getter(name="batchingStrategy") - def batching_strategy(self) -> pulumi.Output['outputs.FsuCycleBatchingStrategy']: - return pulumi.get(self, "batching_strategy") - - @property - @pulumi.getter(name="collectionType") - def collection_type(self) -> pulumi.Output[str]: - return pulumi.get(self, "collection_type") - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: - return pulumi.get(self, "defined_tags") - - @property - @pulumi.getter(name="diagnosticsCollection") - def diagnostics_collection(self) -> pulumi.Output['outputs.FsuCycleDiagnosticsCollection']: - return pulumi.get(self, "diagnostics_collection") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> pulumi.Output[str]: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter(name="executingFsuActionId") - def executing_fsu_action_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "executing_fsu_action_id") - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: - return pulumi.get(self, "freeform_tags") - - @property - @pulumi.getter(name="fsuCollectionId") - def fsu_collection_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "fsu_collection_id") - - @property - @pulumi.getter(name="goalVersionDetails") - def goal_version_details(self) -> pulumi.Output['outputs.FsuCycleGoalVersionDetails']: - return pulumi.get(self, "goal_version_details") - - @property - @pulumi.getter(name="isIgnoreMissingPatches") - def is_ignore_missing_patches(self) -> pulumi.Output[Sequence[str]]: - return pulumi.get(self, "is_ignore_missing_patches") - - @property - @pulumi.getter(name="isIgnorePatches") - def is_ignore_patches(self) -> pulumi.Output[bool]: - return pulumi.get(self, "is_ignore_patches") - - @property - @pulumi.getter(name="isKeepPlacement") - def is_keep_placement(self) -> pulumi.Output[bool]: - return pulumi.get(self, "is_keep_placement") - - @property - @pulumi.getter(name="lastCompletedAction") - def last_completed_action(self) -> pulumi.Output[str]: - return pulumi.get(self, "last_completed_action") - - @property - @pulumi.getter(name="lifecycleDetails") - def lifecycle_details(self) -> pulumi.Output[str]: - return pulumi.get(self, "lifecycle_details") - - @property - @pulumi.getter(name="maxDrainTimeoutInSeconds") - def max_drain_timeout_in_seconds(self) -> pulumi.Output[int]: - return pulumi.get(self, "max_drain_timeout_in_seconds") - - @property - @pulumi.getter(name="nextActionToExecutes") - def next_action_to_executes(self) -> pulumi.Output[Sequence['outputs.FsuCycleNextActionToExecute']]: - return pulumi.get(self, "next_action_to_executes") - - @property - @pulumi.getter(name="stageActionSchedule") - def stage_action_schedule(self) -> pulumi.Output['outputs.FsuCycleStageActionSchedule']: - return pulumi.get(self, "stage_action_schedule") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> pulumi.Output[Mapping[str, str]]: - return pulumi.get(self, "system_tags") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> pulumi.Output[str]: - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeFinished") - def time_finished(self) -> pulumi.Output[str]: - return pulumi.get(self, "time_finished") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> pulumi.Output[str]: - return pulumi.get(self, "time_updated") - - @property - @pulumi.getter - def type(self) -> pulumi.Output[str]: - return pulumi.get(self, "type") - diff --git a/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py b/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py deleted file mode 100644 index e04a5b7ffd..0000000000 --- a/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_collection.py +++ /dev/null @@ -1,225 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'GetFsuCollectionResult', - 'AwaitableGetFsuCollectionResult', - 'get_fsu_collection', - 'get_fsu_collection_output', -] - -@pulumi.output_type -class GetFsuCollectionResult: - """ - A collection of values returned by getFsuCollection. - """ - def __init__(__self__, active_fsu_cycles=None, compartment_id=None, defined_tags=None, display_name=None, fleet_discoveries=None, freeform_tags=None, fsu_collection_id=None, id=None, lifecycle_details=None, service_type=None, source_major_version=None, state=None, system_tags=None, target_count=None, time_created=None, time_updated=None, type=None): - if active_fsu_cycles and not isinstance(active_fsu_cycles, list): - raise TypeError("Expected argument 'active_fsu_cycles' to be a list") - pulumi.set(__self__, "active_fsu_cycles", active_fsu_cycles) - 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 fleet_discoveries and not isinstance(fleet_discoveries, list): - raise TypeError("Expected argument 'fleet_discoveries' to be a list") - pulumi.set(__self__, "fleet_discoveries", fleet_discoveries) - 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 fsu_collection_id and not isinstance(fsu_collection_id, str): - raise TypeError("Expected argument 'fsu_collection_id' to be a str") - pulumi.set(__self__, "fsu_collection_id", fsu_collection_id) - 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 service_type and not isinstance(service_type, str): - raise TypeError("Expected argument 'service_type' to be a str") - pulumi.set(__self__, "service_type", service_type) - if source_major_version and not isinstance(source_major_version, str): - raise TypeError("Expected argument 'source_major_version' to be a str") - pulumi.set(__self__, "source_major_version", source_major_version) - 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 target_count and not isinstance(target_count, int): - raise TypeError("Expected argument 'target_count' to be a int") - pulumi.set(__self__, "target_count", target_count) - 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 type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="activeFsuCycles") - def active_fsu_cycles(self) -> Sequence['outputs.GetFsuCollectionActiveFsuCycleResult']: - return pulumi.get(self, "active_fsu_cycles") - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "defined_tags") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter(name="fleetDiscoveries") - def fleet_discoveries(self) -> Sequence['outputs.GetFsuCollectionFleetDiscoveryResult']: - return pulumi.get(self, "fleet_discoveries") - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "freeform_tags") - - @property - @pulumi.getter(name="fsuCollectionId") - def fsu_collection_id(self) -> str: - return pulumi.get(self, "fsu_collection_id") - - @property - @pulumi.getter - def id(self) -> str: - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="lifecycleDetails") - def lifecycle_details(self) -> str: - return pulumi.get(self, "lifecycle_details") - - @property - @pulumi.getter(name="serviceType") - def service_type(self) -> str: - return pulumi.get(self, "service_type") - - @property - @pulumi.getter(name="sourceMajorVersion") - def source_major_version(self) -> str: - return pulumi.get(self, "source_major_version") - - @property - @pulumi.getter - def state(self) -> str: - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "system_tags") - - @property - @pulumi.getter(name="targetCount") - def target_count(self) -> int: - return pulumi.get(self, "target_count") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> str: - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: - return pulumi.get(self, "time_updated") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -class AwaitableGetFsuCollectionResult(GetFsuCollectionResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetFsuCollectionResult( - active_fsu_cycles=self.active_fsu_cycles, - compartment_id=self.compartment_id, - defined_tags=self.defined_tags, - display_name=self.display_name, - fleet_discoveries=self.fleet_discoveries, - freeform_tags=self.freeform_tags, - fsu_collection_id=self.fsu_collection_id, - id=self.id, - lifecycle_details=self.lifecycle_details, - service_type=self.service_type, - source_major_version=self.source_major_version, - state=self.state, - system_tags=self.system_tags, - target_count=self.target_count, - time_created=self.time_created, - time_updated=self.time_updated, - type=self.type) - - -def get_fsu_collection(fsu_collection_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFsuCollectionResult: - """ - Use this data source to access information about an existing resource. - """ - __args__ = dict() - __args__['fsuCollectionId'] = fsu_collection_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('oci:FleetSoftwareUpdate/getFsuCollection:getFsuCollection', __args__, opts=opts, typ=GetFsuCollectionResult).value - - return AwaitableGetFsuCollectionResult( - active_fsu_cycles=pulumi.get(__ret__, 'active_fsu_cycles'), - compartment_id=pulumi.get(__ret__, 'compartment_id'), - defined_tags=pulumi.get(__ret__, 'defined_tags'), - display_name=pulumi.get(__ret__, 'display_name'), - fleet_discoveries=pulumi.get(__ret__, 'fleet_discoveries'), - freeform_tags=pulumi.get(__ret__, 'freeform_tags'), - fsu_collection_id=pulumi.get(__ret__, 'fsu_collection_id'), - id=pulumi.get(__ret__, 'id'), - lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'), - service_type=pulumi.get(__ret__, 'service_type'), - source_major_version=pulumi.get(__ret__, 'source_major_version'), - state=pulumi.get(__ret__, 'state'), - system_tags=pulumi.get(__ret__, 'system_tags'), - target_count=pulumi.get(__ret__, 'target_count'), - time_created=pulumi.get(__ret__, 'time_created'), - time_updated=pulumi.get(__ret__, 'time_updated'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_fsu_collection) -def get_fsu_collection_output(fsu_collection_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFsuCollectionResult]: - """ - Use this data source to access information about an existing resource. - """ - ... diff --git a/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py b/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py deleted file mode 100644 index 65cadac60b..0000000000 --- a/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_collections.py +++ /dev/null @@ -1,141 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetFsuCollectionsResult', - 'AwaitableGetFsuCollectionsResult', - 'get_fsu_collections', - 'get_fsu_collections_output', -] - -@pulumi.output_type -class GetFsuCollectionsResult: - """ - A collection of values returned by getFsuCollections. - """ - def __init__(__self__, compartment_id=None, display_name=None, filters=None, fsu_collection_summary_collections=None, id=None, state=None, 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) - 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 fsu_collection_summary_collections and not isinstance(fsu_collection_summary_collections, list): - raise TypeError("Expected argument 'fsu_collection_summary_collections' to be a list") - pulumi.set(__self__, "fsu_collection_summary_collections", fsu_collection_summary_collections) - 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) - if type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetFsuCollectionsFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter(name="fsuCollectionSummaryCollections") - def fsu_collection_summary_collections(self) -> Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionResult']: - return pulumi.get(self, "fsu_collection_summary_collections") - - @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]: - return pulumi.get(self, "state") - - @property - @pulumi.getter - def type(self) -> Optional[str]: - return pulumi.get(self, "type") - - -class AwaitableGetFsuCollectionsResult(GetFsuCollectionsResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetFsuCollectionsResult( - compartment_id=self.compartment_id, - display_name=self.display_name, - filters=self.filters, - fsu_collection_summary_collections=self.fsu_collection_summary_collections, - id=self.id, - state=self.state, - type=self.type) - - -def get_fsu_collections(compartment_id: Optional[str] = None, - display_name: Optional[str] = None, - filters: Optional[Sequence[Union['GetFsuCollectionsFilterArgs', 'GetFsuCollectionsFilterArgsDict']]] = None, - state: Optional[str] = None, - type: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFsuCollectionsResult: - """ - Use this data source to access information about an existing resource. - """ - __args__ = dict() - __args__['compartmentId'] = compartment_id - __args__['displayName'] = display_name - __args__['filters'] = filters - __args__['state'] = state - __args__['type'] = type - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('oci:FleetSoftwareUpdate/getFsuCollections:getFsuCollections', __args__, opts=opts, typ=GetFsuCollectionsResult).value - - return AwaitableGetFsuCollectionsResult( - compartment_id=pulumi.get(__ret__, 'compartment_id'), - display_name=pulumi.get(__ret__, 'display_name'), - filters=pulumi.get(__ret__, 'filters'), - fsu_collection_summary_collections=pulumi.get(__ret__, 'fsu_collection_summary_collections'), - id=pulumi.get(__ret__, 'id'), - state=pulumi.get(__ret__, 'state'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_fsu_collections) -def get_fsu_collections_output(compartment_id: Optional[pulumi.Input[str]] = None, - display_name: Optional[pulumi.Input[Optional[str]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFsuCollectionsFilterArgs', 'GetFsuCollectionsFilterArgsDict']]]]] = None, - state: Optional[pulumi.Input[Optional[str]]] = None, - type: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFsuCollectionsResult]: - """ - Use this data source to access information about an existing resource. - """ - ... diff --git a/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py b/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py deleted file mode 100644 index 48fad8798f..0000000000 --- a/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_cycle.py +++ /dev/null @@ -1,325 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'GetFsuCycleResult', - 'AwaitableGetFsuCycleResult', - 'get_fsu_cycle', - 'get_fsu_cycle_output', -] - -@pulumi.output_type -class GetFsuCycleResult: - """ - A collection of values returned by getFsuCycle. - """ - def __init__(__self__, apply_action_schedules=None, batching_strategies=None, collection_type=None, compartment_id=None, defined_tags=None, diagnostics_collections=None, display_name=None, executing_fsu_action_id=None, freeform_tags=None, fsu_collection_id=None, fsu_cycle_id=None, goal_version_details=None, id=None, is_ignore_missing_patches=None, is_ignore_patches=None, is_keep_placement=None, last_completed_action=None, lifecycle_details=None, max_drain_timeout_in_seconds=None, next_action_to_executes=None, stage_action_schedules=None, state=None, system_tags=None, time_created=None, time_finished=None, time_updated=None, type=None): - if apply_action_schedules and not isinstance(apply_action_schedules, list): - raise TypeError("Expected argument 'apply_action_schedules' to be a list") - pulumi.set(__self__, "apply_action_schedules", apply_action_schedules) - if batching_strategies and not isinstance(batching_strategies, list): - raise TypeError("Expected argument 'batching_strategies' to be a list") - pulumi.set(__self__, "batching_strategies", batching_strategies) - if collection_type and not isinstance(collection_type, str): - raise TypeError("Expected argument 'collection_type' to be a str") - pulumi.set(__self__, "collection_type", collection_type) - 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 diagnostics_collections and not isinstance(diagnostics_collections, list): - raise TypeError("Expected argument 'diagnostics_collections' to be a list") - pulumi.set(__self__, "diagnostics_collections", diagnostics_collections) - 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 executing_fsu_action_id and not isinstance(executing_fsu_action_id, str): - raise TypeError("Expected argument 'executing_fsu_action_id' to be a str") - pulumi.set(__self__, "executing_fsu_action_id", executing_fsu_action_id) - 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 fsu_collection_id and not isinstance(fsu_collection_id, str): - raise TypeError("Expected argument 'fsu_collection_id' to be a str") - pulumi.set(__self__, "fsu_collection_id", fsu_collection_id) - if fsu_cycle_id and not isinstance(fsu_cycle_id, str): - raise TypeError("Expected argument 'fsu_cycle_id' to be a str") - pulumi.set(__self__, "fsu_cycle_id", fsu_cycle_id) - if goal_version_details and not isinstance(goal_version_details, list): - raise TypeError("Expected argument 'goal_version_details' to be a list") - pulumi.set(__self__, "goal_version_details", goal_version_details) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if is_ignore_missing_patches and not isinstance(is_ignore_missing_patches, list): - raise TypeError("Expected argument 'is_ignore_missing_patches' to be a list") - pulumi.set(__self__, "is_ignore_missing_patches", is_ignore_missing_patches) - if is_ignore_patches and not isinstance(is_ignore_patches, bool): - raise TypeError("Expected argument 'is_ignore_patches' to be a bool") - pulumi.set(__self__, "is_ignore_patches", is_ignore_patches) - if is_keep_placement and not isinstance(is_keep_placement, bool): - raise TypeError("Expected argument 'is_keep_placement' to be a bool") - pulumi.set(__self__, "is_keep_placement", is_keep_placement) - if last_completed_action and not isinstance(last_completed_action, str): - raise TypeError("Expected argument 'last_completed_action' to be a str") - pulumi.set(__self__, "last_completed_action", last_completed_action) - 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 max_drain_timeout_in_seconds and not isinstance(max_drain_timeout_in_seconds, int): - raise TypeError("Expected argument 'max_drain_timeout_in_seconds' to be a int") - pulumi.set(__self__, "max_drain_timeout_in_seconds", max_drain_timeout_in_seconds) - if next_action_to_executes and not isinstance(next_action_to_executes, list): - raise TypeError("Expected argument 'next_action_to_executes' to be a list") - pulumi.set(__self__, "next_action_to_executes", next_action_to_executes) - if stage_action_schedules and not isinstance(stage_action_schedules, list): - raise TypeError("Expected argument 'stage_action_schedules' to be a list") - pulumi.set(__self__, "stage_action_schedules", stage_action_schedules) - 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_finished and not isinstance(time_finished, str): - raise TypeError("Expected argument 'time_finished' to be a str") - pulumi.set(__self__, "time_finished", time_finished) - 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 type and not isinstance(type, str): - raise TypeError("Expected argument 'type' to be a str") - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="applyActionSchedules") - def apply_action_schedules(self) -> Sequence['outputs.GetFsuCycleApplyActionScheduleResult']: - return pulumi.get(self, "apply_action_schedules") - - @property - @pulumi.getter(name="batchingStrategies") - def batching_strategies(self) -> Sequence['outputs.GetFsuCycleBatchingStrategyResult']: - return pulumi.get(self, "batching_strategies") - - @property - @pulumi.getter(name="collectionType") - def collection_type(self) -> str: - return pulumi.get(self, "collection_type") - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "defined_tags") - - @property - @pulumi.getter(name="diagnosticsCollections") - def diagnostics_collections(self) -> Sequence['outputs.GetFsuCycleDiagnosticsCollectionResult']: - return pulumi.get(self, "diagnostics_collections") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter(name="executingFsuActionId") - def executing_fsu_action_id(self) -> str: - return pulumi.get(self, "executing_fsu_action_id") - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "freeform_tags") - - @property - @pulumi.getter(name="fsuCollectionId") - def fsu_collection_id(self) -> str: - return pulumi.get(self, "fsu_collection_id") - - @property - @pulumi.getter(name="fsuCycleId") - def fsu_cycle_id(self) -> str: - return pulumi.get(self, "fsu_cycle_id") - - @property - @pulumi.getter(name="goalVersionDetails") - def goal_version_details(self) -> Sequence['outputs.GetFsuCycleGoalVersionDetailResult']: - return pulumi.get(self, "goal_version_details") - - @property - @pulumi.getter - def id(self) -> str: - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="isIgnoreMissingPatches") - def is_ignore_missing_patches(self) -> Sequence[str]: - return pulumi.get(self, "is_ignore_missing_patches") - - @property - @pulumi.getter(name="isIgnorePatches") - def is_ignore_patches(self) -> bool: - return pulumi.get(self, "is_ignore_patches") - - @property - @pulumi.getter(name="isKeepPlacement") - def is_keep_placement(self) -> bool: - return pulumi.get(self, "is_keep_placement") - - @property - @pulumi.getter(name="lastCompletedAction") - def last_completed_action(self) -> str: - return pulumi.get(self, "last_completed_action") - - @property - @pulumi.getter(name="lifecycleDetails") - def lifecycle_details(self) -> str: - return pulumi.get(self, "lifecycle_details") - - @property - @pulumi.getter(name="maxDrainTimeoutInSeconds") - def max_drain_timeout_in_seconds(self) -> int: - return pulumi.get(self, "max_drain_timeout_in_seconds") - - @property - @pulumi.getter(name="nextActionToExecutes") - def next_action_to_executes(self) -> Sequence['outputs.GetFsuCycleNextActionToExecuteResult']: - return pulumi.get(self, "next_action_to_executes") - - @property - @pulumi.getter(name="stageActionSchedules") - def stage_action_schedules(self) -> Sequence['outputs.GetFsuCycleStageActionScheduleResult']: - return pulumi.get(self, "stage_action_schedules") - - @property - @pulumi.getter - def state(self) -> str: - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "system_tags") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> str: - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeFinished") - def time_finished(self) -> str: - return pulumi.get(self, "time_finished") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: - return pulumi.get(self, "time_updated") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -class AwaitableGetFsuCycleResult(GetFsuCycleResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetFsuCycleResult( - apply_action_schedules=self.apply_action_schedules, - batching_strategies=self.batching_strategies, - collection_type=self.collection_type, - compartment_id=self.compartment_id, - defined_tags=self.defined_tags, - diagnostics_collections=self.diagnostics_collections, - display_name=self.display_name, - executing_fsu_action_id=self.executing_fsu_action_id, - freeform_tags=self.freeform_tags, - fsu_collection_id=self.fsu_collection_id, - fsu_cycle_id=self.fsu_cycle_id, - goal_version_details=self.goal_version_details, - id=self.id, - is_ignore_missing_patches=self.is_ignore_missing_patches, - is_ignore_patches=self.is_ignore_patches, - is_keep_placement=self.is_keep_placement, - last_completed_action=self.last_completed_action, - lifecycle_details=self.lifecycle_details, - max_drain_timeout_in_seconds=self.max_drain_timeout_in_seconds, - next_action_to_executes=self.next_action_to_executes, - stage_action_schedules=self.stage_action_schedules, - state=self.state, - system_tags=self.system_tags, - time_created=self.time_created, - time_finished=self.time_finished, - time_updated=self.time_updated, - type=self.type) - - -def get_fsu_cycle(fsu_cycle_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFsuCycleResult: - """ - Use this data source to access information about an existing resource. - """ - __args__ = dict() - __args__['fsuCycleId'] = fsu_cycle_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('oci:FleetSoftwareUpdate/getFsuCycle:getFsuCycle', __args__, opts=opts, typ=GetFsuCycleResult).value - - return AwaitableGetFsuCycleResult( - apply_action_schedules=pulumi.get(__ret__, 'apply_action_schedules'), - batching_strategies=pulumi.get(__ret__, 'batching_strategies'), - collection_type=pulumi.get(__ret__, 'collection_type'), - compartment_id=pulumi.get(__ret__, 'compartment_id'), - defined_tags=pulumi.get(__ret__, 'defined_tags'), - diagnostics_collections=pulumi.get(__ret__, 'diagnostics_collections'), - display_name=pulumi.get(__ret__, 'display_name'), - executing_fsu_action_id=pulumi.get(__ret__, 'executing_fsu_action_id'), - freeform_tags=pulumi.get(__ret__, 'freeform_tags'), - fsu_collection_id=pulumi.get(__ret__, 'fsu_collection_id'), - fsu_cycle_id=pulumi.get(__ret__, 'fsu_cycle_id'), - goal_version_details=pulumi.get(__ret__, 'goal_version_details'), - id=pulumi.get(__ret__, 'id'), - is_ignore_missing_patches=pulumi.get(__ret__, 'is_ignore_missing_patches'), - is_ignore_patches=pulumi.get(__ret__, 'is_ignore_patches'), - is_keep_placement=pulumi.get(__ret__, 'is_keep_placement'), - last_completed_action=pulumi.get(__ret__, 'last_completed_action'), - lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'), - max_drain_timeout_in_seconds=pulumi.get(__ret__, 'max_drain_timeout_in_seconds'), - next_action_to_executes=pulumi.get(__ret__, 'next_action_to_executes'), - stage_action_schedules=pulumi.get(__ret__, 'stage_action_schedules'), - state=pulumi.get(__ret__, 'state'), - system_tags=pulumi.get(__ret__, 'system_tags'), - time_created=pulumi.get(__ret__, 'time_created'), - time_finished=pulumi.get(__ret__, 'time_finished'), - time_updated=pulumi.get(__ret__, 'time_updated'), - type=pulumi.get(__ret__, 'type')) - - -@_utilities.lift_output_func(get_fsu_cycle) -def get_fsu_cycle_output(fsu_cycle_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFsuCycleResult]: - """ - Use this data source to access information about an existing resource. - """ - ... diff --git a/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py b/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py deleted file mode 100644 index 2653826b93..0000000000 --- a/sdk/python/pulumi_oci/fleetsoftwareupdate/get_fsu_cycles.py +++ /dev/null @@ -1,167 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetFsuCyclesResult', - 'AwaitableGetFsuCyclesResult', - 'get_fsu_cycles', - 'get_fsu_cycles_output', -] - -@pulumi.output_type -class GetFsuCyclesResult: - """ - A collection of values returned by getFsuCycles. - """ - def __init__(__self__, collection_type=None, compartment_id=None, display_name=None, filters=None, fsu_collection_id=None, fsu_cycle_summary_collections=None, id=None, state=None, target_version=None): - if collection_type and not isinstance(collection_type, str): - raise TypeError("Expected argument 'collection_type' to be a str") - pulumi.set(__self__, "collection_type", collection_type) - 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 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 fsu_collection_id and not isinstance(fsu_collection_id, str): - raise TypeError("Expected argument 'fsu_collection_id' to be a str") - pulumi.set(__self__, "fsu_collection_id", fsu_collection_id) - if fsu_cycle_summary_collections and not isinstance(fsu_cycle_summary_collections, list): - raise TypeError("Expected argument 'fsu_cycle_summary_collections' to be a list") - pulumi.set(__self__, "fsu_cycle_summary_collections", fsu_cycle_summary_collections) - 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) - if target_version and not isinstance(target_version, str): - raise TypeError("Expected argument 'target_version' to be a str") - pulumi.set(__self__, "target_version", target_version) - - @property - @pulumi.getter(name="collectionType") - def collection_type(self) -> Optional[str]: - return pulumi.get(self, "collection_type") - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetFsuCyclesFilterResult']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter(name="fsuCollectionId") - def fsu_collection_id(self) -> Optional[str]: - return pulumi.get(self, "fsu_collection_id") - - @property - @pulumi.getter(name="fsuCycleSummaryCollections") - def fsu_cycle_summary_collections(self) -> Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionResult']: - return pulumi.get(self, "fsu_cycle_summary_collections") - - @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]: - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="targetVersion") - def target_version(self) -> Optional[str]: - return pulumi.get(self, "target_version") - - -class AwaitableGetFsuCyclesResult(GetFsuCyclesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetFsuCyclesResult( - collection_type=self.collection_type, - compartment_id=self.compartment_id, - display_name=self.display_name, - filters=self.filters, - fsu_collection_id=self.fsu_collection_id, - fsu_cycle_summary_collections=self.fsu_cycle_summary_collections, - id=self.id, - state=self.state, - target_version=self.target_version) - - -def get_fsu_cycles(collection_type: Optional[str] = None, - compartment_id: Optional[str] = None, - display_name: Optional[str] = None, - filters: Optional[Sequence[Union['GetFsuCyclesFilterArgs', 'GetFsuCyclesFilterArgsDict']]] = None, - fsu_collection_id: Optional[str] = None, - state: Optional[str] = None, - target_version: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFsuCyclesResult: - """ - Use this data source to access information about an existing resource. - """ - __args__ = dict() - __args__['collectionType'] = collection_type - __args__['compartmentId'] = compartment_id - __args__['displayName'] = display_name - __args__['filters'] = filters - __args__['fsuCollectionId'] = fsu_collection_id - __args__['state'] = state - __args__['targetVersion'] = target_version - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('oci:FleetSoftwareUpdate/getFsuCycles:getFsuCycles', __args__, opts=opts, typ=GetFsuCyclesResult).value - - return AwaitableGetFsuCyclesResult( - collection_type=pulumi.get(__ret__, 'collection_type'), - compartment_id=pulumi.get(__ret__, 'compartment_id'), - display_name=pulumi.get(__ret__, 'display_name'), - filters=pulumi.get(__ret__, 'filters'), - fsu_collection_id=pulumi.get(__ret__, 'fsu_collection_id'), - fsu_cycle_summary_collections=pulumi.get(__ret__, 'fsu_cycle_summary_collections'), - id=pulumi.get(__ret__, 'id'), - state=pulumi.get(__ret__, 'state'), - target_version=pulumi.get(__ret__, 'target_version')) - - -@_utilities.lift_output_func(get_fsu_cycles) -def get_fsu_cycles_output(collection_type: Optional[pulumi.Input[Optional[str]]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - display_name: Optional[pulumi.Input[Optional[str]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[Union['GetFsuCyclesFilterArgs', 'GetFsuCyclesFilterArgsDict']]]]] = None, - fsu_collection_id: Optional[pulumi.Input[Optional[str]]] = None, - state: Optional[pulumi.Input[Optional[str]]] = None, - target_version: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetFsuCyclesResult]: - """ - Use this data source to access information about an existing resource. - """ - ... diff --git a/sdk/python/pulumi_oci/fleetsoftwareupdate/outputs.py b/sdk/python/pulumi_oci/fleetsoftwareupdate/outputs.py deleted file mode 100644 index 0454ebfa3b..0000000000 --- a/sdk/python/pulumi_oci/fleetsoftwareupdate/outputs.py +++ /dev/null @@ -1,1481 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'FsuCollectionActiveFsuCycle', - 'FsuCollectionFleetDiscovery', - 'FsuCollectionFleetDiscoveryFilter', - 'FsuCollectionFleetDiscoveryFilterTag', - 'FsuCycleApplyActionSchedule', - 'FsuCycleBatchingStrategy', - 'FsuCycleDiagnosticsCollection', - 'FsuCycleGoalVersionDetails', - 'FsuCycleNextActionToExecute', - 'FsuCycleStageActionSchedule', - 'GetFsuCollectionActiveFsuCycleResult', - 'GetFsuCollectionFleetDiscoveryResult', - 'GetFsuCollectionFleetDiscoveryFilterResult', - 'GetFsuCollectionFleetDiscoveryFilterTagResult', - 'GetFsuCollectionsFilterResult', - 'GetFsuCollectionsFsuCollectionSummaryCollectionResult', - 'GetFsuCollectionsFsuCollectionSummaryCollectionItemResult', - 'GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleResult', - 'GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryResult', - 'GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterResult', - 'GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagResult', - 'GetFsuCycleApplyActionScheduleResult', - 'GetFsuCycleBatchingStrategyResult', - 'GetFsuCycleDiagnosticsCollectionResult', - 'GetFsuCycleGoalVersionDetailResult', - 'GetFsuCycleNextActionToExecuteResult', - 'GetFsuCycleStageActionScheduleResult', - 'GetFsuCyclesFilterResult', - 'GetFsuCyclesFsuCycleSummaryCollectionResult', - 'GetFsuCyclesFsuCycleSummaryCollectionItemResult', - 'GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleResult', - 'GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyResult', - 'GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionResult', - 'GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailResult', - 'GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteResult', - 'GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleResult', -] - -@pulumi.output_type -class FsuCollectionActiveFsuCycle(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "displayName": - suggest = "display_name" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in FsuCollectionActiveFsuCycle. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - FsuCollectionActiveFsuCycle.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - FsuCollectionActiveFsuCycle.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - display_name: Optional[str] = None, - id: Optional[str] = None): - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if id is not None: - pulumi.set(__self__, "id", id) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter - def id(self) -> Optional[str]: - return pulumi.get(self, "id") - - -@pulumi.output_type -class FsuCollectionFleetDiscovery(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "fsuDiscoveryId": - suggest = "fsu_discovery_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in FsuCollectionFleetDiscovery. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - FsuCollectionFleetDiscovery.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - FsuCollectionFleetDiscovery.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - strategy: str, - filters: Optional[Sequence['outputs.FsuCollectionFleetDiscoveryFilter']] = None, - fsu_discovery_id: Optional[str] = None, - query: Optional[str] = None, - targets: Optional[Sequence[str]] = None): - pulumi.set(__self__, "strategy", strategy) - if filters is not None: - pulumi.set(__self__, "filters", filters) - if fsu_discovery_id is not None: - pulumi.set(__self__, "fsu_discovery_id", fsu_discovery_id) - if query is not None: - pulumi.set(__self__, "query", query) - if targets is not None: - pulumi.set(__self__, "targets", targets) - - @property - @pulumi.getter - def strategy(self) -> str: - return pulumi.get(self, "strategy") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.FsuCollectionFleetDiscoveryFilter']]: - return pulumi.get(self, "filters") - - @property - @pulumi.getter(name="fsuDiscoveryId") - def fsu_discovery_id(self) -> Optional[str]: - return pulumi.get(self, "fsu_discovery_id") - - @property - @pulumi.getter - def query(self) -> Optional[str]: - return pulumi.get(self, "query") - - @property - @pulumi.getter - def targets(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "targets") - - -@pulumi.output_type -class FsuCollectionFleetDiscoveryFilter(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "entityType": - suggest = "entity_type" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in FsuCollectionFleetDiscoveryFilter. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - FsuCollectionFleetDiscoveryFilter.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - FsuCollectionFleetDiscoveryFilter.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - type: str, - entity_type: Optional[str] = None, - identifiers: Optional[Sequence[str]] = None, - mode: Optional[str] = None, - names: Optional[Sequence[str]] = None, - operator: Optional[str] = None, - tags: Optional[Sequence['outputs.FsuCollectionFleetDiscoveryFilterTag']] = None, - versions: Optional[Sequence[str]] = None): - pulumi.set(__self__, "type", type) - if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) - if identifiers is not None: - pulumi.set(__self__, "identifiers", identifiers) - if mode is not None: - pulumi.set(__self__, "mode", mode) - if names is not None: - pulumi.set(__self__, "names", names) - if operator is not None: - pulumi.set(__self__, "operator", operator) - if tags is not None: - pulumi.set(__self__, "tags", tags) - if versions is not None: - pulumi.set(__self__, "versions", versions) - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="entityType") - def entity_type(self) -> Optional[str]: - return pulumi.get(self, "entity_type") - - @property - @pulumi.getter - def identifiers(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "identifiers") - - @property - @pulumi.getter - def mode(self) -> Optional[str]: - return pulumi.get(self, "mode") - - @property - @pulumi.getter - def names(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "names") - - @property - @pulumi.getter - def operator(self) -> Optional[str]: - return pulumi.get(self, "operator") - - @property - @pulumi.getter - def tags(self) -> Optional[Sequence['outputs.FsuCollectionFleetDiscoveryFilterTag']]: - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def versions(self) -> Optional[Sequence[str]]: - return pulumi.get(self, "versions") - - -@pulumi.output_type -class FsuCollectionFleetDiscoveryFilterTag(dict): - def __init__(__self__, *, - key: str, - value: str, - namespace: Optional[str] = None): - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) - if namespace is not None: - pulumi.set(__self__, "namespace", namespace) - - @property - @pulumi.getter - def key(self) -> str: - return pulumi.get(self, "key") - - @property - @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") - - @property - @pulumi.getter - def namespace(self) -> Optional[str]: - return pulumi.get(self, "namespace") - - -@pulumi.output_type -class FsuCycleApplyActionSchedule(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "timeToStart": - suggest = "time_to_start" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in FsuCycleApplyActionSchedule. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - FsuCycleApplyActionSchedule.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - FsuCycleApplyActionSchedule.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - time_to_start: str, - type: str): - pulumi.set(__self__, "time_to_start", time_to_start) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> str: - return pulumi.get(self, "time_to_start") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class FsuCycleBatchingStrategy(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "isForceRolling": - suggest = "is_force_rolling" - elif key == "isWaitForBatchResume": - suggest = "is_wait_for_batch_resume" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in FsuCycleBatchingStrategy. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - FsuCycleBatchingStrategy.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - FsuCycleBatchingStrategy.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - is_force_rolling: Optional[bool] = None, - is_wait_for_batch_resume: Optional[bool] = None, - percentage: Optional[int] = None, - type: Optional[str] = None): - if is_force_rolling is not None: - pulumi.set(__self__, "is_force_rolling", is_force_rolling) - if is_wait_for_batch_resume is not None: - pulumi.set(__self__, "is_wait_for_batch_resume", is_wait_for_batch_resume) - if percentage is not None: - pulumi.set(__self__, "percentage", percentage) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="isForceRolling") - def is_force_rolling(self) -> Optional[bool]: - return pulumi.get(self, "is_force_rolling") - - @property - @pulumi.getter(name="isWaitForBatchResume") - def is_wait_for_batch_resume(self) -> Optional[bool]: - return pulumi.get(self, "is_wait_for_batch_resume") - - @property - @pulumi.getter - def percentage(self) -> Optional[int]: - return pulumi.get(self, "percentage") - - @property - @pulumi.getter - def type(self) -> Optional[str]: - return pulumi.get(self, "type") - - -@pulumi.output_type -class FsuCycleDiagnosticsCollection(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "logCollectionMode": - suggest = "log_collection_mode" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in FsuCycleDiagnosticsCollection. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - FsuCycleDiagnosticsCollection.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - FsuCycleDiagnosticsCollection.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - log_collection_mode: Optional[str] = None): - if log_collection_mode is not None: - pulumi.set(__self__, "log_collection_mode", log_collection_mode) - - @property - @pulumi.getter(name="logCollectionMode") - def log_collection_mode(self) -> Optional[str]: - return pulumi.get(self, "log_collection_mode") - - -@pulumi.output_type -class FsuCycleGoalVersionDetails(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "homePolicy": - suggest = "home_policy" - elif key == "newHomePrefix": - suggest = "new_home_prefix" - elif key == "softwareImageId": - suggest = "software_image_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in FsuCycleGoalVersionDetails. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - FsuCycleGoalVersionDetails.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - FsuCycleGoalVersionDetails.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - type: str, - home_policy: Optional[str] = None, - new_home_prefix: Optional[str] = None, - software_image_id: Optional[str] = None, - version: Optional[str] = None): - pulumi.set(__self__, "type", type) - if home_policy is not None: - pulumi.set(__self__, "home_policy", home_policy) - if new_home_prefix is not None: - pulumi.set(__self__, "new_home_prefix", new_home_prefix) - if software_image_id is not None: - pulumi.set(__self__, "software_image_id", software_image_id) - if version is not None: - pulumi.set(__self__, "version", version) - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - @property - @pulumi.getter(name="homePolicy") - def home_policy(self) -> Optional[str]: - return pulumi.get(self, "home_policy") - - @property - @pulumi.getter(name="newHomePrefix") - def new_home_prefix(self) -> Optional[str]: - return pulumi.get(self, "new_home_prefix") - - @property - @pulumi.getter(name="softwareImageId") - def software_image_id(self) -> Optional[str]: - return pulumi.get(self, "software_image_id") - - @property - @pulumi.getter - def version(self) -> Optional[str]: - return pulumi.get(self, "version") - - -@pulumi.output_type -class FsuCycleNextActionToExecute(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "timeToStart": - suggest = "time_to_start" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in FsuCycleNextActionToExecute. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - FsuCycleNextActionToExecute.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - FsuCycleNextActionToExecute.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - time_to_start: Optional[str] = None, - type: Optional[str] = None): - if time_to_start is not None: - pulumi.set(__self__, "time_to_start", time_to_start) - if type is not None: - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> Optional[str]: - return pulumi.get(self, "time_to_start") - - @property - @pulumi.getter - def type(self) -> Optional[str]: - return pulumi.get(self, "type") - - -@pulumi.output_type -class FsuCycleStageActionSchedule(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "timeToStart": - suggest = "time_to_start" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in FsuCycleStageActionSchedule. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - FsuCycleStageActionSchedule.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - FsuCycleStageActionSchedule.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - time_to_start: str, - type: str): - pulumi.set(__self__, "time_to_start", time_to_start) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> str: - return pulumi.get(self, "time_to_start") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetFsuCollectionActiveFsuCycleResult(dict): - def __init__(__self__, *, - display_name: str, - id: str): - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter - def id(self) -> str: - return pulumi.get(self, "id") - - -@pulumi.output_type -class GetFsuCollectionFleetDiscoveryResult(dict): - def __init__(__self__, *, - filters: Sequence['outputs.GetFsuCollectionFleetDiscoveryFilterResult'], - fsu_discovery_id: str, - query: str, - strategy: str, - targets: Sequence[str]): - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "fsu_discovery_id", fsu_discovery_id) - pulumi.set(__self__, "query", query) - pulumi.set(__self__, "strategy", strategy) - pulumi.set(__self__, "targets", targets) - - @property - @pulumi.getter - def filters(self) -> Sequence['outputs.GetFsuCollectionFleetDiscoveryFilterResult']: - return pulumi.get(self, "filters") - - @property - @pulumi.getter(name="fsuDiscoveryId") - def fsu_discovery_id(self) -> str: - return pulumi.get(self, "fsu_discovery_id") - - @property - @pulumi.getter - def query(self) -> str: - return pulumi.get(self, "query") - - @property - @pulumi.getter - def strategy(self) -> str: - return pulumi.get(self, "strategy") - - @property - @pulumi.getter - def targets(self) -> Sequence[str]: - return pulumi.get(self, "targets") - - -@pulumi.output_type -class GetFsuCollectionFleetDiscoveryFilterResult(dict): - def __init__(__self__, *, - entity_type: str, - identifiers: Sequence[str], - mode: str, - names: Sequence[str], - operator: str, - tags: Sequence['outputs.GetFsuCollectionFleetDiscoveryFilterTagResult'], - type: str, - versions: Sequence[str]): - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "identifiers", identifiers) - pulumi.set(__self__, "mode", mode) - pulumi.set(__self__, "names", names) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "versions", versions) - - @property - @pulumi.getter(name="entityType") - def entity_type(self) -> str: - return pulumi.get(self, "entity_type") - - @property - @pulumi.getter - def identifiers(self) -> Sequence[str]: - return pulumi.get(self, "identifiers") - - @property - @pulumi.getter - def mode(self) -> str: - return pulumi.get(self, "mode") - - @property - @pulumi.getter - def names(self) -> Sequence[str]: - return pulumi.get(self, "names") - - @property - @pulumi.getter - def operator(self) -> str: - return pulumi.get(self, "operator") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetFsuCollectionFleetDiscoveryFilterTagResult']: - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - @property - @pulumi.getter - def versions(self) -> Sequence[str]: - return pulumi.get(self, "versions") - - -@pulumi.output_type -class GetFsuCollectionFleetDiscoveryFilterTagResult(dict): - def __init__(__self__, *, - key: str, - namespace: str, - value: str): - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - return pulumi.get(self, "key") - - @property - @pulumi.getter - def namespace(self) -> str: - return pulumi.get(self, "namespace") - - @property - @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetFsuCollectionsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "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 GetFsuCollectionsFsuCollectionSummaryCollectionResult(dict): - def __init__(__self__, *, - items: Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) - - @property - @pulumi.getter - def items(self) -> Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemResult']: - return pulumi.get(self, "items") - - -@pulumi.output_type -class GetFsuCollectionsFsuCollectionSummaryCollectionItemResult(dict): - def __init__(__self__, *, - active_fsu_cycles: Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleResult'], - compartment_id: str, - defined_tags: Mapping[str, str], - display_name: str, - fleet_discoveries: Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryResult'], - freeform_tags: Mapping[str, str], - id: str, - lifecycle_details: str, - service_type: str, - source_major_version: str, - state: str, - system_tags: Mapping[str, str], - target_count: int, - time_created: str, - time_updated: str, - type: str): - pulumi.set(__self__, "active_fsu_cycles", active_fsu_cycles) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fleet_discoveries", fleet_discoveries) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "source_major_version", source_major_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_count", target_count) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="activeFsuCycles") - def active_fsu_cycles(self) -> Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleResult']: - return pulumi.get(self, "active_fsu_cycles") - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "defined_tags") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter(name="fleetDiscoveries") - def fleet_discoveries(self) -> Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryResult']: - return pulumi.get(self, "fleet_discoveries") - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "freeform_tags") - - @property - @pulumi.getter - def id(self) -> str: - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="lifecycleDetails") - def lifecycle_details(self) -> str: - return pulumi.get(self, "lifecycle_details") - - @property - @pulumi.getter(name="serviceType") - def service_type(self) -> str: - return pulumi.get(self, "service_type") - - @property - @pulumi.getter(name="sourceMajorVersion") - def source_major_version(self) -> str: - return pulumi.get(self, "source_major_version") - - @property - @pulumi.getter - def state(self) -> str: - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "system_tags") - - @property - @pulumi.getter(name="targetCount") - def target_count(self) -> int: - return pulumi.get(self, "target_count") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> str: - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: - return pulumi.get(self, "time_updated") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetFsuCollectionsFsuCollectionSummaryCollectionItemActiveFsuCycleResult(dict): - def __init__(__self__, *, - display_name: str, - id: str): - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter - def id(self) -> str: - return pulumi.get(self, "id") - - -@pulumi.output_type -class GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryResult(dict): - def __init__(__self__, *, - filters: Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterResult'], - fsu_discovery_id: str, - query: str, - strategy: str, - targets: Sequence[str]): - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "fsu_discovery_id", fsu_discovery_id) - pulumi.set(__self__, "query", query) - pulumi.set(__self__, "strategy", strategy) - pulumi.set(__self__, "targets", targets) - - @property - @pulumi.getter - def filters(self) -> Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterResult']: - return pulumi.get(self, "filters") - - @property - @pulumi.getter(name="fsuDiscoveryId") - def fsu_discovery_id(self) -> str: - return pulumi.get(self, "fsu_discovery_id") - - @property - @pulumi.getter - def query(self) -> str: - return pulumi.get(self, "query") - - @property - @pulumi.getter - def strategy(self) -> str: - return pulumi.get(self, "strategy") - - @property - @pulumi.getter - def targets(self) -> Sequence[str]: - return pulumi.get(self, "targets") - - -@pulumi.output_type -class GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterResult(dict): - def __init__(__self__, *, - entity_type: str, - identifiers: Sequence[str], - mode: str, - names: Sequence[str], - operator: str, - tags: Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagResult'], - type: str, - versions: Sequence[str]): - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "identifiers", identifiers) - pulumi.set(__self__, "mode", mode) - pulumi.set(__self__, "names", names) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "versions", versions) - - @property - @pulumi.getter(name="entityType") - def entity_type(self) -> str: - return pulumi.get(self, "entity_type") - - @property - @pulumi.getter - def identifiers(self) -> Sequence[str]: - return pulumi.get(self, "identifiers") - - @property - @pulumi.getter - def mode(self) -> str: - return pulumi.get(self, "mode") - - @property - @pulumi.getter - def names(self) -> Sequence[str]: - return pulumi.get(self, "names") - - @property - @pulumi.getter - def operator(self) -> str: - return pulumi.get(self, "operator") - - @property - @pulumi.getter - def tags(self) -> Sequence['outputs.GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagResult']: - return pulumi.get(self, "tags") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - @property - @pulumi.getter - def versions(self) -> Sequence[str]: - return pulumi.get(self, "versions") - - -@pulumi.output_type -class GetFsuCollectionsFsuCollectionSummaryCollectionItemFleetDiscoveryFilterTagResult(dict): - def __init__(__self__, *, - key: str, - namespace: str, - value: str): - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def key(self) -> str: - return pulumi.get(self, "key") - - @property - @pulumi.getter - def namespace(self) -> str: - return pulumi.get(self, "namespace") - - @property - @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetFsuCycleApplyActionScheduleResult(dict): - def __init__(__self__, *, - time_to_start: str, - type: str): - pulumi.set(__self__, "time_to_start", time_to_start) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> str: - return pulumi.get(self, "time_to_start") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetFsuCycleBatchingStrategyResult(dict): - def __init__(__self__, *, - is_force_rolling: bool, - is_wait_for_batch_resume: bool, - percentage: int, - type: str): - pulumi.set(__self__, "is_force_rolling", is_force_rolling) - pulumi.set(__self__, "is_wait_for_batch_resume", is_wait_for_batch_resume) - pulumi.set(__self__, "percentage", percentage) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="isForceRolling") - def is_force_rolling(self) -> bool: - return pulumi.get(self, "is_force_rolling") - - @property - @pulumi.getter(name="isWaitForBatchResume") - def is_wait_for_batch_resume(self) -> bool: - return pulumi.get(self, "is_wait_for_batch_resume") - - @property - @pulumi.getter - def percentage(self) -> int: - return pulumi.get(self, "percentage") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetFsuCycleDiagnosticsCollectionResult(dict): - def __init__(__self__, *, - log_collection_mode: str): - pulumi.set(__self__, "log_collection_mode", log_collection_mode) - - @property - @pulumi.getter(name="logCollectionMode") - def log_collection_mode(self) -> str: - return pulumi.get(self, "log_collection_mode") - - -@pulumi.output_type -class GetFsuCycleGoalVersionDetailResult(dict): - def __init__(__self__, *, - home_policy: str, - new_home_prefix: str, - software_image_id: str, - type: str, - version: str): - pulumi.set(__self__, "home_policy", home_policy) - pulumi.set(__self__, "new_home_prefix", new_home_prefix) - pulumi.set(__self__, "software_image_id", software_image_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "version", version) - - @property - @pulumi.getter(name="homePolicy") - def home_policy(self) -> str: - return pulumi.get(self, "home_policy") - - @property - @pulumi.getter(name="newHomePrefix") - def new_home_prefix(self) -> str: - return pulumi.get(self, "new_home_prefix") - - @property - @pulumi.getter(name="softwareImageId") - def software_image_id(self) -> str: - return pulumi.get(self, "software_image_id") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - @property - @pulumi.getter - def version(self) -> str: - return pulumi.get(self, "version") - - -@pulumi.output_type -class GetFsuCycleNextActionToExecuteResult(dict): - def __init__(__self__, *, - time_to_start: str, - type: str): - pulumi.set(__self__, "time_to_start", time_to_start) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> str: - return pulumi.get(self, "time_to_start") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetFsuCycleStageActionScheduleResult(dict): - def __init__(__self__, *, - time_to_start: str, - type: str): - pulumi.set(__self__, "time_to_start", time_to_start) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> str: - return pulumi.get(self, "time_to_start") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetFsuCyclesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "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 GetFsuCyclesFsuCycleSummaryCollectionResult(dict): - def __init__(__self__, *, - items: Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) - - @property - @pulumi.getter - def items(self) -> Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemResult']: - return pulumi.get(self, "items") - - -@pulumi.output_type -class GetFsuCyclesFsuCycleSummaryCollectionItemResult(dict): - def __init__(__self__, *, - apply_action_schedules: Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleResult'], - batching_strategies: Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyResult'], - collection_type: str, - compartment_id: str, - defined_tags: Mapping[str, str], - diagnostics_collections: Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionResult'], - display_name: str, - executing_fsu_action_id: str, - freeform_tags: Mapping[str, str], - fsu_collection_id: str, - goal_version_details: Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailResult'], - id: str, - is_ignore_missing_patches: Sequence[str], - is_ignore_patches: bool, - is_keep_placement: bool, - last_completed_action: str, - lifecycle_details: str, - max_drain_timeout_in_seconds: int, - next_action_to_executes: Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteResult'], - stage_action_schedules: Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleResult'], - state: str, - system_tags: Mapping[str, str], - time_created: str, - time_finished: str, - time_updated: str, - type: str): - pulumi.set(__self__, "apply_action_schedules", apply_action_schedules) - pulumi.set(__self__, "batching_strategies", batching_strategies) - pulumi.set(__self__, "collection_type", collection_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "diagnostics_collections", diagnostics_collections) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "executing_fsu_action_id", executing_fsu_action_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "fsu_collection_id", fsu_collection_id) - pulumi.set(__self__, "goal_version_details", goal_version_details) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_ignore_missing_patches", is_ignore_missing_patches) - pulumi.set(__self__, "is_ignore_patches", is_ignore_patches) - pulumi.set(__self__, "is_keep_placement", is_keep_placement) - pulumi.set(__self__, "last_completed_action", last_completed_action) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "max_drain_timeout_in_seconds", max_drain_timeout_in_seconds) - pulumi.set(__self__, "next_action_to_executes", next_action_to_executes) - pulumi.set(__self__, "stage_action_schedules", stage_action_schedules) - 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_updated", time_updated) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="applyActionSchedules") - def apply_action_schedules(self) -> Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleResult']: - return pulumi.get(self, "apply_action_schedules") - - @property - @pulumi.getter(name="batchingStrategies") - def batching_strategies(self) -> Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyResult']: - return pulumi.get(self, "batching_strategies") - - @property - @pulumi.getter(name="collectionType") - def collection_type(self) -> str: - return pulumi.get(self, "collection_type") - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "defined_tags") - - @property - @pulumi.getter(name="diagnosticsCollections") - def diagnostics_collections(self) -> Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionResult']: - return pulumi.get(self, "diagnostics_collections") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: - return pulumi.get(self, "display_name") - - @property - @pulumi.getter(name="executingFsuActionId") - def executing_fsu_action_id(self) -> str: - return pulumi.get(self, "executing_fsu_action_id") - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "freeform_tags") - - @property - @pulumi.getter(name="fsuCollectionId") - def fsu_collection_id(self) -> str: - return pulumi.get(self, "fsu_collection_id") - - @property - @pulumi.getter(name="goalVersionDetails") - def goal_version_details(self) -> Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailResult']: - return pulumi.get(self, "goal_version_details") - - @property - @pulumi.getter - def id(self) -> str: - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="isIgnoreMissingPatches") - def is_ignore_missing_patches(self) -> Sequence[str]: - return pulumi.get(self, "is_ignore_missing_patches") - - @property - @pulumi.getter(name="isIgnorePatches") - def is_ignore_patches(self) -> bool: - return pulumi.get(self, "is_ignore_patches") - - @property - @pulumi.getter(name="isKeepPlacement") - def is_keep_placement(self) -> bool: - return pulumi.get(self, "is_keep_placement") - - @property - @pulumi.getter(name="lastCompletedAction") - def last_completed_action(self) -> str: - return pulumi.get(self, "last_completed_action") - - @property - @pulumi.getter(name="lifecycleDetails") - def lifecycle_details(self) -> str: - return pulumi.get(self, "lifecycle_details") - - @property - @pulumi.getter(name="maxDrainTimeoutInSeconds") - def max_drain_timeout_in_seconds(self) -> int: - return pulumi.get(self, "max_drain_timeout_in_seconds") - - @property - @pulumi.getter(name="nextActionToExecutes") - def next_action_to_executes(self) -> Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteResult']: - return pulumi.get(self, "next_action_to_executes") - - @property - @pulumi.getter(name="stageActionSchedules") - def stage_action_schedules(self) -> Sequence['outputs.GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleResult']: - return pulumi.get(self, "stage_action_schedules") - - @property - @pulumi.getter - def state(self) -> str: - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Mapping[str, str]: - return pulumi.get(self, "system_tags") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> str: - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeFinished") - def time_finished(self) -> str: - return pulumi.get(self, "time_finished") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: - return pulumi.get(self, "time_updated") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetFsuCyclesFsuCycleSummaryCollectionItemApplyActionScheduleResult(dict): - def __init__(__self__, *, - time_to_start: str, - type: str): - pulumi.set(__self__, "time_to_start", time_to_start) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> str: - return pulumi.get(self, "time_to_start") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetFsuCyclesFsuCycleSummaryCollectionItemBatchingStrategyResult(dict): - def __init__(__self__, *, - is_force_rolling: bool, - is_wait_for_batch_resume: bool, - percentage: int, - type: str): - pulumi.set(__self__, "is_force_rolling", is_force_rolling) - pulumi.set(__self__, "is_wait_for_batch_resume", is_wait_for_batch_resume) - pulumi.set(__self__, "percentage", percentage) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="isForceRolling") - def is_force_rolling(self) -> bool: - return pulumi.get(self, "is_force_rolling") - - @property - @pulumi.getter(name="isWaitForBatchResume") - def is_wait_for_batch_resume(self) -> bool: - return pulumi.get(self, "is_wait_for_batch_resume") - - @property - @pulumi.getter - def percentage(self) -> int: - return pulumi.get(self, "percentage") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetFsuCyclesFsuCycleSummaryCollectionItemDiagnosticsCollectionResult(dict): - def __init__(__self__, *, - log_collection_mode: str): - pulumi.set(__self__, "log_collection_mode", log_collection_mode) - - @property - @pulumi.getter(name="logCollectionMode") - def log_collection_mode(self) -> str: - return pulumi.get(self, "log_collection_mode") - - -@pulumi.output_type -class GetFsuCyclesFsuCycleSummaryCollectionItemGoalVersionDetailResult(dict): - def __init__(__self__, *, - home_policy: str, - new_home_prefix: str, - software_image_id: str, - type: str, - version: str): - pulumi.set(__self__, "home_policy", home_policy) - pulumi.set(__self__, "new_home_prefix", new_home_prefix) - pulumi.set(__self__, "software_image_id", software_image_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "version", version) - - @property - @pulumi.getter(name="homePolicy") - def home_policy(self) -> str: - return pulumi.get(self, "home_policy") - - @property - @pulumi.getter(name="newHomePrefix") - def new_home_prefix(self) -> str: - return pulumi.get(self, "new_home_prefix") - - @property - @pulumi.getter(name="softwareImageId") - def software_image_id(self) -> str: - return pulumi.get(self, "software_image_id") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - @property - @pulumi.getter - def version(self) -> str: - return pulumi.get(self, "version") - - -@pulumi.output_type -class GetFsuCyclesFsuCycleSummaryCollectionItemNextActionToExecuteResult(dict): - def __init__(__self__, *, - time_to_start: str, - type: str): - pulumi.set(__self__, "time_to_start", time_to_start) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> str: - return pulumi.get(self, "time_to_start") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - -@pulumi.output_type -class GetFsuCyclesFsuCycleSummaryCollectionItemStageActionScheduleResult(dict): - def __init__(__self__, *, - time_to_start: str, - type: str): - pulumi.set(__self__, "time_to_start", time_to_start) - pulumi.set(__self__, "type", type) - - @property - @pulumi.getter(name="timeToStart") - def time_to_start(self) -> str: - return pulumi.get(self, "time_to_start") - - @property - @pulumi.getter - def type(self) -> str: - return pulumi.get(self, "type") - - diff --git a/sdk/python/pulumi_oci/globallydistributeddatabase/__init__.py b/sdk/python/pulumi_oci/globallydistributeddatabase/__init__.py deleted file mode 100644 index 91dad2b2ca..0000000000 --- a/sdk/python/pulumi_oci/globallydistributeddatabase/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -# 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 .get_private_endpoint import * -from .get_private_endpoints import * -from .get_sharded_database import * -from .get_sharded_databases import * -from .private_endpoint import * -from .sharded_database import * -from ._inputs import * -from . import outputs diff --git a/sdk/python/pulumi_oci/globallydistributeddatabase/_inputs.py b/sdk/python/pulumi_oci/globallydistributeddatabase/_inputs.py deleted file mode 100644 index 36a2898b51..0000000000 --- a/sdk/python/pulumi_oci/globallydistributeddatabase/_inputs.py +++ /dev/null @@ -1,1003 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities - -__all__ = [ - 'ShardedDatabaseCatalogDetailArgs', - 'ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs', - 'ShardedDatabaseConnectionStringArgs', - 'ShardedDatabaseGsmArgs', - 'ShardedDatabasePatchOperationArgs', - 'ShardedDatabaseShardDetailArgs', - 'ShardedDatabaseShardDetailEncryptionKeyDetailsArgs', - 'GetPrivateEndpointsFilterArgs', - 'GetShardedDatabasesFilterArgs', -] - -@pulumi.input_type -class ShardedDatabaseCatalogDetailArgs: - def __init__(__self__, *, - admin_password: pulumi.Input[str], - cloud_autonomous_vm_cluster_id: pulumi.Input[str], - compute_count: pulumi.Input[float], - data_storage_size_in_gbs: pulumi.Input[float], - is_auto_scaling_enabled: pulumi.Input[bool], - container_database_id: Optional[pulumi.Input[str]] = None, - container_database_parent_id: Optional[pulumi.Input[str]] = None, - encryption_key_details: Optional[pulumi.Input['ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs']] = None, - metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - peer_cloud_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, - shard_group: Optional[pulumi.Input[str]] = None, - status: Optional[pulumi.Input[str]] = None, - supporting_resource_id: Optional[pulumi.Input[str]] = None, - time_created: Optional[pulumi.Input[str]] = None, - time_ssl_certificate_expires: Optional[pulumi.Input[str]] = None, - time_updated: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] admin_password: Admin password for the catalog database. - :param pulumi.Input[str] cloud_autonomous_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - :param pulumi.Input[float] compute_count: The compute count for the catalog database. It has to be in multiple of 2. - :param pulumi.Input[float] data_storage_size_in_gbs: The data disk group size to be allocated in GBs for the catalog database. - :param pulumi.Input[bool] is_auto_scaling_enabled: Determines the auto-scaling mode for the catalog database. - :param pulumi.Input[str] container_database_id: Identifier of the underlying container database. - :param pulumi.Input[str] container_database_parent_id: Identifier of the underlying container database parent. - :param pulumi.Input['ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs'] encryption_key_details: Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Additional metadata related to shard's underlying supporting resource. - :param pulumi.Input[str] name: Name of the shard. - :param pulumi.Input[str] peer_cloud_autonomous_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - :param pulumi.Input[str] shard_group: Name of the shard-group to which the shard belongs. - :param pulumi.Input[str] status: Status of shard or catalog or gsm for the sharded database. - :param pulumi.Input[str] supporting_resource_id: Identifier of the underlying supporting resource. - :param pulumi.Input[str] time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_ssl_certificate_expires: The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "data_storage_size_in_gbs", data_storage_size_in_gbs) - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) - if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) - if container_database_parent_id is not None: - pulumi.set(__self__, "container_database_parent_id", container_database_parent_id) - if encryption_key_details is not None: - pulumi.set(__self__, "encryption_key_details", encryption_key_details) - if metadata is not None: - pulumi.set(__self__, "metadata", metadata) - if name is not None: - pulumi.set(__self__, "name", name) - 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) - if shard_group is not None: - pulumi.set(__self__, "shard_group", shard_group) - if status is not None: - pulumi.set(__self__, "status", status) - if supporting_resource_id is not None: - pulumi.set(__self__, "supporting_resource_id", supporting_resource_id) - if time_created is not None: - pulumi.set(__self__, "time_created", time_created) - if time_ssl_certificate_expires is not None: - pulumi.set(__self__, "time_ssl_certificate_expires", time_ssl_certificate_expires) - if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) - - @property - @pulumi.getter(name="adminPassword") - def admin_password(self) -> pulumi.Input[str]: - """ - Admin password for the catalog database. - """ - return pulumi.get(self, "admin_password") - - @admin_password.setter - def admin_password(self, value: pulumi.Input[str]): - pulumi.set(self, "admin_password", value) - - @property - @pulumi.getter(name="cloudAutonomousVmClusterId") - def cloud_autonomous_vm_cluster_id(self) -> pulumi.Input[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - """ - return pulumi.get(self, "cloud_autonomous_vm_cluster_id") - - @cloud_autonomous_vm_cluster_id.setter - def cloud_autonomous_vm_cluster_id(self, value: pulumi.Input[str]): - pulumi.set(self, "cloud_autonomous_vm_cluster_id", value) - - @property - @pulumi.getter(name="computeCount") - def compute_count(self) -> pulumi.Input[float]: - """ - The compute count for the catalog database. It has to be in multiple of 2. - """ - return pulumi.get(self, "compute_count") - - @compute_count.setter - def compute_count(self, value: pulumi.Input[float]): - pulumi.set(self, "compute_count", value) - - @property - @pulumi.getter(name="dataStorageSizeInGbs") - def data_storage_size_in_gbs(self) -> pulumi.Input[float]: - """ - The data disk group size to be allocated in GBs for the catalog database. - """ - return pulumi.get(self, "data_storage_size_in_gbs") - - @data_storage_size_in_gbs.setter - def data_storage_size_in_gbs(self, value: pulumi.Input[float]): - pulumi.set(self, "data_storage_size_in_gbs", value) - - @property - @pulumi.getter(name="isAutoScalingEnabled") - def is_auto_scaling_enabled(self) -> pulumi.Input[bool]: - """ - Determines the auto-scaling mode for the catalog database. - """ - return pulumi.get(self, "is_auto_scaling_enabled") - - @is_auto_scaling_enabled.setter - def is_auto_scaling_enabled(self, value: pulumi.Input[bool]): - pulumi.set(self, "is_auto_scaling_enabled", value) - - @property - @pulumi.getter(name="containerDatabaseId") - def container_database_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the underlying container database. - """ - return pulumi.get(self, "container_database_id") - - @container_database_id.setter - def container_database_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "container_database_id", value) - - @property - @pulumi.getter(name="containerDatabaseParentId") - def container_database_parent_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the underlying container database parent. - """ - return pulumi.get(self, "container_database_parent_id") - - @container_database_parent_id.setter - def container_database_parent_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "container_database_parent_id", value) - - @property - @pulumi.getter(name="encryptionKeyDetails") - def encryption_key_details(self) -> Optional[pulumi.Input['ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs']]: - """ - Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - """ - return pulumi.get(self, "encryption_key_details") - - @encryption_key_details.setter - def encryption_key_details(self, value: Optional[pulumi.Input['ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs']]): - pulumi.set(self, "encryption_key_details", value) - - @property - @pulumi.getter - def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Additional metadata related to shard's underlying supporting resource. - """ - return pulumi.get(self, "metadata") - - @metadata.setter - def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "metadata", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - Name of the shard. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter(name="peerCloudAutonomousVmClusterId") - def peer_cloud_autonomous_vm_cluster_id(self) -> Optional[pulumi.Input[str]]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - """ - return pulumi.get(self, "peer_cloud_autonomous_vm_cluster_id") - - @peer_cloud_autonomous_vm_cluster_id.setter - def peer_cloud_autonomous_vm_cluster_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "peer_cloud_autonomous_vm_cluster_id", value) - - @property - @pulumi.getter(name="shardGroup") - def shard_group(self) -> Optional[pulumi.Input[str]]: - """ - Name of the shard-group to which the shard belongs. - """ - return pulumi.get(self, "shard_group") - - @shard_group.setter - def shard_group(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "shard_group", value) - - @property - @pulumi.getter - def status(self) -> Optional[pulumi.Input[str]]: - """ - Status of shard or catalog or gsm for the sharded database. - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "status", value) - - @property - @pulumi.getter(name="supportingResourceId") - def supporting_resource_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the underlying supporting resource. - """ - return pulumi.get(self, "supporting_resource_id") - - @supporting_resource_id.setter - def supporting_resource_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "supporting_resource_id", value) - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> Optional[pulumi.Input[str]]: - """ - The time the the Sharded Database was created. 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="timeSslCertificateExpires") - def time_ssl_certificate_expires(self) -> Optional[pulumi.Input[str]]: - """ - The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_ssl_certificate_expires") - - @time_ssl_certificate_expires.setter - def time_ssl_certificate_expires(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "time_ssl_certificate_expires", value) - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> Optional[pulumi.Input[str]]: - """ - The time the Sharded Database was last updated. 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) - - -@pulumi.input_type -class ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs: - def __init__(__self__, *, - kms_key_id: pulumi.Input[str], - vault_id: pulumi.Input[str], - kms_key_version_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] kms_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - :param pulumi.Input[str] kms_key_version_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - """ - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "vault_id", vault_id) - if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - - @property - @pulumi.getter(name="kmsKeyId") - def kms_key_id(self) -> pulumi.Input[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - """ - return pulumi.get(self, "kms_key_id") - - @kms_key_id.setter - def kms_key_id(self, value: pulumi.Input[str]): - pulumi.set(self, "kms_key_id", value) - - @property - @pulumi.getter(name="vaultId") - def vault_id(self) -> pulumi.Input[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - """ - return pulumi.get(self, "vault_id") - - @vault_id.setter - def vault_id(self, value: pulumi.Input[str]): - pulumi.set(self, "vault_id", value) - - @property - @pulumi.getter(name="kmsKeyVersionId") - def kms_key_version_id(self) -> Optional[pulumi.Input[str]]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - """ - return pulumi.get(self, "kms_key_version_id") - - @kms_key_version_id.setter - def kms_key_version_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key_version_id", value) - - -@pulumi.input_type -class ShardedDatabaseConnectionStringArgs: - def __init__(__self__, *, - all_connection_strings: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None): - """ - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] all_connection_strings: Collection of connection strings. - """ - if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - - @property - @pulumi.getter(name="allConnectionStrings") - def all_connection_strings(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Collection of connection strings. - """ - return pulumi.get(self, "all_connection_strings") - - @all_connection_strings.setter - def all_connection_strings(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "all_connection_strings", value) - - -@pulumi.input_type -class ShardedDatabaseGsmArgs: - def __init__(__self__, *, - compute_count: Optional[pulumi.Input[float]] = None, - data_storage_size_in_gbs: Optional[pulumi.Input[float]] = None, - metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - status: Optional[pulumi.Input[str]] = None, - supporting_resource_id: Optional[pulumi.Input[str]] = None, - time_created: Optional[pulumi.Input[str]] = None, - time_ssl_certificate_expires: Optional[pulumi.Input[str]] = None, - time_updated: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[float] compute_count: The compute amount available to the underlying autonomous database associated with shard. - :param pulumi.Input[float] data_storage_size_in_gbs: The data disk group size to be allocated in GBs. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Additional metadata related to shard's underlying supporting resource. - :param pulumi.Input[str] name: Name of the shard. - :param pulumi.Input[str] status: Status of shard or catalog or gsm for the sharded database. - :param pulumi.Input[str] supporting_resource_id: Identifier of the underlying supporting resource. - :param pulumi.Input[str] time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_ssl_certificate_expires: The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) - if data_storage_size_in_gbs is not None: - pulumi.set(__self__, "data_storage_size_in_gbs", data_storage_size_in_gbs) - if metadata is not None: - pulumi.set(__self__, "metadata", metadata) - if name is not None: - pulumi.set(__self__, "name", name) - if status is not None: - pulumi.set(__self__, "status", status) - if supporting_resource_id is not None: - pulumi.set(__self__, "supporting_resource_id", supporting_resource_id) - if time_created is not None: - pulumi.set(__self__, "time_created", time_created) - if time_ssl_certificate_expires is not None: - pulumi.set(__self__, "time_ssl_certificate_expires", time_ssl_certificate_expires) - if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) - - @property - @pulumi.getter(name="computeCount") - def compute_count(self) -> Optional[pulumi.Input[float]]: - """ - The compute amount available to the underlying autonomous database associated with shard. - """ - return pulumi.get(self, "compute_count") - - @compute_count.setter - def compute_count(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "compute_count", value) - - @property - @pulumi.getter(name="dataStorageSizeInGbs") - def data_storage_size_in_gbs(self) -> Optional[pulumi.Input[float]]: - """ - The data disk group size to be allocated in GBs. - """ - return pulumi.get(self, "data_storage_size_in_gbs") - - @data_storage_size_in_gbs.setter - def data_storage_size_in_gbs(self, value: Optional[pulumi.Input[float]]): - pulumi.set(self, "data_storage_size_in_gbs", value) - - @property - @pulumi.getter - def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Additional metadata related to shard's underlying supporting resource. - """ - return pulumi.get(self, "metadata") - - @metadata.setter - def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "metadata", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - Name of the shard. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter - def status(self) -> Optional[pulumi.Input[str]]: - """ - Status of shard or catalog or gsm for the sharded database. - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "status", value) - - @property - @pulumi.getter(name="supportingResourceId") - def supporting_resource_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the underlying supporting resource. - """ - return pulumi.get(self, "supporting_resource_id") - - @supporting_resource_id.setter - def supporting_resource_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "supporting_resource_id", value) - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> Optional[pulumi.Input[str]]: - """ - The time the the Sharded Database was created. 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="timeSslCertificateExpires") - def time_ssl_certificate_expires(self) -> Optional[pulumi.Input[str]]: - """ - The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_ssl_certificate_expires") - - @time_ssl_certificate_expires.setter - def time_ssl_certificate_expires(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "time_ssl_certificate_expires", value) - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> Optional[pulumi.Input[str]]: - """ - The time the Sharded Database was last updated. 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) - - -@pulumi.input_type -class ShardedDatabasePatchOperationArgs: - def __init__(__self__, *, - operation: pulumi.Input[str], - selection: pulumi.Input[str], - value: pulumi.Input[str]): - """ - :param pulumi.Input[str] operation: (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - :param pulumi.Input[str] selection: (Updatable) - :param pulumi.Input[str] value: (Updatable) - """ - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "selection", selection) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def operation(self) -> pulumi.Input[str]: - """ - (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - """ - return pulumi.get(self, "operation") - - @operation.setter - def operation(self, value: pulumi.Input[str]): - pulumi.set(self, "operation", value) - - @property - @pulumi.getter - def selection(self) -> pulumi.Input[str]: - """ - (Updatable) - """ - return pulumi.get(self, "selection") - - @selection.setter - def selection(self, value: pulumi.Input[str]): - pulumi.set(self, "selection", value) - - @property - @pulumi.getter - def value(self) -> pulumi.Input[str]: - """ - (Updatable) - """ - return pulumi.get(self, "value") - - @value.setter - def value(self, value: pulumi.Input[str]): - pulumi.set(self, "value", value) - - -@pulumi.input_type -class ShardedDatabaseShardDetailArgs: - def __init__(__self__, *, - admin_password: pulumi.Input[str], - cloud_autonomous_vm_cluster_id: pulumi.Input[str], - compute_count: pulumi.Input[float], - data_storage_size_in_gbs: pulumi.Input[float], - is_auto_scaling_enabled: pulumi.Input[bool], - container_database_id: Optional[pulumi.Input[str]] = None, - container_database_parent_id: Optional[pulumi.Input[str]] = None, - encryption_key_details: Optional[pulumi.Input['ShardedDatabaseShardDetailEncryptionKeyDetailsArgs']] = None, - metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - name: Optional[pulumi.Input[str]] = None, - peer_cloud_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, - shard_group: Optional[pulumi.Input[str]] = None, - shard_space: Optional[pulumi.Input[str]] = None, - status: Optional[pulumi.Input[str]] = None, - supporting_resource_id: Optional[pulumi.Input[str]] = None, - time_created: Optional[pulumi.Input[str]] = None, - time_ssl_certificate_expires: Optional[pulumi.Input[str]] = None, - time_updated: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] admin_password: Admin password for shard database. - :param pulumi.Input[str] cloud_autonomous_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - :param pulumi.Input[float] compute_count: The compute count for the shard database. It has to be in multiples of 2. - :param pulumi.Input[float] data_storage_size_in_gbs: The data disk group size to be allocated in GBs for the shard database. - :param pulumi.Input[bool] is_auto_scaling_enabled: Determines the auto-scaling mode for the shard database. - :param pulumi.Input[str] container_database_id: Identifier of the underlying container database. - :param pulumi.Input[str] container_database_parent_id: Identifier of the underlying container database parent. - :param pulumi.Input['ShardedDatabaseShardDetailEncryptionKeyDetailsArgs'] encryption_key_details: Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] metadata: Additional metadata related to shard's underlying supporting resource. - :param pulumi.Input[str] name: Name of the shard. - :param pulumi.Input[str] peer_cloud_autonomous_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - :param pulumi.Input[str] shard_group: Name of the shard-group to which the shard belongs. - :param pulumi.Input[str] shard_space: The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - :param pulumi.Input[str] status: Status of shard or catalog or gsm for the sharded database. - :param pulumi.Input[str] supporting_resource_id: Identifier of the underlying supporting resource. - :param pulumi.Input[str] time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_ssl_certificate_expires: The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "data_storage_size_in_gbs", data_storage_size_in_gbs) - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) - if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) - if container_database_parent_id is not None: - pulumi.set(__self__, "container_database_parent_id", container_database_parent_id) - if encryption_key_details is not None: - pulumi.set(__self__, "encryption_key_details", encryption_key_details) - if metadata is not None: - pulumi.set(__self__, "metadata", metadata) - if name is not None: - pulumi.set(__self__, "name", name) - 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) - if shard_group is not None: - pulumi.set(__self__, "shard_group", shard_group) - if shard_space is not None: - pulumi.set(__self__, "shard_space", shard_space) - if status is not None: - pulumi.set(__self__, "status", status) - if supporting_resource_id is not None: - pulumi.set(__self__, "supporting_resource_id", supporting_resource_id) - if time_created is not None: - pulumi.set(__self__, "time_created", time_created) - if time_ssl_certificate_expires is not None: - pulumi.set(__self__, "time_ssl_certificate_expires", time_ssl_certificate_expires) - if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) - - @property - @pulumi.getter(name="adminPassword") - def admin_password(self) -> pulumi.Input[str]: - """ - Admin password for shard database. - """ - return pulumi.get(self, "admin_password") - - @admin_password.setter - def admin_password(self, value: pulumi.Input[str]): - pulumi.set(self, "admin_password", value) - - @property - @pulumi.getter(name="cloudAutonomousVmClusterId") - def cloud_autonomous_vm_cluster_id(self) -> pulumi.Input[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - """ - return pulumi.get(self, "cloud_autonomous_vm_cluster_id") - - @cloud_autonomous_vm_cluster_id.setter - def cloud_autonomous_vm_cluster_id(self, value: pulumi.Input[str]): - pulumi.set(self, "cloud_autonomous_vm_cluster_id", value) - - @property - @pulumi.getter(name="computeCount") - def compute_count(self) -> pulumi.Input[float]: - """ - The compute count for the shard database. It has to be in multiples of 2. - """ - return pulumi.get(self, "compute_count") - - @compute_count.setter - def compute_count(self, value: pulumi.Input[float]): - pulumi.set(self, "compute_count", value) - - @property - @pulumi.getter(name="dataStorageSizeInGbs") - def data_storage_size_in_gbs(self) -> pulumi.Input[float]: - """ - The data disk group size to be allocated in GBs for the shard database. - """ - return pulumi.get(self, "data_storage_size_in_gbs") - - @data_storage_size_in_gbs.setter - def data_storage_size_in_gbs(self, value: pulumi.Input[float]): - pulumi.set(self, "data_storage_size_in_gbs", value) - - @property - @pulumi.getter(name="isAutoScalingEnabled") - def is_auto_scaling_enabled(self) -> pulumi.Input[bool]: - """ - Determines the auto-scaling mode for the shard database. - """ - return pulumi.get(self, "is_auto_scaling_enabled") - - @is_auto_scaling_enabled.setter - def is_auto_scaling_enabled(self, value: pulumi.Input[bool]): - pulumi.set(self, "is_auto_scaling_enabled", value) - - @property - @pulumi.getter(name="containerDatabaseId") - def container_database_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the underlying container database. - """ - return pulumi.get(self, "container_database_id") - - @container_database_id.setter - def container_database_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "container_database_id", value) - - @property - @pulumi.getter(name="containerDatabaseParentId") - def container_database_parent_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the underlying container database parent. - """ - return pulumi.get(self, "container_database_parent_id") - - @container_database_parent_id.setter - def container_database_parent_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "container_database_parent_id", value) - - @property - @pulumi.getter(name="encryptionKeyDetails") - def encryption_key_details(self) -> Optional[pulumi.Input['ShardedDatabaseShardDetailEncryptionKeyDetailsArgs']]: - """ - Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - """ - return pulumi.get(self, "encryption_key_details") - - @encryption_key_details.setter - def encryption_key_details(self, value: Optional[pulumi.Input['ShardedDatabaseShardDetailEncryptionKeyDetailsArgs']]): - pulumi.set(self, "encryption_key_details", value) - - @property - @pulumi.getter - def metadata(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Additional metadata related to shard's underlying supporting resource. - """ - return pulumi.get(self, "metadata") - - @metadata.setter - def metadata(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): - pulumi.set(self, "metadata", value) - - @property - @pulumi.getter - def name(self) -> Optional[pulumi.Input[str]]: - """ - Name of the shard. - """ - return pulumi.get(self, "name") - - @name.setter - def name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "name", value) - - @property - @pulumi.getter(name="peerCloudAutonomousVmClusterId") - def peer_cloud_autonomous_vm_cluster_id(self) -> Optional[pulumi.Input[str]]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - """ - return pulumi.get(self, "peer_cloud_autonomous_vm_cluster_id") - - @peer_cloud_autonomous_vm_cluster_id.setter - def peer_cloud_autonomous_vm_cluster_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "peer_cloud_autonomous_vm_cluster_id", value) - - @property - @pulumi.getter(name="shardGroup") - def shard_group(self) -> Optional[pulumi.Input[str]]: - """ - Name of the shard-group to which the shard belongs. - """ - return pulumi.get(self, "shard_group") - - @shard_group.setter - def shard_group(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "shard_group", value) - - @property - @pulumi.getter(name="shardSpace") - def shard_space(self) -> Optional[pulumi.Input[str]]: - """ - The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - """ - return pulumi.get(self, "shard_space") - - @shard_space.setter - def shard_space(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "shard_space", value) - - @property - @pulumi.getter - def status(self) -> Optional[pulumi.Input[str]]: - """ - Status of shard or catalog or gsm for the sharded database. - """ - return pulumi.get(self, "status") - - @status.setter - def status(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "status", value) - - @property - @pulumi.getter(name="supportingResourceId") - def supporting_resource_id(self) -> Optional[pulumi.Input[str]]: - """ - Identifier of the underlying supporting resource. - """ - return pulumi.get(self, "supporting_resource_id") - - @supporting_resource_id.setter - def supporting_resource_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "supporting_resource_id", value) - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> Optional[pulumi.Input[str]]: - """ - The time the the Sharded Database was created. 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="timeSslCertificateExpires") - def time_ssl_certificate_expires(self) -> Optional[pulumi.Input[str]]: - """ - The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_ssl_certificate_expires") - - @time_ssl_certificate_expires.setter - def time_ssl_certificate_expires(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "time_ssl_certificate_expires", value) - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> Optional[pulumi.Input[str]]: - """ - The time the Sharded Database was last updated. 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) - - -@pulumi.input_type -class ShardedDatabaseShardDetailEncryptionKeyDetailsArgs: - def __init__(__self__, *, - kms_key_id: pulumi.Input[str], - vault_id: pulumi.Input[str], - kms_key_version_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] kms_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - :param pulumi.Input[str] kms_key_version_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - """ - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "vault_id", vault_id) - if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - - @property - @pulumi.getter(name="kmsKeyId") - def kms_key_id(self) -> pulumi.Input[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - """ - return pulumi.get(self, "kms_key_id") - - @kms_key_id.setter - def kms_key_id(self, value: pulumi.Input[str]): - pulumi.set(self, "kms_key_id", value) - - @property - @pulumi.getter(name="vaultId") - def vault_id(self) -> pulumi.Input[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - """ - return pulumi.get(self, "vault_id") - - @vault_id.setter - def vault_id(self, value: pulumi.Input[str]): - pulumi.set(self, "vault_id", value) - - @property - @pulumi.getter(name="kmsKeyVersionId") - def kms_key_version_id(self) -> Optional[pulumi.Input[str]]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - """ - return pulumi.get(self, "kms_key_version_id") - - @kms_key_version_id.setter - def kms_key_version_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "kms_key_version_id", value) - - -@pulumi.input_type -class GetPrivateEndpointsFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "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 GetShardedDatabasesFilterArgs: - def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - """ - :param str name: Name of the shard. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "regex", regex) - - @property - @pulumi.getter - def name(self) -> str: - """ - Name of the shard. - """ - 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/globallydistributeddatabase/get_private_endpoints.py b/sdk/python/pulumi_oci/globallydistributeddatabase/get_private_endpoints.py deleted file mode 100644 index cccbf90311..0000000000 --- a/sdk/python/pulumi_oci/globallydistributeddatabase/get_private_endpoints.py +++ /dev/null @@ -1,176 +0,0 @@ -# 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, 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, display_name=None, filters=None, id=None, private_endpoint_collections=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 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 private_endpoint_collections and not isinstance(private_endpoint_collections, list): - raise TypeError("Expected argument 'private_endpoint_collections' to be a list") - pulumi.set(__self__, "private_endpoint_collections", private_endpoint_collections) - 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: - """ - Identifier of the compartment in which private endpoint exists. - """ - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: - """ - PrivateEndpoint display name. - """ - 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(name="privateEndpointCollections") - def private_endpoint_collections(self) -> Sequence['outputs.GetPrivateEndpointsPrivateEndpointCollectionResult']: - """ - The list of private_endpoint_collection. - """ - return pulumi.get(self, "private_endpoint_collections") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - Lifecycle states for 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, - display_name=self.display_name, - filters=self.filters, - id=self.id, - private_endpoint_collections=self.private_endpoint_collections, - state=self.state) - - -def get_private_endpoints(compartment_id: Optional[str] = None, - display_name: Optional[str] = None, - filters: Optional[Sequence[Union['GetPrivateEndpointsFilterArgs', 'GetPrivateEndpointsFilterArgsDict']]] = None, - state: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointsResult: - """ - This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. - - List of PrivateEndpoints. - - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_private_endpoints = oci.GloballyDistributedDatabase.get_private_endpoints(compartment_id=compartment_id, - display_name=private_endpoint_display_name, - state=private_endpoint_state) - ``` - - - :param str compartment_id: The ID of the compartment in which to list resources. - :param str display_name: A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState. - """ - __args__ = dict() - __args__['compartmentId'] = compartment_id - __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:GloballyDistributedDatabase/getPrivateEndpoints:getPrivateEndpoints', __args__, opts=opts, typ=GetPrivateEndpointsResult).value - - return AwaitableGetPrivateEndpointsResult( - compartment_id=pulumi.get(__ret__, 'compartment_id'), - display_name=pulumi.get(__ret__, 'display_name'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - private_endpoint_collections=pulumi.get(__ret__, 'private_endpoint_collections'), - state=pulumi.get(__ret__, 'state')) - - -@_utilities.lift_output_func(get_private_endpoints) -def get_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None, - display_name: Optional[pulumi.Input[Optional[str]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[Union['GetPrivateEndpointsFilterArgs', 'GetPrivateEndpointsFilterArgsDict']]]]] = None, - state: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointsResult]: - """ - This data source provides the list of Private Endpoints in Oracle Cloud Infrastructure Globally Distributed Database service. - - List of PrivateEndpoints. - - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_private_endpoints = oci.GloballyDistributedDatabase.get_private_endpoints(compartment_id=compartment_id, - display_name=private_endpoint_display_name, - state=private_endpoint_state) - ``` - - - :param str compartment_id: The ID of the compartment in which to list resources. - :param str display_name: A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState. - """ - ... diff --git a/sdk/python/pulumi_oci/globallydistributeddatabase/get_sharded_database.py b/sdk/python/pulumi_oci/globallydistributeddatabase/get_sharded_database.py deleted file mode 100644 index e70bb1b359..0000000000 --- a/sdk/python/pulumi_oci/globallydistributeddatabase/get_sharded_database.py +++ /dev/null @@ -1,610 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'GetShardedDatabaseResult', - 'AwaitableGetShardedDatabaseResult', - 'get_sharded_database', - 'get_sharded_database_output', -] - -@pulumi.output_type -class GetShardedDatabaseResult: - """ - A collection of values returned by getShardedDatabase. - """ - def __init__(__self__, catalog_details=None, character_set=None, chunks=None, cluster_certificate_common_name=None, compartment_id=None, configure_gsms_trigger=None, configure_sharding_trigger=None, connection_strings=None, db_deployment_type=None, db_version=None, db_workload=None, defined_tags=None, display_name=None, download_gsm_certificate_signing_request_trigger=None, freeform_tags=None, generate_gsm_certificate_signing_request_trigger=None, generate_wallet_trigger=None, get_connection_string_trigger=None, gsms=None, id=None, lifecycle_state=None, lifecycle_state_details=None, listener_port=None, listener_port_tls=None, metadata=None, ncharacter_set=None, ons_port_local=None, ons_port_remote=None, patch_operations=None, prefix=None, private_endpoint=None, shard_details=None, sharded_database_id=None, sharding_method=None, start_database_trigger=None, state=None, stop_database_trigger=None, system_tags=None, time_created=None, time_updated=None, time_zone=None, upload_signed_certificate_and_generate_wallet_trigger=None, validate_network_trigger=None): - if catalog_details and not isinstance(catalog_details, list): - raise TypeError("Expected argument 'catalog_details' to be a list") - pulumi.set(__self__, "catalog_details", catalog_details) - if character_set and not isinstance(character_set, str): - raise TypeError("Expected argument 'character_set' to be a str") - pulumi.set(__self__, "character_set", character_set) - if chunks and not isinstance(chunks, int): - raise TypeError("Expected argument 'chunks' to be a int") - pulumi.set(__self__, "chunks", chunks) - if cluster_certificate_common_name and not isinstance(cluster_certificate_common_name, str): - raise TypeError("Expected argument 'cluster_certificate_common_name' to be a str") - pulumi.set(__self__, "cluster_certificate_common_name", cluster_certificate_common_name) - 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 configure_gsms_trigger and not isinstance(configure_gsms_trigger, int): - raise TypeError("Expected argument 'configure_gsms_trigger' to be a int") - pulumi.set(__self__, "configure_gsms_trigger", configure_gsms_trigger) - if configure_sharding_trigger and not isinstance(configure_sharding_trigger, int): - raise TypeError("Expected argument 'configure_sharding_trigger' to be a int") - pulumi.set(__self__, "configure_sharding_trigger", configure_sharding_trigger) - if connection_strings and not isinstance(connection_strings, list): - raise TypeError("Expected argument 'connection_strings' to be a list") - pulumi.set(__self__, "connection_strings", connection_strings) - if db_deployment_type and not isinstance(db_deployment_type, str): - raise TypeError("Expected argument 'db_deployment_type' to be a str") - pulumi.set(__self__, "db_deployment_type", db_deployment_type) - if db_version and not isinstance(db_version, str): - raise TypeError("Expected argument 'db_version' to be a str") - pulumi.set(__self__, "db_version", db_version) - if db_workload and not isinstance(db_workload, str): - raise TypeError("Expected argument 'db_workload' to be a str") - pulumi.set(__self__, "db_workload", db_workload) - 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 download_gsm_certificate_signing_request_trigger and not isinstance(download_gsm_certificate_signing_request_trigger, int): - raise TypeError("Expected argument 'download_gsm_certificate_signing_request_trigger' to be a int") - pulumi.set(__self__, "download_gsm_certificate_signing_request_trigger", download_gsm_certificate_signing_request_trigger) - 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 generate_gsm_certificate_signing_request_trigger and not isinstance(generate_gsm_certificate_signing_request_trigger, int): - raise TypeError("Expected argument 'generate_gsm_certificate_signing_request_trigger' to be a int") - pulumi.set(__self__, "generate_gsm_certificate_signing_request_trigger", generate_gsm_certificate_signing_request_trigger) - if generate_wallet_trigger and not isinstance(generate_wallet_trigger, int): - raise TypeError("Expected argument 'generate_wallet_trigger' to be a int") - pulumi.set(__self__, "generate_wallet_trigger", generate_wallet_trigger) - if get_connection_string_trigger and not isinstance(get_connection_string_trigger, int): - raise TypeError("Expected argument 'get_connection_string_trigger' to be a int") - pulumi.set(__self__, "get_connection_string_trigger", get_connection_string_trigger) - if gsms and not isinstance(gsms, list): - raise TypeError("Expected argument 'gsms' to be a list") - pulumi.set(__self__, "gsms", gsms) - if id and not isinstance(id, str): - raise TypeError("Expected argument 'id' to be a str") - pulumi.set(__self__, "id", id) - if lifecycle_state and not isinstance(lifecycle_state, str): - raise TypeError("Expected argument 'lifecycle_state' to be a str") - pulumi.set(__self__, "lifecycle_state", lifecycle_state) - if lifecycle_state_details and not isinstance(lifecycle_state_details, str): - raise TypeError("Expected argument 'lifecycle_state_details' to be a str") - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) - if listener_port and not isinstance(listener_port, int): - raise TypeError("Expected argument 'listener_port' to be a int") - pulumi.set(__self__, "listener_port", listener_port) - if listener_port_tls and not isinstance(listener_port_tls, int): - raise TypeError("Expected argument 'listener_port_tls' to be a int") - pulumi.set(__self__, "listener_port_tls", listener_port_tls) - if metadata and not isinstance(metadata, str): - raise TypeError("Expected argument 'metadata' to be a str") - pulumi.set(__self__, "metadata", metadata) - if ncharacter_set and not isinstance(ncharacter_set, str): - raise TypeError("Expected argument 'ncharacter_set' to be a str") - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - if ons_port_local and not isinstance(ons_port_local, int): - raise TypeError("Expected argument 'ons_port_local' to be a int") - pulumi.set(__self__, "ons_port_local", ons_port_local) - if ons_port_remote and not isinstance(ons_port_remote, int): - raise TypeError("Expected argument 'ons_port_remote' to be a int") - pulumi.set(__self__, "ons_port_remote", ons_port_remote) - if patch_operations and not isinstance(patch_operations, list): - raise TypeError("Expected argument 'patch_operations' to be a list") - pulumi.set(__self__, "patch_operations", patch_operations) - if prefix and not isinstance(prefix, str): - raise TypeError("Expected argument 'prefix' to be a str") - pulumi.set(__self__, "prefix", prefix) - if private_endpoint and not isinstance(private_endpoint, str): - raise TypeError("Expected argument 'private_endpoint' to be a str") - pulumi.set(__self__, "private_endpoint", private_endpoint) - if shard_details and not isinstance(shard_details, list): - raise TypeError("Expected argument 'shard_details' to be a list") - pulumi.set(__self__, "shard_details", shard_details) - if sharded_database_id and not isinstance(sharded_database_id, str): - raise TypeError("Expected argument 'sharded_database_id' to be a str") - pulumi.set(__self__, "sharded_database_id", sharded_database_id) - if sharding_method and not isinstance(sharding_method, str): - raise TypeError("Expected argument 'sharding_method' to be a str") - pulumi.set(__self__, "sharding_method", sharding_method) - if start_database_trigger and not isinstance(start_database_trigger, int): - raise TypeError("Expected argument 'start_database_trigger' to be a int") - pulumi.set(__self__, "start_database_trigger", start_database_trigger) - if state and not isinstance(state, str): - raise TypeError("Expected argument 'state' to be a str") - pulumi.set(__self__, "state", state) - if stop_database_trigger and not isinstance(stop_database_trigger, int): - raise TypeError("Expected argument 'stop_database_trigger' to be a int") - pulumi.set(__self__, "stop_database_trigger", stop_database_trigger) - 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 time_zone and not isinstance(time_zone, str): - raise TypeError("Expected argument 'time_zone' to be a str") - pulumi.set(__self__, "time_zone", time_zone) - if upload_signed_certificate_and_generate_wallet_trigger and not isinstance(upload_signed_certificate_and_generate_wallet_trigger, int): - raise TypeError("Expected argument 'upload_signed_certificate_and_generate_wallet_trigger' to be a int") - pulumi.set(__self__, "upload_signed_certificate_and_generate_wallet_trigger", upload_signed_certificate_and_generate_wallet_trigger) - if validate_network_trigger and not isinstance(validate_network_trigger, int): - raise TypeError("Expected argument 'validate_network_trigger' to be a int") - pulumi.set(__self__, "validate_network_trigger", validate_network_trigger) - - @property - @pulumi.getter(name="catalogDetails") - def catalog_details(self) -> Sequence['outputs.GetShardedDatabaseCatalogDetailResult']: - """ - Details of ATP-D based catalogs. - """ - return pulumi.get(self, "catalog_details") - - @property - @pulumi.getter(name="characterSet") - def character_set(self) -> str: - """ - The character set for the database. - """ - return pulumi.get(self, "character_set") - - @property - @pulumi.getter - def chunks(self) -> int: - """ - The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - """ - return pulumi.get(self, "chunks") - - @property - @pulumi.getter(name="clusterCertificateCommonName") - def cluster_certificate_common_name(self) -> str: - """ - The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - """ - return pulumi.get(self, "cluster_certificate_common_name") - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: - """ - Identifier of the compartment in which sharded database exists. - """ - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="configureGsmsTrigger") - def configure_gsms_trigger(self) -> int: - return pulumi.get(self, "configure_gsms_trigger") - - @property - @pulumi.getter(name="configureShardingTrigger") - def configure_sharding_trigger(self) -> int: - return pulumi.get(self, "configure_sharding_trigger") - - @property - @pulumi.getter(name="connectionStrings") - def connection_strings(self) -> Sequence['outputs.GetShardedDatabaseConnectionStringResult']: - """ - Details of sharded database connection String. - """ - return pulumi.get(self, "connection_strings") - - @property - @pulumi.getter(name="dbDeploymentType") - def db_deployment_type(self) -> str: - """ - The database deployment type. - """ - return pulumi.get(self, "db_deployment_type") - - @property - @pulumi.getter(name="dbVersion") - def db_version(self) -> str: - """ - Oracle Database version number. - """ - return pulumi.get(self, "db_version") - - @property - @pulumi.getter(name="dbWorkload") - def db_workload(self) -> str: - """ - Possible workload types. - """ - return pulumi.get(self, "db_workload") - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Mapping[str, str]: - """ - 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(name="displayName") - def display_name(self) -> str: - """ - Oracle sharded database display name. - """ - return pulumi.get(self, "display_name") - - @property - @pulumi.getter(name="downloadGsmCertificateSigningRequestTrigger") - def download_gsm_certificate_signing_request_trigger(self) -> int: - return pulumi.get(self, "download_gsm_certificate_signing_request_trigger") - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Mapping[str, str]: - """ - 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="generateGsmCertificateSigningRequestTrigger") - def generate_gsm_certificate_signing_request_trigger(self) -> int: - return pulumi.get(self, "generate_gsm_certificate_signing_request_trigger") - - @property - @pulumi.getter(name="generateWalletTrigger") - def generate_wallet_trigger(self) -> int: - return pulumi.get(self, "generate_wallet_trigger") - - @property - @pulumi.getter(name="getConnectionStringTrigger") - def get_connection_string_trigger(self) -> int: - return pulumi.get(self, "get_connection_string_trigger") - - @property - @pulumi.getter - def gsms(self) -> Sequence['outputs.GetShardedDatabaseGsmResult']: - """ - Details of GSM instances for the sharded database. - """ - return pulumi.get(self, "gsms") - - @property - @pulumi.getter - def id(self) -> str: - """ - Sharded Database identifier - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="lifecycleState") - def lifecycle_state(self) -> str: - return pulumi.get(self, "lifecycle_state") - - @property - @pulumi.getter(name="lifecycleStateDetails") - def lifecycle_state_details(self) -> str: - """ - Detailed message for the lifecycle state. - """ - return pulumi.get(self, "lifecycle_state_details") - - @property - @pulumi.getter(name="listenerPort") - def listener_port(self) -> int: - """ - The GSM listener port number. - """ - return pulumi.get(self, "listener_port") - - @property - @pulumi.getter(name="listenerPortTls") - def listener_port_tls(self) -> int: - """ - The TLS listener port number for sharded database. - """ - return pulumi.get(self, "listener_port_tls") - - @property - @pulumi.getter - def metadata(self) -> Optional[str]: - """ - Additional metadata related to shard's underlying supporting resource. - """ - return pulumi.get(self, "metadata") - - @property - @pulumi.getter(name="ncharacterSet") - def ncharacter_set(self) -> str: - """ - The national character set for the database. - """ - return pulumi.get(self, "ncharacter_set") - - @property - @pulumi.getter(name="onsPortLocal") - def ons_port_local(self) -> int: - """ - Ons local port number. - """ - return pulumi.get(self, "ons_port_local") - - @property - @pulumi.getter(name="onsPortRemote") - def ons_port_remote(self) -> int: - """ - Ons remote port number. - """ - return pulumi.get(self, "ons_port_remote") - - @property - @pulumi.getter(name="patchOperations") - def patch_operations(self) -> Sequence['outputs.GetShardedDatabasePatchOperationResult']: - return pulumi.get(self, "patch_operations") - - @property - @pulumi.getter - def prefix(self) -> str: - """ - Unique prefix for the sharded database. - """ - return pulumi.get(self, "prefix") - - @property - @pulumi.getter(name="privateEndpoint") - def private_endpoint(self) -> str: - """ - The OCID of private endpoint being used by the sharded database. - """ - return pulumi.get(self, "private_endpoint") - - @property - @pulumi.getter(name="shardDetails") - def shard_details(self) -> Sequence['outputs.GetShardedDatabaseShardDetailResult']: - """ - Details of ATP-D based shards. - """ - return pulumi.get(self, "shard_details") - - @property - @pulumi.getter(name="shardedDatabaseId") - def sharded_database_id(self) -> str: - return pulumi.get(self, "sharded_database_id") - - @property - @pulumi.getter(name="shardingMethod") - def sharding_method(self) -> str: - """ - Sharding Method. - """ - return pulumi.get(self, "sharding_method") - - @property - @pulumi.getter(name="startDatabaseTrigger") - def start_database_trigger(self) -> int: - return pulumi.get(self, "start_database_trigger") - - @property - @pulumi.getter - def state(self) -> str: - """ - Lifecycle states for sharded databases. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stopDatabaseTrigger") - def stop_database_trigger(self) -> int: - return pulumi.get(self, "stop_database_trigger") - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Mapping[str, str]: - """ - Usage of system tag keys. These predefined keys are scoped to namespaces. 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 the Sharded Database was created. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: - """ - The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_updated") - - @property - @pulumi.getter(name="timeZone") - def time_zone(self) -> str: - """ - Timezone associated with the sharded database. - """ - return pulumi.get(self, "time_zone") - - @property - @pulumi.getter(name="uploadSignedCertificateAndGenerateWalletTrigger") - def upload_signed_certificate_and_generate_wallet_trigger(self) -> int: - return pulumi.get(self, "upload_signed_certificate_and_generate_wallet_trigger") - - @property - @pulumi.getter(name="validateNetworkTrigger") - def validate_network_trigger(self) -> int: - return pulumi.get(self, "validate_network_trigger") - - -class AwaitableGetShardedDatabaseResult(GetShardedDatabaseResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetShardedDatabaseResult( - catalog_details=self.catalog_details, - character_set=self.character_set, - chunks=self.chunks, - cluster_certificate_common_name=self.cluster_certificate_common_name, - compartment_id=self.compartment_id, - configure_gsms_trigger=self.configure_gsms_trigger, - configure_sharding_trigger=self.configure_sharding_trigger, - connection_strings=self.connection_strings, - db_deployment_type=self.db_deployment_type, - db_version=self.db_version, - db_workload=self.db_workload, - defined_tags=self.defined_tags, - display_name=self.display_name, - download_gsm_certificate_signing_request_trigger=self.download_gsm_certificate_signing_request_trigger, - freeform_tags=self.freeform_tags, - generate_gsm_certificate_signing_request_trigger=self.generate_gsm_certificate_signing_request_trigger, - generate_wallet_trigger=self.generate_wallet_trigger, - get_connection_string_trigger=self.get_connection_string_trigger, - gsms=self.gsms, - id=self.id, - lifecycle_state=self.lifecycle_state, - lifecycle_state_details=self.lifecycle_state_details, - listener_port=self.listener_port, - listener_port_tls=self.listener_port_tls, - metadata=self.metadata, - ncharacter_set=self.ncharacter_set, - ons_port_local=self.ons_port_local, - ons_port_remote=self.ons_port_remote, - patch_operations=self.patch_operations, - prefix=self.prefix, - private_endpoint=self.private_endpoint, - shard_details=self.shard_details, - sharded_database_id=self.sharded_database_id, - sharding_method=self.sharding_method, - start_database_trigger=self.start_database_trigger, - state=self.state, - stop_database_trigger=self.stop_database_trigger, - system_tags=self.system_tags, - time_created=self.time_created, - time_updated=self.time_updated, - time_zone=self.time_zone, - upload_signed_certificate_and_generate_wallet_trigger=self.upload_signed_certificate_and_generate_wallet_trigger, - validate_network_trigger=self.validate_network_trigger) - - -def get_sharded_database(metadata: Optional[str] = None, - sharded_database_id: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetShardedDatabaseResult: - """ - This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - - Gets the details of the Sharded database identified by given id. - - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_sharded_database = oci.GloballyDistributedDatabase.get_sharded_database(sharded_database_id=test_sharded_database_oci_globally_distributed_database_sharded_database["id"], - metadata=sharded_database_metadata) - ``` - - - :param str metadata: Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - :param str sharded_database_id: Sharded Database identifier - """ - __args__ = dict() - __args__['metadata'] = metadata - __args__['shardedDatabaseId'] = sharded_database_id - opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) - __ret__ = pulumi.runtime.invoke('oci:GloballyDistributedDatabase/getShardedDatabase:getShardedDatabase', __args__, opts=opts, typ=GetShardedDatabaseResult).value - - return AwaitableGetShardedDatabaseResult( - catalog_details=pulumi.get(__ret__, 'catalog_details'), - character_set=pulumi.get(__ret__, 'character_set'), - chunks=pulumi.get(__ret__, 'chunks'), - cluster_certificate_common_name=pulumi.get(__ret__, 'cluster_certificate_common_name'), - compartment_id=pulumi.get(__ret__, 'compartment_id'), - configure_gsms_trigger=pulumi.get(__ret__, 'configure_gsms_trigger'), - configure_sharding_trigger=pulumi.get(__ret__, 'configure_sharding_trigger'), - connection_strings=pulumi.get(__ret__, 'connection_strings'), - db_deployment_type=pulumi.get(__ret__, 'db_deployment_type'), - db_version=pulumi.get(__ret__, 'db_version'), - db_workload=pulumi.get(__ret__, 'db_workload'), - defined_tags=pulumi.get(__ret__, 'defined_tags'), - display_name=pulumi.get(__ret__, 'display_name'), - download_gsm_certificate_signing_request_trigger=pulumi.get(__ret__, 'download_gsm_certificate_signing_request_trigger'), - freeform_tags=pulumi.get(__ret__, 'freeform_tags'), - generate_gsm_certificate_signing_request_trigger=pulumi.get(__ret__, 'generate_gsm_certificate_signing_request_trigger'), - generate_wallet_trigger=pulumi.get(__ret__, 'generate_wallet_trigger'), - get_connection_string_trigger=pulumi.get(__ret__, 'get_connection_string_trigger'), - gsms=pulumi.get(__ret__, 'gsms'), - id=pulumi.get(__ret__, 'id'), - lifecycle_state=pulumi.get(__ret__, 'lifecycle_state'), - lifecycle_state_details=pulumi.get(__ret__, 'lifecycle_state_details'), - listener_port=pulumi.get(__ret__, 'listener_port'), - listener_port_tls=pulumi.get(__ret__, 'listener_port_tls'), - metadata=pulumi.get(__ret__, 'metadata'), - ncharacter_set=pulumi.get(__ret__, 'ncharacter_set'), - ons_port_local=pulumi.get(__ret__, 'ons_port_local'), - ons_port_remote=pulumi.get(__ret__, 'ons_port_remote'), - patch_operations=pulumi.get(__ret__, 'patch_operations'), - prefix=pulumi.get(__ret__, 'prefix'), - private_endpoint=pulumi.get(__ret__, 'private_endpoint'), - shard_details=pulumi.get(__ret__, 'shard_details'), - sharded_database_id=pulumi.get(__ret__, 'sharded_database_id'), - sharding_method=pulumi.get(__ret__, 'sharding_method'), - start_database_trigger=pulumi.get(__ret__, 'start_database_trigger'), - state=pulumi.get(__ret__, 'state'), - stop_database_trigger=pulumi.get(__ret__, 'stop_database_trigger'), - system_tags=pulumi.get(__ret__, 'system_tags'), - time_created=pulumi.get(__ret__, 'time_created'), - time_updated=pulumi.get(__ret__, 'time_updated'), - time_zone=pulumi.get(__ret__, 'time_zone'), - upload_signed_certificate_and_generate_wallet_trigger=pulumi.get(__ret__, 'upload_signed_certificate_and_generate_wallet_trigger'), - validate_network_trigger=pulumi.get(__ret__, 'validate_network_trigger')) - - -@_utilities.lift_output_func(get_sharded_database) -def get_sharded_database_output(metadata: Optional[pulumi.Input[Optional[str]]] = None, - sharded_database_id: Optional[pulumi.Input[str]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetShardedDatabaseResult]: - """ - This data source provides details about a specific Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - - Gets the details of the Sharded database identified by given id. - - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_sharded_database = oci.GloballyDistributedDatabase.get_sharded_database(sharded_database_id=test_sharded_database_oci_globally_distributed_database_sharded_database["id"], - metadata=sharded_database_metadata) - ``` - - - :param str metadata: Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - :param str sharded_database_id: Sharded Database identifier - """ - ... diff --git a/sdk/python/pulumi_oci/globallydistributeddatabase/get_sharded_databases.py b/sdk/python/pulumi_oci/globallydistributeddatabase/get_sharded_databases.py deleted file mode 100644 index 6f15d511d9..0000000000 --- a/sdk/python/pulumi_oci/globallydistributeddatabase/get_sharded_databases.py +++ /dev/null @@ -1,176 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs -from ._inputs import * - -__all__ = [ - 'GetShardedDatabasesResult', - 'AwaitableGetShardedDatabasesResult', - 'get_sharded_databases', - 'get_sharded_databases_output', -] - -@pulumi.output_type -class GetShardedDatabasesResult: - """ - A collection of values returned by getShardedDatabases. - """ - def __init__(__self__, compartment_id=None, display_name=None, filters=None, id=None, sharded_database_collections=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 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 sharded_database_collections and not isinstance(sharded_database_collections, list): - raise TypeError("Expected argument 'sharded_database_collections' to be a list") - pulumi.set(__self__, "sharded_database_collections", sharded_database_collections) - 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: - """ - Identifier of the compartment in which sharded database exists. - """ - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[str]: - """ - Oracle sharded database display name. - """ - return pulumi.get(self, "display_name") - - @property - @pulumi.getter - def filters(self) -> Optional[Sequence['outputs.GetShardedDatabasesFilterResult']]: - 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(name="shardedDatabaseCollections") - def sharded_database_collections(self) -> Sequence['outputs.GetShardedDatabasesShardedDatabaseCollectionResult']: - """ - The list of sharded_database_collection. - """ - return pulumi.get(self, "sharded_database_collections") - - @property - @pulumi.getter - def state(self) -> Optional[str]: - """ - Lifecycle states for sharded databases. - """ - return pulumi.get(self, "state") - - -class AwaitableGetShardedDatabasesResult(GetShardedDatabasesResult): - # pylint: disable=using-constant-test - def __await__(self): - if False: - yield self - return GetShardedDatabasesResult( - compartment_id=self.compartment_id, - display_name=self.display_name, - filters=self.filters, - id=self.id, - sharded_database_collections=self.sharded_database_collections, - state=self.state) - - -def get_sharded_databases(compartment_id: Optional[str] = None, - display_name: Optional[str] = None, - filters: Optional[Sequence[Union['GetShardedDatabasesFilterArgs', 'GetShardedDatabasesFilterArgsDict']]] = None, - state: Optional[str] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetShardedDatabasesResult: - """ - This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. - - List of Sharded databases. - - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_sharded_databases = oci.GloballyDistributedDatabase.get_sharded_databases(compartment_id=compartment_id, - display_name=sharded_database_display_name, - state=sharded_database_state) - ``` - - - :param str compartment_id: The ID of the compartment in which to list resources. - :param str display_name: A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState. - """ - __args__ = dict() - __args__['compartmentId'] = compartment_id - __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:GloballyDistributedDatabase/getShardedDatabases:getShardedDatabases', __args__, opts=opts, typ=GetShardedDatabasesResult).value - - return AwaitableGetShardedDatabasesResult( - compartment_id=pulumi.get(__ret__, 'compartment_id'), - display_name=pulumi.get(__ret__, 'display_name'), - filters=pulumi.get(__ret__, 'filters'), - id=pulumi.get(__ret__, 'id'), - sharded_database_collections=pulumi.get(__ret__, 'sharded_database_collections'), - state=pulumi.get(__ret__, 'state')) - - -@_utilities.lift_output_func(get_sharded_databases) -def get_sharded_databases_output(compartment_id: Optional[pulumi.Input[str]] = None, - display_name: Optional[pulumi.Input[Optional[str]]] = None, - filters: Optional[pulumi.Input[Optional[Sequence[Union['GetShardedDatabasesFilterArgs', 'GetShardedDatabasesFilterArgsDict']]]]] = None, - state: Optional[pulumi.Input[Optional[str]]] = None, - opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetShardedDatabasesResult]: - """ - This data source provides the list of Sharded Databases in Oracle Cloud Infrastructure Globally Distributed Database service. - - List of Sharded databases. - - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_sharded_databases = oci.GloballyDistributedDatabase.get_sharded_databases(compartment_id=compartment_id, - display_name=sharded_database_display_name, - state=sharded_database_state) - ``` - - - :param str compartment_id: The ID of the compartment in which to list resources. - :param str display_name: A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState. - """ - ... diff --git a/sdk/python/pulumi_oci/globallydistributeddatabase/outputs.py b/sdk/python/pulumi_oci/globallydistributeddatabase/outputs.py deleted file mode 100644 index 52b42d83e3..0000000000 --- a/sdk/python/pulumi_oci/globallydistributeddatabase/outputs.py +++ /dev/null @@ -1,2058 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs - -__all__ = [ - 'ShardedDatabaseCatalogDetail', - 'ShardedDatabaseCatalogDetailEncryptionKeyDetails', - 'ShardedDatabaseConnectionString', - 'ShardedDatabaseGsm', - 'ShardedDatabasePatchOperation', - 'ShardedDatabaseShardDetail', - 'ShardedDatabaseShardDetailEncryptionKeyDetails', - 'GetPrivateEndpointsFilterResult', - 'GetPrivateEndpointsPrivateEndpointCollectionResult', - 'GetPrivateEndpointsPrivateEndpointCollectionItemResult', - 'GetShardedDatabaseCatalogDetailResult', - 'GetShardedDatabaseCatalogDetailEncryptionKeyDetailResult', - 'GetShardedDatabaseConnectionStringResult', - 'GetShardedDatabaseGsmResult', - 'GetShardedDatabasePatchOperationResult', - 'GetShardedDatabaseShardDetailResult', - 'GetShardedDatabaseShardDetailEncryptionKeyDetailResult', - 'GetShardedDatabasesFilterResult', - 'GetShardedDatabasesShardedDatabaseCollectionResult', - 'GetShardedDatabasesShardedDatabaseCollectionItemResult', -] - -@pulumi.output_type -class ShardedDatabaseCatalogDetail(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "adminPassword": - suggest = "admin_password" - elif key == "cloudAutonomousVmClusterId": - suggest = "cloud_autonomous_vm_cluster_id" - elif key == "computeCount": - suggest = "compute_count" - elif key == "dataStorageSizeInGbs": - suggest = "data_storage_size_in_gbs" - elif key == "isAutoScalingEnabled": - suggest = "is_auto_scaling_enabled" - elif key == "containerDatabaseId": - suggest = "container_database_id" - elif key == "containerDatabaseParentId": - suggest = "container_database_parent_id" - elif key == "encryptionKeyDetails": - suggest = "encryption_key_details" - elif key == "peerCloudAutonomousVmClusterId": - suggest = "peer_cloud_autonomous_vm_cluster_id" - elif key == "shardGroup": - suggest = "shard_group" - elif key == "supportingResourceId": - suggest = "supporting_resource_id" - elif key == "timeCreated": - suggest = "time_created" - elif key == "timeSslCertificateExpires": - suggest = "time_ssl_certificate_expires" - elif key == "timeUpdated": - suggest = "time_updated" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ShardedDatabaseCatalogDetail. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ShardedDatabaseCatalogDetail.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ShardedDatabaseCatalogDetail.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - admin_password: str, - cloud_autonomous_vm_cluster_id: str, - compute_count: float, - data_storage_size_in_gbs: float, - is_auto_scaling_enabled: bool, - container_database_id: Optional[str] = None, - container_database_parent_id: Optional[str] = None, - encryption_key_details: Optional['outputs.ShardedDatabaseCatalogDetailEncryptionKeyDetails'] = None, - metadata: Optional[Mapping[str, str]] = None, - name: Optional[str] = None, - peer_cloud_autonomous_vm_cluster_id: Optional[str] = None, - shard_group: Optional[str] = None, - status: Optional[str] = None, - supporting_resource_id: Optional[str] = None, - time_created: Optional[str] = None, - time_ssl_certificate_expires: Optional[str] = None, - time_updated: Optional[str] = None): - """ - :param str admin_password: Admin password for the catalog database. - :param str cloud_autonomous_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - :param float compute_count: The compute count for the catalog database. It has to be in multiple of 2. - :param float data_storage_size_in_gbs: The data disk group size to be allocated in GBs for the catalog database. - :param bool is_auto_scaling_enabled: Determines the auto-scaling mode for the catalog database. - :param str container_database_id: Identifier of the underlying container database. - :param str container_database_parent_id: Identifier of the underlying container database parent. - :param 'ShardedDatabaseCatalogDetailEncryptionKeyDetailsArgs' encryption_key_details: Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - :param Mapping[str, str] metadata: Additional metadata related to shard's underlying supporting resource. - :param str name: Name of the shard. - :param str peer_cloud_autonomous_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - :param str shard_group: Name of the shard-group to which the shard belongs. - :param str status: Status of shard or catalog or gsm for the sharded database. - :param str supporting_resource_id: Identifier of the underlying supporting resource. - :param str time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string - :param str time_ssl_certificate_expires: The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - :param str time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "data_storage_size_in_gbs", data_storage_size_in_gbs) - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) - if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) - if container_database_parent_id is not None: - pulumi.set(__self__, "container_database_parent_id", container_database_parent_id) - if encryption_key_details is not None: - pulumi.set(__self__, "encryption_key_details", encryption_key_details) - if metadata is not None: - pulumi.set(__self__, "metadata", metadata) - if name is not None: - pulumi.set(__self__, "name", name) - 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) - if shard_group is not None: - pulumi.set(__self__, "shard_group", shard_group) - if status is not None: - pulumi.set(__self__, "status", status) - if supporting_resource_id is not None: - pulumi.set(__self__, "supporting_resource_id", supporting_resource_id) - if time_created is not None: - pulumi.set(__self__, "time_created", time_created) - if time_ssl_certificate_expires is not None: - pulumi.set(__self__, "time_ssl_certificate_expires", time_ssl_certificate_expires) - if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) - - @property - @pulumi.getter(name="adminPassword") - def admin_password(self) -> str: - """ - Admin password for the catalog database. - """ - return pulumi.get(self, "admin_password") - - @property - @pulumi.getter(name="cloudAutonomousVmClusterId") - def cloud_autonomous_vm_cluster_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - """ - return pulumi.get(self, "cloud_autonomous_vm_cluster_id") - - @property - @pulumi.getter(name="computeCount") - def compute_count(self) -> float: - """ - The compute count for the catalog database. It has to be in multiple of 2. - """ - return pulumi.get(self, "compute_count") - - @property - @pulumi.getter(name="dataStorageSizeInGbs") - def data_storage_size_in_gbs(self) -> float: - """ - The data disk group size to be allocated in GBs for the catalog database. - """ - return pulumi.get(self, "data_storage_size_in_gbs") - - @property - @pulumi.getter(name="isAutoScalingEnabled") - def is_auto_scaling_enabled(self) -> bool: - """ - Determines the auto-scaling mode for the catalog database. - """ - return pulumi.get(self, "is_auto_scaling_enabled") - - @property - @pulumi.getter(name="containerDatabaseId") - def container_database_id(self) -> Optional[str]: - """ - Identifier of the underlying container database. - """ - return pulumi.get(self, "container_database_id") - - @property - @pulumi.getter(name="containerDatabaseParentId") - def container_database_parent_id(self) -> Optional[str]: - """ - Identifier of the underlying container database parent. - """ - return pulumi.get(self, "container_database_parent_id") - - @property - @pulumi.getter(name="encryptionKeyDetails") - def encryption_key_details(self) -> Optional['outputs.ShardedDatabaseCatalogDetailEncryptionKeyDetails']: - """ - Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - """ - return pulumi.get(self, "encryption_key_details") - - @property - @pulumi.getter - def metadata(self) -> Optional[Mapping[str, str]]: - """ - Additional metadata related to shard's underlying supporting resource. - """ - return pulumi.get(self, "metadata") - - @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - Name of the shard. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="peerCloudAutonomousVmClusterId") - def peer_cloud_autonomous_vm_cluster_id(self) -> Optional[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - """ - return pulumi.get(self, "peer_cloud_autonomous_vm_cluster_id") - - @property - @pulumi.getter(name="shardGroup") - def shard_group(self) -> Optional[str]: - """ - Name of the shard-group to which the shard belongs. - """ - return pulumi.get(self, "shard_group") - - @property - @pulumi.getter - def status(self) -> Optional[str]: - """ - Status of shard or catalog or gsm for the sharded database. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter(name="supportingResourceId") - def supporting_resource_id(self) -> Optional[str]: - """ - Identifier of the underlying supporting resource. - """ - return pulumi.get(self, "supporting_resource_id") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> Optional[str]: - """ - The time the the Sharded Database was created. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeSslCertificateExpires") - def time_ssl_certificate_expires(self) -> Optional[str]: - """ - The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_ssl_certificate_expires") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> Optional[str]: - """ - The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_updated") - - -@pulumi.output_type -class ShardedDatabaseCatalogDetailEncryptionKeyDetails(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "kmsKeyId": - suggest = "kms_key_id" - elif key == "vaultId": - suggest = "vault_id" - elif key == "kmsKeyVersionId": - suggest = "kms_key_version_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ShardedDatabaseCatalogDetailEncryptionKeyDetails. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ShardedDatabaseCatalogDetailEncryptionKeyDetails.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ShardedDatabaseCatalogDetailEncryptionKeyDetails.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - kms_key_id: str, - vault_id: str, - kms_key_version_id: Optional[str] = None): - """ - :param str kms_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - :param str kms_key_version_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - """ - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "vault_id", vault_id) - if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - - @property - @pulumi.getter(name="kmsKeyId") - def kms_key_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - """ - return pulumi.get(self, "kms_key_id") - - @property - @pulumi.getter(name="vaultId") - def vault_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - """ - return pulumi.get(self, "vault_id") - - @property - @pulumi.getter(name="kmsKeyVersionId") - def kms_key_version_id(self) -> Optional[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - """ - return pulumi.get(self, "kms_key_version_id") - - -@pulumi.output_type -class ShardedDatabaseConnectionString(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "allConnectionStrings": - suggest = "all_connection_strings" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ShardedDatabaseConnectionString. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ShardedDatabaseConnectionString.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ShardedDatabaseConnectionString.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - all_connection_strings: Optional[Mapping[str, str]] = None): - """ - :param Mapping[str, str] all_connection_strings: Collection of connection strings. - """ - if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - - @property - @pulumi.getter(name="allConnectionStrings") - def all_connection_strings(self) -> Optional[Mapping[str, str]]: - """ - Collection of connection strings. - """ - return pulumi.get(self, "all_connection_strings") - - -@pulumi.output_type -class ShardedDatabaseGsm(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "computeCount": - suggest = "compute_count" - elif key == "dataStorageSizeInGbs": - suggest = "data_storage_size_in_gbs" - elif key == "supportingResourceId": - suggest = "supporting_resource_id" - elif key == "timeCreated": - suggest = "time_created" - elif key == "timeSslCertificateExpires": - suggest = "time_ssl_certificate_expires" - elif key == "timeUpdated": - suggest = "time_updated" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ShardedDatabaseGsm. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ShardedDatabaseGsm.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ShardedDatabaseGsm.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - compute_count: Optional[float] = None, - data_storage_size_in_gbs: Optional[float] = None, - metadata: Optional[Mapping[str, str]] = None, - name: Optional[str] = None, - status: Optional[str] = None, - supporting_resource_id: Optional[str] = None, - time_created: Optional[str] = None, - time_ssl_certificate_expires: Optional[str] = None, - time_updated: Optional[str] = None): - """ - :param float compute_count: The compute amount available to the underlying autonomous database associated with shard. - :param float data_storage_size_in_gbs: The data disk group size to be allocated in GBs. - :param Mapping[str, str] metadata: Additional metadata related to shard's underlying supporting resource. - :param str name: Name of the shard. - :param str status: Status of shard or catalog or gsm for the sharded database. - :param str supporting_resource_id: Identifier of the underlying supporting resource. - :param str time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string - :param str time_ssl_certificate_expires: The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - :param str time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) - if data_storage_size_in_gbs is not None: - pulumi.set(__self__, "data_storage_size_in_gbs", data_storage_size_in_gbs) - if metadata is not None: - pulumi.set(__self__, "metadata", metadata) - if name is not None: - pulumi.set(__self__, "name", name) - if status is not None: - pulumi.set(__self__, "status", status) - if supporting_resource_id is not None: - pulumi.set(__self__, "supporting_resource_id", supporting_resource_id) - if time_created is not None: - pulumi.set(__self__, "time_created", time_created) - if time_ssl_certificate_expires is not None: - pulumi.set(__self__, "time_ssl_certificate_expires", time_ssl_certificate_expires) - if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) - - @property - @pulumi.getter(name="computeCount") - def compute_count(self) -> Optional[float]: - """ - The compute amount available to the underlying autonomous database associated with shard. - """ - return pulumi.get(self, "compute_count") - - @property - @pulumi.getter(name="dataStorageSizeInGbs") - def data_storage_size_in_gbs(self) -> Optional[float]: - """ - The data disk group size to be allocated in GBs. - """ - return pulumi.get(self, "data_storage_size_in_gbs") - - @property - @pulumi.getter - def metadata(self) -> Optional[Mapping[str, str]]: - """ - Additional metadata related to shard's underlying supporting resource. - """ - return pulumi.get(self, "metadata") - - @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - Name of the shard. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def status(self) -> Optional[str]: - """ - Status of shard or catalog or gsm for the sharded database. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter(name="supportingResourceId") - def supporting_resource_id(self) -> Optional[str]: - """ - Identifier of the underlying supporting resource. - """ - return pulumi.get(self, "supporting_resource_id") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> Optional[str]: - """ - The time the the Sharded Database was created. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeSslCertificateExpires") - def time_ssl_certificate_expires(self) -> Optional[str]: - """ - The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_ssl_certificate_expires") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> Optional[str]: - """ - The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_updated") - - -@pulumi.output_type -class ShardedDatabasePatchOperation(dict): - def __init__(__self__, *, - operation: str, - selection: str, - value: str): - """ - :param str operation: (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - :param str selection: (Updatable) - :param str value: (Updatable) - """ - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "selection", selection) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def operation(self) -> str: - """ - (Updatable) The operation can be one of these values: `INSERT`, `MERGE`, `REMOVE` - """ - return pulumi.get(self, "operation") - - @property - @pulumi.getter - def selection(self) -> str: - """ - (Updatable) - """ - return pulumi.get(self, "selection") - - @property - @pulumi.getter - def value(self) -> str: - """ - (Updatable) - """ - return pulumi.get(self, "value") - - -@pulumi.output_type -class ShardedDatabaseShardDetail(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "adminPassword": - suggest = "admin_password" - elif key == "cloudAutonomousVmClusterId": - suggest = "cloud_autonomous_vm_cluster_id" - elif key == "computeCount": - suggest = "compute_count" - elif key == "dataStorageSizeInGbs": - suggest = "data_storage_size_in_gbs" - elif key == "isAutoScalingEnabled": - suggest = "is_auto_scaling_enabled" - elif key == "containerDatabaseId": - suggest = "container_database_id" - elif key == "containerDatabaseParentId": - suggest = "container_database_parent_id" - elif key == "encryptionKeyDetails": - suggest = "encryption_key_details" - elif key == "peerCloudAutonomousVmClusterId": - suggest = "peer_cloud_autonomous_vm_cluster_id" - elif key == "shardGroup": - suggest = "shard_group" - elif key == "shardSpace": - suggest = "shard_space" - elif key == "supportingResourceId": - suggest = "supporting_resource_id" - elif key == "timeCreated": - suggest = "time_created" - elif key == "timeSslCertificateExpires": - suggest = "time_ssl_certificate_expires" - elif key == "timeUpdated": - suggest = "time_updated" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ShardedDatabaseShardDetail. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ShardedDatabaseShardDetail.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ShardedDatabaseShardDetail.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - admin_password: str, - cloud_autonomous_vm_cluster_id: str, - compute_count: float, - data_storage_size_in_gbs: float, - is_auto_scaling_enabled: bool, - container_database_id: Optional[str] = None, - container_database_parent_id: Optional[str] = None, - encryption_key_details: Optional['outputs.ShardedDatabaseShardDetailEncryptionKeyDetails'] = None, - metadata: Optional[Mapping[str, str]] = None, - name: Optional[str] = None, - peer_cloud_autonomous_vm_cluster_id: Optional[str] = None, - shard_group: Optional[str] = None, - shard_space: Optional[str] = None, - status: Optional[str] = None, - supporting_resource_id: Optional[str] = None, - time_created: Optional[str] = None, - time_ssl_certificate_expires: Optional[str] = None, - time_updated: Optional[str] = None): - """ - :param str admin_password: Admin password for shard database. - :param str cloud_autonomous_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - :param float compute_count: The compute count for the shard database. It has to be in multiples of 2. - :param float data_storage_size_in_gbs: The data disk group size to be allocated in GBs for the shard database. - :param bool is_auto_scaling_enabled: Determines the auto-scaling mode for the shard database. - :param str container_database_id: Identifier of the underlying container database. - :param str container_database_parent_id: Identifier of the underlying container database parent. - :param 'ShardedDatabaseShardDetailEncryptionKeyDetailsArgs' encryption_key_details: Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - :param Mapping[str, str] metadata: Additional metadata related to shard's underlying supporting resource. - :param str name: Name of the shard. - :param str peer_cloud_autonomous_vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - :param str shard_group: Name of the shard-group to which the shard belongs. - :param str shard_space: The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - :param str status: Status of shard or catalog or gsm for the sharded database. - :param str supporting_resource_id: Identifier of the underlying supporting resource. - :param str time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string - :param str time_ssl_certificate_expires: The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - :param str time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "data_storage_size_in_gbs", data_storage_size_in_gbs) - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) - if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) - if container_database_parent_id is not None: - pulumi.set(__self__, "container_database_parent_id", container_database_parent_id) - if encryption_key_details is not None: - pulumi.set(__self__, "encryption_key_details", encryption_key_details) - if metadata is not None: - pulumi.set(__self__, "metadata", metadata) - if name is not None: - pulumi.set(__self__, "name", name) - 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) - if shard_group is not None: - pulumi.set(__self__, "shard_group", shard_group) - if shard_space is not None: - pulumi.set(__self__, "shard_space", shard_space) - if status is not None: - pulumi.set(__self__, "status", status) - if supporting_resource_id is not None: - pulumi.set(__self__, "supporting_resource_id", supporting_resource_id) - if time_created is not None: - pulumi.set(__self__, "time_created", time_created) - if time_ssl_certificate_expires is not None: - pulumi.set(__self__, "time_ssl_certificate_expires", time_ssl_certificate_expires) - if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) - - @property - @pulumi.getter(name="adminPassword") - def admin_password(self) -> str: - """ - Admin password for shard database. - """ - return pulumi.get(self, "admin_password") - - @property - @pulumi.getter(name="cloudAutonomousVmClusterId") - def cloud_autonomous_vm_cluster_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the cloud Autonomous Exadata VM Cluster. - """ - return pulumi.get(self, "cloud_autonomous_vm_cluster_id") - - @property - @pulumi.getter(name="computeCount") - def compute_count(self) -> float: - """ - The compute count for the shard database. It has to be in multiples of 2. - """ - return pulumi.get(self, "compute_count") - - @property - @pulumi.getter(name="dataStorageSizeInGbs") - def data_storage_size_in_gbs(self) -> float: - """ - The data disk group size to be allocated in GBs for the shard database. - """ - return pulumi.get(self, "data_storage_size_in_gbs") - - @property - @pulumi.getter(name="isAutoScalingEnabled") - def is_auto_scaling_enabled(self) -> bool: - """ - Determines the auto-scaling mode for the shard database. - """ - return pulumi.get(self, "is_auto_scaling_enabled") - - @property - @pulumi.getter(name="containerDatabaseId") - def container_database_id(self) -> Optional[str]: - """ - Identifier of the underlying container database. - """ - return pulumi.get(self, "container_database_id") - - @property - @pulumi.getter(name="containerDatabaseParentId") - def container_database_parent_id(self) -> Optional[str]: - """ - Identifier of the underlying container database parent. - """ - return pulumi.get(self, "container_database_parent_id") - - @property - @pulumi.getter(name="encryptionKeyDetails") - def encryption_key_details(self) -> Optional['outputs.ShardedDatabaseShardDetailEncryptionKeyDetails']: - """ - Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - """ - return pulumi.get(self, "encryption_key_details") - - @property - @pulumi.getter - def metadata(self) -> Optional[Mapping[str, str]]: - """ - Additional metadata related to shard's underlying supporting resource. - """ - return pulumi.get(self, "metadata") - - @property - @pulumi.getter - def name(self) -> Optional[str]: - """ - Name of the shard. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="peerCloudAutonomousVmClusterId") - def peer_cloud_autonomous_vm_cluster_id(self) -> Optional[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the peer cloud Autonomous Exadata VM Cluster. - """ - return pulumi.get(self, "peer_cloud_autonomous_vm_cluster_id") - - @property - @pulumi.getter(name="shardGroup") - def shard_group(self) -> Optional[str]: - """ - Name of the shard-group to which the shard belongs. - """ - return pulumi.get(self, "shard_group") - - @property - @pulumi.getter(name="shardSpace") - def shard_space(self) -> Optional[str]: - """ - The shard space name for the shard database. Shard space for existing shard cannot be changed, once shard is created. Shard space name shall be used while creation of new shards. For User defined sharding, every shard must have a unique shard space name. For system defined sharding, shard space name is not required. - """ - return pulumi.get(self, "shard_space") - - @property - @pulumi.getter - def status(self) -> Optional[str]: - """ - Status of shard or catalog or gsm for the sharded database. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter(name="supportingResourceId") - def supporting_resource_id(self) -> Optional[str]: - """ - Identifier of the underlying supporting resource. - """ - return pulumi.get(self, "supporting_resource_id") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> Optional[str]: - """ - The time the the Sharded Database was created. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeSslCertificateExpires") - def time_ssl_certificate_expires(self) -> Optional[str]: - """ - The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_ssl_certificate_expires") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> Optional[str]: - """ - The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_updated") - - -@pulumi.output_type -class ShardedDatabaseShardDetailEncryptionKeyDetails(dict): - @staticmethod - def __key_warning(key: str): - suggest = None - if key == "kmsKeyId": - suggest = "kms_key_id" - elif key == "vaultId": - suggest = "vault_id" - elif key == "kmsKeyVersionId": - suggest = "kms_key_version_id" - - if suggest: - pulumi.log.warn(f"Key '{key}' not found in ShardedDatabaseShardDetailEncryptionKeyDetails. Access the value via the '{suggest}' property getter instead.") - - def __getitem__(self, key: str) -> Any: - ShardedDatabaseShardDetailEncryptionKeyDetails.__key_warning(key) - return super().__getitem__(key) - - def get(self, key: str, default = None) -> Any: - ShardedDatabaseShardDetailEncryptionKeyDetails.__key_warning(key) - return super().get(key, default) - - def __init__(__self__, *, - kms_key_id: str, - vault_id: str, - kms_key_version_id: Optional[str] = None): - """ - :param str kms_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - :param str kms_key_version_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - """ - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "vault_id", vault_id) - if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - - @property - @pulumi.getter(name="kmsKeyId") - def kms_key_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - """ - return pulumi.get(self, "kms_key_id") - - @property - @pulumi.getter(name="vaultId") - def vault_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - """ - return pulumi.get(self, "vault_id") - - @property - @pulumi.getter(name="kmsKeyVersionId") - def kms_key_version_id(self) -> Optional[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - """ - return pulumi.get(self, "kms_key_version_id") - - -@pulumi.output_type -class GetPrivateEndpointsFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "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 GetPrivateEndpointsPrivateEndpointCollectionResult(dict): - def __init__(__self__, *, - items: Sequence['outputs.GetPrivateEndpointsPrivateEndpointCollectionItemResult']): - pulumi.set(__self__, "items", items) - - @property - @pulumi.getter - def items(self) -> Sequence['outputs.GetPrivateEndpointsPrivateEndpointCollectionItemResult']: - return pulumi.get(self, "items") - - -@pulumi.output_type -class GetPrivateEndpointsPrivateEndpointCollectionItemResult(dict): - def __init__(__self__, *, - compartment_id: str, - defined_tags: Mapping[str, str], - description: str, - display_name: str, - freeform_tags: Mapping[str, str], - id: str, - lifecycle_state_details: str, - nsg_ids: Sequence[str], - private_ip: str, - sharded_databases: Sequence[str], - state: str, - subnet_id: str, - system_tags: Mapping[str, str], - time_created: str, - time_updated: str, - vcn_id: str): - """ - :param str compartment_id: The ID of the compartment in which to list resources. - :param Mapping[str, str] 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: PrivateEndpoint description. - :param str display_name: A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - :param Mapping[str, str] 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 identifier of the Private Endpoint. - :param str lifecycle_state_details: Detailed message for the lifecycle state. - :param Sequence[str] nsg_ids: The OCIDs of the network security groups that the private endpoint belongs to. - :param str private_ip: IP address of the Private Endpoint. - :param Sequence[str] sharded_databases: The OCIDs of sharded databases that consumes the given private endpoint. - :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState. - :param str subnet_id: Identifier of the subnet in which private endpoint exists. - :param Mapping[str, str] 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 PrivateEndpoint was first created. An RFC3339 formatted datetime string - :param str time_updated: The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - :param str vcn_id: Identifier of the VCN in which subnet exists. - """ - 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_state_details", lifecycle_state_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "sharded_databases", sharded_databases) - 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) - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: - """ - The ID 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, str]: - """ - 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: - """ - PrivateEndpoint description. - """ - return pulumi.get(self, "description") - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> str: - """ - A filter to return only private endpoint that match the entire name given. The match is not case sensitive. - """ - return pulumi.get(self, "display_name") - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Mapping[str, str]: - """ - 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 identifier of the Private Endpoint. - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="lifecycleStateDetails") - def lifecycle_state_details(self) -> str: - """ - Detailed message for the lifecycle state. - """ - return pulumi.get(self, "lifecycle_state_details") - - @property - @pulumi.getter(name="nsgIds") - def nsg_ids(self) -> Sequence[str]: - """ - The OCIDs of the network security groups that the private endpoint belongs to. - """ - return pulumi.get(self, "nsg_ids") - - @property - @pulumi.getter(name="privateIp") - def private_ip(self) -> str: - """ - IP address of the Private Endpoint. - """ - return pulumi.get(self, "private_ip") - - @property - @pulumi.getter(name="shardedDatabases") - def sharded_databases(self) -> Sequence[str]: - """ - The OCIDs of sharded databases that consumes the given private endpoint. - """ - return pulumi.get(self, "sharded_databases") - - @property - @pulumi.getter - def state(self) -> str: - """ - A filter to return only resources their lifecycleState matches the given lifecycleState. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="subnetId") - def subnet_id(self) -> str: - """ - Identifier of the subnet in which private endpoint exists. - """ - return pulumi.get(self, "subnet_id") - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Mapping[str, str]: - """ - Usage of system tag keys. These predefined keys are scoped to namespaces. 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 PrivateEndpoint was first created. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: - """ - The time the Private Endpoint was last updated. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_updated") - - @property - @pulumi.getter(name="vcnId") - def vcn_id(self) -> str: - """ - Identifier of the VCN in which subnet exists. - """ - return pulumi.get(self, "vcn_id") - - -@pulumi.output_type -class GetShardedDatabaseCatalogDetailResult(dict): - def __init__(__self__, *, - admin_password: str, - cloud_autonomous_vm_cluster_id: str, - compute_count: float, - container_database_id: str, - container_database_parent_id: str, - data_storage_size_in_gbs: float, - encryption_key_details: Sequence['outputs.GetShardedDatabaseCatalogDetailEncryptionKeyDetailResult'], - is_auto_scaling_enabled: bool, - metadata: Mapping[str, str], - name: str, - peer_cloud_autonomous_vm_cluster_id: str, - shard_group: str, - status: str, - supporting_resource_id: str, - time_created: str, - time_ssl_certificate_expires: str, - time_updated: str): - """ - :param str cloud_autonomous_vm_cluster_id: Identifier of the primary cloudAutonomousVmCluster for the shard. - :param float compute_count: The compute amount available to the underlying autonomous database associated with shard. - :param str container_database_id: Identifier of the underlying container database. - :param str container_database_parent_id: Identifier of the underlying container database parent. - :param float data_storage_size_in_gbs: The data disk group size to be allocated in GBs. - :param Sequence['GetShardedDatabaseCatalogDetailEncryptionKeyDetailArgs'] encryption_key_details: Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - :param bool is_auto_scaling_enabled: Determines the auto-scaling mode. - :param Mapping[str, str] metadata: Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - :param str name: Name of the shard. - :param str peer_cloud_autonomous_vm_cluster_id: Identifier of the peer cloudAutonomousVmCluster for the shard. - :param str shard_group: Name of the shard-group to which the shard belongs. - :param str status: Status of shard or catalog or gsm for the sharded database. - :param str supporting_resource_id: Identifier of the underlying supporting resource. - :param str time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string - :param str time_ssl_certificate_expires: The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - :param str time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "container_database_id", container_database_id) - pulumi.set(__self__, "container_database_parent_id", container_database_parent_id) - pulumi.set(__self__, "data_storage_size_in_gbs", data_storage_size_in_gbs) - pulumi.set(__self__, "encryption_key_details", encryption_key_details) - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "peer_cloud_autonomous_vm_cluster_id", peer_cloud_autonomous_vm_cluster_id) - pulumi.set(__self__, "shard_group", shard_group) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "supporting_resource_id", supporting_resource_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_ssl_certificate_expires", time_ssl_certificate_expires) - pulumi.set(__self__, "time_updated", time_updated) - - @property - @pulumi.getter(name="adminPassword") - def admin_password(self) -> str: - return pulumi.get(self, "admin_password") - - @property - @pulumi.getter(name="cloudAutonomousVmClusterId") - def cloud_autonomous_vm_cluster_id(self) -> str: - """ - Identifier of the primary cloudAutonomousVmCluster for the shard. - """ - return pulumi.get(self, "cloud_autonomous_vm_cluster_id") - - @property - @pulumi.getter(name="computeCount") - def compute_count(self) -> float: - """ - The compute amount available to the underlying autonomous database associated with shard. - """ - return pulumi.get(self, "compute_count") - - @property - @pulumi.getter(name="containerDatabaseId") - def container_database_id(self) -> str: - """ - Identifier of the underlying container database. - """ - return pulumi.get(self, "container_database_id") - - @property - @pulumi.getter(name="containerDatabaseParentId") - def container_database_parent_id(self) -> str: - """ - Identifier of the underlying container database parent. - """ - return pulumi.get(self, "container_database_parent_id") - - @property - @pulumi.getter(name="dataStorageSizeInGbs") - def data_storage_size_in_gbs(self) -> float: - """ - The data disk group size to be allocated in GBs. - """ - return pulumi.get(self, "data_storage_size_in_gbs") - - @property - @pulumi.getter(name="encryptionKeyDetails") - def encryption_key_details(self) -> Sequence['outputs.GetShardedDatabaseCatalogDetailEncryptionKeyDetailResult']: - """ - Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - """ - return pulumi.get(self, "encryption_key_details") - - @property - @pulumi.getter(name="isAutoScalingEnabled") - def is_auto_scaling_enabled(self) -> bool: - """ - Determines the auto-scaling mode. - """ - return pulumi.get(self, "is_auto_scaling_enabled") - - @property - @pulumi.getter - def metadata(self) -> Mapping[str, str]: - """ - Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - """ - return pulumi.get(self, "metadata") - - @property - @pulumi.getter - def name(self) -> str: - """ - Name of the shard. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="peerCloudAutonomousVmClusterId") - def peer_cloud_autonomous_vm_cluster_id(self) -> str: - """ - Identifier of the peer cloudAutonomousVmCluster for the shard. - """ - return pulumi.get(self, "peer_cloud_autonomous_vm_cluster_id") - - @property - @pulumi.getter(name="shardGroup") - def shard_group(self) -> str: - """ - Name of the shard-group to which the shard belongs. - """ - return pulumi.get(self, "shard_group") - - @property - @pulumi.getter - def status(self) -> str: - """ - Status of shard or catalog or gsm for the sharded database. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter(name="supportingResourceId") - def supporting_resource_id(self) -> str: - """ - Identifier of the underlying supporting resource. - """ - return pulumi.get(self, "supporting_resource_id") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> str: - """ - The time the the Sharded Database was created. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeSslCertificateExpires") - def time_ssl_certificate_expires(self) -> str: - """ - The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_ssl_certificate_expires") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: - """ - The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_updated") - - -@pulumi.output_type -class GetShardedDatabaseCatalogDetailEncryptionKeyDetailResult(dict): - def __init__(__self__, *, - kms_key_id: str, - kms_key_version_id: str, - vault_id: str): - """ - :param str kms_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - :param str kms_key_version_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - """ - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "vault_id", vault_id) - - @property - @pulumi.getter(name="kmsKeyId") - def kms_key_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - """ - return pulumi.get(self, "kms_key_id") - - @property - @pulumi.getter(name="kmsKeyVersionId") - def kms_key_version_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - """ - return pulumi.get(self, "kms_key_version_id") - - @property - @pulumi.getter(name="vaultId") - def vault_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - """ - return pulumi.get(self, "vault_id") - - -@pulumi.output_type -class GetShardedDatabaseConnectionStringResult(dict): - def __init__(__self__, *, - all_connection_strings: Mapping[str, str]): - """ - :param Mapping[str, str] all_connection_strings: Collection of connection strings. - """ - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - - @property - @pulumi.getter(name="allConnectionStrings") - def all_connection_strings(self) -> Mapping[str, str]: - """ - Collection of connection strings. - """ - return pulumi.get(self, "all_connection_strings") - - -@pulumi.output_type -class GetShardedDatabaseGsmResult(dict): - def __init__(__self__, *, - compute_count: float, - data_storage_size_in_gbs: float, - metadata: Mapping[str, str], - name: str, - status: str, - supporting_resource_id: str, - time_created: str, - time_ssl_certificate_expires: str, - time_updated: str): - """ - :param float compute_count: The compute amount available to the underlying autonomous database associated with shard. - :param float data_storage_size_in_gbs: The data disk group size to be allocated in GBs. - :param Mapping[str, str] metadata: Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - :param str name: Name of the shard. - :param str status: Status of shard or catalog or gsm for the sharded database. - :param str supporting_resource_id: Identifier of the underlying supporting resource. - :param str time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string - :param str time_ssl_certificate_expires: The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - :param str time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "data_storage_size_in_gbs", data_storage_size_in_gbs) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "supporting_resource_id", supporting_resource_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_ssl_certificate_expires", time_ssl_certificate_expires) - pulumi.set(__self__, "time_updated", time_updated) - - @property - @pulumi.getter(name="computeCount") - def compute_count(self) -> float: - """ - The compute amount available to the underlying autonomous database associated with shard. - """ - return pulumi.get(self, "compute_count") - - @property - @pulumi.getter(name="dataStorageSizeInGbs") - def data_storage_size_in_gbs(self) -> float: - """ - The data disk group size to be allocated in GBs. - """ - return pulumi.get(self, "data_storage_size_in_gbs") - - @property - @pulumi.getter - def metadata(self) -> Mapping[str, str]: - """ - Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - """ - return pulumi.get(self, "metadata") - - @property - @pulumi.getter - def name(self) -> str: - """ - Name of the shard. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter - def status(self) -> str: - """ - Status of shard or catalog or gsm for the sharded database. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter(name="supportingResourceId") - def supporting_resource_id(self) -> str: - """ - Identifier of the underlying supporting resource. - """ - return pulumi.get(self, "supporting_resource_id") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> str: - """ - The time the the Sharded Database was created. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeSslCertificateExpires") - def time_ssl_certificate_expires(self) -> str: - """ - The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_ssl_certificate_expires") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: - """ - The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_updated") - - -@pulumi.output_type -class GetShardedDatabasePatchOperationResult(dict): - def __init__(__self__, *, - operation: str, - selection: str, - value: str): - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "selection", selection) - pulumi.set(__self__, "value", value) - - @property - @pulumi.getter - def operation(self) -> str: - return pulumi.get(self, "operation") - - @property - @pulumi.getter - def selection(self) -> str: - return pulumi.get(self, "selection") - - @property - @pulumi.getter - def value(self) -> str: - return pulumi.get(self, "value") - - -@pulumi.output_type -class GetShardedDatabaseShardDetailResult(dict): - def __init__(__self__, *, - admin_password: str, - cloud_autonomous_vm_cluster_id: str, - compute_count: float, - container_database_id: str, - container_database_parent_id: str, - data_storage_size_in_gbs: float, - encryption_key_details: Sequence['outputs.GetShardedDatabaseShardDetailEncryptionKeyDetailResult'], - is_auto_scaling_enabled: bool, - metadata: Mapping[str, str], - name: str, - peer_cloud_autonomous_vm_cluster_id: str, - shard_group: str, - shard_space: str, - status: str, - supporting_resource_id: str, - time_created: str, - time_ssl_certificate_expires: str, - time_updated: str): - """ - :param str cloud_autonomous_vm_cluster_id: Identifier of the primary cloudAutonomousVmCluster for the shard. - :param float compute_count: The compute amount available to the underlying autonomous database associated with shard. - :param str container_database_id: Identifier of the underlying container database. - :param str container_database_parent_id: Identifier of the underlying container database parent. - :param float data_storage_size_in_gbs: The data disk group size to be allocated in GBs. - :param Sequence['GetShardedDatabaseShardDetailEncryptionKeyDetailArgs'] encryption_key_details: Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - :param bool is_auto_scaling_enabled: Determines the auto-scaling mode. - :param Mapping[str, str] metadata: Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - :param str name: Name of the shard. - :param str peer_cloud_autonomous_vm_cluster_id: Identifier of the peer cloudAutonomousVmCluster for the shard. - :param str shard_group: Name of the shard-group to which the shard belongs. - :param str shard_space: Shard space name. - :param str status: Status of shard or catalog or gsm for the sharded database. - :param str supporting_resource_id: Identifier of the underlying supporting resource. - :param str time_created: The time the the Sharded Database was created. An RFC3339 formatted datetime string - :param str time_ssl_certificate_expires: The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - :param str time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "container_database_id", container_database_id) - pulumi.set(__self__, "container_database_parent_id", container_database_parent_id) - pulumi.set(__self__, "data_storage_size_in_gbs", data_storage_size_in_gbs) - pulumi.set(__self__, "encryption_key_details", encryption_key_details) - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "peer_cloud_autonomous_vm_cluster_id", peer_cloud_autonomous_vm_cluster_id) - pulumi.set(__self__, "shard_group", shard_group) - pulumi.set(__self__, "shard_space", shard_space) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "supporting_resource_id", supporting_resource_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_ssl_certificate_expires", time_ssl_certificate_expires) - pulumi.set(__self__, "time_updated", time_updated) - - @property - @pulumi.getter(name="adminPassword") - def admin_password(self) -> str: - return pulumi.get(self, "admin_password") - - @property - @pulumi.getter(name="cloudAutonomousVmClusterId") - def cloud_autonomous_vm_cluster_id(self) -> str: - """ - Identifier of the primary cloudAutonomousVmCluster for the shard. - """ - return pulumi.get(self, "cloud_autonomous_vm_cluster_id") - - @property - @pulumi.getter(name="computeCount") - def compute_count(self) -> float: - """ - The compute amount available to the underlying autonomous database associated with shard. - """ - return pulumi.get(self, "compute_count") - - @property - @pulumi.getter(name="containerDatabaseId") - def container_database_id(self) -> str: - """ - Identifier of the underlying container database. - """ - return pulumi.get(self, "container_database_id") - - @property - @pulumi.getter(name="containerDatabaseParentId") - def container_database_parent_id(self) -> str: - """ - Identifier of the underlying container database parent. - """ - return pulumi.get(self, "container_database_parent_id") - - @property - @pulumi.getter(name="dataStorageSizeInGbs") - def data_storage_size_in_gbs(self) -> float: - """ - The data disk group size to be allocated in GBs. - """ - return pulumi.get(self, "data_storage_size_in_gbs") - - @property - @pulumi.getter(name="encryptionKeyDetails") - def encryption_key_details(self) -> Sequence['outputs.GetShardedDatabaseShardDetailEncryptionKeyDetailResult']: - """ - Details of encryption key to be used to encrypt data for shards and catalog for sharded database. For system-defined sharding type, all shards have to use same encryptionKeyDetails. For system-defined sharding, if encryptionKeyDetails are not specified for catalog, then Oracle managed key will be used for catalog. For user-defined sharding type, if encryptionKeyDetails are not provided for any shard or catalog, then Oracle managed key will be used for such shard or catalog. For system-defined or user-defined sharding type, if the shard or catalog has a peer in region other than primary shard or catalog region, then make sure to provide virtual vault for such shard or catalog, which is also replicated to peer region (the region where peer or standby shard or catalog exists). - """ - return pulumi.get(self, "encryption_key_details") - - @property - @pulumi.getter(name="isAutoScalingEnabled") - def is_auto_scaling_enabled(self) -> bool: - """ - Determines the auto-scaling mode. - """ - return pulumi.get(self, "is_auto_scaling_enabled") - - @property - @pulumi.getter - def metadata(self) -> Mapping[str, str]: - """ - Comma separated names of argument corresponding to which metadata need to be retrived, namely VM_CLUSTER_INFO, ADDITIONAL_RESOURCE_INFO. An example is metadata=VM_CLUSTER_INFO,ADDITIONAL_RESOURCE_INFO. - """ - return pulumi.get(self, "metadata") - - @property - @pulumi.getter - def name(self) -> str: - """ - Name of the shard. - """ - return pulumi.get(self, "name") - - @property - @pulumi.getter(name="peerCloudAutonomousVmClusterId") - def peer_cloud_autonomous_vm_cluster_id(self) -> str: - """ - Identifier of the peer cloudAutonomousVmCluster for the shard. - """ - return pulumi.get(self, "peer_cloud_autonomous_vm_cluster_id") - - @property - @pulumi.getter(name="shardGroup") - def shard_group(self) -> str: - """ - Name of the shard-group to which the shard belongs. - """ - return pulumi.get(self, "shard_group") - - @property - @pulumi.getter(name="shardSpace") - def shard_space(self) -> str: - """ - Shard space name. - """ - return pulumi.get(self, "shard_space") - - @property - @pulumi.getter - def status(self) -> str: - """ - Status of shard or catalog or gsm for the sharded database. - """ - return pulumi.get(self, "status") - - @property - @pulumi.getter(name="supportingResourceId") - def supporting_resource_id(self) -> str: - """ - Identifier of the underlying supporting resource. - """ - return pulumi.get(self, "supporting_resource_id") - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> str: - """ - The time the the Sharded Database was created. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeSslCertificateExpires") - def time_ssl_certificate_expires(self) -> str: - """ - The time the ssl certificate associated with shard expires. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_ssl_certificate_expires") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: - """ - The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_updated") - - -@pulumi.output_type -class GetShardedDatabaseShardDetailEncryptionKeyDetailResult(dict): - def __init__(__self__, *, - kms_key_id: str, - kms_key_version_id: str, - vault_id: str): - """ - :param str kms_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - :param str kms_key_version_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - """ - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "vault_id", vault_id) - - @property - @pulumi.getter(name="kmsKeyId") - def kms_key_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key in vault identified by vaultId in customer tenancy that is used as the master encryption key. - """ - return pulumi.get(self, "kms_key_id") - - @property - @pulumi.getter(name="kmsKeyVersionId") - def kms_key_version_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the KMS key version for key identified by kmsKeyId that is used in data encryption (TDE) operations. - """ - return pulumi.get(self, "kms_key_version_id") - - @property - @pulumi.getter(name="vaultId") - def vault_id(self) -> str: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the vault in customer tenancy where KMS key is present. For shard or catalog with cross-region data guard enabled, user needs to make sure to provide virtual private vault only, which is also replicated in the region of standby shard. - """ - return pulumi.get(self, "vault_id") - - -@pulumi.output_type -class GetShardedDatabasesFilterResult(dict): - def __init__(__self__, *, - name: str, - values: Sequence[str], - regex: Optional[bool] = None): - """ - :param str name: Name of the shard. - """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) - if regex is not None: - pulumi.set(__self__, "regex", regex) - - @property - @pulumi.getter - def name(self) -> str: - """ - Name of the shard. - """ - 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 GetShardedDatabasesShardedDatabaseCollectionResult(dict): - def __init__(__self__, *, - items: Sequence['outputs.GetShardedDatabasesShardedDatabaseCollectionItemResult']): - pulumi.set(__self__, "items", items) - - @property - @pulumi.getter - def items(self) -> Sequence['outputs.GetShardedDatabasesShardedDatabaseCollectionItemResult']: - return pulumi.get(self, "items") - - -@pulumi.output_type -class GetShardedDatabasesShardedDatabaseCollectionItemResult(dict): - def __init__(__self__, *, - character_set: str, - chunks: int, - cluster_certificate_common_name: str, - compartment_id: str, - db_deployment_type: str, - db_version: str, - db_workload: str, - defined_tags: Mapping[str, str], - display_name: str, - freeform_tags: Mapping[str, str], - id: str, - lifecycle_state: str, - lifecycle_state_details: str, - listener_port: int, - listener_port_tls: int, - ncharacter_set: str, - ons_port_local: int, - ons_port_remote: int, - prefix: str, - sharding_method: str, - state: str, - system_tags: Mapping[str, str], - time_created: str, - time_updated: str, - total_cpu_count: float, - total_data_storage_size_in_gbs: float): - """ - :param str character_set: The character set for the database. - :param int chunks: The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - :param str cluster_certificate_common_name: The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - :param str compartment_id: The ID of the compartment in which to list resources. - :param str db_deployment_type: The database deployment type. - :param str db_version: Oracle Database version number. - :param str db_workload: Possible workload types. - :param Mapping[str, str] 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 sharded databases that match the entire name given. The match is not case sensitive. - :param Mapping[str, str] 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: Sharded Database identifier - :param str lifecycle_state_details: Detailed message for the lifecycle state. - :param int listener_port: The GSM listener port number. - :param int listener_port_tls: The TLS listener port number for sharded database. - :param str ncharacter_set: The national character set for the database. - :param int ons_port_local: Ons local port number. - :param int ons_port_remote: Ons remote port number. - :param str prefix: Unique prefix for the sharded database. - :param str sharding_method: Sharding Method. - :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState. - :param Mapping[str, str] 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 Sharded Database was created. An RFC3339 formatted datetime string - :param str time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "chunks", chunks) - pulumi.set(__self__, "cluster_certificate_common_name", cluster_certificate_common_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_deployment_type", db_deployment_type) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "db_workload", db_workload) - 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_state", lifecycle_state) - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) - pulumi.set(__self__, "listener_port", listener_port) - pulumi.set(__self__, "listener_port_tls", listener_port_tls) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "ons_port_local", ons_port_local) - pulumi.set(__self__, "ons_port_remote", ons_port_remote) - pulumi.set(__self__, "prefix", prefix) - pulumi.set(__self__, "sharding_method", sharding_method) - 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__, "total_cpu_count", total_cpu_count) - pulumi.set(__self__, "total_data_storage_size_in_gbs", total_data_storage_size_in_gbs) - - @property - @pulumi.getter(name="characterSet") - def character_set(self) -> str: - """ - The character set for the database. - """ - return pulumi.get(self, "character_set") - - @property - @pulumi.getter - def chunks(self) -> int: - """ - The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - """ - return pulumi.get(self, "chunks") - - @property - @pulumi.getter(name="clusterCertificateCommonName") - def cluster_certificate_common_name(self) -> str: - """ - The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - """ - return pulumi.get(self, "cluster_certificate_common_name") - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> str: - """ - The ID of the compartment in which to list resources. - """ - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="dbDeploymentType") - def db_deployment_type(self) -> str: - """ - The database deployment type. - """ - return pulumi.get(self, "db_deployment_type") - - @property - @pulumi.getter(name="dbVersion") - def db_version(self) -> str: - """ - Oracle Database version number. - """ - return pulumi.get(self, "db_version") - - @property - @pulumi.getter(name="dbWorkload") - def db_workload(self) -> str: - """ - Possible workload types. - """ - return pulumi.get(self, "db_workload") - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Mapping[str, str]: - """ - 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(name="displayName") - def display_name(self) -> str: - """ - A filter to return only sharded databases that match the entire name given. The match is not case sensitive. - """ - return pulumi.get(self, "display_name") - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Mapping[str, str]: - """ - 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: - """ - Sharded Database identifier - """ - return pulumi.get(self, "id") - - @property - @pulumi.getter(name="lifecycleState") - def lifecycle_state(self) -> str: - return pulumi.get(self, "lifecycle_state") - - @property - @pulumi.getter(name="lifecycleStateDetails") - def lifecycle_state_details(self) -> str: - """ - Detailed message for the lifecycle state. - """ - return pulumi.get(self, "lifecycle_state_details") - - @property - @pulumi.getter(name="listenerPort") - def listener_port(self) -> int: - """ - The GSM listener port number. - """ - return pulumi.get(self, "listener_port") - - @property - @pulumi.getter(name="listenerPortTls") - def listener_port_tls(self) -> int: - """ - The TLS listener port number for sharded database. - """ - return pulumi.get(self, "listener_port_tls") - - @property - @pulumi.getter(name="ncharacterSet") - def ncharacter_set(self) -> str: - """ - The national character set for the database. - """ - return pulumi.get(self, "ncharacter_set") - - @property - @pulumi.getter(name="onsPortLocal") - def ons_port_local(self) -> int: - """ - Ons local port number. - """ - return pulumi.get(self, "ons_port_local") - - @property - @pulumi.getter(name="onsPortRemote") - def ons_port_remote(self) -> int: - """ - Ons remote port number. - """ - return pulumi.get(self, "ons_port_remote") - - @property - @pulumi.getter - def prefix(self) -> str: - """ - Unique prefix for the sharded database. - """ - return pulumi.get(self, "prefix") - - @property - @pulumi.getter(name="shardingMethod") - def sharding_method(self) -> str: - """ - Sharding Method. - """ - return pulumi.get(self, "sharding_method") - - @property - @pulumi.getter - def state(self) -> str: - """ - A filter to return only resources their lifecycleState matches the given lifecycleState. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Mapping[str, str]: - """ - Usage of system tag keys. These predefined keys are scoped to namespaces. 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 the Sharded Database was created. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_created") - - @property - @pulumi.getter(name="timeUpdated") - def time_updated(self) -> str: - """ - The time the Sharded Database was last updated. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_updated") - - @property - @pulumi.getter(name="totalCpuCount") - def total_cpu_count(self) -> float: - return pulumi.get(self, "total_cpu_count") - - @property - @pulumi.getter(name="totalDataStorageSizeInGbs") - def total_data_storage_size_in_gbs(self) -> float: - return pulumi.get(self, "total_data_storage_size_in_gbs") - - diff --git a/sdk/python/pulumi_oci/globallydistributeddatabase/sharded_database.py b/sdk/python/pulumi_oci/globallydistributeddatabase/sharded_database.py deleted file mode 100644 index f2afc72a82..0000000000 --- a/sdk/python/pulumi_oci/globallydistributeddatabase/sharded_database.py +++ /dev/null @@ -1,1816 +0,0 @@ -# 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, Mapping, Optional, Sequence, Union, overload -from .. import _utilities -from . import outputs -from ._inputs import * - -__all__ = ['ShardedDatabaseArgs', 'ShardedDatabase'] - -@pulumi.input_type -class ShardedDatabaseArgs: - def __init__(__self__, *, - catalog_details: pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]], - character_set: pulumi.Input[str], - compartment_id: pulumi.Input[str], - db_deployment_type: pulumi.Input[str], - db_version: pulumi.Input[str], - db_workload: pulumi.Input[str], - display_name: pulumi.Input[str], - listener_port: pulumi.Input[int], - listener_port_tls: pulumi.Input[int], - ncharacter_set: pulumi.Input[str], - ons_port_local: pulumi.Input[int], - ons_port_remote: pulumi.Input[int], - prefix: pulumi.Input[str], - shard_details: pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]], - sharding_method: pulumi.Input[str], - chunks: Optional[pulumi.Input[int]] = None, - cluster_certificate_common_name: Optional[pulumi.Input[str]] = None, - configure_sharding_trigger: Optional[pulumi.Input[int]] = None, - defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - download_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - generate_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None, - get_connection_string_trigger: Optional[pulumi.Input[int]] = None, - patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]] = None, - start_database_trigger: Optional[pulumi.Input[int]] = None, - stop_database_trigger: Optional[pulumi.Input[int]] = None, - validate_network_trigger: Optional[pulumi.Input[int]] = None): - """ - The set of arguments for constructing a ShardedDatabase resource. - :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]] catalog_details: Collection of ATP-Dedicated catalogs that needs to be created. - :param pulumi.Input[str] character_set: The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where sharded database is to be created. - :param pulumi.Input[str] db_deployment_type: The database deployment type. - :param pulumi.Input[str] db_version: Oracle Database version of the Autonomous Container Database. - :param pulumi.Input[str] db_workload: Possible workload types. - :param pulumi.Input[str] display_name: (Updatable) Oracle sharded database display name. - :param pulumi.Input[int] listener_port: The listener port number for sharded database. - :param pulumi.Input[int] listener_port_tls: The TLS listener port number for sharded database. - :param pulumi.Input[str] ncharacter_set: The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - :param pulumi.Input[int] ons_port_local: Ons port local for sharded database. - :param pulumi.Input[int] ons_port_remote: Ons remote port for sharded database. - :param pulumi.Input[str] prefix: Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]] shard_details: Collection of ATP-Dedicated shards that needs to be created. - :param pulumi.Input[str] sharding_method: Sharding Method. - :param pulumi.Input[int] chunks: The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - :param pulumi.Input[str] cluster_certificate_common_name: The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - :param pulumi.Input[int] configure_sharding_trigger: (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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[int] download_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] generate_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - :param pulumi.Input[int] get_connection_string_trigger: (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]] patch_operations: (Updatable) - :param pulumi.Input[int] start_database_trigger: (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - :param pulumi.Input[int] stop_database_trigger: (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - :param pulumi.Input[int] validate_network_trigger: (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - """ - pulumi.set(__self__, "catalog_details", catalog_details) - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_deployment_type", db_deployment_type) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "listener_port", listener_port) - pulumi.set(__self__, "listener_port_tls", listener_port_tls) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "ons_port_local", ons_port_local) - pulumi.set(__self__, "ons_port_remote", ons_port_remote) - pulumi.set(__self__, "prefix", prefix) - pulumi.set(__self__, "shard_details", shard_details) - pulumi.set(__self__, "sharding_method", sharding_method) - if chunks is not None: - pulumi.set(__self__, "chunks", chunks) - if cluster_certificate_common_name is not None: - pulumi.set(__self__, "cluster_certificate_common_name", cluster_certificate_common_name) - if configure_sharding_trigger is not None: - pulumi.set(__self__, "configure_sharding_trigger", configure_sharding_trigger) - if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) - if download_gsm_certificate_signing_request_trigger is not None: - pulumi.set(__self__, "download_gsm_certificate_signing_request_trigger", download_gsm_certificate_signing_request_trigger) - if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) - if generate_gsm_certificate_signing_request_trigger is not None: - pulumi.set(__self__, "generate_gsm_certificate_signing_request_trigger", generate_gsm_certificate_signing_request_trigger) - if get_connection_string_trigger is not None: - pulumi.set(__self__, "get_connection_string_trigger", get_connection_string_trigger) - if patch_operations is not None: - pulumi.set(__self__, "patch_operations", patch_operations) - if start_database_trigger is not None: - pulumi.set(__self__, "start_database_trigger", start_database_trigger) - if stop_database_trigger is not None: - pulumi.set(__self__, "stop_database_trigger", stop_database_trigger) - if validate_network_trigger is not None: - pulumi.set(__self__, "validate_network_trigger", validate_network_trigger) - - @property - @pulumi.getter(name="catalogDetails") - def catalog_details(self) -> pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]]: - """ - Collection of ATP-Dedicated catalogs that needs to be created. - """ - return pulumi.get(self, "catalog_details") - - @catalog_details.setter - def catalog_details(self, value: pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]]): - pulumi.set(self, "catalog_details", value) - - @property - @pulumi.getter(name="characterSet") - def character_set(self) -> pulumi.Input[str]: - """ - The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - """ - return pulumi.get(self, "character_set") - - @character_set.setter - def character_set(self, value: pulumi.Input[str]): - pulumi.set(self, "character_set", value) - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> pulumi.Input[str]: - """ - (Updatable) Identifier of the compartment where sharded database is to be created. - """ - 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="dbDeploymentType") - def db_deployment_type(self) -> pulumi.Input[str]: - """ - The database deployment type. - """ - return pulumi.get(self, "db_deployment_type") - - @db_deployment_type.setter - def db_deployment_type(self, value: pulumi.Input[str]): - pulumi.set(self, "db_deployment_type", value) - - @property - @pulumi.getter(name="dbVersion") - def db_version(self) -> pulumi.Input[str]: - """ - Oracle Database version of the Autonomous Container Database. - """ - return pulumi.get(self, "db_version") - - @db_version.setter - def db_version(self, value: pulumi.Input[str]): - pulumi.set(self, "db_version", value) - - @property - @pulumi.getter(name="dbWorkload") - def db_workload(self) -> pulumi.Input[str]: - """ - Possible workload types. - """ - return pulumi.get(self, "db_workload") - - @db_workload.setter - def db_workload(self, value: pulumi.Input[str]): - pulumi.set(self, "db_workload", value) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> pulumi.Input[str]: - """ - (Updatable) Oracle sharded database display name. - """ - 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="listenerPort") - def listener_port(self) -> pulumi.Input[int]: - """ - The listener port number for sharded database. - """ - return pulumi.get(self, "listener_port") - - @listener_port.setter - def listener_port(self, value: pulumi.Input[int]): - pulumi.set(self, "listener_port", value) - - @property - @pulumi.getter(name="listenerPortTls") - def listener_port_tls(self) -> pulumi.Input[int]: - """ - The TLS listener port number for sharded database. - """ - return pulumi.get(self, "listener_port_tls") - - @listener_port_tls.setter - def listener_port_tls(self, value: pulumi.Input[int]): - pulumi.set(self, "listener_port_tls", value) - - @property - @pulumi.getter(name="ncharacterSet") - def ncharacter_set(self) -> pulumi.Input[str]: - """ - The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - """ - return pulumi.get(self, "ncharacter_set") - - @ncharacter_set.setter - def ncharacter_set(self, value: pulumi.Input[str]): - pulumi.set(self, "ncharacter_set", value) - - @property - @pulumi.getter(name="onsPortLocal") - def ons_port_local(self) -> pulumi.Input[int]: - """ - Ons port local for sharded database. - """ - return pulumi.get(self, "ons_port_local") - - @ons_port_local.setter - def ons_port_local(self, value: pulumi.Input[int]): - pulumi.set(self, "ons_port_local", value) - - @property - @pulumi.getter(name="onsPortRemote") - def ons_port_remote(self) -> pulumi.Input[int]: - """ - Ons remote port for sharded database. - """ - return pulumi.get(self, "ons_port_remote") - - @ons_port_remote.setter - def ons_port_remote(self, value: pulumi.Input[int]): - pulumi.set(self, "ons_port_remote", value) - - @property - @pulumi.getter - def prefix(self) -> pulumi.Input[str]: - """ - Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - """ - return pulumi.get(self, "prefix") - - @prefix.setter - def prefix(self, value: pulumi.Input[str]): - pulumi.set(self, "prefix", value) - - @property - @pulumi.getter(name="shardDetails") - def shard_details(self) -> pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]]: - """ - Collection of ATP-Dedicated shards that needs to be created. - """ - return pulumi.get(self, "shard_details") - - @shard_details.setter - def shard_details(self, value: pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]]): - pulumi.set(self, "shard_details", value) - - @property - @pulumi.getter(name="shardingMethod") - def sharding_method(self) -> pulumi.Input[str]: - """ - Sharding Method. - """ - return pulumi.get(self, "sharding_method") - - @sharding_method.setter - def sharding_method(self, value: pulumi.Input[str]): - pulumi.set(self, "sharding_method", value) - - @property - @pulumi.getter - def chunks(self) -> Optional[pulumi.Input[int]]: - """ - The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - """ - return pulumi.get(self, "chunks") - - @chunks.setter - def chunks(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "chunks", value) - - @property - @pulumi.getter(name="clusterCertificateCommonName") - def cluster_certificate_common_name(self) -> Optional[pulumi.Input[str]]: - """ - The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - """ - return pulumi.get(self, "cluster_certificate_common_name") - - @cluster_certificate_common_name.setter - def cluster_certificate_common_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_certificate_common_name", value) - - @property - @pulumi.getter(name="configureShardingTrigger") - def configure_sharding_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - """ - return pulumi.get(self, "configure_sharding_trigger") - - @configure_sharding_trigger.setter - def configure_sharding_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "configure_sharding_trigger", value) - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (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, pulumi.Input[str]]]]): - pulumi.set(self, "defined_tags", value) - - @property - @pulumi.getter(name="downloadGsmCertificateSigningRequestTrigger") - def download_gsm_certificate_signing_request_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - """ - return pulumi.get(self, "download_gsm_certificate_signing_request_trigger") - - @download_gsm_certificate_signing_request_trigger.setter - def download_gsm_certificate_signing_request_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "download_gsm_certificate_signing_request_trigger", value) - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (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, pulumi.Input[str]]]]): - pulumi.set(self, "freeform_tags", value) - - @property - @pulumi.getter(name="generateGsmCertificateSigningRequestTrigger") - def generate_gsm_certificate_signing_request_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - """ - return pulumi.get(self, "generate_gsm_certificate_signing_request_trigger") - - @generate_gsm_certificate_signing_request_trigger.setter - def generate_gsm_certificate_signing_request_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "generate_gsm_certificate_signing_request_trigger", value) - - @property - @pulumi.getter(name="getConnectionStringTrigger") - def get_connection_string_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - """ - return pulumi.get(self, "get_connection_string_trigger") - - @get_connection_string_trigger.setter - def get_connection_string_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "get_connection_string_trigger", value) - - @property - @pulumi.getter(name="patchOperations") - def patch_operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]]: - """ - (Updatable) - """ - return pulumi.get(self, "patch_operations") - - @patch_operations.setter - def patch_operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]]): - pulumi.set(self, "patch_operations", value) - - @property - @pulumi.getter(name="startDatabaseTrigger") - def start_database_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - """ - return pulumi.get(self, "start_database_trigger") - - @start_database_trigger.setter - def start_database_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "start_database_trigger", value) - - @property - @pulumi.getter(name="stopDatabaseTrigger") - def stop_database_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - """ - return pulumi.get(self, "stop_database_trigger") - - @stop_database_trigger.setter - def stop_database_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "stop_database_trigger", value) - - @property - @pulumi.getter(name="validateNetworkTrigger") - def validate_network_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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, "validate_network_trigger") - - @validate_network_trigger.setter - def validate_network_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "validate_network_trigger", value) - - -@pulumi.input_type -class _ShardedDatabaseState: - def __init__(__self__, *, - catalog_details: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]]] = None, - character_set: Optional[pulumi.Input[str]] = None, - chunks: Optional[pulumi.Input[int]] = None, - cluster_certificate_common_name: Optional[pulumi.Input[str]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - configure_gsms_trigger: Optional[pulumi.Input[int]] = None, - configure_sharding_trigger: Optional[pulumi.Input[int]] = None, - connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseConnectionStringArgs']]]] = None, - db_deployment_type: 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, pulumi.Input[str]]]] = None, - display_name: Optional[pulumi.Input[str]] = None, - download_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - generate_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None, - generate_wallet_trigger: Optional[pulumi.Input[int]] = None, - get_connection_string_trigger: Optional[pulumi.Input[int]] = None, - gsms: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseGsmArgs']]]] = None, - lifecycle_state: Optional[pulumi.Input[str]] = None, - lifecycle_state_details: Optional[pulumi.Input[str]] = None, - listener_port: Optional[pulumi.Input[int]] = None, - listener_port_tls: Optional[pulumi.Input[int]] = None, - ncharacter_set: Optional[pulumi.Input[str]] = None, - ons_port_local: Optional[pulumi.Input[int]] = None, - ons_port_remote: Optional[pulumi.Input[int]] = None, - patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]] = None, - prefix: Optional[pulumi.Input[str]] = None, - private_endpoint: Optional[pulumi.Input[str]] = None, - shard_details: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]]] = None, - sharded_database_id: Optional[pulumi.Input[str]] = None, - sharding_method: Optional[pulumi.Input[str]] = None, - start_database_trigger: Optional[pulumi.Input[int]] = None, - state: Optional[pulumi.Input[str]] = None, - stop_database_trigger: Optional[pulumi.Input[int]] = None, - system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - time_created: Optional[pulumi.Input[str]] = None, - time_updated: Optional[pulumi.Input[str]] = None, - time_zone: Optional[pulumi.Input[str]] = None, - upload_signed_certificate_and_generate_wallet_trigger: Optional[pulumi.Input[int]] = None, - validate_network_trigger: Optional[pulumi.Input[int]] = None): - """ - Input properties used for looking up and filtering ShardedDatabase resources. - :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]] catalog_details: Collection of ATP-Dedicated catalogs that needs to be created. - :param pulumi.Input[str] character_set: The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - :param pulumi.Input[int] chunks: The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - :param pulumi.Input[str] cluster_certificate_common_name: The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where sharded database is to be created. - :param pulumi.Input[int] configure_gsms_trigger: (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - :param pulumi.Input[int] configure_sharding_trigger: (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseConnectionStringArgs']]] connection_strings: Details of sharded database connection String. - :param pulumi.Input[str] db_deployment_type: The database deployment type. - :param pulumi.Input[str] db_version: Oracle Database version of the Autonomous Container Database. - :param pulumi.Input[str] db_workload: Possible workload types. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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) Oracle sharded database display name. - :param pulumi.Input[int] download_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] generate_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - :param pulumi.Input[int] generate_wallet_trigger: (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - :param pulumi.Input[int] get_connection_string_trigger: (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseGsmArgs']]] gsms: Details of GSM instances for the sharded database. - :param pulumi.Input[str] lifecycle_state_details: Detailed message for the lifecycle state. - :param pulumi.Input[int] listener_port: The listener port number for sharded database. - :param pulumi.Input[int] listener_port_tls: The TLS listener port number for sharded database. - :param pulumi.Input[str] ncharacter_set: The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - :param pulumi.Input[int] ons_port_local: Ons port local for sharded database. - :param pulumi.Input[int] ons_port_remote: Ons remote port for sharded database. - :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]] patch_operations: (Updatable) - :param pulumi.Input[str] prefix: Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - :param pulumi.Input[str] private_endpoint: The OCID of private endpoint being used by the sharded database. - :param pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]] shard_details: Collection of ATP-Dedicated shards that needs to be created. - :param pulumi.Input[str] sharding_method: Sharding Method. - :param pulumi.Input[int] start_database_trigger: (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - :param pulumi.Input[str] state: Lifecycle states for sharded databases. - :param pulumi.Input[int] stop_database_trigger: (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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 Sharded Database was created. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_zone: Timezone associated with the sharded database. - :param pulumi.Input[int] upload_signed_certificate_and_generate_wallet_trigger: (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - :param pulumi.Input[int] validate_network_trigger: (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - """ - if catalog_details is not None: - pulumi.set(__self__, "catalog_details", catalog_details) - if character_set is not None: - pulumi.set(__self__, "character_set", character_set) - if chunks is not None: - pulumi.set(__self__, "chunks", chunks) - if cluster_certificate_common_name is not None: - pulumi.set(__self__, "cluster_certificate_common_name", cluster_certificate_common_name) - if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) - if configure_gsms_trigger is not None: - pulumi.set(__self__, "configure_gsms_trigger", configure_gsms_trigger) - if configure_sharding_trigger is not None: - pulumi.set(__self__, "configure_sharding_trigger", configure_sharding_trigger) - if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) - if db_deployment_type is not None: - pulumi.set(__self__, "db_deployment_type", db_deployment_type) - if db_version is not None: - pulumi.set(__self__, "db_version", db_version) - if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) - if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) - if display_name is not None: - pulumi.set(__self__, "display_name", display_name) - if download_gsm_certificate_signing_request_trigger is not None: - pulumi.set(__self__, "download_gsm_certificate_signing_request_trigger", download_gsm_certificate_signing_request_trigger) - if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) - if generate_gsm_certificate_signing_request_trigger is not None: - pulumi.set(__self__, "generate_gsm_certificate_signing_request_trigger", generate_gsm_certificate_signing_request_trigger) - if generate_wallet_trigger is not None: - pulumi.set(__self__, "generate_wallet_trigger", generate_wallet_trigger) - if get_connection_string_trigger is not None: - pulumi.set(__self__, "get_connection_string_trigger", get_connection_string_trigger) - if gsms is not None: - pulumi.set(__self__, "gsms", gsms) - if lifecycle_state is not None: - pulumi.set(__self__, "lifecycle_state", lifecycle_state) - if lifecycle_state_details is not None: - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) - if listener_port is not None: - pulumi.set(__self__, "listener_port", listener_port) - if listener_port_tls is not None: - pulumi.set(__self__, "listener_port_tls", listener_port_tls) - if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - if ons_port_local is not None: - pulumi.set(__self__, "ons_port_local", ons_port_local) - if ons_port_remote is not None: - pulumi.set(__self__, "ons_port_remote", ons_port_remote) - if patch_operations is not None: - pulumi.set(__self__, "patch_operations", patch_operations) - if prefix is not None: - pulumi.set(__self__, "prefix", prefix) - if private_endpoint is not None: - pulumi.set(__self__, "private_endpoint", private_endpoint) - if shard_details is not None: - pulumi.set(__self__, "shard_details", shard_details) - if sharded_database_id is not None: - pulumi.set(__self__, "sharded_database_id", sharded_database_id) - if sharding_method is not None: - pulumi.set(__self__, "sharding_method", sharding_method) - if start_database_trigger is not None: - pulumi.set(__self__, "start_database_trigger", start_database_trigger) - if state is not None: - pulumi.set(__self__, "state", state) - if stop_database_trigger is not None: - pulumi.set(__self__, "stop_database_trigger", stop_database_trigger) - if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) - if time_created is not None: - pulumi.set(__self__, "time_created", time_created) - if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) - if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) - if upload_signed_certificate_and_generate_wallet_trigger is not None: - pulumi.set(__self__, "upload_signed_certificate_and_generate_wallet_trigger", upload_signed_certificate_and_generate_wallet_trigger) - if validate_network_trigger is not None: - pulumi.set(__self__, "validate_network_trigger", validate_network_trigger) - - @property - @pulumi.getter(name="catalogDetails") - def catalog_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]]]: - """ - Collection of ATP-Dedicated catalogs that needs to be created. - """ - return pulumi.get(self, "catalog_details") - - @catalog_details.setter - def catalog_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseCatalogDetailArgs']]]]): - pulumi.set(self, "catalog_details", value) - - @property - @pulumi.getter(name="characterSet") - def character_set(self) -> Optional[pulumi.Input[str]]: - """ - The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - """ - return pulumi.get(self, "character_set") - - @character_set.setter - def character_set(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "character_set", value) - - @property - @pulumi.getter - def chunks(self) -> Optional[pulumi.Input[int]]: - """ - The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - """ - return pulumi.get(self, "chunks") - - @chunks.setter - def chunks(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "chunks", value) - - @property - @pulumi.getter(name="clusterCertificateCommonName") - def cluster_certificate_common_name(self) -> Optional[pulumi.Input[str]]: - """ - The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - """ - return pulumi.get(self, "cluster_certificate_common_name") - - @cluster_certificate_common_name.setter - def cluster_certificate_common_name(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "cluster_certificate_common_name", value) - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> Optional[pulumi.Input[str]]: - """ - (Updatable) Identifier of the compartment where sharded database is to be created. - """ - 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="configureGsmsTrigger") - def configure_gsms_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - """ - return pulumi.get(self, "configure_gsms_trigger") - - @configure_gsms_trigger.setter - def configure_gsms_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "configure_gsms_trigger", value) - - @property - @pulumi.getter(name="configureShardingTrigger") - def configure_sharding_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - """ - return pulumi.get(self, "configure_sharding_trigger") - - @configure_sharding_trigger.setter - def configure_sharding_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "configure_sharding_trigger", value) - - @property - @pulumi.getter(name="connectionStrings") - def connection_strings(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseConnectionStringArgs']]]]: - """ - Details of sharded database connection String. - """ - return pulumi.get(self, "connection_strings") - - @connection_strings.setter - def connection_strings(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseConnectionStringArgs']]]]): - pulumi.set(self, "connection_strings", value) - - @property - @pulumi.getter(name="dbDeploymentType") - def db_deployment_type(self) -> Optional[pulumi.Input[str]]: - """ - The database deployment type. - """ - return pulumi.get(self, "db_deployment_type") - - @db_deployment_type.setter - def db_deployment_type(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "db_deployment_type", value) - - @property - @pulumi.getter(name="dbVersion") - def db_version(self) -> Optional[pulumi.Input[str]]: - """ - Oracle Database version of the Autonomous Container Database. - """ - return pulumi.get(self, "db_version") - - @db_version.setter - def db_version(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "db_version", value) - - @property - @pulumi.getter(name="dbWorkload") - def db_workload(self) -> Optional[pulumi.Input[str]]: - """ - Possible workload types. - """ - return pulumi.get(self, "db_workload") - - @db_workload.setter - def db_workload(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "db_workload", value) - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (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, pulumi.Input[str]]]]): - pulumi.set(self, "defined_tags", value) - - @property - @pulumi.getter(name="displayName") - def display_name(self) -> Optional[pulumi.Input[str]]: - """ - (Updatable) Oracle sharded database display name. - """ - 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="downloadGsmCertificateSigningRequestTrigger") - def download_gsm_certificate_signing_request_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - """ - return pulumi.get(self, "download_gsm_certificate_signing_request_trigger") - - @download_gsm_certificate_signing_request_trigger.setter - def download_gsm_certificate_signing_request_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "download_gsm_certificate_signing_request_trigger", value) - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - (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, pulumi.Input[str]]]]): - pulumi.set(self, "freeform_tags", value) - - @property - @pulumi.getter(name="generateGsmCertificateSigningRequestTrigger") - def generate_gsm_certificate_signing_request_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - """ - return pulumi.get(self, "generate_gsm_certificate_signing_request_trigger") - - @generate_gsm_certificate_signing_request_trigger.setter - def generate_gsm_certificate_signing_request_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "generate_gsm_certificate_signing_request_trigger", value) - - @property - @pulumi.getter(name="generateWalletTrigger") - def generate_wallet_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - """ - return pulumi.get(self, "generate_wallet_trigger") - - @generate_wallet_trigger.setter - def generate_wallet_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "generate_wallet_trigger", value) - - @property - @pulumi.getter(name="getConnectionStringTrigger") - def get_connection_string_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - """ - return pulumi.get(self, "get_connection_string_trigger") - - @get_connection_string_trigger.setter - def get_connection_string_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "get_connection_string_trigger", value) - - @property - @pulumi.getter - def gsms(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseGsmArgs']]]]: - """ - Details of GSM instances for the sharded database. - """ - return pulumi.get(self, "gsms") - - @gsms.setter - def gsms(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseGsmArgs']]]]): - pulumi.set(self, "gsms", value) - - @property - @pulumi.getter(name="lifecycleState") - def lifecycle_state(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "lifecycle_state") - - @lifecycle_state.setter - def lifecycle_state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "lifecycle_state", value) - - @property - @pulumi.getter(name="lifecycleStateDetails") - def lifecycle_state_details(self) -> Optional[pulumi.Input[str]]: - """ - Detailed message for the lifecycle state. - """ - return pulumi.get(self, "lifecycle_state_details") - - @lifecycle_state_details.setter - def lifecycle_state_details(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "lifecycle_state_details", value) - - @property - @pulumi.getter(name="listenerPort") - def listener_port(self) -> Optional[pulumi.Input[int]]: - """ - The listener port number for sharded database. - """ - return pulumi.get(self, "listener_port") - - @listener_port.setter - def listener_port(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "listener_port", value) - - @property - @pulumi.getter(name="listenerPortTls") - def listener_port_tls(self) -> Optional[pulumi.Input[int]]: - """ - The TLS listener port number for sharded database. - """ - return pulumi.get(self, "listener_port_tls") - - @listener_port_tls.setter - def listener_port_tls(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "listener_port_tls", value) - - @property - @pulumi.getter(name="ncharacterSet") - def ncharacter_set(self) -> Optional[pulumi.Input[str]]: - """ - The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - """ - return pulumi.get(self, "ncharacter_set") - - @ncharacter_set.setter - def ncharacter_set(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "ncharacter_set", value) - - @property - @pulumi.getter(name="onsPortLocal") - def ons_port_local(self) -> Optional[pulumi.Input[int]]: - """ - Ons port local for sharded database. - """ - return pulumi.get(self, "ons_port_local") - - @ons_port_local.setter - def ons_port_local(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ons_port_local", value) - - @property - @pulumi.getter(name="onsPortRemote") - def ons_port_remote(self) -> Optional[pulumi.Input[int]]: - """ - Ons remote port for sharded database. - """ - return pulumi.get(self, "ons_port_remote") - - @ons_port_remote.setter - def ons_port_remote(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "ons_port_remote", value) - - @property - @pulumi.getter(name="patchOperations") - def patch_operations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]]: - """ - (Updatable) - """ - return pulumi.get(self, "patch_operations") - - @patch_operations.setter - def patch_operations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabasePatchOperationArgs']]]]): - pulumi.set(self, "patch_operations", value) - - @property - @pulumi.getter - def prefix(self) -> Optional[pulumi.Input[str]]: - """ - Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - """ - return pulumi.get(self, "prefix") - - @prefix.setter - def prefix(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "prefix", value) - - @property - @pulumi.getter(name="privateEndpoint") - def private_endpoint(self) -> Optional[pulumi.Input[str]]: - """ - The OCID of private endpoint being used by the sharded database. - """ - return pulumi.get(self, "private_endpoint") - - @private_endpoint.setter - def private_endpoint(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "private_endpoint", value) - - @property - @pulumi.getter(name="shardDetails") - def shard_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]]]: - """ - Collection of ATP-Dedicated shards that needs to be created. - """ - return pulumi.get(self, "shard_details") - - @shard_details.setter - def shard_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ShardedDatabaseShardDetailArgs']]]]): - pulumi.set(self, "shard_details", value) - - @property - @pulumi.getter(name="shardedDatabaseId") - def sharded_database_id(self) -> Optional[pulumi.Input[str]]: - return pulumi.get(self, "sharded_database_id") - - @sharded_database_id.setter - def sharded_database_id(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "sharded_database_id", value) - - @property - @pulumi.getter(name="shardingMethod") - def sharding_method(self) -> Optional[pulumi.Input[str]]: - """ - Sharding Method. - """ - return pulumi.get(self, "sharding_method") - - @sharding_method.setter - def sharding_method(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "sharding_method", value) - - @property - @pulumi.getter(name="startDatabaseTrigger") - def start_database_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - """ - return pulumi.get(self, "start_database_trigger") - - @start_database_trigger.setter - def start_database_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "start_database_trigger", value) - - @property - @pulumi.getter - def state(self) -> Optional[pulumi.Input[str]]: - """ - Lifecycle states for sharded databases. - """ - return pulumi.get(self, "state") - - @state.setter - def state(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "state", value) - - @property - @pulumi.getter(name="stopDatabaseTrigger") - def stop_database_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - """ - return pulumi.get(self, "stop_database_trigger") - - @stop_database_trigger.setter - def stop_database_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "stop_database_trigger", value) - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: - """ - Usage of system tag keys. These predefined keys are scoped to namespaces. 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, pulumi.Input[str]]]]): - pulumi.set(self, "system_tags", value) - - @property - @pulumi.getter(name="timeCreated") - def time_created(self) -> Optional[pulumi.Input[str]]: - """ - The time the the Sharded Database was created. 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 Sharded Database was last updated. 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="timeZone") - def time_zone(self) -> Optional[pulumi.Input[str]]: - """ - Timezone associated with the sharded database. - """ - return pulumi.get(self, "time_zone") - - @time_zone.setter - def time_zone(self, value: Optional[pulumi.Input[str]]): - pulumi.set(self, "time_zone", value) - - @property - @pulumi.getter(name="uploadSignedCertificateAndGenerateWalletTrigger") - def upload_signed_certificate_and_generate_wallet_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - """ - return pulumi.get(self, "upload_signed_certificate_and_generate_wallet_trigger") - - @upload_signed_certificate_and_generate_wallet_trigger.setter - def upload_signed_certificate_and_generate_wallet_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "upload_signed_certificate_and_generate_wallet_trigger", value) - - @property - @pulumi.getter(name="validateNetworkTrigger") - def validate_network_trigger(self) -> Optional[pulumi.Input[int]]: - """ - (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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, "validate_network_trigger") - - @validate_network_trigger.setter - def validate_network_trigger(self, value: Optional[pulumi.Input[int]]): - pulumi.set(self, "validate_network_trigger", value) - - -class ShardedDatabase(pulumi.CustomResource): - @overload - def __init__(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - catalog_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseCatalogDetailArgs', 'ShardedDatabaseCatalogDetailArgsDict']]]]] = None, - character_set: Optional[pulumi.Input[str]] = None, - chunks: Optional[pulumi.Input[int]] = None, - cluster_certificate_common_name: Optional[pulumi.Input[str]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - configure_sharding_trigger: Optional[pulumi.Input[int]] = None, - db_deployment_type: 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, pulumi.Input[str]]]] = None, - display_name: Optional[pulumi.Input[str]] = None, - download_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - generate_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None, - get_connection_string_trigger: Optional[pulumi.Input[int]] = None, - listener_port: Optional[pulumi.Input[int]] = None, - listener_port_tls: Optional[pulumi.Input[int]] = None, - ncharacter_set: Optional[pulumi.Input[str]] = None, - ons_port_local: Optional[pulumi.Input[int]] = None, - ons_port_remote: Optional[pulumi.Input[int]] = None, - patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabasePatchOperationArgs', 'ShardedDatabasePatchOperationArgsDict']]]]] = None, - prefix: Optional[pulumi.Input[str]] = None, - shard_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseShardDetailArgs', 'ShardedDatabaseShardDetailArgsDict']]]]] = None, - sharding_method: Optional[pulumi.Input[str]] = None, - start_database_trigger: Optional[pulumi.Input[int]] = None, - stop_database_trigger: Optional[pulumi.Input[int]] = None, - validate_network_trigger: Optional[pulumi.Input[int]] = None, - __props__=None): - """ - This resource provides the Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - - Creates a Sharded Database. - - Patch operation to add, remove or update shards to the sharded database topology. In single patch - operation, multiple shards can be either added, or removed or updated. Combination of inserts, update - and remove in single operation is not allowed. - - ## Import - - ShardedDatabases can be imported using the `id`, e.g. - - ```sh - $ pulumi import oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase test_sharded_database "id" - ``` - - :param str resource_name: The name of the resource. - :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseCatalogDetailArgs', 'ShardedDatabaseCatalogDetailArgsDict']]]] catalog_details: Collection of ATP-Dedicated catalogs that needs to be created. - :param pulumi.Input[str] character_set: The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - :param pulumi.Input[int] chunks: The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - :param pulumi.Input[str] cluster_certificate_common_name: The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where sharded database is to be created. - :param pulumi.Input[int] configure_sharding_trigger: (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - :param pulumi.Input[str] db_deployment_type: The database deployment type. - :param pulumi.Input[str] db_version: Oracle Database version of the Autonomous Container Database. - :param pulumi.Input[str] db_workload: Possible workload types. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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) Oracle sharded database display name. - :param pulumi.Input[int] download_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] generate_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - :param pulumi.Input[int] get_connection_string_trigger: (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - :param pulumi.Input[int] listener_port: The listener port number for sharded database. - :param pulumi.Input[int] listener_port_tls: The TLS listener port number for sharded database. - :param pulumi.Input[str] ncharacter_set: The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - :param pulumi.Input[int] ons_port_local: Ons port local for sharded database. - :param pulumi.Input[int] ons_port_remote: Ons remote port for sharded database. - :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabasePatchOperationArgs', 'ShardedDatabasePatchOperationArgsDict']]]] patch_operations: (Updatable) - :param pulumi.Input[str] prefix: Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseShardDetailArgs', 'ShardedDatabaseShardDetailArgsDict']]]] shard_details: Collection of ATP-Dedicated shards that needs to be created. - :param pulumi.Input[str] sharding_method: Sharding Method. - :param pulumi.Input[int] start_database_trigger: (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - :param pulumi.Input[int] stop_database_trigger: (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - :param pulumi.Input[int] validate_network_trigger: (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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: ShardedDatabaseArgs, - opts: Optional[pulumi.ResourceOptions] = None): - """ - This resource provides the Sharded Database resource in Oracle Cloud Infrastructure Globally Distributed Database service. - - Creates a Sharded Database. - - Patch operation to add, remove or update shards to the sharded database topology. In single patch - operation, multiple shards can be either added, or removed or updated. Combination of inserts, update - and remove in single operation is not allowed. - - ## Import - - ShardedDatabases can be imported using the `id`, e.g. - - ```sh - $ pulumi import oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase test_sharded_database "id" - ``` - - :param str resource_name: The name of the resource. - :param ShardedDatabaseArgs 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(ShardedDatabaseArgs, pulumi.ResourceOptions, *args, **kwargs) - if resource_args is not None: - __self__._internal_init(resource_name, opts, **resource_args.__dict__) - else: - __self__._internal_init(resource_name, *args, **kwargs) - - def _internal_init(__self__, - resource_name: str, - opts: Optional[pulumi.ResourceOptions] = None, - catalog_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseCatalogDetailArgs', 'ShardedDatabaseCatalogDetailArgsDict']]]]] = None, - character_set: Optional[pulumi.Input[str]] = None, - chunks: Optional[pulumi.Input[int]] = None, - cluster_certificate_common_name: Optional[pulumi.Input[str]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - configure_sharding_trigger: Optional[pulumi.Input[int]] = None, - db_deployment_type: 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, pulumi.Input[str]]]] = None, - display_name: Optional[pulumi.Input[str]] = None, - download_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - generate_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None, - get_connection_string_trigger: Optional[pulumi.Input[int]] = None, - listener_port: Optional[pulumi.Input[int]] = None, - listener_port_tls: Optional[pulumi.Input[int]] = None, - ncharacter_set: Optional[pulumi.Input[str]] = None, - ons_port_local: Optional[pulumi.Input[int]] = None, - ons_port_remote: Optional[pulumi.Input[int]] = None, - patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabasePatchOperationArgs', 'ShardedDatabasePatchOperationArgsDict']]]]] = None, - prefix: Optional[pulumi.Input[str]] = None, - shard_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseShardDetailArgs', 'ShardedDatabaseShardDetailArgsDict']]]]] = None, - sharding_method: Optional[pulumi.Input[str]] = None, - start_database_trigger: Optional[pulumi.Input[int]] = None, - stop_database_trigger: Optional[pulumi.Input[int]] = None, - validate_network_trigger: Optional[pulumi.Input[int]] = 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__ = ShardedDatabaseArgs.__new__(ShardedDatabaseArgs) - - if catalog_details is None and not opts.urn: - raise TypeError("Missing required property 'catalog_details'") - __props__.__dict__["catalog_details"] = catalog_details - if character_set is None and not opts.urn: - raise TypeError("Missing required property 'character_set'") - __props__.__dict__["character_set"] = character_set - __props__.__dict__["chunks"] = chunks - __props__.__dict__["cluster_certificate_common_name"] = cluster_certificate_common_name - if compartment_id is None and not opts.urn: - raise TypeError("Missing required property 'compartment_id'") - __props__.__dict__["compartment_id"] = compartment_id - __props__.__dict__["configure_sharding_trigger"] = configure_sharding_trigger - if db_deployment_type is None and not opts.urn: - raise TypeError("Missing required property 'db_deployment_type'") - __props__.__dict__["db_deployment_type"] = db_deployment_type - if db_version is None and not opts.urn: - raise TypeError("Missing required property 'db_version'") - __props__.__dict__["db_version"] = db_version - if db_workload is None and not opts.urn: - raise TypeError("Missing required property 'db_workload'") - __props__.__dict__["db_workload"] = db_workload - __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 - __props__.__dict__["download_gsm_certificate_signing_request_trigger"] = download_gsm_certificate_signing_request_trigger - __props__.__dict__["freeform_tags"] = freeform_tags - __props__.__dict__["generate_gsm_certificate_signing_request_trigger"] = generate_gsm_certificate_signing_request_trigger - __props__.__dict__["get_connection_string_trigger"] = get_connection_string_trigger - if listener_port is None and not opts.urn: - raise TypeError("Missing required property 'listener_port'") - __props__.__dict__["listener_port"] = listener_port - if listener_port_tls is None and not opts.urn: - raise TypeError("Missing required property 'listener_port_tls'") - __props__.__dict__["listener_port_tls"] = listener_port_tls - if ncharacter_set is None and not opts.urn: - raise TypeError("Missing required property 'ncharacter_set'") - __props__.__dict__["ncharacter_set"] = ncharacter_set - if ons_port_local is None and not opts.urn: - raise TypeError("Missing required property 'ons_port_local'") - __props__.__dict__["ons_port_local"] = ons_port_local - if ons_port_remote is None and not opts.urn: - raise TypeError("Missing required property 'ons_port_remote'") - __props__.__dict__["ons_port_remote"] = ons_port_remote - __props__.__dict__["patch_operations"] = patch_operations - if prefix is None and not opts.urn: - raise TypeError("Missing required property 'prefix'") - __props__.__dict__["prefix"] = prefix - if shard_details is None and not opts.urn: - raise TypeError("Missing required property 'shard_details'") - __props__.__dict__["shard_details"] = shard_details - if sharding_method is None and not opts.urn: - raise TypeError("Missing required property 'sharding_method'") - __props__.__dict__["sharding_method"] = sharding_method - __props__.__dict__["start_database_trigger"] = start_database_trigger - __props__.__dict__["stop_database_trigger"] = stop_database_trigger - __props__.__dict__["validate_network_trigger"] = validate_network_trigger - __props__.__dict__["configure_gsms_trigger"] = None - __props__.__dict__["connection_strings"] = None - __props__.__dict__["generate_wallet_trigger"] = None - __props__.__dict__["gsms"] = None - __props__.__dict__["lifecycle_state"] = None - __props__.__dict__["lifecycle_state_details"] = None - __props__.__dict__["private_endpoint"] = None - __props__.__dict__["sharded_database_id"] = None - __props__.__dict__["state"] = None - __props__.__dict__["system_tags"] = None - __props__.__dict__["time_created"] = None - __props__.__dict__["time_updated"] = None - __props__.__dict__["time_zone"] = None - __props__.__dict__["upload_signed_certificate_and_generate_wallet_trigger"] = None - super(ShardedDatabase, __self__).__init__( - 'oci:GloballyDistributedDatabase/shardedDatabase:ShardedDatabase', - resource_name, - __props__, - opts) - - @staticmethod - def get(resource_name: str, - id: pulumi.Input[str], - opts: Optional[pulumi.ResourceOptions] = None, - catalog_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseCatalogDetailArgs', 'ShardedDatabaseCatalogDetailArgsDict']]]]] = None, - character_set: Optional[pulumi.Input[str]] = None, - chunks: Optional[pulumi.Input[int]] = None, - cluster_certificate_common_name: Optional[pulumi.Input[str]] = None, - compartment_id: Optional[pulumi.Input[str]] = None, - configure_gsms_trigger: Optional[pulumi.Input[int]] = None, - configure_sharding_trigger: Optional[pulumi.Input[int]] = None, - connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseConnectionStringArgs', 'ShardedDatabaseConnectionStringArgsDict']]]]] = None, - db_deployment_type: 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, pulumi.Input[str]]]] = None, - display_name: Optional[pulumi.Input[str]] = None, - download_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None, - freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - generate_gsm_certificate_signing_request_trigger: Optional[pulumi.Input[int]] = None, - generate_wallet_trigger: Optional[pulumi.Input[int]] = None, - get_connection_string_trigger: Optional[pulumi.Input[int]] = None, - gsms: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseGsmArgs', 'ShardedDatabaseGsmArgsDict']]]]] = None, - lifecycle_state: Optional[pulumi.Input[str]] = None, - lifecycle_state_details: Optional[pulumi.Input[str]] = None, - listener_port: Optional[pulumi.Input[int]] = None, - listener_port_tls: Optional[pulumi.Input[int]] = None, - ncharacter_set: Optional[pulumi.Input[str]] = None, - ons_port_local: Optional[pulumi.Input[int]] = None, - ons_port_remote: Optional[pulumi.Input[int]] = None, - patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabasePatchOperationArgs', 'ShardedDatabasePatchOperationArgsDict']]]]] = None, - prefix: Optional[pulumi.Input[str]] = None, - private_endpoint: Optional[pulumi.Input[str]] = None, - shard_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseShardDetailArgs', 'ShardedDatabaseShardDetailArgsDict']]]]] = None, - sharded_database_id: Optional[pulumi.Input[str]] = None, - sharding_method: Optional[pulumi.Input[str]] = None, - start_database_trigger: Optional[pulumi.Input[int]] = None, - state: Optional[pulumi.Input[str]] = None, - stop_database_trigger: Optional[pulumi.Input[int]] = None, - system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - time_created: Optional[pulumi.Input[str]] = None, - time_updated: Optional[pulumi.Input[str]] = None, - time_zone: Optional[pulumi.Input[str]] = None, - upload_signed_certificate_and_generate_wallet_trigger: Optional[pulumi.Input[int]] = None, - validate_network_trigger: Optional[pulumi.Input[int]] = None) -> 'ShardedDatabase': - """ - Get an existing ShardedDatabase 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[Sequence[pulumi.Input[Union['ShardedDatabaseCatalogDetailArgs', 'ShardedDatabaseCatalogDetailArgsDict']]]] catalog_details: Collection of ATP-Dedicated catalogs that needs to be created. - :param pulumi.Input[str] character_set: The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - :param pulumi.Input[int] chunks: The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - :param pulumi.Input[str] cluster_certificate_common_name: The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - :param pulumi.Input[str] compartment_id: (Updatable) Identifier of the compartment where sharded database is to be created. - :param pulumi.Input[int] configure_gsms_trigger: (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - :param pulumi.Input[int] configure_sharding_trigger: (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseConnectionStringArgs', 'ShardedDatabaseConnectionStringArgsDict']]]] connection_strings: Details of sharded database connection String. - :param pulumi.Input[str] db_deployment_type: The database deployment type. - :param pulumi.Input[str] db_version: Oracle Database version of the Autonomous Container Database. - :param pulumi.Input[str] db_workload: Possible workload types. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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) Oracle sharded database display name. - :param pulumi.Input[int] download_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] generate_gsm_certificate_signing_request_trigger: (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - :param pulumi.Input[int] generate_wallet_trigger: (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - :param pulumi.Input[int] get_connection_string_trigger: (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseGsmArgs', 'ShardedDatabaseGsmArgsDict']]]] gsms: Details of GSM instances for the sharded database. - :param pulumi.Input[str] lifecycle_state_details: Detailed message for the lifecycle state. - :param pulumi.Input[int] listener_port: The listener port number for sharded database. - :param pulumi.Input[int] listener_port_tls: The TLS listener port number for sharded database. - :param pulumi.Input[str] ncharacter_set: The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - :param pulumi.Input[int] ons_port_local: Ons port local for sharded database. - :param pulumi.Input[int] ons_port_remote: Ons remote port for sharded database. - :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabasePatchOperationArgs', 'ShardedDatabasePatchOperationArgsDict']]]] patch_operations: (Updatable) - :param pulumi.Input[str] prefix: Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - :param pulumi.Input[str] private_endpoint: The OCID of private endpoint being used by the sharded database. - :param pulumi.Input[Sequence[pulumi.Input[Union['ShardedDatabaseShardDetailArgs', 'ShardedDatabaseShardDetailArgsDict']]]] shard_details: Collection of ATP-Dedicated shards that needs to be created. - :param pulumi.Input[str] sharding_method: Sharding Method. - :param pulumi.Input[int] start_database_trigger: (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - :param pulumi.Input[str] state: Lifecycle states for sharded databases. - :param pulumi.Input[int] stop_database_trigger: (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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 Sharded Database was created. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_updated: The time the Sharded Database was last updated. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_zone: Timezone associated with the sharded database. - :param pulumi.Input[int] upload_signed_certificate_and_generate_wallet_trigger: (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - :param pulumi.Input[int] validate_network_trigger: (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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 - """ - opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) - - __props__ = _ShardedDatabaseState.__new__(_ShardedDatabaseState) - - __props__.__dict__["catalog_details"] = catalog_details - __props__.__dict__["character_set"] = character_set - __props__.__dict__["chunks"] = chunks - __props__.__dict__["cluster_certificate_common_name"] = cluster_certificate_common_name - __props__.__dict__["compartment_id"] = compartment_id - __props__.__dict__["configure_gsms_trigger"] = configure_gsms_trigger - __props__.__dict__["configure_sharding_trigger"] = configure_sharding_trigger - __props__.__dict__["connection_strings"] = connection_strings - __props__.__dict__["db_deployment_type"] = db_deployment_type - __props__.__dict__["db_version"] = db_version - __props__.__dict__["db_workload"] = db_workload - __props__.__dict__["defined_tags"] = defined_tags - __props__.__dict__["display_name"] = display_name - __props__.__dict__["download_gsm_certificate_signing_request_trigger"] = download_gsm_certificate_signing_request_trigger - __props__.__dict__["freeform_tags"] = freeform_tags - __props__.__dict__["generate_gsm_certificate_signing_request_trigger"] = generate_gsm_certificate_signing_request_trigger - __props__.__dict__["generate_wallet_trigger"] = generate_wallet_trigger - __props__.__dict__["get_connection_string_trigger"] = get_connection_string_trigger - __props__.__dict__["gsms"] = gsms - __props__.__dict__["lifecycle_state"] = lifecycle_state - __props__.__dict__["lifecycle_state_details"] = lifecycle_state_details - __props__.__dict__["listener_port"] = listener_port - __props__.__dict__["listener_port_tls"] = listener_port_tls - __props__.__dict__["ncharacter_set"] = ncharacter_set - __props__.__dict__["ons_port_local"] = ons_port_local - __props__.__dict__["ons_port_remote"] = ons_port_remote - __props__.__dict__["patch_operations"] = patch_operations - __props__.__dict__["prefix"] = prefix - __props__.__dict__["private_endpoint"] = private_endpoint - __props__.__dict__["shard_details"] = shard_details - __props__.__dict__["sharded_database_id"] = sharded_database_id - __props__.__dict__["sharding_method"] = sharding_method - __props__.__dict__["start_database_trigger"] = start_database_trigger - __props__.__dict__["state"] = state - __props__.__dict__["stop_database_trigger"] = stop_database_trigger - __props__.__dict__["system_tags"] = system_tags - __props__.__dict__["time_created"] = time_created - __props__.__dict__["time_updated"] = time_updated - __props__.__dict__["time_zone"] = time_zone - __props__.__dict__["upload_signed_certificate_and_generate_wallet_trigger"] = upload_signed_certificate_and_generate_wallet_trigger - __props__.__dict__["validate_network_trigger"] = validate_network_trigger - return ShardedDatabase(resource_name, opts=opts, __props__=__props__) - - @property - @pulumi.getter(name="catalogDetails") - def catalog_details(self) -> pulumi.Output[Sequence['outputs.ShardedDatabaseCatalogDetail']]: - """ - Collection of ATP-Dedicated catalogs that needs to be created. - """ - return pulumi.get(self, "catalog_details") - - @property - @pulumi.getter(name="characterSet") - def character_set(self) -> pulumi.Output[str]: - """ - The character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - """ - return pulumi.get(self, "character_set") - - @property - @pulumi.getter - def chunks(self) -> pulumi.Output[int]: - """ - The default number of unique chunks in a shardspace. The value of chunks must be greater than 2 times the size of the largest shardgroup in any shardspace. - """ - return pulumi.get(self, "chunks") - - @property - @pulumi.getter(name="clusterCertificateCommonName") - def cluster_certificate_common_name(self) -> pulumi.Output[str]: - """ - The certificate common name used in all cloudAutonomousVmClusters for the sharded database topology. Eg. Production. All the clusters used in one sharded database topology shall have same CABundle setup. Valid characterset for clusterCertificateCommonName include uppercase or lowercase letters, numbers, hyphens, underscores, and period. - """ - return pulumi.get(self, "cluster_certificate_common_name") - - @property - @pulumi.getter(name="compartmentId") - def compartment_id(self) -> pulumi.Output[str]: - """ - (Updatable) Identifier of the compartment where sharded database is to be created. - """ - return pulumi.get(self, "compartment_id") - - @property - @pulumi.getter(name="configureGsmsTrigger") - def configure_gsms_trigger(self) -> pulumi.Output[int]: - """ - (Updatable) An optional property when incremented triggers Configure Gsms. Could be set to any integer value. - """ - return pulumi.get(self, "configure_gsms_trigger") - - @property - @pulumi.getter(name="configureShardingTrigger") - def configure_sharding_trigger(self) -> pulumi.Output[Optional[int]]: - """ - (Updatable) An optional property when incremented triggers Configure Sharding. Could be set to any integer value. - """ - return pulumi.get(self, "configure_sharding_trigger") - - @property - @pulumi.getter(name="connectionStrings") - def connection_strings(self) -> pulumi.Output[Sequence['outputs.ShardedDatabaseConnectionString']]: - """ - Details of sharded database connection String. - """ - return pulumi.get(self, "connection_strings") - - @property - @pulumi.getter(name="dbDeploymentType") - def db_deployment_type(self) -> pulumi.Output[str]: - """ - The database deployment type. - """ - return pulumi.get(self, "db_deployment_type") - - @property - @pulumi.getter(name="dbVersion") - def db_version(self) -> pulumi.Output[str]: - """ - Oracle Database version of the Autonomous Container Database. - """ - return pulumi.get(self, "db_version") - - @property - @pulumi.getter(name="dbWorkload") - def db_workload(self) -> pulumi.Output[str]: - """ - Possible workload types. - """ - return pulumi.get(self, "db_workload") - - @property - @pulumi.getter(name="definedTags") - def defined_tags(self) -> pulumi.Output[Mapping[str, str]]: - """ - (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(name="displayName") - def display_name(self) -> pulumi.Output[str]: - """ - (Updatable) Oracle sharded database display name. - """ - return pulumi.get(self, "display_name") - - @property - @pulumi.getter(name="downloadGsmCertificateSigningRequestTrigger") - def download_gsm_certificate_signing_request_trigger(self) -> pulumi.Output[Optional[int]]: - """ - (Updatable) An optional property when incremented triggers Download Gsm Certificate Signing Request. Could be set to any integer value. - """ - return pulumi.get(self, "download_gsm_certificate_signing_request_trigger") - - @property - @pulumi.getter(name="freeformTags") - def freeform_tags(self) -> pulumi.Output[Mapping[str, str]]: - """ - (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="generateGsmCertificateSigningRequestTrigger") - def generate_gsm_certificate_signing_request_trigger(self) -> pulumi.Output[Optional[int]]: - """ - (Updatable) An optional property when incremented triggers Generate Gsm Certificate Signing Request. Could be set to any integer value. - """ - return pulumi.get(self, "generate_gsm_certificate_signing_request_trigger") - - @property - @pulumi.getter(name="generateWalletTrigger") - def generate_wallet_trigger(self) -> pulumi.Output[int]: - """ - (Updatable) An optional property when incremented triggers Generate Wallet. Could be set to any integer value. - """ - return pulumi.get(self, "generate_wallet_trigger") - - @property - @pulumi.getter(name="getConnectionStringTrigger") - def get_connection_string_trigger(self) -> pulumi.Output[Optional[int]]: - """ - (Updatable) An optional property when incremented triggers Get Connection String. Could be set to any integer value. - """ - return pulumi.get(self, "get_connection_string_trigger") - - @property - @pulumi.getter - def gsms(self) -> pulumi.Output[Sequence['outputs.ShardedDatabaseGsm']]: - """ - Details of GSM instances for the sharded database. - """ - return pulumi.get(self, "gsms") - - @property - @pulumi.getter(name="lifecycleState") - def lifecycle_state(self) -> pulumi.Output[str]: - return pulumi.get(self, "lifecycle_state") - - @property - @pulumi.getter(name="lifecycleStateDetails") - def lifecycle_state_details(self) -> pulumi.Output[str]: - """ - Detailed message for the lifecycle state. - """ - return pulumi.get(self, "lifecycle_state_details") - - @property - @pulumi.getter(name="listenerPort") - def listener_port(self) -> pulumi.Output[int]: - """ - The listener port number for sharded database. - """ - return pulumi.get(self, "listener_port") - - @property - @pulumi.getter(name="listenerPortTls") - def listener_port_tls(self) -> pulumi.Output[int]: - """ - The TLS listener port number for sharded database. - """ - return pulumi.get(self, "listener_port_tls") - - @property - @pulumi.getter(name="ncharacterSet") - def ncharacter_set(self) -> pulumi.Output[str]: - """ - The national character set for the new shard database being created. Use database api ListAutonomousDatabaseCharacterSets to get the list of allowed national character set for autonomous dedicated database. See documentation: https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseCharacterSets/ListAutonomousDatabaseCharacterSets - """ - return pulumi.get(self, "ncharacter_set") - - @property - @pulumi.getter(name="onsPortLocal") - def ons_port_local(self) -> pulumi.Output[int]: - """ - Ons port local for sharded database. - """ - return pulumi.get(self, "ons_port_local") - - @property - @pulumi.getter(name="onsPortRemote") - def ons_port_remote(self) -> pulumi.Output[int]: - """ - Ons remote port for sharded database. - """ - return pulumi.get(self, "ons_port_remote") - - @property - @pulumi.getter(name="patchOperations") - def patch_operations(self) -> pulumi.Output[Optional[Sequence['outputs.ShardedDatabasePatchOperation']]]: - """ - (Updatable) - """ - return pulumi.get(self, "patch_operations") - - @property - @pulumi.getter - def prefix(self) -> pulumi.Output[str]: - """ - Unique name prefix for the sharded databases. Only alpha-numeric values are allowed. First character has to be a letter followed by any combination of letter and number. - """ - return pulumi.get(self, "prefix") - - @property - @pulumi.getter(name="privateEndpoint") - def private_endpoint(self) -> pulumi.Output[str]: - """ - The OCID of private endpoint being used by the sharded database. - """ - return pulumi.get(self, "private_endpoint") - - @property - @pulumi.getter(name="shardDetails") - def shard_details(self) -> pulumi.Output[Sequence['outputs.ShardedDatabaseShardDetail']]: - """ - Collection of ATP-Dedicated shards that needs to be created. - """ - return pulumi.get(self, "shard_details") - - @property - @pulumi.getter(name="shardedDatabaseId") - def sharded_database_id(self) -> pulumi.Output[str]: - return pulumi.get(self, "sharded_database_id") - - @property - @pulumi.getter(name="shardingMethod") - def sharding_method(self) -> pulumi.Output[str]: - """ - Sharding Method. - """ - return pulumi.get(self, "sharding_method") - - @property - @pulumi.getter(name="startDatabaseTrigger") - def start_database_trigger(self) -> pulumi.Output[Optional[int]]: - """ - (Updatable) An optional property when incremented triggers Start Database. Could be set to any integer value. - """ - return pulumi.get(self, "start_database_trigger") - - @property - @pulumi.getter - def state(self) -> pulumi.Output[str]: - """ - Lifecycle states for sharded databases. - """ - return pulumi.get(self, "state") - - @property - @pulumi.getter(name="stopDatabaseTrigger") - def stop_database_trigger(self) -> pulumi.Output[Optional[int]]: - """ - (Updatable) An optional property when incremented triggers Stop Database. Could be set to any integer value. - """ - return pulumi.get(self, "stop_database_trigger") - - @property - @pulumi.getter(name="systemTags") - def system_tags(self) -> pulumi.Output[Mapping[str, str]]: - """ - Usage of system tag keys. These predefined keys are scoped to namespaces. 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 the Sharded Database was created. 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 Sharded Database was last updated. An RFC3339 formatted datetime string - """ - return pulumi.get(self, "time_updated") - - @property - @pulumi.getter(name="timeZone") - def time_zone(self) -> pulumi.Output[str]: - """ - Timezone associated with the sharded database. - """ - return pulumi.get(self, "time_zone") - - @property - @pulumi.getter(name="uploadSignedCertificateAndGenerateWalletTrigger") - def upload_signed_certificate_and_generate_wallet_trigger(self) -> pulumi.Output[int]: - """ - (Updatable) An optional property when incremented triggers Upload Signed Certificate And Generate Wallet. Could be set to any integer value. - """ - return pulumi.get(self, "upload_signed_certificate_and_generate_wallet_trigger") - - @property - @pulumi.getter(name="validateNetworkTrigger") - def validate_network_trigger(self) -> pulumi.Output[Optional[int]]: - """ - (Updatable) An optional property when incremented triggers Validate Network. Could be set to any integer 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, "validate_network_trigger") - diff --git a/sdk/python/pulumi_oci/identity/domains_group.py b/sdk/python/pulumi_oci/identity/domains_group.py index cced52a047..0fe66e7dab 100644 --- a/sdk/python/pulumi_oci/identity/domains_group.py +++ b/sdk/python/pulumi_oci/identity/domains_group.py @@ -23,6 +23,7 @@ def __init__(__self__, *, attributes: Optional[pulumi.Input[str]] = None, authorization: Optional[pulumi.Input[str]] = None, external_id: Optional[pulumi.Input[str]] = None, + force_delete: Optional[pulumi.Input[bool]] = 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, @@ -141,6 +142,8 @@ def __init__(__self__, *, pulumi.set(__self__, "authorization", authorization) if external_id is not None: pulumi.set(__self__, "external_id", external_id) + if force_delete is not None: + pulumi.set(__self__, "force_delete", force_delete) if members is not None: pulumi.set(__self__, "members", members) if non_unique_display_name is not None: @@ -278,6 +281,15 @@ def external_id(self) -> Optional[pulumi.Input[str]]: def external_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "external_id", value) + @property + @pulumi.getter(name="forceDelete") + def force_delete(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "force_delete") + + @force_delete.setter + def force_delete(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "force_delete", value) + @property @pulumi.getter def members(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupMemberArgs']]]]: @@ -455,6 +467,7 @@ def __init__(__self__, *, display_name: Optional[pulumi.Input[str]] = None, domain_ocid: Optional[pulumi.Input[str]] = None, external_id: Optional[pulumi.Input[str]] = None, + force_delete: Optional[pulumi.Input[bool]] = 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, @@ -682,6 +695,8 @@ def __init__(__self__, *, pulumi.set(__self__, "domain_ocid", domain_ocid) if external_id is not None: pulumi.set(__self__, "external_id", external_id) + if force_delete is not None: + pulumi.set(__self__, "force_delete", force_delete) if idcs_created_bies is not None: pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: @@ -869,6 +884,15 @@ def external_id(self) -> Optional[pulumi.Input[str]]: def external_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "external_id", value) + @property + @pulumi.getter(name="forceDelete") + def force_delete(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "force_delete") + + @force_delete.setter + def force_delete(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "force_delete", value) + @property @pulumi.getter(name="idcsCreatedBies") def idcs_created_bies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupIdcsCreatedByArgs']]]]: @@ -1218,6 +1242,7 @@ def __init__(__self__, authorization: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, external_id: Optional[pulumi.Input[str]] = None, + force_delete: Optional[pulumi.Input[bool]] = None, idcs_endpoint: Optional[pulumi.Input[str]] = None, members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsGroupMemberArgs', 'DomainsGroupMemberArgsDict']]]]] = None, non_unique_display_name: Optional[pulumi.Input[str]] = None, @@ -1380,6 +1405,7 @@ def _internal_init(__self__, authorization: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, external_id: Optional[pulumi.Input[str]] = None, + force_delete: Optional[pulumi.Input[bool]] = None, idcs_endpoint: Optional[pulumi.Input[str]] = None, members: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsGroupMemberArgs', 'DomainsGroupMemberArgsDict']]]]] = None, non_unique_display_name: Optional[pulumi.Input[str]] = None, @@ -1408,6 +1434,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["external_id"] = external_id + __props__.__dict__["force_delete"] = force_delete if idcs_endpoint is None and not opts.urn: raise TypeError("Missing required property 'idcs_endpoint'") __props__.__dict__["idcs_endpoint"] = idcs_endpoint @@ -1452,6 +1479,7 @@ def get(resource_name: str, display_name: Optional[pulumi.Input[str]] = None, domain_ocid: Optional[pulumi.Input[str]] = None, external_id: Optional[pulumi.Input[str]] = None, + force_delete: Optional[pulumi.Input[bool]] = None, idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsGroupIdcsCreatedByArgs', 'DomainsGroupIdcsCreatedByArgsDict']]]]] = None, idcs_endpoint: Optional[pulumi.Input[str]] = None, idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsGroupIdcsLastModifiedByArgs', 'DomainsGroupIdcsLastModifiedByArgsDict']]]]] = None, @@ -1680,6 +1708,7 @@ def get(resource_name: str, __props__.__dict__["display_name"] = display_name __props__.__dict__["domain_ocid"] = domain_ocid __props__.__dict__["external_id"] = external_id + __props__.__dict__["force_delete"] = force_delete __props__.__dict__["idcs_created_bies"] = idcs_created_bies __props__.__dict__["idcs_endpoint"] = idcs_endpoint __props__.__dict__["idcs_last_modified_bies"] = idcs_last_modified_bies @@ -1817,6 +1846,11 @@ def external_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "external_id") + @property + @pulumi.getter(name="forceDelete") + def force_delete(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "force_delete") + @property @pulumi.getter(name="idcsCreatedBies") def idcs_created_bies(self) -> pulumi.Output[Sequence['outputs.DomainsGroupIdcsCreatedBy']]: diff --git a/sdk/python/pulumi_oci/identity/domains_user.py b/sdk/python/pulumi_oci/identity/domains_user.py index a87857fa15..e82d6970df 100644 --- a/sdk/python/pulumi_oci/identity/domains_user.py +++ b/sdk/python/pulumi_oci/identity/domains_user.py @@ -29,6 +29,7 @@ def __init__(__self__, *, 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, + force_delete: Optional[pulumi.Input[bool]] = None, ims: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserImArgs']]]] = None, locale: Optional[pulumi.Input[str]] = None, name: Optional[pulumi.Input['DomainsUserNameArgs']] = None, @@ -422,6 +423,8 @@ def __init__(__self__, *, pulumi.set(__self__, "entitlements", entitlements) if external_id is not None: pulumi.set(__self__, "external_id", external_id) + if force_delete is not None: + pulumi.set(__self__, "force_delete", force_delete) if ims is not None: pulumi.set(__self__, "ims", ims) if locale is not None: @@ -751,6 +754,15 @@ def external_id(self) -> Optional[pulumi.Input[str]]: def external_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "external_id", value) + @property + @pulumi.getter(name="forceDelete") + def force_delete(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "force_delete") + + @force_delete.setter + def force_delete(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "force_delete", value) + @property @pulumi.getter def ims(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserImArgs']]]]: @@ -1358,6 +1370,7 @@ def __init__(__self__, *, 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, + force_delete: Optional[pulumi.Input[bool]] = 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, @@ -1875,6 +1888,8 @@ def __init__(__self__, *, pulumi.set(__self__, "entitlements", entitlements) if external_id is not None: pulumi.set(__self__, "external_id", external_id) + if force_delete is not None: + pulumi.set(__self__, "force_delete", force_delete) if groups is not None: pulumi.set(__self__, "groups", groups) if idcs_created_bies is not None: @@ -2237,6 +2252,15 @@ def external_id(self) -> Optional[pulumi.Input[str]]: def external_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "external_id", value) + @property + @pulumi.getter(name="forceDelete") + def force_delete(self) -> Optional[pulumi.Input[bool]]: + return pulumi.get(self, "force_delete") + + @force_delete.setter + def force_delete(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "force_delete", value) + @property @pulumi.getter def groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserGroupArgs']]]]: @@ -3087,6 +3111,7 @@ def __init__(__self__, emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsUserEmailArgs', 'DomainsUserEmailArgsDict']]]]] = None, entitlements: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsUserEntitlementArgs', 'DomainsUserEntitlementArgsDict']]]]] = None, external_id: Optional[pulumi.Input[str]] = None, + force_delete: Optional[pulumi.Input[bool]] = None, idcs_endpoint: Optional[pulumi.Input[str]] = None, ims: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsUserImArgs', 'DomainsUserImArgsDict']]]]] = None, locale: Optional[pulumi.Input[str]] = None, @@ -3518,6 +3543,7 @@ def _internal_init(__self__, emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsUserEmailArgs', 'DomainsUserEmailArgsDict']]]]] = None, entitlements: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsUserEntitlementArgs', 'DomainsUserEntitlementArgsDict']]]]] = None, external_id: Optional[pulumi.Input[str]] = None, + force_delete: Optional[pulumi.Input[bool]] = None, idcs_endpoint: Optional[pulumi.Input[str]] = None, ims: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsUserImArgs', 'DomainsUserImArgsDict']]]]] = None, locale: Optional[pulumi.Input[str]] = None, @@ -3574,6 +3600,7 @@ def _internal_init(__self__, __props__.__dict__["emails"] = emails __props__.__dict__["entitlements"] = entitlements __props__.__dict__["external_id"] = external_id + __props__.__dict__["force_delete"] = force_delete if idcs_endpoint is None and not opts.urn: raise TypeError("Missing required property 'idcs_endpoint'") __props__.__dict__["idcs_endpoint"] = idcs_endpoint @@ -3655,6 +3682,7 @@ def get(resource_name: str, emails: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsUserEmailArgs', 'DomainsUserEmailArgsDict']]]]] = None, entitlements: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsUserEntitlementArgs', 'DomainsUserEntitlementArgsDict']]]]] = None, external_id: Optional[pulumi.Input[str]] = None, + force_delete: Optional[pulumi.Input[bool]] = None, groups: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsUserGroupArgs', 'DomainsUserGroupArgsDict']]]]] = None, idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input[Union['DomainsUserIdcsCreatedByArgs', 'DomainsUserIdcsCreatedByArgsDict']]]]] = None, idcs_endpoint: Optional[pulumi.Input[str]] = None, @@ -4168,6 +4196,7 @@ def get(resource_name: str, __props__.__dict__["emails"] = emails __props__.__dict__["entitlements"] = entitlements __props__.__dict__["external_id"] = external_id + __props__.__dict__["force_delete"] = force_delete __props__.__dict__["groups"] = groups __props__.__dict__["idcs_created_bies"] = idcs_created_bies __props__.__dict__["idcs_endpoint"] = idcs_endpoint @@ -4432,6 +4461,11 @@ def external_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "external_id") + @property + @pulumi.getter(name="forceDelete") + def force_delete(self) -> pulumi.Output[Optional[bool]]: + return pulumi.get(self, "force_delete") + @property @pulumi.getter def groups(self) -> pulumi.Output[Sequence['outputs.DomainsUserGroup']]: diff --git a/sdk/python/pulumi_oci/identity/get_domains_group.py b/sdk/python/pulumi_oci/identity/get_domains_group.py index bbaf1c21aa..90fb3ef0f5 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_group.py +++ b/sdk/python/pulumi_oci/identity/get_domains_group.py @@ -22,7 +22,7 @@ class GetDomainsGroupResult: """ A collection of values returned by getDomainsGroup. """ - def __init__(__self__, attribute_sets=None, attributes=None, authorization=None, compartment_ocid=None, delete_in_progress=None, display_name=None, domain_ocid=None, external_id=None, group_id=None, id=None, idcs_created_bies=None, idcs_endpoint=None, idcs_last_modified_bies=None, idcs_last_upgraded_in_release=None, idcs_prevented_operations=None, members=None, metas=None, non_unique_display_name=None, ocid=None, resource_type_schema_version=None, schemas=None, tags=None, tenancy_ocid=None, urnietfparamsscimschemasoracleidcsextension_oci_tags=None, urnietfparamsscimschemasoracleidcsextensiondbcs_groups=None, urnietfparamsscimschemasoracleidcsextensiondynamic_groups=None, urnietfparamsscimschemasoracleidcsextensiongroup_groups=None, urnietfparamsscimschemasoracleidcsextensionposix_groups=None, urnietfparamsscimschemasoracleidcsextensionrequestable_groups=None): + def __init__(__self__, attribute_sets=None, attributes=None, authorization=None, compartment_ocid=None, delete_in_progress=None, display_name=None, domain_ocid=None, external_id=None, force_delete=None, group_id=None, id=None, idcs_created_bies=None, idcs_endpoint=None, idcs_last_modified_bies=None, idcs_last_upgraded_in_release=None, idcs_prevented_operations=None, members=None, metas=None, non_unique_display_name=None, ocid=None, resource_type_schema_version=None, schemas=None, tags=None, tenancy_ocid=None, urnietfparamsscimschemasoracleidcsextension_oci_tags=None, urnietfparamsscimschemasoracleidcsextensiondbcs_groups=None, urnietfparamsscimschemasoracleidcsextensiondynamic_groups=None, urnietfparamsscimschemasoracleidcsextensiongroup_groups=None, urnietfparamsscimschemasoracleidcsextensionposix_groups=None, urnietfparamsscimschemasoracleidcsextensionrequestable_groups=None): if attribute_sets and not isinstance(attribute_sets, list): raise TypeError("Expected argument 'attribute_sets' to be a list") pulumi.set(__self__, "attribute_sets", attribute_sets) @@ -47,6 +47,9 @@ def __init__(__self__, attribute_sets=None, attributes=None, authorization=None, if external_id and not isinstance(external_id, str): raise TypeError("Expected argument 'external_id' to be a str") pulumi.set(__self__, "external_id", external_id) + if force_delete and not isinstance(force_delete, bool): + raise TypeError("Expected argument 'force_delete' to be a bool") + pulumi.set(__self__, "force_delete", force_delete) if group_id and not isinstance(group_id, str): raise TypeError("Expected argument 'group_id' to be a str") pulumi.set(__self__, "group_id", group_id) @@ -166,6 +169,11 @@ def external_id(self) -> str: """ return pulumi.get(self, "external_id") + @property + @pulumi.getter(name="forceDelete") + def force_delete(self) -> bool: + return pulumi.get(self, "force_delete") + @property @pulumi.getter(name="groupId") def group_id(self) -> str: @@ -340,6 +348,7 @@ def __await__(self): display_name=self.display_name, domain_ocid=self.domain_ocid, external_id=self.external_id, + force_delete=self.force_delete, group_id=self.group_id, id=self.id, idcs_created_bies=self.idcs_created_bies, @@ -416,6 +425,7 @@ def get_domains_group(attribute_sets: Optional[Sequence[str]] = None, display_name=pulumi.get(__ret__, 'display_name'), domain_ocid=pulumi.get(__ret__, 'domain_ocid'), external_id=pulumi.get(__ret__, 'external_id'), + force_delete=pulumi.get(__ret__, 'force_delete'), group_id=pulumi.get(__ret__, 'group_id'), id=pulumi.get(__ret__, 'id'), idcs_created_bies=pulumi.get(__ret__, 'idcs_created_bies'), diff --git a/sdk/python/pulumi_oci/identity/get_domains_user.py b/sdk/python/pulumi_oci/identity/get_domains_user.py index aec07fecfd..4ab637dc0e 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_user.py +++ b/sdk/python/pulumi_oci/identity/get_domains_user.py @@ -22,7 +22,7 @@ class GetDomainsUserResult: """ A collection of values returned by getDomainsUser. """ - def __init__(__self__, active=None, addresses=None, attribute_sets=None, attributes=None, authorization=None, compartment_ocid=None, delete_in_progress=None, description=None, display_name=None, domain_ocid=None, emails=None, entitlements=None, external_id=None, groups=None, id=None, idcs_created_bies=None, idcs_endpoint=None, idcs_last_modified_bies=None, idcs_last_upgraded_in_release=None, idcs_prevented_operations=None, ims=None, locale=None, metas=None, names=None, nick_name=None, ocid=None, password=None, phone_numbers=None, photos=None, preferred_language=None, profile_url=None, resource_type_schema_version=None, roles=None, schemas=None, tags=None, tenancy_ocid=None, timezone=None, title=None, urnietfparamsscimschemasextensionenterprise20users=None, urnietfparamsscimschemasoracleidcsextension_oci_tags=None, urnietfparamsscimschemasoracleidcsextensionadaptive_users=None, urnietfparamsscimschemasoracleidcsextensioncapabilities_users=None, urnietfparamsscimschemasoracleidcsextensiondb_credentials_users=None, urnietfparamsscimschemasoracleidcsextensiondb_user_users=None, urnietfparamsscimschemasoracleidcsextensionkerberos_user_users=None, urnietfparamsscimschemasoracleidcsextensionmfa_users=None, urnietfparamsscimschemasoracleidcsextensionpassword_state_users=None, urnietfparamsscimschemasoracleidcsextensionpasswordless_users=None, urnietfparamsscimschemasoracleidcsextensionposix_users=None, urnietfparamsscimschemasoracleidcsextensionsecurity_questions_users=None, urnietfparamsscimschemasoracleidcsextensionself_change_users=None, urnietfparamsscimschemasoracleidcsextensionself_registration_users=None, urnietfparamsscimschemasoracleidcsextensionsff_users=None, urnietfparamsscimschemasoracleidcsextensionsocial_account_users=None, urnietfparamsscimschemasoracleidcsextensionterms_of_use_users=None, urnietfparamsscimschemasoracleidcsextensionuser_credentials_users=None, urnietfparamsscimschemasoracleidcsextensionuser_state_users=None, urnietfparamsscimschemasoracleidcsextensionuser_users=None, user_id=None, user_name=None, user_type=None, x509certificates=None): + def __init__(__self__, active=None, addresses=None, attribute_sets=None, attributes=None, authorization=None, compartment_ocid=None, delete_in_progress=None, description=None, display_name=None, domain_ocid=None, emails=None, entitlements=None, external_id=None, force_delete=None, groups=None, id=None, idcs_created_bies=None, idcs_endpoint=None, idcs_last_modified_bies=None, idcs_last_upgraded_in_release=None, idcs_prevented_operations=None, ims=None, locale=None, metas=None, names=None, nick_name=None, ocid=None, password=None, phone_numbers=None, photos=None, preferred_language=None, profile_url=None, resource_type_schema_version=None, roles=None, schemas=None, tags=None, tenancy_ocid=None, timezone=None, title=None, urnietfparamsscimschemasextensionenterprise20users=None, urnietfparamsscimschemasoracleidcsextension_oci_tags=None, urnietfparamsscimschemasoracleidcsextensionadaptive_users=None, urnietfparamsscimschemasoracleidcsextensioncapabilities_users=None, urnietfparamsscimschemasoracleidcsextensiondb_credentials_users=None, urnietfparamsscimschemasoracleidcsextensiondb_user_users=None, urnietfparamsscimschemasoracleidcsextensionkerberos_user_users=None, urnietfparamsscimschemasoracleidcsextensionmfa_users=None, urnietfparamsscimschemasoracleidcsextensionpassword_state_users=None, urnietfparamsscimschemasoracleidcsextensionpasswordless_users=None, urnietfparamsscimschemasoracleidcsextensionposix_users=None, urnietfparamsscimschemasoracleidcsextensionsecurity_questions_users=None, urnietfparamsscimschemasoracleidcsextensionself_change_users=None, urnietfparamsscimschemasoracleidcsextensionself_registration_users=None, urnietfparamsscimschemasoracleidcsextensionsff_users=None, urnietfparamsscimschemasoracleidcsextensionsocial_account_users=None, urnietfparamsscimschemasoracleidcsextensionterms_of_use_users=None, urnietfparamsscimschemasoracleidcsextensionuser_credentials_users=None, urnietfparamsscimschemasoracleidcsextensionuser_state_users=None, urnietfparamsscimschemasoracleidcsextensionuser_users=None, user_id=None, user_name=None, user_type=None, x509certificates=None): if active and not isinstance(active, bool): raise TypeError("Expected argument 'active' to be a bool") pulumi.set(__self__, "active", active) @@ -62,6 +62,9 @@ def __init__(__self__, active=None, addresses=None, attribute_sets=None, attribu if external_id and not isinstance(external_id, str): raise TypeError("Expected argument 'external_id' to be a str") pulumi.set(__self__, "external_id", external_id) + if force_delete and not isinstance(force_delete, bool): + raise TypeError("Expected argument 'force_delete' to be a bool") + pulumi.set(__self__, "force_delete", force_delete) if groups and not isinstance(groups, list): raise TypeError("Expected argument 'groups' to be a list") pulumi.set(__self__, "groups", groups) @@ -305,6 +308,11 @@ def external_id(self) -> str: """ return pulumi.get(self, "external_id") + @property + @pulumi.getter(name="forceDelete") + def force_delete(self) -> bool: + return pulumi.get(self, "force_delete") + @property @pulumi.getter def groups(self) -> Sequence['outputs.GetDomainsUserGroupResult']: @@ -711,6 +719,7 @@ def __await__(self): emails=self.emails, entitlements=self.entitlements, external_id=self.external_id, + force_delete=self.force_delete, groups=self.groups, id=self.id, idcs_created_bies=self.idcs_created_bies, @@ -820,6 +829,7 @@ def get_domains_user(attribute_sets: Optional[Sequence[str]] = None, emails=pulumi.get(__ret__, 'emails'), entitlements=pulumi.get(__ret__, 'entitlements'), external_id=pulumi.get(__ret__, 'external_id'), + force_delete=pulumi.get(__ret__, 'force_delete'), groups=pulumi.get(__ret__, 'groups'), id=pulumi.get(__ret__, 'id'), idcs_created_bies=pulumi.get(__ret__, 'idcs_created_bies'), diff --git a/sdk/python/pulumi_oci/identity/outputs.py b/sdk/python/pulumi_oci/identity/outputs.py index 6b6af52c34..3b3659a4b1 100644 --- a/sdk/python/pulumi_oci/identity/outputs.py +++ b/sdk/python/pulumi_oci/identity/outputs.py @@ -97037,6 +97037,7 @@ def __init__(__self__, *, display_name: str, domain_ocid: str, external_id: str, + force_delete: bool, id: str, idcs_created_bies: Sequence['outputs.GetDomainsGroupsGroupIdcsCreatedByResult'], idcs_endpoint: str, @@ -97095,6 +97096,7 @@ def __init__(__self__, *, pulumi.set(__self__, "display_name", display_name) pulumi.set(__self__, "domain_ocid", domain_ocid) pulumi.set(__self__, "external_id", external_id) + pulumi.set(__self__, "force_delete", force_delete) pulumi.set(__self__, "id", id) pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) @@ -97180,6 +97182,11 @@ def external_id(self) -> str: """ return pulumi.get(self, "external_id") + @property + @pulumi.getter(name="forceDelete") + def force_delete(self) -> bool: + return pulumi.get(self, "force_delete") + @property @pulumi.getter def id(self) -> str: @@ -136748,6 +136755,7 @@ def __init__(__self__, *, emails: Sequence['outputs.GetDomainsUsersUserEmailResult'], entitlements: Sequence['outputs.GetDomainsUsersUserEntitlementResult'], external_id: str, + force_delete: bool, groups: Sequence['outputs.GetDomainsUsersUserGroupResult'], id: str, idcs_created_bies: Sequence['outputs.GetDomainsUsersUserIdcsCreatedByResult'], @@ -136872,6 +136880,7 @@ def __init__(__self__, *, pulumi.set(__self__, "emails", emails) pulumi.set(__self__, "entitlements", entitlements) pulumi.set(__self__, "external_id", external_id) + pulumi.set(__self__, "force_delete", force_delete) pulumi.set(__self__, "groups", groups) pulumi.set(__self__, "id", id) pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) @@ -137025,6 +137034,11 @@ def external_id(self) -> str: """ return pulumi.get(self, "external_id") + @property + @pulumi.getter(name="forceDelete") + def force_delete(self) -> bool: + return pulumi.get(self, "force_delete") + @property @pulumi.getter def groups(self) -> Sequence['outputs.GetDomainsUsersUserGroupResult']: diff --git a/sdk/python/pulumi_oci/kms/_inputs.py b/sdk/python/pulumi_oci/kms/_inputs.py index d5db5dcb76..48734a13c7 100644 --- a/sdk/python/pulumi_oci/kms/_inputs.py +++ b/sdk/python/pulumi_oci/kms/_inputs.py @@ -103,12 +103,12 @@ def __init__(__self__, *, time_of_next_rotation: Optional[pulumi.Input[str]] = None, time_of_schedule_start: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] last_rotation_message: (Updatable) The last execution status message. + :param pulumi.Input[str] last_rotation_message: (Updatable) The last execution status message of auto key rotation. :param pulumi.Input[str] last_rotation_status: (Updatable) The status of last execution of auto key rotation. - :param pulumi.Input[int] rotation_interval_in_days: (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) - :param pulumi.Input[str] time_of_last_rotation: (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. - :param pulumi.Input[str] time_of_next_rotation: (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . - :param pulumi.Input[str] time_of_schedule_start: (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + :param pulumi.Input[int] rotation_interval_in_days: (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. + :param pulumi.Input[str] time_of_last_rotation: (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. + :param pulumi.Input[str] time_of_next_rotation: (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. + :param pulumi.Input[str] time_of_schedule_start: (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. """ if last_rotation_message is not None: pulumi.set(__self__, "last_rotation_message", last_rotation_message) @@ -127,7 +127,7 @@ def __init__(__self__, *, @pulumi.getter(name="lastRotationMessage") def last_rotation_message(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) The last execution status message. + (Updatable) The last execution status message of auto key rotation. """ return pulumi.get(self, "last_rotation_message") @@ -151,7 +151,7 @@ def last_rotation_status(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="rotationIntervalInDays") def rotation_interval_in_days(self) -> Optional[pulumi.Input[int]]: """ - (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. """ return pulumi.get(self, "rotation_interval_in_days") @@ -163,7 +163,7 @@ def rotation_interval_in_days(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="timeOfLastRotation") def time_of_last_rotation(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. """ return pulumi.get(self, "time_of_last_rotation") @@ -175,7 +175,7 @@ def time_of_last_rotation(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="timeOfNextRotation") def time_of_next_rotation(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. """ return pulumi.get(self, "time_of_next_rotation") @@ -187,7 +187,7 @@ def time_of_next_rotation(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="timeOfScheduleStart") def time_of_schedule_start(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. """ return pulumi.get(self, "time_of_schedule_start") diff --git a/sdk/python/pulumi_oci/kms/get_vault.py b/sdk/python/pulumi_oci/kms/get_vault.py index 52c8df7e19..b07e4ddcc2 100644 --- a/sdk/python/pulumi_oci/kms/get_vault.py +++ b/sdk/python/pulumi_oci/kms/get_vault.py @@ -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, 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): + 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, is_vault_replicable=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) @@ -50,6 +50,9 @@ def __init__(__self__, compartment_id=None, crypto_endpoint=None, defined_tags=N if is_primary and not isinstance(is_primary, bool): raise TypeError("Expected argument 'is_primary' to be a bool") pulumi.set(__self__, "is_primary", is_primary) + if is_vault_replicable and not isinstance(is_vault_replicable, bool): + raise TypeError("Expected argument 'is_vault_replicable' to be a bool") + pulumi.set(__self__, "is_vault_replicable", is_vault_replicable) if management_endpoint and not isinstance(management_endpoint, str): raise TypeError("Expected argument 'management_endpoint' to be a str") pulumi.set(__self__, "management_endpoint", management_endpoint) @@ -153,6 +156,14 @@ def is_primary(self) -> bool: """ return pulumi.get(self, "is_primary") + @property + @pulumi.getter(name="isVaultReplicable") + def is_vault_replicable(self) -> bool: + """ + A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + """ + return pulumi.get(self, "is_vault_replicable") + @property @pulumi.getter(name="managementEndpoint") def management_endpoint(self) -> str: @@ -254,6 +265,7 @@ def __await__(self): freeform_tags=self.freeform_tags, id=self.id, is_primary=self.is_primary, + is_vault_replicable=self.is_vault_replicable, management_endpoint=self.management_endpoint, replica_details=self.replica_details, restore_from_files=self.restore_from_files, @@ -306,6 +318,7 @@ def get_vault(vault_id: Optional[str] = None, freeform_tags=pulumi.get(__ret__, 'freeform_tags'), id=pulumi.get(__ret__, 'id'), is_primary=pulumi.get(__ret__, 'is_primary'), + is_vault_replicable=pulumi.get(__ret__, 'is_vault_replicable'), management_endpoint=pulumi.get(__ret__, 'management_endpoint'), replica_details=pulumi.get(__ret__, 'replica_details'), restore_from_files=pulumi.get(__ret__, 'restore_from_files'), diff --git a/sdk/python/pulumi_oci/kms/outputs.py b/sdk/python/pulumi_oci/kms/outputs.py index 27227b91cb..01950eaa10 100644 --- a/sdk/python/pulumi_oci/kms/outputs.py +++ b/sdk/python/pulumi_oci/kms/outputs.py @@ -174,12 +174,12 @@ def __init__(__self__, *, time_of_next_rotation: Optional[str] = None, time_of_schedule_start: Optional[str] = None): """ - :param str last_rotation_message: (Updatable) The last execution status message. + :param str last_rotation_message: (Updatable) The last execution status message of auto key rotation. :param str last_rotation_status: (Updatable) The status of last execution of auto key rotation. - :param int rotation_interval_in_days: (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) - :param str time_of_last_rotation: (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. - :param str time_of_next_rotation: (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . - :param str time_of_schedule_start: (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + :param int rotation_interval_in_days: (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. + :param str time_of_last_rotation: (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. + :param str time_of_next_rotation: (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. + :param str time_of_schedule_start: (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. """ if last_rotation_message is not None: pulumi.set(__self__, "last_rotation_message", last_rotation_message) @@ -198,7 +198,7 @@ def __init__(__self__, *, @pulumi.getter(name="lastRotationMessage") def last_rotation_message(self) -> Optional[str]: """ - (Updatable) The last execution status message. + (Updatable) The last execution status message of auto key rotation. """ return pulumi.get(self, "last_rotation_message") @@ -214,7 +214,7 @@ def last_rotation_status(self) -> Optional[str]: @pulumi.getter(name="rotationIntervalInDays") def rotation_interval_in_days(self) -> Optional[int]: """ - (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + (Updatable) The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. """ return pulumi.get(self, "rotation_interval_in_days") @@ -222,7 +222,7 @@ def rotation_interval_in_days(self) -> Optional[int]: @pulumi.getter(name="timeOfLastRotation") def time_of_last_rotation(self) -> Optional[str]: """ - (Updatable) A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + (Updatable) A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. """ return pulumi.get(self, "time_of_last_rotation") @@ -230,7 +230,7 @@ def time_of_last_rotation(self) -> Optional[str]: @pulumi.getter(name="timeOfNextRotation") def time_of_next_rotation(self) -> Optional[str]: """ - (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + (Updatable) A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. """ return pulumi.get(self, "time_of_next_rotation") @@ -238,7 +238,7 @@ def time_of_next_rotation(self) -> Optional[str]: @pulumi.getter(name="timeOfScheduleStart") def time_of_schedule_start(self) -> Optional[str]: """ - (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + (Updatable) A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. """ return pulumi.get(self, "time_of_schedule_start") @@ -1252,12 +1252,12 @@ def __init__(__self__, *, time_of_next_rotation: str, time_of_schedule_start: str): """ - :param str last_rotation_message: The last execution status message. + :param str last_rotation_message: The last execution status message of auto key rotation. :param str last_rotation_status: The status of last execution of auto key rotation. - :param int rotation_interval_in_days: The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) - :param str time_of_last_rotation: A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. - :param str time_of_next_rotation: A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . - :param str time_of_schedule_start: A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + :param int rotation_interval_in_days: The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. + :param str time_of_last_rotation: A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. + :param str time_of_next_rotation: A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. + :param str time_of_schedule_start: A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. """ pulumi.set(__self__, "last_rotation_message", last_rotation_message) pulumi.set(__self__, "last_rotation_status", last_rotation_status) @@ -1270,7 +1270,7 @@ def __init__(__self__, *, @pulumi.getter(name="lastRotationMessage") def last_rotation_message(self) -> str: """ - The last execution status message. + The last execution status message of auto key rotation. """ return pulumi.get(self, "last_rotation_message") @@ -1286,7 +1286,7 @@ def last_rotation_status(self) -> str: @pulumi.getter(name="rotationIntervalInDays") def rotation_interval_in_days(self) -> int: """ - The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. """ return pulumi.get(self, "rotation_interval_in_days") @@ -1294,7 +1294,7 @@ def rotation_interval_in_days(self) -> int: @pulumi.getter(name="timeOfLastRotation") def time_of_last_rotation(self) -> str: """ - A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. """ return pulumi.get(self, "time_of_last_rotation") @@ -1302,7 +1302,7 @@ def time_of_last_rotation(self) -> str: @pulumi.getter(name="timeOfNextRotation") def time_of_next_rotation(self) -> str: """ - A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. """ return pulumi.get(self, "time_of_next_rotation") @@ -1310,7 +1310,7 @@ def time_of_next_rotation(self) -> str: @pulumi.getter(name="timeOfScheduleStart") def time_of_schedule_start(self) -> str: """ - A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. """ return pulumi.get(self, "time_of_schedule_start") @@ -2123,12 +2123,12 @@ def __init__(__self__, *, time_of_next_rotation: str, time_of_schedule_start: str): """ - :param str last_rotation_message: The last execution status message. + :param str last_rotation_message: The last execution status message of auto key rotation. :param str last_rotation_status: The status of last execution of auto key rotation. - :param int rotation_interval_in_days: The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) - :param str time_of_last_rotation: A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. - :param str time_of_next_rotation: A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . - :param str time_of_schedule_start: A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + :param int rotation_interval_in_days: The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. + :param str time_of_last_rotation: A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. + :param str time_of_next_rotation: A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. + :param str time_of_schedule_start: A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. """ pulumi.set(__self__, "last_rotation_message", last_rotation_message) pulumi.set(__self__, "last_rotation_status", last_rotation_status) @@ -2141,7 +2141,7 @@ def __init__(__self__, *, @pulumi.getter(name="lastRotationMessage") def last_rotation_message(self) -> str: """ - The last execution status message. + The last execution status message of auto key rotation. """ return pulumi.get(self, "last_rotation_message") @@ -2157,7 +2157,7 @@ def last_rotation_status(self) -> str: @pulumi.getter(name="rotationIntervalInDays") def rotation_interval_in_days(self) -> int: """ - The interval of auto key rotation. For auto key rotation the interval should between 30 day and 365 days (1 year) + The interval of auto key rotation. For auto key rotation the interval should between 60 day and 365 days (1 year). Note: User must specify this parameter when creating a new schedule. """ return pulumi.get(self, "rotation_interval_in_days") @@ -2165,7 +2165,7 @@ def rotation_interval_in_days(self) -> int: @pulumi.getter(name="timeOfLastRotation") def time_of_last_rotation(self) -> str: """ - A property indicating Last rotation Date Example: `2023-04-04T00:00:00Z`. + A property indicating Last rotation Date. Example: `2023-04-04T00:00:00Z`. """ return pulumi.get(self, "time_of_last_rotation") @@ -2173,7 +2173,7 @@ def time_of_last_rotation(self) -> str: @pulumi.getter(name="timeOfNextRotation") def time_of_next_rotation(self) -> str: """ - A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + A property indicating Next estimated scheduled Time, as per the interval, expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z`. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z. """ return pulumi.get(self, "time_of_next_rotation") @@ -2181,7 +2181,7 @@ def time_of_next_rotation(self) -> str: @pulumi.getter(name="timeOfScheduleStart") def time_of_schedule_start(self) -> str: """ - A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z` . + A property indicating scheduled start date expressed as date YYYY-MM-DD String. Example: `2023-04-04T00:00:00Z. The time has no significance when scheduling an auto key rotation as this can be done anytime approximately the scheduled day, KMS ignores the time and replaces it with 00:00, for example 2023-04-04T15:14:13Z will be used as 2023-04-04T00:00:00Z . Note : Today’s date will be used if not specified by customer. """ return pulumi.get(self, "time_of_schedule_start") @@ -2775,6 +2775,7 @@ def __init__(__self__, *, freeform_tags: Mapping[str, str], id: str, is_primary: bool, + is_vault_replicable: bool, management_endpoint: str, replica_details: Sequence['outputs.GetVaultsVaultReplicaDetailResult'], restore_from_files: Sequence['outputs.GetVaultsVaultRestoreFromFileResult'], @@ -2794,6 +2795,7 @@ def __init__(__self__, *, :param Mapping[str, str] 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 value that indicates whether the Vault is primary Vault or replica Vault. + :param bool is_vault_replicable: A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. :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. @@ -2811,6 +2813,7 @@ def __init__(__self__, *, pulumi.set(__self__, "freeform_tags", freeform_tags) pulumi.set(__self__, "id", id) pulumi.set(__self__, "is_primary", is_primary) + pulumi.set(__self__, "is_vault_replicable", is_vault_replicable) pulumi.set(__self__, "management_endpoint", management_endpoint) pulumi.set(__self__, "replica_details", replica_details) pulumi.set(__self__, "restore_from_files", restore_from_files) @@ -2891,6 +2894,14 @@ def is_primary(self) -> bool: """ return pulumi.get(self, "is_primary") + @property + @pulumi.getter(name="isVaultReplicable") + def is_vault_replicable(self) -> bool: + """ + A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + """ + return pulumi.get(self, "is_vault_replicable") + @property @pulumi.getter(name="managementEndpoint") def management_endpoint(self) -> str: diff --git a/sdk/python/pulumi_oci/kms/vault.py b/sdk/python/pulumi_oci/kms/vault.py index 4c1558af04..d416599bbe 100644 --- a/sdk/python/pulumi_oci/kms/vault.py +++ b/sdk/python/pulumi_oci/kms/vault.py @@ -191,6 +191,7 @@ def __init__(__self__, *, external_key_manager_metadata_summaries: Optional[pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryArgs']]]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, is_primary: Optional[pulumi.Input[bool]] = None, + is_vault_replicable: 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, @@ -211,6 +212,7 @@ def __init__(__self__, *, :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, pulumi.Input[str]]] 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 value that indicates whether the Vault is primary Vault or replica Vault. + :param pulumi.Input[bool] is_vault_replicable: A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. :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. @@ -240,6 +242,8 @@ def __init__(__self__, *, pulumi.set(__self__, "freeform_tags", freeform_tags) if is_primary is not None: pulumi.set(__self__, "is_primary", is_primary) + if is_vault_replicable is not None: + pulumi.set(__self__, "is_vault_replicable", is_vault_replicable) if management_endpoint is not None: pulumi.set(__self__, "management_endpoint", management_endpoint) if replica_details is not None: @@ -357,6 +361,18 @@ def is_primary(self) -> Optional[pulumi.Input[bool]]: def is_primary(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_primary", value) + @property + @pulumi.getter(name="isVaultReplicable") + def is_vault_replicable(self) -> Optional[pulumi.Input[bool]]: + """ + A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + """ + return pulumi.get(self, "is_vault_replicable") + + @is_vault_replicable.setter + def is_vault_replicable(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_vault_replicable", value) + @property @pulumi.getter(name="managementEndpoint") def management_endpoint(self) -> Optional[pulumi.Input[str]]: @@ -664,6 +680,7 @@ def _internal_init(__self__, __props__.__dict__["crypto_endpoint"] = None __props__.__dict__["external_key_manager_metadata_summaries"] = None __props__.__dict__["is_primary"] = None + __props__.__dict__["is_vault_replicable"] = None __props__.__dict__["management_endpoint"] = None __props__.__dict__["replica_details"] = None __props__.__dict__["restored_from_vault_id"] = None @@ -687,6 +704,7 @@ def get(resource_name: str, external_key_manager_metadata_summaries: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VaultExternalKeyManagerMetadataSummaryArgs', 'VaultExternalKeyManagerMetadataSummaryArgsDict']]]]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, is_primary: Optional[pulumi.Input[bool]] = None, + is_vault_replicable: Optional[pulumi.Input[bool]] = None, management_endpoint: Optional[pulumi.Input[str]] = None, replica_details: Optional[pulumi.Input[Sequence[pulumi.Input[Union['VaultReplicaDetailArgs', 'VaultReplicaDetailArgsDict']]]]] = None, restore_from_file: Optional[pulumi.Input[Union['VaultRestoreFromFileArgs', 'VaultRestoreFromFileArgsDict']]] = None, @@ -712,6 +730,7 @@ def get(resource_name: str, :param pulumi.Input[Sequence[pulumi.Input[Union['VaultExternalKeyManagerMetadataSummaryArgs', 'VaultExternalKeyManagerMetadataSummaryArgsDict']]]] 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, pulumi.Input[str]]] 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 value that indicates whether the Vault is primary Vault or replica Vault. + :param pulumi.Input[bool] is_vault_replicable: A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. :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[Union['VaultReplicaDetailArgs', 'VaultReplicaDetailArgsDict']]]] replica_details: Vault replica details :param pulumi.Input[Union['VaultRestoreFromFileArgs', 'VaultRestoreFromFileArgsDict']] restore_from_file: (Updatable) Details where vault was backed up. @@ -737,6 +756,7 @@ def get(resource_name: str, __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__["is_vault_replicable"] = is_vault_replicable __props__.__dict__["management_endpoint"] = management_endpoint __props__.__dict__["replica_details"] = replica_details __props__.__dict__["restore_from_file"] = restore_from_file @@ -813,6 +833,14 @@ def is_primary(self) -> pulumi.Output[bool]: """ return pulumi.get(self, "is_primary") + @property + @pulumi.getter(name="isVaultReplicable") + def is_vault_replicable(self) -> pulumi.Output[bool]: + """ + A Boolean value that indicates whether the Vault has cross region replication capability. Always true for Virtual Private Vaults. + """ + return pulumi.get(self, "is_vault_replicable") + @property @pulumi.getter(name="managementEndpoint") def management_endpoint(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/loadbalancer/load_balancer.py b/sdk/python/pulumi_oci/loadbalancer/load_balancer.py index eae93e678e..fddc3c9404 100644 --- a/sdk/python/pulumi_oci/loadbalancer/load_balancer.py +++ b/sdk/python/pulumi_oci/loadbalancer/load_balancer.py @@ -25,7 +25,9 @@ def __init__(__self__, *, ip_mode: Optional[pulumi.Input[str]] = None, is_delete_protection_enabled: Optional[pulumi.Input[bool]] = None, is_private: Optional[pulumi.Input[bool]] = None, + is_request_id_enabled: Optional[pulumi.Input[bool]] = None, network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + request_id_header: Optional[pulumi.Input[str]] = None, reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerReservedIpArgs']]]] = None, shape_details: Optional[pulumi.Input['LoadBalancerShapeDetailsArgs']] = None): """ @@ -62,6 +64,15 @@ def __init__(__self__, *, A public load balancer is accessible from the internet, depending on your VCN's [security list rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). For more information about public and private load balancers, see [How Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works). + Example: `true` + :param pulumi.Input[bool] is_request_id_enabled: (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + + If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + + If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + + New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + Example: `true` :param pulumi.Input[Sequence[pulumi.Input[str]]] network_security_group_ids: (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. @@ -72,6 +83,17 @@ def __init__(__self__, *, * The network security rules of other resources can reference the NSGs associated with the load balancer to ensure access. Example: `["ocid1.nsg.oc1.phx.unique_ID"]` + :param pulumi.Input[str] request_id_header: (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + + If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + + If isRequestIdEnabled is false then this field is ignored. + + If this field is not set or is set to "" then this field defaults to X-Request-Id + + **Notes:** + * Unless the header name is "" it must start with "X-" prefix. + * Setting the header name to "" will set it to the default: X-Request-Id. :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`. """ @@ -89,8 +111,12 @@ def __init__(__self__, *, pulumi.set(__self__, "is_delete_protection_enabled", is_delete_protection_enabled) if is_private is not None: pulumi.set(__self__, "is_private", is_private) + if is_request_id_enabled is not None: + pulumi.set(__self__, "is_request_id_enabled", is_request_id_enabled) if network_security_group_ids is not None: pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + if request_id_header is not None: + pulumi.set(__self__, "request_id_header", request_id_header) if reserved_ips is not None: pulumi.set(__self__, "reserved_ips", reserved_ips) if shape_details is not None: @@ -228,6 +254,26 @@ def is_private(self) -> Optional[pulumi.Input[bool]]: def is_private(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_private", value) + @property + @pulumi.getter(name="isRequestIdEnabled") + def is_request_id_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + + If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + + If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + + New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + + Example: `true` + """ + return pulumi.get(self, "is_request_id_enabled") + + @is_request_id_enabled.setter + def is_request_id_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_request_id_enabled", value) + @property @pulumi.getter(name="networkSecurityGroupIds") def network_security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -248,6 +294,28 @@ def network_security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.In def network_security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "network_security_group_ids", value) + @property + @pulumi.getter(name="requestIdHeader") + def request_id_header(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + + If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + + If isRequestIdEnabled is false then this field is ignored. + + If this field is not set or is set to "" then this field defaults to X-Request-Id + + **Notes:** + * Unless the header name is "" it must start with "X-" prefix. + * Setting the header name to "" will set it to the default: X-Request-Id. + """ + return pulumi.get(self, "request_id_header") + + @request_id_header.setter + def request_id_header(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "request_id_header", value) + @property @pulumi.getter(name="reservedIps") def reserved_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerReservedIpArgs']]]]: @@ -285,7 +353,9 @@ def __init__(__self__, *, ip_mode: Optional[pulumi.Input[str]] = None, is_delete_protection_enabled: Optional[pulumi.Input[bool]] = None, is_private: Optional[pulumi.Input[bool]] = None, + is_request_id_enabled: Optional[pulumi.Input[bool]] = None, network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + request_id_header: Optional[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, @@ -323,6 +393,15 @@ def __init__(__self__, *, A public load balancer is accessible from the internet, depending on your VCN's [security list rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). For more information about public and private load balancers, see [How Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works). + Example: `true` + :param pulumi.Input[bool] is_request_id_enabled: (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + + If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + + If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + + New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + Example: `true` :param pulumi.Input[Sequence[pulumi.Input[str]]] network_security_group_ids: (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. @@ -333,6 +412,17 @@ def __init__(__self__, *, * The network security rules of other resources can reference the NSGs associated with the load balancer to ensure access. Example: `["ocid1.nsg.oc1.phx.unique_ID"]` + :param pulumi.Input[str] request_id_header: (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + + If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + + If isRequestIdEnabled is false then this field is ignored. + + If this field is not set or is set to "" then this field defaults to X-Request-Id + + **Notes:** + * Unless the header name is "" it must start with "X-" prefix. + * Setting the header name to "" will set it to the default: X-Request-Id. :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[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`. :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`. @@ -366,8 +456,12 @@ def __init__(__self__, *, pulumi.set(__self__, "is_delete_protection_enabled", is_delete_protection_enabled) if is_private is not None: pulumi.set(__self__, "is_private", is_private) + if is_request_id_enabled is not None: + pulumi.set(__self__, "is_request_id_enabled", is_request_id_enabled) if network_security_group_ids is not None: pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + if request_id_header is not None: + pulumi.set(__self__, "request_id_header", request_id_header) if reserved_ips is not None: pulumi.set(__self__, "reserved_ips", reserved_ips) if shape is not None: @@ -512,6 +606,26 @@ def is_private(self) -> Optional[pulumi.Input[bool]]: def is_private(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_private", value) + @property + @pulumi.getter(name="isRequestIdEnabled") + def is_request_id_enabled(self) -> Optional[pulumi.Input[bool]]: + """ + (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + + If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + + If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + + New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + + Example: `true` + """ + return pulumi.get(self, "is_request_id_enabled") + + @is_request_id_enabled.setter + def is_request_id_enabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_request_id_enabled", value) + @property @pulumi.getter(name="networkSecurityGroupIds") def network_security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -532,6 +646,28 @@ def network_security_group_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.In def network_security_group_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): pulumi.set(self, "network_security_group_ids", value) + @property + @pulumi.getter(name="requestIdHeader") + def request_id_header(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + + If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + + If isRequestIdEnabled is false then this field is ignored. + + If this field is not set or is set to "" then this field defaults to X-Request-Id + + **Notes:** + * Unless the header name is "" it must start with "X-" prefix. + * Setting the header name to "" will set it to the default: X-Request-Id. + """ + return pulumi.get(self, "request_id_header") + + @request_id_header.setter + def request_id_header(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "request_id_header", value) + @property @pulumi.getter(name="reservedIps") def reserved_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerReservedIpArgs']]]]: @@ -633,7 +769,9 @@ def __init__(__self__, ip_mode: Optional[pulumi.Input[str]] = None, is_delete_protection_enabled: Optional[pulumi.Input[bool]] = None, is_private: Optional[pulumi.Input[bool]] = None, + is_request_id_enabled: Optional[pulumi.Input[bool]] = None, network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + request_id_header: Optional[pulumi.Input[str]] = None, reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerReservedIpArgs', 'LoadBalancerReservedIpArgsDict']]]]] = None, shape: Optional[pulumi.Input[str]] = None, shape_details: Optional[pulumi.Input[Union['LoadBalancerShapeDetailsArgs', 'LoadBalancerShapeDetailsArgsDict']]] = None, @@ -691,7 +829,9 @@ def __init__(__self__, ip_mode=load_balancer_ip_mode, is_delete_protection_enabled=load_balancer_is_delete_protection_enabled, is_private=load_balancer_is_private, + is_request_id_enabled=load_balancer_is_request_id_enabled, network_security_group_ids=load_balancer_network_security_group_ids, + request_id_header=load_balancer_request_id_header, reserved_ips=[{ "id": load_balancer_reserved_ips_id, }], @@ -737,6 +877,15 @@ def __init__(__self__, A public load balancer is accessible from the internet, depending on your VCN's [security list rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). For more information about public and private load balancers, see [How Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works). + Example: `true` + :param pulumi.Input[bool] is_request_id_enabled: (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + + If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + + If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + + New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + Example: `true` :param pulumi.Input[Sequence[pulumi.Input[str]]] network_security_group_ids: (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. @@ -747,6 +896,17 @@ def __init__(__self__, * The network security rules of other resources can reference the NSGs associated with the load balancer to ensure access. Example: `["ocid1.nsg.oc1.phx.unique_ID"]` + :param pulumi.Input[str] request_id_header: (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + + If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + + If isRequestIdEnabled is false then this field is ignored. + + If this field is not set or is set to "" then this field defaults to X-Request-Id + + **Notes:** + * Unless the header name is "" it must start with "X-" prefix. + * Setting the header name to "" will set it to the default: X-Request-Id. :param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerReservedIpArgs', 'LoadBalancerReservedIpArgsDict']]]] 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[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`. :param pulumi.Input[Union['LoadBalancerShapeDetailsArgs', 'LoadBalancerShapeDetailsArgsDict']] shape_details: (Updatable) The configuration details to create load balancer using Flexible shape. This is required only if shapeName is `Flexible`. @@ -814,7 +974,9 @@ def __init__(__self__, ip_mode=load_balancer_ip_mode, is_delete_protection_enabled=load_balancer_is_delete_protection_enabled, is_private=load_balancer_is_private, + is_request_id_enabled=load_balancer_is_request_id_enabled, network_security_group_ids=load_balancer_network_security_group_ids, + request_id_header=load_balancer_request_id_header, reserved_ips=[{ "id": load_balancer_reserved_ips_id, }], @@ -854,7 +1016,9 @@ def _internal_init(__self__, ip_mode: Optional[pulumi.Input[str]] = None, is_delete_protection_enabled: Optional[pulumi.Input[bool]] = None, is_private: Optional[pulumi.Input[bool]] = None, + is_request_id_enabled: Optional[pulumi.Input[bool]] = None, network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + request_id_header: Optional[pulumi.Input[str]] = None, reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerReservedIpArgs', 'LoadBalancerReservedIpArgsDict']]]]] = None, shape: Optional[pulumi.Input[str]] = None, shape_details: Optional[pulumi.Input[Union['LoadBalancerShapeDetailsArgs', 'LoadBalancerShapeDetailsArgsDict']]] = None, @@ -879,7 +1043,9 @@ def _internal_init(__self__, __props__.__dict__["ip_mode"] = ip_mode __props__.__dict__["is_delete_protection_enabled"] = is_delete_protection_enabled __props__.__dict__["is_private"] = is_private + __props__.__dict__["is_request_id_enabled"] = is_request_id_enabled __props__.__dict__["network_security_group_ids"] = network_security_group_ids + __props__.__dict__["request_id_header"] = request_id_header __props__.__dict__["reserved_ips"] = reserved_ips if shape is None and not opts.urn: raise TypeError("Missing required property 'shape'") @@ -912,7 +1078,9 @@ def get(resource_name: str, ip_mode: Optional[pulumi.Input[str]] = None, is_delete_protection_enabled: Optional[pulumi.Input[bool]] = None, is_private: Optional[pulumi.Input[bool]] = None, + is_request_id_enabled: Optional[pulumi.Input[bool]] = None, network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + request_id_header: Optional[pulumi.Input[str]] = None, reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerReservedIpArgs', 'LoadBalancerReservedIpArgsDict']]]]] = None, shape: Optional[pulumi.Input[str]] = None, shape_details: Optional[pulumi.Input[Union['LoadBalancerShapeDetailsArgs', 'LoadBalancerShapeDetailsArgsDict']]] = None, @@ -955,6 +1123,15 @@ def get(resource_name: str, A public load balancer is accessible from the internet, depending on your VCN's [security list rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securitylists.htm). For more information about public and private load balancers, see [How Load Balancing Works](https://docs.cloud.oracle.com/iaas/Content/Balance/Concepts/balanceoverview.htm#how-load-balancing-works). + Example: `true` + :param pulumi.Input[bool] is_request_id_enabled: (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + + If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + + If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + + New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + Example: `true` :param pulumi.Input[Sequence[pulumi.Input[str]]] network_security_group_ids: (Updatable) An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this load balancer. @@ -965,6 +1142,17 @@ def get(resource_name: str, * The network security rules of other resources can reference the NSGs associated with the load balancer to ensure access. Example: `["ocid1.nsg.oc1.phx.unique_ID"]` + :param pulumi.Input[str] request_id_header: (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + + If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + + If isRequestIdEnabled is false then this field is ignored. + + If this field is not set or is set to "" then this field defaults to X-Request-Id + + **Notes:** + * Unless the header name is "" it must start with "X-" prefix. + * Setting the header name to "" will set it to the default: X-Request-Id. :param pulumi.Input[Sequence[pulumi.Input[Union['LoadBalancerReservedIpArgs', 'LoadBalancerReservedIpArgsDict']]]] 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[str] shape: (Updatable) A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `flexible` NOTE: After May 2023, Fixed shapes - 10Mbps, 100Mbps, 400Mbps, 8000Mbps would be deprecated and only shape allowed would be `Flexible` *Note: When updating shape for a load balancer, all existing connections to the load balancer will be reset during the update process. Also `10Mbps-Micro` shape cannot be updated to any other shape nor can any other shape be updated to `10Mbps-Micro`. :param pulumi.Input[Union['LoadBalancerShapeDetailsArgs', 'LoadBalancerShapeDetailsArgsDict']] shape_details: (Updatable) The configuration details to create load balancer using Flexible shape. This is required only if shapeName is `Flexible`. @@ -990,7 +1178,9 @@ def get(resource_name: str, __props__.__dict__["ip_mode"] = ip_mode __props__.__dict__["is_delete_protection_enabled"] = is_delete_protection_enabled __props__.__dict__["is_private"] = is_private + __props__.__dict__["is_request_id_enabled"] = is_request_id_enabled __props__.__dict__["network_security_group_ids"] = network_security_group_ids + __props__.__dict__["request_id_header"] = request_id_header __props__.__dict__["reserved_ips"] = reserved_ips __props__.__dict__["shape"] = shape __props__.__dict__["shape_details"] = shape_details @@ -1093,6 +1283,22 @@ def is_private(self) -> pulumi.Output[bool]: """ return pulumi.get(self, "is_private") + @property + @pulumi.getter(name="isRequestIdEnabled") + def is_request_id_enabled(self) -> pulumi.Output[bool]: + """ + (Updatable) Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + + If "true", the load balancer will attach a unique request id header to every request passed through from the load balancer to load balancer backends. This same request id header also will be added to the response the lb received from the backend handling the request before the load balancer returns the response to the requestor. The name of the unique request id header is set the by value of requestIdHeader. + + If "false", the loadbalancer not add this unique request id header to either the request passed through to the load balancer backends nor to the reponse returned to the user. + + New load balancers have the Request Id feature disabled unless isRequestIdEnabled is set to true. + + Example: `true` + """ + return pulumi.get(self, "is_request_id_enabled") + @property @pulumi.getter(name="networkSecurityGroupIds") def network_security_group_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: @@ -1109,6 +1315,24 @@ def network_security_group_ids(self) -> pulumi.Output[Optional[Sequence[str]]]: """ return pulumi.get(self, "network_security_group_ids") + @property + @pulumi.getter(name="requestIdHeader") + def request_id_header(self) -> pulumi.Output[str]: + """ + (Updatable) If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + + If a request to the load balancer already contains a header with same name as specified in requestIdHeader then the load balancer will not change the value of that field. + + If isRequestIdEnabled is false then this field is ignored. + + If this field is not set or is set to "" then this field defaults to X-Request-Id + + **Notes:** + * Unless the header name is "" it must start with "X-" prefix. + * Setting the header name to "" will set it to the default: X-Request-Id. + """ + return pulumi.get(self, "request_id_header") + @property @pulumi.getter(name="reservedIps") def reserved_ips(self) -> pulumi.Output[Optional[Sequence['outputs.LoadBalancerReservedIp']]]: diff --git a/sdk/python/pulumi_oci/loadbalancer/outputs.py b/sdk/python/pulumi_oci/loadbalancer/outputs.py index 5d3944e1a8..cfbd36faea 100644 --- a/sdk/python/pulumi_oci/loadbalancer/outputs.py +++ b/sdk/python/pulumi_oci/loadbalancer/outputs.py @@ -3715,7 +3715,9 @@ def __init__(__self__, *, ip_mode: str, is_delete_protection_enabled: bool, is_private: bool, + is_request_id_enabled: bool, network_security_group_ids: Sequence[str], + request_id_header: str, reserved_ips: Sequence['outputs.GetLoadBalancersLoadBalancerReservedIpResult'], shape: str, shape_details: Sequence['outputs.GetLoadBalancersLoadBalancerShapeDetailResult'], @@ -3733,7 +3735,9 @@ def __init__(__self__, *, :param Sequence[str] ip_addresses: An array of IP addresses. Deprecated: use ip_address_details instead. :param bool is_delete_protection_enabled: Whether or not the load balancer has delete protection enabled. :param bool is_private: Whether the load balancer has a VCN-local (private) IP address. + :param bool is_request_id_enabled: Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. :param Sequence[str] network_security_group_ids: An array of NSG [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the load balancer. + :param str request_id_header: If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. :param str shape: A template that determines the total pre-provisioned bandwidth (ingress plus egress). To get a list of available shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/loadbalancer/20170115/LoadBalancerShape/ListShapes) operation. Example: `100Mbps` :param Sequence['GetLoadBalancersLoadBalancerShapeDetailArgs'] shape_details: The configuration details to update load balancer to a different shape. :param str state: A filter to return only resources that match the given lifecycle state. Example: `SUCCEEDED` @@ -3751,7 +3755,9 @@ def __init__(__self__, *, pulumi.set(__self__, "ip_mode", ip_mode) pulumi.set(__self__, "is_delete_protection_enabled", is_delete_protection_enabled) pulumi.set(__self__, "is_private", is_private) + pulumi.set(__self__, "is_request_id_enabled", is_request_id_enabled) pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + pulumi.set(__self__, "request_id_header", request_id_header) pulumi.set(__self__, "reserved_ips", reserved_ips) pulumi.set(__self__, "shape", shape) pulumi.set(__self__, "shape_details", shape_details) @@ -3838,6 +3844,14 @@ def is_private(self) -> bool: """ return pulumi.get(self, "is_private") + @property + @pulumi.getter(name="isRequestIdEnabled") + def is_request_id_enabled(self) -> bool: + """ + Whether or not the load balancer has the Request Id feature enabled for HTTP listeners. + """ + return pulumi.get(self, "is_request_id_enabled") + @property @pulumi.getter(name="networkSecurityGroupIds") def network_security_group_ids(self) -> Sequence[str]: @@ -3846,6 +3860,14 @@ def network_security_group_ids(self) -> Sequence[str]: """ return pulumi.get(self, "network_security_group_ids") + @property + @pulumi.getter(name="requestIdHeader") + def request_id_header(self) -> str: + """ + If isRequestIdEnabled is true then this field contains the name of the header field that contains the unique request id that is attached to every request from the load balancer to the load balancer backends and to every response from the load balancer. + """ + return pulumi.get(self, "request_id_header") + @property @pulumi.getter(name="reservedIps") def reserved_ips(self) -> Sequence['outputs.GetLoadBalancersLoadBalancerReservedIpResult']: diff --git a/sdk/python/pulumi_oci/mysql/_inputs.py b/sdk/python/pulumi_oci/mysql/_inputs.py index 749a7924ea..e32e4e8f70 100644 --- a/sdk/python/pulumi_oci/mysql/_inputs.py +++ b/sdk/python/pulumi_oci/mysql/_inputs.py @@ -37,6 +37,7 @@ 'MysqlDbSystemChannelTargetArgs', 'MysqlDbSystemChannelTargetFilterArgs', 'MysqlDbSystemCurrentPlacementArgs', + 'MysqlDbSystemCustomerContactArgs', 'MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDeletionPolicyArgs', 'MysqlDbSystemEndpointArgs', @@ -3888,6 +3889,28 @@ def fault_domain(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "fault_domain", value) +@pulumi.input_type +class MysqlDbSystemCustomerContactArgs: + def __init__(__self__, *, + email: pulumi.Input[str]): + """ + :param pulumi.Input[str] email: (Updatable) The email address used by Oracle to send notifications regarding the DB System. + """ + pulumi.set(__self__, "email", email) + + @property + @pulumi.getter + def email(self) -> pulumi.Input[str]: + """ + (Updatable) The email address used by Oracle to send notifications regarding the DB System. + """ + return pulumi.get(self, "email") + + @email.setter + def email(self, value: pulumi.Input[str]): + pulumi.set(self, "email", value) + + @pulumi.input_type class MysqlDbSystemDataStorageArgs: def __init__(__self__, *, 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 dc1701cf96..0574fd62bd 100644 --- a/sdk/python/pulumi_oci/mysql/get_mysql_db_system.py +++ b/sdk/python/pulumi_oci/mysql/get_mysql_db_system.py @@ -22,7 +22,7 @@ class GetMysqlDbSystemResult: """ A collection of values returned by getMysqlDbSystem. """ - def __init__(__self__, admin_password=None, admin_username=None, availability_domain=None, backup_policies=None, channels=None, compartment_id=None, configuration_id=None, crash_recovery=None, current_placements=None, data_storage_size_in_gb=None, data_storages=None, database_management=None, db_system_id=None, defined_tags=None, deletion_policies=None, description=None, display_name=None, endpoints=None, fault_domain=None, freeform_tags=None, heat_wave_clusters=None, hostname_label=None, id=None, ip_address=None, is_heat_wave_cluster_attached=None, is_highly_available=None, lifecycle_details=None, maintenances=None, mysql_version=None, point_in_time_recovery_details=None, port=None, port_x=None, secure_connections=None, shape_name=None, shutdown_type=None, sources=None, state=None, subnet_id=None, time_created=None, time_updated=None): + def __init__(__self__, admin_password=None, admin_username=None, availability_domain=None, backup_policies=None, channels=None, compartment_id=None, configuration_id=None, crash_recovery=None, current_placements=None, customer_contacts=None, data_storage_size_in_gb=None, data_storages=None, database_management=None, db_system_id=None, defined_tags=None, deletion_policies=None, description=None, display_name=None, endpoints=None, fault_domain=None, freeform_tags=None, heat_wave_clusters=None, hostname_label=None, id=None, ip_address=None, is_heat_wave_cluster_attached=None, is_highly_available=None, lifecycle_details=None, maintenances=None, mysql_version=None, point_in_time_recovery_details=None, port=None, port_x=None, secure_connections=None, shape_name=None, shutdown_type=None, sources=None, state=None, subnet_id=None, time_created=None, time_updated=None): if admin_password and not isinstance(admin_password, str): raise TypeError("Expected argument 'admin_password' to be a str") pulumi.set(__self__, "admin_password", admin_password) @@ -50,6 +50,9 @@ def __init__(__self__, admin_password=None, admin_username=None, availability_do if current_placements and not isinstance(current_placements, list): raise TypeError("Expected argument 'current_placements' to be a list") pulumi.set(__self__, "current_placements", current_placements) + if customer_contacts and not isinstance(customer_contacts, list): + raise TypeError("Expected argument 'customer_contacts' to be a list") + pulumi.set(__self__, "customer_contacts", customer_contacts) if data_storage_size_in_gb and not isinstance(data_storage_size_in_gb, int): raise TypeError("Expected argument 'data_storage_size_in_gb' to be a int") pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) @@ -210,11 +213,19 @@ def current_placements(self) -> Sequence['outputs.GetMysqlDbSystemCurrentPlaceme """ return pulumi.get(self, "current_placements") + @property + @pulumi.getter(name="customerContacts") + def customer_contacts(self) -> Sequence['outputs.GetMysqlDbSystemCustomerContactResult']: + """ + The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + """ + return pulumi.get(self, "customer_contacts") + @property @pulumi.getter(name="dataStorageSizeInGb") def data_storage_size_in_gb(self) -> int: """ - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + Initial size of the data volume in GiBs that will be created and attached. """ return pulumi.get(self, "data_storage_size_in_gb") @@ -471,6 +482,7 @@ def __await__(self): configuration_id=self.configuration_id, crash_recovery=self.crash_recovery, current_placements=self.current_placements, + customer_contacts=self.customer_contacts, data_storage_size_in_gb=self.data_storage_size_in_gb, data_storages=self.data_storages, database_management=self.database_management, @@ -538,6 +550,7 @@ def get_mysql_db_system(db_system_id: Optional[str] = None, configuration_id=pulumi.get(__ret__, 'configuration_id'), crash_recovery=pulumi.get(__ret__, 'crash_recovery'), current_placements=pulumi.get(__ret__, 'current_placements'), + customer_contacts=pulumi.get(__ret__, 'customer_contacts'), data_storage_size_in_gb=pulumi.get(__ret__, 'data_storage_size_in_gb'), data_storages=pulumi.get(__ret__, 'data_storages'), database_management=pulumi.get(__ret__, 'database_management'), diff --git a/sdk/python/pulumi_oci/mysql/mysql_db_system.py b/sdk/python/pulumi_oci/mysql/mysql_db_system.py index c0a4d5d53f..0e9f94a8e9 100644 --- a/sdk/python/pulumi_oci/mysql/mysql_db_system.py +++ b/sdk/python/pulumi_oci/mysql/mysql_db_system.py @@ -25,6 +25,7 @@ def __init__(__self__, *, backup_policy: Optional[pulumi.Input['MysqlDbSystemBackupPolicyArgs']] = None, configuration_id: Optional[pulumi.Input[str]] = None, crash_recovery: Optional[pulumi.Input[str]] = None, + customer_contacts: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCustomerContactArgs']]]] = None, data_storage: Optional[pulumi.Input['MysqlDbSystemDataStorageArgs']] = None, data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, database_management: Optional[pulumi.Input[str]] = None, @@ -61,6 +62,7 @@ def __init__(__self__, *, :param pulumi.Input['MysqlDbSystemBackupPolicyArgs'] backup_policy: (Updatable) Backup policy as optionally used for DB System Creation. :param pulumi.Input[str] configuration_id: (Updatable) The OCID of the Configuration to be used for this DB System. :param pulumi.Input[str] crash_recovery: (Updatable) Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs. + :param pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCustomerContactArgs']]] customer_contacts: (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. :param pulumi.Input['MysqlDbSystemDataStorageArgs'] data_storage: (Updatable) Data Storage configuration properties. :param pulumi.Input[int] data_storage_size_in_gb: (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup. :param pulumi.Input[str] database_management: (Updatable) Whether to enable monitoring via the Database Management service. @@ -109,6 +111,8 @@ def __init__(__self__, *, pulumi.set(__self__, "configuration_id", configuration_id) if crash_recovery is not None: pulumi.set(__self__, "crash_recovery", crash_recovery) + if customer_contacts is not None: + pulumi.set(__self__, "customer_contacts", customer_contacts) if data_storage is not None: pulumi.set(__self__, "data_storage", data_storage) if data_storage_size_in_gb is not None: @@ -263,6 +267,18 @@ def crash_recovery(self) -> Optional[pulumi.Input[str]]: def crash_recovery(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "crash_recovery", value) + @property + @pulumi.getter(name="customerContacts") + def customer_contacts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCustomerContactArgs']]]]: + """ + (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + """ + return pulumi.get(self, "customer_contacts") + + @customer_contacts.setter + def customer_contacts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCustomerContactArgs']]]]): + pulumi.set(self, "customer_contacts", value) + @property @pulumi.getter(name="dataStorage") def data_storage(self) -> Optional[pulumi.Input['MysqlDbSystemDataStorageArgs']]: @@ -529,6 +545,7 @@ def __init__(__self__, *, configuration_id: Optional[pulumi.Input[str]] = None, crash_recovery: Optional[pulumi.Input[str]] = None, current_placements: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCurrentPlacementArgs']]]] = None, + customer_contacts: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCustomerContactArgs']]]] = None, data_storage: Optional[pulumi.Input['MysqlDbSystemDataStorageArgs']] = None, data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, database_management: Optional[pulumi.Input[str]] = None, @@ -573,6 +590,7 @@ def __init__(__self__, *, :param pulumi.Input[str] configuration_id: (Updatable) The OCID of the Configuration to be used for this DB System. :param pulumi.Input[str] crash_recovery: (Updatable) Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs. :param pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCurrentPlacementArgs']]] current_placements: The availability domain and fault domain a DB System is placed in. + :param pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCustomerContactArgs']]] customer_contacts: (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. :param pulumi.Input['MysqlDbSystemDataStorageArgs'] data_storage: (Updatable) Data Storage configuration properties. :param pulumi.Input[int] data_storage_size_in_gb: (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup. :param pulumi.Input[str] database_management: (Updatable) Whether to enable monitoring via the Database Management service. @@ -635,6 +653,8 @@ def __init__(__self__, *, pulumi.set(__self__, "crash_recovery", crash_recovery) if current_placements is not None: pulumi.set(__self__, "current_placements", current_placements) + if customer_contacts is not None: + pulumi.set(__self__, "customer_contacts", customer_contacts) if data_storage is not None: pulumi.set(__self__, "data_storage", data_storage) if data_storage_size_in_gb is not None: @@ -806,6 +826,18 @@ def current_placements(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['Mys def current_placements(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCurrentPlacementArgs']]]]): pulumi.set(self, "current_placements", value) + @property + @pulumi.getter(name="customerContacts") + def customer_contacts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCustomerContactArgs']]]]: + """ + (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + """ + return pulumi.get(self, "customer_contacts") + + @customer_contacts.setter + def customer_contacts(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCustomerContactArgs']]]]): + pulumi.set(self, "customer_contacts", value) + @property @pulumi.getter(name="dataStorage") def data_storage(self) -> Optional[pulumi.Input['MysqlDbSystemDataStorageArgs']]: @@ -1181,6 +1213,7 @@ def __init__(__self__, compartment_id: Optional[pulumi.Input[str]] = None, configuration_id: Optional[pulumi.Input[str]] = None, crash_recovery: Optional[pulumi.Input[str]] = None, + customer_contacts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemCustomerContactArgs', 'MysqlDbSystemCustomerContactArgsDict']]]]] = None, data_storage: Optional[pulumi.Input[Union['MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDataStorageArgsDict']]] = None, data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, database_management: Optional[pulumi.Input[str]] = None, @@ -1238,6 +1271,9 @@ def __init__(__self__, }, configuration_id=test_configuration["id"], crash_recovery=mysql_db_system_crash_recovery, + customer_contacts=[{ + "email": mysql_db_system_customer_contacts_email, + }], data_storage={ "is_auto_expand_storage_enabled": mysql_db_system_data_storage_is_auto_expand_storage_enabled, "max_storage_size_in_gbs": mysql_db_system_data_storage_max_storage_size_in_gbs, @@ -1297,6 +1333,7 @@ def __init__(__self__, :param pulumi.Input[str] compartment_id: The OCID of the compartment. :param pulumi.Input[str] configuration_id: (Updatable) The OCID of the Configuration to be used for this DB System. :param pulumi.Input[str] crash_recovery: (Updatable) Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs. + :param pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemCustomerContactArgs', 'MysqlDbSystemCustomerContactArgsDict']]]] customer_contacts: (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. :param pulumi.Input[Union['MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDataStorageArgsDict']] data_storage: (Updatable) Data Storage configuration properties. :param pulumi.Input[int] data_storage_size_in_gb: (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup. :param pulumi.Input[str] database_management: (Updatable) Whether to enable monitoring via the Database Management service. @@ -1374,6 +1411,9 @@ def __init__(__self__, }, configuration_id=test_configuration["id"], crash_recovery=mysql_db_system_crash_recovery, + customer_contacts=[{ + "email": mysql_db_system_customer_contacts_email, + }], data_storage={ "is_auto_expand_storage_enabled": mysql_db_system_data_storage_is_auto_expand_storage_enabled, "max_storage_size_in_gbs": mysql_db_system_data_storage_max_storage_size_in_gbs, @@ -1442,6 +1482,7 @@ def _internal_init(__self__, compartment_id: Optional[pulumi.Input[str]] = None, configuration_id: Optional[pulumi.Input[str]] = None, crash_recovery: Optional[pulumi.Input[str]] = None, + customer_contacts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemCustomerContactArgs', 'MysqlDbSystemCustomerContactArgsDict']]]]] = None, data_storage: Optional[pulumi.Input[Union['MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDataStorageArgsDict']]] = None, data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, database_management: Optional[pulumi.Input[str]] = None, @@ -1484,6 +1525,7 @@ def _internal_init(__self__, __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["configuration_id"] = configuration_id __props__.__dict__["crash_recovery"] = crash_recovery + __props__.__dict__["customer_contacts"] = customer_contacts __props__.__dict__["data_storage"] = data_storage __props__.__dict__["data_storage_size_in_gb"] = data_storage_size_in_gb __props__.__dict__["database_management"] = database_management @@ -1540,6 +1582,7 @@ def get(resource_name: str, configuration_id: Optional[pulumi.Input[str]] = None, crash_recovery: Optional[pulumi.Input[str]] = None, current_placements: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemCurrentPlacementArgs', 'MysqlDbSystemCurrentPlacementArgsDict']]]]] = None, + customer_contacts: Optional[pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemCustomerContactArgs', 'MysqlDbSystemCustomerContactArgsDict']]]]] = None, data_storage: Optional[pulumi.Input[Union['MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDataStorageArgsDict']]] = None, data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, database_management: Optional[pulumi.Input[str]] = None, @@ -1589,6 +1632,7 @@ def get(resource_name: str, :param pulumi.Input[str] configuration_id: (Updatable) The OCID of the Configuration to be used for this DB System. :param pulumi.Input[str] crash_recovery: (Updatable) Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs. :param pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemCurrentPlacementArgs', 'MysqlDbSystemCurrentPlacementArgsDict']]]] current_placements: The availability domain and fault domain a DB System is placed in. + :param pulumi.Input[Sequence[pulumi.Input[Union['MysqlDbSystemCustomerContactArgs', 'MysqlDbSystemCustomerContactArgsDict']]]] customer_contacts: (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. :param pulumi.Input[Union['MysqlDbSystemDataStorageArgs', 'MysqlDbSystemDataStorageArgsDict']] data_storage: (Updatable) Data Storage configuration properties. :param pulumi.Input[int] data_storage_size_in_gb: (Updatable) Initial size of the data volume in GBs that will be created and attached. Keep in mind that this only specifies the size of the database data volume, the log volume for the database will be scaled appropriately with its shape. It is required if you are creating a new database. It cannot be set if you are creating a database from a backup. :param pulumi.Input[str] database_management: (Updatable) Whether to enable monitoring via the Database Management service. @@ -1646,6 +1690,7 @@ def get(resource_name: str, __props__.__dict__["configuration_id"] = configuration_id __props__.__dict__["crash_recovery"] = crash_recovery __props__.__dict__["current_placements"] = current_placements + __props__.__dict__["customer_contacts"] = customer_contacts __props__.__dict__["data_storage"] = data_storage __props__.__dict__["data_storage_size_in_gb"] = data_storage_size_in_gb __props__.__dict__["database_management"] = database_management @@ -1753,6 +1798,14 @@ def current_placements(self) -> pulumi.Output[Sequence['outputs.MysqlDbSystemCur """ return pulumi.get(self, "current_placements") + @property + @pulumi.getter(name="customerContacts") + def customer_contacts(self) -> pulumi.Output[Sequence['outputs.MysqlDbSystemCustomerContact']]: + """ + (Updatable) The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + """ + return pulumi.get(self, "customer_contacts") + @property @pulumi.getter(name="dataStorage") def data_storage(self) -> pulumi.Output['outputs.MysqlDbSystemDataStorage']: diff --git a/sdk/python/pulumi_oci/mysql/outputs.py b/sdk/python/pulumi_oci/mysql/outputs.py index 92e52a6a52..e29cd814a0 100644 --- a/sdk/python/pulumi_oci/mysql/outputs.py +++ b/sdk/python/pulumi_oci/mysql/outputs.py @@ -38,6 +38,7 @@ 'MysqlDbSystemChannelTarget', 'MysqlDbSystemChannelTargetFilter', 'MysqlDbSystemCurrentPlacement', + 'MysqlDbSystemCustomerContact', 'MysqlDbSystemDataStorage', 'MysqlDbSystemDeletionPolicy', 'MysqlDbSystemEndpoint', @@ -98,6 +99,7 @@ 'GetMysqlDbSystemChannelTargetResult', 'GetMysqlDbSystemChannelTargetFilterResult', 'GetMysqlDbSystemCurrentPlacementResult', + 'GetMysqlDbSystemCustomerContactResult', 'GetMysqlDbSystemDataStorageResult', 'GetMysqlDbSystemDeletionPolicyResult', 'GetMysqlDbSystemEndpointResult', @@ -116,6 +118,7 @@ 'GetMysqlDbSystemsDbSystemChannelTargetResult', 'GetMysqlDbSystemsDbSystemChannelTargetFilterResult', 'GetMysqlDbSystemsDbSystemCurrentPlacementResult', + 'GetMysqlDbSystemsDbSystemCustomerContactResult', 'GetMysqlDbSystemsDbSystemDataStorageResult', 'GetMysqlDbSystemsDbSystemDeletionPolicyResult', 'GetMysqlDbSystemsDbSystemEndpointResult', @@ -3826,6 +3829,24 @@ def fault_domain(self) -> Optional[str]: return pulumi.get(self, "fault_domain") +@pulumi.output_type +class MysqlDbSystemCustomerContact(dict): + def __init__(__self__, *, + email: str): + """ + :param str email: (Updatable) The email address used by Oracle to send notifications regarding the DB System. + """ + pulumi.set(__self__, "email", email) + + @property + @pulumi.getter + def email(self) -> str: + """ + (Updatable) The email address used by Oracle to send notifications regarding the DB System. + """ + return pulumi.get(self, "email") + + @pulumi.output_type class MysqlDbSystemDataStorage(dict): @staticmethod @@ -9709,6 +9730,24 @@ def fault_domain(self) -> str: return pulumi.get(self, "fault_domain") +@pulumi.output_type +class GetMysqlDbSystemCustomerContactResult(dict): + def __init__(__self__, *, + email: str): + """ + :param str email: The email address used by Oracle to send notifications regarding the DB System. + """ + pulumi.set(__self__, "email", email) + + @property + @pulumi.getter + def email(self) -> str: + """ + The email address used by Oracle to send notifications regarding the DB System. + """ + return pulumi.get(self, "email") + + @pulumi.output_type class GetMysqlDbSystemDataStorageResult(dict): def __init__(__self__, *, @@ -9719,7 +9758,7 @@ def __init__(__self__, *, max_storage_size_in_gbs: int): """ :param int allocated_storage_size_in_gbs: The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. - :param int data_storage_size_in_gb: DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + :param int data_storage_size_in_gb: Initial size of the data volume in GiBs that will be created and attached. :param int data_storage_size_limit_in_gbs: The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value. :param bool is_auto_expand_storage_enabled: Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs. :param int max_storage_size_in_gbs: Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value. @@ -9742,7 +9781,7 @@ def allocated_storage_size_in_gbs(self) -> int: @pulumi.getter(name="dataStorageSizeInGb") def data_storage_size_in_gb(self) -> int: """ - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + Initial size of the data volume in GiBs that will be created and attached. """ return pulumi.get(self, "data_storage_size_in_gb") @@ -10136,6 +10175,7 @@ def __init__(__self__, *, configuration_id: str, crash_recovery: str, current_placements: Sequence['outputs.GetMysqlDbSystemsDbSystemCurrentPlacementResult'], + customer_contacts: Sequence['outputs.GetMysqlDbSystemsDbSystemCustomerContactResult'], data_storage_size_in_gb: int, data_storages: Sequence['outputs.GetMysqlDbSystemsDbSystemDataStorageResult'], database_management: str, @@ -10174,7 +10214,8 @@ def __init__(__self__, *, :param str configuration_id: The requested Configuration instance. :param str crash_recovery: Whether to run the DB System with InnoDB Redo Logs and the Double Write Buffer enabled or disabled, and whether to enable or disable syncing of the Binary Logs. :param Sequence['GetMysqlDbSystemsDbSystemCurrentPlacementArgs'] current_placements: The availability domain and fault domain a DB System is placed in. - :param int data_storage_size_in_gb: DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + :param Sequence['GetMysqlDbSystemsDbSystemCustomerContactArgs'] customer_contacts: The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + :param int data_storage_size_in_gb: Initial size of the data volume in GiBs that will be created and attached. :param Sequence['GetMysqlDbSystemsDbSystemDataStorageArgs'] data_storages: Data Storage information. :param str database_management: Filter DB Systems by their Database Management configuration. :param Mapping[str, str] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -10213,6 +10254,7 @@ def __init__(__self__, *, pulumi.set(__self__, "configuration_id", configuration_id) pulumi.set(__self__, "crash_recovery", crash_recovery) pulumi.set(__self__, "current_placements", current_placements) + pulumi.set(__self__, "customer_contacts", customer_contacts) pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) pulumi.set(__self__, "data_storages", data_storages) pulumi.set(__self__, "database_management", database_management) @@ -10310,11 +10352,19 @@ def current_placements(self) -> Sequence['outputs.GetMysqlDbSystemsDbSystemCurre """ return pulumi.get(self, "current_placements") + @property + @pulumi.getter(name="customerContacts") + def customer_contacts(self) -> Sequence['outputs.GetMysqlDbSystemsDbSystemCustomerContactResult']: + """ + The list of customer email addresses that receive information from Oracle about the specified Oracle Cloud Infrastructure DB System resource. Oracle uses these email addresses to send notifications about planned and unplanned software maintenance updates, information about system hardware, and other information needed by administrators. Up to 10 email addresses can be added to the customer contacts for a DB System. + """ + return pulumi.get(self, "customer_contacts") + @property @pulumi.getter(name="dataStorageSizeInGb") def data_storage_size_in_gb(self) -> int: """ - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + Initial size of the data volume in GiBs that will be created and attached. """ return pulumi.get(self, "data_storage_size_in_gb") @@ -11084,6 +11134,24 @@ def fault_domain(self) -> str: return pulumi.get(self, "fault_domain") +@pulumi.output_type +class GetMysqlDbSystemsDbSystemCustomerContactResult(dict): + def __init__(__self__, *, + email: str): + """ + :param str email: The email address used by Oracle to send notifications regarding the DB System. + """ + pulumi.set(__self__, "email", email) + + @property + @pulumi.getter + def email(self) -> str: + """ + The email address used by Oracle to send notifications regarding the DB System. + """ + return pulumi.get(self, "email") + + @pulumi.output_type class GetMysqlDbSystemsDbSystemDataStorageResult(dict): def __init__(__self__, *, @@ -11094,7 +11162,7 @@ def __init__(__self__, *, max_storage_size_in_gbs: int): """ :param int allocated_storage_size_in_gbs: The actual allocated storage size for the DB System. This may be higher than dataStorageSizeInGBs if an automatic storage expansion has occurred. - :param int data_storage_size_in_gb: DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + :param int data_storage_size_in_gb: Initial size of the data volume in GiBs that will be created and attached. :param int data_storage_size_limit_in_gbs: The absolute limit the DB System's storage size may ever expand to, either manually or automatically. This limit is based based on the initial dataStorageSizeInGBs when the DB System was first created. Both dataStorageSizeInGBs and maxDataStorageSizeInGBs can not exceed this value. :param bool is_auto_expand_storage_enabled: Enable/disable automatic storage expansion. When set to true, the DB System will automatically add storage incrementally up to the value specified in maxStorageSizeInGBs. :param int max_storage_size_in_gbs: Maximum storage size this DB System can expand to. When isAutoExpandStorageEnabled is set to true, the DB System will add storage incrementally up to this value. @@ -11117,7 +11185,7 @@ def allocated_storage_size_in_gbs(self) -> int: @pulumi.getter(name="dataStorageSizeInGb") def data_storage_size_in_gb(self) -> int: """ - DEPRECATED: User specified size of the data volume. May be less than current allocatedStorageSizeInGBs. Replaced by dataStorage.dataStorageSizeInGBs. + Initial size of the data volume in GiBs that will be created and attached. """ return pulumi.get(self, "data_storage_size_in_gb") diff --git a/sdk/python/pulumi_oci/ocvp/get_cluster.py b/sdk/python/pulumi_oci/ocvp/get_cluster.py index 0249c5ae24..9933e60a38 100644 --- a/sdk/python/pulumi_oci/ocvp/get_cluster.py +++ b/sdk/python/pulumi_oci/ocvp/get_cluster.py @@ -368,7 +368,7 @@ def get_cluster(cluster_id: Optional[str] = None, ``` - :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. """ __args__ = dict() __args__['clusterId'] = cluster_id @@ -423,6 +423,6 @@ def get_cluster_output(cluster_id: Optional[pulumi.Input[str]] = None, ``` - :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. """ ... diff --git a/sdk/python/pulumi_oci/ocvp/get_exsi_hosts.py b/sdk/python/pulumi_oci/ocvp/get_exsi_hosts.py index 965deaaf68..a855470d12 100644 --- a/sdk/python/pulumi_oci/ocvp/get_exsi_hosts.py +++ b/sdk/python/pulumi_oci/ocvp/get_exsi_hosts.py @@ -197,7 +197,7 @@ def get_exsi_hosts(cluster_id: Optional[str] = None, ``` - :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment as optional parameter. :param str compute_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute instance. :param str display_name: A filter to return only resources that match the given display name exactly. @@ -274,7 +274,7 @@ def get_exsi_hosts_output(cluster_id: Optional[pulumi.Input[Optional[str]]] = No ``` - :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment as optional parameter. :param str compute_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute instance. :param str display_name: A filter to return only resources that match the given display name exactly. 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 e2cceb83f0..0407ead944 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 @@ -23,7 +23,7 @@ class GetSupportedVmwareSoftwareVersionsResult: """ A collection of values returned by getSupportedVmwareSoftwareVersions. """ - def __init__(__self__, compartment_id=None, filters=None, host_shape_name=None, id=None, items=None, version=None): + def __init__(__self__, compartment_id=None, filters=None, host_shape_name=None, id=None, items=None, version=None, version_to_upgrade=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) @@ -42,6 +42,9 @@ def __init__(__self__, compartment_id=None, filters=None, host_shape_name=None, if version and not isinstance(version, str): raise TypeError("Expected argument 'version' to be a str") pulumi.set(__self__, "version", version) + if version_to_upgrade and not isinstance(version_to_upgrade, str): + raise TypeError("Expected argument 'version_to_upgrade' to be a str") + pulumi.set(__self__, "version_to_upgrade", version_to_upgrade) @property @pulumi.getter(name="compartmentId") @@ -82,6 +85,11 @@ def version(self) -> Optional[str]: """ return pulumi.get(self, "version") + @property + @pulumi.getter(name="versionToUpgrade") + def version_to_upgrade(self) -> Optional[str]: + return pulumi.get(self, "version_to_upgrade") + class AwaitableGetSupportedVmwareSoftwareVersionsResult(GetSupportedVmwareSoftwareVersionsResult): # pylint: disable=using-constant-test @@ -94,13 +102,15 @@ def __await__(self): host_shape_name=self.host_shape_name, id=self.id, items=self.items, - version=self.version) + version=self.version, + version_to_upgrade=self.version_to_upgrade) def get_supported_vmware_software_versions(compartment_id: Optional[str] = None, filters: Optional[Sequence[Union['GetSupportedVmwareSoftwareVersionsFilterArgs', 'GetSupportedVmwareSoftwareVersionsFilterArgsDict']]] = None, host_shape_name: Optional[str] = None, version: Optional[str] = None, + version_to_upgrade: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSupportedVmwareSoftwareVersionsResult: """ This data source provides the list of Supported Vmware Software Versions in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service. @@ -116,19 +126,22 @@ def get_supported_vmware_software_versions(compartment_id: Optional[str] = None, test_supported_vmware_software_versions = oci.Ocvp.get_supported_vmware_software_versions(compartment_id=compartment_id, host_shape_name=test_shape["name"], - version=supported_vmware_software_version_version) + version=supported_vmware_software_version_version, + version_to_upgrade=supported_vmware_software_version_version_to_upgrade) ``` :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. :param str host_shape_name: A filter to return only resources that match or support the given ESXi host shape. :param str version: A filter to return only resources that match the given VMware software version exactly. + :param str version_to_upgrade: A filter to return only VMware software versions that the given VMware software version can be upgraded to. """ __args__ = dict() __args__['compartmentId'] = compartment_id __args__['filters'] = filters __args__['hostShapeName'] = host_shape_name __args__['version'] = version + __args__['versionToUpgrade'] = version_to_upgrade opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('oci:Ocvp/getSupportedVmwareSoftwareVersions:getSupportedVmwareSoftwareVersions', __args__, opts=opts, typ=GetSupportedVmwareSoftwareVersionsResult).value @@ -138,7 +151,8 @@ def get_supported_vmware_software_versions(compartment_id: Optional[str] = None, host_shape_name=pulumi.get(__ret__, 'host_shape_name'), id=pulumi.get(__ret__, 'id'), items=pulumi.get(__ret__, 'items'), - version=pulumi.get(__ret__, 'version')) + version=pulumi.get(__ret__, 'version'), + version_to_upgrade=pulumi.get(__ret__, 'version_to_upgrade')) @_utilities.lift_output_func(get_supported_vmware_software_versions) @@ -146,6 +160,7 @@ def get_supported_vmware_software_versions_output(compartment_id: Optional[pulum filters: Optional[pulumi.Input[Optional[Sequence[Union['GetSupportedVmwareSoftwareVersionsFilterArgs', 'GetSupportedVmwareSoftwareVersionsFilterArgsDict']]]]] = None, host_shape_name: Optional[pulumi.Input[Optional[str]]] = None, version: Optional[pulumi.Input[Optional[str]]] = None, + version_to_upgrade: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetSupportedVmwareSoftwareVersionsResult]: """ This data source provides the list of Supported Vmware Software Versions in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service. @@ -161,12 +176,14 @@ def get_supported_vmware_software_versions_output(compartment_id: Optional[pulum test_supported_vmware_software_versions = oci.Ocvp.get_supported_vmware_software_versions(compartment_id=compartment_id, host_shape_name=test_shape["name"], - version=supported_vmware_software_version_version) + version=supported_vmware_software_version_version, + version_to_upgrade=supported_vmware_software_version_version_to_upgrade) ``` :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. :param str host_shape_name: A filter to return only resources that match or support the given ESXi host shape. :param str version: A filter to return only resources that match the given VMware software version exactly. + :param str version_to_upgrade: A filter to return only VMware software versions that the given VMware software version can be upgraded to. """ ... diff --git a/sdk/python/pulumi_oci/ocvp/outputs.py b/sdk/python/pulumi_oci/ocvp/outputs.py index 78e2a4967b..4988490013 100644 --- a/sdk/python/pulumi_oci/ocvp/outputs.py +++ b/sdk/python/pulumi_oci/ocvp/outputs.py @@ -2039,7 +2039,7 @@ def __init__(__self__, *, :param str billing_contract_end_date: Current billing cycle end date. If the value in `currentCommitment` and `nextCommitment` are different, the value specified in `nextCommitment` becomes the new `currentCommitment` when the `contractEndDate` is reached. Example: `2016-08-25T21:10:29.600Z` :param str billing_donor_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deleted ESXi Host with LeftOver billing cycle. :param str capacity_reservation_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Capacity Reservation. - :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + :param str cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment as optional parameter. :param str compute_availability_domain: The availability domain of the ESXi host. :param str compute_instance_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Compute instance. @@ -2129,7 +2129,7 @@ def capacity_reservation_id(self) -> str: @pulumi.getter(name="clusterId") def cluster_id(self) -> str: """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cluster. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC Cluster. """ return pulumi.get(self, "cluster_id") diff --git a/sdk/python/pulumi_oci/recoverymod/_inputs.py b/sdk/python/pulumi_oci/recoverymod/_inputs.py index 163b8e0744..abe095e02c 100644 --- a/sdk/python/pulumi_oci/recoverymod/_inputs.py +++ b/sdk/python/pulumi_oci/recoverymod/_inputs.py @@ -159,10 +159,6 @@ def __init__(__self__, *, state: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] recovery_service_subnet_id: (Updatable) The recovery service subnet OCID. - - - ** IMPORTANT ** - 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) @@ -174,10 +170,6 @@ def __init__(__self__, *, def recovery_service_subnet_id(self) -> pulumi.Input[str]: """ (Updatable) The recovery service subnet OCID. - - - ** IMPORTANT ** - 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, "recovery_service_subnet_id") diff --git a/sdk/python/pulumi_oci/recoverymod/get_protected_database.py b/sdk/python/pulumi_oci/recoverymod/get_protected_database.py index 420bafe93c..3bf6279744 100644 --- a/sdk/python/pulumi_oci/recoverymod/get_protected_database.py +++ b/sdk/python/pulumi_oci/recoverymod/get_protected_database.py @@ -22,7 +22,7 @@ class GetProtectedDatabaseResult: """ A collection of values returned by getProtectedDatabase. """ - def __init__(__self__, compartment_id=None, database_id=None, database_size=None, db_unique_name=None, defined_tags=None, deletion_schedule=None, display_name=None, freeform_tags=None, health=None, health_details=None, id=None, is_read_only_resource=None, is_redo_logs_shipped=None, lifecycle_details=None, metrics=None, password=None, policy_locked_date_time=None, protected_database_id=None, protection_policy_id=None, recovery_service_subnets=None, state=None, system_tags=None, time_created=None, time_updated=None, vpc_user_name=None): + def __init__(__self__, compartment_id=None, database_id=None, database_size=None, db_unique_name=None, defined_tags=None, deletion_schedule=None, display_name=None, freeform_tags=None, health=None, health_details=None, id=None, is_read_only_resource=None, is_redo_logs_shipped=None, lifecycle_details=None, metrics=None, password=None, policy_locked_date_time=None, protected_database_id=None, protection_policy_id=None, recovery_service_subnets=None, state=None, subscription_id=None, system_tags=None, time_created=None, time_updated=None, vpc_user_name=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) @@ -86,6 +86,9 @@ def __init__(__self__, compartment_id=None, database_id=None, database_size=None if state and not isinstance(state, str): raise TypeError("Expected argument 'state' to be a str") pulumi.set(__self__, "state", state) + if subscription_id and not isinstance(subscription_id, str): + raise TypeError("Expected argument 'subscription_id' to be a str") + pulumi.set(__self__, "subscription_id", subscription_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) @@ -258,6 +261,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> str: + """ + The OCID of the cloud service subscription to which the protected database is linked. + """ + return pulumi.get(self, "subscription_id") + @property @pulumi.getter(name="systemTags") def system_tags(self) -> Mapping[str, str]: @@ -318,6 +329,7 @@ def __await__(self): protection_policy_id=self.protection_policy_id, recovery_service_subnets=self.recovery_service_subnets, state=self.state, + subscription_id=self.subscription_id, system_tags=self.system_tags, time_created=self.time_created, time_updated=self.time_updated, @@ -370,6 +382,7 @@ def get_protected_database(protected_database_id: Optional[str] = None, protection_policy_id=pulumi.get(__ret__, 'protection_policy_id'), recovery_service_subnets=pulumi.get(__ret__, 'recovery_service_subnets'), state=pulumi.get(__ret__, 'state'), + subscription_id=pulumi.get(__ret__, 'subscription_id'), system_tags=pulumi.get(__ret__, 'system_tags'), time_created=pulumi.get(__ret__, 'time_created'), time_updated=pulumi.get(__ret__, 'time_updated'), diff --git a/sdk/python/pulumi_oci/recoverymod/get_protection_policy.py b/sdk/python/pulumi_oci/recoverymod/get_protection_policy.py index f07642de14..239ab40160 100644 --- a/sdk/python/pulumi_oci/recoverymod/get_protection_policy.py +++ b/sdk/python/pulumi_oci/recoverymod/get_protection_policy.py @@ -21,7 +21,7 @@ class GetProtectionPolicyResult: """ A collection of values returned by getProtectionPolicy. """ - def __init__(__self__, backup_retention_period_in_days=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, is_predefined_policy=None, lifecycle_details=None, policy_locked_date_time=None, protection_policy_id=None, state=None, system_tags=None, time_created=None, time_updated=None): + def __init__(__self__, backup_retention_period_in_days=None, compartment_id=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, is_predefined_policy=None, lifecycle_details=None, must_enforce_cloud_locality=None, policy_locked_date_time=None, protection_policy_id=None, state=None, system_tags=None, time_created=None, time_updated=None): if backup_retention_period_in_days and not isinstance(backup_retention_period_in_days, int): raise TypeError("Expected argument 'backup_retention_period_in_days' to be a int") pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days) @@ -46,6 +46,9 @@ def __init__(__self__, backup_retention_period_in_days=None, compartment_id=None 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 must_enforce_cloud_locality and not isinstance(must_enforce_cloud_locality, bool): + raise TypeError("Expected argument 'must_enforce_cloud_locality' to be a bool") + pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality) if policy_locked_date_time and not isinstance(policy_locked_date_time, str): raise TypeError("Expected argument 'policy_locked_date_time' to be a str") pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time) @@ -129,6 +132,14 @@ def lifecycle_details(self) -> str: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="mustEnforceCloudLocality") + def must_enforce_cloud_locality(self) -> bool: + """ + Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + """ + return pulumi.get(self, "must_enforce_cloud_locality") + @property @pulumi.getter(name="policyLockedDateTime") def policy_locked_date_time(self) -> str: @@ -189,6 +200,7 @@ def __await__(self): id=self.id, is_predefined_policy=self.is_predefined_policy, lifecycle_details=self.lifecycle_details, + must_enforce_cloud_locality=self.must_enforce_cloud_locality, policy_locked_date_time=self.policy_locked_date_time, protection_policy_id=self.protection_policy_id, state=self.state, @@ -230,6 +242,7 @@ def get_protection_policy(protection_policy_id: Optional[str] = None, id=pulumi.get(__ret__, 'id'), is_predefined_policy=pulumi.get(__ret__, 'is_predefined_policy'), lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'), + must_enforce_cloud_locality=pulumi.get(__ret__, 'must_enforce_cloud_locality'), policy_locked_date_time=pulumi.get(__ret__, 'policy_locked_date_time'), protection_policy_id=pulumi.get(__ret__, 'protection_policy_id'), state=pulumi.get(__ret__, 'state'), diff --git a/sdk/python/pulumi_oci/recoverymod/outputs.py b/sdk/python/pulumi_oci/recoverymod/outputs.py index c758fc13c3..9d85e405e3 100644 --- a/sdk/python/pulumi_oci/recoverymod/outputs.py +++ b/sdk/python/pulumi_oci/recoverymod/outputs.py @@ -186,10 +186,6 @@ def __init__(__self__, *, state: Optional[str] = None): """ :param str recovery_service_subnet_id: (Updatable) The recovery service subnet OCID. - - - ** IMPORTANT ** - 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) @@ -201,10 +197,6 @@ def __init__(__self__, *, def recovery_service_subnet_id(self) -> str: """ (Updatable) The recovery service subnet OCID. - - - ** IMPORTANT ** - 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, "recovery_service_subnet_id") @@ -403,6 +395,7 @@ def __init__(__self__, *, protection_policy_id: str, recovery_service_subnets: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetResult'], state: str, + subscription_id: str, system_tags: Mapping[str, str], time_created: str, time_updated: str, @@ -426,6 +419,7 @@ def __init__(__self__, *, :param str protection_policy_id: The protection policy OCID. :param Sequence['GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs'] recovery_service_subnets: List of recovery service subnet resources associated with the protected database. :param str state: A filter to return only the resources that match the specified lifecycle state. + :param str subscription_id: The OCID of the cloud service subscription to which the protected database is linked. :param Mapping[str, str] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) :param str time_created: An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z' :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' @@ -451,6 +445,7 @@ def __init__(__self__, *, 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__, "subscription_id", subscription_id) pulumi.set(__self__, "system_tags", system_tags) pulumi.set(__self__, "time_created", time_created) pulumi.set(__self__, "time_updated", time_updated) @@ -610,6 +605,14 @@ def state(self) -> str: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> str: + """ + The OCID of the cloud service subscription to which the protected database is linked. + """ + return pulumi.get(self, "subscription_id") + @property @pulumi.getter(name="systemTags") def system_tags(self) -> Mapping[str, str]: @@ -817,6 +820,7 @@ def __init__(__self__, *, id: str, is_predefined_policy: bool, lifecycle_details: str, + must_enforce_cloud_locality: bool, policy_locked_date_time: str, state: str, system_tags: Mapping[str, str], @@ -831,6 +835,7 @@ def __init__(__self__, *, :param str id: The protection policy OCID. :param bool is_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies. :param str lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. + :param bool must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. :param str policy_locked_date_time: An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState. :param Mapping[str, str] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) @@ -845,6 +850,7 @@ def __init__(__self__, *, pulumi.set(__self__, "id", id) pulumi.set(__self__, "is_predefined_policy", is_predefined_policy) pulumi.set(__self__, "lifecycle_details", lifecycle_details) + pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality) pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time) pulumi.set(__self__, "state", state) pulumi.set(__self__, "system_tags", system_tags) @@ -915,6 +921,14 @@ def lifecycle_details(self) -> str: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="mustEnforceCloudLocality") + def must_enforce_cloud_locality(self) -> bool: + """ + Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. + """ + return pulumi.get(self, "must_enforce_cloud_locality") + @property @pulumi.getter(name="policyLockedDateTime") def policy_locked_date_time(self) -> str: diff --git a/sdk/python/pulumi_oci/recoverymod/protected_database.py b/sdk/python/pulumi_oci/recoverymod/protected_database.py index c2670d2cea..d34457b4d8 100644 --- a/sdk/python/pulumi_oci/recoverymod/protected_database.py +++ b/sdk/python/pulumi_oci/recoverymod/protected_database.py @@ -27,7 +27,8 @@ def __init__(__self__, *, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, deletion_schedule: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, - is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None): + is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None, + subscription_id: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a ProtectedDatabase resource. :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment that contains the protected database. @@ -44,6 +45,11 @@ def __init__(__self__, *, * The alternate schedule is DELETE_AFTER_RETENTION_PERIOD. Specify this option if you want to delete a protected database only after the policy-defined backup retention period expires. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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. + :param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + + + ** IMPORTANT ** + Any change to 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_unique_name", db_unique_name) @@ -63,6 +69,8 @@ def __init__(__self__, *, pulumi.set(__self__, "freeform_tags", freeform_tags) if is_redo_logs_shipped is not None: pulumi.set(__self__, "is_redo_logs_shipped", is_redo_logs_shipped) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) @property @pulumi.getter(name="compartmentId") @@ -210,6 +218,22 @@ def is_redo_logs_shipped(self) -> Optional[pulumi.Input[bool]]: def is_redo_logs_shipped(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_redo_logs_shipped", value) + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + + + ** IMPORTANT ** + 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, "subscription_id") + + @subscription_id.setter + def subscription_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subscription_id", value) + @pulumi.input_type class _ProtectedDatabaseState: @@ -233,6 +257,7 @@ def __init__(__self__, *, 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, + subscription_id: Optional[pulumi.Input[str]] = None, system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, time_created: Optional[pulumi.Input[str]] = None, time_updated: Optional[pulumi.Input[str]] = None, @@ -260,6 +285,11 @@ def __init__(__self__, *, :param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database. :param pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database. :param pulumi.Input[str] state: The current state of the Protected Database. + :param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + + + ** IMPORTANT ** + 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, pulumi.Input[str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) :param pulumi.Input[str] time_created: An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z' :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' @@ -303,6 +333,8 @@ def __init__(__self__, *, pulumi.set(__self__, "recovery_service_subnets", recovery_service_subnets) if state is not None: pulumi.set(__self__, "state", state) + if subscription_id is not None: + pulumi.set(__self__, "subscription_id", subscription_id) if system_tags is not None: pulumi.set(__self__, "system_tags", system_tags) if time_created is not None: @@ -542,6 +574,22 @@ def state(self) -> Optional[pulumi.Input[str]]: def state(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "state", value) + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + + + ** IMPORTANT ** + 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, "subscription_id") + + @subscription_id.setter + def subscription_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subscription_id", value) + @property @pulumi.getter(name="systemTags") def system_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]: @@ -608,6 +656,7 @@ def __init__(__self__, password: Optional[pulumi.Input[str]] = None, protection_policy_id: Optional[pulumi.Input[str]] = None, recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, __props__=None): """ This resource provides the Protected Database resource in Oracle Cloud Infrastructure Recovery service. @@ -638,7 +687,8 @@ def __init__(__self__, freeform_tags={ "bar-key": "value", }, - is_redo_logs_shipped=protected_database_is_redo_logs_shipped) + is_redo_logs_shipped=protected_database_is_redo_logs_shipped, + subscription_id=test_subscription["id"]) ``` ## Import @@ -665,6 +715,11 @@ def __init__(__self__, :param pulumi.Input[str] password: (Updatable) Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (https://docs.cloud.oracle.com/iaas/api/#) or hyphen (-). The password must not contain the username "admin", regardless of casing. :param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database. :param pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database. + :param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + + + ** IMPORTANT ** + 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 @@ -701,7 +756,8 @@ def __init__(__self__, freeform_tags={ "bar-key": "value", }, - is_redo_logs_shipped=protected_database_is_redo_logs_shipped) + is_redo_logs_shipped=protected_database_is_redo_logs_shipped, + subscription_id=test_subscription["id"]) ``` ## Import @@ -739,6 +795,7 @@ def _internal_init(__self__, password: Optional[pulumi.Input[str]] = None, protection_policy_id: Optional[pulumi.Input[str]] = None, recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -772,6 +829,7 @@ def _internal_init(__self__, if recovery_service_subnets is None and not opts.urn: raise TypeError("Missing required property 'recovery_service_subnets'") __props__.__dict__["recovery_service_subnets"] = recovery_service_subnets + __props__.__dict__["subscription_id"] = subscription_id __props__.__dict__["health"] = None __props__.__dict__["health_details"] = None __props__.__dict__["is_read_only_resource"] = None @@ -814,6 +872,7 @@ def get(resource_name: str, protection_policy_id: Optional[pulumi.Input[str]] = None, recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]]] = None, state: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, time_created: Optional[pulumi.Input[str]] = None, time_updated: Optional[pulumi.Input[str]] = None, @@ -846,6 +905,11 @@ def get(resource_name: str, :param pulumi.Input[str] protection_policy_id: (Updatable) The OCID of the protection policy associated with the protected database. :param pulumi.Input[Sequence[pulumi.Input[Union['ProtectedDatabaseRecoveryServiceSubnetArgs', 'ProtectedDatabaseRecoveryServiceSubnetArgsDict']]]] recovery_service_subnets: (Updatable) List of recovery service subnet resources associated with the protected database. :param pulumi.Input[str] state: The current state of the Protected Database. + :param pulumi.Input[str] subscription_id: (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + + + ** IMPORTANT ** + 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, pulumi.Input[str]]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) :param pulumi.Input[str] time_created: An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z' :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' @@ -874,6 +938,7 @@ def get(resource_name: str, __props__.__dict__["protection_policy_id"] = protection_policy_id __props__.__dict__["recovery_service_subnets"] = recovery_service_subnets __props__.__dict__["state"] = state + __props__.__dict__["subscription_id"] = subscription_id __props__.__dict__["system_tags"] = system_tags __props__.__dict__["time_created"] = time_created __props__.__dict__["time_updated"] = time_updated @@ -1034,6 +1099,18 @@ def state(self) -> pulumi.Output[str]: """ return pulumi.get(self, "state") + @property + @pulumi.getter(name="subscriptionId") + def subscription_id(self) -> pulumi.Output[str]: + """ + (Updatable) The OCID of the cloud service subscription to which you want to link the protected database. For example, specify the Microsoft Azure subscription ID if you want to provision the protected database in Azure. + + + ** IMPORTANT ** + 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, "subscription_id") + @property @pulumi.getter(name="systemTags") def system_tags(self) -> pulumi.Output[Mapping[str, str]]: diff --git a/sdk/python/pulumi_oci/recoverymod/protection_policy.py b/sdk/python/pulumi_oci/recoverymod/protection_policy.py index 3f30e7f59e..0c93ecc13b 100644 --- a/sdk/python/pulumi_oci/recoverymod/protection_policy.py +++ b/sdk/python/pulumi_oci/recoverymod/protection_policy.py @@ -19,6 +19,7 @@ def __init__(__self__, *, display_name: pulumi.Input[str], defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None, policy_locked_date_time: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a ProtectionPolicy resource. @@ -27,6 +28,7 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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, pulumi.Input[str]]] 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] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date. @@ -46,6 +48,8 @@ def __init__(__self__, *, pulumi.set(__self__, "defined_tags", defined_tags) if freeform_tags is not None: pulumi.set(__self__, "freeform_tags", freeform_tags) + if must_enforce_cloud_locality is not None: + pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality) if policy_locked_date_time is not None: pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time) @@ -109,6 +113,18 @@ def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]] def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]): pulumi.set(self, "freeform_tags", value) + @property + @pulumi.getter(name="mustEnforceCloudLocality") + def must_enforce_cloud_locality(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + """ + return pulumi.get(self, "must_enforce_cloud_locality") + + @must_enforce_cloud_locality.setter + def must_enforce_cloud_locality(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "must_enforce_cloud_locality", value) + @property @pulumi.getter(name="policyLockedDateTime") def policy_locked_date_time(self) -> Optional[pulumi.Input[str]]: @@ -142,6 +158,7 @@ def __init__(__self__, *, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, is_predefined_policy: Optional[pulumi.Input[bool]] = None, lifecycle_details: Optional[pulumi.Input[str]] = None, + must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None, policy_locked_date_time: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, @@ -156,6 +173,7 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies. :param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. + :param pulumi.Input[bool] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date. @@ -186,6 +204,8 @@ def __init__(__self__, *, pulumi.set(__self__, "is_predefined_policy", is_predefined_policy) if lifecycle_details is not None: pulumi.set(__self__, "lifecycle_details", lifecycle_details) + if must_enforce_cloud_locality is not None: + pulumi.set(__self__, "must_enforce_cloud_locality", must_enforce_cloud_locality) if policy_locked_date_time is not None: pulumi.set(__self__, "policy_locked_date_time", policy_locked_date_time) if state is not None: @@ -281,6 +301,18 @@ def lifecycle_details(self) -> Optional[pulumi.Input[str]]: def lifecycle_details(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "lifecycle_details", value) + @property + @pulumi.getter(name="mustEnforceCloudLocality") + def must_enforce_cloud_locality(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + """ + return pulumi.get(self, "must_enforce_cloud_locality") + + @must_enforce_cloud_locality.setter + def must_enforce_cloud_locality(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "must_enforce_cloud_locality", value) + @property @pulumi.getter(name="policyLockedDateTime") def policy_locked_date_time(self) -> Optional[pulumi.Input[str]]: @@ -362,6 +394,7 @@ def __init__(__self__, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None, policy_locked_date_time: Optional[pulumi.Input[str]] = None, __props__=None): """ @@ -385,6 +418,7 @@ def __init__(__self__, freeform_tags={ "bar-key": "value", }, + must_enforce_cloud_locality=protection_policy_must_enforce_cloud_locality, policy_locked_date_time=protection_policy_policy_locked_date_time) ``` @@ -403,6 +437,7 @@ def __init__(__self__, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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[str] display_name: (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information. :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date. @@ -442,6 +477,7 @@ def __init__(__self__, freeform_tags={ "bar-key": "value", }, + must_enforce_cloud_locality=protection_policy_must_enforce_cloud_locality, policy_locked_date_time=protection_policy_policy_locked_date_time) ``` @@ -473,6 +509,7 @@ def _internal_init(__self__, defined_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, display_name: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, + must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None, policy_locked_date_time: Optional[pulumi.Input[str]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) @@ -494,6 +531,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["must_enforce_cloud_locality"] = must_enforce_cloud_locality __props__.__dict__["policy_locked_date_time"] = policy_locked_date_time __props__.__dict__["is_predefined_policy"] = None __props__.__dict__["lifecycle_details"] = None @@ -518,6 +556,7 @@ def get(resource_name: str, freeform_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, is_predefined_policy: Optional[pulumi.Input[bool]] = None, lifecycle_details: Optional[pulumi.Input[str]] = None, + must_enforce_cloud_locality: Optional[pulumi.Input[bool]] = None, policy_locked_date_time: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, system_tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None, @@ -537,6 +576,7 @@ def get(resource_name: str, :param pulumi.Input[Mapping[str, pulumi.Input[str]]] 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_predefined_policy: Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies. :param pulumi.Input[str] lifecycle_details: Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state. + :param pulumi.Input[bool] must_enforce_cloud_locality: Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. :param pulumi.Input[str] policy_locked_date_time: (Updatable) An RFC3339 formatted datetime string that specifies the exact date and time for the retention lock to take effect and permanently lock the retention period defined in the policy. * The retention lock feature controls whether Recovery Service strictly preserves backups for the duration defined in a policy. Retention lock is useful to enforce recovery window compliance and to prevent unintentional modifications to protected database backups. * Recovery Service enforces a 14-day delay before the retention lock set for a policy can take effect. Therefore, you must set policyLockedDateTime to a date that occurs 14 days after the current date. @@ -564,6 +604,7 @@ def get(resource_name: str, __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_predefined_policy"] = is_predefined_policy __props__.__dict__["lifecycle_details"] = lifecycle_details + __props__.__dict__["must_enforce_cloud_locality"] = must_enforce_cloud_locality __props__.__dict__["policy_locked_date_time"] = policy_locked_date_time __props__.__dict__["state"] = state __props__.__dict__["system_tags"] = system_tags @@ -627,6 +668,14 @@ def lifecycle_details(self) -> pulumi.Output[str]: """ return pulumi.get(self, "lifecycle_details") + @property + @pulumi.getter(name="mustEnforceCloudLocality") + def must_enforce_cloud_locality(self) -> pulumi.Output[bool]: + """ + Indicates whether the protection policy enforces Recovery Service to retain backups in the same cloud service environment where your Oracle Database is provisioned. This parameter is applicable if your Oracle Database runs in a different cloud service environment, such as Microsoft Azure. If you set the mustEnforceCloudLocality parameter to TRUE, then Recovery Service stores the database backups locally in the same cloud service environment where the database resides. For example, if your Oracle Database is provisioned on Microsoft Azure, then Recovery Service stores the database backups in Azure. Note: You cannot change the mustEnforceCloudLocality setting for a protection policy after you create it. + """ + return pulumi.get(self, "must_enforce_cloud_locality") + @property @pulumi.getter(name="policyLockedDateTime") def policy_locked_date_time(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/waf/_inputs.py b/sdk/python/pulumi_oci/waf/_inputs.py index 4df4955362..da6793414d 100644 --- a/sdk/python/pulumi_oci/waf/_inputs.py +++ b/sdk/python/pulumi_oci/waf/_inputs.py @@ -186,26 +186,18 @@ def headers(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewal @pulumi.input_type class AppFirewallPolicyActionBodyArgs: def __init__(__self__, *, - text: pulumi.Input[str], - type: pulumi.Input[str]): + type: pulumi.Input[str], + template: Optional[pulumi.Input[str]] = None, + text: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] text: (Updatable) Static response body text. :param pulumi.Input[str] type: (Updatable) Type of HttpResponseBody. + :param pulumi.Input[str] text: (Updatable) Static response body text. """ - pulumi.set(__self__, "text", text) pulumi.set(__self__, "type", type) - - @property - @pulumi.getter - def text(self) -> pulumi.Input[str]: - """ - (Updatable) Static response body text. - """ - return pulumi.get(self, "text") - - @text.setter - def text(self, value: pulumi.Input[str]): - pulumi.set(self, "text", value) + if template is not None: + pulumi.set(__self__, "template", template) + if text is not None: + pulumi.set(__self__, "text", text) @property @pulumi.getter @@ -219,6 +211,27 @@ def type(self) -> pulumi.Input[str]: def type(self, value: pulumi.Input[str]): pulumi.set(self, "type", value) + @property + @pulumi.getter + def template(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "template") + + @template.setter + def template(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "template", value) + + @property + @pulumi.getter + def text(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Static response body text. + """ + return pulumi.get(self, "text") + + @text.setter + def text(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "text", value) + @pulumi.input_type class AppFirewallPolicyActionHeaderArgs: diff --git a/sdk/python/pulumi_oci/waf/outputs.py b/sdk/python/pulumi_oci/waf/outputs.py index 31795dbd04..d39c2d9895 100644 --- a/sdk/python/pulumi_oci/waf/outputs.py +++ b/sdk/python/pulumi_oci/waf/outputs.py @@ -224,30 +224,39 @@ def headers(self) -> Optional[Sequence['outputs.AppFirewallPolicyActionHeader']] @pulumi.output_type class AppFirewallPolicyActionBody(dict): def __init__(__self__, *, - text: str, - type: str): + type: str, + template: Optional[str] = None, + text: Optional[str] = None): """ - :param str text: (Updatable) Static response body text. :param str type: (Updatable) Type of HttpResponseBody. + :param str text: (Updatable) Static response body text. """ - pulumi.set(__self__, "text", text) pulumi.set(__self__, "type", type) + if template is not None: + pulumi.set(__self__, "template", template) + if text is not None: + pulumi.set(__self__, "text", text) @property @pulumi.getter - def text(self) -> str: + def type(self) -> str: """ - (Updatable) Static response body text. + (Updatable) Type of HttpResponseBody. """ - return pulumi.get(self, "text") + return pulumi.get(self, "type") @property @pulumi.getter - def type(self) -> str: + def template(self) -> Optional[str]: + return pulumi.get(self, "template") + + @property + @pulumi.getter + def text(self) -> Optional[str]: """ - (Updatable) Type of HttpResponseBody. + (Updatable) Static response body text. """ - return pulumi.get(self, "type") + return pulumi.get(self, "text") @pulumi.output_type @@ -2656,15 +2665,22 @@ def type(self) -> str: @pulumi.output_type class GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyResult(dict): def __init__(__self__, *, + template: str, text: str, type: str): """ :param str text: Static response body text. :param str type: Type of WebAppFirewallPolicyRule. """ + pulumi.set(__self__, "template", template) pulumi.set(__self__, "text", text) pulumi.set(__self__, "type", type) + @property + @pulumi.getter + def template(self) -> str: + return pulumi.get(self, "template") + @property @pulumi.getter def text(self) -> str: @@ -3748,15 +3764,22 @@ def type(self) -> str: @pulumi.output_type class GetWebAppFirewallPolicyActionBodyResult(dict): def __init__(__self__, *, + template: str, text: str, type: str): """ :param str text: Static response body text. :param str type: Type of WebAppFirewallPolicyRule. """ + pulumi.set(__self__, "template", template) pulumi.set(__self__, "text", text) pulumi.set(__self__, "type", type) + @property + @pulumi.getter + def template(self) -> str: + return pulumi.get(self, "template") + @property @pulumi.getter def text(self) -> str: